ComputeBatchModelFactory.DiskCustomerManagedKey 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.
The Customer Managed Key reference to encrypt the Disk.
public static Azure.Compute.Batch.DiskCustomerManagedKey DiskCustomerManagedKey(Azure.Compute.Batch.BatchPoolIdentityReference identityReference = default, string keyUrl = default, bool? rotationToLatestKeyVersionEnabled = default);
static member DiskCustomerManagedKey : Azure.Compute.Batch.BatchPoolIdentityReference * string * Nullable<bool> -> Azure.Compute.Batch.DiskCustomerManagedKey
Public Shared Function DiskCustomerManagedKey (Optional identityReference As BatchPoolIdentityReference = Nothing, Optional keyUrl As String = Nothing, Optional rotationToLatestKeyVersionEnabled As Nullable(Of Boolean) = Nothing) As DiskCustomerManagedKey
Parameters
- identityReference
- BatchPoolIdentityReference
The reference of one of the pool identities to encrypt Disk. This identity will be used to access the KeyVault.
- keyUrl
- String
Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value.
Set this flag to true to enable auto-updating of the Disk Encryption to the latest key version. Default is false.
Returns
A new DiskCustomerManagedKey instance for mocking.