volumes_split_status
Creates, updates, deletes, gets or lists a volumes_split_status resource.
Overview
| Name | volumes_split_status |
| Type | Resource |
| Id | google.netapp.volumes_split_status |
Fields
The following fields are returned by SELECT queries:
- get_split_status
| Name | Datatype | Description |
|---|---|---|
progressPercent | integer (int32) | Output only. The estimated progress percentage of the split operation (0-100). This is meaningful primarily when split_state is IN_PROGRESS. |
splitState | string | Output only. The current state of the clone split operation. (SPLIT_STATE_UNSPECIFIED, SPLIT_STATE_NOT_SPLITTING, SPLIT_STATE_IN_PROGRESS, SPLIT_STATE_FAILED) |
stateDetails | string | Output only. Human-readable details about the current state. Mostly used for displaying error messages during split failure Examples: "Split in progress", "Error: insufficient capacity". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_split_status | select | projectsId, locationsId, volumesId | Retrieves the current state, progress, and details of a split operation for a volume. This method is relevant when the volume is a clone. For volumes that are not clones, this method 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 |
SELECT examples
- get_split_status
Retrieves the current state, progress, and details of a split operation for a volume. This method is relevant when the volume is a clone. For volumes that are not clones, this method will return an error.
SELECT
progressPercent,
splitState,
stateDetails
FROM google.netapp.volumes_split_status
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND volumesId = '{{ volumesId }}' -- required
;