azure-native.compute.Snapshot
Explore with Pulumi AI
Snapshot resource. Azure REST API version: 2022-07-02. Prior API version in Azure Native 1.x: 2020-12-01.
Other available API versions: 2016-04-30-preview, 2017-03-30, 2018-06-01, 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02.
Example Usage
Create a snapshot by importing an unmanaged blob from a different subscription.
using System.Collections.Generic;
using System.Linq;
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 = AzureNative.Compute.DiskCreateOption.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/compute/v2"
"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(compute.DiskCreateOptionImport),
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 com.pulumi.azurenative.compute.inputs.CreationDataArgs;
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(CreationDataArgs.builder()
.createOption("Import")
.sourceUri("https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd")
.storageAccountId("subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount")
.build())
.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={
"create_option": azure_native.compute.DiskCreateOption.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: azure_native.compute.DiskCreateOption.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 System.Linq;
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 = AzureNative.Compute.DiskCreateOption.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/compute/v2"
"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(compute.DiskCreateOptionImport),
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 com.pulumi.azurenative.compute.inputs.CreationDataArgs;
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(CreationDataArgs.builder()
.createOption("Import")
.sourceUri("https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd")
.build())
.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={
"create_option": azure_native.compute.DiskCreateOption.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: azure_native.compute.DiskCreateOption.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 in a different region.
using System.Collections.Generic;
using System.Linq;
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 = AzureNative.Compute.DiskCreateOption.CopyStart,
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/compute/v2"
"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(compute.DiskCreateOptionCopyStart),
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 com.pulumi.azurenative.compute.inputs.CreationDataArgs;
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(CreationDataArgs.builder()
.createOption("CopyStart")
.sourceResourceId("subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1")
.build())
.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={
"create_option": azure_native.compute.DiskCreateOption.COPY_START,
"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: azure_native.compute.DiskCreateOption.CopyStart,
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: CopyStart
sourceResourceId: subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1
location: West US
resourceGroupName: myResourceGroup
snapshotName: mySnapshot2
Create a snapshot from an existing snapshot in the same or a different subscription.
using System.Collections.Generic;
using System.Linq;
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 = AzureNative.Compute.DiskCreateOption.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/compute/v2"
"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(compute.DiskCreateOptionCopy),
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 com.pulumi.azurenative.compute.inputs.CreationDataArgs;
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(CreationDataArgs.builder()
.createOption("Copy")
.sourceResourceId("subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1")
.build())
.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={
"create_option": azure_native.compute.DiskCreateOption.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: azure_native.compute.DiskCreateOption.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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Snapshot(name: string, args: SnapshotArgs, opts?: CustomResourceOptions);
@overload
def Snapshot(resource_name: str,
args: SnapshotArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Snapshot(resource_name: str,
opts: Optional[ResourceOptions] = None,
creation_data: Optional[CreationDataArgs] = None,
resource_group_name: Optional[str] = None,
incremental: Optional[bool] = None,
os_type: Optional[OperatingSystemTypes] = 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,
completion_percent: Optional[float] = None,
location: Optional[str] = None,
network_access_policy: Optional[Union[str, NetworkAccessPolicy]] = None,
data_access_auth_mode: Optional[Union[str, DataAccessAuthMode]] = None,
public_network_access: Optional[Union[str, PublicNetworkAccess]] = None,
purchase_plan: Optional[PurchasePlanArgs] = None,
copy_completion_error: Optional[CopyCompletionErrorArgs] = None,
security_profile: Optional[DiskSecurityProfileArgs] = None,
sku: Optional[SnapshotSkuArgs] = None,
snapshot_name: Optional[str] = None,
supported_capabilities: Optional[SupportedCapabilitiesArgs] = None,
supports_hibernation: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var snapshotResource = new AzureNative.Compute.Snapshot("snapshotResource", new()
{
CreationData = new AzureNative.Compute.Inputs.CreationDataArgs
{
CreateOption = "string",
GalleryImageReference = new AzureNative.Compute.Inputs.ImageDiskReferenceArgs
{
CommunityGalleryImageId = "string",
Id = "string",
Lun = 0,
SharedGalleryImageId = "string",
},
ImageReference = new AzureNative.Compute.Inputs.ImageDiskReferenceArgs
{
CommunityGalleryImageId = "string",
Id = "string",
Lun = 0,
SharedGalleryImageId = "string",
},
LogicalSectorSize = 0,
PerformancePlus = false,
SecurityDataUri = "string",
SourceResourceId = "string",
SourceUri = "string",
StorageAccountId = "string",
UploadSizeBytes = 0,
},
ResourceGroupName = "string",
Incremental = false,
OsType = AzureNative.Compute.OperatingSystemTypes.Windows,
DiskAccessId = "string",
DiskSizeGB = 0,
Encryption = new AzureNative.Compute.Inputs.EncryptionArgs
{
DiskEncryptionSetId = "string",
Type = "string",
},
EncryptionSettingsCollection = new AzureNative.Compute.Inputs.EncryptionSettingsCollectionArgs
{
Enabled = false,
EncryptionSettings = new[]
{
new AzureNative.Compute.Inputs.EncryptionSettingsElementArgs
{
DiskEncryptionKey = new AzureNative.Compute.Inputs.KeyVaultAndSecretReferenceArgs
{
SecretUrl = "string",
SourceVault = new AzureNative.Compute.Inputs.SourceVaultArgs
{
Id = "string",
},
},
KeyEncryptionKey = new AzureNative.Compute.Inputs.KeyVaultAndKeyReferenceArgs
{
KeyUrl = "string",
SourceVault = new AzureNative.Compute.Inputs.SourceVaultArgs
{
Id = "string",
},
},
},
},
EncryptionSettingsVersion = "string",
},
ExtendedLocation = new AzureNative.Compute.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
HyperVGeneration = "string",
CompletionPercent = 0,
Location = "string",
NetworkAccessPolicy = "string",
DataAccessAuthMode = "string",
PublicNetworkAccess = "string",
PurchasePlan = new AzureNative.Compute.Inputs.PurchasePlanArgs
{
Name = "string",
Product = "string",
Publisher = "string",
PromotionCode = "string",
},
CopyCompletionError = new AzureNative.Compute.Inputs.CopyCompletionErrorArgs
{
ErrorCode = "string",
ErrorMessage = "string",
},
SecurityProfile = new AzureNative.Compute.Inputs.DiskSecurityProfileArgs
{
SecureVMDiskEncryptionSetId = "string",
SecurityType = "string",
},
Sku = new AzureNative.Compute.Inputs.SnapshotSkuArgs
{
Name = "string",
},
SnapshotName = "string",
SupportedCapabilities = new AzureNative.Compute.Inputs.SupportedCapabilitiesArgs
{
AcceleratedNetwork = false,
Architecture = "string",
DiskControllerTypes = "string",
},
SupportsHibernation = false,
Tags =
{
{ "string", "string" },
},
});
example, err := compute.NewSnapshot(ctx, "snapshotResource", &compute.SnapshotArgs{
CreationData: &compute.CreationDataArgs{
CreateOption: pulumi.String("string"),
GalleryImageReference: &compute.ImageDiskReferenceArgs{
CommunityGalleryImageId: pulumi.String("string"),
Id: pulumi.String("string"),
Lun: pulumi.Int(0),
SharedGalleryImageId: pulumi.String("string"),
},
ImageReference: &compute.ImageDiskReferenceArgs{
CommunityGalleryImageId: pulumi.String("string"),
Id: pulumi.String("string"),
Lun: pulumi.Int(0),
SharedGalleryImageId: pulumi.String("string"),
},
LogicalSectorSize: pulumi.Int(0),
PerformancePlus: pulumi.Bool(false),
SecurityDataUri: pulumi.String("string"),
SourceResourceId: pulumi.String("string"),
SourceUri: pulumi.String("string"),
StorageAccountId: pulumi.String("string"),
UploadSizeBytes: pulumi.Float64(0),
},
ResourceGroupName: pulumi.String("string"),
Incremental: pulumi.Bool(false),
OsType: compute.OperatingSystemTypesWindows,
DiskAccessId: pulumi.String("string"),
DiskSizeGB: pulumi.Int(0),
Encryption: &compute.EncryptionArgs{
DiskEncryptionSetId: pulumi.String("string"),
Type: pulumi.String("string"),
},
EncryptionSettingsCollection: &compute.EncryptionSettingsCollectionArgs{
Enabled: pulumi.Bool(false),
EncryptionSettings: compute.EncryptionSettingsElementArray{
&compute.EncryptionSettingsElementArgs{
DiskEncryptionKey: &compute.KeyVaultAndSecretReferenceArgs{
SecretUrl: pulumi.String("string"),
SourceVault: &compute.SourceVaultArgs{
Id: pulumi.String("string"),
},
},
KeyEncryptionKey: &compute.KeyVaultAndKeyReferenceArgs{
KeyUrl: pulumi.String("string"),
SourceVault: &compute.SourceVaultArgs{
Id: pulumi.String("string"),
},
},
},
},
EncryptionSettingsVersion: pulumi.String("string"),
},
ExtendedLocation: &compute.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
HyperVGeneration: pulumi.String("string"),
CompletionPercent: pulumi.Float64(0),
Location: pulumi.String("string"),
NetworkAccessPolicy: pulumi.String("string"),
DataAccessAuthMode: pulumi.String("string"),
PublicNetworkAccess: pulumi.String("string"),
PurchasePlan: &compute.PurchasePlanArgs{
Name: pulumi.String("string"),
Product: pulumi.String("string"),
Publisher: pulumi.String("string"),
PromotionCode: pulumi.String("string"),
},
CopyCompletionError: &compute.CopyCompletionErrorArgs{
ErrorCode: pulumi.String("string"),
ErrorMessage: pulumi.String("string"),
},
SecurityProfile: &compute.DiskSecurityProfileArgs{
SecureVMDiskEncryptionSetId: pulumi.String("string"),
SecurityType: pulumi.String("string"),
},
Sku: &compute.SnapshotSkuArgs{
Name: pulumi.String("string"),
},
SnapshotName: pulumi.String("string"),
SupportedCapabilities: &compute.SupportedCapabilitiesArgs{
AcceleratedNetwork: pulumi.Bool(false),
Architecture: pulumi.String("string"),
DiskControllerTypes: pulumi.String("string"),
},
SupportsHibernation: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var snapshotResource = new Snapshot("snapshotResource", SnapshotArgs.builder()
.creationData(CreationDataArgs.builder()
.createOption("string")
.galleryImageReference(ImageDiskReferenceArgs.builder()
.communityGalleryImageId("string")
.id("string")
.lun(0)
.sharedGalleryImageId("string")
.build())
.imageReference(ImageDiskReferenceArgs.builder()
.communityGalleryImageId("string")
.id("string")
.lun(0)
.sharedGalleryImageId("string")
.build())
.logicalSectorSize(0)
.performancePlus(false)
.securityDataUri("string")
.sourceResourceId("string")
.sourceUri("string")
.storageAccountId("string")
.uploadSizeBytes(0)
.build())
.resourceGroupName("string")
.incremental(false)
.osType("Windows")
.diskAccessId("string")
.diskSizeGB(0)
.encryption(EncryptionArgs.builder()
.diskEncryptionSetId("string")
.type("string")
.build())
.encryptionSettingsCollection(EncryptionSettingsCollectionArgs.builder()
.enabled(false)
.encryptionSettings(EncryptionSettingsElementArgs.builder()
.diskEncryptionKey(KeyVaultAndSecretReferenceArgs.builder()
.secretUrl("string")
.sourceVault(SourceVaultArgs.builder()
.id("string")
.build())
.build())
.keyEncryptionKey(KeyVaultAndKeyReferenceArgs.builder()
.keyUrl("string")
.sourceVault(SourceVaultArgs.builder()
.id("string")
.build())
.build())
.build())
.encryptionSettingsVersion("string")
.build())
.extendedLocation(ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.hyperVGeneration("string")
.completionPercent(0)
.location("string")
.networkAccessPolicy("string")
.dataAccessAuthMode("string")
.publicNetworkAccess("string")
.purchasePlan(PurchasePlanArgs.builder()
.name("string")
.product("string")
.publisher("string")
.promotionCode("string")
.build())
.copyCompletionError(CopyCompletionErrorArgs.builder()
.errorCode("string")
.errorMessage("string")
.build())
.securityProfile(DiskSecurityProfileArgs.builder()
.secureVMDiskEncryptionSetId("string")
.securityType("string")
.build())
.sku(SnapshotSkuArgs.builder()
.name("string")
.build())
.snapshotName("string")
.supportedCapabilities(SupportedCapabilitiesArgs.builder()
.acceleratedNetwork(false)
.architecture("string")
.diskControllerTypes("string")
.build())
.supportsHibernation(false)
.tags(Map.of("string", "string"))
.build());
snapshot_resource = azure_native.compute.Snapshot("snapshotResource",
creation_data={
"createOption": "string",
"galleryImageReference": {
"communityGalleryImageId": "string",
"id": "string",
"lun": 0,
"sharedGalleryImageId": "string",
},
"imageReference": {
"communityGalleryImageId": "string",
"id": "string",
"lun": 0,
"sharedGalleryImageId": "string",
},
"logicalSectorSize": 0,
"performancePlus": False,
"securityDataUri": "string",
"sourceResourceId": "string",
"sourceUri": "string",
"storageAccountId": "string",
"uploadSizeBytes": 0,
},
resource_group_name="string",
incremental=False,
os_type=azure_native.compute.OperatingSystemTypes.WINDOWS,
disk_access_id="string",
disk_size_gb=0,
encryption={
"diskEncryptionSetId": "string",
"type": "string",
},
encryption_settings_collection={
"enabled": False,
"encryptionSettings": [{
"diskEncryptionKey": {
"secretUrl": "string",
"sourceVault": {
"id": "string",
},
},
"keyEncryptionKey": {
"keyUrl": "string",
"sourceVault": {
"id": "string",
},
},
}],
"encryptionSettingsVersion": "string",
},
extended_location={
"name": "string",
"type": "string",
},
hyper_v_generation="string",
completion_percent=0,
location="string",
network_access_policy="string",
data_access_auth_mode="string",
public_network_access="string",
purchase_plan={
"name": "string",
"product": "string",
"publisher": "string",
"promotionCode": "string",
},
copy_completion_error={
"errorCode": "string",
"errorMessage": "string",
},
security_profile={
"secureVMDiskEncryptionSetId": "string",
"securityType": "string",
},
sku={
"name": "string",
},
snapshot_name="string",
supported_capabilities={
"acceleratedNetwork": False,
"architecture": "string",
"diskControllerTypes": "string",
},
supports_hibernation=False,
tags={
"string": "string",
})
const snapshotResource = new azure_native.compute.Snapshot("snapshotResource", {
creationData: {
createOption: "string",
galleryImageReference: {
communityGalleryImageId: "string",
id: "string",
lun: 0,
sharedGalleryImageId: "string",
},
imageReference: {
communityGalleryImageId: "string",
id: "string",
lun: 0,
sharedGalleryImageId: "string",
},
logicalSectorSize: 0,
performancePlus: false,
securityDataUri: "string",
sourceResourceId: "string",
sourceUri: "string",
storageAccountId: "string",
uploadSizeBytes: 0,
},
resourceGroupName: "string",
incremental: false,
osType: azure_native.compute.OperatingSystemTypes.Windows,
diskAccessId: "string",
diskSizeGB: 0,
encryption: {
diskEncryptionSetId: "string",
type: "string",
},
encryptionSettingsCollection: {
enabled: false,
encryptionSettings: [{
diskEncryptionKey: {
secretUrl: "string",
sourceVault: {
id: "string",
},
},
keyEncryptionKey: {
keyUrl: "string",
sourceVault: {
id: "string",
},
},
}],
encryptionSettingsVersion: "string",
},
extendedLocation: {
name: "string",
type: "string",
},
hyperVGeneration: "string",
completionPercent: 0,
location: "string",
networkAccessPolicy: "string",
dataAccessAuthMode: "string",
publicNetworkAccess: "string",
purchasePlan: {
name: "string",
product: "string",
publisher: "string",
promotionCode: "string",
},
copyCompletionError: {
errorCode: "string",
errorMessage: "string",
},
securityProfile: {
secureVMDiskEncryptionSetId: "string",
securityType: "string",
},
sku: {
name: "string",
},
snapshotName: "string",
supportedCapabilities: {
acceleratedNetwork: false,
architecture: "string",
diskControllerTypes: "string",
},
supportsHibernation: false,
tags: {
string: "string",
},
});
type: azure-native:compute:Snapshot
properties:
completionPercent: 0
copyCompletionError:
errorCode: string
errorMessage: string
creationData:
createOption: string
galleryImageReference:
communityGalleryImageId: string
id: string
lun: 0
sharedGalleryImageId: string
imageReference:
communityGalleryImageId: string
id: string
lun: 0
sharedGalleryImageId: string
logicalSectorSize: 0
performancePlus: false
securityDataUri: string
sourceResourceId: string
sourceUri: string
storageAccountId: string
uploadSizeBytes: 0
dataAccessAuthMode: string
diskAccessId: string
diskSizeGB: 0
encryption:
diskEncryptionSetId: string
type: string
encryptionSettingsCollection:
enabled: false
encryptionSettings:
- diskEncryptionKey:
secretUrl: string
sourceVault:
id: string
keyEncryptionKey:
keyUrl: string
sourceVault:
id: string
encryptionSettingsVersion: string
extendedLocation:
name: string
type: string
hyperVGeneration: string
incremental: false
location: string
networkAccessPolicy: string
osType: Windows
publicNetworkAccess: string
purchasePlan:
name: string
product: string
promotionCode: string
publisher: string
resourceGroupName: string
securityProfile:
secureVMDiskEncryptionSetId: string
securityType: string
sku:
name: string
snapshotName: string
supportedCapabilities:
acceleratedNetwork: false
architecture: string
diskControllerTypes: string
supportsHibernation: false
tags:
string: string
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:
- Creation
Data Pulumi.Azure Native. Compute. Inputs. Creation Data - Disk source information. CreationData information cannot be changed after the disk has been created.
- Resource
Group stringName - The name of the resource group.
- Completion
Percent double - Percentage complete for the background copy when a resource is created via the CopyStart operation.
- Copy
Completion Pulumi.Error Azure Native. Compute. Inputs. Copy Completion Error - Indicates the error details if the background copy of a resource created via the CopyStart operation fails.
- Data
Access string | Pulumi.Auth Mode Azure Native. Compute. Data Access Auth Mode - Additional authentication requirements when exporting or uploading to a disk or snapshot.
- Disk
Access stringId - ARM id of the DiskAccess resource for using private endpoints on disks.
- Disk
Size intGB - 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.
Azure Native. Compute. Inputs. Encryption - Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
- Encryption
Settings Pulumi.Collection Azure Native. Compute. Inputs. Encryption Settings Collection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- Extended
Location Pulumi.Azure Native. Compute. Inputs. Extended Location - The extended location where the snapshot will be created. Extended location cannot be changed.
- Hyper
VGeneration string | Pulumi.Azure Native. Compute. Hyper VGeneration - 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
- Network
Access string | Pulumi.Policy Azure Native. Compute. Network Access Policy - Policy for accessing the disk via network.
- Os
Type Pulumi.Azure Native. Compute. Operating System Types - The Operating System type.
- Public
Network string | Pulumi.Access Azure Native. Compute. Public Network Access - Policy for controlling export on the disk.
- Purchase
Plan Pulumi.Azure Native. Compute. Inputs. Purchase Plan - Purchase plan information for the image from which the source disk for the snapshot was originally created.
- Security
Profile Pulumi.Azure Native. Compute. Inputs. Disk Security Profile - Contains the security related information for the resource.
- Sku
Pulumi.
Azure Native. Compute. Inputs. Snapshot Sku - 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 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.
- Supported
Capabilities Pulumi.Azure Native. Compute. Inputs. Supported Capabilities - List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- Supports
Hibernation bool - Indicates the OS on a snapshot supports hibernation.
- Dictionary<string, string>
- Resource tags
- Creation
Data CreationData Args - Disk source information. CreationData information cannot be changed after the disk has been created.
- Resource
Group stringName - The name of the resource group.
- Completion
Percent float64 - Percentage complete for the background copy when a resource is created via the CopyStart operation.
- Copy
Completion CopyError Completion Error Args - Indicates the error details if the background copy of a resource created via the CopyStart operation fails.
- Data
Access string | DataAuth Mode Access Auth Mode - Additional authentication requirements when exporting or uploading to a disk or snapshot.
- Disk
Access stringId - ARM id of the DiskAccess resource for using private endpoints on disks.
- Disk
Size intGB - 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
Encryption
Args - Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
- Encryption
Settings EncryptionCollection Settings Collection Args - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- Extended
Location ExtendedLocation Args - The extended location where the snapshot will be created. Extended location cannot be changed.
- Hyper
VGeneration 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
- Network
Access string | NetworkPolicy Access Policy - Policy for accessing the disk via network.
- Os
Type OperatingSystem Types - The Operating System type.
- Public
Network string | PublicAccess Network Access - Policy for controlling export on the disk.
- Purchase
Plan PurchasePlan Args - Purchase plan information for the image from which the source disk for the snapshot was originally created.
- Security
Profile DiskSecurity Profile Args - Contains the security related information for the resource.
- Sku
Snapshot
Sku Args - 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 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.
- Supported
Capabilities SupportedCapabilities Args - List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- Supports
Hibernation bool - Indicates the OS on a snapshot supports hibernation.
- map[string]string
- Resource tags
- creation
Data CreationData - Disk source information. CreationData information cannot be changed after the disk has been created.
- resource
Group StringName - The name of the resource group.
- completion
Percent Double - Percentage complete for the background copy when a resource is created via the CopyStart operation.
- copy
Completion CopyError Completion Error - Indicates the error details if the background copy of a resource created via the CopyStart operation fails.
- data
Access String | DataAuth Mode Access Auth Mode - Additional authentication requirements when exporting or uploading to a disk or snapshot.
- disk
Access StringId - ARM id of the DiskAccess resource for using private endpoints on disks.
- disk
Size IntegerGB - 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 Encryption
- Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
- encryption
Settings EncryptionCollection Settings Collection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- extended
Location ExtendedLocation - The extended location where the snapshot will be created. Extended location cannot be changed.
- hyper
VGeneration 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
- network
Access String | NetworkPolicy Access Policy - Policy for accessing the disk via network.
- os
Type OperatingSystem Types - The Operating System type.
- public
Network String | PublicAccess Network Access - Policy for controlling export on the disk.
- purchase
Plan PurchasePlan - Purchase plan information for the image from which the source disk for the snapshot was originally created.
- security
Profile DiskSecurity Profile - Contains the security related information for the resource.
- sku
Snapshot
Sku - 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 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.
- supported
Capabilities SupportedCapabilities - List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- supports
Hibernation Boolean - Indicates the OS on a snapshot supports hibernation.
- Map<String,String>
- Resource tags
- creation
Data CreationData - Disk source information. CreationData information cannot be changed after the disk has been created.
- resource
Group stringName - The name of the resource group.
- completion
Percent number - Percentage complete for the background copy when a resource is created via the CopyStart operation.
- copy
Completion CopyError Completion Error - Indicates the error details if the background copy of a resource created via the CopyStart operation fails.
- data
Access string | DataAuth Mode Access Auth Mode - Additional authentication requirements when exporting or uploading to a disk or snapshot.
- disk
Access stringId - ARM id of the DiskAccess resource for using private endpoints on disks.
- disk
Size numberGB - 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 Encryption
- Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
- encryption
Settings EncryptionCollection Settings Collection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- extended
Location ExtendedLocation - The extended location where the snapshot will be created. Extended location cannot be changed.
- hyper
VGeneration 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
- network
Access string | NetworkPolicy Access Policy - Policy for accessing the disk via network.
- os
Type OperatingSystem Types - The Operating System type.
- public
Network string | PublicAccess Network Access - Policy for controlling export on the disk.
- purchase
Plan PurchasePlan - Purchase plan information for the image from which the source disk for the snapshot was originally created.
- security
Profile DiskSecurity Profile - Contains the security related information for the resource.
- sku
Snapshot
Sku - 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 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.
- supported
Capabilities SupportedCapabilities - List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- supports
Hibernation boolean - Indicates the OS on a snapshot supports hibernation.
- {[key: string]: string}
- Resource tags
- creation_
data CreationData Args - Disk source information. CreationData information cannot be changed after the disk has been created.
- resource_
group_ strname - The name of the resource group.
- completion_
percent float - Percentage complete for the background copy when a resource is created via the CopyStart operation.
- copy_
completion_ Copyerror Completion Error Args - Indicates the error details if the background copy of a resource created via the CopyStart operation fails.
- data_
access_ str | Dataauth_ mode Access Auth Mode - Additional authentication requirements when exporting or uploading to a disk or snapshot.
- disk_
access_ strid - ARM id of the DiskAccess resource for using private endpoints on disks.
- disk_
size_ intgb - 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
Encryption
Args - Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
- encryption_
settings_ Encryptioncollection Settings Collection Args - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- extended_
location ExtendedLocation Args - The extended location where the snapshot will be created. Extended location cannot be changed.
- hyper_
v_ str | Hypergeneration VGeneration - 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_ str | Networkpolicy Access Policy - Policy for accessing the disk via network.
- os_
type OperatingSystem Types - The Operating System type.
- public_
network_ str | Publicaccess Network Access - Policy for controlling export on the disk.
- purchase_
plan PurchasePlan Args - Purchase plan information for the image from which the source disk for the snapshot was originally created.
- security_
profile DiskSecurity Profile Args - Contains the security related information for the resource.
- sku
Snapshot
Sku Args - 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.
- supported_
capabilities SupportedCapabilities Args - List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- supports_
hibernation bool - Indicates the OS on a snapshot supports hibernation.
- Mapping[str, str]
- Resource tags
- creation
Data Property Map - Disk source information. CreationData information cannot be changed after the disk has been created.
- resource
Group StringName - The name of the resource group.
- completion
Percent Number - Percentage complete for the background copy when a resource is created via the CopyStart operation.
- copy
Completion Property MapError - Indicates the error details if the background copy of a resource created via the CopyStart operation fails.
- data
Access String | "AzureAuth Mode Active Directory" | "None" - Additional authentication requirements when exporting or uploading to a disk or snapshot.
- disk
Access StringId - ARM id of the DiskAccess resource for using private endpoints on disks.
- disk
Size NumberGB - 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.
- encryption
Settings Property MapCollection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- extended
Location Property Map - The extended location where the snapshot will be created. Extended location cannot be changed.
- hyper
VGeneration 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
- network
Access String | "AllowPolicy All" | "Allow Private" | "Deny All" - Policy for accessing the disk via network.
- os
Type "Windows" | "Linux" - The Operating System type.
- public
Network String | "Enabled" | "Disabled"Access - Policy for controlling export on the disk.
- purchase
Plan Property Map - Purchase plan information for the image from which the source disk for the snapshot was originally created.
- security
Profile Property Map - Contains the security related information for the resource.
- 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
- snapshot
Name 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.
- supported
Capabilities Property Map - List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- supports
Hibernation Boolean - Indicates the OS on a snapshot supports hibernation.
- Map<String>
- Resource tags
Outputs
All input properties are implicitly available as output properties. Additionally, the Snapshot resource produces the following output properties:
- Disk
Size doubleBytes - The size of the disk in bytes. This field is read only.
- Disk
State string - The state of the snapshot.
- Id string
- The provider-assigned unique ID for this managed resource.
- Incremental
Snapshot stringFamily Id - Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.
- Managed
By string - Unused. Always Null.
- Name string
- Resource name
- Provisioning
State string - The disk provisioning state.
- Time
Created string - The time when the snapshot was created.
- Type string
- Resource type
- Unique
Id string - Unique Guid identifying the resource.
- Disk
Size float64Bytes - The size of the disk in bytes. This field is read only.
- Disk
State string - The state of the snapshot.
- Id string
- The provider-assigned unique ID for this managed resource.
- Incremental
Snapshot stringFamily Id - Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.
- Managed
By string - Unused. Always Null.
- Name string
- Resource name
- Provisioning
State string - The disk provisioning state.
- Time
Created string - The time when the snapshot was created.
- Type string
- Resource type
- Unique
Id string - Unique Guid identifying the resource.
- disk
Size DoubleBytes - The size of the disk in bytes. This field is read only.
- disk
State String - The state of the snapshot.
- id String
- The provider-assigned unique ID for this managed resource.
- incremental
Snapshot StringFamily Id - Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.
- managed
By String - Unused. Always Null.
- name String
- Resource name
- provisioning
State String - The disk provisioning state.
- time
Created String - The time when the snapshot was created.
- type String
- Resource type
- unique
Id String - Unique Guid identifying the resource.
- disk
Size numberBytes - The size of the disk in bytes. This field is read only.
- disk
State string - The state of the snapshot.
- id string
- The provider-assigned unique ID for this managed resource.
- incremental
Snapshot stringFamily Id - Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.
- managed
By string - Unused. Always Null.
- name string
- Resource name
- provisioning
State string - The disk provisioning state.
- time
Created string - The time when the snapshot was created.
- type string
- Resource type
- unique
Id string - Unique Guid identifying the resource.
- disk_
size_ floatbytes - 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.
- incremental_
snapshot_ strfamily_ id - Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.
- 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.
- disk
Size NumberBytes - The size of the disk in bytes. This field is read only.
- disk
State String - The state of the snapshot.
- id String
- The provider-assigned unique ID for this managed resource.
- incremental
Snapshot StringFamily Id - Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.
- managed
By String - Unused. Always Null.
- name String
- Resource name
- provisioning
State String - The disk provisioning state.
- time
Created String - The time when the snapshot was created.
- type String
- Resource type
- unique
Id String - Unique Guid identifying the resource.
Supporting Types
Architecture, ArchitectureArgs
- X64
- x64
- Arm64
- Arm64
- Architecture
X64 - x64
- Architecture
Arm64 - Arm64
- X64
- x64
- Arm64
- Arm64
- X64
- x64
- Arm64
- Arm64
- X64
- x64
- ARM64
- Arm64
- "x64"
- x64
- "Arm64"
- Arm64
CopyCompletionError, CopyCompletionErrorArgs
- Error
Code string | Pulumi.Azure Native. Compute. Copy Completion Error Reason - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- Error
Message string - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- Error
Code string | CopyCompletion Error Reason - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- Error
Message string - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- error
Code String | CopyCompletion Error Reason - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- error
Message String - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- error
Code string | CopyCompletion Error Reason - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- error
Message string - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- error_
code str | CopyCompletion Error Reason - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- error_
message str - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- error
Code String | "CopySource Not Found" - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- error
Message String - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
CopyCompletionErrorReason, CopyCompletionErrorReasonArgs
- Copy
Source Not Found - CopySourceNotFoundIndicates that the source snapshot was deleted while the background copy of the resource created via CopyStart operation was in progress.
- Copy
Completion Error Reason Copy Source Not Found - CopySourceNotFoundIndicates that the source snapshot was deleted while the background copy of the resource created via CopyStart operation was in progress.
- Copy
Source Not Found - CopySourceNotFoundIndicates that the source snapshot was deleted while the background copy of the resource created via CopyStart operation was in progress.
- Copy
Source Not Found - CopySourceNotFoundIndicates that the source snapshot was deleted while the background copy of the resource created via CopyStart operation was in progress.
- COPY_SOURCE_NOT_FOUND
- CopySourceNotFoundIndicates that the source snapshot was deleted while the background copy of the resource created via CopyStart operation was in progress.
- "Copy
Source Not Found" - CopySourceNotFoundIndicates that the source snapshot was deleted while the background copy of the resource created via CopyStart operation was in progress.
CopyCompletionErrorResponse, CopyCompletionErrorResponseArgs
- Error
Code string - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- Error
Message string - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- Error
Code string - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- Error
Message string - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- error
Code String - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- error
Message String - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- error
Code string - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- error
Message string - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- error_
code str - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- error_
message str - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- error
Code String - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- error
Message String - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
CreationData, CreationDataArgs
- Create
Option string | Pulumi.Azure Native. Compute. Disk Create Option - This enumerates the possible sources of a disk's creation.
- Gallery
Image Pulumi.Reference Azure Native. Compute. Inputs. Image Disk Reference - Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- Image
Reference Pulumi.Azure Native. Compute. Inputs. Image Disk Reference - Disk source information for PIR or user images.
- Logical
Sector intSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- Performance
Plus bool - Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- Security
Data stringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- Source
Resource stringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- Source
Uri string - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- Storage
Account stringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- Upload
Size doubleBytes - 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 string | DiskCreate Option - This enumerates the possible sources of a disk's creation.
- Gallery
Image ImageReference Disk Reference - Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- Image
Reference ImageDisk Reference - Disk source information for PIR or user images.
- Logical
Sector intSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- Performance
Plus bool - Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- Security
Data stringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- Source
Resource stringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- Source
Uri string - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- Storage
Account stringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- Upload
Size float64Bytes - 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 String | DiskCreate Option - This enumerates the possible sources of a disk's creation.
- gallery
Image ImageReference Disk Reference - Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- image
Reference ImageDisk Reference - Disk source information for PIR or user images.
- logical
Sector IntegerSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performance
Plus Boolean - Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- security
Data StringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- source
Resource StringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- source
Uri String - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- storage
Account StringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- upload
Size DoubleBytes - 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 string | DiskCreate Option - This enumerates the possible sources of a disk's creation.
- gallery
Image ImageReference Disk Reference - Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- image
Reference ImageDisk Reference - Disk source information for PIR or user images.
- logical
Sector numberSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performance
Plus boolean - Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- security
Data stringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- source
Resource stringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- source
Uri string - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- storage
Account stringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- upload
Size numberBytes - 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 | DiskCreate Option - This enumerates the possible sources of a disk's creation.
- gallery_
image_ Imagereference Disk Reference - Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- image_
reference ImageDisk Reference - Disk source information for PIR or user images.
- logical_
sector_ intsize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performance_
plus bool - Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- security_
data_ struri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- source_
resource_ strid - 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_ strid - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- upload_
size_ floatbytes - 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 String | "Empty" | "Attach" | "FromImage" | "Import" | "Copy" | "Restore" | "Upload" | "Copy Start" | "Import Secure" | "Upload Prepared Secure" - This enumerates the possible sources of a disk's creation.
- gallery
Image Property MapReference - Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- image
Reference Property Map - Disk source information for PIR or user images.
- logical
Sector NumberSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performance
Plus Boolean - Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- security
Data StringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- source
Resource StringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- source
Uri String - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- storage
Account StringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- upload
Size NumberBytes - 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, CreationDataResponseArgs
- Create
Option string - This enumerates the possible sources of a disk's creation.
- Source
Unique stringId - If this field is set, this is the unique id identifying the source of this resource.
- Gallery
Image Pulumi.Reference Azure Native. Compute. Inputs. Image Disk Reference Response - Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- Image
Reference Pulumi.Azure Native. Compute. Inputs. Image Disk Reference Response - Disk source information for PIR or user images.
- Logical
Sector intSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- Performance
Plus bool - Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- Security
Data stringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- Source
Resource stringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- Source
Uri string - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- Storage
Account stringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- Upload
Size doubleBytes - 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 string - This enumerates the possible sources of a disk's creation.
- Source
Unique stringId - If this field is set, this is the unique id identifying the source of this resource.
- Gallery
Image ImageReference Disk Reference Response - Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- Image
Reference ImageDisk Reference Response - Disk source information for PIR or user images.
- Logical
Sector intSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- Performance
Plus bool - Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- Security
Data stringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- Source
Resource stringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- Source
Uri string - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- Storage
Account stringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- Upload
Size float64Bytes - 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 String - This enumerates the possible sources of a disk's creation.
- source
Unique StringId - If this field is set, this is the unique id identifying the source of this resource.
- gallery
Image ImageReference Disk Reference Response - Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- image
Reference ImageDisk Reference Response - Disk source information for PIR or user images.
- logical
Sector IntegerSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performance
Plus Boolean - Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- security
Data StringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- source
Resource StringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- source
Uri String - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- storage
Account StringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- upload
Size DoubleBytes - 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 string - This enumerates the possible sources of a disk's creation.
- source
Unique stringId - If this field is set, this is the unique id identifying the source of this resource.
- gallery
Image ImageReference Disk Reference Response - Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- image
Reference ImageDisk Reference Response - Disk source information for PIR or user images.
- logical
Sector numberSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performance
Plus boolean - Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- security
Data stringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- source
Resource stringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- source
Uri string - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- storage
Account stringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- upload
Size numberBytes - 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_ strid - If this field is set, this is the unique id identifying the source of this resource.
- gallery_
image_ Imagereference Disk Reference Response - Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- image_
reference ImageDisk Reference Response - Disk source information for PIR or user images.
- logical_
sector_ intsize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performance_
plus bool - Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- security_
data_ struri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- source_
resource_ strid - 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_ strid - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- upload_
size_ floatbytes - 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 String - This enumerates the possible sources of a disk's creation.
- source
Unique StringId - If this field is set, this is the unique id identifying the source of this resource.
- gallery
Image Property MapReference - Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- image
Reference Property Map - Disk source information for PIR or user images.
- logical
Sector NumberSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performance
Plus Boolean - Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- security
Data StringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- source
Resource StringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- source
Uri String - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- storage
Account StringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- upload
Size NumberBytes - 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).
DataAccessAuthMode, DataAccessAuthModeArgs
- Azure
Active Directory - AzureActiveDirectoryWhen export/upload URL is used, the system checks if the user has an identity in Azure Active Directory and has necessary permissions to export/upload the data. Please refer to aka.ms/DisksAzureADAuth.
- None
- NoneNo additional authentication would be performed when accessing export/upload URL.
- Data
Access Auth Mode Azure Active Directory - AzureActiveDirectoryWhen export/upload URL is used, the system checks if the user has an identity in Azure Active Directory and has necessary permissions to export/upload the data. Please refer to aka.ms/DisksAzureADAuth.
- Data
Access Auth Mode None - NoneNo additional authentication would be performed when accessing export/upload URL.
- Azure
Active Directory - AzureActiveDirectoryWhen export/upload URL is used, the system checks if the user has an identity in Azure Active Directory and has necessary permissions to export/upload the data. Please refer to aka.ms/DisksAzureADAuth.
- None
- NoneNo additional authentication would be performed when accessing export/upload URL.
- Azure
Active Directory - AzureActiveDirectoryWhen export/upload URL is used, the system checks if the user has an identity in Azure Active Directory and has necessary permissions to export/upload the data. Please refer to aka.ms/DisksAzureADAuth.
- None
- NoneNo additional authentication would be performed when accessing export/upload URL.
- AZURE_ACTIVE_DIRECTORY
- AzureActiveDirectoryWhen export/upload URL is used, the system checks if the user has an identity in Azure Active Directory and has necessary permissions to export/upload the data. Please refer to aka.ms/DisksAzureADAuth.
- NONE
- NoneNo additional authentication would be performed when accessing export/upload URL.
- "Azure
Active Directory" - AzureActiveDirectoryWhen export/upload URL is used, the system checks if the user has an identity in Azure Active Directory and has necessary permissions to export/upload the data. Please refer to aka.ms/DisksAzureADAuth.
- "None"
- NoneNo additional authentication would be performed when accessing export/upload URL.
DiskCreateOption, DiskCreateOptionArgs
- Empty
- EmptyCreate an empty data disk of a size given by diskSizeGB.
- Attach
- AttachDisk will be attached to a VM.
- From
Image - FromImageCreate a new disk from a platform image specified by the given imageReference or galleryImageReference.
- Import
- ImportCreate a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.
- Copy
- CopyCreate a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.
- Restore
- RestoreCreate a new disk by copying from a backup recovery point.
- Upload
- UploadCreate a new disk by obtaining a write token and using it to directly upload the contents of the disk.
- Copy
Start - CopyStartCreate a new disk by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source.
- Import
Secure - ImportSecureSimilar to Import create option. Create a new Trusted Launch VM or Confidential VM supported disk by importing additional blob for VM guest state specified by securityDataUri in storage account specified by storageAccountId
- Upload
Prepared Secure - UploadPreparedSecureSimilar to Upload create option. Create a new Trusted Launch VM or Confidential VM supported disk and upload using write token in both disk and VM guest state
- Disk
Create Option Empty - EmptyCreate an empty data disk of a size given by diskSizeGB.
- Disk
Create Option Attach - AttachDisk will be attached to a VM.
- Disk
Create Option From Image - FromImageCreate a new disk from a platform image specified by the given imageReference or galleryImageReference.
- Disk
Create Option Import - ImportCreate a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.
- Disk
Create Option Copy - CopyCreate a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.
- Disk
Create Option Restore - RestoreCreate a new disk by copying from a backup recovery point.
- Disk
Create Option Upload - UploadCreate a new disk by obtaining a write token and using it to directly upload the contents of the disk.
- Disk
Create Option Copy Start - CopyStartCreate a new disk by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source.
- Disk
Create Option Import Secure - ImportSecureSimilar to Import create option. Create a new Trusted Launch VM or Confidential VM supported disk by importing additional blob for VM guest state specified by securityDataUri in storage account specified by storageAccountId
- Disk
Create Option Upload Prepared Secure - UploadPreparedSecureSimilar to Upload create option. Create a new Trusted Launch VM or Confidential VM supported disk and upload using write token in both disk and VM guest state
- Empty
- EmptyCreate an empty data disk of a size given by diskSizeGB.
- Attach
- AttachDisk will be attached to a VM.
- From
Image - FromImageCreate a new disk from a platform image specified by the given imageReference or galleryImageReference.
- Import
- ImportCreate a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.
- Copy
- CopyCreate a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.
- Restore
- RestoreCreate a new disk by copying from a backup recovery point.
- Upload
- UploadCreate a new disk by obtaining a write token and using it to directly upload the contents of the disk.
- Copy
Start - CopyStartCreate a new disk by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source.
- Import
Secure - ImportSecureSimilar to Import create option. Create a new Trusted Launch VM or Confidential VM supported disk by importing additional blob for VM guest state specified by securityDataUri in storage account specified by storageAccountId
- Upload
Prepared Secure - UploadPreparedSecureSimilar to Upload create option. Create a new Trusted Launch VM or Confidential VM supported disk and upload using write token in both disk and VM guest state
- Empty
- EmptyCreate an empty data disk of a size given by diskSizeGB.
- Attach
- AttachDisk will be attached to a VM.
- From
Image - FromImageCreate a new disk from a platform image specified by the given imageReference or galleryImageReference.
- Import
- ImportCreate a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.
- Copy
- CopyCreate a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.
- Restore
- RestoreCreate a new disk by copying from a backup recovery point.
- Upload
- UploadCreate a new disk by obtaining a write token and using it to directly upload the contents of the disk.
- Copy
Start - CopyStartCreate a new disk by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source.
- Import
Secure - ImportSecureSimilar to Import create option. Create a new Trusted Launch VM or Confidential VM supported disk by importing additional blob for VM guest state specified by securityDataUri in storage account specified by storageAccountId
- Upload
Prepared Secure - UploadPreparedSecureSimilar to Upload create option. Create a new Trusted Launch VM or Confidential VM supported disk and upload using write token in both disk and VM guest state
- EMPTY
- EmptyCreate an empty data disk of a size given by diskSizeGB.
- ATTACH
- AttachDisk will be attached to a VM.
- FROM_IMAGE
- FromImageCreate a new disk from a platform image specified by the given imageReference or galleryImageReference.
- IMPORT_
- ImportCreate a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.
- COPY
- CopyCreate a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.
- RESTORE
- RestoreCreate a new disk by copying from a backup recovery point.
- UPLOAD
- UploadCreate a new disk by obtaining a write token and using it to directly upload the contents of the disk.
- COPY_START
- CopyStartCreate a new disk by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source.
- IMPORT_SECURE
- ImportSecureSimilar to Import create option. Create a new Trusted Launch VM or Confidential VM supported disk by importing additional blob for VM guest state specified by securityDataUri in storage account specified by storageAccountId
- UPLOAD_PREPARED_SECURE
- UploadPreparedSecureSimilar to Upload create option. Create a new Trusted Launch VM or Confidential VM supported disk and upload using write token in both disk and VM guest state
- "Empty"
- EmptyCreate an empty data disk of a size given by diskSizeGB.
- "Attach"
- AttachDisk will be attached to a VM.
- "From
Image" - FromImageCreate a new disk from a platform image specified by the given imageReference or galleryImageReference.
- "Import"
- ImportCreate a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.
- "Copy"
- CopyCreate a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.
- "Restore"
- RestoreCreate a new disk by copying from a backup recovery point.
- "Upload"
- UploadCreate a new disk by obtaining a write token and using it to directly upload the contents of the disk.
- "Copy
Start" - CopyStartCreate a new disk by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source.
- "Import
Secure" - ImportSecureSimilar to Import create option. Create a new Trusted Launch VM or Confidential VM supported disk by importing additional blob for VM guest state specified by securityDataUri in storage account specified by storageAccountId
- "Upload
Prepared Secure" - UploadPreparedSecureSimilar to Upload create option. Create a new Trusted Launch VM or Confidential VM supported disk and upload using write token in both disk and VM guest state
DiskSecurityProfile, DiskSecurityProfileArgs
- Secure
VMDisk stringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- Security
Type string | Pulumi.Azure Native. Compute. Disk Security Types - Specifies the SecurityType of the VM. Applicable for OS disks only.
- Secure
VMDisk stringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- Security
Type string | DiskSecurity Types - Specifies the SecurityType of the VM. Applicable for OS disks only.
- secure
VMDisk StringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- security
Type String | DiskSecurity Types - Specifies the SecurityType of the VM. Applicable for OS disks only.
- secure
VMDisk stringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- security
Type string | DiskSecurity Types - Specifies the SecurityType of the VM. Applicable for OS disks only.
- secure_
vm_ strdisk_ encryption_ set_ id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- security_
type str | DiskSecurity Types - Specifies the SecurityType of the VM. Applicable for OS disks only.
- secure
VMDisk StringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- security
Type String | "TrustedLaunch" | "Confidential VM_VMGuest State Only Encrypted With Platform Key" | "Confidential VM_Disk Encrypted With Platform Key" | "Confidential VM_Disk Encrypted With Customer Key" - Specifies the SecurityType of the VM. Applicable for OS disks only.
DiskSecurityProfileResponse, DiskSecurityProfileResponseArgs
- Secure
VMDisk stringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- Security
Type string - Specifies the SecurityType of the VM. Applicable for OS disks only.
- Secure
VMDisk stringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- Security
Type string - Specifies the SecurityType of the VM. Applicable for OS disks only.
- secure
VMDisk StringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- security
Type String - Specifies the SecurityType of the VM. Applicable for OS disks only.
- secure
VMDisk stringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- security
Type string - Specifies the SecurityType of the VM. Applicable for OS disks only.
- secure_
vm_ strdisk_ encryption_ set_ id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- security_
type str - Specifies the SecurityType of the VM. Applicable for OS disks only.
- secure
VMDisk StringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- security
Type String - Specifies the SecurityType of the VM. Applicable for OS disks only.
DiskSecurityTypes, DiskSecurityTypesArgs
- Trusted
Launch - TrustedLaunchTrusted Launch provides security features such as secure boot and virtual Trusted Platform Module (vTPM)
- Confidential
VM_VMGuest State Only Encrypted With Platform Key - ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKeyIndicates Confidential VM disk with only VM guest state encrypted
- Confidential
VM_Disk Encrypted With Platform Key - ConfidentialVM_DiskEncryptedWithPlatformKeyIndicates Confidential VM disk with both OS disk and VM guest state encrypted with a platform managed key
- Confidential
VM_Disk Encrypted With Customer Key - ConfidentialVM_DiskEncryptedWithCustomerKeyIndicates Confidential VM disk with both OS disk and VM guest state encrypted with a customer managed key
- Disk
Security Types Trusted Launch - TrustedLaunchTrusted Launch provides security features such as secure boot and virtual Trusted Platform Module (vTPM)
- Disk
Security Types_Confidential VM_VMGuest State Only Encrypted With Platform Key - ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKeyIndicates Confidential VM disk with only VM guest state encrypted
- Disk
Security Types_Confidential VM_Disk Encrypted With Platform Key - ConfidentialVM_DiskEncryptedWithPlatformKeyIndicates Confidential VM disk with both OS disk and VM guest state encrypted with a platform managed key
- Disk
Security Types_Confidential VM_Disk Encrypted With Customer Key - ConfidentialVM_DiskEncryptedWithCustomerKeyIndicates Confidential VM disk with both OS disk and VM guest state encrypted with a customer managed key
- Trusted
Launch - TrustedLaunchTrusted Launch provides security features such as secure boot and virtual Trusted Platform Module (vTPM)
- Confidential
VM_VMGuest State Only Encrypted With Platform Key - ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKeyIndicates Confidential VM disk with only VM guest state encrypted
- Confidential
VM_Disk Encrypted With Platform Key - ConfidentialVM_DiskEncryptedWithPlatformKeyIndicates Confidential VM disk with both OS disk and VM guest state encrypted with a platform managed key
- Confidential
VM_Disk Encrypted With Customer Key - ConfidentialVM_DiskEncryptedWithCustomerKeyIndicates Confidential VM disk with both OS disk and VM guest state encrypted with a customer managed key
- Trusted
Launch - TrustedLaunchTrusted Launch provides security features such as secure boot and virtual Trusted Platform Module (vTPM)
- Confidential
VM_VMGuest State Only Encrypted With Platform Key - ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKeyIndicates Confidential VM disk with only VM guest state encrypted
- Confidential
VM_Disk Encrypted With Platform Key - ConfidentialVM_DiskEncryptedWithPlatformKeyIndicates Confidential VM disk with both OS disk and VM guest state encrypted with a platform managed key
- Confidential
VM_Disk Encrypted With Customer Key - ConfidentialVM_DiskEncryptedWithCustomerKeyIndicates Confidential VM disk with both OS disk and VM guest state encrypted with a customer managed key
- TRUSTED_LAUNCH
- TrustedLaunchTrusted Launch provides security features such as secure boot and virtual Trusted Platform Module (vTPM)
- CONFIDENTIAL_V_M_VM_GUEST_STATE_ONLY_ENCRYPTED_WITH_PLATFORM_KEY
- ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKeyIndicates Confidential VM disk with only VM guest state encrypted
- CONFIDENTIAL_V_M_DISK_ENCRYPTED_WITH_PLATFORM_KEY
- ConfidentialVM_DiskEncryptedWithPlatformKeyIndicates Confidential VM disk with both OS disk and VM guest state encrypted with a platform managed key
- CONFIDENTIAL_V_M_DISK_ENCRYPTED_WITH_CUSTOMER_KEY
- ConfidentialVM_DiskEncryptedWithCustomerKeyIndicates Confidential VM disk with both OS disk and VM guest state encrypted with a customer managed key
- "Trusted
Launch" - TrustedLaunchTrusted Launch provides security features such as secure boot and virtual Trusted Platform Module (vTPM)
- "Confidential
VM_VMGuest State Only Encrypted With Platform Key" - ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKeyIndicates Confidential VM disk with only VM guest state encrypted
- "Confidential
VM_Disk Encrypted With Platform Key" - ConfidentialVM_DiskEncryptedWithPlatformKeyIndicates Confidential VM disk with both OS disk and VM guest state encrypted with a platform managed key
- "Confidential
VM_Disk Encrypted With Customer Key" - ConfidentialVM_DiskEncryptedWithCustomerKeyIndicates Confidential VM disk with both OS disk and VM guest state encrypted with a customer managed key
Encryption, EncryptionArgs
- Disk
Encryption stringSet Id - ResourceId of the disk encryption set to use for enabling encryption at rest.
- Type
string | Pulumi.
Azure Native. Compute. Encryption Type - The type of key used to encrypt the data of the disk.
- Disk
Encryption stringSet Id - ResourceId of the disk encryption set to use for enabling encryption at rest.
- Type
string | Encryption
Type - The type of key used to encrypt the data of the disk.
- disk
Encryption StringSet Id - ResourceId of the disk encryption set to use for enabling encryption at rest.
- type
String | Encryption
Type - The type of key used to encrypt the data of the disk.
- disk
Encryption stringSet Id - ResourceId of the disk encryption set to use for enabling encryption at rest.
- type
string | Encryption
Type - The type of key used to encrypt the data of the disk.
- disk_
encryption_ strset_ id - ResourceId of the disk encryption set to use for enabling encryption at rest.
- type
str | Encryption
Type - The type of key used to encrypt the data of the disk.
- disk
Encryption StringSet Id - ResourceId of the disk encryption set to use for enabling encryption at rest.
- type
String | "Encryption
At Rest With Platform Key" | "Encryption At Rest With Customer Key" | "Encryption At Rest With Platform And Customer Keys" - The type of key used to encrypt the data of the disk.
EncryptionResponse, EncryptionResponseArgs
- Disk
Encryption stringSet Id - 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 stringSet Id - 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 StringSet Id - 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 stringSet Id - 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_ strset_ id - 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.
- disk
Encryption StringSet Id - 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, EncryptionSettingsCollectionArgs
- 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 List<Pulumi.Azure Native. Compute. Inputs. Encryption Settings Element> - A collection of encryption settings, one for each disk volume.
- Encryption
Settings stringVersion - 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 []EncryptionSettings Element - A collection of encryption settings, one for each disk volume.
- Encryption
Settings stringVersion - 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.
- encryption
Settings List<EncryptionSettings Element> - A collection of encryption settings, one for each disk volume.
- encryption
Settings StringVersion - 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.
- encryption
Settings EncryptionSettings Element[] - A collection of encryption settings, one for each disk volume.
- encryption
Settings stringVersion - 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[EncryptionSettings Element] - A collection of encryption settings, one for each disk volume.
- encryption_
settings_ strversion - 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.
- encryption
Settings List<Property Map> - A collection of encryption settings, one for each disk volume.
- encryption
Settings StringVersion - 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, EncryptionSettingsCollectionResponseArgs
- 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 List<Pulumi.Azure Native. Compute. Inputs. Encryption Settings Element Response> - A collection of encryption settings, one for each disk volume.
- Encryption
Settings stringVersion - 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 []EncryptionSettings Element Response - A collection of encryption settings, one for each disk volume.
- Encryption
Settings stringVersion - 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.
- encryption
Settings List<EncryptionSettings Element Response> - A collection of encryption settings, one for each disk volume.
- encryption
Settings StringVersion - 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.
- encryption
Settings EncryptionSettings Element Response[] - A collection of encryption settings, one for each disk volume.
- encryption
Settings stringVersion - 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[EncryptionSettings Element Response] - A collection of encryption settings, one for each disk volume.
- encryption_
settings_ strversion - 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.
- encryption
Settings List<Property Map> - A collection of encryption settings, one for each disk volume.
- encryption
Settings StringVersion - 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, EncryptionSettingsElementArgs
- Disk
Encryption Pulumi.Key Azure Native. Compute. Inputs. Key Vault And Secret Reference - Key Vault Secret Url and vault id of the disk encryption key
- Key
Encryption Pulumi.Key Azure Native. Compute. Inputs. Key Vault And Key Reference - 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 KeyKey Vault And Secret Reference - Key Vault Secret Url and vault id of the disk encryption key
- Key
Encryption KeyKey Vault And Key Reference - 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 KeyKey Vault And Secret Reference - Key Vault Secret Url and vault id of the disk encryption key
- key
Encryption KeyKey Vault And Key Reference - 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 KeyKey Vault And Secret Reference - Key Vault Secret Url and vault id of the disk encryption key
- key
Encryption KeyKey Vault And Key Reference - 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_ Keykey Vault And Secret Reference - Key Vault Secret Url and vault id of the disk encryption key
- key_
encryption_ Keykey Vault And Key Reference - 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 Property MapKey - Key Vault Secret Url and vault id of the disk encryption key
- key
Encryption Property MapKey - 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, EncryptionSettingsElementResponseArgs
- Disk
Encryption Pulumi.Key Azure Native. Compute. Inputs. Key Vault And Secret Reference Response - Key Vault Secret Url and vault id of the disk encryption key
- Key
Encryption Pulumi.Key Azure Native. Compute. Inputs. Key Vault And Key Reference Response - 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 KeyKey Vault And Secret Reference Response - Key Vault Secret Url and vault id of the disk encryption key
- Key
Encryption KeyKey Vault And Key Reference Response - 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 KeyKey Vault And Secret Reference Response - Key Vault Secret Url and vault id of the disk encryption key
- key
Encryption KeyKey Vault And Key Reference Response - 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 KeyKey Vault And Secret Reference Response - Key Vault Secret Url and vault id of the disk encryption key
- key
Encryption KeyKey Vault And Key Reference Response - 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_ Keykey Vault And Secret Reference Response - Key Vault Secret Url and vault id of the disk encryption key
- key_
encryption_ Keykey Vault And Key Reference Response - 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 Property MapKey - Key Vault Secret Url and vault id of the disk encryption key
- key
Encryption Property MapKey - 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, EncryptionTypeArgs
- Encryption
At Rest With Platform Key - EncryptionAtRestWithPlatformKeyDisk 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 - EncryptionAtRestWithCustomerKeyDisk 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 - EncryptionAtRestWithPlatformAndCustomerKeysDisk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed.
- Encryption
Type Encryption At Rest With Platform Key - EncryptionAtRestWithPlatformKeyDisk 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
Type Encryption At Rest With Customer Key - EncryptionAtRestWithCustomerKeyDisk is encrypted at rest with Customer managed key that can be changed and revoked by a customer.
- Encryption
Type Encryption At Rest With Platform And Customer Keys - EncryptionAtRestWithPlatformAndCustomerKeysDisk 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 - EncryptionAtRestWithPlatformKeyDisk 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 - EncryptionAtRestWithCustomerKeyDisk 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 - EncryptionAtRestWithPlatformAndCustomerKeysDisk 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 - EncryptionAtRestWithPlatformKeyDisk 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 - EncryptionAtRestWithCustomerKeyDisk 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 - EncryptionAtRestWithPlatformAndCustomerKeysDisk 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
- EncryptionAtRestWithPlatformKeyDisk 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
- EncryptionAtRestWithCustomerKeyDisk 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
- EncryptionAtRestWithPlatformAndCustomerKeysDisk 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" - EncryptionAtRestWithPlatformKeyDisk 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" - EncryptionAtRestWithCustomerKeyDisk 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" - EncryptionAtRestWithPlatformAndCustomerKeysDisk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed.
ExtendedLocation, ExtendedLocationArgs
- Name string
- The name of the extended location.
- Type
string | Pulumi.
Azure Native. Compute. Extended Location Types - The type of the extended location.
- Name string
- The name of the extended location.
- Type
string | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | Extended
Location Types - The type of the extended location.
- name string
- The name of the extended location.
- type
string | Extended
Location Types - The type of the extended location.
- name str
- The name of the extended location.
- type
str | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | "Edge
Zone" - The type of the extended location.
ExtendedLocationResponse, ExtendedLocationResponseArgs
ExtendedLocationTypes, ExtendedLocationTypesArgs
- Edge
Zone - EdgeZone
- Extended
Location Types Edge Zone - EdgeZone
- Edge
Zone - EdgeZone
- Edge
Zone - EdgeZone
- EDGE_ZONE
- EdgeZone
- "Edge
Zone" - EdgeZone
HyperVGeneration, HyperVGenerationArgs
- V1
- V1
- V2
- V2
- Hyper
VGeneration V1 - V1
- Hyper
VGeneration V2 - V2
- V1
- V1
- V2
- V2
- V1
- V1
- V2
- V2
- V1
- V1
- V2
- V2
- "V1"
- V1
- "V2"
- V2
ImageDiskReference, ImageDiskReferenceArgs
- Community
Gallery stringImage Id - A relative uri containing a community Azure Compute Gallery image reference.
- Id string
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery 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.
- string
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- Community
Gallery stringImage Id - A relative uri containing a community Azure Compute Gallery image reference.
- Id string
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery 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.
- string
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- community
Gallery StringImage Id - A relative uri containing a community Azure Compute Gallery image reference.
- id String
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery 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.
- String
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- community
Gallery stringImage Id - A relative uri containing a community Azure Compute Gallery image reference.
- id string
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery 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.
- string
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- community_
gallery_ strimage_ id - A relative uri containing a community Azure Compute Gallery image reference.
- id str
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery 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.
- str
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- community
Gallery StringImage Id - A relative uri containing a community Azure Compute Gallery image reference.
- id String
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery 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.
- String
- A relative uri containing a direct shared Azure Compute Gallery image reference.
ImageDiskReferenceResponse, ImageDiskReferenceResponseArgs
- Community
Gallery stringImage Id - A relative uri containing a community Azure Compute Gallery image reference.
- Id string
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery 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.
- string
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- Community
Gallery stringImage Id - A relative uri containing a community Azure Compute Gallery image reference.
- Id string
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery 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.
- string
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- community
Gallery StringImage Id - A relative uri containing a community Azure Compute Gallery image reference.
- id String
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery 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.
- String
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- community
Gallery stringImage Id - A relative uri containing a community Azure Compute Gallery image reference.
- id string
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery 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.
- string
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- community_
gallery_ strimage_ id - A relative uri containing a community Azure Compute Gallery image reference.
- id str
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery 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.
- str
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- community
Gallery StringImage Id - A relative uri containing a community Azure Compute Gallery image reference.
- id String
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery 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.
- String
- A relative uri containing a direct shared Azure Compute Gallery image reference.
KeyVaultAndKeyReference, KeyVaultAndKeyReferenceArgs
- Key
Url string - Url pointing to a key or secret in KeyVault
- Source
Vault Pulumi.Azure Native. Compute. Inputs. Source Vault - Resource id of the KeyVault containing the key or secret
- Key
Url string - Url pointing to a key or secret in KeyVault
- Source
Vault SourceVault - Resource id of the KeyVault containing the key or secret
- key
Url String - Url pointing to a key or secret in KeyVault
- source
Vault SourceVault - Resource id of the KeyVault containing the key or secret
- key
Url string - Url pointing to a key or secret in KeyVault
- source
Vault 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
- key
Url String - Url pointing to a key or secret in KeyVault
- source
Vault Property Map - Resource id of the KeyVault containing the key or secret
KeyVaultAndKeyReferenceResponse, KeyVaultAndKeyReferenceResponseArgs
- Key
Url string - Url pointing to a key or secret in KeyVault
- Source
Vault Pulumi.Azure Native. Compute. Inputs. Source Vault Response - Resource id of the KeyVault containing the key or secret
- Key
Url string - Url pointing to a key or secret in KeyVault
- Source
Vault SourceVault Response - Resource id of the KeyVault containing the key or secret
- key
Url String - Url pointing to a key or secret in KeyVault
- source
Vault SourceVault Response - Resource id of the KeyVault containing the key or secret
- key
Url string - Url pointing to a key or secret in KeyVault
- source
Vault SourceVault Response - 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 Response - Resource id of the KeyVault containing the key or secret
- key
Url String - Url pointing to a key or secret in KeyVault
- source
Vault Property Map - Resource id of the KeyVault containing the key or secret
KeyVaultAndSecretReference, KeyVaultAndSecretReferenceArgs
- Secret
Url string - Url pointing to a key or secret in KeyVault
- Source
Vault Pulumi.Azure Native. Compute. Inputs. Source Vault - Resource id of the KeyVault containing the key or secret
- Secret
Url string - Url pointing to a key or secret in KeyVault
- Source
Vault SourceVault - Resource id of the KeyVault containing the key or secret
- secret
Url String - Url pointing to a key or secret in KeyVault
- source
Vault SourceVault - Resource id of the KeyVault containing the key or secret
- secret
Url string - Url pointing to a key or secret in KeyVault
- source
Vault 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
- secret
Url String - Url pointing to a key or secret in KeyVault
- source
Vault Property Map - Resource id of the KeyVault containing the key or secret
KeyVaultAndSecretReferenceResponse, KeyVaultAndSecretReferenceResponseArgs
- Secret
Url string - Url pointing to a key or secret in KeyVault
- Source
Vault Pulumi.Azure Native. Compute. Inputs. Source Vault Response - Resource id of the KeyVault containing the key or secret
- Secret
Url string - Url pointing to a key or secret in KeyVault
- Source
Vault SourceVault Response - Resource id of the KeyVault containing the key or secret
- secret
Url String - Url pointing to a key or secret in KeyVault
- source
Vault SourceVault Response - Resource id of the KeyVault containing the key or secret
- secret
Url string - Url pointing to a key or secret in KeyVault
- source
Vault SourceVault Response - 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 Response - Resource id of the KeyVault containing the key or secret
- secret
Url String - Url pointing to a key or secret in KeyVault
- source
Vault Property Map - Resource id of the KeyVault containing the key or secret
NetworkAccessPolicy, NetworkAccessPolicyArgs
- Allow
All - AllowAllThe disk can be exported or uploaded to from any network.
- Allow
Private - AllowPrivateThe disk can be exported or uploaded to using a DiskAccess resource's private endpoints.
- Deny
All - DenyAllThe disk cannot be exported.
- Network
Access Policy Allow All - AllowAllThe disk can be exported or uploaded to from any network.
- Network
Access Policy Allow Private - AllowPrivateThe disk can be exported or uploaded to using a DiskAccess resource's private endpoints.
- Network
Access Policy Deny All - DenyAllThe disk cannot be exported.
- Allow
All - AllowAllThe disk can be exported or uploaded to from any network.
- Allow
Private - AllowPrivateThe disk can be exported or uploaded to using a DiskAccess resource's private endpoints.
- Deny
All - DenyAllThe disk cannot be exported.
- Allow
All - AllowAllThe disk can be exported or uploaded to from any network.
- Allow
Private - AllowPrivateThe disk can be exported or uploaded to using a DiskAccess resource's private endpoints.
- Deny
All - DenyAllThe disk cannot be exported.
- ALLOW_ALL
- AllowAllThe disk can be exported or uploaded to from any network.
- ALLOW_PRIVATE
- AllowPrivateThe disk can be exported or uploaded to using a DiskAccess resource's private endpoints.
- DENY_ALL
- DenyAllThe disk cannot be exported.
- "Allow
All" - AllowAllThe disk can be exported or uploaded to from any network.
- "Allow
Private" - AllowPrivateThe disk can be exported or uploaded to using a DiskAccess resource's private endpoints.
- "Deny
All" - DenyAllThe disk cannot be exported.
OperatingSystemTypes, OperatingSystemTypesArgs
- Windows
- Windows
- Linux
- Linux
- Operating
System Types Windows - Windows
- Operating
System Types Linux - Linux
- Windows
- Windows
- Linux
- Linux
- Windows
- Windows
- Linux
- Linux
- WINDOWS
- Windows
- LINUX
- Linux
- "Windows"
- Windows
- "Linux"
- Linux
PublicNetworkAccess, PublicNetworkAccessArgs
- Enabled
- EnabledYou can generate a SAS URI to access the underlying data of the disk publicly on the internet when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
- Disabled
- DisabledYou cannot access the underlying data of the disk publicly on the internet even when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
- Public
Network Access Enabled - EnabledYou can generate a SAS URI to access the underlying data of the disk publicly on the internet when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
- Public
Network Access Disabled - DisabledYou cannot access the underlying data of the disk publicly on the internet even when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
- Enabled
- EnabledYou can generate a SAS URI to access the underlying data of the disk publicly on the internet when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
- Disabled
- DisabledYou cannot access the underlying data of the disk publicly on the internet even when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
- Enabled
- EnabledYou can generate a SAS URI to access the underlying data of the disk publicly on the internet when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
- Disabled
- DisabledYou cannot access the underlying data of the disk publicly on the internet even when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
- ENABLED
- EnabledYou can generate a SAS URI to access the underlying data of the disk publicly on the internet when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
- DISABLED
- DisabledYou cannot access the underlying data of the disk publicly on the internet even when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
- "Enabled"
- EnabledYou can generate a SAS URI to access the underlying data of the disk publicly on the internet when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
- "Disabled"
- DisabledYou cannot access the underlying data of the disk publicly on the internet even when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
PurchasePlan, PurchasePlanArgs
- 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.
- Promotion
Code 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.
- Promotion
Code 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.
- promotion
Code 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.
- promotion
Code 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.
- promotion
Code String - The Offer Promotion Code.
PurchasePlanResponse, PurchasePlanResponseArgs
- 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.
- Promotion
Code 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.
- Promotion
Code 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.
- promotion
Code 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.
- promotion
Code 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.
- promotion
Code String - The Offer Promotion Code.
SnapshotSku, SnapshotSkuArgs
- Name
string | Pulumi.
Azure Native. Compute. Snapshot Storage Account Types - The sku name.
- Name
string | Snapshot
Storage Account Types - The sku name.
- name
String | Snapshot
Storage Account Types - The sku name.
- name
string | Snapshot
Storage Account Types - The sku name.
- name
str | Snapshot
Storage Account Types - The sku name.
- name String | "Standard_LRS" | "Premium_LRS" | "Standard_ZRS"
- The sku name.
SnapshotSkuResponse, SnapshotSkuResponseArgs
SnapshotStorageAccountTypes, SnapshotStorageAccountTypesArgs
- Standard_LRS
- Standard_LRSStandard HDD locally redundant storage
- Premium_LRS
- Premium_LRSPremium SSD locally redundant storage
- Standard_ZRS
- Standard_ZRSStandard zone redundant storage
- Snapshot
Storage Account Types_Standard_LRS - Standard_LRSStandard HDD locally redundant storage
- Snapshot
Storage Account Types_Premium_LRS - Premium_LRSPremium SSD locally redundant storage
- Snapshot
Storage Account Types_Standard_ZRS - Standard_ZRSStandard zone redundant storage
- Standard_LRS
- Standard_LRSStandard HDD locally redundant storage
- Premium_LRS
- Premium_LRSPremium SSD locally redundant storage
- Standard_ZRS
- Standard_ZRSStandard zone redundant storage
- Standard_LRS
- Standard_LRSStandard HDD locally redundant storage
- Premium_LRS
- Premium_LRSPremium SSD locally redundant storage
- Standard_ZRS
- Standard_ZRSStandard zone redundant storage
- STANDARD_LRS
- Standard_LRSStandard HDD locally redundant storage
- PREMIUM_LRS
- Premium_LRSPremium SSD locally redundant storage
- STANDARD_ZRS
- Standard_ZRSStandard zone redundant storage
- "Standard_LRS"
- Standard_LRSStandard HDD locally redundant storage
- "Premium_LRS"
- Premium_LRSPremium SSD locally redundant storage
- "Standard_ZRS"
- Standard_ZRSStandard zone redundant storage
SourceVault, SourceVaultArgs
- 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, SourceVaultResponseArgs
- Id string
- Resource Id
- Id string
- Resource Id
- id String
- Resource Id
- id string
- Resource Id
- id str
- Resource Id
- id String
- Resource Id
SupportedCapabilities, SupportedCapabilitiesArgs
- Accelerated
Network bool - True if the image from which the OS disk is created supports accelerated networking.
- Architecture
string | Pulumi.
Azure Native. Compute. Architecture - CPU architecture supported by an OS disk.
- Disk
Controller stringTypes - The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- Accelerated
Network bool - True if the image from which the OS disk is created supports accelerated networking.
- Architecture string | Architecture
- CPU architecture supported by an OS disk.
- Disk
Controller stringTypes - The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- accelerated
Network Boolean - True if the image from which the OS disk is created supports accelerated networking.
- architecture String | Architecture
- CPU architecture supported by an OS disk.
- disk
Controller StringTypes - The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- accelerated
Network boolean - True if the image from which the OS disk is created supports accelerated networking.
- architecture string | Architecture
- CPU architecture supported by an OS disk.
- disk
Controller stringTypes - The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- accelerated_
network bool - True if the image from which the OS disk is created supports accelerated networking.
- architecture str | Architecture
- CPU architecture supported by an OS disk.
- disk_
controller_ strtypes - The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- accelerated
Network Boolean - True if the image from which the OS disk is created supports accelerated networking.
- architecture String | "x64" | "Arm64"
- CPU architecture supported by an OS disk.
- disk
Controller StringTypes - The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
SupportedCapabilitiesResponse, SupportedCapabilitiesResponseArgs
- Accelerated
Network bool - True if the image from which the OS disk is created supports accelerated networking.
- Architecture string
- CPU architecture supported by an OS disk.
- Disk
Controller stringTypes - The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- Accelerated
Network bool - True if the image from which the OS disk is created supports accelerated networking.
- Architecture string
- CPU architecture supported by an OS disk.
- Disk
Controller stringTypes - The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- accelerated
Network Boolean - True if the image from which the OS disk is created supports accelerated networking.
- architecture String
- CPU architecture supported by an OS disk.
- disk
Controller StringTypes - The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- accelerated
Network boolean - True if the image from which the OS disk is created supports accelerated networking.
- architecture string
- CPU architecture supported by an OS disk.
- disk
Controller stringTypes - The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- accelerated_
network bool - True if the image from which the OS disk is created supports accelerated networking.
- architecture str
- CPU architecture supported by an OS disk.
- disk_
controller_ strtypes - The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- accelerated
Network Boolean - True if the image from which the OS disk is created supports accelerated networking.
- architecture String
- CPU architecture supported by an OS disk.
- disk
Controller StringTypes - The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0