ManagedDiskEncryption Class
- java.
lang. Object - com.
azure. resourcemanager. databricks. models. ManagedDiskEncryption
- com.
Implements
public final class ManagedDiskEncryption
implements JsonSerializable<ManagedDiskEncryption>
The object that contains details of encryption used on the workspace.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedDiskEncryption() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
|
Encryption |
keySource()
Get the key |
|
Managed |
keyVaultProperties()
Get the key |
| Boolean |
rotationToLatestKeyVersionEnabled()
Get the rotation |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Managed |
withKeySource(EncryptionKeySource keySource)
Set the key |
|
Managed |
withKeyVaultProperties(ManagedDiskEncryptionKeyVaultProperties keyVaultProperties)
Set the key |
|
Managed |
withRotationToLatestKeyVersionEnabled(Boolean rotationToLatestKeyVersionEnabled)
Set the rotation |
Methods inherited from java.lang.Object
Constructor Details
ManagedDiskEncryption
public ManagedDiskEncryption()
Creates an instance of ManagedDiskEncryption class.
Method Details
fromJson
public static ManagedDiskEncryption fromJson(JsonReader jsonReader)
Reads an instance of ManagedDiskEncryption from the JsonReader.
Parameters:
Returns:
Throws:
keySource
public EncryptionKeySource keySource()
Get the keySource property: The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault.
Returns:
keyVaultProperties
public ManagedDiskEncryptionKeyVaultProperties keyVaultProperties()
Get the keyVaultProperties property: Key Vault input properties for encryption.
Returns:
rotationToLatestKeyVersionEnabled
public Boolean rotationToLatestKeyVersionEnabled()
Get the rotationToLatestKeyVersionEnabled property: Indicate whether the latest key version should be automatically used for Managed Disk Encryption.
Returns:
toJson
validate
public void validate()
Validates the instance.
withKeySource
public ManagedDiskEncryption withKeySource(EncryptionKeySource keySource)
Set the keySource property: The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault.
Parameters:
Returns:
withKeyVaultProperties
public ManagedDiskEncryption withKeyVaultProperties(ManagedDiskEncryptionKeyVaultProperties keyVaultProperties)
Set the keyVaultProperties property: Key Vault input properties for encryption.
Parameters:
Returns:
withRotationToLatestKeyVersionEnabled
public ManagedDiskEncryption withRotationToLatestKeyVersionEnabled(Boolean rotationToLatestKeyVersionEnabled)
Set the rotationToLatestKeyVersionEnabled property: Indicate whether the latest key version should be automatically used for Managed Disk Encryption.
Parameters:
Returns: