StorageAccountEncryption Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. StorageAccountEncryption
- com.
Implements
public final class StorageAccountEncryption
implements JsonSerializable<StorageAccountEncryption>
(Optional) Discouraged to include in resource definition. Only needed where it is possible to disable platform (AKA infrastructure) encryption. Azure SQL TDE is an example of this. Values are enabled and disabled.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageAccountEncryption() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Customer |
customerManagedKeyEncryption()
Get the customer |
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
|
Infrastructure |
infrastructureEncryption()
Get the infrastructure |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Storage |
withCustomerManagedKeyEncryption(CustomerManagedKeyEncryption customerManagedKeyEncryption)
Set the customer |
|
Storage |
withInfrastructureEncryption(InfrastructureEncryption infrastructureEncryption)
Set the infrastructure |
Methods inherited from java.lang.Object
Constructor Details
StorageAccountEncryption
public StorageAccountEncryption()
Creates an instance of StorageAccountEncryption class.
Method Details
customerManagedKeyEncryption
public CustomerManagedKeyEncryption customerManagedKeyEncryption()
Get the customerManagedKeyEncryption property: All Customer-managed key encryption properties for the resource.
Returns:
fromJson
public static StorageAccountEncryption fromJson(JsonReader jsonReader)
Reads an instance of StorageAccountEncryption from the JsonReader.
Parameters:
Returns:
Throws:
infrastructureEncryption
public InfrastructureEncryption infrastructureEncryption()
Get the infrastructureEncryption property: Values are enabled and disabled.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCustomerManagedKeyEncryption
public StorageAccountEncryption withCustomerManagedKeyEncryption(CustomerManagedKeyEncryption customerManagedKeyEncryption)
Set the customerManagedKeyEncryption property: All Customer-managed key encryption properties for the resource.
Parameters:
Returns:
withInfrastructureEncryption
public StorageAccountEncryption withInfrastructureEncryption(InfrastructureEncryption infrastructureEncryption)
Set the infrastructureEncryption property: Values are enabled and disabled.
Parameters:
Returns: