azure-native.compute.Snapshot

Explore with Pulumi AI

Snapshot resource. API Version: 2020-12-01.

Example Usage

Create a snapshot by importing an unmanaged blob from a different subscription.

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var snapshot = new AzureNative.Compute.Snapshot("snapshot", new()
    {
        CreationData = new AzureNative.Compute.Inputs.CreationDataArgs
        {
            CreateOption = "Import",
            SourceUri = "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
            StorageAccountId = "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
        },
        Location = "West US",
        ResourceGroupName = "myResourceGroup",
        SnapshotName = "mySnapshot1",
    });

});
package main

import (
	compute "github.com/pulumi/pulumi-azure-native/sdk/go/azure/compute"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewSnapshot(ctx, "snapshot", &compute.SnapshotArgs{
			CreationData: &compute.CreationDataArgs{
				CreateOption:     pulumi.String("Import"),
				SourceUri:        pulumi.String("https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"),
				StorageAccountId: pulumi.String("subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount"),
			},
			Location:          pulumi.String("West US"),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			SnapshotName:      pulumi.String("mySnapshot1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.compute.Snapshot;
import com.pulumi.azurenative.compute.SnapshotArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var snapshot = new Snapshot("snapshot", SnapshotArgs.builder()        
            .creationData(Map.ofEntries(
                Map.entry("createOption", "Import"),
                Map.entry("sourceUri", "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"),
                Map.entry("storageAccountId", "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount")
            ))
            .location("West US")
            .resourceGroupName("myResourceGroup")
            .snapshotName("mySnapshot1")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

snapshot = azure_native.compute.Snapshot("snapshot",
    creation_data=azure_native.compute.CreationDataArgs(
        create_option="Import",
        source_uri="https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
        storage_account_id="subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
    ),
    location="West US",
    resource_group_name="myResourceGroup",
    snapshot_name="mySnapshot1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const snapshot = new azure_native.compute.Snapshot("snapshot", {
    creationData: {
        createOption: "Import",
        sourceUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
        storageAccountId: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
    },
    location: "West US",
    resourceGroupName: "myResourceGroup",
    snapshotName: "mySnapshot1",
});
resources:
  snapshot:
    type: azure-native:compute:Snapshot
    properties:
      creationData:
        createOption: Import
        sourceUri: https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd
        storageAccountId: subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount
      location: West US
      resourceGroupName: myResourceGroup
      snapshotName: mySnapshot1

Create a snapshot by importing an unmanaged blob from the same subscription.

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var snapshot = new AzureNative.Compute.Snapshot("snapshot", new()
    {
        CreationData = new AzureNative.Compute.Inputs.CreationDataArgs
        {
            CreateOption = "Import",
            SourceUri = "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
        },
        Location = "West US",
        ResourceGroupName = "myResourceGroup",
        SnapshotName = "mySnapshot1",
    });

});
package main

import (
	compute "github.com/pulumi/pulumi-azure-native/sdk/go/azure/compute"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewSnapshot(ctx, "snapshot", &compute.SnapshotArgs{
			CreationData: &compute.CreationDataArgs{
				CreateOption: pulumi.String("Import"),
				SourceUri:    pulumi.String("https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"),
			},
			Location:          pulumi.String("West US"),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			SnapshotName:      pulumi.String("mySnapshot1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.compute.Snapshot;
import com.pulumi.azurenative.compute.SnapshotArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var snapshot = new Snapshot("snapshot", SnapshotArgs.builder()        
            .creationData(Map.ofEntries(
                Map.entry("createOption", "Import"),
                Map.entry("sourceUri", "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd")
            ))
            .location("West US")
            .resourceGroupName("myResourceGroup")
            .snapshotName("mySnapshot1")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

snapshot = azure_native.compute.Snapshot("snapshot",
    creation_data=azure_native.compute.CreationDataArgs(
        create_option="Import",
        source_uri="https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
    ),
    location="West US",
    resource_group_name="myResourceGroup",
    snapshot_name="mySnapshot1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const snapshot = new azure_native.compute.Snapshot("snapshot", {
    creationData: {
        createOption: "Import",
        sourceUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
    },
    location: "West US",
    resourceGroupName: "myResourceGroup",
    snapshotName: "mySnapshot1",
});
resources:
  snapshot:
    type: azure-native:compute:Snapshot
    properties:
      creationData:
        createOption: Import
        sourceUri: https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd
      location: West US
      resourceGroupName: myResourceGroup
      snapshotName: mySnapshot1

Create a snapshot from an existing snapshot in the same or a different subscription.

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var snapshot = new AzureNative.Compute.Snapshot("snapshot", new()
    {
        CreationData = new AzureNative.Compute.Inputs.CreationDataArgs
        {
            CreateOption = "Copy",
            SourceResourceId = "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1",
        },
        Location = "West US",
        ResourceGroupName = "myResourceGroup",
        SnapshotName = "mySnapshot2",
    });

});
package main

import (
	compute "github.com/pulumi/pulumi-azure-native/sdk/go/azure/compute"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewSnapshot(ctx, "snapshot", &compute.SnapshotArgs{
			CreationData: &compute.CreationDataArgs{
				CreateOption:     pulumi.String("Copy"),
				SourceResourceId: pulumi.String("subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"),
			},
			Location:          pulumi.String("West US"),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			SnapshotName:      pulumi.String("mySnapshot2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.compute.Snapshot;
import com.pulumi.azurenative.compute.SnapshotArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var snapshot = new Snapshot("snapshot", SnapshotArgs.builder()        
            .creationData(Map.ofEntries(
                Map.entry("createOption", "Copy"),
                Map.entry("sourceResourceId", "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1")
            ))
            .location("West US")
            .resourceGroupName("myResourceGroup")
            .snapshotName("mySnapshot2")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

snapshot = azure_native.compute.Snapshot("snapshot",
    creation_data=azure_native.compute.CreationDataArgs(
        create_option="Copy",
        source_resource_id="subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1",
    ),
    location="West US",
    resource_group_name="myResourceGroup",
    snapshot_name="mySnapshot2")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const snapshot = new azure_native.compute.Snapshot("snapshot", {
    creationData: {
        createOption: "Copy",
        sourceResourceId: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1",
    },
    location: "West US",
    resourceGroupName: "myResourceGroup",
    snapshotName: "mySnapshot2",
});
resources:
  snapshot:
    type: azure-native:compute:Snapshot
    properties:
      creationData:
        createOption: Copy
        sourceResourceId: subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1
      location: West US
      resourceGroupName: myResourceGroup
      snapshotName: mySnapshot2

Create Snapshot Resource

new Snapshot(name: string, args: SnapshotArgs, opts?: CustomResourceOptions);
@overload
def Snapshot(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             creation_data: Optional[CreationDataArgs] = None,
             disk_access_id: Optional[str] = None,
             disk_size_gb: Optional[int] = None,
             encryption: Optional[EncryptionArgs] = None,
             encryption_settings_collection: Optional[EncryptionSettingsCollectionArgs] = None,
             extended_location: Optional[ExtendedLocationArgs] = None,
             hyper_v_generation: Optional[Union[str, HyperVGeneration]] = None,
             incremental: Optional[bool] = None,
             location: Optional[str] = None,
             network_access_policy: Optional[Union[str, NetworkAccessPolicy]] = None,
             os_type: Optional[OperatingSystemTypes] = None,
             purchase_plan: Optional[PurchasePlanArgs] = None,
             resource_group_name: Optional[str] = None,
             sku: Optional[SnapshotSkuArgs] = None,
             snapshot_name: Optional[str] = None,
             supports_hibernation: Optional[bool] = None,
             tags: Optional[Mapping[str, str]] = None)
@overload
def Snapshot(resource_name: str,
             args: SnapshotArgs,
             opts: Optional[ResourceOptions] = None)
func NewSnapshot(ctx *Context, name string, args SnapshotArgs, opts ...ResourceOption) (*Snapshot, error)
public Snapshot(string name, SnapshotArgs args, CustomResourceOptions? opts = null)
public Snapshot(String name, SnapshotArgs args)
public Snapshot(String name, SnapshotArgs args, CustomResourceOptions options)
type: azure-native:compute:Snapshot
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args SnapshotArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args SnapshotArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SnapshotArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SnapshotArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args SnapshotArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Snapshot Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Snapshot resource accepts the following input properties:

CreationData Pulumi.AzureNative.Compute.Inputs.CreationDataArgs

Disk source information. CreationData information cannot be changed after the disk has been created.

ResourceGroupName string

The name of the resource group.

DiskAccessId string

ARM id of the DiskAccess resource for using private endpoints on disks.

DiskSizeGB int

If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.

Encryption Pulumi.AzureNative.Compute.Inputs.EncryptionArgs

Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.

EncryptionSettingsCollection Pulumi.AzureNative.Compute.Inputs.EncryptionSettingsCollectionArgs

Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

ExtendedLocation Pulumi.AzureNative.Compute.Inputs.ExtendedLocationArgs

The extended location where the snapshot will be created. Extended location cannot be changed.

HyperVGeneration string | Pulumi.AzureNative.Compute.HyperVGeneration

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

Incremental bool

Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.

Location string

Resource location

NetworkAccessPolicy string | Pulumi.AzureNative.Compute.NetworkAccessPolicy

Policy for accessing the disk via network.

OsType Pulumi.AzureNative.Compute.OperatingSystemTypes

The Operating System type.

PurchasePlan Pulumi.AzureNative.Compute.Inputs.PurchasePlanArgs

Purchase plan information for the image from which the source disk for the snapshot was originally created.

Sku Pulumi.AzureNative.Compute.Inputs.SnapshotSkuArgs

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot

SnapshotName string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

SupportsHibernation bool

Indicates the OS on a snapshot supports hibernation.

Tags Dictionary<string, string>

Resource tags

CreationData CreationDataArgs

Disk source information. CreationData information cannot be changed after the disk has been created.

ResourceGroupName string

The name of the resource group.

DiskAccessId string

ARM id of the DiskAccess resource for using private endpoints on disks.

DiskSizeGB int

If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.

Encryption EncryptionArgs

Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.

EncryptionSettingsCollection EncryptionSettingsCollectionArgs

Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

ExtendedLocation ExtendedLocationArgs

The extended location where the snapshot will be created. Extended location cannot be changed.

HyperVGeneration string | HyperVGeneration

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

Incremental bool

Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.

Location string

Resource location

NetworkAccessPolicy string | NetworkAccessPolicy

Policy for accessing the disk via network.

OsType OperatingSystemTypes

The Operating System type.

PurchasePlan PurchasePlanArgs

Purchase plan information for the image from which the source disk for the snapshot was originally created.

Sku SnapshotSkuArgs

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot

SnapshotName string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

SupportsHibernation bool

Indicates the OS on a snapshot supports hibernation.

Tags map[string]string

Resource tags

creationData CreationDataArgs

Disk source information. CreationData information cannot be changed after the disk has been created.

resourceGroupName String

The name of the resource group.

diskAccessId String

ARM id of the DiskAccess resource for using private endpoints on disks.

diskSizeGB Integer

If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.

encryption EncryptionArgs

Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.

encryptionSettingsCollection EncryptionSettingsCollectionArgs

Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

extendedLocation ExtendedLocationArgs

The extended location where the snapshot will be created. Extended location cannot be changed.

hyperVGeneration String | HyperVGeneration

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

incremental Boolean

Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.

location String

Resource location

networkAccessPolicy String | NetworkAccessPolicy

Policy for accessing the disk via network.

osType OperatingSystemTypes

The Operating System type.

purchasePlan PurchasePlanArgs

Purchase plan information for the image from which the source disk for the snapshot was originally created.

sku SnapshotSkuArgs

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot

snapshotName String

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

supportsHibernation Boolean

Indicates the OS on a snapshot supports hibernation.

tags Map<String,String>

Resource tags

creationData CreationDataArgs

Disk source information. CreationData information cannot be changed after the disk has been created.

resourceGroupName string

The name of the resource group.

diskAccessId string

ARM id of the DiskAccess resource for using private endpoints on disks.

diskSizeGB number

If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.

encryption EncryptionArgs

Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.

encryptionSettingsCollection EncryptionSettingsCollectionArgs

Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

extendedLocation ExtendedLocationArgs

The extended location where the snapshot will be created. Extended location cannot be changed.

hyperVGeneration string | HyperVGeneration

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

incremental boolean

Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.

location string

Resource location

networkAccessPolicy string | NetworkAccessPolicy

Policy for accessing the disk via network.

osType OperatingSystemTypes

The Operating System type.

purchasePlan PurchasePlanArgs

Purchase plan information for the image from which the source disk for the snapshot was originally created.

sku SnapshotSkuArgs

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot

snapshotName string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

supportsHibernation boolean

Indicates the OS on a snapshot supports hibernation.

tags {[key: string]: string}

Resource tags

creation_data CreationDataArgs

Disk source information. CreationData information cannot be changed after the disk has been created.

resource_group_name str

The name of the resource group.

disk_access_id str

ARM id of the DiskAccess resource for using private endpoints on disks.

disk_size_gb int

If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.

encryption EncryptionArgs

Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.

encryption_settings_collection EncryptionSettingsCollectionArgs

Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

extended_location ExtendedLocationArgs

The extended location where the snapshot will be created. Extended location cannot be changed.

hyper_v_generation str | HyperVGeneration

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

incremental bool

Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.

location str

Resource location

network_access_policy str | NetworkAccessPolicy

Policy for accessing the disk via network.

os_type OperatingSystemTypes

The Operating System type.

purchase_plan PurchasePlanArgs

Purchase plan information for the image from which the source disk for the snapshot was originally created.

sku SnapshotSkuArgs

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot

snapshot_name str

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

supports_hibernation bool

Indicates the OS on a snapshot supports hibernation.

tags Mapping[str, str]

Resource tags

creationData Property Map

Disk source information. CreationData information cannot be changed after the disk has been created.

resourceGroupName String

The name of the resource group.

diskAccessId String

ARM id of the DiskAccess resource for using private endpoints on disks.

diskSizeGB Number

If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.

encryption Property Map

Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.

encryptionSettingsCollection Property Map

Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

extendedLocation Property Map

The extended location where the snapshot will be created. Extended location cannot be changed.

hyperVGeneration String | "V1" | "V2"

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

incremental Boolean

Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.

location String

Resource location

networkAccessPolicy String | "AllowAll" | "AllowPrivate" | "DenyAll"

Policy for accessing the disk via network.

osType "Windows" | "Linux"

The Operating System type.

purchasePlan Property Map

Purchase plan information for the image from which the source disk for the snapshot was originally created.

sku Property Map

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot

snapshotName String

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

supportsHibernation Boolean

Indicates the OS on a snapshot supports hibernation.

tags Map<String>

Resource tags

Outputs

All input properties are implicitly available as output properties. Additionally, the Snapshot resource produces the following output properties:

DiskSizeBytes double

The size of the disk in bytes. This field is read only.

DiskState string

The state of the snapshot.

Id string

The provider-assigned unique ID for this managed resource.

ManagedBy string

Unused. Always Null.

Name string

Resource name

ProvisioningState string

The disk provisioning state.

TimeCreated string

The time when the snapshot was created.

Type string

Resource type

UniqueId string

Unique Guid identifying the resource.

DiskSizeBytes float64

The size of the disk in bytes. This field is read only.

DiskState string

The state of the snapshot.

Id string

The provider-assigned unique ID for this managed resource.

ManagedBy string

Unused. Always Null.

Name string

Resource name

ProvisioningState string

The disk provisioning state.

TimeCreated string

The time when the snapshot was created.

Type string

Resource type

UniqueId string

Unique Guid identifying the resource.

diskSizeBytes Double

The size of the disk in bytes. This field is read only.

diskState String

The state of the snapshot.

id String

The provider-assigned unique ID for this managed resource.

managedBy String

Unused. Always Null.

name String

Resource name

provisioningState String

The disk provisioning state.

timeCreated String

The time when the snapshot was created.

type String

Resource type

uniqueId String

Unique Guid identifying the resource.

diskSizeBytes number

The size of the disk in bytes. This field is read only.

diskState string

The state of the snapshot.

id string

The provider-assigned unique ID for this managed resource.

managedBy string

Unused. Always Null.

name string

Resource name

provisioningState string

The disk provisioning state.

timeCreated string

The time when the snapshot was created.

type string

Resource type

uniqueId string

Unique Guid identifying the resource.

disk_size_bytes float

The size of the disk in bytes. This field is read only.

disk_state str

The state of the snapshot.

id str

The provider-assigned unique ID for this managed resource.

managed_by str

Unused. Always Null.

name str

Resource name

provisioning_state str

The disk provisioning state.

time_created str

The time when the snapshot was created.

type str

Resource type

unique_id str

Unique Guid identifying the resource.

diskSizeBytes Number

The size of the disk in bytes. This field is read only.

diskState String

The state of the snapshot.

id String

The provider-assigned unique ID for this managed resource.

managedBy String

Unused. Always Null.

name String

Resource name

provisioningState String

The disk provisioning state.

timeCreated String

The time when the snapshot was created.

type String

Resource type

uniqueId String

Unique Guid identifying the resource.

Supporting Types

CreationData

CreateOption string | Pulumi.AzureNative.Compute.DiskCreateOption

This enumerates the possible sources of a disk's creation.

GalleryImageReference Pulumi.AzureNative.Compute.Inputs.ImageDiskReference

Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.

ImageReference Pulumi.AzureNative.Compute.Inputs.ImageDiskReference

Disk source information.

LogicalSectorSize int

Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.

SourceResourceId string

If createOption is Copy, this is the ARM id of the source snapshot or disk.

SourceUri string

If createOption is Import, this is the URI of a blob to be imported into a managed disk.

StorageAccountId string

Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.

UploadSizeBytes double

If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).

CreateOption string | DiskCreateOption

This enumerates the possible sources of a disk's creation.

GalleryImageReference ImageDiskReference

Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.

ImageReference ImageDiskReference

Disk source information.

LogicalSectorSize int

Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.

SourceResourceId string

If createOption is Copy, this is the ARM id of the source snapshot or disk.

SourceUri string

If createOption is Import, this is the URI of a blob to be imported into a managed disk.

StorageAccountId string

Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.

UploadSizeBytes float64

If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).

createOption String | DiskCreateOption

This enumerates the possible sources of a disk's creation.

galleryImageReference ImageDiskReference

Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.

imageReference ImageDiskReference

Disk source information.

logicalSectorSize Integer

Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.

sourceResourceId String

If createOption is Copy, this is the ARM id of the source snapshot or disk.

sourceUri String

If createOption is Import, this is the URI of a blob to be imported into a managed disk.

storageAccountId String

Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.

uploadSizeBytes Double

If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).

createOption string | DiskCreateOption

This enumerates the possible sources of a disk's creation.

galleryImageReference ImageDiskReference

Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.

imageReference ImageDiskReference

Disk source information.

logicalSectorSize number

Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.

sourceResourceId string

If createOption is Copy, this is the ARM id of the source snapshot or disk.

sourceUri string

If createOption is Import, this is the URI of a blob to be imported into a managed disk.

storageAccountId string

Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.

uploadSizeBytes number

If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).

create_option str | DiskCreateOption

This enumerates the possible sources of a disk's creation.

gallery_image_reference ImageDiskReference

Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.

image_reference ImageDiskReference

Disk source information.

logical_sector_size int

Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.

source_resource_id str

If createOption is Copy, this is the ARM id of the source snapshot or disk.

source_uri str

If createOption is Import, this is the URI of a blob to be imported into a managed disk.

storage_account_id str

Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.

upload_size_bytes float

If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).

createOption String | "Empty" | "Attach" | "FromImage" | "Import" | "Copy" | "Restore" | "Upload"

This enumerates the possible sources of a disk's creation.

galleryImageReference Property Map

Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.

imageReference Property Map

Disk source information.

logicalSectorSize Number

Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.

sourceResourceId String

If createOption is Copy, this is the ARM id of the source snapshot or disk.

sourceUri String

If createOption is Import, this is the URI of a blob to be imported into a managed disk.

storageAccountId String

Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.

uploadSizeBytes Number

If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).

CreationDataResponse

CreateOption string

This enumerates the possible sources of a disk's creation.

SourceUniqueId string

If this field is set, this is the unique id identifying the source of this resource.

GalleryImageReference Pulumi.AzureNative.Compute.Inputs.ImageDiskReferenceResponse

Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.

ImageReference Pulumi.AzureNative.Compute.Inputs.ImageDiskReferenceResponse

Disk source information.

LogicalSectorSize int

Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.

SourceResourceId string

If createOption is Copy, this is the ARM id of the source snapshot or disk.

SourceUri string

If createOption is Import, this is the URI of a blob to be imported into a managed disk.

StorageAccountId string

Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.

UploadSizeBytes double

If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).

CreateOption string

This enumerates the possible sources of a disk's creation.

SourceUniqueId string

If this field is set, this is the unique id identifying the source of this resource.

GalleryImageReference ImageDiskReferenceResponse

Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.

ImageReference ImageDiskReferenceResponse

Disk source information.

LogicalSectorSize int

Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.

SourceResourceId string

If createOption is Copy, this is the ARM id of the source snapshot or disk.

SourceUri string

If createOption is Import, this is the URI of a blob to be imported into a managed disk.

StorageAccountId string

Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.

UploadSizeBytes float64

If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).

createOption String

This enumerates the possible sources of a disk's creation.

sourceUniqueId String

If this field is set, this is the unique id identifying the source of this resource.

galleryImageReference ImageDiskReferenceResponse

Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.

imageReference ImageDiskReferenceResponse

Disk source information.

logicalSectorSize Integer

Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.

sourceResourceId String

If createOption is Copy, this is the ARM id of the source snapshot or disk.

sourceUri String

If createOption is Import, this is the URI of a blob to be imported into a managed disk.

storageAccountId String

Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.

uploadSizeBytes Double

If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).

