Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The restorePointCollections resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Compute/restorePointCollections resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Compute/restorePointCollections@2025-04-01' = {
scope: resourceSymbolicName or scope
___location: 'string'
name: 'string'
properties: {
instantAccess: bool
source: {
id: 'string'
}
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.Compute/restorePointCollections
Name | Description | Value |
---|---|---|
___location | The geo-___location where the resource lives | string (required) |
name | The resource name | string (required) |
properties | The restore point collection properties. | RestorePointCollectionProperties |
scope | Use when creating a resource at a scope that is different than the deployment scope. | Set this property to the symbolic name of a resource to apply the extension resource. |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
RestorePointCollectionProperties
Name | Description | Value |
---|---|---|
instantAccess | This property determines whether instant access snapshot is enabled for restore points created under this restore point collection for Premium SSD v2 or Ultra disk. Instant access snapshot for Premium SSD v2 or Ultra disk is instantaneously available for restoring disk with fast restore performance. | bool |
source | The properties of the source resource that this restore point collection is created from. | RestorePointCollectionSourceProperties |
RestorePointCollectionSourceProperties
Name | Description | Value |
---|---|---|
id | Resource Id of the source resource used to create this restore point collection | string |
TrackedResourceTags
Name | Description | Value |
---|
ARM template resource definition
The restorePointCollections resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Compute/restorePointCollections resource, add the following JSON to your template.
{
"type": "Microsoft.Compute/restorePointCollections",
"apiVersion": "2025-04-01",
"name": "string",
"___location": "string",
"properties": {
"instantAccess": "bool",
"source": {
"id": "string"
}
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Compute/restorePointCollections
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2025-04-01' |
___location | The geo-___location where the resource lives | string (required) |
name | The resource name | string (required) |
properties | The restore point collection properties. | RestorePointCollectionProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.Compute/restorePointCollections' |
RestorePointCollectionProperties
Name | Description | Value |
---|---|---|
instantAccess | This property determines whether instant access snapshot is enabled for restore points created under this restore point collection for Premium SSD v2 or Ultra disk. Instant access snapshot for Premium SSD v2 or Ultra disk is instantaneously available for restoring disk with fast restore performance. | bool |
source | The properties of the source resource that this restore point collection is created from. | RestorePointCollectionSourceProperties |
RestorePointCollectionSourceProperties
Name | Description | Value |
---|---|---|
id | Resource Id of the source resource used to create this restore point collection | string |
TrackedResourceTags
Name | Description | Value |
---|
Usage Examples
Terraform (AzAPI provider) resource definition
The restorePointCollections resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Compute/restorePointCollections resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Compute/restorePointCollections@2025-04-01"
name = "string"
parent_id = "string"
___location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
instantAccess = bool
source = {
id = "string"
}
}
}
}
Property Values
Microsoft.Compute/restorePointCollections
Name | Description | Value |
---|---|---|
___location | The geo-___location where the resource lives | string (required) |
name | The resource name | string (required) |
parent_id | The ID of the resource to apply this extension resource to. | string (required) |
properties | The restore point collection properties. | RestorePointCollectionProperties |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.Compute/restorePointCollections@2025-04-01" |
RestorePointCollectionProperties
Name | Description | Value |
---|---|---|
instantAccess | This property determines whether instant access snapshot is enabled for restore points created under this restore point collection for Premium SSD v2 or Ultra disk. Instant access snapshot for Premium SSD v2 or Ultra disk is instantaneously available for restoring disk with fast restore performance. | bool |
source | The properties of the source resource that this restore point collection is created from. | RestorePointCollectionSourceProperties |
RestorePointCollectionSourceProperties
Name | Description | Value |
---|---|---|
id | Resource Id of the source resource used to create this restore point collection | string |
TrackedResourceTags
Name | Description | Value |
---|
Usage Examples
Terraform Samples
A basic example of deploying Virtual Machine Restore Point Collection.
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "___location" {
type = string
default = "eastus"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
___location = var.___location
}
resource "azapi_resource" "virtualNetwork" {
type = "Microsoft.Network/virtualNetworks@2024-05-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
___location = var.___location
body = {
properties = {
addressSpace = {
addressPrefixes = ["10.0.0.0/16"]
}
dhcpOptions = {
dnsServers = []
}
privateEndpointVNetPolicies = "Disabled"
subnets = []
}
}
}
resource "azapi_resource" "subnet" {
type = "Microsoft.Network/virtualNetworks/subnets@2024-05-01"
parent_id = azapi_resource.virtualNetwork.id
name = var.resource_name
body = {
properties = {
addressPrefix = "10.0.0.0/24"
defaultOutboundAccess = true
delegations = []
privateEndpointNetworkPolicies = "Disabled"
privateLinkServiceNetworkPolicies = "Enabled"
serviceEndpointPolicies = []
serviceEndpoints = []
}
}
}
resource "azapi_resource" "networkInterface" {
type = "Microsoft.Network/networkInterfaces@2024-05-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
___location = var.___location
body = {
properties = {
enableAcceleratedNetworking = false
enableIPForwarding = false
ipConfigurations = [{
name = "internal"
properties = {
primary = false
privateIPAddressVersion = "IPv4"
privateIPAllocationMethod = "Dynamic"
subnet = {
id = azapi_resource.subnet.id
}
}
}]
}
}
}
resource "azapi_resource" "virtualMachine" {
type = "Microsoft.Compute/virtualMachines@2024-03-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
___location = var.___location
body = {
properties = {
additionalCapabilities = {}
applicationProfile = {
galleryApplications = []
}
diagnosticsProfile = {
bootDiagnostics = {
enabled = false
storageUri = ""
}
}
extensionsTimeBudget = "PT1H30M"
hardwareProfile = {
vmSize = "Standard_F2"
}
networkProfile = {
networkInterfaces = [{
id = azapi_resource.networkInterface.id
properties = {
primary = true
}
}]
}
osProfile = {
adminUsername = "adminuser"
allowExtensionOperations = true
computerName = var.resource_name
linuxConfiguration = {
disablePasswordAuthentication = true
patchSettings = {
assessmentMode = "ImageDefault"
patchMode = "ImageDefault"
}
provisionVMAgent = true
ssh = {
publicKeys = [{
keyData = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+wWK73dCr+jgQOAxNsHAnNNNMEMWOHYEccp6wJm2gotpr9katuF/ZAdou5AaW1C61slRkHRkpRRX9FA9CYBiitZgvCCz+3nWNN7l/Up54Zps/pHWGZLHNJZRYyAB6j5yVLMVHIHriY49d/GZTZVNB8GoJv9Gakwc/fuEZYYl4YDFiGMBP///TzlI4jhiJzjKnEvqPFki5p2ZRJqcbCiF4pJrxUQR/RXqVFQdbRLZgYfJ8xGB878RENq3yQ39d8dVOkq4edbkzwcUmwwwkYVPIoDGsYLaRHnG+To7FvMeyO7xDVQkMKzopTQV8AuKpyvpqu0a9pWOMaiCyDytO7GGN you@me.com"
path = "/home/adminuser/.ssh/authorized_keys"
}]
}
}
secrets = []
}
priority = "Regular"
storageProfile = {
dataDisks = []
imageReference = {
offer = "0001-com-ubuntu-server-jammy"
publisher = "Canonical"
sku = "22_04-lts"
version = "latest"
}
osDisk = {
caching = "ReadWrite"
createOption = "FromImage"
managedDisk = {
storageAccountType = "Standard_LRS"
}
osType = "Linux"
writeAcceleratorEnabled = false
}
}
}
}
}
resource "azapi_resource" "restorePointCollection" {
type = "Microsoft.Compute/restorePointCollections@2024-03-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
___location = var.___location
body = {
properties = {
source = {
id = azapi_resource.virtualMachine.id
}
}
}
tags = {
foo = "bar"
}
}