alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

alicloud.ga.AclAttachment

Provides a Global Accelerator (GA) Acl Attachment resource.

For information about Global Accelerator (GA) Acl Attachment and how to use it, see What is Acl Attachment.

NOTE: Available in v1.150.0+.

Create AclAttachment Resource

new AclAttachment(name: string, args: AclAttachmentArgs, opts?: CustomResourceOptions);
@overload
def AclAttachment(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  acl_id: Optional[str] = None,
                  acl_type: Optional[str] = None,
                  dry_run: Optional[bool] = None,
                  listener_id: Optional[str] = None)
@overload
def AclAttachment(resource_name: str,
                  args: AclAttachmentArgs,
                  opts: Optional[ResourceOptions] = None)
func NewAclAttachment(ctx *Context, name string, args AclAttachmentArgs, opts ...ResourceOption) (*AclAttachment, error)
public AclAttachment(string name, AclAttachmentArgs args, CustomResourceOptions? opts = null)
public AclAttachment(String name, AclAttachmentArgs args)
public AclAttachment(String name, AclAttachmentArgs args, CustomResourceOptions options)
type: alicloud:ga:AclAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AclAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AclAttachmentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AclAttachmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AclAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AclAttachmentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AclAttachment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AclAttachment resource accepts the following input properties:

AclId string

The ID of an ACL.

AclType string

The type of the ACL. Valid values: white, black.

ListenerId string

The ID of the listener.

DryRun bool

The dry run.

AclId string

The ID of an ACL.

AclType string

The type of the ACL. Valid values: white, black.

ListenerId string

The ID of the listener.

DryRun bool

The dry run.

aclId String

The ID of an ACL.

aclType String

The type of the ACL. Valid values: white, black.

listenerId String

The ID of the listener.

dryRun Boolean

The dry run.

aclId string

The ID of an ACL.

aclType string

The type of the ACL. Valid values: white, black.

listenerId string

The ID of the listener.

dryRun boolean

The dry run.

acl_id str

The ID of an ACL.

acl_type str

The type of the ACL. Valid values: white, black.

listener_id str

The ID of the listener.

dry_run bool

The dry run.

aclId String

The ID of an ACL.

aclType String

The type of the ACL. Valid values: white, black.

listenerId String

The ID of the listener.

dryRun Boolean

The dry run.

Outputs

All input properties are implicitly available as output properties. Additionally, the AclAttachment resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the resource.

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the resource.

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the resource.

id string

The provider-assigned unique ID for this managed resource.

status string

The status of the resource.

id str

The provider-assigned unique ID for this managed resource.

status str

The status of the resource.

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the resource.

Look up Existing AclAttachment Resource

Get an existing AclAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AclAttachmentState, opts?: CustomResourceOptions): AclAttachment
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        acl_id: Optional[str] = None,
        acl_type: Optional[str] = None,
        dry_run: Optional[bool] = None,
        listener_id: Optional[str] = None,
        status: Optional[str] = None) -> AclAttachment
func GetAclAttachment(ctx *Context, name string, id IDInput, state *AclAttachmentState, opts ...ResourceOption) (*AclAttachment, error)
public static AclAttachment Get(string name, Input<string> id, AclAttachmentState? state, CustomResourceOptions? opts = null)
public static AclAttachment get(String name, Output<String> id, AclAttachmentState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AclId string

The ID of an ACL.

AclType string

The type of the ACL. Valid values: white, black.

DryRun bool

The dry run.

ListenerId string

The ID of the listener.

Status string

The status of the resource.

AclId string

The ID of an ACL.

AclType string

The type of the ACL. Valid values: white, black.

DryRun bool

The dry run.

ListenerId string

The ID of the listener.

Status string

The status of the resource.

aclId String

The ID of an ACL.

aclType String

The type of the ACL. Valid values: white, black.

dryRun Boolean

The dry run.

listenerId String

The ID of the listener.

status String

The status of the resource.

aclId string

The ID of an ACL.

aclType string

The type of the ACL. Valid values: white, black.

dryRun boolean

The dry run.

listenerId string

The ID of the listener.

status string

The status of the resource.

acl_id str

The ID of an ACL.

acl_type str

The type of the ACL. Valid values: white, black.

dry_run bool

The dry run.

listener_id str

The ID of the listener.

status str

The status of the resource.

aclId String

The ID of an ACL.

aclType String

The type of the ACL. Valid values: white, black.

dryRun Boolean

The dry run.

listenerId String

The ID of the listener.

status String

The status of the resource.

Import

Global Accelerator (GA) Acl Attachment can be imported using the id. Format to <listener_id>:<acl_id>, e.g.

 $ pulumi import alicloud:ga/aclAttachment:AclAttachment example your_listener_id:your_acl_id

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.