public class P2SConnectionConfiguration
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
P2SConnectionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 P2SConnectionConfiguration resource.
|
RoutingConfiguration |
routingConfiguration()
Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route
tables on this connection.
|
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.
|
public String name()
public P2SConnectionConfiguration withName(String name)
name - the name value to set.public String etag()
public AddressSpace vpnClientAddressPool()
public P2SConnectionConfiguration withVpnClientAddressPool(AddressSpace vpnClientAddressPool)
vpnClientAddressPool - the vpnClientAddressPool value to set.public RoutingConfiguration routingConfiguration()
public P2SConnectionConfiguration withRoutingConfiguration(RoutingConfiguration routingConfiguration)
routingConfiguration - the routingConfiguration value to set.public Boolean enableInternetSecurity()
public P2SConnectionConfiguration withEnableInternetSecurity(Boolean enableInternetSecurity)
enableInternetSecurity - the enableInternetSecurity value to set.public ProvisioningState provisioningState()
public P2SConnectionConfiguration withId(String id)
withId in class com.azure.core.management.SubResourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.