createOption string

This enumerates the possible sources of a disk's creation.

sourceUniqueId string

If this field is set, this is the unique id identifying the source of this resource.

galleryImageReference ImageDiskReferenceResponse

Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.

imageReference ImageDiskReferenceResponse

Disk source information.

logicalSectorSize number

Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.

sourceResourceId string

If createOption is Copy, this is the ARM id of the source snapshot or disk.

sourceUri string

If createOption is Import, this is the URI of a blob to be imported into a managed disk.

storageAccountId string

Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.

uploadSizeBytes number

If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).

create_option str

This enumerates the possible sources of a disk's creation.

source_unique_id str

If this field is set, this is the unique id identifying the source of this resource.

gallery_image_reference ImageDiskReferenceResponse

Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.

image_reference ImageDiskReferenceResponse

Disk source information.

logical_sector_size int

Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.

source_resource_id str

If createOption is Copy, this is the ARM id of the source snapshot or disk.

source_uri str

If createOption is Import, this is the URI of a blob to be imported into a managed disk.

storage_account_id str

Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.

upload_size_bytes float

If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).

createOption String

This enumerates the possible sources of a disk's creation.

sourceUniqueId String

If this field is set, this is the unique id identifying the source of this resource.

galleryImageReference Property Map

Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.

imageReference Property Map

Disk source information.

logicalSectorSize Number

Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.

sourceResourceId String

If createOption is Copy, this is the ARM id of the source snapshot or disk.

sourceUri String

If createOption is Import, this is the URI of a blob to be imported into a managed disk.

storageAccountId String

Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.

uploadSizeBytes Number

If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).

DiskCreateOption

Empty
Empty

Create an empty data disk of a size given by diskSizeGB.

Attach
Attach

Disk will be attached to a VM.

FromImage
FromImage

Create a new disk from a platform image specified by the given imageReference or galleryImageReference.

Import
Import

Create a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.

Copy
Copy

Create a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.

Restore
Restore

Create a new disk by copying from a backup recovery point.

Upload
Upload

Create a new disk by obtaining a write token and using it to directly upload the contents of the disk.

DiskCreateOptionEmpty
Empty

Create an empty data disk of a size given by diskSizeGB.

DiskCreateOptionAttach
Attach

Disk will be attached to a VM.

DiskCreateOptionFromImage
FromImage

Create a new disk from a platform image specified by the given imageReference or galleryImageReference.

DiskCreateOptionImport
Import

Create a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.

DiskCreateOptionCopy
Copy

Create a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.

DiskCreateOptionRestore
Restore

Create a new disk by copying from a backup recovery point.

