azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.s...

198 строки
15 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.storage.models.Encryption"
fullName: "com.azure.resourcemanager.storage.models.Encryption"
name: "Encryption"
nameWithType: "Encryption"
summary: "The encryption settings on the storage account."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **Encryption**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.storage.models.Encryption?alt=com.azure.resourcemanager.storage.models.Encryption&text=Encryption\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.storage.models.Encryption.Encryption()"
fullName: "com.azure.resourcemanager.storage.models.Encryption.Encryption()"
name: "Encryption()"
nameWithType: "Encryption.Encryption()"
summary: "Creates an instance of Encryption class."
syntax: "public Encryption()"
desc: "Creates an instance of Encryption class."
methods:
- uid: "com.azure.resourcemanager.storage.models.Encryption.encryptionIdentity()"
fullName: "com.azure.resourcemanager.storage.models.Encryption.encryptionIdentity()"
name: "encryptionIdentity()"
nameWithType: "Encryption.encryptionIdentity()"
summary: "Get the encryption<wbr>Identity property: The identity to be used with service-side encryption at rest."
syntax: "public EncryptionIdentity encryptionIdentity()"
desc: "Get the encryptionIdentity property: The identity to be used with service-side encryption at rest."
returns:
description: "the encryptionIdentity value."
type: "<xref href=\"com.azure.resourcemanager.storage.models.EncryptionIdentity?alt=com.azure.resourcemanager.storage.models.EncryptionIdentity&text=EncryptionIdentity\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.Encryption.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.storage.models.Encryption.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Encryption.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Encryption from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static Encryption fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the Encryption."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of Encryption from the JsonReader."
returns:
description: "An instance of Encryption if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
type: "<xref href=\"com.azure.resourcemanager.storage.models.Encryption?alt=com.azure.resourcemanager.storage.models.Encryption&text=Encryption\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.Encryption.keySource()"
fullName: "com.azure.resourcemanager.storage.models.Encryption.keySource()"
name: "keySource()"
nameWithType: "Encryption.keySource()"
summary: "Get the key<wbr>Source property: The encryption key<wbr>Source (provider)."
syntax: "public KeySource keySource()"
desc: "Get the keySource property: The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault."
returns:
description: "the keySource value."
type: "<xref href=\"com.azure.resourcemanager.storage.models.KeySource?alt=com.azure.resourcemanager.storage.models.KeySource&text=KeySource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.Encryption.keyVaultProperties()"
fullName: "com.azure.resourcemanager.storage.models.Encryption.keyVaultProperties()"
name: "keyVaultProperties()"
nameWithType: "Encryption.keyVaultProperties()"
summary: "Get the key<wbr>Vault<wbr>Properties property: Properties provided by key vault."
syntax: "public KeyVaultProperties keyVaultProperties()"
desc: "Get the keyVaultProperties property: Properties provided by key vault."
returns:
description: "the keyVaultProperties value."
type: "<xref href=\"com.azure.resourcemanager.storage.models.KeyVaultProperties?alt=com.azure.resourcemanager.storage.models.KeyVaultProperties&text=KeyVaultProperties\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.Encryption.requireInfrastructureEncryption()"
fullName: "com.azure.resourcemanager.storage.models.Encryption.requireInfrastructureEncryption()"
name: "requireInfrastructureEncryption()"
nameWithType: "Encryption.requireInfrastructureEncryption()"
summary: "Get the require<wbr>Infrastructure<wbr>Encryption property: A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest."
syntax: "public Boolean requireInfrastructureEncryption()"
desc: "Get the requireInfrastructureEncryption property: A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest."
returns:
description: "the requireInfrastructureEncryption value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.storage.models.Encryption.services()"
fullName: "com.azure.resourcemanager.storage.models.Encryption.services()"
name: "services()"
nameWithType: "Encryption.services()"
summary: "Get the services property: List of services which support encryption."
syntax: "public EncryptionServices services()"
desc: "Get the services property: List of services which support encryption."
returns:
description: "the services value."
type: "<xref href=\"com.azure.resourcemanager.storage.models.EncryptionServices?alt=com.azure.resourcemanager.storage.models.EncryptionServices&text=EncryptionServices\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.Encryption.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.storage.models.Encryption.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Encryption.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.Encryption.validate()"
fullName: "com.azure.resourcemanager.storage.models.Encryption.validate()"
name: "validate()"
nameWithType: "Encryption.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.storage.models.Encryption.withEncryptionIdentity(com.azure.resourcemanager.storage.models.EncryptionIdentity)"
fullName: "com.azure.resourcemanager.storage.models.Encryption.withEncryptionIdentity(EncryptionIdentity encryptionIdentity)"
name: "withEncryptionIdentity(EncryptionIdentity encryptionIdentity)"
nameWithType: "Encryption.withEncryptionIdentity(EncryptionIdentity encryptionIdentity)"
summary: "Set the encryption<wbr>Identity property: The identity to be used with service-side encryption at rest."
parameters:
- description: "the encryptionIdentity value to set."
name: "encryptionIdentity"
type: "<xref href=\"com.azure.resourcemanager.storage.models.EncryptionIdentity?alt=com.azure.resourcemanager.storage.models.EncryptionIdentity&text=EncryptionIdentity\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Encryption withEncryptionIdentity(EncryptionIdentity encryptionIdentity)"
desc: "Set the encryptionIdentity property: The identity to be used with service-side encryption at rest."
returns:
description: "the Encryption object itself."
type: "<xref href=\"com.azure.resourcemanager.storage.models.Encryption?alt=com.azure.resourcemanager.storage.models.Encryption&text=Encryption\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.Encryption.withKeySource(com.azure.resourcemanager.storage.models.KeySource)"
fullName: "com.azure.resourcemanager.storage.models.Encryption.withKeySource(KeySource keySource)"
name: "withKeySource(KeySource keySource)"
nameWithType: "Encryption.withKeySource(KeySource keySource)"
summary: "Set the key<wbr>Source property: The encryption key<wbr>Source (provider)."
parameters:
- description: "the keySource value to set."
name: "keySource"
type: "<xref href=\"com.azure.resourcemanager.storage.models.KeySource?alt=com.azure.resourcemanager.storage.models.KeySource&text=KeySource\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Encryption withKeySource(KeySource keySource)"
desc: "Set the keySource property: The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault."
returns:
description: "the Encryption object itself."
type: "<xref href=\"com.azure.resourcemanager.storage.models.Encryption?alt=com.azure.resourcemanager.storage.models.Encryption&text=Encryption\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.Encryption.withKeyVaultProperties(com.azure.resourcemanager.storage.models.KeyVaultProperties)"
fullName: "com.azure.resourcemanager.storage.models.Encryption.withKeyVaultProperties(KeyVaultProperties keyVaultProperties)"
name: "withKeyVaultProperties(KeyVaultProperties keyVaultProperties)"
nameWithType: "Encryption.withKeyVaultProperties(KeyVaultProperties keyVaultProperties)"
summary: "Set the key<wbr>Vault<wbr>Properties property: Properties provided by key vault."
parameters:
- description: "the keyVaultProperties value to set."
name: "keyVaultProperties"
type: "<xref href=\"com.azure.resourcemanager.storage.models.KeyVaultProperties?alt=com.azure.resourcemanager.storage.models.KeyVaultProperties&text=KeyVaultProperties\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Encryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties)"
desc: "Set the keyVaultProperties property: Properties provided by key vault."
returns:
description: "the Encryption object itself."
type: "<xref href=\"com.azure.resourcemanager.storage.models.Encryption?alt=com.azure.resourcemanager.storage.models.Encryption&text=Encryption\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.Encryption.withRequireInfrastructureEncryption(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.storage.models.Encryption.withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)"
name: "withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)"
nameWithType: "Encryption.withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)"
summary: "Set the require<wbr>Infrastructure<wbr>Encryption property: A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest."
parameters:
- description: "the requireInfrastructureEncryption value to set."
name: "requireInfrastructureEncryption"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public Encryption withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)"
desc: "Set the requireInfrastructureEncryption property: A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest."
returns:
description: "the Encryption object itself."
type: "<xref href=\"com.azure.resourcemanager.storage.models.Encryption?alt=com.azure.resourcemanager.storage.models.Encryption&text=Encryption\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.Encryption.withServices(com.azure.resourcemanager.storage.models.EncryptionServices)"
fullName: "com.azure.resourcemanager.storage.models.Encryption.withServices(EncryptionServices services)"
name: "withServices(EncryptionServices services)"
nameWithType: "Encryption.withServices(EncryptionServices services)"
summary: "Set the services property: List of services which support encryption."
parameters:
- description: "the services value to set."
name: "services"
type: "<xref href=\"com.azure.resourcemanager.storage.models.EncryptionServices?alt=com.azure.resourcemanager.storage.models.EncryptionServices&text=EncryptionServices\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Encryption withServices(EncryptionServices services)"
desc: "Set the services property: List of services which support encryption."
returns:
description: "the Encryption object itself."
type: "<xref href=\"com.azure.resourcemanager.storage.models.Encryption?alt=com.azure.resourcemanager.storage.models.Encryption&text=Encryption\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The encryption settings on the storage account."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.storage.models.Encryption?alt=com.azure.resourcemanager.storage.models.Encryption&text=Encryption\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.storage.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-storage:2.42.0