Class CustomerManagedKey
Manages a Customer Managed Key for a Storage Account.
Inherited Members
Namespace: Pulumi.Azure.Storage
Assembly: Pulumi.Azure.dll
Syntax
public class CustomerManagedKey : CustomResource
Constructors
View SourceCustomerManagedKey(String, CustomerManagedKeyArgs, CustomResourceOptions)
Create a CustomerManagedKey resource with the given unique name, arguments, and options.
Declaration
public CustomerManagedKey(string name, CustomerManagedKeyArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| CustomerManagedKeyArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceKeyName
The name of Key Vault Key.
Declaration
public Output<string> KeyName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
KeyVaultId
The ID of the Key Vault. Changing this forces a new resource to be created.
Declaration
public Output<string> KeyVaultId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
KeyVersion
The version of Key Vault Key.
Declaration
public Output<string> KeyVersion { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
StorageAccountId
The ID of the Storage Account. Changing this forces a new resource to be created.
Declaration
public Output<string> StorageAccountId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, CustomerManagedKeyState, CustomResourceOptions)
Get an existing CustomerManagedKey resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static CustomerManagedKey Get(string name, Input<string> id, CustomerManagedKeyState 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. |
| CustomerManagedKeyState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| CustomerManagedKey |