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
new DiskEncryptionSet(name: string, args: DiskEncryptionSetArgs, opts?: CustomResourceOptions);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);func NewDiskEncryptionSet(ctx *Context, name string, args DiskEncryptionSetArgs, opts ...ResourceOption) (*DiskEncryptionSet, error)public DiskEncryptionSet(string name, DiskEncryptionSetArgs args, CustomResourceOptions? opts = null)- 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
Disk
Encryption Set Identity Args A
identityblock defined below.- Key
Vault stringKey Id 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 stringName 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.
- Dictionary<string, string>
A mapping of tags to assign to the Disk Encryption Set.
- Identity
Disk
Encryption Set Identity A
identityblock defined below.- Key
Vault stringKey Id 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 stringName 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.
- map[string]string
A mapping of tags to assign to the Disk Encryption Set.
- identity
Disk
Encryption Set Identity A
identityblock defined below.- key
Vault stringKey Id 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 stringName 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.
- {[key: string]: string}
A mapping of tags to assign to the Disk Encryption Set.
- identity
Dict[Disk
Encryption Set Identity] A
identityblock defined below.- key_
vault_ strkey_ id 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_ strname 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.
- 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:
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): DiskEncryptionSetstatic 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
Disk
Encryption Set Identity Args A
identityblock defined below.- Key
Vault stringKey Id 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.
- Resource
Group stringName Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the Disk Encryption Set.
- Identity
Disk
Encryption Set Identity A
identityblock defined below.- Key
Vault stringKey Id 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.
- Resource
Group stringName Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the Disk Encryption Set.
- identity
Disk
Encryption Set Identity A
identityblock defined below.- key
Vault stringKey Id 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.
- resource
Group stringName Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the Disk Encryption Set.
- identity
Dict[Disk
Encryption Set Identity] A
identityblock defined below.- key_
vault_ strkey_ id 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_ strname Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created.
- Dict[str, str]
A mapping of tags to assign to the Disk Encryption Set.
Supporting Types
DiskEncryptionSetIdentity
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.