restore_point_collections
Creates, updates, deletes, gets or lists a restore_point_collections
resource.
Overview
Name | restore_point_collections |
Type | Resource |
Id | azure.compute.restore_point_collections |
Fields
- vw_restore_point_collections
- restore_point_collections
Name | Datatype | Description |
---|---|---|
id | text | Resource Id |
name | text | Resource name |
location | text | Resource location |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
restorePointCollectionName | text | field from the properties object |
restore_point_collection_id | text | field from the properties object |
restore_points | text | field from the properties object |
source | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags |
type | text | Resource type |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource name |
location | string | Resource location |
properties | object | The restore point collection properties. |
tags | object | Resource tags |
type | string | Resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, restorePointCollectionName, subscriptionId | The operation to get the restore point collection. |
list | SELECT | resourceGroupName, subscriptionId | Gets the list of restore point collections in a resource group. |
list_all | SELECT | subscriptionId | Gets the list of restore point collections in the subscription. Use nextLink property in the response to get the next page of restore point collections. Do this till nextLink is not null to fetch all the restore point collections. |
create_or_update | INSERT | resourceGroupName, restorePointCollectionName, subscriptionId | The operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified. |
delete | DELETE | resourceGroupName, restorePointCollectionName, subscriptionId | The operation to delete the restore point collection. This operation will also delete all the contained restore points. |
update | UPDATE | resourceGroupName, restorePointCollectionName, subscriptionId | The operation to update the restore point collection. |
SELECT
examples
Gets the list of restore point collections in the subscription. Use nextLink property in the response to get the next page of restore point collections. Do this till nextLink is not null to fetch all the restore point collections.
- vw_restore_point_collections
- restore_point_collections
SELECT
id,
name,
location,
provisioning_state,
resourceGroupName,
restorePointCollectionName,
restore_point_collection_id,
restore_points,
source,
subscriptionId,
tags,
type
FROM azure.compute.vw_restore_point_collections
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure.compute.restore_point_collections
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new restore_point_collections
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.compute.restore_point_collections (
resourceGroupName,
restorePointCollectionName,
subscriptionId,
properties,
location,
tags
)
SELECT
'{{ resourceGroupName }}',
'{{ restorePointCollectionName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: source
value:
- name: location
value: string
- name: id
value: string
- name: provisioningState
value: string
- name: restorePointCollectionId
value: string
- name: restorePoints
value:
- - name: properties
value:
- name: excludeDisks
value:
- - name: id
value: string
- name: sourceMetadata
value:
- name: hardwareProfile
value:
- name: vmSize
value: string
- name: vmSizeProperties
value:
- name: vCPUsAvailable
value: integer
- name: vCPUsPerCore
value: integer
- name: storageProfile
value:
- name: osDisk
value:
- name: osType
value: string
- name: encryptionSettings
value:
- name: diskEncryptionKey
value:
- name: secretUrl
value: string
- name: sourceVault
value:
- name: id
value: string
- name: keyEncryptionKey
value:
- name: keyUrl
value: string
- name: enabled
value: boolean
- name: name
value: string
- name: caching
value: []
- name: diskSizeGB
value: integer
- name: managedDisk
value:
- name: storageAccountType
value: []
- name: diskEncryptionSet
value:
- name: id
value: string
- name: securityProfile
value:
- name: securityEncryptionType
value: string
- name: id
value: string
- name: diskRestorePoint
value:
- name: encryption
value:
- name: type
value: []
- name: sourceDiskRestorePoint
value:
- name: id
value: string
- name: id
value: string
- name: writeAcceleratorEnabled
value: boolean
- name: dataDisks
value:
- - name: lun
value: integer
- name: name
value: string
- name: diskSizeGB
value: integer
- name: writeAcceleratorEnabled
value: boolean
- name: diskControllerType
value: []
- name: osProfile
value:
- name: computerName
value: string
- name: adminUsername
value: string
- name: adminPassword
value: string
- name: customData
value: string
- name: windowsConfiguration
value:
- name: provisionVMAgent
value: boolean
- name: enableAutomaticUpdates
value: boolean
- name: timeZone
value: string
- name: additionalUnattendContent
value:
- - name: passName
value: string
- name: componentName
value: string
- name: settingName
value: string
- name: content
value: string
- name: patchSettings
value:
- name: patchMode
value: string
- name: enableHotpatching
value: boolean
- name: assessmentMode
value: string
- name: automaticByPlatformSettings
value:
- name: rebootSetting
value: string
- name: bypassPlatformSafetyChecksOnUserSchedule
value: boolean
- name: winRM
value:
- name: listeners
value:
- - name: protocol
value: string
- name: certificateUrl
value: string
- name: enableVMAgentPlatformUpdates
value: boolean
- name: linuxConfiguration
value:
- name: disablePasswordAuthentication
value: boolean
- name: ssh
value:
- name: publicKeys
value:
- - name: path
value: string
- name: keyData
value: string
- name: provisionVMAgent
value: boolean
- name: patchSettings
value:
- name: patchMode
value: string
- name: assessmentMode
value: string
- name: automaticByPlatformSettings
value:
- name: rebootSetting
value: string
- name: bypassPlatformSafetyChecksOnUserSchedule
value: boolean
- name: enableVMAgentPlatformUpdates
value: boolean
- name: secrets
value:
- - name: vaultCertificates
value:
- - name: certificateUrl
value: string
- name: certificateStore
value: string
- name: allowExtensionOperations
value: boolean
- name: requireGuestProvisionSignal
value: boolean
- name: diagnosticsProfile
value:
- name: bootDiagnostics
value:
- name: enabled
value: boolean
- name: storageUri
value: string
- name: licenseType
value: string
- name: vmId
value: string
- name: securityProfile
value:
- name: uefiSettings
value:
- name: secureBootEnabled
value: boolean
- name: vTpmEnabled
value: boolean
- name: encryptionAtHost
value: boolean
- name: securityType
value: string
- name: encryptionIdentity
value:
- name: userAssignedIdentityResourceId
value: string
- name: proxyAgentSettings
value:
- name: enabled
value: boolean
- name: mode
value: string
- name: keyIncarnationId
value: integer
- name: location
value: string
- name: userData
value: string
- name: hyperVGeneration
value: []
- name: provisioningState
value: string
- name: consistencyMode
value: string
- name: timeCreated
value: string
- name: instanceView
value:
- name: diskRestorePoints
value:
- - name: id
value: string
- name: replicationStatus
value:
- name: status
value:
- name: code
value: string
- name: level
value: string
- name: displayStatus
value: string
- name: message
value: string
- name: time
value: string
- name: completionPercent
value: integer
- name: statuses
value:
- - name: code
value: string
- name: level
value: string
- name: displayStatus
value: string
- name: message
value: string
- name: time
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: tags
value: object
UPDATE
example
Updates a restore_point_collections
resource.
/*+ update */
UPDATE azure.compute.restore_point_collections
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND restorePointCollectionName = '{{ restorePointCollectionName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified restore_point_collections
resource.
/*+ delete */
DELETE FROM azure.compute.restore_point_collections
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND restorePointCollectionName = '{{ restorePointCollectionName }}'
AND subscriptionId = '{{ subscriptionId }}';