alicloud.cloudstoragegateway.ExpressSyncShareAttachment
Explore with Pulumi AI
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:
- Express
Sync stringId The ID of the ExpressSync.
- Gateway
Id string The ID of the Gateway.
- 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 stringId The ID of the ExpressSync.
- Gateway
Id string The ID of the Gateway.
- 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 StringId The ID of the ExpressSync.
- gateway
Id String The ID of the Gateway.
- 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 stringId The ID of the ExpressSync.
- gateway
Id string The ID of the Gateway.
- 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_ strid The ID of the ExpressSync.
- gateway_
id str The ID of the Gateway.
- 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.
- express
Sync StringId The ID of the ExpressSync.
- gateway
Id String The ID of the Gateway.
- 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.
- Express
Sync stringId The ID of the ExpressSync.
- Gateway
Id string The ID of the Gateway.
- 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 stringId The ID of the ExpressSync.
- Gateway
Id string The ID of the Gateway.
- 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 StringId The ID of the ExpressSync.
- gateway
Id String The ID of the Gateway.
- 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 stringId The ID of the ExpressSync.
- gateway
Id string The ID of the Gateway.
- 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_ strid The ID of the ExpressSync.
- gateway_
id str The ID of the Gateway.
- 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.
- express
Sync StringId The ID of the ExpressSync.
- gateway
Id String The ID of the Gateway.
- 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.