DiskCreateOptionUpload
Upload

Create a new disk by obtaining a write token and using it to directly upload the contents of the disk.

Empty
Empty

Create an empty data disk of a size given by diskSizeGB.

Attach
Attach

Disk will be attached to a VM.

FromImage
FromImage

Create a new disk from a platform image specified by the given imageReference or galleryImageReference.

Import
Import

Create a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.

Copy
Copy

Create a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.

Restore
Restore

Create a new disk by copying from a backup recovery point.

Upload
Upload

Create a new disk by obtaining a write token and using it to directly upload the contents of the disk.

Empty
Empty

Create an empty data disk of a size given by diskSizeGB.

Attach
Attach

Disk will be attached to a VM.

FromImage
FromImage

Create a new disk from a platform image specified by the given imageReference or galleryImageReference.

Import
Import

Create a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.

Copy
Copy

Create a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.

Restore
Restore

Create a new disk by copying from a backup recovery point.

Upload
Upload

Create a new disk by obtaining a write token and using it to directly upload the contents of the disk.

EMPTY
Empty

Create an empty data disk of a size given by diskSizeGB.

ATTACH
Attach

Disk will be attached to a VM.

FROM_IMAGE
FromImage

Create a new disk from a platform image specified by the given imageReference or galleryImageReference.

IMPORT_
Import

Create a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.

COPY
Copy

Create a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.

RESTORE
Restore

Create a new disk by copying from a backup recovery point.

UPLOAD
Upload

Create a new disk by obtaining a write token and using it to directly upload the contents of the disk.

"Empty"
Empty

Create an empty data disk of a size given by diskSizeGB.

"Attach"
Attach

Disk will be attached to a VM.

"FromImage"
FromImage

Create a new disk from a platform image specified by the given imageReference or galleryImageReference.

"Import"
Import

Create a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.

"Copy"
Copy

Create a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.

"Restore"
Restore

Create a new disk by copying from a backup recovery point.

"Upload"
Upload

Create a new disk by obtaining a write token and using it to directly upload the contents of the disk.

Encryption

DiskEncryptionSetId string

ResourceId of the disk encryption set to use for enabling encryption at rest.

Type string | Pulumi.AzureNative.Compute.EncryptionType

The type of key used to encrypt the data of the disk.

DiskEncryptionSetId string

ResourceId of the disk encryption set to use for enabling encryption at rest.

Type string | EncryptionType

The type of key used to encrypt the data of the disk.

diskEncryptionSetId String

ResourceId of the disk encryption set to use for enabling encryption at rest.

type String | EncryptionType

The type of key used to encrypt the data of the disk.

diskEncryptionSetId string

ResourceId of the disk encryption set to use for enabling encryption at rest.

type string | EncryptionType

The type of key used to encrypt the data of the disk.

disk_encryption_set_id str

ResourceId of the disk encryption set to use for enabling encryption at rest.

type str | EncryptionType

The type of key used to encrypt the data of the disk.

diskEncryptionSetId String

ResourceId of the disk encryption set to use for enabling encryption at rest.

type String | "EncryptionAtRestWithPlatformKey" | "EncryptionAtRestWithCustomerKey" | "EncryptionAtRestWithPlatformAndCustomerKeys"

The type of key used to encrypt the data of the disk.

EncryptionResponse

DiskEncryptionSetId string

ResourceId of the disk encryption set to use for enabling encryption at rest.

Type string

The type of key used to encrypt the data of the disk.

DiskEncryptionSetId string

ResourceId of the disk encryption set to use for enabling encryption at rest.

Type string

The type of key used to encrypt the data of the disk.

diskEncryptionSetId String

ResourceId of the disk encryption set to use for enabling encryption at rest.

type String

The type of key used to encrypt the data of the disk.

diskEncryptionSetId string

ResourceId of the disk encryption set to use for enabling encryption at rest.

type string

The type of key used to encrypt the data of the disk.

disk_encryption_set_id str

ResourceId of the disk encryption set to use for enabling encryption at rest.

type str

The type of key used to encrypt the data of the disk.

diskEncryptionSetId String

ResourceId of the disk encryption set to use for enabling encryption at rest.

type String

The type of key used to encrypt the data of the disk.

EncryptionSettingsCollection

Enabled bool

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

EncryptionSettings List<Pulumi.AzureNative.Compute.Inputs.EncryptionSettingsElement>

A collection of encryption settings, one for each disk volume.

EncryptionSettingsVersion string

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

Enabled bool

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

EncryptionSettings []EncryptionSettingsElement

A collection of encryption settings, one for each disk volume.

EncryptionSettingsVersion string

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

enabled Boolean

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

encryptionSettings List<EncryptionSettingsElement>

A collection of encryption settings, one for each disk volume.

encryptionSettingsVersion String

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

enabled boolean

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

encryptionSettings EncryptionSettingsElement[]

A collection of encryption settings, one for each disk volume.

encryptionSettingsVersion string

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

enabled bool

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

encryption_settings Sequence[EncryptionSettingsElement]

A collection of encryption settings, one for each disk volume.

encryption_settings_version str

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

enabled Boolean

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

encryptionSettings List<Property Map>

A collection of encryption settings, one for each disk volume.

encryptionSettingsVersion String

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

EncryptionSettingsCollectionResponse

Enabled bool

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

EncryptionSettings List<Pulumi.AzureNative.Compute.Inputs.EncryptionSettingsElementResponse>

A collection of encryption settings, one for each disk volume.

EncryptionSettingsVersion string

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

Enabled bool

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

EncryptionSettings []EncryptionSettingsElementResponse

A collection of encryption settings, one for each disk volume.

EncryptionSettingsVersion string

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

enabled Boolean

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

encryptionSettings List<EncryptionSettingsElementResponse>

A collection of encryption settings, one for each disk volume.

encryptionSettingsVersion String

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

enabled boolean

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

encryptionSettings EncryptionSettingsElementResponse[]

A collection of encryption settings, one for each disk volume.

encryptionSettingsVersion string

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

enabled bool

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

encryption_settings Sequence[EncryptionSettingsElementResponse]

A collection of encryption settings, one for each disk volume.

encryption_settings_version str

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

enabled Boolean

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

encryptionSettings List<Property Map>

A collection of encryption settings, one for each disk volume.

encryptionSettingsVersion String

Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

EncryptionSettingsElement

DiskEncryptionKey Pulumi.AzureNative.Compute.Inputs.KeyVaultAndSecretReference

Key Vault Secret Url and vault id of the disk encryption key

KeyEncryptionKey Pulumi.AzureNative.Compute.Inputs.KeyVaultAndKeyReference

Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

DiskEncryptionKey KeyVaultAndSecretReference

Key Vault Secret Url and vault id of the disk encryption key

KeyEncryptionKey KeyVaultAndKeyReference

Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

diskEncryptionKey KeyVaultAndSecretReference

Key Vault Secret Url and vault id of the disk encryption key

keyEncryptionKey KeyVaultAndKeyReference

Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

diskEncryptionKey KeyVaultAndSecretReference

Key Vault Secret Url and vault id of the disk encryption key

keyEncryptionKey KeyVaultAndKeyReference

Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

disk_encryption_key KeyVaultAndSecretReference

Key Vault Secret Url and vault id of the disk encryption key

key_encryption_key KeyVaultAndKeyReference

Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

diskEncryptionKey Property Map

Key Vault Secret Url and vault id of the disk encryption key

keyEncryptionKey Property Map

Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

EncryptionSettingsElementResponse

DiskEncryptionKey Pulumi.AzureNative.Compute.Inputs.KeyVaultAndSecretReferenceResponse

Key Vault Secret Url and vault id of the disk encryption key

KeyEncryptionKey Pulumi.AzureNative.Compute.Inputs.KeyVaultAndKeyReferenceResponse

Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

DiskEncryptionKey KeyVaultAndSecretReferenceResponse

Key Vault Secret Url and vault id of the disk encryption key

KeyEncryptionKey KeyVaultAndKeyReferenceResponse

Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

diskEncryptionKey KeyVaultAndSecretReferenceResponse

Key Vault Secret Url and vault id of the disk encryption key

keyEncryptionKey KeyVaultAndKeyReferenceResponse

Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

diskEncryptionKey KeyVaultAndSecretReferenceResponse

Key Vault Secret Url and vault id of the disk encryption key

keyEncryptionKey KeyVaultAndKeyReferenceResponse

Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

disk_encryption_key KeyVaultAndSecretReferenceResponse

Key Vault Secret Url and vault id of the disk encryption key

key_encryption_key KeyVaultAndKeyReferenceResponse

Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

diskEncryptionKey Property Map

Key Vault Secret Url and vault id of the disk encryption key

keyEncryptionKey Property Map

Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

EncryptionType

EncryptionAtRestWithPlatformKey
EncryptionAtRestWithPlatformKey

Disk is encrypted at rest with Platform managed key. It is the default encryption type. This is not a valid encryption type for disk encryption sets.

EncryptionAtRestWithCustomerKey
EncryptionAtRestWithCustomerKey

Disk is encrypted at rest with Customer managed key that can be changed and revoked by a customer.

EncryptionAtRestWithPlatformAndCustomerKeys
EncryptionAtRestWithPlatformAndCustomerKeys

Disk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed.

EncryptionTypeEncryptionAtRestWithPlatformKey
EncryptionAtRestWithPlatformKey

Disk is encrypted at rest with Platform managed key. It is the default encryption type. This is not a valid encryption type for disk encryption sets.

EncryptionTypeEncryptionAtRestWithCustomerKey
EncryptionAtRestWithCustomerKey

Disk is encrypted at rest with Customer managed key that can be changed and revoked by a customer.

EncryptionTypeEncryptionAtRestWithPlatformAndCustomerKeys
EncryptionAtRestWithPlatformAndCustomerKeys

Disk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed.

EncryptionAtRestWithPlatformKey
EncryptionAtRestWithPlatformKey

Disk is encrypted at rest with Platform managed key. It is the default encryption type. This is not a valid encryption type for disk encryption sets.

EncryptionAtRestWithCustomerKey
EncryptionAtRestWithCustomerKey

Disk is encrypted at rest with Customer managed key that can be changed and revoked by a customer.

EncryptionAtRestWithPlatformAndCustomerKeys
EncryptionAtRestWithPlatformAndCustomerKeys

Disk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed.

EncryptionAtRestWithPlatformKey
EncryptionAtRestWithPlatformKey

Disk is encrypted at rest with Platform managed key. It is the default encryption type. This is not a valid encryption type for disk encryption sets.

EncryptionAtRestWithCustomerKey
EncryptionAtRestWithCustomerKey

Disk is encrypted at rest with Customer managed key that can be changed and revoked by a customer.

EncryptionAtRestWithPlatformAndCustomerKeys
EncryptionAtRestWithPlatformAndCustomerKeys

Disk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed.

ENCRYPTION_AT_REST_WITH_PLATFORM_KEY
EncryptionAtRestWithPlatformKey

Disk is encrypted at rest with Platform managed key. It is the default encryption type. This is not a valid encryption type for disk encryption sets.

ENCRYPTION_AT_REST_WITH_CUSTOMER_KEY
EncryptionAtRestWithCustomerKey

Disk is encrypted at rest with Customer managed key that can be changed and revoked by a customer.

ENCRYPTION_AT_REST_WITH_PLATFORM_AND_CUSTOMER_KEYS
EncryptionAtRestWithPlatformAndCustomerKeys

Disk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed.

"EncryptionAtRestWithPlatformKey"
EncryptionAtRestWithPlatformKey

Disk is encrypted at rest with Platform managed key. It is the default encryption type. This is not a valid encryption type for disk encryption sets.

"EncryptionAtRestWithCustomerKey"
EncryptionAtRestWithCustomerKey

Disk is encrypted at rest with Customer managed key that can be changed and revoked by a customer.

"EncryptionAtRestWithPlatformAndCustomerKeys"
EncryptionAtRestWithPlatformAndCustomerKeys

Disk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed.

ExtendedLocation

