1. Packages
  2. Alicloud Provider
  3. API Docs
  4. cloudstoragegateway
  5. ExpressSyncShareAttachment
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.cloudstoragegateway.ExpressSyncShareAttachment

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 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

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ExpressSyncShareAttachment(name: string, args: ExpressSyncShareAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def ExpressSyncShareAttachment(resource_name: str,
                                   args: ExpressSyncShareAttachmentArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @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)
    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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var expressSyncShareAttachmentResource = new AliCloud.CloudStorageGateway.ExpressSyncShareAttachment("expressSyncShareAttachmentResource", new()
    {
        ExpressSyncId = "string",
        GatewayId = "string",
        ShareName = "string",
    });
    
    example, err := cloudstoragegateway.NewExpressSyncShareAttachment(ctx, "expressSyncShareAttachmentResource", &cloudstoragegateway.ExpressSyncShareAttachmentArgs{
    	ExpressSyncId: pulumi.String("string"),
    	GatewayId:     pulumi.String("string"),
    	ShareName:     pulumi.String("string"),
    })
    
    var expressSyncShareAttachmentResource = new ExpressSyncShareAttachment("expressSyncShareAttachmentResource", ExpressSyncShareAttachmentArgs.builder()
        .expressSyncId("string")
        .gatewayId("string")
        .shareName("string")
        .build());
    
    express_sync_share_attachment_resource = alicloud.cloudstoragegateway.ExpressSyncShareAttachment("expressSyncShareAttachmentResource",
        express_sync_id="string",
        gateway_id="string",
        share_name="string")
    
    const expressSyncShareAttachmentResource = new alicloud.cloudstoragegateway.ExpressSyncShareAttachment("expressSyncShareAttachmentResource", {
        expressSyncId: "string",
        gatewayId: "string",
        shareName: "string",
    });
    
    type: alicloud:cloudstoragegateway:ExpressSyncShareAttachment
    properties:
        expressSyncId: string
        gatewayId: string
        shareName: string
    

    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>
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.62.1 published on Monday, Sep 16, 2024 by Pulumi