alicloud.cloudstoragegateway.GatewayBlockVolume
Explore with Pulumi AI
Provides a Cloud Storage Gateway Gateway Block Volume resource.
For information about Cloud Storage Gateway Gateway Block Volume and how to use it, see What is Gateway Block Volume.
NOTE: Available since v1.144.0.
Create GatewayBlockVolume Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayBlockVolume(name: string, args: GatewayBlockVolumeArgs, opts?: CustomResourceOptions);@overload
def GatewayBlockVolume(resource_name: str,
                       args: GatewayBlockVolumeArgs,
                       opts: Optional[ResourceOptions] = None)
@overload
def GatewayBlockVolume(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       oss_bucket_name: Optional[str] = None,
                       gateway_block_volume_name: Optional[str] = None,
                       protocol: Optional[str] = None,
                       oss_endpoint: Optional[str] = None,
                       gateway_id: Optional[str] = None,
                       local_path: Optional[str] = None,
                       chap_enabled: Optional[bool] = None,
                       is_source_deletion: Optional[bool] = None,
                       chunk_size: Optional[int] = None,
                       cache_mode: Optional[str] = None,
                       oss_bucket_ssl: Optional[bool] = None,
                       chap_in_user: Optional[str] = None,
                       chap_in_password: Optional[str] = None,
                       recovery: Optional[bool] = None,
                       size: Optional[int] = None)func NewGatewayBlockVolume(ctx *Context, name string, args GatewayBlockVolumeArgs, opts ...ResourceOption) (*GatewayBlockVolume, error)public GatewayBlockVolume(string name, GatewayBlockVolumeArgs args, CustomResourceOptions? opts = null)
public GatewayBlockVolume(String name, GatewayBlockVolumeArgs args)
public GatewayBlockVolume(String name, GatewayBlockVolumeArgs args, CustomResourceOptions options)
type: alicloud:cloudstoragegateway:GatewayBlockVolume
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 GatewayBlockVolumeArgs
- 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 GatewayBlockVolumeArgs
- 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 GatewayBlockVolumeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayBlockVolumeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayBlockVolumeArgs
- 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 gatewayBlockVolumeResource = new AliCloud.CloudStorageGateway.GatewayBlockVolume("gatewayBlockVolumeResource", new()
{
    OssBucketName = "string",
    GatewayBlockVolumeName = "string",
    Protocol = "string",
    OssEndpoint = "string",
    GatewayId = "string",
    LocalPath = "string",
    ChapEnabled = false,
    IsSourceDeletion = false,
    ChunkSize = 0,
    CacheMode = "string",
    OssBucketSsl = false,
    ChapInUser = "string",
    ChapInPassword = "string",
    Recovery = false,
    Size = 0,
});
example, err := cloudstoragegateway.NewGatewayBlockVolume(ctx, "gatewayBlockVolumeResource", &cloudstoragegateway.GatewayBlockVolumeArgs{
	OssBucketName:          pulumi.String("string"),
	GatewayBlockVolumeName: pulumi.String("string"),
	Protocol:               pulumi.String("string"),
	OssEndpoint:            pulumi.String("string"),
	GatewayId:              pulumi.String("string"),
	LocalPath:              pulumi.String("string"),
	ChapEnabled:            pulumi.Bool(false),
	IsSourceDeletion:       pulumi.Bool(false),
	ChunkSize:              pulumi.Int(0),
	CacheMode:              pulumi.String("string"),
	OssBucketSsl:           pulumi.Bool(false),
	ChapInUser:             pulumi.String("string"),
	ChapInPassword:         pulumi.String("string"),
	Recovery:               pulumi.Bool(false),
	Size:                   pulumi.Int(0),
})
var gatewayBlockVolumeResource = new GatewayBlockVolume("gatewayBlockVolumeResource", GatewayBlockVolumeArgs.builder()
    .ossBucketName("string")
    .gatewayBlockVolumeName("string")
    .protocol("string")
    .ossEndpoint("string")
    .gatewayId("string")
    .localPath("string")
    .chapEnabled(false)
    .isSourceDeletion(false)
    .chunkSize(0)
    .cacheMode("string")
    .ossBucketSsl(false)
    .chapInUser("string")
    .chapInPassword("string")
    .recovery(false)
    .size(0)
    .build());