Name string

The name of the extended location.

Type string | Pulumi.AzureNative.Compute.ExtendedLocationTypes

The type of the extended location.

Name string

The name of the extended location.

Type string | ExtendedLocationTypes

The type of the extended location.

name String

The name of the extended location.

type String | ExtendedLocationTypes

The type of the extended location.

name string

The name of the extended location.

type string | ExtendedLocationTypes

The type of the extended location.

name str

The name of the extended location.

type str | ExtendedLocationTypes

The type of the extended location.

name String

The name of the extended location.

type String | "EdgeZone"

The type of the extended location.

ExtendedLocationResponse

Name string

The name of the extended location.

Type string

The type of the extended location.

Name string

The name of the extended location.

Type string

The type of the extended location.

name String

The name of the extended location.

type String

The type of the extended location.

name string

The name of the extended location.

type string

The type of the extended location.

name str

The name of the extended location.

type str

The type of the extended location.

name String

The name of the extended location.

type String

The type of the extended location.

ExtendedLocationTypes

EdgeZone
EdgeZone
ExtendedLocationTypesEdgeZone
EdgeZone
EdgeZone
EdgeZone
EdgeZone
EdgeZone
EDGE_ZONE
EdgeZone
"EdgeZone"
EdgeZone

HyperVGeneration

V1
V1
V2
V2
HyperVGenerationV1
V1
HyperVGenerationV2
V2
V1
V1
V2
V2
V1
V1
V2
V2
V1
V1
V2
V2
"V1"
V1
"V2"
V2

ImageDiskReference

Id string

A relative uri containing either a Platform Image Repository or user image reference.

Lun int

If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.

Id string

A relative uri containing either a Platform Image Repository or user image reference.

Lun int

If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.

id String

A relative uri containing either a Platform Image Repository or user image reference.

lun Integer

If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.

id string

A relative uri containing either a Platform Image Repository or user image reference.

lun number

If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.

id str

A relative uri containing either a Platform Image Repository or user image reference.

lun int

If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.

id String

A relative uri containing either a Platform Image Repository or user image reference.

lun Number

If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.

ImageDiskReferenceResponse

Id string

A relative uri containing either a Platform Image Repository or user image reference.

Lun int

If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.

Id string

A relative uri containing either a Platform Image Repository or user image reference.

Lun int

If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.

id String

A relative uri containing either a Platform Image Repository or user image reference.

lun Integer

If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.

id string

A relative uri containing either a Platform Image Repository or user image reference.

lun number

If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.

id str

A relative uri containing either a Platform Image Repository or user image reference.

lun int

If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.

id String

A relative uri containing either a Platform Image Repository or user image reference.

lun Number

If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.

KeyVaultAndKeyReference

KeyUrl string

Url pointing to a key or secret in KeyVault

SourceVault Pulumi.AzureNative.Compute.Inputs.SourceVault

Resource id of the KeyVault containing the key or secret

KeyUrl string

Url pointing to a key or secret in KeyVault

SourceVault SourceVault

Resource id of the KeyVault containing the key or secret

keyUrl String

Url pointing to a key or secret in KeyVault

sourceVault SourceVault

Resource id of the KeyVault containing the key or secret

keyUrl string

Url pointing to a key or secret in KeyVault

sourceVault SourceVault

Resource id of the KeyVault containing the key or secret

key_url str

Url pointing to a key or secret in KeyVault

source_vault SourceVault

Resource id of the KeyVault containing the key or secret

keyUrl String

Url pointing to a key or secret in KeyVault

sourceVault Property Map

Resource id of the KeyVault containing the key or secret

KeyVaultAndKeyReferenceResponse

KeyUrl string

Url pointing to a key or secret in KeyVault

SourceVault Pulumi.AzureNative.Compute.Inputs.SourceVaultResponse

Resource id of the KeyVault containing the key or secret

KeyUrl string

Url pointing to a key or secret in KeyVault

SourceVault SourceVaultResponse

Resource id of the KeyVault containing the key or secret

keyUrl String

Url pointing to a key or secret in KeyVault

sourceVault SourceVaultResponse

Resource id of the KeyVault containing the key or secret

keyUrl string

Url pointing to a key or secret in KeyVault

sourceVault SourceVaultResponse

Resource id of the KeyVault containing the key or secret

key_url str

Url pointing to a key or secret in KeyVault

source_vault SourceVaultResponse

Resource id of the KeyVault containing the key or secret

keyUrl String

Url pointing to a key or secret in KeyVault

sourceVault Property Map

Resource id of the KeyVault containing the key or secret

KeyVaultAndSecretReference

SecretUrl string

Url pointing to a key or secret in KeyVault

SourceVault Pulumi.AzureNative.Compute.Inputs.SourceVault

Resource id of the KeyVault containing the key or secret

SecretUrl string

Url pointing to a key or secret in KeyVault

SourceVault SourceVault

Resource id of the KeyVault containing the key or secret

secretUrl String

Url pointing to a key or secret in KeyVault

sourceVault SourceVault

Resource id of the KeyVault containing the key or secret

secretUrl string

Url pointing to a key or secret in KeyVault

sourceVault SourceVault

Resource id of the KeyVault containing the key or secret

secret_url str

Url pointing to a key or secret in KeyVault

source_vault SourceVault

Resource id of the KeyVault containing the key or secret

secretUrl String

Url pointing to a key or secret in KeyVault

sourceVault Property Map

Resource id of the KeyVault containing the key or secret

KeyVaultAndSecretReferenceResponse

SecretUrl string

Url pointing to a key or secret in KeyVault

SourceVault Pulumi.AzureNative.Compute.Inputs.SourceVaultResponse

Resource id of the KeyVault containing the key or secret

SecretUrl string

Url pointing to a key or secret in KeyVault

SourceVault SourceVaultResponse

Resource id of the KeyVault containing the key or secret

secretUrl String

Url pointing to a key or secret in KeyVault

sourceVault SourceVaultResponse

Resource id of the KeyVault containing the key or secret

secretUrl string

Url pointing to a key or secret in KeyVault

sourceVault SourceVaultResponse

Resource id of the KeyVault containing the key or secret

secret_url str

Url pointing to a key or secret in KeyVault

source_vault SourceVaultResponse

Resource id of the KeyVault containing the key or secret

secretUrl String

Url pointing to a key or secret in KeyVault

sourceVault Property Map

Resource id of the KeyVault containing the key or secret

NetworkAccessPolicy

AllowAll
AllowAll

The disk can be exported or uploaded to from any network.

AllowPrivate
AllowPrivate

The disk can be exported or uploaded to using a DiskAccess resource's private endpoints.

DenyAll
DenyAll

The disk cannot be exported.

NetworkAccessPolicyAllowAll
AllowAll

The disk can be exported or uploaded to from any network.

NetworkAccessPolicyAllowPrivate
AllowPrivate

The disk can be exported or uploaded to using a DiskAccess resource's private endpoints.

NetworkAccessPolicyDenyAll
DenyAll

The disk cannot be exported.

AllowAll
AllowAll

The disk can be exported or uploaded to from any network.

AllowPrivate
AllowPrivate

The disk can be exported or uploaded to using a DiskAccess resource's private endpoints.

DenyAll
DenyAll

The disk cannot be exported.

AllowAll
AllowAll

The disk can be exported or uploaded to from any network.

AllowPrivate
AllowPrivate

The disk can be exported or uploaded to using a DiskAccess resource's private endpoints.

DenyAll
DenyAll

The disk cannot be exported.

ALLOW_ALL
AllowAll

The disk can be exported or uploaded to from any network.

ALLOW_PRIVATE
AllowPrivate

The disk can be exported or uploaded to using a DiskAccess resource's private endpoints.

DENY_ALL
DenyAll

The disk cannot be exported.

"AllowAll"
AllowAll

The disk can be exported or uploaded to from any network.

"AllowPrivate"
AllowPrivate

The disk can be exported or uploaded to using a DiskAccess resource's private endpoints.

"DenyAll"
DenyAll

The disk cannot be exported.

OperatingSystemTypes

Windows
Windows
Linux
Linux
OperatingSystemTypesWindows
Windows
OperatingSystemTypesLinux
Linux
Windows
Windows
Linux
Linux
Windows
Windows
Linux
Linux
WINDOWS
Windows
LINUX
Linux
"Windows"
Windows
"Linux"
Linux

PurchasePlan

Name string

The plan ID.

Product string

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

Publisher string

The publisher ID.

PromotionCode string

The Offer Promotion Code.

Name string

The plan ID.

Product string

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

Publisher string

The publisher ID.

PromotionCode string

The Offer Promotion Code.

name String

The plan ID.

product String

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

publisher String

The publisher ID.

promotionCode String

The Offer Promotion Code.

name string

The plan ID.

product string

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

publisher string

The publisher ID.

promotionCode string

The Offer Promotion Code.

name str

The plan ID.

product str

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

publisher str

The publisher ID.

promotion_code str

The Offer Promotion Code.

name String

The plan ID.

product String

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

publisher String

The publisher ID.

promotionCode String

The Offer Promotion Code.

PurchasePlanResponse

Name string

The plan ID.

Product string

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

Publisher string

The publisher ID.

PromotionCode string

The Offer Promotion Code.

Name string

The plan ID.

Product string

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

Publisher string

The publisher ID.

PromotionCode string

The Offer Promotion Code.

name String

The plan ID.

product String

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

publisher String

The publisher ID.

promotionCode String

The Offer Promotion Code.

name string

The plan ID.

product string

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

publisher string

The publisher ID.

promotionCode string

The Offer Promotion Code.

name str

The plan ID.

product str

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

publisher str

The publisher ID.

promotion_code str

The Offer Promotion Code.

name String

The plan ID.

product String

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

publisher String

The publisher ID.

promotionCode String

The Offer Promotion Code.

SnapshotSku

Name string | SnapshotStorageAccountTypes

The sku name.

name String | SnapshotStorageAccountTypes

The sku name.

name string | SnapshotStorageAccountTypes

The sku name.

SnapshotSkuResponse

Tier string

The sku tier.

Name string

The sku name.

Tier string

The sku tier.

Name string

The sku name.

tier String

The sku tier.

name String

The sku name.

tier string

The sku tier.

name string

The sku name.

tier str

The sku tier.

name str

The sku name.

tier String

The sku tier.

name String

The sku name.

SnapshotStorageAccountTypes

Standard_LRS
Standard_LRS

Standard HDD locally redundant storage

Premium_LRS
Premium_LRS

Premium SSD locally redundant storage

Standard_ZRS
Standard_ZRS

Standard zone redundant storage

SnapshotStorageAccountTypes_Standard_LRS
Standard_LRS

Standard HDD locally redundant storage

SnapshotStorageAccountTypes_Premium_LRS
Premium_LRS

Premium SSD locally redundant storage

SnapshotStorageAccountTypes_Standard_ZRS
Standard_ZRS

Standard zone redundant storage

Standard_LRS
Standard_LRS

Standard HDD locally redundant storage

Premium_LRS
Premium_LRS

Premium SSD locally redundant storage

Standard_ZRS
Standard_ZRS

Standard zone redundant storage

Standard_LRS
Standard_LRS

Standard HDD locally redundant storage

Premium_LRS
Premium_LRS

Premium SSD locally redundant storage

Standard_ZRS
Standard_ZRS

Standard zone redundant storage

STANDARD_LRS
Standard_LRS

Standard HDD locally redundant storage

PREMIUM_LRS
Premium_LRS

Premium SSD locally redundant storage

STANDARD_ZRS
Standard_ZRS

Standard zone redundant storage

"Standard_LRS"
Standard_LRS

Standard HDD locally redundant storage

"Premium_LRS"
Premium_LRS

Premium SSD locally redundant storage

"Standard_ZRS"
Standard_ZRS

Standard zone redundant storage

SourceVault

Id string

Resource Id

Id string

Resource Id

id String

Resource Id

id string

Resource Id

id str

Resource Id

id String

Resource Id

SourceVaultResponse

Id string

Resource Id

Id string

Resource Id

id String

Resource Id

id string

Resource Id

id str

Resource Id

id String

Resource Id

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:compute:Snapshot mySnapshot2 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName} 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0