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

126 строки
9.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference"
fullName: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference"
name: "KeyVaultAndSecretReference"
nameWithType: "KeyVaultAndSecretReference"
summary: "Key Vault Secret Url and vault id of the encryption key."
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 **KeyVaultAndSecretReference**</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.compute.models.KeyVaultAndSecretReference?alt=com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference&text=KeyVaultAndSecretReference\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.KeyVaultAndSecretReference()"
fullName: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.KeyVaultAndSecretReference()"
name: "KeyVaultAndSecretReference()"
nameWithType: "KeyVaultAndSecretReference.KeyVaultAndSecretReference()"
summary: "Creates an instance of Key<wbr>Vault<wbr>And<wbr>Secret<wbr>Reference class."
syntax: "public KeyVaultAndSecretReference()"
desc: "Creates an instance of KeyVaultAndSecretReference class."
methods:
- uid: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "KeyVaultAndSecretReference.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Key<wbr>Vault<wbr>And<wbr>Secret<wbr>Reference 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 KeyVaultAndSecretReference fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of KeyVaultAndSecretReference from the JsonReader."
returns:
description: "An instance of KeyVaultAndSecretReference if the JsonReader was pointing to an instance of it, or null if\n it was pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference?alt=com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference&text=KeyVaultAndSecretReference\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.secretUrl()"
fullName: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.secretUrl()"
name: "secretUrl()"
nameWithType: "KeyVaultAndSecretReference.secretUrl()"
summary: "Get the secret<wbr>Url property: Url pointing to a key or secret in Key<wbr>Vault."
syntax: "public String secretUrl()"
desc: "Get the secretUrl property: Url pointing to a key or secret in KeyVault."
returns:
description: "the secretUrl value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.sourceVault()"
fullName: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.sourceVault()"
name: "sourceVault()"
nameWithType: "KeyVaultAndSecretReference.sourceVault()"
summary: "Get the source<wbr>Vault property: Resource id of the Key<wbr>Vault containing the key or secret."
syntax: "public SourceVault sourceVault()"
desc: "Get the sourceVault property: Resource id of the KeyVault containing the key or secret."
returns:
description: "the sourceVault value."
type: "<xref href=\"com.azure.resourcemanager.compute.models.SourceVault?alt=com.azure.resourcemanager.compute.models.SourceVault&text=SourceVault\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "KeyVaultAndSecretReference.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.KeyVaultAndSecretReference.validate()"
fullName: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.validate()"
name: "validate()"
nameWithType: "KeyVaultAndSecretReference.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.withSecretUrl(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.withSecretUrl(String secretUrl)"
name: "withSecretUrl(String secretUrl)"
nameWithType: "KeyVaultAndSecretReference.withSecretUrl(String secretUrl)"
summary: "Set the secret<wbr>Url property: Url pointing to a key or secret in Key<wbr>Vault."
parameters:
- description: "the secretUrl value to set."
name: "secretUrl"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public KeyVaultAndSecretReference withSecretUrl(String secretUrl)"
desc: "Set the secretUrl property: Url pointing to a key or secret in KeyVault."
returns:
description: "the KeyVaultAndSecretReference object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference?alt=com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference&text=KeyVaultAndSecretReference\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.withSourceVault(com.azure.resourcemanager.compute.models.SourceVault)"
fullName: "com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference.withSourceVault(SourceVault sourceVault)"
name: "withSourceVault(SourceVault sourceVault)"
nameWithType: "KeyVaultAndSecretReference.withSourceVault(SourceVault sourceVault)"
summary: "Set the source<wbr>Vault property: Resource id of the Key<wbr>Vault containing the key or secret."
parameters:
- description: "the sourceVault value to set."
name: "sourceVault"
type: "<xref href=\"com.azure.resourcemanager.compute.models.SourceVault?alt=com.azure.resourcemanager.compute.models.SourceVault&text=SourceVault\" data-throw-if-not-resolved=\"False\" />"
syntax: "public KeyVaultAndSecretReference withSourceVault(SourceVault sourceVault)"
desc: "Set the sourceVault property: Resource id of the KeyVault containing the key or secret."
returns:
description: "the KeyVaultAndSecretReference object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference?alt=com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference&text=KeyVaultAndSecretReference\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Key Vault Secret Url and vault id of the encryption key."
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.compute.models.KeyVaultAndSecretReference?alt=com.azure.resourcemanager.compute.models.KeyVaultAndSecretReference&text=KeyVaultAndSecretReference\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0