1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. cloudstoragegateway
  5. ExpressSync
Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi

alicloud.cloudstoragegateway.ExpressSync

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi

    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:

    BucketName string

    The name of the OSS Bucket.

    BucketRegion string

    The region of the OSS Bucket.

    ExpressSyncName string

    The name of the ExpressSync. The length of the name is limited to 1 to 128 characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.

    BucketPrefix string

    The prefix of the OSS Bucket.

    Description string

    The description of the Express Sync. The length of the name is limited to 1 to 255 characters.

    BucketName string

    The name of the OSS Bucket.

    BucketRegion string

    The region of the OSS Bucket.

    ExpressSyncName string

    The name of the ExpressSync. The length of the name is limited to 1 to 128 characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.

    BucketPrefix string

    The prefix of the OSS Bucket.

    Description string

    The description of the Express Sync. The length of the name is limited to 1 to 255 characters.

    bucketName String

    The name of the OSS Bucket.

    bucketRegion String

    The region of the OSS Bucket.

    expressSyncName String

    The name of the ExpressSync. The length of the name is limited to 1 to 128 characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.

    bucketPrefix String

    The prefix of the OSS Bucket.

    description String

    The description of the Express Sync. The length of the name is limited to 1 to 255 characters.

    bucketName string

    The name of the OSS Bucket.

    bucketRegion string

    The region of the OSS Bucket.

    expressSyncName string

    The name of the ExpressSync. The length of the name is limited to 1 to 128 characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.

    bucketPrefix string

    The prefix of the OSS Bucket.

    description string

    The description of the Express Sync. The length of the name is limited to 1 to 255 characters.

    bucket_name str

    The name of the OSS Bucket.

    bucket_region str

    The region of the OSS Bucket.

    express_sync_name str

    The name of the ExpressSync. The length of the name is limited to 1 to 128 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 to 255 characters.

    bucketName String

    The name of the OSS Bucket.

    bucketRegion String

    The region of the OSS Bucket.

    expressSyncName String

    The name of the ExpressSync. The length of the name is limited to 1 to 128 characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.

    bucketPrefix String

    The prefix of the OSS Bucket.

    description String

    The description of the Express Sync. The length of the name is limited to 1 to 255 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.
    The following state arguments are supported:
    BucketName string

    The name of the OSS Bucket.

    BucketPrefix string

    The prefix of the OSS Bucket.

    BucketRegion string

    The region of the OSS Bucket.

    Description string

    The description of the Express Sync. The length of the name is limited to 1 to 255 characters.

    ExpressSyncName string

    The name of the ExpressSync. The length of the name is limited to 1 to 128 characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.

    BucketName string

    The name of the OSS Bucket.

    BucketPrefix string

    The prefix of the OSS Bucket.

    BucketRegion string

    The region of the OSS Bucket.

    Description string

    The description of the Express Sync. The length of the name is limited to 1 to 255 characters.

    ExpressSyncName string

    The name of the ExpressSync. The length of the name is limited to 1 to 128 characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.

    bucketName String

    The name of the OSS Bucket.

    bucketPrefix String

    The prefix of the OSS Bucket.

    bucketRegion String

    The region of the OSS Bucket.

    description String

    The description of the Express Sync. The length of the name is limited to 1 to 255 characters.

    expressSyncName String

    The name of the ExpressSync. The length of the name is limited to 1 to 128 characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.

    bucketName string

    The name of the OSS Bucket.

    bucketPrefix string

    The prefix of the OSS Bucket.

    bucketRegion string

    The region of the OSS Bucket.

    description string

    The description of the Express Sync. The length of the name is limited to 1 to 255 characters.

    expressSyncName string

    The name of the ExpressSync. The length of the name is limited to 1 to 128 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 to 255 characters.

    express_sync_name str

    The name of the ExpressSync. The length of the name is limited to 1 to 128 characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.

    bucketName String

    The name of the OSS Bucket.

    bucketPrefix String

    The prefix of the OSS Bucket.

    bucketRegion String

    The region of the OSS Bucket.

    description String

    The description of the Express Sync. The length of the name is limited to 1 to 255 characters.

    expressSyncName String

    The name of the ExpressSync. The length of the name is limited to 1 to 128 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.

    alicloud logo
    Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi