pub struct FileShareConfig {
pub capacity_gb: Option<i64>,
pub name: Option<String>,
pub nfs_export_options: Option<Vec<NfsExportOptions>>,
pub source_backup: Option<String>,
pub source_backupdr_backup: Option<String>,
}Expand description
File share configuration for the instance.
This type is not used in any activity, and only used as part of another schema.
Fields§
§capacity_gb: Option<i64>File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes.
name: Option<String>Required. The name of the file share. Must use 1-16 characters for the basic service tier and 1-63 characters for all other service tiers. Must use lowercase letters, numbers, or underscores [a-z0-9_]. Must start with a letter. Immutable.
nfs_export_options: Option<Vec<NfsExportOptions>>Nfs Export Options. There is a limit of 10 export options per file share.
source_backup: Option<String>The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}, that this file share has been restored from.
source_backupdr_backup: Option<String>The resource name of the BackupDR backup, in the format projects/{project_id}/locations/{location_id}/backupVaults/{backupvault_id}/dataSources/{datasource_id}/backups/{backup_id}, TODO (b/443690479) - Remove visibility restrictions once the feature is ready
Trait Implementations§
Source§fn clone(&self) -> FileShareConfig
fn clone(&self) -> FileShareConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more