DiskEncryptionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. hdinsight. models. DiskEncryptionProperties
- com.
public final class DiskEncryptionProperties
The disk encryption properties.
Constructor Summary
Constructor | Description |
---|---|
DiskEncryptionProperties() |
Creates an instance of Disk |
Method Summary
Modifier and Type | Method and Description |
---|---|
Json |
encryptionAlgorithm()
Get the encryption |
Boolean |
encryptionAtHost()
Get the encryption |
String |
keyName()
Get the key |
String |
keyVersion()
Get the key |
String |
msiResourceId()
Get the msi |
void |
validate()
Validates the instance. |
String |
vaultUri()
Get the vault |
Disk |
withEncryptionAlgorithm(JsonWebKeyEncryptionAlgorithm encryptionAlgorithm)
Set the encryption |
Disk |
withEncryptionAtHost(Boolean encryptionAtHost)
Set the encryption |
Disk |
withKeyName(String keyName)
Set the key |
Disk |
withKeyVersion(String keyVersion)
Set the key |
Disk |
withMsiResourceId(String msiResourceId)
Set the msi |
Disk |
withVaultUri(String vaultUri)
Set the vault |
Methods inherited from java.lang.Object
Constructor Details
DiskEncryptionProperties
public DiskEncryptionProperties()
Creates an instance of DiskEncryptionProperties class.
Method Details
encryptionAlgorithm
public JsonWebKeyEncryptionAlgorithm encryptionAlgorithm()
Get the encryptionAlgorithm property: Algorithm identifier for encryption, default RSA-OAEP.
Returns:
encryptionAtHost
public Boolean encryptionAtHost()
Get the encryptionAtHost property: Indicates whether or not resource disk encryption is enabled.
Returns:
keyName
public String keyName()
Get the keyName property: Key name that is used for enabling disk encryption.
Returns:
keyVersion
public String keyVersion()
Get the keyVersion property: Specific key version that is used for enabling disk encryption.
Returns:
msiResourceId
public String msiResourceId()
Get the msiResourceId property: Resource ID of Managed Identity that is used to access the key vault.
Returns:
validate
public void validate()
Validates the instance.
vaultUri
public String vaultUri()
Get the vaultUri property: Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net.
Returns:
withEncryptionAlgorithm
public DiskEncryptionProperties withEncryptionAlgorithm(JsonWebKeyEncryptionAlgorithm encryptionAlgorithm)
Set the encryptionAlgorithm property: Algorithm identifier for encryption, default RSA-OAEP.
Parameters:
Returns:
withEncryptionAtHost
public DiskEncryptionProperties withEncryptionAtHost(Boolean encryptionAtHost)
Set the encryptionAtHost property: Indicates whether or not resource disk encryption is enabled.
Parameters:
Returns:
withKeyName
public DiskEncryptionProperties withKeyName(String keyName)
Set the keyName property: Key name that is used for enabling disk encryption.
Parameters:
Returns:
withKeyVersion
public DiskEncryptionProperties withKeyVersion(String keyVersion)
Set the keyVersion property: Specific key version that is used for enabling disk encryption.
Parameters:
Returns:
withMsiResourceId
public DiskEncryptionProperties withMsiResourceId(String msiResourceId)
Set the msiResourceId property: Resource ID of Managed Identity that is used to access the key vault.
Parameters:
Returns:
withVaultUri
public DiskEncryptionProperties withVaultUri(String vaultUri)
Set the vaultUri property: Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for