P2SConnectionConfiguration Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. P2SConnectionConfiguration
- com.
- com.
public final class P2SConnectionConfiguration
extends SubResource
P2SConnectionConfiguration Resource.
Constructor Summary
Constructor | Description |
---|---|
P2SConnectionConfiguration() |
Creates an instance of P2SConnection |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Sub |
configurationPolicyGroupAssociations()
Get the configuration |
Boolean |
enableInternetSecurity()
Get the enable |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
P2SConnection |
fromJson(JsonReader jsonReader)
Reads an instance of P2SConnection |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
List<Vpn |
previousConfigurationPolicyGroupAssociations()
Get the previous |
Provisioning |
provisioningState()
Get the provisioning |
Routing |
routingConfiguration()
Get the routing |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Address |
vpnClientAddressPool()
Get the vpn |
P2SConnection |
withEnableInternetSecurity(Boolean enableInternetSecurity)
Set the enable |
P2SConnection |
withId(String id) |
P2SConnection |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group. |
P2SConnection |
withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routing |
P2SConnection |
withVpnClientAddressPool(AddressSpace vpnClientAddressPool)
Set the vpn |
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
Get the configurationPolicyGroupAssociations property: List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
Returns:
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:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static P2SConnectionConfiguration fromJson(JsonReader jsonReader)
Reads an instance of P2SConnectionConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
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:
previousConfigurationPolicyGroupAssociations
public List
Get the previousConfigurationPolicyGroupAssociations property: List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the P2SConnectionConfiguration resource.
Returns:
routingConfiguration
public RoutingConfiguration routingConfiguration()
Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
P2SConnectionConfiguration.toJson(JsonWriter jsonWriter)Parameters:
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:
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:
Returns:
withId
public P2SConnectionConfiguration withId(String id)
Overrides:
P2SConnectionConfiguration.withId(String id)Parameters:
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:
Returns:
withRoutingConfiguration
public P2SConnectionConfiguration withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.
Parameters:
Returns:
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:
Returns:
Applies to
Azure SDK for Java