Partager via


ApplicationGatewayPrivateLinkConfiguration Class

public final class ApplicationGatewayPrivateLinkConfiguration
extends SubResource

Private Link Configuration on an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayPrivateLinkConfiguration()

Creates an instance of ApplicationGatewayPrivateLinkConfiguration class.

Method Summary

Modifier and Type Method and Description
String etag()

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

static ApplicationGatewayPrivateLinkConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayPrivateLinkConfiguration from the JsonReader.

List<ApplicationGatewayPrivateLinkIpConfiguration> ipConfigurations()

Get the ipConfigurations property: An array of application gateway private link ip configurations.

String name()

Get the name property: Name of the private link configuration that is unique within an Application Gateway.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the application gateway private link configuration.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ApplicationGatewayPrivateLinkConfiguration withId(String id)
ApplicationGatewayPrivateLinkConfiguration withIpConfigurations(List<ApplicationGatewayPrivateLinkIpConfiguration> ipConfigurations)

Set the ipConfigurations property: An array of application gateway private link ip configurations.

ApplicationGatewayPrivateLinkConfiguration withName(String name)

Set the name property: Name of the private link configuration that is unique within an Application Gateway.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayPrivateLinkConfiguration

public ApplicationGatewayPrivateLinkConfiguration()

Creates an instance of ApplicationGatewayPrivateLinkConfiguration class.

Method Details

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 ApplicationGatewayPrivateLinkConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayPrivateLinkConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ipConfigurations

public List ipConfigurations()

Get the ipConfigurations property: An array of application gateway private link ip configurations.

Returns:

the ipConfigurations value.

name

public String name()

Get the name property: Name of the private link configuration that is unique within an Application Gateway.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the application gateway private link configuration.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApplicationGatewayPrivateLinkConfiguration.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.

withId

public ApplicationGatewayPrivateLinkConfiguration withId(String id)

Overrides:

ApplicationGatewayPrivateLinkConfiguration.withId(String id)

Parameters:

id

withIpConfigurations

public ApplicationGatewayPrivateLinkConfiguration withIpConfigurations(List ipConfigurations)

Set the ipConfigurations property: An array of application gateway private link ip configurations.

Parameters:

ipConfigurations - the ipConfigurations value to set.

Returns:

the ApplicationGatewayPrivateLinkConfiguration object itself.

withName

public ApplicationGatewayPrivateLinkConfiguration withName(String name)

Set the name property: Name of the private link configuration that is unique within an Application Gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayPrivateLinkConfiguration object itself.

Applies to