Class ApplicationGatewayTrustedRootCertificate
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.network.models.ApplicationGatewayTrustedRootCertificate
-
public final class ApplicationGatewayTrustedRootCertificate extends com.azure.core.management.SubResourceTrusted Root certificates of an application gateway.
-
-
Constructor Summary
Constructors Constructor Description ApplicationGatewayTrustedRootCertificate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdata()Get the data property: Certificate public data.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.StringkeyVaultSecretId()Get the keyVaultSecretId property: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.Stringname()Get the name property: Name of the trusted root certificate that is unique within an Application Gateway.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the trusted root certificate resource.Stringtype()Get the type property: Type of the resource.voidvalidate()Validates the instance.ApplicationGatewayTrustedRootCertificatewithData(String data)Set the data property: Certificate public data.ApplicationGatewayTrustedRootCertificatewithId(String id)ApplicationGatewayTrustedRootCertificatewithKeyVaultSecretId(String keyVaultSecretId)Set the keyVaultSecretId property: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.ApplicationGatewayTrustedRootCertificatewithName(String name)Set the name property: Name of the trusted root certificate that is unique within an Application Gateway.
-
-
-
Method Detail
-
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.
-
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.
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
type
public String type()
Get the type property: Type of the resource.- Returns:
- the type value.
-
withId
public ApplicationGatewayTrustedRootCertificate withId(String id)
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
data
public String data()
Get the data property: Certificate public data.- Returns:
- the data value.
-
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.
-
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.
-
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.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the trusted root certificate resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-