### 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: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **DiskEncryptionSettings**
implements <>" 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 DiskEncryptionSettings 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 diskEncryptionKey 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: "" - 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: "Boolean" - 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 DiskEncryptionSettings from the JsonReader." modifiers: - "static" parameters: - description: "The JsonReader being read." name: "jsonReader" type: "" syntax: "public static DiskEncryptionSettings fromJson(JsonReader jsonReader)" exceptions: - description: "If an error occurs while reading the DiskEncryptionSettings." type: "IOException" 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: "" - uid: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.keyEncryptionKey()" fullName: "com.azure.resourcemanager.compute.models.DiskEncryptionSettings.keyEncryptionKey()" name: "keyEncryptionKey()" nameWithType: "DiskEncryptionSettings.keyEncryptionKey()" summary: "Get the keyEncryptionKey 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: "" - 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: "" syntax: "public JsonWriter toJson(JsonWriter jsonWriter)" exceptions: - type: "IOException" returns: type: "" - 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 diskEncryptionKey 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: "" 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: "" - 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: "Boolean" 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: "" - 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 keyEncryptionKey property: Specifies the location of the key encryption key in Key Vault." parameters: - description: "the keyEncryptionKey value to set." name: "keyEncryptionKey" type: "" 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: "" type: "class" desc: "Describes a Encryption Settings for a Disk." implements: - "<>" metadata: {} package: "com.azure.resourcemanager.compute.models" artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0