gateway_block_volume_resource = alicloud.cloudstoragegateway.GatewayBlockVolume("gatewayBlockVolumeResource",
    oss_bucket_name="string",
    gateway_block_volume_name="string",
    protocol="string",
    oss_endpoint="string",
    gateway_id="string",
    local_path="string",
    chap_enabled=False,
    is_source_deletion=False,
    chunk_size=0,
    cache_mode="string",
    oss_bucket_ssl=False,
    chap_in_user="string",
    chap_in_password="string",
    recovery=False,
    size=0)
const gatewayBlockVolumeResource = new alicloud.cloudstoragegateway.GatewayBlockVolume("gatewayBlockVolumeResource", {
    ossBucketName: "string",
    gatewayBlockVolumeName: "string",
    protocol: "string",
    ossEndpoint: "string",
    gatewayId: "string",
    localPath: "string",
    chapEnabled: false,
    isSourceDeletion: false,
    chunkSize: 0,
    cacheMode: "string",
    ossBucketSsl: false,
    chapInUser: "string",
    chapInPassword: "string",
    recovery: false,
    size: 0,
});
type: alicloud:cloudstoragegateway:GatewayBlockVolume
properties:
    cacheMode: string
    chapEnabled: false
    chapInPassword: string
    chapInUser: string
    chunkSize: 0
    gatewayBlockVolumeName: string
    gatewayId: string
    isSourceDeletion: false
    localPath: string
    ossBucketName: string
    ossBucketSsl: false
    ossEndpoint: string
    protocol: string
    recovery: false
    size: 0
