150 строки
12 KiB
YAML
150 строки
12 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings"
|
|
name: "DiskEncryptionSettings"
|
|
nameWithType: "DiskEncryptionSettings"
|
|
summary: "Describes a Encryption Settings for a Disk."
|
|
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 **DiskEncryptionSettings**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.DiskEncryptionSettings?alt=com.azure.resourcemanager.compute.models.DiskEncryptionSettings&text=DiskEncryptionSettings\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.DiskEncryptionSettings()"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.DiskEncryptionSettings()"
|
|
name: "DiskEncryptionSettings()"
|
|
nameWithType: "DiskEncryptionSettings.DiskEncryptionSettings()"
|
|
summary: "Creates an instance of Disk<wbr>Encryption<wbr>Settings class."
|
|
syntax: "public DiskEncryptionSettings()"
|
|
desc: "Creates an instance of DiskEncryptionSettings class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.diskEncryptionKey()"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.diskEncryptionKey()"
|
|
name: "diskEncryptionKey()"
|
|
nameWithType: "DiskEncryptionSettings.diskEncryptionKey()"
|
|
summary: "Get the disk<wbr>Encryption<wbr>Key property: Specifies the location of the disk encryption key, which is a Key Vault Secret."
|
|
syntax: "public KeyVaultSecretReference diskEncryptionKey()"
|
|
desc: "Get the diskEncryptionKey property: Specifies the location of the disk encryption key, which is a Key Vault Secret."
|
|
returns:
|
|
description: "the diskEncryptionKey value."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.KeyVaultSecretReference?alt=com.azure.resourcemanager.compute.models.KeyVaultSecretReference&text=KeyVaultSecretReference\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.enabled()"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.enabled()"
|
|
name: "enabled()"
|
|
nameWithType: "DiskEncryptionSettings.enabled()"
|
|
summary: "Get the enabled property: Specifies whether disk encryption should be enabled on the virtual machine."
|
|
syntax: "public Boolean enabled()"
|
|
desc: "Get the enabled property: Specifies whether disk encryption should be enabled on the virtual machine."
|
|
returns:
|
|
description: "the enabled value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
- uid: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "DiskEncryptionSettings.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Disk<wbr>Encryption<wbr>Settings 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 DiskEncryptionSettings fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the DiskEncryptionSettings."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of DiskEncryptionSettings from the JsonReader."
|
|
returns:
|
|
description: "An instance of DiskEncryptionSettings if the JsonReader was pointing to an instance of it, or null if it\n was pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.DiskEncryptionSettings?alt=com.azure.resourcemanager.compute.models.DiskEncryptionSettings&text=DiskEncryptionSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.keyEncryptionKey()"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.keyEncryptionKey()"
|
|
name: "keyEncryptionKey()"
|
|
nameWithType: "DiskEncryptionSettings.keyEncryptionKey()"
|
|
summary: "Get the key<wbr>Encryption<wbr>Key property: Specifies the location of the key encryption key in Key Vault."
|
|
syntax: "public KeyVaultKeyReference keyEncryptionKey()"
|
|
desc: "Get the keyEncryptionKey property: Specifies the location of the key encryption key in Key Vault."
|
|
returns:
|
|
description: "the keyEncryptionKey value."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.KeyVaultKeyReference?alt=com.azure.resourcemanager.compute.models.KeyVaultKeyReference&text=KeyVaultKeyReference\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "DiskEncryptionSettings.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.compute.models.DiskEncryptionSettings.validate()"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.validate()"
|
|
name: "validate()"
|
|
nameWithType: "DiskEncryptionSettings.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.withDiskEncryptionKey(com.azure.resourcemanager.compute.models.KeyVaultSecretReference)"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.withDiskEncryptionKey(KeyVaultSecretReference diskEncryptionKey)"
|
|
name: "withDiskEncryptionKey(KeyVaultSecretReference diskEncryptionKey)"
|
|
nameWithType: "DiskEncryptionSettings.withDiskEncryptionKey(KeyVaultSecretReference diskEncryptionKey)"
|
|
summary: "Set the disk<wbr>Encryption<wbr>Key property: Specifies the location of the disk encryption key, which is a Key Vault Secret."
|
|
parameters:
|
|
- description: "the diskEncryptionKey value to set."
|
|
name: "diskEncryptionKey"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.KeyVaultSecretReference?alt=com.azure.resourcemanager.compute.models.KeyVaultSecretReference&text=KeyVaultSecretReference\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DiskEncryptionSettings withDiskEncryptionKey(KeyVaultSecretReference diskEncryptionKey)"
|
|
desc: "Set the diskEncryptionKey property: Specifies the location of the disk encryption key, which is a Key Vault Secret."
|
|
returns:
|
|
description: "the DiskEncryptionSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.DiskEncryptionSettings?alt=com.azure.resourcemanager.compute.models.DiskEncryptionSettings&text=DiskEncryptionSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.withEnabled(java.lang.Boolean)"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.withEnabled(Boolean enabled)"
|
|
name: "withEnabled(Boolean enabled)"
|
|
nameWithType: "DiskEncryptionSettings.withEnabled(Boolean enabled)"
|
|
summary: "Set the enabled property: Specifies whether disk encryption should be enabled on the virtual machine."
|
|
parameters:
|
|
- description: "the enabled value to set."
|
|
name: "enabled"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
syntax: "public DiskEncryptionSettings withEnabled(Boolean enabled)"
|
|
desc: "Set the enabled property: Specifies whether disk encryption should be enabled on the virtual machine."
|
|
returns:
|
|
description: "the DiskEncryptionSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.DiskEncryptionSettings?alt=com.azure.resourcemanager.compute.models.DiskEncryptionSettings&text=DiskEncryptionSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.withKeyEncryptionKey(com.azure.resourcemanager.compute.models.KeyVaultKeyReference)"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.withKeyEncryptionKey(KeyVaultKeyReference keyEncryptionKey)"
|
|
name: "withKeyEncryptionKey(KeyVaultKeyReference keyEncryptionKey)"
|
|
nameWithType: "DiskEncryptionSettings.withKeyEncryptionKey(KeyVaultKeyReference keyEncryptionKey)"
|
|
summary: "Set the key<wbr>Encryption<wbr>Key property: Specifies the location of the key encryption key in Key Vault."
|
|
parameters:
|
|
- description: "the keyEncryptionKey value to set."
|
|
name: "keyEncryptionKey"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.KeyVaultKeyReference?alt=com.azure.resourcemanager.compute.models.KeyVaultKeyReference&text=KeyVaultKeyReference\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DiskEncryptionSettings withKeyEncryptionKey(KeyVaultKeyReference keyEncryptionKey)"
|
|
desc: "Set the keyEncryptionKey property: Specifies the location of the key encryption key in Key Vault."
|
|
returns:
|
|
description: "the DiskEncryptionSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.DiskEncryptionSettings?alt=com.azure.resourcemanager.compute.models.DiskEncryptionSettings&text=DiskEncryptionSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Describes a Encryption Settings for a Disk."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.DiskEncryptionSettings?alt=com.azure.resourcemanager.compute.models.DiskEncryptionSettings&text=DiskEncryptionSettings\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.compute.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.42.0
|