Alibaba Cloud

v3.28.0 published on Tuesday, Aug 16, 2022 by Pulumi

getTrailsDeprecated

Deprecated:

DataSource has been renamed to getTrails

Example Usage

Coming soon!

Coming soon!

Coming soon!

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const trails = pulumi.output(alicloud.actiontrail.getTrailsDeprecated({
    nameRegex: "tf-testacc-actiontrail",
}));

export const firstTrailName = trails.actiontrails[0].name;

Coming soon!

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
Status string
Ids []string
IncludeOrganizationTrail bool
IncludeShadowTrails bool
NameRegex string

A regex string to filter results action trail name.

OutputFile string
Status string
ids List<String>
includeOrganizationTrail Boolean
includeShadowTrails Boolean
nameRegex String

A regex string to filter results action trail name.

outputFile String
status String
ids string[]
includeOrganizationTrail boolean
includeShadowTrails boolean
nameRegex string

A regex string to filter results action trail name.

outputFile string
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
status str
ids List<String>
includeOrganizationTrail Boolean
includeShadowTrails Boolean
nameRegex String

A regex string to filter results action trail name.

outputFile String
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
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.