1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. actiontrail
  5. getTrailsDeprecated
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.actiontrail.getTrailsDeprecated

Explore with Pulumi AI

Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 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>
Copy
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]
Copy
func GetTrailsDeprecated(ctx *Context, args *GetTrailsDeprecatedArgs, opts ...InvokeOption) (*GetTrailsDeprecatedResult, error)
func GetTrailsDeprecatedOutput(ctx *Context, args *GetTrailsDeprecatedOutputArgs, opts ...InvokeOption) GetTrailsDeprecatedResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetTrailsDeprecatedResult> getTrailsDeprecated(GetTrailsDeprecatedArgs args, InvokeOptions options)
public static Output<GetTrailsDeprecatedResult> getTrailsDeprecated(GetTrailsDeprecatedArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:actiontrail/getTrailsDeprecated:getTrailsDeprecated
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Ids Changes to this property will trigger replacement. List<string>
IncludeOrganizationTrail Changes to this property will trigger replacement. bool
IncludeShadowTrails Changes to this property will trigger replacement. bool
NameRegex Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
Ids Changes to this property will trigger replacement. []string
IncludeOrganizationTrail Changes to this property will trigger replacement. bool
IncludeShadowTrails Changes to this property will trigger replacement. bool
NameRegex Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
ids Changes to this property will trigger replacement. List<String>
includeOrganizationTrail Changes to this property will trigger replacement. Boolean
includeShadowTrails Changes to this property will trigger replacement. Boolean
nameRegex Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
ids Changes to this property will trigger replacement. string[]
includeOrganizationTrail Changes to this property will trigger replacement. boolean
includeShadowTrails Changes to this property will trigger replacement. boolean
nameRegex Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
ids Changes to this property will trigger replacement. Sequence[str]
include_organization_trail Changes to this property will trigger replacement. bool
include_shadow_trails Changes to this property will trigger replacement. bool
name_regex Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
ids Changes to this property will trigger replacement. List<String>
includeOrganizationTrail Changes to this property will trigger replacement. Boolean
includeShadowTrails Changes to this property will trigger replacement. Boolean
nameRegex Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 This property is required. string
Indicates whether the event is a read or a write event.
Id This property is required. string
IsOrganizationTrail This property is required. bool
OssBucketName This property is required. string
The name of the specified OSS bucket.
OssKeyPrefix This property is required. string
The prefix of the specified OSS bucket name.
OssWriteRoleArn This property is required. string
SlsProjectArn This property is required. string
The unique ARN of the Log Service project.
SlsWriteRoleArn This property is required. string
The unique ARN of the Log Service role.
Status This property is required. string
TrailName This property is required. string
TrailRegion This property is required. string
EventRw This property is required. string
Indicates whether the event is a read or a write event.
Id This property is required. string
IsOrganizationTrail This property is required. bool
OssBucketName This property is required. string
The name of the specified OSS bucket.
OssKeyPrefix This property is required. string
The prefix of the specified OSS bucket name.
OssWriteRoleArn This property is required. string
SlsProjectArn This property is required. string
The unique ARN of the Log Service project.
SlsWriteRoleArn This property is required. string
The unique ARN of the Log Service role.
Status This property is required. string
TrailName This property is required. string
TrailRegion This property is required. string
eventRw This property is required. String
Indicates whether the event is a read or a write event.
id This property is required. String
isOrganizationTrail This property is required. Boolean
ossBucketName This property is required. String
The name of the specified OSS bucket.
ossKeyPrefix This property is required. String
The prefix of the specified OSS bucket name.
ossWriteRoleArn This property is required. String
slsProjectArn This property is required. String
The unique ARN of the Log Service project.
slsWriteRoleArn This property is required. String
The unique ARN of the Log Service role.
status This property is required. String
trailName This property is required. String
trailRegion This property is required. String
eventRw This property is required. string
Indicates whether the event is a read or a write event.
id This property is required. string
isOrganizationTrail This property is required. boolean
ossBucketName This property is required. string
The name of the specified OSS bucket.
ossKeyPrefix This property is required. string
The prefix of the specified OSS bucket name.
ossWriteRoleArn This property is required. string
slsProjectArn This property is required. string
The unique ARN of the Log Service project.
slsWriteRoleArn This property is required. string
The unique ARN of the Log Service role.
status This property is required. string
trailName This property is required. string
trailRegion This property is required. string
event_rw This property is required. str
Indicates whether the event is a read or a write event.
id This property is required. str
is_organization_trail This property is required. bool
oss_bucket_name This property is required. str
The name of the specified OSS bucket.
oss_key_prefix This property is required. str
The prefix of the specified OSS bucket name.
oss_write_role_arn This property is required. str
sls_project_arn This property is required. str
The unique ARN of the Log Service project.
sls_write_role_arn This property is required. str
The unique ARN of the Log Service role.
status This property is required. str
trail_name This property is required. str
trail_region This property is required. str
eventRw This property is required. String
Indicates whether the event is a read or a write event.
id This property is required. String
isOrganizationTrail This property is required. Boolean
ossBucketName This property is required. String
The name of the specified OSS bucket.
ossKeyPrefix This property is required. String
The prefix of the specified OSS bucket name.
ossWriteRoleArn This property is required. String
slsProjectArn This property is required. String
The unique ARN of the Log Service project.
slsWriteRoleArn This property is required. String
The unique ARN of the Log Service role.
status This property is required. String
trailName This property is required. String
trailRegion This property is required. String

GetTrailsDeprecatedTrail

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

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi