P2SConnectionConfiguration Class

public final class P2SConnectionConfiguration
extends SubResource

P2SConnectionConfiguration Resource.

Constructor Summary

Constructor Description
P2SConnectionConfiguration()

Creates an instance of P2SConnectionConfiguration class.

Method Summary

Modifier and Type Method and Description
List<SubResource> configurationPolicyGroupAssociations()

Get the configurationPolicyGroupAssociations property: List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.

Boolean enableInternetSecurity()

Get the enableInternetSecurity property: Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.

String etag()

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

static P2SConnectionConfiguration fromJson(JsonReader jsonReader)

Reads an instance of P2SConnectionConfiguration from the JsonReader.

String name()

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

List<VpnServerConfigurationPolicyGroupInner> previousConfigurationPolicyGroupAssociations()

Get the previousConfigurationPolicyGroupAssociations property: List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.

ProvisioningState provisioningState()

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

RoutingConfiguration routingConfiguration()

Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AddressSpace vpnClientAddressPool()

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

P2SConnectionConfiguration withEnableInternetSecurity(Boolean enableInternetSecurity)

Set the enableInternetSecurity property: Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.

P2SConnectionConfiguration withId(String id)
P2SConnectionConfiguration withName(String name)

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

P2SConnectionConfiguration withRoutingConfiguration(RoutingConfiguration routingConfiguration)

Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.

P2SConnectionConfiguration 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

P2SConnectionConfiguration

public P2SConnectionConfiguration()

Creates an instance of P2SConnectionConfiguration class.

Method Details

configurationPolicyGroupAssociations

public List configurationPolicyGroupAssociations()

Get the configurationPolicyGroupAssociations property: List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.

Returns:

the configurationPolicyGroupAssociations value.

enableInternetSecurity

public Boolean enableInternetSecurity()

Get the enableInternetSecurity property: Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.

Returns:

the enableInternetSecurity value.

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

Reads an instance of P2SConnectionConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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.

previousConfigurationPolicyGroupAssociations

public List previousConfigurationPolicyGroupAssociations()

Get the previousConfigurationPolicyGroupAssociations property: List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.

Returns:

the previousConfigurationPolicyGroupAssociations value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

routingConfiguration

public RoutingConfiguration routingConfiguration()

Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.

Returns:

the routingConfiguration value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

P2SConnectionConfiguration.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withEnableInternetSecurity

public P2SConnectionConfiguration withEnableInternetSecurity(Boolean enableInternetSecurity)

Set the enableInternetSecurity property: Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.

Parameters:

enableInternetSecurity - the enableInternetSecurity value to set.

Returns:

the P2SConnectionConfiguration object itself.

withId

public P2SConnectionConfiguration withId(String id)

Overrides:

P2SConnectionConfiguration.withId(String id)

Parameters:

id

withName

public P2SConnectionConfiguration 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 P2SConnectionConfiguration object itself.

withRoutingConfiguration

public P2SConnectionConfiguration withRoutingConfiguration(RoutingConfiguration routingConfiguration)

Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.

Parameters:

routingConfiguration - the routingConfiguration value to set.

Returns:

the P2SConnectionConfiguration object itself.

withVpnClientAddressPool

public P2SConnectionConfiguration 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 P2SConnectionConfiguration object itself.

Applies to