azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.n...

335 строки
27 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner"
name: "P2SVpnGatewayInner"
nameWithType: "P2SVpnGatewayInner"
summary: "P2SVpn<wbr>Gateway Resource."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.ProxyResource?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.management.ProxyResource?alt=com.azure.core.management.ProxyResource&text=ProxyResource\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.management.ProxyResource.id()?alt=com.azure.core.management.ProxyResource.id&text=id\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.ProxyResource.name()?alt=com.azure.core.management.ProxyResource.name&text=name\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.ProxyResource.type()?alt=com.azure.core.management.ProxyResource.type&text=type\" data-throw-if-not-resolved=\"False\" />"
- classRef: "<xref href=\"com.azure.core.management.Resource?alt=com.azure.core.management.Resource&text=Resource\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.management.Resource.fromJson(com.azure.json.JsonReader)?alt=com.azure.core.management.Resource.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.location()?alt=com.azure.core.management.Resource.location&text=location\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.tags()?alt=com.azure.core.management.Resource.tags&text=tags\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.toJson(com.azure.json.JsonWriter)?alt=com.azure.core.management.Resource.toJson&text=toJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.withLocation(java.lang.String)?alt=com.azure.core.management.Resource.withLocation&text=withLocation\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.withTags(java.util.Map<java.lang.String,java.lang.String>)?alt=com.azure.core.management.Resource.withTags&text=withTags\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **P2SVpnGatewayInner**</br> extends <xref href=\"com.azure.core.management.Resource?alt=com.azure.core.management.Resource&text=Resource\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.P2SVpnGatewayInner()"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.P2SVpnGatewayInner()"
name: "P2SVpnGatewayInner()"
nameWithType: "P2SVpnGatewayInner.P2SVpnGatewayInner()"
summary: "Creates an instance of P2SVpn<wbr>Gateway<wbr>Inner class."
syntax: "public P2SVpnGatewayInner()"
desc: "Creates an instance of P2SVpnGatewayInner class."
methods:
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.customDnsServers()"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.customDnsServers()"
name: "customDnsServers()"
nameWithType: "P2SVpnGatewayInner.customDnsServers()"
summary: "Get the custom<wbr>Dns<wbr>Servers property: List of all customer specified DNS servers IP addresses."
syntax: "public List<String> customDnsServers()"
desc: "Get the customDnsServers property: List of all customer specified DNS servers IP addresses."
returns:
description: "the customDnsServers value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.etag()"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.etag()"
name: "etag()"
nameWithType: "P2SVpnGatewayInner.etag()"
summary: "Get the etag property: A unique read-only string that changes whenever the resource is updated."
syntax: "public String etag()"
desc: "Get the etag property: A unique read-only string that changes whenever the resource is updated."
returns:
description: "the etag value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "P2SVpnGatewayInner.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of P2SVpn<wbr>Gateway<wbr>Inner from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static P2SVpnGatewayInner fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of P2SVpnGatewayInner from the JsonReader."
returns:
description: "An instance of P2SVpnGatewayInner if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner?alt=com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner&text=P2SVpnGatewayInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.id()"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.id()"
name: "id()"
nameWithType: "P2SVpnGatewayInner.id()"
summary: "Get the id property: Resource ID."
overridden: "com.azure.core.management.ProxyResource.id()"
syntax: "public String id()"
desc: "Get the id property: Resource ID."
returns:
description: "the id value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.isRoutingPreferenceInternet()"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.isRoutingPreferenceInternet()"
name: "isRoutingPreferenceInternet()"
nameWithType: "P2SVpnGatewayInner.isRoutingPreferenceInternet()"
summary: "Get the is<wbr>Routing<wbr>Preference<wbr>Internet property: Enable Routing Preference property for the Public IP Interface of the P2SVpn<wbr>Gateway."
syntax: "public Boolean isRoutingPreferenceInternet()"
desc: "Get the isRoutingPreferenceInternet property: Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway."
returns:
description: "the isRoutingPreferenceInternet value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.name()"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.name()"
name: "name()"
nameWithType: "P2SVpnGatewayInner.name()"
summary: "Get the name property: The name of the resource."
overridden: "com.azure.core.management.ProxyResource.name()"
syntax: "public String name()"
desc: "Get the name property: The name of the resource."
returns:
description: "the name value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.p2SConnectionConfigurations()"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.p2SConnectionConfigurations()"
name: "p2SConnectionConfigurations()"
nameWithType: "P2SVpnGatewayInner.p2SConnectionConfigurations()"
summary: "Get the p2SConnection<wbr>Configurations property: List of all p2s connection configurations of the gateway."
syntax: "public List<P2SConnectionConfiguration> p2SConnectionConfigurations()"
desc: "Get the p2SConnectionConfigurations property: List of all p2s connection configurations of the gateway."
returns:
description: "the p2SConnectionConfigurations value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.P2SConnectionConfiguration?alt=com.azure.resourcemanager.network.models.P2SConnectionConfiguration&text=P2SConnectionConfiguration\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.provisioningState()"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.provisioningState()"
name: "provisioningState()"
nameWithType: "P2SVpnGatewayInner.provisioningState()"
summary: "Get the provisioning<wbr>State property: The provisioning state of the P2S VPN gateway resource."
syntax: "public ProvisioningState provisioningState()"
desc: "Get the provisioningState property: The provisioning state of the P2S VPN gateway resource."
returns:
description: "the provisioningState value."
type: "<xref href=\"com.azure.resourcemanager.network.models.ProvisioningState?alt=com.azure.resourcemanager.network.models.ProvisioningState&text=ProvisioningState\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "P2SVpnGatewayInner.toJson(JsonWriter jsonWriter)"
overridden: "com.azure.core.management.Resource.toJson(com.azure.json.JsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.type()"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.type()"
name: "type()"
nameWithType: "P2SVpnGatewayInner.type()"
summary: "Get the type property: The type of the resource."
overridden: "com.azure.core.management.ProxyResource.type()"
syntax: "public String type()"
desc: "Get the type property: The type of the resource."
returns:
description: "the type value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.validate()"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.validate()"
name: "validate()"
nameWithType: "P2SVpnGatewayInner.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.virtualHub()"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.virtualHub()"
name: "virtualHub()"
nameWithType: "P2SVpnGatewayInner.virtualHub()"
summary: "Get the virtual<wbr>Hub property: The Virtual<wbr>Hub to which the gateway belongs."
syntax: "public SubResource virtualHub()"
desc: "Get the virtualHub property: The VirtualHub to which the gateway belongs."
returns:
description: "the virtualHub value."
type: "<xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.vpnClientConnectionHealth()"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.vpnClientConnectionHealth()"
name: "vpnClientConnectionHealth()"
nameWithType: "P2SVpnGatewayInner.vpnClientConnectionHealth()"
summary: "Get the vpn<wbr>Client<wbr>Connection<wbr>Health property: All P2S VPN clients' connection health status."
syntax: "public VpnClientConnectionHealth vpnClientConnectionHealth()"
desc: "Get the vpnClientConnectionHealth property: All P2S VPN clients' connection health status."
returns:
description: "the vpnClientConnectionHealth value."
type: "<xref href=\"com.azure.resourcemanager.network.models.VpnClientConnectionHealth?alt=com.azure.resourcemanager.network.models.VpnClientConnectionHealth&text=VpnClientConnectionHealth\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.vpnGatewayScaleUnit()"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.vpnGatewayScaleUnit()"
name: "vpnGatewayScaleUnit()"
nameWithType: "P2SVpnGatewayInner.vpnGatewayScaleUnit()"
summary: "Get the vpn<wbr>Gateway<wbr>Scale<wbr>Unit property: The scale unit for this p2s vpn gateway."
syntax: "public Integer vpnGatewayScaleUnit()"
desc: "Get the vpnGatewayScaleUnit property: The scale unit for this p2s vpn gateway."
returns:
description: "the vpnGatewayScaleUnit value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.vpnServerConfiguration()"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.vpnServerConfiguration()"
name: "vpnServerConfiguration()"
nameWithType: "P2SVpnGatewayInner.vpnServerConfiguration()"
summary: "Get the vpn<wbr>Server<wbr>Configuration property: The Vpn<wbr>Server<wbr>Configuration to which the p2s<wbr>Vpn<wbr>Gateway is attached to."
syntax: "public SubResource vpnServerConfiguration()"
desc: "Get the vpnServerConfiguration property: The VpnServerConfiguration to which the p2sVpnGateway is attached to."
returns:
description: "the vpnServerConfiguration value."
type: "<xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withCustomDnsServers(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withCustomDnsServers(List<String> customDnsServers)"
name: "withCustomDnsServers(List<String> customDnsServers)"
nameWithType: "P2SVpnGatewayInner.withCustomDnsServers(List<String> customDnsServers)"
summary: "Set the custom<wbr>Dns<wbr>Servers property: List of all customer specified DNS servers IP addresses."
parameters:
- description: "the customDnsServers value to set."
name: "customDnsServers"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public P2SVpnGatewayInner withCustomDnsServers(List<String> customDnsServers)"
desc: "Set the customDnsServers property: List of all customer specified DNS servers IP addresses."
returns:
description: "the P2SVpnGatewayInner object itself."
type: "<xref href=\"com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner?alt=com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner&text=P2SVpnGatewayInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withId(java.lang.String)"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withId(String id)"
name: "withId(String id)"
nameWithType: "P2SVpnGatewayInner.withId(String id)"
summary: "Set the id property: Resource ID."
parameters:
- description: "the id value to set."
name: "id"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public P2SVpnGatewayInner withId(String id)"
desc: "Set the id property: Resource ID."
returns:
description: "the P2SVpnGatewayInner object itself."
type: "<xref href=\"com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner?alt=com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner&text=P2SVpnGatewayInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withIsRoutingPreferenceInternet(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withIsRoutingPreferenceInternet(Boolean isRoutingPreferenceInternet)"
name: "withIsRoutingPreferenceInternet(Boolean isRoutingPreferenceInternet)"
nameWithType: "P2SVpnGatewayInner.withIsRoutingPreferenceInternet(Boolean isRoutingPreferenceInternet)"
summary: "Set the is<wbr>Routing<wbr>Preference<wbr>Internet property: Enable Routing Preference property for the Public IP Interface of the P2SVpn<wbr>Gateway."
parameters:
- description: "the isRoutingPreferenceInternet value to set."
name: "isRoutingPreferenceInternet"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public P2SVpnGatewayInner withIsRoutingPreferenceInternet(Boolean isRoutingPreferenceInternet)"
desc: "Set the isRoutingPreferenceInternet property: Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway."
returns:
description: "the P2SVpnGatewayInner object itself."
type: "<xref href=\"com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner?alt=com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner&text=P2SVpnGatewayInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withLocation(java.lang.String)"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withLocation(String location)"
name: "withLocation(String location)"
nameWithType: "P2SVpnGatewayInner.withLocation(String location)"
overridden: "com.azure.core.management.Resource.withLocation(java.lang.String)"
parameters:
- name: "location"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public P2SVpnGatewayInner withLocation(String location)"
returns:
type: "<xref href=\"com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner?alt=com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner&text=P2SVpnGatewayInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withP2SConnectionConfigurations(java.util.List<com.azure.resourcemanager.network.models.P2SConnectionConfiguration>)"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withP2SConnectionConfigurations(List<P2SConnectionConfiguration> p2SConnectionConfigurations)"
name: "withP2SConnectionConfigurations(List<P2SConnectionConfiguration> p2SConnectionConfigurations)"
nameWithType: "P2SVpnGatewayInner.withP2SConnectionConfigurations(List<P2SConnectionConfiguration> p2SConnectionConfigurations)"
summary: "Set the p2SConnection<wbr>Configurations property: List of all p2s connection configurations of the gateway."
parameters:
- description: "the p2SConnectionConfigurations value to set."
name: "p2SConnectionConfigurations"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.P2SConnectionConfiguration?alt=com.azure.resourcemanager.network.models.P2SConnectionConfiguration&text=P2SConnectionConfiguration\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public P2SVpnGatewayInner withP2SConnectionConfigurations(List<P2SConnectionConfiguration> p2SConnectionConfigurations)"
desc: "Set the p2SConnectionConfigurations property: List of all p2s connection configurations of the gateway."
returns:
description: "the P2SVpnGatewayInner object itself."
type: "<xref href=\"com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner?alt=com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner&text=P2SVpnGatewayInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withTags(java.util.Map<java.lang.String,java.lang.String>)"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withTags(Map<String,String> tags)"
name: "withTags(Map<String,String> tags)"
nameWithType: "P2SVpnGatewayInner.withTags(Map<String,String> tags)"
overridden: "com.azure.core.management.Resource.withTags(java.util.Map<java.lang.String,java.lang.String>)"
parameters:
- name: "tags"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public P2SVpnGatewayInner withTags(Map<String,String> tags)"
returns:
type: "<xref href=\"com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner?alt=com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner&text=P2SVpnGatewayInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withVirtualHub(com.azure.core.management.SubResource)"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withVirtualHub(SubResource virtualHub)"
name: "withVirtualHub(SubResource virtualHub)"
nameWithType: "P2SVpnGatewayInner.withVirtualHub(SubResource virtualHub)"
summary: "Set the virtual<wbr>Hub property: The Virtual<wbr>Hub to which the gateway belongs."
parameters:
- description: "the virtualHub value to set."
name: "virtualHub"
type: "<xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />"
syntax: "public P2SVpnGatewayInner withVirtualHub(SubResource virtualHub)"
desc: "Set the virtualHub property: The VirtualHub to which the gateway belongs."
returns:
description: "the P2SVpnGatewayInner object itself."
type: "<xref href=\"com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner?alt=com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner&text=P2SVpnGatewayInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withVpnGatewayScaleUnit(java.lang.Integer)"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withVpnGatewayScaleUnit(Integer vpnGatewayScaleUnit)"
name: "withVpnGatewayScaleUnit(Integer vpnGatewayScaleUnit)"
nameWithType: "P2SVpnGatewayInner.withVpnGatewayScaleUnit(Integer vpnGatewayScaleUnit)"
summary: "Set the vpn<wbr>Gateway<wbr>Scale<wbr>Unit property: The scale unit for this p2s vpn gateway."
parameters:
- description: "the vpnGatewayScaleUnit value to set."
name: "vpnGatewayScaleUnit"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public P2SVpnGatewayInner withVpnGatewayScaleUnit(Integer vpnGatewayScaleUnit)"
desc: "Set the vpnGatewayScaleUnit property: The scale unit for this p2s vpn gateway."
returns:
description: "the P2SVpnGatewayInner object itself."
type: "<xref href=\"com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner?alt=com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner&text=P2SVpnGatewayInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withVpnServerConfiguration(com.azure.core.management.SubResource)"
fullName: "com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner.withVpnServerConfiguration(SubResource vpnServerConfiguration)"
name: "withVpnServerConfiguration(SubResource vpnServerConfiguration)"
nameWithType: "P2SVpnGatewayInner.withVpnServerConfiguration(SubResource vpnServerConfiguration)"
summary: "Set the vpn<wbr>Server<wbr>Configuration property: The Vpn<wbr>Server<wbr>Configuration to which the p2s<wbr>Vpn<wbr>Gateway is attached to."
parameters:
- description: "the vpnServerConfiguration value to set."
name: "vpnServerConfiguration"
type: "<xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />"
syntax: "public P2SVpnGatewayInner withVpnServerConfiguration(SubResource vpnServerConfiguration)"
desc: "Set the vpnServerConfiguration property: The VpnServerConfiguration to which the p2sVpnGateway is attached to."
returns:
description: "the P2SVpnGatewayInner object itself."
type: "<xref href=\"com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner?alt=com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner&text=P2SVpnGatewayInner\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "P2SVpnGateway Resource."
metadata: {}
package: "com.azure.resourcemanager.network.fluent.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0