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
new ManagedDisk(name: string, args: ManagedDiskArgs, opts?: CustomResourceOptions);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:
- Create
Option string The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:
- Resource
Group stringName The name of the Resource Group where the Managed Disk should exist.
- Storage
Account stringType The type of storage to use for the managed disk. Possible values are
Standard_LRS,Premium_LRS,StandardSSD_LRSorUltraSSD_LRS.- Disk
Encryption stringSet Id The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.
- Disk
Iops intRead Write The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- Disk
Mbps intRead Write The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.
- Disk
Size intGb Specifies the size of the managed disk to create in gigabytes. If
create_optionisCopyorFromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.- Encryption
Settings ManagedDisk Encryption Settings Args A
encryption_settingsblock as defined below.- Image
Reference stringId ID of an existing platform/marketplace disk image to copy when
create_optionisFromImage.- 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.
- Os
Type string Specify a value when the source of an
ImportorCopyoperation targets a source that contains an operating system. Valid values areLinuxorWindows.- Source
Resource stringId The ID of an existing Managed Disk to copy
create_optionisCopyor the recovery point to restore whencreate_optionisRestore- Source
Uri string URI to a valid VHD file to be used when
create_optionisImport.- Storage
Account stringId The ID of the Storage Account where the
source_uriis located. Required whencreate_optionis set toImport. Changing this forces a new resource to be created.- 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.
- Create
Option string The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:
- Resource
Group stringName The name of the Resource Group where the Managed Disk should exist.
- Storage
Account stringType The type of storage to use for the managed disk. Possible values are
Standard_LRS,Premium_LRS,StandardSSD_LRSorUltraSSD_LRS.- Disk
Encryption stringSet Id The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.
- Disk
Iops intRead Write The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- Disk
Mbps intRead Write The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.
- Disk
Size intGb Specifies the size of the managed disk to create in gigabytes. If
create_optionisCopyorFromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.- Encryption
Settings ManagedDisk Encryption Settings A
encryption_settingsblock as defined below.- Image
Reference stringId ID of an existing platform/marketplace disk image to copy when
create_optionisFromImage.- 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.
- Os
Type string Specify a value when the source of an
ImportorCopyoperation targets a source that contains an operating system. Valid values areLinuxorWindows.- Source
Resource stringId The ID of an existing Managed Disk to copy
create_optionisCopyor the recovery point to restore whencreate_optionisRestore- Source
Uri string URI to a valid VHD file to be used when
create_optionisImport.- Storage
Account stringId The ID of the Storage Account where the
source_uriis located. Required whencreate_optionis set toImport. Changing this forces a new resource to be created.- 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.
- create
Option string The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:
- resource
Group stringName The name of the Resource Group where the Managed Disk should exist.
- storage
Account stringType The type of storage to use for the managed disk. Possible values are
Standard_LRS,Premium_LRS,StandardSSD_LRSorUltraSSD_LRS.- disk
Encryption stringSet Id The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.
- disk
Iops numberRead Write The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- disk
Mbps numberRead Write The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.
- disk
Size numberGb Specifies the size of the managed disk to create in gigabytes. If
create_optionisCopyorFromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.- encryption
Settings ManagedDisk Encryption Settings A
encryption_settingsblock as defined below.- image
Reference stringId ID of an existing platform/marketplace disk image to copy when
create_optionisFromImage.- 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.
- os
Type string Specify a value when the source of an
ImportorCopyoperation targets a source that contains an operating system. Valid values areLinuxorWindows.- source
Resource stringId The ID of an existing Managed Disk to copy
create_optionisCopyor the recovery point to restore whencreate_optionisRestore- source
Uri string URI to a valid VHD file to be used when
create_optionisImport.- storage
Account stringId The ID of the Storage Account where the
source_uriis located. Required whencreate_optionis set toImport. Changing this forces a new resource to be created.- {[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_ strname The name of the Resource Group where the Managed Disk should exist.
- storage_
account_ strtype The type of storage to use for the managed disk. Possible values are
Standard_LRS,Premium_LRS,StandardSSD_LRSorUltraSSD_LRS.- disk_
encryption_ strset_ id The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.
- disk_
iops_ floatread_ write The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- disk_
mbps_ floatread_ write The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.
- disk_
size_ floatgb Specifies the size of the managed disk to create in gigabytes. If
create_optionisCopyorFromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.- encryption_
settings Dict[ManagedDisk Encryption Settings] A
encryption_settingsblock as defined below.- image_
reference_ strid ID of an existing platform/marketplace disk image to copy when
create_optionisFromImage.- 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
ImportorCopyoperation targets a source that contains an operating system. Valid values areLinuxorWindows.- source_
resource_ strid The ID of an existing Managed Disk to copy
create_optionisCopyor the recovery point to restore whencreate_optionisRestore- source_
uri str URI to a valid VHD file to be used when
create_optionisImport.- storage_
account_ strid The ID of the Storage Account where the
source_uriis located. Required whencreate_optionis set toImport. Changing this forces a new resource to be created.- 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:
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): ManagedDiskstatic 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:
- Create
Option string The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:
- Disk
Encryption stringSet Id The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.
- Disk
Iops intRead Write The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- Disk
Mbps intRead Write The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.
- Disk
Size intGb Specifies the size of the managed disk to create in gigabytes. If
create_optionisCopyorFromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.- Encryption
Settings ManagedDisk Encryption Settings Args A
encryption_settingsblock as defined below.- Image
Reference stringId ID of an existing platform/marketplace disk image to copy when
create_optionisFromImage.- 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.
- Os
Type string Specify a value when the source of an
ImportorCopyoperation targets a source that contains an operating system. Valid values areLinuxorWindows.- Resource
Group stringName The name of the Resource Group where the Managed Disk should exist.
- Source
Resource stringId The ID of an existing Managed Disk to copy
create_optionisCopyor the recovery point to restore whencreate_optionisRestore- Source
Uri string URI to a valid VHD file to be used when
create_optionisImport.- Storage
Account stringId The ID of the Storage Account where the
source_uriis located. Required whencreate_optionis set toImport. Changing this forces a new resource to be created.- Storage
Account stringType The type of storage to use for the managed disk. Possible values are
Standard_LRS,Premium_LRS,StandardSSD_LRSorUltraSSD_LRS.- 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.
- Create
Option string The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:
- Disk
Encryption stringSet Id The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.
- Disk
Iops intRead Write The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- Disk
Mbps intRead Write The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.
- Disk
Size intGb Specifies the size of the managed disk to create in gigabytes. If
create_optionisCopyorFromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.- Encryption
Settings ManagedDisk Encryption Settings A
encryption_settingsblock as defined below.- Image
Reference stringId ID of an existing platform/marketplace disk image to copy when
create_optionisFromImage.- 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.
- Os
Type string Specify a value when the source of an
ImportorCopyoperation targets a source that contains an operating system. Valid values areLinuxorWindows.- Resource
Group stringName The name of the Resource Group where the Managed Disk should exist.
- Source
Resource stringId The ID of an existing Managed Disk to copy
create_optionisCopyor the recovery point to restore whencreate_optionisRestore- Source
Uri string URI to a valid VHD file to be used when
create_optionisImport.- Storage
Account stringId The ID of the Storage Account where the
source_uriis located. Required whencreate_optionis set toImport. Changing this forces a new resource to be created.- Storage
Account stringType The type of storage to use for the managed disk. Possible values are
Standard_LRS,Premium_LRS,StandardSSD_LRSorUltraSSD_LRS.- 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.
- create
Option string The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:
- disk
Encryption stringSet Id The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.
- disk
Iops numberRead Write The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- disk
Mbps numberRead Write The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.
- disk
Size numberGb Specifies the size of the managed disk to create in gigabytes. If
create_optionisCopyorFromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.- encryption
Settings ManagedDisk Encryption Settings A
encryption_settingsblock as defined below.- image
Reference stringId ID of an existing platform/marketplace disk image to copy when
create_optionisFromImage.- 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.
- os
Type string Specify a value when the source of an
ImportorCopyoperation targets a source that contains an operating system. Valid values areLinuxorWindows.- resource
Group stringName The name of the Resource Group where the Managed Disk should exist.
- source
Resource stringId The ID of an existing Managed Disk to copy
create_optionisCopyor the recovery point to restore whencreate_optionisRestore- source
Uri string URI to a valid VHD file to be used when
create_optionisImport.- storage
Account stringId The ID of the Storage Account where the
source_uriis located. Required whencreate_optionis set toImport. Changing this forces a new resource to be created.- storage
Account stringType The type of storage to use for the managed disk. Possible values are
Standard_LRS,Premium_LRS,StandardSSD_LRSorUltraSSD_LRS.- {[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_ strset_ id The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.
- disk_
iops_ floatread_ write The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- disk_
mbps_ floatread_ write The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.
- disk_
size_ floatgb Specifies the size of the managed disk to create in gigabytes. If
create_optionisCopyorFromImage, then the value must be equal to or greater than the source’s size. The size can only be increased.- encryption_
settings Dict[ManagedDisk Encryption Settings] A
encryption_settingsblock as defined below.- image_
reference_ strid ID of an existing platform/marketplace disk image to copy when
create_optionisFromImage.- 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
ImportorCopyoperation targets a source that contains an operating system. Valid values areLinuxorWindows.- resource_
group_ strname The name of the Resource Group where the Managed Disk should exist.
- source_
resource_ strid The ID of an existing Managed Disk to copy
create_optionisCopyor the recovery point to restore whencreate_optionisRestore- source_
uri str URI to a valid VHD file to be used when
create_optionisImport.- storage_
account_ strid The ID of the Storage Account where the
source_uriis located. Required whencreate_optionis set toImport. Changing this forces a new resource to be created.- storage_
account_ strtype The type of storage to use for the managed disk. Possible values are
Standard_LRS,Premium_LRS,StandardSSD_LRSorUltraSSD_LRS.- 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
- Enabled bool
Is Encryption enabled on this Managed Disk? Changing this forces a new resource to be created.
- Disk
Encryption ManagedKey Disk Encryption Settings Disk Encryption Key Args A
disk_encryption_keyblock as defined above.- Key
Encryption ManagedKey Disk Encryption Settings Key Encryption Key Args A
key_encryption_keyblock as defined below.
- Enabled bool
Is Encryption enabled on this Managed Disk? Changing this forces a new resource to be created.
- Disk
Encryption ManagedKey Disk Encryption Settings Disk Encryption Key A
disk_encryption_keyblock as defined above.- Key
Encryption ManagedKey Disk Encryption Settings Key Encryption Key A
key_encryption_keyblock as defined below.
- enabled boolean
Is Encryption enabled on this Managed Disk? Changing this forces a new resource to be created.
- disk
Encryption ManagedKey Disk Encryption Settings Disk Encryption Key A
disk_encryption_keyblock as defined above.- key
Encryption ManagedKey Disk Encryption Settings Key Encryption Key A
key_encryption_keyblock as defined below.
- enabled bool
Is Encryption enabled on this Managed Disk? Changing this forces a new resource to be created.
- disk
Encryption Dict[ManagedKey Disk Encryption Settings Disk Encryption Key] A
disk_encryption_keyblock as defined above.- key
Encryption Dict[ManagedKey Disk Encryption Settings Key Encryption Key] A
key_encryption_keyblock as defined below.
ManagedDiskEncryptionSettingsDiskEncryptionKey
- Secret
Url string The URL to the Key Vault Secret used as the Disk Encryption Key. This can be found as
idon theazure.keyvault.Secretresource.- Source
Vault stringId The ID of the source Key Vault.
- Secret
Url string The URL to the Key Vault Secret used as the Disk Encryption Key. This can be found as
idon theazure.keyvault.Secretresource.- Source
Vault stringId The ID of the source Key Vault.
- secret
Url string The URL to the Key Vault Secret used as the Disk Encryption Key. This can be found as
idon theazure.keyvault.Secretresource.- source
Vault stringId The ID of the source Key Vault.
- secret
Url str The URL to the Key Vault Secret used as the Disk Encryption Key. This can be found as
idon theazure.keyvault.Secretresource.- source
Vault strId The ID of the source Key Vault.
ManagedDiskEncryptionSettingsKeyEncryptionKey
- Key
Url string The URL to the Key Vault Key used as the Key Encryption Key. This can be found as
idon theazure.keyvault.Keyresource.- Source
Vault stringId The ID of the source Key Vault.
- Key
Url string The URL to the Key Vault Key used as the Key Encryption Key. This can be found as
idon theazure.keyvault.Keyresource.- Source
Vault stringId The ID of the source Key Vault.
- key
Url string The URL to the Key Vault Key used as the Key Encryption Key. This can be found as
idon theazure.keyvault.Keyresource.- source
Vault stringId The ID of the source Key Vault.
- key
Url str The URL to the Key Vault Key used as the Key Encryption Key. This can be found as
idon theazure.keyvault.Keyresource.- source
Vault strId 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
azurermTerraform Provider.