Class 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.
Inherited Members
Namespace: Pulumi.Azure.Compute
Assembly: Pulumi.Azure.dll
Syntax
public class DiskEncryptionSet : CustomResource
Constructors
View SourceDiskEncryptionSet(String, DiskEncryptionSetArgs, CustomResourceOptions)
Create a DiskEncryptionSet resource with the given unique name, arguments, and options.
Declaration
public DiskEncryptionSet(string name, DiskEncryptionSetArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| DiskEncryptionSetArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceIdentity
A identity block defined below.
Declaration
public Output<DiskEncryptionSetIdentity> Identity { get; }
Property Value
| Type | Description |
|---|---|
| Output<DiskEncryptionSetIdentity> |
KeyVaultKeyId
Specifies the URL to a Key Vault Key (either from a Key Vault Key, or the Key URL for the Key Vault Secret).
Declaration
public Output<string> KeyVaultKeyId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Location
Specifies the Azure Region where the Disk Encryption Set exists. Changing this forces a new resource to be created.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the Disk Encryption Set. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A mapping of tags to assign to the Disk Encryption Set.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Methods
View SourceGet(String, Input<String>, DiskEncryptionSetState, CustomResourceOptions)
Get an existing DiskEncryptionSet resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static DiskEncryptionSet Get(string name, Input<string> id, DiskEncryptionSetState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| DiskEncryptionSetState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| DiskEncryptionSet |