AppServiceCertificateResourceInner Class

public final class AppServiceCertificateResourceInner
extends Resource

Key Vault container ARM resource for a certificate that is purchased through Azure.

Constructor Summary

Constructor Description
AppServiceCertificateResourceInner()

Creates an instance of AppServiceCertificateResourceInner class.

Method Summary

Modifier and Type Method and Description
static AppServiceCertificateResourceInner fromJson(JsonReader jsonReader)

Reads an instance of AppServiceCertificateResourceInner from the JsonReader.

String id()

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

String keyVaultId()

Get the keyVaultId property: Key Vault resource Id.

String keyVaultSecretName()

Get the keyVaultSecretName property: Key Vault secret name.

String kind()

Get the kind property: Kind of resource.

String name()

Get the name property: The name of the resource.

KeyVaultSecretStatus provisioningState()

Get the provisioningState property: Status of the Key Vault secret.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

AppServiceCertificateResourceInner withKeyVaultId(String keyVaultId)

Set the keyVaultId property: Key Vault resource Id.

AppServiceCertificateResourceInner withKeyVaultSecretName(String keyVaultSecretName)

Set the keyVaultSecretName property: Key Vault secret name.

AppServiceCertificateResourceInner withKind(String kind)

Set the kind property: Kind of resource.

AppServiceCertificateResourceInner withLocation(String location)
AppServiceCertificateResourceInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

AppServiceCertificateResourceInner

public AppServiceCertificateResourceInner()

Creates an instance of AppServiceCertificateResourceInner class.

Method Details

fromJson

public static AppServiceCertificateResourceInner fromJson(JsonReader jsonReader)

Reads an instance of AppServiceCertificateResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AppServiceCertificateResourceInner 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:

AppServiceCertificateResourceInner.id()

Returns:

the id value.

keyVaultId

public String keyVaultId()

Get the keyVaultId property: Key Vault resource Id.

Returns:

the keyVaultId value.

keyVaultSecretName

public String keyVaultSecretName()

Get the keyVaultSecretName property: Key Vault secret name.

Returns:

the keyVaultSecretName value.

kind

public String kind()

Get the kind property: Kind of resource.

Returns:

the kind value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AppServiceCertificateResourceInner.name()

Returns:

the name value.

provisioningState

public KeyVaultSecretStatus provisioningState()

Get the provisioningState property: Status of the Key Vault secret.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AppServiceCertificateResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AppServiceCertificateResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withKeyVaultId

public AppServiceCertificateResourceInner withKeyVaultId(String keyVaultId)

Set the keyVaultId property: Key Vault resource Id.

Parameters:

keyVaultId - the keyVaultId value to set.

Returns:

the AppServiceCertificateResourceInner object itself.

withKeyVaultSecretName

public AppServiceCertificateResourceInner withKeyVaultSecretName(String keyVaultSecretName)

Set the keyVaultSecretName property: Key Vault secret name.

Parameters:

keyVaultSecretName - the keyVaultSecretName value to set.

Returns:

the AppServiceCertificateResourceInner object itself.

withKind

public AppServiceCertificateResourceInner withKind(String kind)

Set the kind property: Kind of resource.

Parameters:

kind - the kind value to set.

Returns:

the AppServiceCertificateResourceInner object itself.

withLocation

public AppServiceCertificateResourceInner withLocation(String location)

Overrides:

AppServiceCertificateResourceInner.withLocation(String location)

Parameters:

location

withTags

public AppServiceCertificateResourceInner withTags(Map tags)

Overrides:

AppServiceCertificateResourceInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to