VngClientConnectionConfiguration Class

public final class VngClientConnectionConfiguration
extends SubResource

A vpn client connection configuration for client connection configuration.

Constructor Summary

Constructor Description
VngClientConnectionConfiguration()

Creates an instance of VngClientConnectionConfiguration 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 VngClientConnectionConfiguration fromJson(JsonReader jsonReader)

Reads an instance of VngClientConnectionConfiguration from the JsonReader.

String name()

Get the name property: The name of the resource that is unique within a resource group.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the VngClientConnectionConfiguration resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<SubResource> virtualNetworkGatewayPolicyGroups()

Get the virtualNetworkGatewayPolicyGroups property: List of references to virtualNetworkGatewayPolicyGroups.

AddressSpace vpnClientAddressPool()

Get the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.

VngClientConnectionConfiguration withId(String id)
VngClientConnectionConfiguration withName(String name)

Set the name property: The name of the resource that is unique within a resource group.

VngClientConnectionConfiguration withVirtualNetworkGatewayPolicyGroups(List<SubResource> virtualNetworkGatewayPolicyGroups)

Set the virtualNetworkGatewayPolicyGroups property: List of references to virtualNetworkGatewayPolicyGroups.

VngClientConnectionConfiguration withVpnClientAddressPool(AddressSpace vpnClientAddressPool)

Set the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

VngClientConnectionConfiguration

public VngClientConnectionConfiguration()

Creates an instance of VngClientConnectionConfiguration 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 VngClientConnectionConfiguration fromJson(JsonReader jsonReader)

Reads an instance of VngClientConnectionConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the VngClientConnectionConfiguration resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VngClientConnectionConfiguration.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

virtualNetworkGatewayPolicyGroups

public List virtualNetworkGatewayPolicyGroups()

Get the virtualNetworkGatewayPolicyGroups property: List of references to virtualNetworkGatewayPolicyGroups.

Returns:

the virtualNetworkGatewayPolicyGroups value.

vpnClientAddressPool

public AddressSpace vpnClientAddressPool()

Get the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.

Returns:

the vpnClientAddressPool value.

withId

public VngClientConnectionConfiguration withId(String id)

Overrides:

VngClientConnectionConfiguration.withId(String id)

Parameters:

id

withName

public VngClientConnectionConfiguration withName(String name)

Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Parameters:

name - the name value to set.

Returns:

the VngClientConnectionConfiguration object itself.

withVirtualNetworkGatewayPolicyGroups

public VngClientConnectionConfiguration withVirtualNetworkGatewayPolicyGroups(List virtualNetworkGatewayPolicyGroups)

Set the virtualNetworkGatewayPolicyGroups property: List of references to virtualNetworkGatewayPolicyGroups.

Parameters:

virtualNetworkGatewayPolicyGroups - the virtualNetworkGatewayPolicyGroups value to set.

Returns:

the VngClientConnectionConfiguration object itself.

withVpnClientAddressPool

public VngClientConnectionConfiguration withVpnClientAddressPool(AddressSpace vpnClientAddressPool)

Set the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.

Parameters:

vpnClientAddressPool - the vpnClientAddressPool value to set.

Returns:

the VngClientConnectionConfiguration object itself.

Applies to