ArmDataBoxModelFactory.DataBoxKeyEncryptionKey Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.DataBox.Models.DataBoxKeyEncryptionKey DataBoxKeyEncryptionKey(Azure.ResourceManager.DataBox.Models.DataBoxKeyEncryptionKeyType kekType = Azure.ResourceManager.DataBox.Models.DataBoxKeyEncryptionKeyType.MicrosoftManaged, Azure.ResourceManager.DataBox.Models.DataBoxManagedIdentity managedIdentity = default, Uri kekUri = default, Azure.Core.ResourceIdentifier kekVaultResourceId = default);
static member DataBoxKeyEncryptionKey : Azure.ResourceManager.DataBox.Models.DataBoxKeyEncryptionKeyType * Azure.ResourceManager.DataBox.Models.DataBoxManagedIdentity * Uri * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DataBox.Models.DataBoxKeyEncryptionKey
Public Shared Function DataBoxKeyEncryptionKey (Optional kekType As DataBoxKeyEncryptionKeyType = Azure.ResourceManager.DataBox.Models.DataBoxKeyEncryptionKeyType.MicrosoftManaged, Optional managedIdentity As DataBoxManagedIdentity = Nothing, Optional kekUri As Uri = Nothing, Optional kekVaultResourceId As ResourceIdentifier = Nothing) As DataBoxKeyEncryptionKey
Parameters
- kekType
- DataBoxKeyEncryptionKeyType
Type of encryption key used for key encryption.
- managedIdentity
- DataBoxManagedIdentity
Managed identity properties used for key encryption.
- kekUri
- Uri
Key encryption key. It is required in case of Customer managed KekType.
- kekVaultResourceId
- ResourceIdentifier
Kek vault resource id. It is required in case of Customer managed KekType.
Returns
A new DataBoxKeyEncryptionKey instance for mocking.