ManagedDisk

Manages a managed disk.

Example Usage

With Create Empty

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
        {
            Location = "West US 2",
        });
        var exampleManagedDisk = new Azure.Compute.ManagedDisk("exampleManagedDisk", new Azure.Compute.ManagedDiskArgs
        {
            Location = "West US 2",
            ResourceGroupName = exampleResourceGroup.Name,
            StorageAccountType = "Standard_LRS",
            CreateOption = "Empty",
            DiskSizeGb = 1,
            Tags = 
            {
                { "environment", "staging" },
            },
        });
    }

}
package main

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

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
            Location: pulumi.String("West US 2"),
        })
        if err != nil {
            return err
        }
        _, err = compute.NewManagedDisk(ctx, "exampleManagedDisk", &compute.ManagedDiskArgs{
            Location:           pulumi.String("West US 2"),
            ResourceGroupName:  exampleResourceGroup.Name,
            StorageAccountType: pulumi.String("Standard_LRS"),
            CreateOption:       pulumi.String("Empty"),
            DiskSizeGb:         pulumi.Int(1),
            Tags: pulumi.Map{
                "environment": pulumi.String("staging"),
            },
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West US 2")
example_managed_disk = azure.compute.ManagedDisk("exampleManagedDisk",
    location="West US 2",
    resource_group_name=example_resource_group.name,
    storage_account_type="Standard_LRS",
    create_option="Empty",
    disk_size_gb="1",
    tags={
        "environment": "staging",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West US 2"});
const exampleManagedDisk = new azure.compute.ManagedDisk("exampleManagedDisk", {
    location: "West US 2",
    resourceGroupName: exampleResourceGroup.name,
    storageAccountType: "Standard_LRS",
    createOption: "Empty",
    diskSizeGb: "1",
    tags: {
        environment: "staging",
    },
});

With Create Copy

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new Azure.Core.ResourceGroup("example", new Azure.Core.ResourceGroupArgs
        {
            Location = "West US 2",
        });
        var source = new Azure.Compute.ManagedDisk("source", new Azure.Compute.ManagedDiskArgs
        {
            Location = "West US 2",
            ResourceGroupName = example.Name,
            StorageAccountType = "Standard_LRS",
            CreateOption = "Empty",
            DiskSizeGb = 1,
            Tags = 
            {
                { "environment", "staging" },
            },
        });
        var copy = new Azure.Compute.ManagedDisk("copy", new Azure.Compute.ManagedDiskArgs
        {
            Location = "West US 2",
            ResourceGroupName = example.Name,
            StorageAccountType = "Standard_LRS",
            CreateOption = "Copy",
            SourceResourceId = source.Id,
            DiskSizeGb = 1,
            Tags = 
            {
                { "environment", "staging" },
            },
        });
    }

}
package main

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

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
            Location: pulumi.String("West US 2"),
        })
        if err != nil {
            return err
        }
        source, err := compute.NewManagedDisk(ctx, "source", &compute.ManagedDiskArgs{
            Location:           pulumi.String("West US 2"),
            ResourceGroupName:  example.Name,
            StorageAccountType: pulumi.String("Standard_LRS"),
            CreateOption:       pulumi.String("Empty"),
            DiskSizeGb:         pulumi.Int(1),
            Tags: pulumi.Map{
                "environment": pulumi.String("staging"),
            },
        })
        if err != nil {
            return err
        }
        _, err = compute.NewManagedDisk(ctx, "copy", &compute.ManagedDiskArgs{
            Location:           pulumi.String("West US 2"),
            ResourceGroupName:  example.Name,
            StorageAccountType: pulumi.String("Standard_LRS"),
            CreateOption:       pulumi.String("Copy"),
            SourceResourceId:   source.ID(),
            DiskSizeGb:         pulumi.Int(1),
            Tags: pulumi.Map{
                "environment": pulumi.String("staging"),
            },
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_azure as azure

example = azure.core.ResourceGroup("example", location="West US 2")
source = azure.compute.ManagedDisk("source",
    location="West US 2",
    resource_group_name=example.name,
    storage_account_type="Standard_LRS",
    create_option="Empty",
    disk_size_gb="1",
    tags={
        "environment": "staging",
    })
copy = azure.compute.ManagedDisk("copy",
    location="West US 2",
    resource_group_name=example.name,
    storage_account_type="Standard_LRS",
    create_option="Copy",
    source_resource_id=source.id,
    disk_size_gb="1",
    tags={
        "environment": "staging",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = new azure.core.ResourceGroup("example", {location: "West US 2"});
const source = new azure.compute.ManagedDisk("source", {
    location: "West US 2",
    resourceGroupName: example.name,
    storageAccountType: "Standard_LRS",
    createOption: "Empty",
    diskSizeGb: "1",
    tags: {
        environment: "staging",
    },
});
const copy = new azure.compute.ManagedDisk("copy", {
    location: "West US 2",
    resourceGroupName: example.name,
    storageAccountType: "Standard_LRS",
    createOption: "Copy",
    sourceResourceId: source.id,
    diskSizeGb: "1",
    tags: {
        environment: "staging",
    },
});

Create a ManagedDisk Resource

def ManagedDisk(resource_name, opts=None, create_option=None, disk_encryption_set_id=None, disk_iops_read_write=None, disk_mbps_read_write=None, disk_size_gb=None, encryption_settings=None, image_reference_id=None, location=None, name=None, os_type=None, resource_group_name=None, source_resource_id=None, source_uri=None, storage_account_id=None, storage_account_type=None, tags=None, zones=None, __props__=None);
func NewManagedDisk(ctx *Context, name string, args ManagedDiskArgs, opts ...ResourceOption) (*ManagedDisk, error)
public ManagedDisk(string name, ManagedDiskArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ManagedDiskArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ManagedDiskArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ManagedDiskArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ManagedDisk Resource Properties

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

Inputs

The ManagedDisk resource accepts the following input properties:

CreateOption string

The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:

ResourceGroupName string

The name of the Resource Group where the Managed Disk should exist.

StorageAccountType string

The type of storage to use for the managed disk. Possible values are Standard_LRS, Premium_LRS, StandardSSD_LRS or UltraSSD_LRS.

DiskEncryptionSetId string

The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.

DiskIopsReadWrite int

The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.

DiskMbpsReadWrite int

The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.

DiskSizeGb int

Specifies the size of the managed disk to create in gigabytes. If create_option is Copy or FromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.

EncryptionSettings ManagedDiskEncryptionSettingsArgs

A encryption_settings block as defined below.

ImageReferenceId string

ID of an existing platform/marketplace disk image to copy when create_option is FromImage.

Location string

Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the Managed Disk. Changing this forces a new resource to be created.

OsType string

Specify a value when the source of an Import or Copy operation targets a source that contains an operating system. Valid values are Linux or Windows.

SourceResourceId string

The ID of an existing Managed Disk to copy create_option is Copy or the recovery point to restore when create_option is Restore

SourceUri string

URI to a valid VHD file to be used when create_option is Import.

StorageAccountId string

The ID of the Storage Account where the source_uri is located. Required when create_option is set to Import. Changing this forces a new resource to be created.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

Zones string

A collection containing the availability zone to allocate the Managed Disk in.

CreateOption string

The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:

ResourceGroupName string

The name of the Resource Group where the Managed Disk should exist.

StorageAccountType string

The type of storage to use for the managed disk. Possible values are Standard_LRS, Premium_LRS, StandardSSD_LRS or UltraSSD_LRS.

DiskEncryptionSetId string

The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.

DiskIopsReadWrite int

The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.

DiskMbpsReadWrite int

The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.

DiskSizeGb int

Specifies the size of the managed disk to create in gigabytes. If create_option is Copy or FromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.

EncryptionSettings ManagedDiskEncryptionSettings

A encryption_settings block as defined below.

ImageReferenceId string

ID of an existing platform/marketplace disk image to copy when create_option is FromImage.

Location string

Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the Managed Disk. Changing this forces a new resource to be created.

OsType string

Specify a value when the source of an Import or Copy operation targets a source that contains an operating system. Valid values are Linux or Windows.

SourceResourceId string

The ID of an existing Managed Disk to copy create_option is Copy or the recovery point to restore when create_option is Restore

SourceUri string

URI to a valid VHD file to be used when create_option is Import.

StorageAccountId string

The ID of the Storage Account where the source_uri is located. Required when create_option is set to Import. Changing this forces a new resource to be created.

Tags map[string]string

A mapping of tags to assign to the resource.

Zones string

A collection containing the availability zone to allocate the Managed Disk in.

createOption string

The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:

resourceGroupName string

The name of the Resource Group where the Managed Disk should exist.

storageAccountType string

The type of storage to use for the managed disk. Possible values are Standard_LRS, Premium_LRS, StandardSSD_LRS or UltraSSD_LRS.

diskEncryptionSetId string

The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.

diskIopsReadWrite number

The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.

diskMbpsReadWrite number

The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.

diskSizeGb number

Specifies the size of the managed disk to create in gigabytes. If create_option is Copy or FromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.

encryptionSettings ManagedDiskEncryptionSettings

A encryption_settings block as defined below.

imageReferenceId string

ID of an existing platform/marketplace disk image to copy when create_option is FromImage.

location string

Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name string

Specifies the name of the Managed Disk. Changing this forces a new resource to be created.

osType string

Specify a value when the source of an Import or Copy operation targets a source that contains an operating system. Valid values are Linux or Windows.

sourceResourceId string

The ID of an existing Managed Disk to copy create_option is Copy or the recovery point to restore when create_option is Restore

sourceUri string

URI to a valid VHD file to be used when create_option is Import.

storageAccountId string

The ID of the Storage Account where the source_uri is located. Required when create_option is set to Import. Changing this forces a new resource to be created.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

zones string

A collection containing the availability zone to allocate the Managed Disk in.

create_option str

The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:

resource_group_name str

The name of the Resource Group where the Managed Disk should exist.

storage_account_type str

The type of storage to use for the managed disk. Possible values are Standard_LRS, Premium_LRS, StandardSSD_LRS or UltraSSD_LRS.

disk_encryption_set_id str

The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.

disk_iops_read_write float

The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.

disk_mbps_read_write float

The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.

disk_size_gb float

Specifies the size of the managed disk to create in gigabytes. If create_option is Copy or FromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.

encryption_settings Dict[ManagedDiskEncryptionSettings]

A encryption_settings block as defined below.

image_reference_id str

ID of an existing platform/marketplace disk image to copy when create_option is FromImage.

location str

Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name str

Specifies the name of the Managed Disk. Changing this forces a new resource to be created.

os_type str

Specify a value when the source of an Import or Copy operation targets a source that contains an operating system. Valid values are Linux or Windows.

source_resource_id str

The ID of an existing Managed Disk to copy create_option is Copy or the recovery point to restore when create_option is Restore

source_uri str

URI to a valid VHD file to be used when create_option is Import.

storage_account_id str

The ID of the Storage Account where the source_uri is located. Required when create_option is set to Import. Changing this forces a new resource to be created.

tags Dict[str, str]

A mapping of tags to assign to the resource.

zones str

A collection containing the availability zone to allocate the Managed Disk in.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing ManagedDisk Resource

Get an existing ManagedDisk resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ManagedDiskState, opts?: CustomResourceOptions): ManagedDisk
static get(resource_name, id, opts=None, create_option=None, disk_encryption_set_id=None, disk_iops_read_write=None, disk_mbps_read_write=None, disk_size_gb=None, encryption_settings=None, image_reference_id=None, location=None, name=None, os_type=None, resource_group_name=None, source_resource_id=None, source_uri=None, storage_account_id=None, storage_account_type=None, tags=None, zones=None, __props__=None);
func GetManagedDisk(ctx *Context, name string, id IDInput, state *ManagedDiskState, opts ...ResourceOption) (*ManagedDisk, error)
public static ManagedDisk Get(string name, Input<string> id, ManagedDiskState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

CreateOption string

The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:

DiskEncryptionSetId string

The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.

DiskIopsReadWrite int

The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.

DiskMbpsReadWrite int

The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.

DiskSizeGb int

Specifies the size of the managed disk to create in gigabytes. If create_option is Copy or FromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.

EncryptionSettings ManagedDiskEncryptionSettingsArgs

A encryption_settings block as defined below.

ImageReferenceId string

ID of an existing platform/marketplace disk image to copy when create_option is FromImage.

Location string

Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the Managed Disk. Changing this forces a new resource to be created.

OsType string

Specify a value when the source of an Import or Copy operation targets a source that contains an operating system. Valid values are Linux or Windows.

ResourceGroupName string

The name of the Resource Group where the Managed Disk should exist.

SourceResourceId string

The ID of an existing Managed Disk to copy create_option is Copy or the recovery point to restore when create_option is Restore

SourceUri string

URI to a valid VHD file to be used when create_option is Import.

StorageAccountId string

The ID of the Storage Account where the source_uri is located. Required when create_option is set to Import. Changing this forces a new resource to be created.

StorageAccountType string

The type of storage to use for the managed disk. Possible values are Standard_LRS, Premium_LRS, StandardSSD_LRS or UltraSSD_LRS.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

Zones string

A collection containing the availability zone to allocate the Managed Disk in.

CreateOption string

The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:

DiskEncryptionSetId string

The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.

DiskIopsReadWrite int

The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.

DiskMbpsReadWrite int

The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.

DiskSizeGb int

Specifies the size of the managed disk to create in gigabytes. If create_option is Copy or FromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.

EncryptionSettings ManagedDiskEncryptionSettings

A encryption_settings block as defined below.

ImageReferenceId string

ID of an existing platform/marketplace disk image to copy when create_option is FromImage.

Location string

Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the Managed Disk. Changing this forces a new resource to be created.

OsType string

Specify a value when the source of an Import or Copy operation targets a source that contains an operating system. Valid values are Linux or Windows.

ResourceGroupName string

The name of the Resource Group where the Managed Disk should exist.

SourceResourceId string

The ID of an existing Managed Disk to copy create_option is Copy or the recovery point to restore when create_option is Restore

SourceUri string

URI to a valid VHD file to be used when create_option is Import.

StorageAccountId string

The ID of the Storage Account where the source_uri is located. Required when create_option is set to Import. Changing this forces a new resource to be created.

StorageAccountType string

The type of storage to use for the managed disk. Possible values are Standard_LRS, Premium_LRS, StandardSSD_LRS or UltraSSD_LRS.

Tags map[string]string

A mapping of tags to assign to the resource.

Zones string

A collection containing the availability zone to allocate the Managed Disk in.

createOption string

The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:

diskEncryptionSetId string

The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.

diskIopsReadWrite number

The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.

diskMbpsReadWrite number

The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.

diskSizeGb number

Specifies the size of the managed disk to create in gigabytes. If create_option is Copy or FromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.

encryptionSettings ManagedDiskEncryptionSettings

A encryption_settings block as defined below.

imageReferenceId string

ID of an existing platform/marketplace disk image to copy when create_option is FromImage.

location string

Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name string

Specifies the name of the Managed Disk. Changing this forces a new resource to be created.

osType string

Specify a value when the source of an Import or Copy operation targets a source that contains an operating system. Valid values are Linux or Windows.

resourceGroupName string

The name of the Resource Group where the Managed Disk should exist.

sourceResourceId string

The ID of an existing Managed Disk to copy create_option is Copy or the recovery point to restore when create_option is Restore

sourceUri string

URI to a valid VHD file to be used when create_option is Import.

storageAccountId string

The ID of the Storage Account where the source_uri is located. Required when create_option is set to Import. Changing this forces a new resource to be created.

storageAccountType string

The type of storage to use for the managed disk. Possible values are Standard_LRS, Premium_LRS, StandardSSD_LRS or UltraSSD_LRS.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

zones string

A collection containing the availability zone to allocate the Managed Disk in.

create_option str

The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:

disk_encryption_set_id str

The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.

disk_iops_read_write float

The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.

disk_mbps_read_write float

The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.

disk_size_gb float

Specifies the size of the managed disk to create in gigabytes. If create_option is Copy or FromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.

encryption_settings Dict[ManagedDiskEncryptionSettings]

A encryption_settings block as defined below.

image_reference_id str

ID of an existing platform/marketplace disk image to copy when create_option is FromImage.

location str

Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name str

Specifies the name of the Managed Disk. Changing this forces a new resource to be created.

os_type str

Specify a value when the source of an Import or Copy operation targets a source that contains an operating system. Valid values are Linux or Windows.

resource_group_name str

The name of the Resource Group where the Managed Disk should exist.

source_resource_id str

The ID of an existing Managed Disk to copy create_option is Copy or the recovery point to restore when create_option is Restore

source_uri str

URI to a valid VHD file to be used when create_option is Import.

storage_account_id str

The ID of the Storage Account where the source_uri is located. Required when create_option is set to Import. Changing this forces a new resource to be created.

storage_account_type str

The type of storage to use for the managed disk. Possible values are Standard_LRS, Premium_LRS, StandardSSD_LRS or UltraSSD_LRS.

tags Dict[str, str]

A mapping of tags to assign to the resource.

zones str

A collection containing the availability zone to allocate the Managed Disk in.

Supporting Types

ManagedDiskEncryptionSettings

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Enabled bool

Is Encryption enabled on this Managed Disk? Changing this forces a new resource to be created.

DiskEncryptionKey ManagedDiskEncryptionSettingsDiskEncryptionKeyArgs

A disk_encryption_key block as defined above.

KeyEncryptionKey ManagedDiskEncryptionSettingsKeyEncryptionKeyArgs

A key_encryption_key block as defined below.

Enabled bool

Is Encryption enabled on this Managed Disk? Changing this forces a new resource to be created.

DiskEncryptionKey ManagedDiskEncryptionSettingsDiskEncryptionKey

A disk_encryption_key block as defined above.

KeyEncryptionKey ManagedDiskEncryptionSettingsKeyEncryptionKey

A key_encryption_key block as defined below.

enabled boolean

Is Encryption enabled on this Managed Disk? Changing this forces a new resource to be created.

diskEncryptionKey ManagedDiskEncryptionSettingsDiskEncryptionKey

A disk_encryption_key block as defined above.

keyEncryptionKey ManagedDiskEncryptionSettingsKeyEncryptionKey

A key_encryption_key block as defined below.

enabled bool

Is Encryption enabled on this Managed Disk? Changing this forces a new resource to be created.

diskEncryptionKey Dict[ManagedDiskEncryptionSettingsDiskEncryptionKey]

A disk_encryption_key block as defined above.

keyEncryptionKey Dict[ManagedDiskEncryptionSettingsKeyEncryptionKey]

A key_encryption_key block as defined below.

ManagedDiskEncryptionSettingsDiskEncryptionKey

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

SecretUrl string

The URL to the Key Vault Secret used as the Disk Encryption Key. This can be found as id on the azure.keyvault.Secret resource.

SourceVaultId string

The ID of the source Key Vault.

SecretUrl string

The URL to the Key Vault Secret used as the Disk Encryption Key. This can be found as id on the azure.keyvault.Secret resource.

SourceVaultId string

The ID of the source Key Vault.

secretUrl string

The URL to the Key Vault Secret used as the Disk Encryption Key. This can be found as id on the azure.keyvault.Secret resource.

sourceVaultId string

The ID of the source Key Vault.

secretUrl str

The URL to the Key Vault Secret used as the Disk Encryption Key. This can be found as id on the azure.keyvault.Secret resource.

sourceVaultId str

The ID of the source Key Vault.

ManagedDiskEncryptionSettingsKeyEncryptionKey

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

KeyUrl string

The URL to the Key Vault Key used as the Key Encryption Key. This can be found as id on the azure.keyvault.Key resource.

SourceVaultId string

The ID of the source Key Vault.

KeyUrl string

The URL to the Key Vault Key used as the Key Encryption Key. This can be found as id on the azure.keyvault.Key resource.

SourceVaultId string

The ID of the source Key Vault.

keyUrl string

The URL to the Key Vault Key used as the Key Encryption Key. This can be found as id on the azure.keyvault.Key resource.

sourceVaultId string

The ID of the source Key Vault.

keyUrl str

The URL to the Key Vault Key used as the Key Encryption Key. This can be found as id on the azure.keyvault.Key resource.

sourceVaultId str

The ID of the source Key Vault.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.