ApplicationGatewayAuthConfig Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ApplicationGatewayAuthConfig

Implements

public final class ApplicationGatewayAuthConfig
implements JsonSerializable<ApplicationGatewayAuthConfig>

An authentication configuration binding for an Application Gateway routing rule or routing map.

Constructor Summary

Constructor Description
ApplicationGatewayAuthConfig()

Creates an instance of ApplicationGatewayAuthConfig class.

Method Summary

Modifier and Type Method and Description
SubResource authenticationPolicy()

Get the authenticationPolicy property: Reference to the authentication policy (Microsoft.Network/authenticationPolicies) resource.

static ApplicationGatewayAuthConfig fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayAuthConfig from the JsonReader.

String name()

Get the name property: The name of the auth configuration.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewayAuthConfig withAuthenticationPolicy(SubResource authenticationPolicy)

Set the authenticationPolicy property: Reference to the authentication policy (Microsoft.Network/authenticationPolicies) resource.

ApplicationGatewayAuthConfig withName(String name)

Set the name property: The name of the auth configuration.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayAuthConfig

public ApplicationGatewayAuthConfig()

Creates an instance of ApplicationGatewayAuthConfig class.

Method Details

authenticationPolicy

public SubResource authenticationPolicy()

Get the authenticationPolicy property: Reference to the authentication policy (Microsoft.Network/authenticationPolicies) resource.

Returns:

the authenticationPolicy value.

fromJson

public static ApplicationGatewayAuthConfig fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayAuthConfig from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationGatewayAuthConfig 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.

name

public String name()

Get the name property: The name of the auth configuration.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAuthenticationPolicy

public ApplicationGatewayAuthConfig withAuthenticationPolicy(SubResource authenticationPolicy)

Set the authenticationPolicy property: Reference to the authentication policy (Microsoft.Network/authenticationPolicies) resource.

Parameters:

authenticationPolicy - the authenticationPolicy value to set.

Returns:

the ApplicationGatewayAuthConfig object itself.

withName

public ApplicationGatewayAuthConfig withName(String name)

Set the name property: The name of the auth configuration.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayAuthConfig object itself.

Applies to