Partager via


ApplicationGatewayTrustedRootCertificate Class

public final class ApplicationGatewayTrustedRootCertificate
extends SubResource

Trusted Root certificates of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayTrustedRootCertificate()

Creates an instance of ApplicationGatewayTrustedRootCertificate class.

Method Summary

Modifier and Type Method and Description
String data()

Get the data property: Certificate public data.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static ApplicationGatewayTrustedRootCertificate fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayTrustedRootCertificate from the JsonReader.

String keyVaultSecretId()

Get the keyVaultSecretId property: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.

String name()

Get the name property: Name of the trusted root certificate that is unique within an Application Gateway.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the trusted root certificate resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ApplicationGatewayTrustedRootCertificate withData(String data)

Set the data property: Certificate public data.

ApplicationGatewayTrustedRootCertificate withId(String id)
ApplicationGatewayTrustedRootCertificate withKeyVaultSecretId(String keyVaultSecretId)

Set the keyVaultSecretId property: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.

ApplicationGatewayTrustedRootCertificate withName(String name)

Set the name property: Name of the trusted root certificate that is unique within an Application Gateway.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayTrustedRootCertificate

public ApplicationGatewayTrustedRootCertificate()

Creates an instance of ApplicationGatewayTrustedRootCertificate class.

Method Details

data

public String data()

Get the data property: Certificate public data.

Returns:

the data value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static ApplicationGatewayTrustedRootCertificate fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayTrustedRootCertificate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationGatewayTrustedRootCertificate if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ApplicationGatewayTrustedRootCertificate.

keyVaultSecretId

public String keyVaultSecretId()

Get the keyVaultSecretId property: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.

Returns:

the keyVaultSecretId value.

name

public String name()

Get the name property: Name of the trusted root certificate that is unique within an Application Gateway.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the trusted root certificate resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApplicationGatewayTrustedRootCertificate.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withData

public ApplicationGatewayTrustedRootCertificate withData(String data)

Set the data property: Certificate public data.

Parameters:

data - the data value to set.

Returns:

the ApplicationGatewayTrustedRootCertificate object itself.

withId

public ApplicationGatewayTrustedRootCertificate withId(String id)

Overrides:

ApplicationGatewayTrustedRootCertificate.withId(String id)

Parameters:

id

withKeyVaultSecretId

public ApplicationGatewayTrustedRootCertificate withKeyVaultSecretId(String keyVaultSecretId)

Set the keyVaultSecretId property: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.

Parameters:

keyVaultSecretId - the keyVaultSecretId value to set.

Returns:

the ApplicationGatewayTrustedRootCertificate object itself.

withName

public ApplicationGatewayTrustedRootCertificate withName(String name)

Set the name property: Name of the trusted root certificate that is unique within an Application Gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayTrustedRootCertificate object itself.

Applies to