pub struct VolumeConfig {
pub gcp_service: Option<String>,
pub id: Option<String>,
pub lun_ranges: Option<Vec<LunRange>>,
pub machine_ids: Option<Vec<String>>,
pub name: Option<String>,
pub nfs_exports: Option<Vec<NfsExport>>,
pub performance_tier: Option<String>,
pub protocol: Option<String>,
pub size_gb: Option<i32>,
pub snapshots_enabled: Option<bool>,
pub type_: Option<String>,
pub user_note: Option<String>,
}Expand description
Configuration parameters for a new volume.
This type is not used in any activity, and only used as part of another schema.
Fields§
§gcp_service: Option<String>The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
id: Option<String>A transient unique identifier to identify a volume within an ProvisioningConfig request.
lun_ranges: Option<Vec<LunRange>>LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
machine_ids: Option<Vec<String>>Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.
name: Option<String>Output only. The name of the volume config.
nfs_exports: Option<Vec<NfsExport>>NFS exports. Set only when protocol is PROTOCOL_NFS.
performance_tier: Option<String>Performance tier of the Volume. Default is SHARED.
protocol: Option<String>Volume protocol.
size_gb: Option<i32>The requested size of this volume, in GB.
snapshots_enabled: Option<bool>Whether snapshots should be enabled.
type_: Option<String>The type of this Volume.
user_note: Option<String>User note field, it can be used by customers to add additional information for the BMS Ops team .
Trait Implementations§
Source§impl Clone for VolumeConfig
impl Clone for VolumeConfig
Source§fn clone(&self) -> VolumeConfig
fn clone(&self) -> VolumeConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more