Class P2SConnectionConfiguration
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.network.models.P2SConnectionConfiguration
-
public final class P2SConnectionConfiguration extends com.azure.core.management.SubResourceP2SConnectionConfiguration Resource.
-
-
Constructor Summary
Constructors Constructor Description P2SConnectionConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanenableInternetSecurity()Get the enableInternetSecurity property: Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.Stringname()Get the name property: The name of the resource that is unique within a resource group.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the P2SConnectionConfiguration resource.RoutingConfigurationroutingConfiguration()Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.voidvalidate()Validates the instance.AddressSpacevpnClientAddressPool()Get the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.P2SConnectionConfigurationwithEnableInternetSecurity(Boolean enableInternetSecurity)Set the enableInternetSecurity property: Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.P2SConnectionConfigurationwithId(String id)P2SConnectionConfigurationwithName(String name)Set the name property: The name of the resource that is unique within a resource group.P2SConnectionConfigurationwithRoutingConfiguration(RoutingConfiguration routingConfiguration)Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.P2SConnectionConfigurationwithVpnClientAddressPool(AddressSpace vpnClientAddressPool)Set the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.
-
-
-
Method Detail
-
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.
-
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.
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
withId
public P2SConnectionConfiguration withId(String id)
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the P2SConnectionConfiguration resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-