public class P2SVpnGatewayInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
P2SVpnGatewayInner() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
customDnsServers()
Get the customDnsServers property: List of all customer specified DNS servers IP addresses.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
id()
Get the id property: Resource ID.
|
List<P2SConnectionConfiguration> |
p2SConnectionConfigurations()
Get the p2SConnectionConfigurations property: List of all p2s connection configurations of the gateway.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the P2S VPN gateway resource.
|
void |
validate()
Validates the instance.
|
com.azure.core.management.SubResource |
virtualHub()
Get the virtualHub property: The VirtualHub to which the gateway belongs.
|
VpnClientConnectionHealth |
vpnClientConnectionHealth()
Get the vpnClientConnectionHealth property: All P2S VPN clients' connection health status.
|
Integer |
vpnGatewayScaleUnit()
Get the vpnGatewayScaleUnit property: The scale unit for this p2s vpn gateway.
|
com.azure.core.management.SubResource |
vpnServerConfiguration()
Get the vpnServerConfiguration property: The VpnServerConfiguration to which the p2sVpnGateway is attached to.
|
P2SVpnGatewayInner |
withCustomDnsServers(List<String> customDnsServers)
Set the customDnsServers property: List of all customer specified DNS servers IP addresses.
|
P2SVpnGatewayInner |
withId(String id)
Set the id property: Resource ID.
|
P2SVpnGatewayInner |
withP2SConnectionConfigurations(List<P2SConnectionConfiguration> p2SConnectionConfigurations)
Set the p2SConnectionConfigurations property: List of all p2s connection configurations of the gateway.
|
P2SVpnGatewayInner |
withVirtualHub(com.azure.core.management.SubResource virtualHub)
Set the virtualHub property: The VirtualHub to which the gateway belongs.
|
P2SVpnGatewayInner |
withVpnGatewayScaleUnit(Integer vpnGatewayScaleUnit)
Set the vpnGatewayScaleUnit property: The scale unit for this p2s vpn gateway.
|
P2SVpnGatewayInner |
withVpnServerConfiguration(com.azure.core.management.SubResource vpnServerConfiguration)
Set the vpnServerConfiguration property: The VpnServerConfiguration to which the p2sVpnGateway is attached to.
|
public String etag()
public com.azure.core.management.SubResource virtualHub()
public P2SVpnGatewayInner withVirtualHub(com.azure.core.management.SubResource virtualHub)
virtualHub - the virtualHub value to set.public List<P2SConnectionConfiguration> p2SConnectionConfigurations()
public P2SVpnGatewayInner withP2SConnectionConfigurations(List<P2SConnectionConfiguration> p2SConnectionConfigurations)
p2SConnectionConfigurations - the p2SConnectionConfigurations value to set.public ProvisioningState provisioningState()
public Integer vpnGatewayScaleUnit()
public P2SVpnGatewayInner withVpnGatewayScaleUnit(Integer vpnGatewayScaleUnit)
vpnGatewayScaleUnit - the vpnGatewayScaleUnit value to set.public com.azure.core.management.SubResource vpnServerConfiguration()
public P2SVpnGatewayInner withVpnServerConfiguration(com.azure.core.management.SubResource vpnServerConfiguration)
vpnServerConfiguration - the vpnServerConfiguration value to set.public VpnClientConnectionHealth vpnClientConnectionHealth()
public List<String> customDnsServers()
public P2SVpnGatewayInner withCustomDnsServers(List<String> customDnsServers)
customDnsServers - the customDnsServers value to set.public String id()
id in class com.azure.core.management.ProxyResourcepublic P2SVpnGatewayInner withId(String id)
id - the id value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.