DiskEncryptionSet

Manages a Disk Encryption Set.

NOTE: At this time the Key Vault used to store the Active Key for this Disk Encryption Set must have both Soft Delete & Purge Protection enabled - which are not yet supported by this provider.

Create a DiskEncryptionSet Resource

def DiskEncryptionSet(resource_name, opts=None, identity=None, key_vault_key_id=None, location=None, name=None, resource_group_name=None, tags=None, __props__=None);
name string
The unique name of the resource.
args DiskEncryptionSetArgs
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 DiskEncryptionSetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DiskEncryptionSetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

DiskEncryptionSet Resource Properties

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

Inputs

The DiskEncryptionSet resource accepts the following input properties:

Identity DiskEncryptionSetIdentityArgs

A identity block defined below.

KeyVaultKeyId string

Specifies the URL to a Key Vault Key (either from a Key Vault Key, or the Key URL for the Key Vault Secret).

ResourceGroupName string

Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created.

Location string

Specifies the Azure Region where the Disk Encryption Set exists. Changing this forces a new resource to be created.

Name string

The name of the Disk Encryption Set. Changing this forces a new resource to be created.

Tags Dictionary<string, string>

A mapping of tags to assign to the Disk Encryption Set.

Identity DiskEncryptionSetIdentity

A identity block defined below.

KeyVaultKeyId string

Specifies the URL to a Key Vault Key (either from a Key Vault Key, or the Key URL for the Key Vault Secret).

ResourceGroupName string

Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created.

Location string

Specifies the Azure Region where the Disk Encryption Set exists. Changing this forces a new resource to be created.

Name string

The name of the Disk Encryption Set. Changing this forces a new resource to be created.

Tags map[string]string

A mapping of tags to assign to the Disk Encryption Set.

identity DiskEncryptionSetIdentity

A identity block defined below.

keyVaultKeyId string

Specifies the URL to a Key Vault Key (either from a Key Vault Key, or the Key URL for the Key Vault Secret).

resourceGroupName string

Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created.

location string

Specifies the Azure Region where the Disk Encryption Set exists. Changing this forces a new resource to be created.

name string

The name of the Disk Encryption Set. Changing this forces a new resource to be created.

tags {[key: string]: string}

A mapping of tags to assign to the Disk Encryption Set.

identity Dict[DiskEncryptionSetIdentity]

A identity block defined below.

key_vault_key_id str

Specifies the URL to a Key Vault Key (either from a Key Vault Key, or the Key URL for the Key Vault Secret).

resource_group_name str

Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created.

location str

Specifies the Azure Region where the Disk Encryption Set exists. Changing this forces a new resource to be created.

name str

The name of the Disk Encryption Set. Changing this forces a new resource to be created.

tags Dict[str, str]

A mapping of tags to assign to the Disk Encryption Set.

Outputs

All input properties are implicitly available as output properties. Additionally, the DiskEncryptionSet 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 DiskEncryptionSet Resource

Get an existing DiskEncryptionSet 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?: DiskEncryptionSetState, opts?: CustomResourceOptions): DiskEncryptionSet
static get(resource_name, id, opts=None, identity=None, key_vault_key_id=None, location=None, name=None, resource_group_name=None, tags=None, __props__=None);
func GetDiskEncryptionSet(ctx *Context, name string, id IDInput, state *DiskEncryptionSetState, opts ...ResourceOption) (*DiskEncryptionSet, error)
public static DiskEncryptionSet Get(string name, Input<string> id, DiskEncryptionSetState? 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:

Identity DiskEncryptionSetIdentityArgs

A identity block defined below.

KeyVaultKeyId string

Specifies the URL to a Key Vault Key (either from a Key Vault Key, or the Key URL for the Key Vault Secret).

Location string

Specifies the Azure Region where the Disk Encryption Set exists. Changing this forces a new resource to be created.

Name string

The name of the Disk Encryption Set. Changing this forces a new resource to be created.

ResourceGroupName string

Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created.

Tags Dictionary<string, string>

A mapping of tags to assign to the Disk Encryption Set.

Identity DiskEncryptionSetIdentity

A identity block defined below.

KeyVaultKeyId string

Specifies the URL to a Key Vault Key (either from a Key Vault Key, or the Key URL for the Key Vault Secret).

Location string

Specifies the Azure Region where the Disk Encryption Set exists. Changing this forces a new resource to be created.

Name string

The name of the Disk Encryption Set. Changing this forces a new resource to be created.

ResourceGroupName string

Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created.

Tags map[string]string

A mapping of tags to assign to the Disk Encryption Set.

identity DiskEncryptionSetIdentity

A identity block defined below.

keyVaultKeyId string

Specifies the URL to a Key Vault Key (either from a Key Vault Key, or the Key URL for the Key Vault Secret).

location string

Specifies the Azure Region where the Disk Encryption Set exists. Changing this forces a new resource to be created.

name string

The name of the Disk Encryption Set. Changing this forces a new resource to be created.

resourceGroupName string

Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created.

tags {[key: string]: string}

A mapping of tags to assign to the Disk Encryption Set.

identity Dict[DiskEncryptionSetIdentity]

A identity block defined below.

key_vault_key_id str

Specifies the URL to a Key Vault Key (either from a Key Vault Key, or the Key URL for the Key Vault Secret).

location str

Specifies the Azure Region where the Disk Encryption Set exists. Changing this forces a new resource to be created.

name str

The name of the Disk Encryption Set. Changing this forces a new resource to be created.

resource_group_name str

Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created.

tags Dict[str, str]

A mapping of tags to assign to the Disk Encryption Set.

Supporting Types

DiskEncryptionSetIdentity

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.

Type string

The Type of Identity which should be used for this Disk Encryption Set. At this time the only possible value is SystemAssigned.

PrincipalId string

The (Client) ID of the Service Principal.

TenantId string

The ID of the Tenant the Service Principal is assigned in.

Type string

The Type of Identity which should be used for this Disk Encryption Set. At this time the only possible value is SystemAssigned.

PrincipalId string

The (Client) ID of the Service Principal.

TenantId string

The ID of the Tenant the Service Principal is assigned in.

type string

The Type of Identity which should be used for this Disk Encryption Set. At this time the only possible value is SystemAssigned.

principalId string

The (Client) ID of the Service Principal.

tenantId string

The ID of the Tenant the Service Principal is assigned in.

type str

The Type of Identity which should be used for this Disk Encryption Set. At this time the only possible value is SystemAssigned.

principal_id str

The (Client) ID of the Service Principal.

tenant_id str

The ID of the Tenant the Service Principal is assigned in.

Package Details

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