Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi
alicloud.actiontrail.getTrailsDeprecated
Explore with Pulumi AI
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)
public static Output<GetTrailsDeprecatedResult> getTrailsDeprecated(GetTrailsDeprecatedArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:actiontrail/getTrailsDeprecated:getTrailsDeprecated
arguments:
# arguments dictionary
The following arguments are supported:
- Ids
Changes to this property will trigger replacement.
- Include
Organization Trail Changes to this property will trigger replacement.
- Include
Shadow Trails Changes to this property will trigger replacement.
- Name
Regex Changes to this property will trigger replacement.
- A regex string to filter results action trail name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status
Changes to this property will trigger replacement.
- Ids
Changes to this property will trigger replacement.
- Include
Organization Trail Changes to this property will trigger replacement.
- Include
Shadow Trails Changes to this property will trigger replacement.
- Name
Regex Changes to this property will trigger replacement.
- A regex string to filter results action trail name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status
Changes to this property will trigger replacement.
- ids
Changes to this property will trigger replacement.
- include
Organization Trail Changes to this property will trigger replacement.
- include
Shadow Trails Changes to this property will trigger replacement.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results action trail name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- ids
Changes to this property will trigger replacement.
- include
Organization Trail Changes to this property will trigger replacement.
- include
Shadow Trails Changes to this property will trigger replacement.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results action trail name.
- output
File string - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- ids
Changes to this property will trigger replacement.
- include_
organization_ trail Changes to this property will trigger replacement.
- include_
shadow_ trails Changes to this property will trigger replacement.
- name_
regex Changes to this property will trigger replacement.
- 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.
- ids
Changes to this property will trigger replacement.
- include
Organization Trail Changes to this property will trigger replacement.
- include
Shadow Trails Changes to this property will trigger replacement.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results action trail name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
getTrailsDeprecated Result
The following output properties are available:
- Actiontrails
List<Pulumi.
Ali Cloud. Action Trail. Outputs. Get Trails Deprecated Actiontrail> - A list of actiontrails. Each element contains the following attributes:
- 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.
Ali Cloud. Action Trail. Outputs. Get Trails Deprecated Trail> - Include
Organization boolTrail - Include
Shadow boolTrails - Name
Regex string - Output
File string - Status string
- Actiontrails
[]Get
Trails Deprecated Actiontrail - A list of actiontrails. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- A list of trail names.
- Trails
[]Get
Trails Deprecated Trail - Include
Organization boolTrail - Include
Shadow boolTrails - Name
Regex string - Output
File string - Status string
- actiontrails
List<Get
Trails Deprecated Actiontrail> - A list of actiontrails. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- A list of trail names.
- trails
List<Get
Trails Deprecated Trail> - include
Organization BooleanTrail - include
Shadow BooleanTrails - name
Regex String - output
File String - status String
- actiontrails
Get
Trails Deprecated Actiontrail[] - A list of actiontrails. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- A list of trail names.
- trails
Get
Trails Deprecated Trail[] - include
Organization booleanTrail - include
Shadow booleanTrails - name
Regex string - output
File string - status string
- actiontrails
Sequence[Get
Trails Deprecated Actiontrail] - A list of actiontrails. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- A list of trail names.
- trails
Sequence[Get
Trails Deprecated Trail] - include_
organization_ booltrail - include_
shadow_ booltrails - name_
regex str - output_
file str - status str
- actiontrails List<Property Map>
- A list of actiontrails. Each element contains the following attributes:
- 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>
- include
Organization BooleanTrail - include
Shadow BooleanTrails - name
Regex String - output
File String - status String
Supporting Types
GetTrailsDeprecatedActiontrail
- Event
Rw This property is required. string - Indicates whether the event is a read or a write event.
- Id
This property is required. string - Is
Organization Trail This property is required. bool - Oss
Bucket Name This property is required. string - The name of the specified OSS bucket.
- Oss
Key Prefix This property is required. string - The prefix of the specified OSS bucket name.
- Oss
Write Role Arn This property is required. string - Sls
Project Arn This property is required. string - The unique ARN of the Log Service project.
- Sls
Write Role Arn This property is required. string - The unique ARN of the Log Service role.
- Status
This property is required. string - Trail
Name This property is required. string - Trail
Region This property is required. string
- Event
Rw This property is required. string - Indicates whether the event is a read or a write event.
- Id
This property is required. string - Is
Organization Trail This property is required. bool - Oss
Bucket Name This property is required. string - The name of the specified OSS bucket.
- Oss
Key Prefix This property is required. string - The prefix of the specified OSS bucket name.
- Oss
Write Role Arn This property is required. string - Sls
Project Arn This property is required. string - The unique ARN of the Log Service project.
- Sls
Write Role Arn This property is required. string - The unique ARN of the Log Service role.
- Status
This property is required. string - Trail
Name This property is required. string - Trail
Region This property is required. string
- event
Rw This property is required. String - Indicates whether the event is a read or a write event.
- id
This property is required. String - is
Organization Trail This property is required. Boolean - oss
Bucket Name This property is required. String - The name of the specified OSS bucket.
- oss
Key Prefix This property is required. String - The prefix of the specified OSS bucket name.
- oss
Write Role Arn This property is required. String - sls
Project Arn This property is required. String - The unique ARN of the Log Service project.
- sls
Write Role Arn This property is required. String - The unique ARN of the Log Service role.
- status
This property is required. String - trail
Name This property is required. String - trail
Region This property is required. String
- event
Rw This property is required. string - Indicates whether the event is a read or a write event.
- id
This property is required. string - is
Organization Trail This property is required. boolean - oss
Bucket Name This property is required. string - The name of the specified OSS bucket.
- oss
Key Prefix This property is required. string - The prefix of the specified OSS bucket name.
- oss
Write Role Arn This property is required. string - sls
Project Arn This property is required. string - The unique ARN of the Log Service project.
- sls
Write Role Arn This property is required. string - The unique ARN of the Log Service role.
- status
This property is required. string - trail
Name This property is required. string - trail
Region 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
- event
Rw This property is required. String - Indicates whether the event is a read or a write event.
- id
This property is required. String - is
Organization Trail This property is required. Boolean - oss
Bucket Name This property is required. String - The name of the specified OSS bucket.
- oss
Key Prefix This property is required. String - The prefix of the specified OSS bucket name.
- oss
Write Role Arn This property is required. String - sls
Project Arn This property is required. String - The unique ARN of the Log Service project.
- sls
Write Role Arn This property is required. String - The unique ARN of the Log Service role.
- status
This property is required. String - trail
Name This property is required. String - trail
Region This property is required. String
GetTrailsDeprecatedTrail
- Event
Rw This property is required. string - Indicates whether the event is a read or a write event.
- Id
This property is required. string - Is
Organization Trail This property is required. bool - Oss
Bucket Name This property is required. string - The name of the specified OSS bucket.
- Oss
Key Prefix This property is required. string - The prefix of the specified OSS bucket name.
- Oss
Write Role Arn This property is required. string - Sls
Project Arn This property is required. string - The unique ARN of the Log Service project.
- Sls
Write Role Arn This property is required. string - The unique ARN of the Log Service role.
- Status
This property is required. string - Trail
Name This property is required. string - Trail
Region This property is required. string
- Event
Rw This property is required. string - Indicates whether the event is a read or a write event.
- Id
This property is required. string - Is
Organization Trail This property is required. bool - Oss
Bucket Name This property is required. string - The name of the specified OSS bucket.
- Oss
Key Prefix This property is required. string - The prefix of the specified OSS bucket name.
- Oss
Write Role Arn This property is required. string - Sls
Project Arn This property is required. string - The unique ARN of the Log Service project.
- Sls
Write Role Arn This property is required. string - The unique ARN of the Log Service role.
- Status
This property is required. string - Trail
Name This property is required. string - Trail
Region This property is required. string
- event
Rw This property is required. String - Indicates whether the event is a read or a write event.
- id
This property is required. String - is
Organization Trail This property is required. Boolean - oss
Bucket Name This property is required. String - The name of the specified OSS bucket.
- oss
Key Prefix This property is required. String - The prefix of the specified OSS bucket name.
- oss
Write Role Arn This property is required. String - sls
Project Arn This property is required. String - The unique ARN of the Log Service project.
- sls
Write Role Arn This property is required. String - The unique ARN of the Log Service role.
- status
This property is required. String - trail
Name This property is required. String - trail
Region This property is required. String
- event
Rw This property is required. string - Indicates whether the event is a read or a write event.
- id
This property is required. string - is
Organization Trail This property is required. boolean - oss
Bucket Name This property is required. string - The name of the specified OSS bucket.
- oss
Key Prefix This property is required. string - The prefix of the specified OSS bucket name.
- oss
Write Role Arn This property is required. string - sls
Project Arn This property is required. string - The unique ARN of the Log Service project.
- sls
Write Role Arn This property is required. string - The unique ARN of the Log Service role.
- status
This property is required. string - trail
Name This property is required. string - trail
Region 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
- event
Rw This property is required. String - Indicates whether the event is a read or a write event.
- id
This property is required. String - is
Organization Trail This property is required. Boolean - oss
Bucket Name This property is required. String - The name of the specified OSS bucket.
- oss
Key Prefix This property is required. String - The prefix of the specified OSS bucket name.
- oss
Write Role Arn This property is required. String - sls
Project Arn This property is required. String - The unique ARN of the Log Service project.
- sls
Write Role Arn This property is required. String - The unique ARN of the Log Service role.
- status
This property is required. String - trail
Name This property is required. String - trail
Region 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.