GatewayBlockVolume Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GatewayBlockVolume resource accepts the following input properties:
- GatewayBlock stringVolume Name 
- The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
- GatewayId string
- The Gateway ID.
- OssBucket stringName 
- The name of the OSS Bucket.
- OssEndpoint string
- The endpoint of the OSS Bucket.
- Protocol string
- The Protocol. Valid values: iSCSI.
- CacheMode string
- The Block volume set mode to cache mode. Valid values: Cache,WriteThrough.
- ChapEnabled bool
- Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: false.
- ChapIn stringPassword 
- The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. NOTE: When the chap_enabledistrueis,Thechap_in_passwordis valid.
- ChapIn stringUser 
- The Inbound CHAP user. The chap_in_usermust be 1 to 32 characters in length, and can contain letters and digits. NOTE: When thechap_enabledistrueis,Thechap_in_passwordis valid.
- ChunkSize int
- The Block volume storage allocation unit. Valid values: 8192,16384,32768,65536,131072. Default value:32768. Unit:Byte.
- IsSource boolDeletion 
- Whether to delete the source data. Default value true. NOTE: Whenis_source_deletionistrue, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
- LocalPath string
- The Cache disk to local path. NOTE: When the cache_modeisCacheis,Thechap_in_passwordis valid.
- OssBucket boolSsl 
- Whether to enable SSL access your OSS Buckets. Default value: true.
- Recovery bool
- The recovery.
- Size int
- The Volume size. Valid values: 1to262144. Unit:Byte.
- GatewayBlock stringVolume Name 
- The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
- GatewayId string
- The Gateway ID.
- OssBucket stringName 
- The name of the OSS Bucket.
- OssEndpoint string
- The endpoint of the OSS Bucket.
- Protocol string
- The Protocol. Valid values: iSCSI.
- CacheMode string
- The Block volume set mode to cache mode. Valid values: Cache,WriteThrough.
- ChapEnabled bool
- Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: false.
- ChapIn stringPassword 
- The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. NOTE: When the chap_enabledistrueis,Thechap_in_passwordis valid.
- ChapIn stringUser 
- The Inbound CHAP user. The chap_in_usermust be 1 to 32 characters in length, and can contain letters and digits. NOTE: When thechap_enabledistrueis,Thechap_in_passwordis valid.
- ChunkSize int
- The Block volume storage allocation unit. Valid values: 8192,16384,32768,65536,131072. Default value:32768. Unit:Byte.
- IsSource boolDeletion 
- Whether to delete the source data. Default value true. NOTE: Whenis_source_deletionistrue, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
- LocalPath string
- The Cache disk to local path. NOTE: When the cache_modeisCacheis,Thechap_in_passwordis valid.
- OssBucket boolSsl 
- Whether to enable SSL access your OSS Buckets. Default value: true.
- Recovery bool
- The recovery.
- Size int
- The Volume size. Valid values: 1to262144. Unit:Byte.
- gatewayBlock StringVolume Name 
- The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
- gatewayId String
- The Gateway ID.
- ossBucket StringName 
- The name of the OSS Bucket.
- ossEndpoint String
- The endpoint of the OSS Bucket.
- protocol String
- The Protocol. Valid values: iSCSI.
- cacheMode String
- The Block volume set mode to cache mode. Valid values: Cache,WriteThrough.
- chapEnabled Boolean
- Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: false.
- chapIn StringPassword 
- The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. NOTE: When the chap_enabledistrueis,Thechap_in_passwordis valid.
- chapIn StringUser 
- The Inbound CHAP user. The chap_in_usermust be 1 to 32 characters in length, and can contain letters and digits. NOTE: When thechap_enabledistrueis,Thechap_in_passwordis valid.
- chunkSize Integer
- The Block volume storage allocation unit. Valid values: 8192,16384,32768,65536,131072. Default value:32768. Unit:Byte.
- isSource BooleanDeletion 
- Whether to delete the source data. Default value true. NOTE: Whenis_source_deletionistrue, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
- localPath String
- The Cache disk to local path. NOTE: When the cache_modeisCacheis,Thechap_in_passwordis valid.
- ossBucket BooleanSsl 
- Whether to enable SSL access your OSS Buckets. Default value: true.
- recovery Boolean
- The recovery.
- size Integer
- The Volume size. Valid values: 1to262144. Unit:Byte.
- gatewayBlock stringVolume Name 
- The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
- gatewayId string
- The Gateway ID.
- ossBucket stringName 
- The name of the OSS Bucket.
- ossEndpoint string
- The endpoint of the OSS Bucket.
- protocol string
- The Protocol. Valid values: iSCSI.
- cacheMode string
- The Block volume set mode to cache mode. Valid values: Cache,WriteThrough.
- chapEnabled boolean
- Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: false.
- chapIn stringPassword 
- The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. NOTE: When the chap_enabledistrueis,Thechap_in_passwordis valid.
- chapIn stringUser 
- The Inbound CHAP user. The chap_in_usermust be 1 to 32 characters in length, and can contain letters and digits. NOTE: When thechap_enabledistrueis,Thechap_in_passwordis valid.
- chunkSize number
- The Block volume storage allocation unit. Valid values: 8192,16384,32768,65536,131072. Default value:32768. Unit:Byte.
- isSource booleanDeletion 
- Whether to delete the source data. Default value true. NOTE: Whenis_source_deletionistrue, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
- localPath string
- The Cache disk to local path. NOTE: When the cache_modeisCacheis,Thechap_in_passwordis valid.
- ossBucket booleanSsl 
- Whether to enable SSL access your OSS Buckets. Default value: true.
- recovery boolean
- The recovery.
- size number
- The Volume size. Valid values: 1to262144. Unit:Byte.
- gateway_block_ strvolume_ name 
- The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
- gateway_id str
- The Gateway ID.
- oss_bucket_ strname 
- The name of the OSS Bucket.
- oss_endpoint str
- The endpoint of the OSS Bucket.
- protocol str
- The Protocol. Valid values: iSCSI.
- cache_mode str
- The Block volume set mode to cache mode. Valid values: Cache,WriteThrough.
- chap_enabled bool
- Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: false.
- chap_in_ strpassword 
- The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. NOTE: When the chap_enabledistrueis,Thechap_in_passwordis valid.
- chap_in_ struser 
- The Inbound CHAP user. The chap_in_usermust be 1 to 32 characters in length, and can contain letters and digits. NOTE: When thechap_enabledistrueis,Thechap_in_passwordis valid.
- chunk_size int
- The Block volume storage allocation unit. Valid values: 8192,16384,32768,65536,131072. Default value:32768. Unit:Byte.
- is_source_ booldeletion 
- Whether to delete the source data. Default value true. NOTE: Whenis_source_deletionistrue, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
- local_path str
- The Cache disk to local path. NOTE: When the cache_modeisCacheis,Thechap_in_passwordis valid.
- oss_bucket_ boolssl 
- Whether to enable SSL access your OSS Buckets. Default value: true.
- recovery bool
- The recovery.
- size int
- The Volume size. Valid values: 1to262144. Unit:Byte.
- gatewayBlock StringVolume Name 
- The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
- gatewayId String
- The Gateway ID.
- ossBucket StringName 
- The name of the OSS Bucket.
- ossEndpoint String
- The endpoint of the OSS Bucket.
- protocol String
- The Protocol. Valid values: iSCSI.
- cacheMode String
- The Block volume set mode to cache mode. Valid values: Cache,WriteThrough.
- chapEnabled Boolean
- Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: false.
- chapIn StringPassword 
- The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. NOTE: When the chap_enabledistrueis,Thechap_in_passwordis valid.
- chapIn StringUser 
- The Inbound CHAP user. The chap_in_usermust be 1 to 32 characters in length, and can contain letters and digits. NOTE: When thechap_enabledistrueis,Thechap_in_passwordis valid.
- chunkSize Number
- The Block volume storage allocation unit. Valid values: 8192,16384,32768,65536,131072. Default value:32768. Unit:Byte.
- isSource BooleanDeletion 
- Whether to delete the source data. Default value true. NOTE: Whenis_source_deletionistrue, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
- localPath String
- The Cache disk to local path. NOTE: When the cache_modeisCacheis,Thechap_in_passwordis valid.
- ossBucket BooleanSsl 
- Whether to enable SSL access your OSS Buckets. Default value: true.
- recovery Boolean
- The recovery.
- size Number
- The Volume size. Valid values: 1to262144. Unit:Byte.
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayBlockVolume resource produces the following output properties:
Look up Existing GatewayBlockVolume Resource
Get an existing GatewayBlockVolume 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?: GatewayBlockVolumeState, opts?: CustomResourceOptions): GatewayBlockVolume@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cache_mode: Optional[str] = None,
        chap_enabled: Optional[bool] = None,
        chap_in_password: Optional[str] = None,
        chap_in_user: Optional[str] = None,
        chunk_size: Optional[int] = None,
        gateway_block_volume_name: Optional[str] = None,
        gateway_id: Optional[str] = None,
        index_id: Optional[str] = None,
        is_source_deletion: Optional[bool] = None,
        local_path: Optional[str] = None,
        oss_bucket_name: Optional[str] = None,
        oss_bucket_ssl: Optional[bool] = None,
        oss_endpoint: Optional[str] = None,
        protocol: Optional[str] = None,
        recovery: Optional[bool] = None,
        size: Optional[int] = None,
        status: Optional[str] = None) -> GatewayBlockVolumefunc GetGatewayBlockVolume(ctx *Context, name string, id IDInput, state *GatewayBlockVolumeState, opts ...ResourceOption) (*GatewayBlockVolume, error)public static GatewayBlockVolume Get(string name, Input<string> id, GatewayBlockVolumeState? state, CustomResourceOptions? opts = null)public static GatewayBlockVolume get(String name, Output<String> id, GatewayBlockVolumeState state, CustomResourceOptions options)resources:  _:    type: alicloud:cloudstoragegateway:GatewayBlockVolume    get:      id: ${id}- 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.
