ApplicationGatewayAuthConfig Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ApplicationGatewayAuthConfig
- com.
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 Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Sub |
authenticationPolicy()
Get the authentication |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
| String |
name()
Get the name property: The name of the auth configuration. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Application |
withAuthenticationPolicy(SubResource authenticationPolicy)
Set the authentication |
|
Application |
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:
fromJson
public static ApplicationGatewayAuthConfig fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayAuthConfig from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the auth configuration.
Returns:
toJson
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:
Returns:
withName
public ApplicationGatewayAuthConfig withName(String name)
Set the name property: The name of the auth configuration.
Parameters:
Returns: