azure-native.compute.Snapshot
Explore with Pulumi AI
Snapshot resource. API Version: 2020-12-01.
Example Usage
Create a snapshot by importing an unmanaged blob from a different subscription.
using System.Collections.Generic;
using 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 = "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"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := compute.NewSnapshot(ctx, "snapshot", &compute.SnapshotArgs{
CreationData: &compute.CreationDataArgs{
CreateOption: pulumi.String("Import"),
SourceUri: pulumi.String("https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"),
StorageAccountId: pulumi.String("subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount"),
},
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("myResourceGroup"),
SnapshotName: pulumi.String("mySnapshot1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.compute.Snapshot;
import com.pulumi.azurenative.compute.SnapshotArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var snapshot = new Snapshot("snapshot", SnapshotArgs.builder()
.creationData(Map.ofEntries(
Map.entry("createOption", "Import"),
Map.entry("sourceUri", "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"),
Map.entry("storageAccountId", "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount")
))
.location("West US")
.resourceGroupName("myResourceGroup")
.snapshotName("mySnapshot1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
snapshot = azure_native.compute.Snapshot("snapshot",
creation_data=azure_native.compute.CreationDataArgs(
create_option="Import",
source_uri="https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
storage_account_id="subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
),
location="West US",
resource_group_name="myResourceGroup",
snapshot_name="mySnapshot1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const snapshot = new azure_native.compute.Snapshot("snapshot", {
creationData: {
createOption: "Import",
sourceUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
storageAccountId: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
},
location: "West US",
resourceGroupName: "myResourceGroup",
snapshotName: "mySnapshot1",
});
resources:
snapshot:
type: azure-native:compute:Snapshot
properties:
creationData:
createOption: Import
sourceUri: https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd
storageAccountId: subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount
location: West US
resourceGroupName: myResourceGroup
snapshotName: mySnapshot1
Create a snapshot by importing an unmanaged blob from the same subscription.
using System.Collections.Generic;
using 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 = "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"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := compute.NewSnapshot(ctx, "snapshot", &compute.SnapshotArgs{
CreationData: &compute.CreationDataArgs{
CreateOption: pulumi.String("Import"),
SourceUri: pulumi.String("https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"),
},
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("myResourceGroup"),
SnapshotName: pulumi.String("mySnapshot1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.compute.Snapshot;
import com.pulumi.azurenative.compute.SnapshotArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var snapshot = new Snapshot("snapshot", SnapshotArgs.builder()
.creationData(Map.ofEntries(
Map.entry("createOption", "Import"),
Map.entry("sourceUri", "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd")
))
.location("West US")
.resourceGroupName("myResourceGroup")
.snapshotName("mySnapshot1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
snapshot = azure_native.compute.Snapshot("snapshot",
creation_data=azure_native.compute.CreationDataArgs(
create_option="Import",
source_uri="https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
),
location="West US",
resource_group_name="myResourceGroup",
snapshot_name="mySnapshot1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const snapshot = new azure_native.compute.Snapshot("snapshot", {
creationData: {
createOption: "Import",
sourceUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
},
location: "West US",
resourceGroupName: "myResourceGroup",
snapshotName: "mySnapshot1",
});
resources:
snapshot:
type: azure-native:compute:Snapshot
properties:
creationData:
createOption: Import
sourceUri: https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd
location: West US
resourceGroupName: myResourceGroup
snapshotName: mySnapshot1
Create a snapshot from an existing snapshot in the same or a different subscription.
using System.Collections.Generic;
using 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 = "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"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := compute.NewSnapshot(ctx, "snapshot", &compute.SnapshotArgs{
CreationData: &compute.CreationDataArgs{
CreateOption: pulumi.String("Copy"),
SourceResourceId: pulumi.String("subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"),
},
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("myResourceGroup"),
SnapshotName: pulumi.String("mySnapshot2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.compute.Snapshot;
import com.pulumi.azurenative.compute.SnapshotArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var snapshot = new Snapshot("snapshot", SnapshotArgs.builder()
.creationData(Map.ofEntries(
Map.entry("createOption", "Copy"),
Map.entry("sourceResourceId", "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1")
))
.location("West US")
.resourceGroupName("myResourceGroup")
.snapshotName("mySnapshot2")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
snapshot = azure_native.compute.Snapshot("snapshot",
creation_data=azure_native.compute.CreationDataArgs(
create_option="Copy",
source_resource_id="subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1",
),
location="West US",
resource_group_name="myResourceGroup",
snapshot_name="mySnapshot2")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const snapshot = new azure_native.compute.Snapshot("snapshot", {
creationData: {
createOption: "Copy",
sourceResourceId: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1",
},
location: "West US",
resourceGroupName: "myResourceGroup",
snapshotName: "mySnapshot2",
});
resources:
snapshot:
type: azure-native:compute:Snapshot
properties:
creationData:
createOption: Copy
sourceResourceId: subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1
location: West US
resourceGroupName: myResourceGroup
snapshotName: mySnapshot2
Create Snapshot Resource
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,
encryption_settings_collection: Optional[EncryptionSettingsCollectionArgs] = None,
network_access_policy: Optional[Union[str, NetworkAccessPolicy]] = None,
disk_size_gb: Optional[int] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
hyper_v_generation: Optional[Union[str, HyperVGeneration]] = None,
incremental: Optional[bool] = None,
location: Optional[str] = None,
encryption: Optional[EncryptionArgs] = None,
os_type: Optional[OperatingSystemTypes] = None,
purchase_plan: Optional[PurchasePlanArgs] = None,
disk_access_id: Optional[str] = None,
sku: Optional[SnapshotSkuArgs] = None,
snapshot_name: Optional[str] = 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 =
{
{ "createOption", "string" },
{ "galleryImageReference",
{
{ "id", "string" },
{ "lun", 0 },
} },
{ "imageReference",
{
{ "id", "string" },
{ "lun", 0 },
} },
{ "logicalSectorSize", 0 },
{ "sourceResourceId", "string" },
{ "sourceUri", "string" },
{ "storageAccountId", "string" },
{ "uploadSizeBytes", 0 },
},
ResourceGroupName = "string",
EncryptionSettingsCollection =
{
{ "enabled", false },
{ "encryptionSettings", new[]
{
{
{ "diskEncryptionKey",
{
{ "secretUrl", "string" },
{ "sourceVault",
{
{ "id", "string" },
} },
} },
{ "keyEncryptionKey",
{
{ "keyUrl", "string" },
{ "sourceVault",
{
{ "id", "string" },
} },
} },
},
} },
{ "encryptionSettingsVersion", "string" },
},
NetworkAccessPolicy = "string",
DiskSizeGB = 0,
ExtendedLocation =
{
{ "name", "string" },
{ "type", "string" },
},
HyperVGeneration = "string",
Incremental = false,
Location = "string",
Encryption =
{
{ "diskEncryptionSetId", "string" },
{ "type", "string" },
},
OsType = "Windows",
PurchasePlan =
{
{ "name", "string" },
{ "product", "string" },
{ "publisher", "string" },
{ "promotionCode", "string" },
},
DiskAccessId = "string",
Sku =
{
{ "name", "string" },
},
SnapshotName = "string",
SupportsHibernation = false,
Tags =
{
{ "string", "string" },
},
});
example, err := compute.NewSnapshot(ctx, "snapshotResource", &compute.SnapshotArgs{
CreationData: map[string]interface{}{
"createOption": "string",
"galleryImageReference": map[string]interface{}{
"id": "string",
"lun": 0,
},
"imageReference": map[string]interface{}{
"id": "string",
"lun": 0,
},
"logicalSectorSize": 0,
"sourceResourceId": "string",
"sourceUri": "string",
"storageAccountId": "string",
"uploadSizeBytes": 0,
},
ResourceGroupName: "string",
EncryptionSettingsCollection: map[string]interface{}{
"enabled": false,
"encryptionSettings": []map[string]interface{}{
map[string]interface{}{
"diskEncryptionKey": map[string]interface{}{
"secretUrl": "string",
"sourceVault": map[string]interface{}{
"id": "string",
},
},
"keyEncryptionKey": map[string]interface{}{
"keyUrl": "string",
"sourceVault": map[string]interface{}{
"id": "string",
},
},
},
},
"encryptionSettingsVersion": "string",
},
NetworkAccessPolicy: "string",
DiskSizeGB: 0,
ExtendedLocation: map[string]interface{}{
"name": "string",
"type": "string",
},
HyperVGeneration: "string",
Incremental: false,
Location: "string",
Encryption: map[string]interface{}{
"diskEncryptionSetId": "string",
"type": "string",
},
OsType: "Windows",
PurchasePlan: map[string]interface{}{
"name": "string",
"product": "string",
"publisher": "string",
"promotionCode": "string",
},
DiskAccessId: "string",
Sku: map[string]interface{}{
"name": "string",
},
SnapshotName: "string",
SupportsHibernation: false,
Tags: map[string]interface{}{
"string": "string",
},
})
var snapshotResource = new Snapshot("snapshotResource", SnapshotArgs.builder()
.creationData(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.encryptionSettingsCollection(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.networkAccessPolicy("string")
.diskSizeGB(0)
.extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.hyperVGeneration("string")
.incremental(false)
.location("string")
.encryption(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.osType("Windows")
.purchasePlan(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.diskAccessId("string")
.sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.snapshotName("string")
.supportsHibernation(false)
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
snapshot_resource = azure_native.compute.Snapshot("snapshotResource",
creation_data={
createOption: string,
galleryImageReference: {
id: string,
lun: 0,
},
imageReference: {
id: string,
lun: 0,
},
logicalSectorSize: 0,
sourceResourceId: string,
sourceUri: string,
storageAccountId: string,
uploadSizeBytes: 0,
},
resource_group_name=string,
encryption_settings_collection={
enabled: False,
encryptionSettings: [{
diskEncryptionKey: {
secretUrl: string,
sourceVault: {
id: string,
},
},
keyEncryptionKey: {
keyUrl: string,
sourceVault: {
id: string,
},
},
}],
encryptionSettingsVersion: string,
},
network_access_policy=string,
disk_size_gb=0,
extended_location={
name: string,
type: string,
},
hyper_v_generation=string,
incremental=False,
location=string,
encryption={
diskEncryptionSetId: string,
type: string,
},
os_type=Windows,
purchase_plan={
name: string,
product: string,
publisher: string,
promotionCode: string,
},
disk_access_id=string,
sku={
name: string,
},
snapshot_name=string,
supports_hibernation=False,
tags={
string: string,
})
const snapshotResource = new azure_native.compute.Snapshot("snapshotResource", {
creationData: {
createOption: "string",
galleryImageReference: {
id: "string",
lun: 0,
},
imageReference: {
id: "string",
lun: 0,
},
logicalSectorSize: 0,
sourceResourceId: "string",
sourceUri: "string",
storageAccountId: "string",
uploadSizeBytes: 0,
},
resourceGroupName: "string",
encryptionSettingsCollection: {
enabled: false,
encryptionSettings: [{
diskEncryptionKey: {
secretUrl: "string",
sourceVault: {
id: "string",
},
},
keyEncryptionKey: {
keyUrl: "string",
sourceVault: {
id: "string",
},
},
}],
encryptionSettingsVersion: "string",
},
networkAccessPolicy: "string",
diskSizeGB: 0,
extendedLocation: {
name: "string",
type: "string",
},
hyperVGeneration: "string",
incremental: false,
location: "string",
encryption: {
diskEncryptionSetId: "string",
type: "string",
},
osType: "Windows",
purchasePlan: {
name: "string",
product: "string",
publisher: "string",
promotionCode: "string",
},
diskAccessId: "string",
sku: {
name: "string",
},
snapshotName: "string",
supportsHibernation: false,
tags: {
string: "string",
},
});
type: azure-native:compute:Snapshot
properties:
creationData:
createOption: string
galleryImageReference:
id: string
lun: 0
imageReference:
id: string
lun: 0
logicalSectorSize: 0
sourceResourceId: string
sourceUri: string
storageAccountId: string
uploadSizeBytes: 0
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
purchasePlan:
name: string
product: string
promotionCode: string
publisher: string
resourceGroupName: string
sku:
name: string
snapshotName: 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Purchase
Plan PurchasePlan Args - Purchase plan information for the image from which the source disk for the snapshot was originally created.
- 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.
- 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.
- 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.
- purchase
Plan PurchasePlan - Purchase plan information for the image from which the source disk for the snapshot was originally created.
- 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.
- 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.
- 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.
- purchase
Plan PurchasePlan - Purchase plan information for the image from which the source disk for the snapshot was originally created.
- 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.
- 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.
- 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.
- purchase_
plan PurchasePlan Args - Purchase plan information for the image from which the source disk for the snapshot was originally created.
- 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.
- 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.
- 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.
- purchase
Plan Property Map - Purchase plan information for the image from which the source disk for the snapshot was originally created.
- sku Property Map
- The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
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 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.
- Logical
Sector intSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- Logical
Sector intSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- logical
Sector IntegerSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- logical
Sector numberSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- logical_
sector_ intsize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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" - This enumerates the possible sources of a disk's creation.
- gallery
Image Property MapReference - Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- image
Reference Property Map - Disk source information.
- logical
Sector NumberSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- Logical
Sector intSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- Logical
Sector intSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- logical
Sector IntegerSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- logical
Sector numberSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- logical_
sector_ intsize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- logical
Sector NumberSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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).
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.
- 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.
- 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.
- 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.
- 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.
- "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.
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
ImageDiskReferenceResponse, ImageDiskReferenceResponseArgs
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
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
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-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0