GatewayCacheDiskArgs

data class GatewayCacheDiskArgs(val cacheDiskCategory: Output<String>? = null, val cacheDiskSizeInGb: Output<Int>? = null, val gatewayId: Output<String>? = null, val performanceLevel: Output<String>? = null) : ConvertibleToJava<GatewayCacheDiskArgs>

Provides a Cloud Storage Gateway Gateway Cache Disk resource. For information about Cloud Storage Gateway Gateway Cache Disk and how to use it, see What is Gateway Cache Disk.

NOTE: Available since v1.144.0.

Import

Cloud Storage Gateway Gateway Cache Disk can be imported using the id, e.g.

$ pulumi import alicloud:cloudstoragegateway/gatewayCacheDisk:GatewayCacheDisk example <gateway_id>:<cache_id>:<local_file_path>

Constructors

Link copied to clipboard
constructor(cacheDiskCategory: Output<String>? = null, cacheDiskSizeInGb: Output<Int>? = null, gatewayId: Output<String>? = null, performanceLevel: Output<String>? = null)

Properties

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

The type of the cache disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd. NOTE: From version 1.227.0, cache_disk_category can be set to cloud_essd.

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

The capacity of the cache disk.

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

The ID of the gateway.

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

The performance level (PL) of the Enterprise SSD (ESSD). Valid values: PL1, PL2, PL3. NOTE: If cache_disk_category is set to cloud_essd, performance_level is required.

Functions

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