Class VnetGatewayInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.VnetGatewayInner
The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.vnetName()
Get the vnetName property: The Virtual Network name.Get the vpnPackageUri property: The URI where the VPN package can be downloaded.Set the kind property: Kind of resource.withVnetName
(String vnetName) Set the vnetName property: The Virtual Network name.withVpnPackageUri
(String vpnPackageUri) Set the vpnPackageUri property: The URI where the VPN package can be downloaded.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
VnetGatewayInner
public VnetGatewayInner()
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
vnetName
Get the vnetName property: The Virtual Network name.- Returns:
- the vnetName value.
-
withVnetName
Set the vnetName property: The Virtual Network name.- Parameters:
vnetName
- the vnetName value to set.- Returns:
- the VnetGatewayInner object itself.
-
vpnPackageUri
Get the vpnPackageUri property: The URI where the VPN package can be downloaded.- Returns:
- the vpnPackageUri value.
-
withVpnPackageUri
Set the vpnPackageUri property: The URI where the VPN package can be downloaded.- Parameters:
vpnPackageUri
- the vpnPackageUri value to set.- Returns:
- the VnetGatewayInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-