Class ApiKVReferenceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.ApiKVReferenceInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Description of site key vault references.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the activeVersion property: The activeVersion property.details()Get the details property: The details property.static ApiKVReferenceInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApiKVReferenceInner from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.Get the identityType property: Managed service identity.name()Get the name property: The name of the resource.Get the reference property: The reference property.Get the secretName property: The secretName property.Get the secretVersion property: The secretVersion property.source()Get the source property: The source property.status()Get the status property: The status property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.Get the vaultName property: The vaultName property.withActiveVersion(String activeVersion) Set the activeVersion property: The activeVersion property.withDetails(String details) Set the details property: The details property.withIdentityType(ManagedServiceIdentity identityType) Set the identityType property: Managed service identity.Set the kind property: Kind of resource.withReference(String reference) Set the reference property: The reference property.withSecretName(String secretName) Set the secretName property: The secretName property.withSecretVersion(String secretVersion) Set the secretVersion property: The secretVersion property.withSource(ConfigReferenceSource source) Set the source property: The source property.withStatus(ResolveStatus status) Set the status property: The status property.withVaultName(String vaultName) Set the vaultName property: The vaultName property.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kindMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ApiKVReferenceInner
public ApiKVReferenceInner()Creates an instance of ApiKVReferenceInner class.
-
-
Method Details
-
type
Get the type property: The type of the resource.- Overrides:
typein classProxyOnlyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classProxyOnlyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classProxyOnlyResource- Returns:
- the id value.
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
reference
Get the reference property: The reference property.- Returns:
- the reference value.
-
withReference
Set the reference property: The reference property.- Parameters:
reference- the reference value to set.- Returns:
- the ApiKVReferenceInner object itself.
-
status
Get the status property: The status property.- Returns:
- the status value.
-
withStatus
Set the status property: The status property.- Parameters:
status- the status value to set.- Returns:
- the ApiKVReferenceInner object itself.
-
vaultName
Get the vaultName property: The vaultName property.- Returns:
- the vaultName value.
-
withVaultName
Set the vaultName property: The vaultName property.- Parameters:
vaultName- the vaultName value to set.- Returns:
- the ApiKVReferenceInner object itself.
-
secretName
Get the secretName property: The secretName property.- Returns:
- the secretName value.
-
withSecretName
Set the secretName property: The secretName property.- Parameters:
secretName- the secretName value to set.- Returns:
- the ApiKVReferenceInner object itself.
-
secretVersion
Get the secretVersion property: The secretVersion property.- Returns:
- the secretVersion value.
-
withSecretVersion
Set the secretVersion property: The secretVersion property.- Parameters:
secretVersion- the secretVersion value to set.- Returns:
- the ApiKVReferenceInner object itself.
-
identityType
Get the identityType property: Managed service identity.- Returns:
- the identityType value.
-
withIdentityType
Set the identityType property: Managed service identity.- Parameters:
identityType- the identityType value to set.- Returns:
- the ApiKVReferenceInner object itself.
-
details
Get the details property: The details property.- Returns:
- the details value.
-
withDetails
Set the details property: The details property.- Parameters:
details- the details value to set.- Returns:
- the ApiKVReferenceInner object itself.
-
source
Get the source property: The source property.- Returns:
- the source value.
-
withSource
Set the source property: The source property.- Parameters:
source- the source value to set.- Returns:
- the ApiKVReferenceInner object itself.
-
activeVersion
Get the activeVersion property: The activeVersion property.- Returns:
- the activeVersion value.
-
withActiveVersion
Set the activeVersion property: The activeVersion property.- Parameters:
activeVersion- the activeVersion value to set.- Returns:
- the ApiKVReferenceInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classProxyOnlyResource- Throws:
IOException
-
fromJson
Reads an instance of ApiKVReferenceInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApiKVReferenceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ApiKVReferenceInner.
-