ApiKVReferenceInner Class

public final class ApiKVReferenceInner
extends ProxyOnlyResource

Description of site key vault references.

Constructor Summary

Constructor Description
ApiKVReferenceInner()

Creates an instance of ApiKVReferenceInner class.

Method Summary

Modifier and Type Method and Description
String activeVersion()

Get the activeVersion property: The activeVersion property.

String details()

Get the details property: The details property.

static ApiKVReferenceInner fromJson(JsonReader jsonReader)

Reads an instance of ApiKVReferenceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

ManagedServiceIdentity identityType()

Get the identityType property: Managed service identity.

String name()

Get the name property: The name of the resource.

String reference()

Get the reference property: The reference property.

String secretName()

Get the secretName property: The secretName property.

String secretVersion()

Get the secretVersion property: The secretVersion property.

ConfigReferenceSource source()

Get the source property: The source property.

ResolveStatus status()

Get the status property: The status property.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

String vaultName()

Get the vaultName property: The vaultName property.

ApiKVReferenceInner withActiveVersion(String activeVersion)

Set the activeVersion property: The activeVersion property.

ApiKVReferenceInner withDetails(String details)

Set the details property: The details property.

ApiKVReferenceInner withIdentityType(ManagedServiceIdentity identityType)

Set the identityType property: Managed service identity.

ApiKVReferenceInner withKind(String kind)

Set the kind property: Kind of resource.

ApiKVReferenceInner withReference(String reference)

Set the reference property: The reference property.

ApiKVReferenceInner withSecretName(String secretName)

Set the secretName property: The secretName property.

ApiKVReferenceInner withSecretVersion(String secretVersion)

Set the secretVersion property: The secretVersion property.

ApiKVReferenceInner withSource(ConfigReferenceSource source)

Set the source property: The source property.

ApiKVReferenceInner withStatus(ResolveStatus status)

Set the status property: The status property.

ApiKVReferenceInner withVaultName(String vaultName)

Set the vaultName property: The vaultName property.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

ApiKVReferenceInner

public ApiKVReferenceInner()

Creates an instance of ApiKVReferenceInner class.

Method Details

activeVersion

public String activeVersion()

Get the activeVersion property: The activeVersion property.

Returns:

the activeVersion value.

details

public String details()

Get the details property: The details property.

Returns:

the details value.

fromJson

public static ApiKVReferenceInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ApiKVReferenceInner.id()

Returns:

the id value.

identityType

public ManagedServiceIdentity identityType()

Get the identityType property: Managed service identity.

Returns:

the identityType value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ApiKVReferenceInner.name()

Returns:

the name value.

reference

public String reference()

Get the reference property: The reference property.

Returns:

the reference value.

secretName

public String secretName()

Get the secretName property: The secretName property.

Returns:

the secretName value.

secretVersion

public String secretVersion()

Get the secretVersion property: The secretVersion property.

Returns:

the secretVersion value.

source

public ConfigReferenceSource source()

Get the source property: The source property.

Returns:

the source value.

status

public ResolveStatus status()

Get the status property: The status property.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApiKVReferenceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ApiKVReferenceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

ApiKVReferenceInner.validate()

vaultName

public String vaultName()

Get the vaultName property: The vaultName property.

Returns:

the vaultName value.

withActiveVersion

public ApiKVReferenceInner withActiveVersion(String activeVersion)

Set the activeVersion property: The activeVersion property.

Parameters:

activeVersion - the activeVersion value to set.

Returns:

the ApiKVReferenceInner object itself.

withDetails

public ApiKVReferenceInner withDetails(String details)

Set the details property: The details property.

Parameters:

details - the details value to set.

Returns:

the ApiKVReferenceInner object itself.

withIdentityType

public ApiKVReferenceInner withIdentityType(ManagedServiceIdentity identityType)

Set the identityType property: Managed service identity.

Parameters:

identityType - the identityType value to set.

Returns:

the ApiKVReferenceInner object itself.

withKind

public ApiKVReferenceInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

ApiKVReferenceInner.withKind(String kind)

Parameters:

kind

withReference

public ApiKVReferenceInner withReference(String reference)

Set the reference property: The reference property.

Parameters:

reference - the reference value to set.

Returns:

the ApiKVReferenceInner object itself.

withSecretName

public ApiKVReferenceInner withSecretName(String secretName)

Set the secretName property: The secretName property.

Parameters:

secretName - the secretName value to set.

Returns:

the ApiKVReferenceInner object itself.

withSecretVersion

public ApiKVReferenceInner withSecretVersion(String secretVersion)

Set the secretVersion property: The secretVersion property.

Parameters:

secretVersion - the secretVersion value to set.

Returns:

the ApiKVReferenceInner object itself.

withSource

public ApiKVReferenceInner withSource(ConfigReferenceSource source)

Set the source property: The source property.

Parameters:

source - the source value to set.

Returns:

the ApiKVReferenceInner object itself.

withStatus

public ApiKVReferenceInner withStatus(ResolveStatus status)

Set the status property: The status property.

Parameters:

status - the status value to set.

Returns:

the ApiKVReferenceInner object itself.

withVaultName

public ApiKVReferenceInner withVaultName(String vaultName)

Set the vaultName property: The vaultName property.

Parameters:

vaultName - the vaultName value to set.

Returns:

the ApiKVReferenceInner object itself.

Applies to