volumes
Creates, updates, deletes, gets or lists a volumes resource.
Overview
| Name | volumes |
| Type | Resource |
| Id | google.netapp.volumes |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
name | string | Identifier. Name of the volume |
activeDirectory | string | Output only. Specifies the ActiveDirectory name of a SMB volume. |
backupConfig | object | BackupConfig of the volume. (id: BackupConfig) |
blockDevices | array | Optional. Block devices for the volume. Currently, only one block device is permitted per Volume. |
cacheParameters | object | Optional. Cache parameters for the volume. (id: CacheParameters) |
capacityGib | string (int64) | Required. Capacity in GIB of the volume |
cloneDetails | object | Output only. If this volume is a clone, this field contains details about the clone. (id: CloneDetails) |
coldTierSizeGib | string (int64) | Output only. Size of the volume cold tier data rounded down to the nearest GiB. |
createTime | string (google-datetime) | Output only. Create time of the volume |
description | string | Optional. Description of the volume |
encryptionType | string | Output only. Specified the current volume encryption key source. (ENCRYPTION_TYPE_UNSPECIFIED, SERVICE_MANAGED, CLOUD_KMS) |
exportPolicy | object | Optional. Export policy of the volume (id: ExportPolicy) |
hasReplication | boolean | Output only. Indicates whether the volume is part of a replication relationship. |
hotTierSizeUsedGib | string (int64) | Output only. Total hot tier data rounded down to the nearest GiB used by the Volume. This field is only used for flex Service Level |
hybridReplicationParameters | object | Optional. The Hybrid Replication parameters for the volume. (id: HybridReplicationParameters) |
kerberosEnabled | boolean | Optional. Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p). |
kmsConfig | string | Output only. Specifies the KMS config to be used for volume encryption. |
labels | object | Optional. Labels as key value pairs |
largeCapacity | boolean | Optional. Flag indicating if the volume will be a large capacity volume or a regular volume. This field is used for legacy FILE pools. For Unified pools, use the large_capacity_config field instead. This field and large_capacity_config are mutually exclusive. |
largeCapacityConfig | object | Optional. Large capacity config for the volume. Enables and configures large capacity for volumes in Unified pools with File protocols. Not applicable for Block protocols in Unified pools. This field and the legacy large_capacity boolean field are mutually exclusive. (id: LargeCapacityConfig) |
ldapEnabled | boolean | Output only. Flag indicating if the volume is NFS LDAP enabled or not. |
mountOptions | array | Output only. Mount options of this volume |
multipleEndpoints | boolean | Optional. Flag indicating if the volume will have an IP address per node for volumes supporting multiple IP endpoints. Only the volume with large_capacity will be allowed to have multiple endpoints. |
network | string | Output only. VPC Network name. Format: projects/{project}/global/networks/{network} |
protocols | array | Required. Protocols required for the volume |
psaRange | string | Output only. This field is not implemented. The values provided in this field are ignored. |
replicaZone | string | Output only. Specifies the replica zone for regional volume. |
restoreParameters | object | Optional. Specifies the source of the volume to be created from. (id: RestoreParameters) |
restrictedActions | array | Optional. List of actions that are restricted on this volume. |
securityStyle | string | Optional. Security Style of the Volume (SECURITY_STYLE_UNSPECIFIED, NTFS, UNIX) |
serviceLevel | string | Output only. Service level of the volume (SERVICE_LEVEL_UNSPECIFIED, PREMIUM, EXTREME, STANDARD, FLEX) |
shareName | string | Required. Share name of the volume |
smbSettings | array | Optional. SMB share settings for the volume. |
snapReserve | number (double) | Optional. Snap_reserve specifies percentage of volume storage reserved for snapshot storage. Default is 0 percent. |
snapshotDirectory | boolean | Optional. Snapshot_directory if enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots. |
snapshotPolicy | object | Optional. SnapshotPolicy for a volume. (id: SnapshotPolicy) |
state | string | Output only. State of the volume (STATE_UNSPECIFIED, READY, CREATING, DELETING, UPDATING, RESTORING, DISABLED, ERROR, PREPARING, READ_ONLY) |
stateDetails | string | Output only. State details of the volume |
storagePool | string | Required. StoragePool name of the volume |
throughputMibps | number (double) | Optional. Throughput of the volume (in MiB/s) |
tieringPolicy | object | Tiering policy for the volume. (id: TieringPolicy) |
unixPermissions | string | Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only. |
usedGib | string (int64) | Output only. Used capacity in GIB of the volume. This is computed periodically and it does not represent the realtime usage. |
zone | string | Output only. Specifies the active zone for regional volume. |
| Name | Datatype | Description |
|---|---|---|
name | string | Identifier. Name of the volume |
activeDirectory | string | Output only. Specifies the ActiveDirectory name of a SMB volume. |
backupConfig | object | BackupConfig of the volume. (id: BackupConfig) |
blockDevices | array | Optional. Block devices for the volume. Currently, only one block device is permitted per Volume. |
cacheParameters | object | Optional. Cache parameters for the volume. (id: CacheParameters) |
capacityGib | string (int64) | Required. Capacity in GIB of the volume |
cloneDetails | object | Output only. If this volume is a clone, this field contains details about the clone. (id: CloneDetails) |
coldTierSizeGib | string (int64) | Output only. Size of the volume cold tier data rounded down to the nearest GiB. |
createTime | string (google-datetime) | Output only. Create time of the volume |
description | string | Optional. Description of the volume |
encryptionType | string | Output only. Specified the current volume encryption key source. (ENCRYPTION_TYPE_UNSPECIFIED, SERVICE_MANAGED, CLOUD_KMS) |
exportPolicy | object | Optional. Export policy of the volume (id: ExportPolicy) |
hasReplication | boolean | Output only. Indicates whether the volume is part of a replication relationship. |
hotTierSizeUsedGib | string (int64) | Output only. Total hot tier data rounded down to the nearest GiB used by the Volume. This field is only used for flex Service Level |
hybridReplicationParameters | object | Optional. The Hybrid Replication parameters for the volume. (id: HybridReplicationParameters) |
kerberosEnabled | boolean | Optional. Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p). |
kmsConfig | string | Output only. Specifies the KMS config to be used for volume encryption. |
labels | object | Optional. Labels as key value pairs |
largeCapacity | boolean | Optional. Flag indicating if the volume will be a large capacity volume or a regular volume. This field is used for legacy FILE pools. For Unified pools, use the large_capacity_config field instead. This field and large_capacity_config are mutually exclusive. |
largeCapacityConfig | object | Optional. Large capacity config for the volume. Enables and configures large capacity for volumes in Unified pools with File protocols. Not applicable for Block protocols in Unified pools. This field and the legacy large_capacity boolean field are mutually exclusive. (id: LargeCapacityConfig) |
ldapEnabled | boolean | Output only. Flag indicating if the volume is NFS LDAP enabled or not. |
mountOptions | array | Output only. Mount options of this volume |
multipleEndpoints | boolean | Optional. Flag indicating if the volume will have an IP address per node for volumes supporting multiple IP endpoints. Only the volume with large_capacity will be allowed to have multiple endpoints. |
network | string | Output only. VPC Network name. Format: projects/{project}/global/networks/{network} |
protocols | array | Required. Protocols required for the volume |
psaRange | string | Output only. This field is not implemented. The values provided in this field are ignored. |
replicaZone | string | Output only. Specifies the replica zone for regional volume. |
restoreParameters | object | Optional. Specifies the source of the volume to be created from. (id: RestoreParameters) |
restrictedActions | array | Optional. List of actions that are restricted on this volume. |
securityStyle | string | Optional. Security Style of the Volume (SECURITY_STYLE_UNSPECIFIED, NTFS, UNIX) |
serviceLevel | string | Output only. Service level of the volume (SERVICE_LEVEL_UNSPECIFIED, PREMIUM, EXTREME, STANDARD, FLEX) |
shareName | string | Required. Share name of the volume |
smbSettings | array | Optional. SMB share settings for the volume. |
snapReserve | number (double) | Optional. Snap_reserve specifies percentage of volume storage reserved for snapshot storage. Default is 0 percent. |
snapshotDirectory | boolean | Optional. Snapshot_directory if enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots. |
snapshotPolicy | object | Optional. SnapshotPolicy for a volume. (id: SnapshotPolicy) |
state | string | Output only. State of the volume (STATE_UNSPECIFIED, READY, CREATING, DELETING, UPDATING, RESTORING, DISABLED, ERROR, PREPARING, READ_ONLY) |
stateDetails | string | Output only. State details of the volume |
storagePool | string | Required. StoragePool name of the volume |
throughputMibps | number (double) | Optional. Throughput of the volume (in MiB/s) |
tieringPolicy | object | Tiering policy for the volume. (id: TieringPolicy) |
unixPermissions | string | Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only. |
usedGib | string (int64) | Output only. Used capacity in GIB of the volume. This is computed periodically and it does not represent the realtime usage. |
zone | string | Output only. Specifies the active zone for regional volume. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | projectsId, locationsId, volumesId | Gets details of a single Volume. | |
list | select | projectsId, locationsId | pageSize, orderBy, pageToken, filter | Lists Volumes in a given project. |
create | insert | projectsId, locationsId | volumeId | Creates a new Volume in a given project and location. |
patch | update | projectsId, locationsId, volumesId | updateMask | Updates the parameters of a single Volume. |
delete | delete | projectsId, locationsId, volumesId | force | Deletes a single Volume. |
establish_peering | exec | projectsId, locationsId, volumesId | Establish volume peering. This is used to establish cluster and svm peerings between the GCNV and OnPrem clusters. | |
restore | exec | projectsId, locationsId, volumesId | Restore files from a backup to a volume. | |
revert | exec | projectsId, locationsId, volumesId | Revert an existing volume to a specified snapshot. Warning! This operation will permanently revert all changes made after the snapshot was created. | |
start_split | exec | projectsId, locationsId, volumesId | Splits a clone volume from its source volume. This operation will only work for volumes which have clone_details set(clones). For volumes that are not clones, this operation will return an error. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
projectsId | string | |
volumesId | string | |
filter | string | |
force | boolean | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string | |
updateMask | string (google-fieldmask) | |
volumeId | string |
SELECT examples
- get
- list
Gets details of a single Volume.
SELECT
name,
activeDirectory,
backupConfig,
blockDevices,
cacheParameters,
capacityGib,
cloneDetails,
coldTierSizeGib,
createTime,
description,
encryptionType,
exportPolicy,
hasReplication,
hotTierSizeUsedGib,
hybridReplicationParameters,
kerberosEnabled,
kmsConfig,
labels,
largeCapacity,
largeCapacityConfig,
ldapEnabled,
mountOptions,
multipleEndpoints,
network,
protocols,
psaRange,
replicaZone,
restoreParameters,
restrictedActions,
securityStyle,
serviceLevel,
shareName,
smbSettings,
snapReserve,
snapshotDirectory,
snapshotPolicy,
state,
stateDetails,
storagePool,
throughputMibps,
tieringPolicy,
unixPermissions,
usedGib,
zone
FROM google.netapp.volumes
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND volumesId = '{{ volumesId }}' -- required
;
Lists Volumes in a given project.
SELECT
name,
activeDirectory,
backupConfig,
blockDevices,
cacheParameters,
capacityGib,
cloneDetails,
coldTierSizeGib,
createTime,
description,
encryptionType,
exportPolicy,
hasReplication,
hotTierSizeUsedGib,
hybridReplicationParameters,
kerberosEnabled,
kmsConfig,
labels,
largeCapacity,
largeCapacityConfig,
ldapEnabled,
mountOptions,
multipleEndpoints,
network,
protocols,
psaRange,
replicaZone,
restoreParameters,
restrictedActions,
securityStyle,
serviceLevel,
shareName,
smbSettings,
snapReserve,
snapshotDirectory,
snapshotPolicy,
state,
stateDetails,
storagePool,
throughputMibps,
tieringPolicy,
unixPermissions,
usedGib,
zone
FROM google.netapp.volumes
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND orderBy = '{{ orderBy }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
;
INSERT examples
- create
- Manifest
Creates a new Volume in a given project and location.
INSERT INTO google.netapp.volumes (
data__largeCapacityConfig,
data__tieringPolicy,
data__capacityGib,
data__largeCapacity,
data__blockDevices,
data__unixPermissions,
data__labels,
data__exportPolicy,
data__snapshotDirectory,
data__protocols,
data__hybridReplicationParameters,
data__storagePool,
data__name,
data__kerberosEnabled,
data__description,
data__throughputMibps,
data__restrictedActions,
data__securityStyle,
data__smbSettings,
data__cacheParameters,
data__multipleEndpoints,
data__snapReserve,
data__shareName,
data__backupConfig,
data__restoreParameters,
data__snapshotPolicy,
projectsId,
locationsId,
volumeId
)
SELECT
'{{ largeCapacityConfig }}',
'{{ tieringPolicy }}',
'{{ capacityGib }}',
{{ largeCapacity }},
'{{ blockDevices }}',
'{{ unixPermissions }}',
'{{ labels }}',
'{{ exportPolicy }}',
{{ snapshotDirectory }},
'{{ protocols }}',
'{{ hybridReplicationParameters }}',
'{{ storagePool }}',
'{{ name }}',
{{ kerberosEnabled }},
'{{ description }}',
{{ throughputMibps }},
'{{ restrictedActions }}',
'{{ securityStyle }}',
'{{ smbSettings }}',
'{{ cacheParameters }}',
{{ multipleEndpoints }},
{{ snapReserve }},
'{{ shareName }}',
'{{ backupConfig }}',
'{{ restoreParameters }}',
'{{ snapshotPolicy }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ volumeId }}'
RETURNING
name,
done,
error,
metadata,
response
;
# Description fields are for documentation purposes
- name: volumes
props:
- name: projectsId
value: "{{ projectsId }}"
description: Required parameter for the volumes resource.
- name: locationsId
value: "{{ locationsId }}"
description: Required parameter for the volumes resource.
- name: largeCapacityConfig
description: |
Optional. Large capacity config for the volume. Enables and configures large capacity for volumes in Unified pools with File protocols. Not applicable for Block protocols in Unified pools. This field and the legacy `large_capacity` boolean field are mutually exclusive.
value:
constituentCount: {{ constituentCount }}
- name: tieringPolicy
description: |
Tiering policy for the volume.
value:
tierAction: "{{ tierAction }}"
coolingThresholdDays: {{ coolingThresholdDays }}
hotTierBypassModeEnabled: {{ hotTierBypassModeEnabled }}
- name: capacityGib
value: "{{ capacityGib }}"
description: |
Required. Capacity in GIB of the volume
- name: largeCapacity
value: {{ largeCapacity }}
description: |
Optional. Flag indicating if the volume will be a large capacity volume or a regular volume. This field is used for legacy FILE pools. For Unified pools, use the `large_capacity_config` field instead. This field and `large_capacity_config` are mutually exclusive.
- name: blockDevices
description: |
Optional. Block devices for the volume. Currently, only one block device is permitted per Volume.
value:
- hostGroups: "{{ hostGroups }}"
sizeGib: "{{ sizeGib }}"
name: "{{ name }}"
identifier: "{{ identifier }}"
osType: "{{ osType }}"
- name: unixPermissions
value: "{{ unixPermissions }}"
description: |
Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only.
- name: labels
value: "{{ labels }}"
description: |
Optional. Labels as key value pairs
- name: exportPolicy
description: |
Optional. Export policy of the volume
value:
rules:
- squashMode: "{{ squashMode }}"
kerberos5iReadOnly: {{ kerberos5iReadOnly }}
kerberos5ReadWrite: {{ kerberos5ReadWrite }}
kerberos5ReadOnly: {{ kerberos5ReadOnly }}
accessType: "{{ accessType }}"
allowedClients: "{{ allowedClients }}"
hasRootAccess: "{{ hasRootAccess }}"
nfsv3: {{ nfsv3 }}
kerberos5pReadOnly: {{ kerberos5pReadOnly }}
nfsv4: {{ nfsv4 }}
kerberos5pReadWrite: {{ kerberos5pReadWrite }}
kerberos5iReadWrite: {{ kerberos5iReadWrite }}
anonUid: "{{ anonUid }}"
- name: snapshotDirectory
value: {{ snapshotDirectory }}
description: |
Optional. Snapshot_directory if enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots.
- name: protocols
value:
- "{{ protocols }}"
description: |
Required. Protocols required for the volume
- name: hybridReplicationParameters
description: |
Optional. The Hybrid Replication parameters for the volume.
value:
hybridReplicationType: "{{ hybridReplicationType }}"
description: "{{ description }}"
largeVolumeConstituentCount: {{ largeVolumeConstituentCount }}
peerVolumeName: "{{ peerVolumeName }}"
peerSvmName: "{{ peerSvmName }}"
replicationSchedule: "{{ replicationSchedule }}"
clusterLocation: "{{ clusterLocation }}"
peerIpAddresses:
- "{{ peerIpAddresses }}"
replication: "{{ replication }}"
labels: "{{ labels }}"
peerClusterName: "{{ peerClusterName }}"
- name: storagePool
value: "{{ storagePool }}"
description: |
Required. StoragePool name of the volume
- name: name
value: "{{ name }}"
description: |
Identifier. Name of the volume
- name: kerberosEnabled
value: {{ kerberosEnabled }}
description: |
Optional. Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p).
- name: description
value: "{{ description }}"
description: |
Optional. Description of the volume
- name: throughputMibps
value: {{ throughputMibps }}
description: |
Optional. Throughput of the volume (in MiB/s)
- name: restrictedActions
value:
- "{{ restrictedActions }}"
description: |
Optional. List of actions that are restricted on this volume.
- name: securityStyle
value: "{{ securityStyle }}"
description: |
Optional. Security Style of the Volume
valid_values: ['SECURITY_STYLE_UNSPECIFIED', 'NTFS', 'UNIX']
- name: smbSettings
value:
- "{{ smbSettings }}"
description: |
Optional. SMB share settings for the volume.
- name: cacheParameters
description: |
Optional. Cache parameters for the volume.
value:
peerIpAddresses:
- "{{ peerIpAddresses }}"
peerClusterName: "{{ peerClusterName }}"
enableGlobalFileLock: {{ enableGlobalFileLock }}
command: "{{ command }}"
peerSvmName: "{{ peerSvmName }}"
peerVolumeName: "{{ peerVolumeName }}"
cacheConfig:
cachePrePopulate:
recursion: {{ recursion }}
pathList:
- "{{ pathList }}"
excludePathList:
- "{{ excludePathList }}"
writebackEnabled: {{ writebackEnabled }}
cachePrePopulateState: "{{ cachePrePopulateState }}"
cifsChangeNotifyEnabled: {{ cifsChangeNotifyEnabled }}
stateDetails: "{{ stateDetails }}"
peeringCommandExpiryTime: "{{ peeringCommandExpiryTime }}"
cacheState: "{{ cacheState }}"
passphrase: "{{ passphrase }}"
- name: multipleEndpoints
value: {{ multipleEndpoints }}
description: |
Optional. Flag indicating if the volume will have an IP address per node for volumes supporting multiple IP endpoints. Only the volume with large_capacity will be allowed to have multiple endpoints.
- name: snapReserve
value: {{ snapReserve }}
description: |
Optional. Snap_reserve specifies percentage of volume storage reserved for snapshot storage. Default is 0 percent.
- name: shareName
value: "{{ shareName }}"
description: |
Required. Share name of the volume
- name: backupConfig
description: |
BackupConfig of the volume.
value:
backupPolicies:
- "{{ backupPolicies }}"
backupVault: "{{ backupVault }}"
backupChainBytes: "{{ backupChainBytes }}"
scheduledBackupEnabled: {{ scheduledBackupEnabled }}
- name: restoreParameters
description: |
Optional. Specifies the source of the volume to be created from.
value:
sourceBackup: "{{ sourceBackup }}"
sourceSnapshot: "{{ sourceSnapshot }}"
- name: snapshotPolicy
description: |
Optional. SnapshotPolicy for a volume.
value:
hourlySchedule:
snapshotsToKeep: {{ snapshotsToKeep }}
minute: {{ minute }}
dailySchedule:
minute: {{ minute }}
snapshotsToKeep: {{ snapshotsToKeep }}
hour: {{ hour }}
weeklySchedule:
snapshotsToKeep: {{ snapshotsToKeep }}
hour: {{ hour }}
minute: {{ minute }}
day: "{{ day }}"
enabled: {{ enabled }}
monthlySchedule:
snapshotsToKeep: {{ snapshotsToKeep }}
daysOfMonth: "{{ daysOfMonth }}"
hour: {{ hour }}
minute: {{ minute }}
- name: volumeId
value: "{{ volumeId }}"
UPDATE examples
- patch
Updates the parameters of a single Volume.
UPDATE google.netapp.volumes
SET
data__largeCapacityConfig = '{{ largeCapacityConfig }}',
data__tieringPolicy = '{{ tieringPolicy }}',
data__capacityGib = '{{ capacityGib }}',
data__largeCapacity = {{ largeCapacity }},
data__blockDevices = '{{ blockDevices }}',
data__unixPermissions = '{{ unixPermissions }}',
data__labels = '{{ labels }}',
data__exportPolicy = '{{ exportPolicy }}',
data__snapshotDirectory = {{ snapshotDirectory }},
data__protocols = '{{ protocols }}',
data__hybridReplicationParameters = '{{ hybridReplicationParameters }}',
data__storagePool = '{{ storagePool }}',
data__name = '{{ name }}',
data__kerberosEnabled = {{ kerberosEnabled }},
data__description = '{{ description }}',
data__throughputMibps = {{ throughputMibps }},
data__restrictedActions = '{{ restrictedActions }}',
data__securityStyle = '{{ securityStyle }}',
data__smbSettings = '{{ smbSettings }}',
data__cacheParameters = '{{ cacheParameters }}',
data__multipleEndpoints = {{ multipleEndpoints }},
data__snapReserve = {{ snapReserve }},
data__shareName = '{{ shareName }}',
data__backupConfig = '{{ backupConfig }}',
data__restoreParameters = '{{ restoreParameters }}',
data__snapshotPolicy = '{{ snapshotPolicy }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND volumesId = '{{ volumesId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
done,
error,
metadata,
response;
DELETE examples
- delete
Deletes a single Volume.
DELETE FROM google.netapp.volumes
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND volumesId = '{{ volumesId }}' --required
AND force = '{{ force }}'
;
Lifecycle Methods
- establish_peering
- restore
- revert
- start_split
Establish volume peering. This is used to establish cluster and svm peerings between the GCNV and OnPrem clusters.
EXEC google.netapp.volumes.establish_peering
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@volumesId='{{ volumesId }}' --required
@@json=
'{
"peerClusterName": "{{ peerClusterName }}",
"peerIpAddresses": "{{ peerIpAddresses }}",
"peerVolumeName": "{{ peerVolumeName }}",
"peerSvmName": "{{ peerSvmName }}"
}'
;
Restore files from a backup to a volume.
EXEC google.netapp.volumes.restore
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@volumesId='{{ volumesId }}' --required
@@json=
'{
"backup": "{{ backup }}",
"restoreDestinationPath": "{{ restoreDestinationPath }}",
"fileList": "{{ fileList }}"
}'
;
Revert an existing volume to a specified snapshot. Warning! This operation will permanently revert all changes made after the snapshot was created.
EXEC google.netapp.volumes.revert
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@volumesId='{{ volumesId }}' --required
@@json=
'{
"snapshotId": "{{ snapshotId }}"
}'
;
Splits a clone volume from its source volume. This operation will only work for volumes which have clone_details set(clones). For volumes that are not clones, this operation will return an error.
EXEC google.netapp.volumes.start_split
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@volumesId='{{ volumesId }}' --required
;