alicloud.cloudstoragegateway.ExpressSync
Explore with Pulumi AI
Provides a Cloud Storage Gateway Express Sync resource.
For information about Cloud Storage Gateway Express Sync and how to use it, see What is Express Sync.
NOTE: Available since v1.144.0.
Create ExpressSync Resource
new ExpressSync(name: string, args: ExpressSyncArgs, opts?: CustomResourceOptions);
@overload
def ExpressSync(resource_name: str,
opts: Optional[ResourceOptions] = None,
bucket_name: Optional[str] = None,
bucket_prefix: Optional[str] = None,
bucket_region: Optional[str] = None,
description: Optional[str] = None,
express_sync_name: Optional[str] = None)
@overload
def ExpressSync(resource_name: str,
args: ExpressSyncArgs,
opts: Optional[ResourceOptions] = None)
func NewExpressSync(ctx *Context, name string, args ExpressSyncArgs, opts ...ResourceOption) (*ExpressSync, error)
public ExpressSync(string name, ExpressSyncArgs args, CustomResourceOptions? opts = null)
public ExpressSync(String name, ExpressSyncArgs args)
public ExpressSync(String name, ExpressSyncArgs args, CustomResourceOptions options)
type: alicloud:cloudstoragegateway:ExpressSync
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExpressSyncArgs
- 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 ExpressSyncArgs
- 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 ExpressSyncArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExpressSyncArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExpressSyncArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ExpressSync 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 ExpressSync resource accepts the following input properties:
- Bucket
Name string The name of the OSS Bucket.
- Bucket
Region string The region of the OSS Bucket.
- Express
Sync stringName The name of the ExpressSync. The length of the name is limited to
1
to128
characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.- Bucket
Prefix string The prefix of the OSS Bucket.
- Description string
The description of the Express Sync. The length of the name is limited to
1
to255
characters.
- Bucket
Name string The name of the OSS Bucket.
- Bucket
Region string The region of the OSS Bucket.
- Express
Sync stringName The name of the ExpressSync. The length of the name is limited to
1
to128
characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.- Bucket
Prefix string The prefix of the OSS Bucket.
- Description string
The description of the Express Sync. The length of the name is limited to
1
to255
characters.
- bucket
Name String The name of the OSS Bucket.
- bucket
Region String The region of the OSS Bucket.
- express
Sync StringName The name of the ExpressSync. The length of the name is limited to
1
to128
characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.- bucket
Prefix String The prefix of the OSS Bucket.
- description String
The description of the Express Sync. The length of the name is limited to
1
to255
characters.
- bucket
Name string The name of the OSS Bucket.
- bucket
Region string The region of the OSS Bucket.
- express
Sync stringName The name of the ExpressSync. The length of the name is limited to
1
to128
characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.- bucket
Prefix string The prefix of the OSS Bucket.
- description string
The description of the Express Sync. The length of the name is limited to
1
to255
characters.
- bucket_
name str The name of the OSS Bucket.
- bucket_
region str The region of the OSS Bucket.
- express_
sync_ strname The name of the ExpressSync. The length of the name is limited to
1
to128
characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.- bucket_
prefix str The prefix of the OSS Bucket.
- description str
The description of the Express Sync. The length of the name is limited to
1
to255
characters.
- bucket
Name String The name of the OSS Bucket.
- bucket
Region String The region of the OSS Bucket.
- express
Sync StringName The name of the ExpressSync. The length of the name is limited to
1
to128
characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.- bucket
Prefix String The prefix of the OSS Bucket.
- description String
The description of the Express Sync. The length of the name is limited to
1
to255
characters.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExpressSync 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 ExpressSync Resource
Get an existing ExpressSync 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?: ExpressSyncState, opts?: CustomResourceOptions): ExpressSync
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bucket_name: Optional[str] = None,
bucket_prefix: Optional[str] = None,
bucket_region: Optional[str] = None,
description: Optional[str] = None,
express_sync_name: Optional[str] = None) -> ExpressSync
func GetExpressSync(ctx *Context, name string, id IDInput, state *ExpressSyncState, opts ...ResourceOption) (*ExpressSync, error)
public static ExpressSync Get(string name, Input<string> id, ExpressSyncState? state, CustomResourceOptions? opts = null)
public static ExpressSync get(String name, Output<String> id, ExpressSyncState 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.
- Bucket
Name string The name of the OSS Bucket.
- Bucket
Prefix string The prefix of the OSS Bucket.
- Bucket
Region string The region of the OSS Bucket.
- Description string
The description of the Express Sync. The length of the name is limited to
1
to255
characters.- Express
Sync stringName The name of the ExpressSync. The length of the name is limited to
1
to128
characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.
- Bucket
Name string The name of the OSS Bucket.
- Bucket
Prefix string The prefix of the OSS Bucket.
- Bucket
Region string The region of the OSS Bucket.
- Description string
The description of the Express Sync. The length of the name is limited to
1
to255
characters.- Express
Sync stringName The name of the ExpressSync. The length of the name is limited to
1
to128
characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.
- bucket
Name String The name of the OSS Bucket.
- bucket
Prefix String The prefix of the OSS Bucket.
- bucket
Region String The region of the OSS Bucket.
- description String
The description of the Express Sync. The length of the name is limited to
1
to255
characters.- express
Sync StringName The name of the ExpressSync. The length of the name is limited to
1
to128
characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.
- bucket
Name string The name of the OSS Bucket.
- bucket
Prefix string The prefix of the OSS Bucket.
- bucket
Region string The region of the OSS Bucket.
- description string
The description of the Express Sync. The length of the name is limited to
1
to255
characters.- express
Sync stringName The name of the ExpressSync. The length of the name is limited to
1
to128
characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.
- bucket_
name str The name of the OSS Bucket.
- bucket_
prefix str The prefix of the OSS Bucket.
- bucket_
region str The region of the OSS Bucket.
- description str
The description of the Express Sync. The length of the name is limited to
1
to255
characters.- express_
sync_ strname The name of the ExpressSync. The length of the name is limited to
1
to128
characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.
- bucket
Name String The name of the OSS Bucket.
- bucket
Prefix String The prefix of the OSS Bucket.
- bucket
Region String The region of the OSS Bucket.
- description String
The description of the Express Sync. The length of the name is limited to
1
to255
characters.- express
Sync StringName The name of the ExpressSync. The length of the name is limited to
1
to128
characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.
Import
Cloud Storage Gateway Express Sync can be imported using the id, e.g.
$ pulumi import alicloud:cloudstoragegateway/expressSync:ExpressSync example <id>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.