volume_groups
Creates, updates, deletes, gets or lists a volume_groups
resource.
Overview
Name | volume_groups |
Type | Resource |
Id | azure_isv.netapp.volume_groups |
Fields
- vw_volume_groups
- volume_groups
Name | Datatype | Description |
---|---|---|
id | text | Resource Id |
name | text | Resource name |
accountName | text | field from the properties object |
group_meta_data | text | field from the properties object |
location | text | Resource location |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | Resource type |
volumeGroupName | text | field from the properties object |
volumes | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource name |
location | string | Resource location |
properties | object | Volume group properties |
type | string | Resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accountName, resourceGroupName, subscriptionId, volumeGroupName | Get details of the specified volume group |
list_by_netapp_account | SELECT | accountName, resourceGroupName, subscriptionId | List all volume groups for given account |
create | INSERT | accountName, resourceGroupName, subscriptionId, volumeGroupName | Create a volume group along with specified volumes |
delete | DELETE | accountName, resourceGroupName, subscriptionId, volumeGroupName | Delete the specified volume group only if there are no volumes under volume group. |
SELECT
examples
List all volume groups for given account
- vw_volume_groups
- volume_groups
SELECT
id,
name,
accountName,
group_meta_data,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
type,
volumeGroupName,
volumes
FROM azure_isv.netapp.vw_volume_groups
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
type
FROM azure_isv.netapp.volume_groups
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new volume_groups
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_isv.netapp.volume_groups (
accountName,
resourceGroupName,
subscriptionId,
volumeGroupName,
location,
properties
)
SELECT
'{{ accountName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ volumeGroupName }}',
'{{ location }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: location
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: provisioningState
value: string
- name: groupMetaData
value:
- name: groupDescription
value: string
- name: applicationType
value: string
- name: applicationIdentifier
value: string
- name: globalPlacementRules
value:
- - name: key
value: string
- name: value
value: string
- name: volumesCount
value: integer
- name: volumes
value:
- - name: id
value: string
- name: name
value: string
- name: type
value: string
- name: tags
value: []
- name: zones
value:
- string
- name: properties
value:
- name: fileSystemId
value: string
- name: creationToken
value: string
- name: serviceLevel
value: []
- name: usageThreshold
value: integer
- name: exportPolicy
value: string
- name: protocolTypes
value:
- string
- name: provisioningState
value: string
- name: snapshotId
value: string
- name: deleteBaseSnapshot
value: boolean
- name: backupId
value: string
- name: baremetalTenantId
value: string
- name: subnetId
value: string
- name: networkFeatures
value: []
- name: networkSiblingSetId
value: string
- name: storageToNetworkProximity
value: string
- name: mountTargets
value:
- - name: mountTargetId
value: string
- name: fileSystemId
value: string
- name: ipAddress
value: string
- name: smbServerFqdn
value: string
- name: volumeType
value: string
- name: dataProtection
value: string
- name: isRestoring
value: boolean
- name: snapshotDirectoryVisible
value: boolean
- name: kerberosEnabled
value: boolean
- name: securityStyle
value: string
- name: smbEncryption
value: boolean
- name: smbAccessBasedEnumeration
value: []
- name: smbNonBrowsable
value: []
- name: smbContinuouslyAvailable
value: boolean
- name: throughputMibps
value: number
- name: actualThroughputMibps
value: number
- name: encryptionKeySource
value: string
- name: keyVaultPrivateEndpointResourceId
value: string
- name: ldapEnabled
value: boolean
- name: coolAccess
value: boolean
- name: coolnessPeriod
value: integer
- name: coolAccessRetrievalPolicy
value: []
- name: unixPermissions
value: string
- name: cloneProgress
value: integer
- name: fileAccessLogs
value: string
- name: avsDataStore
value: string
- name: dataStoreResourceId
value:
- string
- name: isDefaultQuotaEnabled
value: boolean
- name: defaultUserQuotaInKiBs
value: integer
- name: defaultGroupQuotaInKiBs
value: integer
- name: maximumNumberOfFiles
value: integer
- name: volumeGroupName
value: string
- name: capacityPoolResourceId
value: string
- name: proximityPlacementGroup
value: string
- name: t2Network
value: string
- name: volumeSpecName
value: string
- name: encrypted
value: boolean
- name: placementRules
value:
- - name: key
value: string
- name: value
value: string
- name: enableSubvolumes
value: string
- name: provisionedAvailabilityZone
value: string
- name: isLargeVolume
value: boolean
- name: originatingResourceId
value: string
DELETE
example
Deletes the specified volume_groups
resource.
/*+ delete */
DELETE FROM azure_isv.netapp.volume_groups
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND volumeGroupName = '{{ volumeGroupName }}';