1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. actiontrail
  5. getTrailsDeprecated
Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi

alicloud.actiontrail.getTrailsDeprecated

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi
    Deprecated: DataSource has been renamed to getTrails

    DEPRECATED: This datasource has been renamed to alicloud.actiontrail.getTrails from version 1.95.0.

    This data source provides a list of action trail of the current Alibaba Cloud user.

    Using getTrailsDeprecated

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTrailsDeprecated(args: GetTrailsDeprecatedArgs, opts?: InvokeOptions): Promise<GetTrailsDeprecatedResult>
    function getTrailsDeprecatedOutput(args: GetTrailsDeprecatedOutputArgs, opts?: InvokeOptions): Output<GetTrailsDeprecatedResult>
    def get_trails_deprecated(ids: Optional[Sequence[str]] = None,
                              include_organization_trail: Optional[bool] = None,
                              include_shadow_trails: Optional[bool] = None,
                              name_regex: Optional[str] = None,
                              output_file: Optional[str] = None,
                              status: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetTrailsDeprecatedResult
    def get_trails_deprecated_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                              include_organization_trail: Optional[pulumi.Input[bool]] = None,
                              include_shadow_trails: Optional[pulumi.Input[bool]] = None,
                              name_regex: Optional[pulumi.Input[str]] = None,
                              output_file: Optional[pulumi.Input[str]] = None,
                              status: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetTrailsDeprecatedResult]
    func GetTrailsDeprecated(ctx *Context, args *GetTrailsDeprecatedArgs, opts ...InvokeOption) (*GetTrailsDeprecatedResult, error)
    func GetTrailsDeprecatedOutput(ctx *Context, args *GetTrailsDeprecatedOutputArgs, opts ...InvokeOption) GetTrailsDeprecatedResultOutput

    > Note: This function is named GetTrailsDeprecated in the Go SDK.

    public static class GetTrailsDeprecated 
    {
        public static Task<GetTrailsDeprecatedResult> InvokeAsync(GetTrailsDeprecatedArgs args, InvokeOptions? opts = null)
        public static Output<GetTrailsDeprecatedResult> Invoke(GetTrailsDeprecatedInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTrailsDeprecatedResult> getTrailsDeprecated(GetTrailsDeprecatedArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:actiontrail/getTrailsDeprecated:getTrailsDeprecated
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Ids List<string>
    IncludeOrganizationTrail bool
    IncludeShadowTrails bool
    NameRegex string
    A regex string to filter results action trail name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Status string
    Ids []string
    IncludeOrganizationTrail bool
    IncludeShadowTrails bool
    NameRegex string
    A regex string to filter results action trail name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Status string
    ids List<String>
    includeOrganizationTrail Boolean
    includeShadowTrails Boolean
    nameRegex String
    A regex string to filter results action trail name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    status String
    ids string[]
    includeOrganizationTrail boolean
    includeShadowTrails boolean
    nameRegex string
    A regex string to filter results action trail name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    status string
    ids Sequence[str]
    include_organization_trail bool
    include_shadow_trails bool
    name_regex str
    A regex string to filter results action trail name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    status str
    ids List<String>
    includeOrganizationTrail Boolean
    includeShadowTrails Boolean
    nameRegex String
    A regex string to filter results action trail name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    status String

    getTrailsDeprecated Result

    The following output properties are available:

    Actiontrails List<Pulumi.AliCloud.ActionTrail.Outputs.GetTrailsDeprecatedActiontrail>
    A list of actiontrails. Each element contains the following attributes:

    Deprecated: Field 'actiontrails' has been deprecated from version 1.95.0. Use 'trails' instead.

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    Names List<string>
    A list of trail names.
    Trails List<Pulumi.AliCloud.ActionTrail.Outputs.GetTrailsDeprecatedTrail>
    IncludeOrganizationTrail bool
    IncludeShadowTrails bool
    NameRegex string
    OutputFile string
    Status string
    Actiontrails []GetTrailsDeprecatedActiontrail
    A list of actiontrails. Each element contains the following attributes:

    Deprecated: Field 'actiontrails' has been deprecated from version 1.95.0. Use 'trails' instead.

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Names []string
    A list of trail names.
    Trails []GetTrailsDeprecatedTrail
    IncludeOrganizationTrail bool
    IncludeShadowTrails bool
    NameRegex string
    OutputFile string
    Status string
    actiontrails List<GetTrailsDeprecatedActiontrail>
    A list of actiontrails. Each element contains the following attributes:

    Deprecated: Field 'actiontrails' has been deprecated from version 1.95.0. Use 'trails' instead.

    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    A list of trail names.
    trails List<GetTrailsDeprecatedTrail>
    includeOrganizationTrail Boolean
    includeShadowTrails Boolean
    nameRegex String
    outputFile String
    status String
    actiontrails GetTrailsDeprecatedActiontrail[]
    A list of actiontrails. Each element contains the following attributes:

    Deprecated: Field 'actiontrails' has been deprecated from version 1.95.0. Use 'trails' instead.

    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    names string[]
    A list of trail names.
    trails GetTrailsDeprecatedTrail[]
    includeOrganizationTrail boolean
    includeShadowTrails boolean
    nameRegex string
    outputFile string
    status string
    actiontrails Sequence[GetTrailsDeprecatedActiontrail]
    A list of actiontrails. Each element contains the following attributes:

    Deprecated: Field 'actiontrails' has been deprecated from version 1.95.0. Use 'trails' instead.

    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    names Sequence[str]
    A list of trail names.
    trails Sequence[GetTrailsDeprecatedTrail]
    include_organization_trail bool
    include_shadow_trails bool
    name_regex str
    output_file str
    status str
    actiontrails List<Property Map>
    A list of actiontrails. Each element contains the following attributes:

    Deprecated: Field 'actiontrails' has been deprecated from version 1.95.0. Use 'trails' instead.

    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    A list of trail names.
    trails List<Property Map>
    includeOrganizationTrail Boolean
    includeShadowTrails Boolean
    nameRegex String
    outputFile String
    status String

    Supporting Types

    GetTrailsDeprecatedActiontrail

    EventRw string
    Indicates whether the event is a read or a write event.
    Id string
    IsOrganizationTrail bool
    OssBucketName string
    The name of the specified OSS bucket.
    OssKeyPrefix string
    The prefix of the specified OSS bucket name.
    OssWriteRoleArn string
    SlsProjectArn string
    The unique ARN of the Log Service project.
    SlsWriteRoleArn string
    The unique ARN of the Log Service role.
    Status string
    TrailName string
    TrailRegion string
    EventRw string
    Indicates whether the event is a read or a write event.
    Id string
    IsOrganizationTrail bool
    OssBucketName string
    The name of the specified OSS bucket.
    OssKeyPrefix string
    The prefix of the specified OSS bucket name.
    OssWriteRoleArn string
    SlsProjectArn string
    The unique ARN of the Log Service project.
    SlsWriteRoleArn string
    The unique ARN of the Log Service role.
    Status string
    TrailName string
    TrailRegion string
    eventRw String
    Indicates whether the event is a read or a write event.
    id String
    isOrganizationTrail Boolean
    ossBucketName String
    The name of the specified OSS bucket.
    ossKeyPrefix String
    The prefix of the specified OSS bucket name.
    ossWriteRoleArn String
    slsProjectArn String
    The unique ARN of the Log Service project.
    slsWriteRoleArn String
    The unique ARN of the Log Service role.
    status String
    trailName String
    trailRegion String
    eventRw string
    Indicates whether the event is a read or a write event.
    id string
    isOrganizationTrail boolean
    ossBucketName string
    The name of the specified OSS bucket.
    ossKeyPrefix string
    The prefix of the specified OSS bucket name.
    ossWriteRoleArn string
    slsProjectArn string
    The unique ARN of the Log Service project.
    slsWriteRoleArn string
    The unique ARN of the Log Service role.
    status string
    trailName string
    trailRegion string
    event_rw str
    Indicates whether the event is a read or a write event.
    id str
    is_organization_trail bool
    oss_bucket_name str
    The name of the specified OSS bucket.
    oss_key_prefix str
    The prefix of the specified OSS bucket name.
    oss_write_role_arn str
    sls_project_arn str
    The unique ARN of the Log Service project.
    sls_write_role_arn str
    The unique ARN of the Log Service role.
    status str
    trail_name str
    trail_region str
    eventRw String
    Indicates whether the event is a read or a write event.
    id String
    isOrganizationTrail Boolean
    ossBucketName String
    The name of the specified OSS bucket.
    ossKeyPrefix String
    The prefix of the specified OSS bucket name.
    ossWriteRoleArn String
    slsProjectArn String
    The unique ARN of the Log Service project.
    slsWriteRoleArn String
    The unique ARN of the Log Service role.
    status String
    trailName String
    trailRegion String

    GetTrailsDeprecatedTrail

    EventRw string
    Indicates whether the event is a read or a write event.
    Id string
    IsOrganizationTrail bool
    OssBucketName string
    The name of the specified OSS bucket.
    OssKeyPrefix string
    The prefix of the specified OSS bucket name.
    OssWriteRoleArn string
    SlsProjectArn string
    The unique ARN of the Log Service project.
    SlsWriteRoleArn string
    The unique ARN of the Log Service role.
    Status string
    TrailName string
    TrailRegion string
    EventRw string
    Indicates whether the event is a read or a write event.
    Id string
    IsOrganizationTrail bool
    OssBucketName string
    The name of the specified OSS bucket.
    OssKeyPrefix string
    The prefix of the specified OSS bucket name.
    OssWriteRoleArn string
    SlsProjectArn string
    The unique ARN of the Log Service project.
    SlsWriteRoleArn string
    The unique ARN of the Log Service role.
    Status string
    TrailName string
    TrailRegion string
    eventRw String
    Indicates whether the event is a read or a write event.
    id String
    isOrganizationTrail Boolean
    ossBucketName String
    The name of the specified OSS bucket.
    ossKeyPrefix String
    The prefix of the specified OSS bucket name.
    ossWriteRoleArn String
    slsProjectArn String
    The unique ARN of the Log Service project.
    slsWriteRoleArn String
    The unique ARN of the Log Service role.
    status String
    trailName String
    trailRegion String
    eventRw string
    Indicates whether the event is a read or a write event.
    id string
    isOrganizationTrail boolean
    ossBucketName string
    The name of the specified OSS bucket.
    ossKeyPrefix string
    The prefix of the specified OSS bucket name.
    ossWriteRoleArn string
    slsProjectArn string
    The unique ARN of the Log Service project.
    slsWriteRoleArn string
    The unique ARN of the Log Service role.
    status string
    trailName string
    trailRegion string
    event_rw str
    Indicates whether the event is a read or a write event.
    id str
    is_organization_trail bool
    oss_bucket_name str
    The name of the specified OSS bucket.
    oss_key_prefix str
    The prefix of the specified OSS bucket name.
    oss_write_role_arn str
    sls_project_arn str
    The unique ARN of the Log Service project.
    sls_write_role_arn str
    The unique ARN of the Log Service role.
    status str
    trail_name str
    trail_region str
    eventRw String
    Indicates whether the event is a read or a write event.
    id String
    isOrganizationTrail Boolean
    ossBucketName String
    The name of the specified OSS bucket.
    ossKeyPrefix String
    The prefix of the specified OSS bucket name.
    ossWriteRoleArn String
    slsProjectArn String
    The unique ARN of the Log Service project.
    slsWriteRoleArn String
    The unique ARN of the Log Service role.
    status String
    trailName String
    trailRegion String

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi