1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. cloudstoragegateway
  5. ExpressSyncShareAttachment
Alibaba Cloud v3.45.0 published on Monday, Nov 27, 2023 by Pulumi

alicloud.cloudstoragegateway.ExpressSyncShareAttachment

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.45.0 published on Monday, Nov 27, 2023 by Pulumi

    Provides a Cloud Storage Gateway Express Sync Share Attachment resource.

    For information about Cloud Storage Gateway Express Sync Share Attachment and how to use it, see What is Express Sync Share Attachment.

    NOTE: Available since v1.144.0.

    Create ExpressSyncShareAttachment Resource

    new ExpressSyncShareAttachment(name: string, args: ExpressSyncShareAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def ExpressSyncShareAttachment(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   express_sync_id: Optional[str] = None,
                                   gateway_id: Optional[str] = None,
                                   share_name: Optional[str] = None)
    @overload
    def ExpressSyncShareAttachment(resource_name: str,
                                   args: ExpressSyncShareAttachmentArgs,
                                   opts: Optional[ResourceOptions] = None)
    func NewExpressSyncShareAttachment(ctx *Context, name string, args ExpressSyncShareAttachmentArgs, opts ...ResourceOption) (*ExpressSyncShareAttachment, error)
    public ExpressSyncShareAttachment(string name, ExpressSyncShareAttachmentArgs args, CustomResourceOptions? opts = null)
    public ExpressSyncShareAttachment(String name, ExpressSyncShareAttachmentArgs args)
    public ExpressSyncShareAttachment(String name, ExpressSyncShareAttachmentArgs args, CustomResourceOptions options)
    
    type: alicloud:cloudstoragegateway:ExpressSyncShareAttachment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ExpressSyncShareAttachmentArgs
    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 ExpressSyncShareAttachmentArgs
    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 ExpressSyncShareAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ExpressSyncShareAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ExpressSyncShareAttachmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ExpressSyncShareAttachment 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 ExpressSyncShareAttachment resource accepts the following input properties:

    ExpressSyncId string

    The ID of the ExpressSync.

    GatewayId string

    The ID of the Gateway.

    ShareName string

    The name of the GatewayFileShare. NOTE: When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.

    ExpressSyncId string

    The ID of the ExpressSync.

    GatewayId string

    The ID of the Gateway.

    ShareName string

    The name of the GatewayFileShare. NOTE: When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.

    expressSyncId String

    The ID of the ExpressSync.

    gatewayId String

    The ID of the Gateway.

    shareName String

    The name of the GatewayFileShare. NOTE: When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.

    expressSyncId string

    The ID of the ExpressSync.

    gatewayId string

    The ID of the Gateway.

    shareName string

    The name of the GatewayFileShare. NOTE: When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.

    express_sync_id str

    The ID of the ExpressSync.

    gateway_id str

    The ID of the Gateway.

    share_name str

    The name of the GatewayFileShare. NOTE: When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.

    expressSyncId String

    The ID of the ExpressSync.

    gatewayId String

    The ID of the Gateway.

    shareName String

    The name of the GatewayFileShare. NOTE: When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.

    Outputs

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

    Id string

    The provider-assigned unique ID for this managed resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    id string

    The provider-assigned unique ID for this managed resource.

    id str

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    Look up Existing ExpressSyncShareAttachment Resource

    Get an existing ExpressSyncShareAttachment 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?: ExpressSyncShareAttachmentState, opts?: CustomResourceOptions): ExpressSyncShareAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            express_sync_id: Optional[str] = None,
            gateway_id: Optional[str] = None,
            share_name: Optional[str] = None) -> ExpressSyncShareAttachment
    func GetExpressSyncShareAttachment(ctx *Context, name string, id IDInput, state *ExpressSyncShareAttachmentState, opts ...ResourceOption) (*ExpressSyncShareAttachment, error)
    public static ExpressSyncShareAttachment Get(string name, Input<string> id, ExpressSyncShareAttachmentState? state, CustomResourceOptions? opts = null)
    public static ExpressSyncShareAttachment get(String name, Output<String> id, ExpressSyncShareAttachmentState 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:
    ExpressSyncId string

    The ID of the ExpressSync.

    GatewayId string

    The ID of the Gateway.

    ShareName string

    The name of the GatewayFileShare. NOTE: When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.

    ExpressSyncId string

    The ID of the ExpressSync.

    GatewayId string

    The ID of the Gateway.

    ShareName string

    The name of the GatewayFileShare. NOTE: When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.

    expressSyncId String

    The ID of the ExpressSync.

    gatewayId String

    The ID of the Gateway.

    shareName String

    The name of the GatewayFileShare. NOTE: When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.

    expressSyncId string

    The ID of the ExpressSync.

    gatewayId string

    The ID of the Gateway.

    shareName string

    The name of the GatewayFileShare. NOTE: When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.

    express_sync_id str

    The ID of the ExpressSync.

    gateway_id str

    The ID of the Gateway.

    share_name str

    The name of the GatewayFileShare. NOTE: When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.

    expressSyncId String

    The ID of the ExpressSync.

    gatewayId String

    The ID of the Gateway.

    shareName String

    The name of the GatewayFileShare. NOTE: When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.

    Import

    Cloud Storage Gateway Express Sync Share Attachment can be imported using the id, e.g.

     $ pulumi import alicloud:cloudstoragegateway/expressSyncShareAttachment:ExpressSyncShareAttachment example <express_sync_id>:<gateway_id>:<share_name>
    

    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.45.0 published on Monday, Nov 27, 2023 by Pulumi