Class ApplicationGatewayClientAuthConfiguration
java.lang.Object
com.azure.resourcemanager.network.models.ApplicationGatewayClientAuthConfiguration
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApplicationGatewayClientAuthConfiguration>
public final class ApplicationGatewayClientAuthConfiguration
extends Object
implements com.azure.json.JsonSerializable<ApplicationGatewayClientAuthConfiguration>
Application gateway client authentication configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayClientAuthConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayClientAuthConfiguration from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the verifyClientCertIssuerDN property: Verify client certificate issuer name on the application gateway.Get the verifyClientRevocation property: Verify client certificate revocation status.withVerifyClientCertIssuerDN(Boolean verifyClientCertIssuerDN) Set the verifyClientCertIssuerDN property: Verify client certificate issuer name on the application gateway.withVerifyClientRevocation(ApplicationGatewayClientRevocationOptions verifyClientRevocation) Set the verifyClientRevocation property: Verify client certificate revocation status.Methods 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
-
ApplicationGatewayClientAuthConfiguration
public ApplicationGatewayClientAuthConfiguration()Creates an instance of ApplicationGatewayClientAuthConfiguration class.
-
-
Method Details
-
verifyClientCertIssuerDN
Get the verifyClientCertIssuerDN property: Verify client certificate issuer name on the application gateway.- Returns:
- the verifyClientCertIssuerDN value.
-
withVerifyClientCertIssuerDN
public ApplicationGatewayClientAuthConfiguration withVerifyClientCertIssuerDN(Boolean verifyClientCertIssuerDN) Set the verifyClientCertIssuerDN property: Verify client certificate issuer name on the application gateway.- Parameters:
verifyClientCertIssuerDN- the verifyClientCertIssuerDN value to set.- Returns:
- the ApplicationGatewayClientAuthConfiguration object itself.
-
verifyClientRevocation
Get the verifyClientRevocation property: Verify client certificate revocation status.- Returns:
- the verifyClientRevocation value.
-
withVerifyClientRevocation
public ApplicationGatewayClientAuthConfiguration withVerifyClientRevocation(ApplicationGatewayClientRevocationOptions verifyClientRevocation) Set the verifyClientRevocation property: Verify client certificate revocation status.- Parameters:
verifyClientRevocation- the verifyClientRevocation value to set.- Returns:
- the ApplicationGatewayClientAuthConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ApplicationGatewayClientAuthConfiguration>- Throws:
IOException
-
fromJson
public static ApplicationGatewayClientAuthConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApplicationGatewayClientAuthConfiguration from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApplicationGatewayClientAuthConfiguration 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 ApplicationGatewayClientAuthConfiguration.
-