GatewayBlockVolumeArgs

data class GatewayBlockVolumeArgs(val cacheMode: Output<String>? = null, val chapEnabled: Output<Boolean>? = null, val chapInPassword: Output<String>? = null, val chapInUser: Output<String>? = null, val chunkSize: Output<Int>? = null, val gatewayBlockVolumeName: Output<String>? = null, val gatewayId: Output<String>? = null, val isSourceDeletion: Output<Boolean>? = null, val localPath: Output<String>? = null, val ossBucketName: Output<String>? = null, val ossBucketSsl: Output<Boolean>? = null, val ossEndpoint: Output<String>? = null, val protocol: Output<String>? = null, val recovery: Output<Boolean>? = null, val size: Output<Int>? = null) : ConvertibleToJava<GatewayBlockVolumeArgs>

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.

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>

Constructors

Link copied to clipboard
constructor(cacheMode: Output<String>? = null, chapEnabled: Output<Boolean>? = null, chapInPassword: Output<String>? = null, chapInUser: Output<String>? = null, chunkSize: Output<Int>? = null, gatewayBlockVolumeName: Output<String>? = null, gatewayId: Output<String>? = null, isSourceDeletion: Output<Boolean>? = null, localPath: Output<String>? = null, ossBucketName: Output<String>? = null, ossBucketSsl: Output<Boolean>? = null, ossEndpoint: Output<String>? = null, protocol: Output<String>? = null, recovery: Output<Boolean>? = null, size: Output<Int>? = null)

Properties

Link copied to clipboard
val cacheMode: Output<String>? = null

The Block volume set mode to cache mode. Valid values: Cache, WriteThrough.

Link copied to clipboard
val chapEnabled: Output<Boolean>? = null

Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: false.

Link copied to clipboard
val chapInPassword: Output<String>? = null

The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. NOTE: When the chap_enabled is true is,The chap_in_password is valid.

Link copied to clipboard
val chapInUser: Output<String>? = null

The Inbound CHAP user. The chap_in_user must be 1 to 32 characters in length, and can contain letters and digits. NOTE: When the chap_enabled is true is,The chap_in_password is valid.

Link copied to clipboard
val chunkSize: Output<Int>? = null

The Block volume storage allocation unit. Valid values: 8192, 16384, 32768, 65536, 131072. Default value: 32768. Unit: Byte.

Link copied to clipboard
val gatewayBlockVolumeName: Output<String>? = null

The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.

Link copied to clipboard
val gatewayId: Output<String>? = null

The Gateway ID.

Link copied to clipboard
val isSourceDeletion: Output<Boolean>? = null

Whether to delete the source data. Default value true. NOTE: When is_source_deletion is true, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.

Link copied to clipboard
val localPath: Output<String>? = null

The Cache disk to local path. NOTE: When the cache_mode is Cache is,The chap_in_password is valid.

Link copied to clipboard
val ossBucketName: Output<String>? = null

The name of the OSS Bucket.

Link copied to clipboard
val ossBucketSsl: Output<Boolean>? = null

Whether to enable SSL access your OSS Buckets. Default value: true.

Link copied to clipboard
val ossEndpoint: Output<String>? = null

The endpoint of the OSS Bucket.

Link copied to clipboard
val protocol: Output<String>? = null

The Protocol. Valid values: iSCSI.

Link copied to clipboard
val recovery: Output<Boolean>? = null

The recovery.

Link copied to clipboard
val size: Output<Int>? = null

The Volume size. Valid values: 1 to 262144. Unit: Byte.

Functions

Link copied to clipboard
open override fun toJava(): GatewayBlockVolumeArgs