alicloud_cloud_storage_gateway_gateway_block_volumeNivis Nix constructor for the alicloud_cloud_storage_gateway_gateway_block_volume resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
gateway_block_volume_name,
gateway_id,
oss_bucket_name,
oss_endpoint,
protocol,
cache_mode ? null,
chap_enabled ? null,
chap_in_password ? null,
chap_in_user ? null,
chunk_size ? null,
id ? null,
is_source_deletion ? null,
local_path ? null,
oss_bucket_ssl ? null,
recovery ? null,
size ? null,
timeouts ? null,
overrides ? {}
}Required arguments
gateway_block_volume_namegateway_idoss_bucket_nameoss_endpointprotocol
Optional arguments
cache_mode(defaults tonull)chap_enabled(defaults tonull)chap_in_password(defaults tonull)chap_in_user(defaults tonull)chunk_size(defaults tonull)id(defaults tonull)is_source_deletion(defaults tonull)local_path(defaults tonull)oss_bucket_ssl(defaults tonull)recovery(defaults tonull)size(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
index_idstatus
Example
alicloud_cloud_storage_gateway_gateway_block_volume {
name = "cloud_storage_gateway_gateway_block_volume";
gateway_block_volume_name = …; # required
gateway_id = …; # required
oss_bucket_name = …; # required
oss_endpoint = …; # required
protocol = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.