VolumeState constructor

const VolumeState({
  1. Input<String?>? activeDirectory,
  2. Input<VolumeBackupConfig?>? backupConfig,
  3. Input<List<VolumeBlockDevice>?>? blockDevices,
  4. Input<VolumeCacheParameters?>? cacheParameters,
  5. Input<String?>? capacityGib,
  6. Input<String?>? coldTierSizeGib,
  7. Input<String?>? createTime,
  8. Input<String?>? deletionPolicy,
  9. Input<String?>? description,
  10. Input<Map<String, String>?>? effectiveLabels,
  11. Input<String?>? encryptionType,
  12. Input<VolumeExportPolicy?>? exportPolicy,
  13. Input<bool?>? hasReplication,
  14. Input<String?>? hotTierSizeUsedGib,
  15. Input<VolumeHybridReplicationParameters?>? hybridReplicationParameters,
  16. Input<bool?>? kerberosEnabled,
  17. Input<String?>? kmsConfig,
  18. Input<Map<String, String>?>? labels,
  19. Input<bool?>? largeCapacity,
  20. Input<VolumeLargeCapacityConfig?>? largeCapacityConfig,
  21. Input<bool?>? ldapEnabled,
  22. Input<String?>? location,
  23. Input<List<VolumeMountOption>?>? mountOptions,
  24. Input<bool?>? multipleEndpoints,
  25. Input<String?>? name,
  26. Input<String?>? network,
  27. Input<String?>? project,
  28. Input<List<String>?>? protocols,
  29. Input<String?>? psaRange,
  30. Input<Map<String, String>?>? pulumiLabels,
  31. Input<String?>? replicaZone,
  32. Input<VolumeRestoreParameters?>? restoreParameters,
  33. Input<List<String>?>? restrictedActions,
  34. Input<String?>? securityStyle,
  35. Input<String?>? serviceLevel,
  36. Input<String?>? shareName,
  37. Input<List<String>?>? smbSettings,
  38. Input<bool?>? snapshotDirectory,
  39. Input<VolumeSnapshotPolicy?>? snapshotPolicy,
  40. Input<String?>? state,
  41. Input<String?>? stateDetails,
  42. Input<String?>? storagePool,
  43. Input<double?>? throughputMibps,
  44. Input<VolumeTieringPolicy?>? tieringPolicy,
  45. Input<String?>? unixPermissions,
  46. Input<String?>? usedGib,
  47. Input<String?>? zone,
})

Creates a new VolumeState. activeDirectory Reports the resource name of the Active Directory policy being used. Inherited from storage pool. backupConfig Backup configuration for the volume. blockDevices Block device represents the device(s) which are stored in the block volume. cacheParameters Cache parameters for the volume. capacityGib Capacity of the volume (in GiB). coldTierSizeGib Output only. Size of the volume cold tier data in GiB. createTime Create time of the volume. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z". deletionPolicy Policy to determine if the volume should be deleted forcefully. description An optional description of this resource. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. encryptionType Reports the data-at-rest encryption type of the volume. Inherited from storage pool. exportPolicy Export policy of the volume for NFSV3 and/or NFSV4.1 access. hasReplication Indicates whether the volume is part of a volume replication relationship. hotTierSizeUsedGib Total hot tier data rounded down to the nearest GiB used by the volume. This field is only used for flex Service Level hybridReplicationParameters Volume migration and kerberosEnabled Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p). kmsConfig Reports the CMEK policy resurce name being used for volume encryption. Inherited from storage pool. labels Labels as key value pairs. Example: { "owner": "Bob", "department": "finance", "purpose": "testing" }. largeCapacity Optional. Flag indicating if the volume will be a large capacity volume or a regular volume. largeCapacityConfig Configuration for a Large Capacity Volume. A Large Capacity Volume ldapEnabled Flag indicating if the volume is NFS LDAP enabled or not. Inherited from storage pool. location Name of the pool location. Usually a region name, expect for some STANDARD service level pools which require a zone name. mountOptions Reports mount instructions for this volume. multipleEndpoints Optional. Flag indicating if the volume will have an IP address per node for volumes supporting multiple IP endpoints. name The name of the volume. Needs to be unique per location. network VPC network name with format: projects/{{project}}/global/networks/{{network}}. Inherited from storage pool. project The ID of the project in which the resource belongs. protocols The protocol of the volume. Allowed combinations are ['NFSV3'], ['NFSV4'], ['SMB'], ['NFSV3', 'NFSV4'], ['SMB', 'NFSV3'] and ['SMB', 'NFSV4']. psaRange Name of the Private Service Access allocated range. Inherited from storage pool. pulumiLabels The combination of labels configured directly on the resource replicaZone Specifies the replica zone for regional volume. restoreParameters Used to create this volume from a snapshot (= cloning) or an backup. restrictedActions List of actions that are restricted on this volume. securityStyle Security Style of the Volume. Use UNIX to use UNIX or NFSV4 ACLs for file permissions. serviceLevel Service level of the volume. Inherited from storage pool. Supported values are : PREMIUM, EXTREME, STANDARD, FLEX. shareName Share name (SMB) or export path (NFS) of the volume. Needs to be unique per location. smbSettings Settings for volumes with SMB access. snapshotDirectory If enabled, a NFS volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots. Will enable "Previous Versions" support for SMB. snapshotPolicy Snapshot policy defines the schedule for automatic snapshot creation. state State of the volume. stateDetails State details of the volume. storagePool Name of the storage pool to create the volume in. Pool needs enough spare capacity to accommodate the volume. throughputMibps Optional. Custom Performance Total Throughput of the pool (in MiB/s). tieringPolicy Tiering policy for the volume. unixPermissions Unix permission the mount point will be created with. Default is 0770. Applicable for UNIX security style volumes only. usedGib Used capacity of the volume (in GiB). This is computed periodically and it does not represent the realtime usage. zone Specifies the active zone for regional volume.

Implementation

const VolumeState({
  this.activeDirectory,
  this.backupConfig,
  this.blockDevices,
  this.cacheParameters,
  this.capacityGib,
  this.coldTierSizeGib,
  this.createTime,
  this.deletionPolicy,
  this.description,
  this.effectiveLabels,
  this.encryptionType,
  this.exportPolicy,
  this.hasReplication,
  this.hotTierSizeUsedGib,
  this.hybridReplicationParameters,
  this.kerberosEnabled,
  this.kmsConfig,
  this.labels,
  this.largeCapacity,
  this.largeCapacityConfig,
  this.ldapEnabled,
  this.location,
  this.mountOptions,
  this.multipleEndpoints,
  this.name,
  this.network,
  this.project,
  this.protocols,
  this.psaRange,
  this.pulumiLabels,
  this.replicaZone,
  this.restoreParameters,
  this.restrictedActions,
  this.securityStyle,
  this.serviceLevel,
  this.shareName,
  this.smbSettings,
  this.snapshotDirectory,
  this.snapshotPolicy,
  this.state,
  this.stateDetails,
  this.storagePool,
  this.throughputMibps,
  this.tieringPolicy,
  this.unixPermissions,
  this.usedGib,
  this.zone,
});