- CacheMode string
- The Block volume set mode to cache mode. Valid values: Cache,WriteThrough.
- ChapEnabled bool
- Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: false.
- ChapIn stringPassword 
- The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. NOTE: When the chap_enabledistrueis,Thechap_in_passwordis valid.
- ChapIn stringUser 
- The Inbound CHAP user. The chap_in_usermust be 1 to 32 characters in length, and can contain letters and digits. NOTE: When thechap_enabledistrueis,Thechap_in_passwordis valid.
- ChunkSize int
- The Block volume storage allocation unit. Valid values: 8192,16384,32768,65536,131072. Default value:32768. Unit:Byte.
- GatewayBlock stringVolume Name 
- The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
- GatewayId string
- The Gateway ID.
- IndexId string
- The ID of the index.
- IsSource boolDeletion 
- Whether to delete the source data. Default value true. NOTE: Whenis_source_deletionistrue, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
- LocalPath string
- The Cache disk to local path. NOTE: When the cache_modeisCacheis,Thechap_in_passwordis valid.
- OssBucket stringName 
- The name of the OSS Bucket.
- OssBucket boolSsl 
- Whether to enable SSL access your OSS Buckets. Default value: true.
- OssEndpoint string
- The endpoint of the OSS Bucket.
- Protocol string
- The Protocol. Valid values: iSCSI.
- Recovery bool
- The recovery.
- Size int
- The Volume size. Valid values: 1to262144. Unit:Byte.
- Status string
- The status of volume. Valid values:
- CacheMode string
- The Block volume set mode to cache mode. Valid values: Cache,WriteThrough.
- ChapEnabled bool
- Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: false.
- ChapIn stringPassword 
- The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. NOTE: When the chap_enabledistrueis,Thechap_in_passwordis valid.
- ChapIn stringUser 
- The Inbound CHAP user. The chap_in_usermust be 1 to 32 characters in length, and can contain letters and digits. NOTE: When thechap_enabledistrueis,Thechap_in_passwordis valid.
- ChunkSize int
- The Block volume storage allocation unit. Valid values: 8192,16384,32768,65536,131072. Default value:32768. Unit:Byte.
- GatewayBlock stringVolume Name 
- The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
- GatewayId string
- The Gateway ID.
- IndexId string
- The ID of the index.
- IsSource boolDeletion 
- Whether to delete the source data. Default value true. NOTE: Whenis_source_deletionistrue, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
- LocalPath string
- The Cache disk to local path. NOTE: When the cache_modeisCacheis,Thechap_in_passwordis valid.
- OssBucket stringName 
- The name of the OSS Bucket.
- OssBucket boolSsl 
- Whether to enable SSL access your OSS Buckets. Default value: true.
- OssEndpoint string
- The endpoint of the OSS Bucket.
- Protocol string
- The Protocol. Valid values: iSCSI.
- Recovery bool
- The recovery.
- Size int
- The Volume size. Valid values: 1to262144. Unit:Byte.
- Status string
- The status of volume. Valid values:
- cacheMode String
- The Block volume set mode to cache mode. Valid values: Cache,WriteThrough.
- chapEnabled Boolean
- Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: false.
- chapIn StringPassword 
- The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. NOTE: When the chap_enabledistrueis,Thechap_in_passwordis valid.
- chapIn StringUser 
- The Inbound CHAP user. The chap_in_usermust be 1 to 32 characters in length, and can contain letters and digits. NOTE: When thechap_enabledistrueis,Thechap_in_passwordis valid.
- chunkSize Integer
- The Block volume storage allocation unit. Valid values: 8192,16384,32768,65536,131072. Default value:32768. Unit:Byte.
- gatewayBlock StringVolume Name 
- The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
- gatewayId String
- The Gateway ID.
- indexId String
- The ID of the index.
- isSource BooleanDeletion 
- Whether to delete the source data. Default value true. NOTE: Whenis_source_deletionistrue, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
- localPath String
- The Cache disk to local path. NOTE: When the cache_modeisCacheis,Thechap_in_passwordis valid.
- ossBucket StringName 
- The name of the OSS Bucket.
- ossBucket BooleanSsl 
- Whether to enable SSL access your OSS Buckets. Default value: true.
- ossEndpoint String
- The endpoint of the OSS Bucket.
- protocol String
- The Protocol. Valid values: iSCSI.
- recovery Boolean
- The recovery.
- size Integer
- The Volume size. Valid values: 1to262144. Unit:Byte.
- status String
- The status of volume. Valid values:
- cacheMode string
- The Block volume set mode to cache mode. Valid values: Cache,WriteThrough.
- chapEnabled boolean
- Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: false.
- chapIn stringPassword 
- The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. NOTE: When the chap_enabledistrueis,Thechap_in_passwordis valid.
- chapIn stringUser 
- The Inbound CHAP user. The chap_in_usermust be 1 to 32 characters in length, and can contain letters and digits. NOTE: When thechap_enabledistrueis,Thechap_in_passwordis valid.
- chunkSize number
- The Block volume storage allocation unit. Valid values: 8192,16384,32768,65536,131072. Default value:32768. Unit:Byte.
- gatewayBlock stringVolume Name 
- The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
- gatewayId string
- The Gateway ID.
- indexId string
- The ID of the index.
- isSource booleanDeletion 
- Whether to delete the source data. Default value true. NOTE: Whenis_source_deletionistrue, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
- localPath string
- The Cache disk to local path. NOTE: When the cache_modeisCacheis,Thechap_in_passwordis valid.
- ossBucket stringName 
- The name of the OSS Bucket.
- ossBucket booleanSsl 
- Whether to enable SSL access your OSS Buckets. Default value: true.
- ossEndpoint string
- The endpoint of the OSS Bucket.
- protocol string
- The Protocol. Valid values: iSCSI.
- recovery boolean
- The recovery.
- size number
- The Volume size. Valid values: 1to262144. Unit:Byte.
- status string
- The status of volume. Valid values:
- cache_mode str
- The Block volume set mode to cache mode. Valid values: Cache,WriteThrough.
- chap_enabled bool
- Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: false.
- chap_in_ strpassword 
- The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. NOTE: When the chap_enabledistrueis,Thechap_in_passwordis valid.
- chap_in_ struser 
- The Inbound CHAP user. The chap_in_usermust be 1 to 32 characters in length, and can contain letters and digits. NOTE: When thechap_enabledistrueis,Thechap_in_passwordis valid.
- chunk_size int
- The Block volume storage allocation unit. Valid values: 8192,16384,32768,65536,131072. Default value:32768. Unit:Byte.
- gateway_block_ strvolume_ name 
- The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
- gateway_id str
- The Gateway ID.
- index_id str
- The ID of the index.
- is_source_ booldeletion 
- Whether to delete the source data. Default value true. NOTE: Whenis_source_deletionistrue, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
- local_path str
- The Cache disk to local path. NOTE: When the cache_modeisCacheis,Thechap_in_passwordis valid.
- oss_bucket_ strname 
- The name of the OSS Bucket.
- oss_bucket_ boolssl 
- Whether to enable SSL access your OSS Buckets. Default value: true.
- oss_endpoint str
- The endpoint of the OSS Bucket.
- protocol str
- The Protocol. Valid values: iSCSI.
- recovery bool
- The recovery.
- size int
- The Volume size. Valid values: 1to262144. Unit:Byte.
- status str
- The status of volume. Valid values:
- cacheMode String
- The Block volume set mode to cache mode. Valid values: Cache,WriteThrough.
- chapEnabled Boolean
- Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: false.
- chapIn StringPassword 
- The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. NOTE: When the chap_enabledistrueis,Thechap_in_passwordis valid.
- chapIn StringUser 
- The Inbound CHAP user. The chap_in_usermust be 1 to 32 characters in length, and can contain letters and digits. NOTE: When thechap_enabledistrueis,Thechap_in_passwordis valid.
- chunkSize Number
- The Block volume storage allocation unit. Valid values: 8192,16384,32768,65536,131072. Default value:32768. Unit:Byte.
- gatewayBlock StringVolume Name 
- The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
- gatewayId String
- The Gateway ID.
- indexId String
- The ID of the index.
- isSource BooleanDeletion 
- Whether to delete the source data. Default value true. NOTE: Whenis_source_deletionistrue, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
- localPath String
- The Cache disk to local path. NOTE: When the cache_modeisCacheis,Thechap_in_passwordis valid.
- ossBucket StringName 
- The name of the OSS Bucket.
- ossBucket BooleanSsl 
- Whether to enable SSL access your OSS Buckets. Default value: true.
- ossEndpoint String
- The endpoint of the OSS Bucket.
- protocol String
- The Protocol. Valid values: iSCSI.
- recovery Boolean
- The recovery.
- size Number
- The Volume size. Valid values: 1to262144. Unit:Byte.
- status String
- The status of volume. Valid values:
Import
Cloud Storage Gateway Gateway Block Volume can be imported using the id, e.g.
$ pulumi import alicloud:cloudstoragegateway/gatewayBlockVolume:GatewayBlockVolume example <gateway_id>:<index_id>
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 alicloudTerraform Provider.