VnetGatewayInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. fluent. models. VnetGatewayInner
- com.
- com.
public final class VnetGatewayInner
extends ProxyResource
The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.
Constructor Summary
| Constructor | Description |
|---|---|
| VnetGatewayInner() |
Creates an instance of Vnet |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Vnet |
fromJson(JsonReader jsonReader)
Reads an instance of Vnet |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
kind()
Get the kind property: Kind of resource. |
| String |
name()
Get the name property: The name of the resource. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
| String |
vnetName()
Get the vnet |
| String |
vpnPackageUri()
Get the vpn |
|
Vnet |
withKind(String kind)
Set the kind property: Kind of resource. |
|
Vnet |
withVnetName(String vnetName)
Set the vnet |
|
Vnet |
withVpnPackageUri(String vpnPackageUri)
Set the vpn |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
VnetGatewayInner
public VnetGatewayInner()
Creates an instance of VnetGatewayInner class.
Method Details
fromJson
public static VnetGatewayInner fromJson(JsonReader jsonReader)
Reads an instance of VnetGatewayInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
VnetGatewayInner.id()Returns:
kind
public String kind()
Get the kind property: Kind of resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VnetGatewayInner.name()Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VnetGatewayInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VnetGatewayInner.type()Returns:
validate
public void validate()
Validates the instance.
vnetName
public String vnetName()
Get the vnetName property: The Virtual Network name.
Returns:
vpnPackageUri
public String vpnPackageUri()
Get the vpnPackageUri property: The URI where the VPN package can be downloaded.
Returns:
withKind
public VnetGatewayInner withKind(String kind)
Set the kind property: Kind of resource.
Parameters:
Returns:
withVnetName
public VnetGatewayInner withVnetName(String vnetName)
Set the vnetName property: The Virtual Network name.
Parameters:
Returns:
withVpnPackageUri
public VnetGatewayInner withVpnPackageUri(String vpnPackageUri)
Set the vpnPackageUri property: The URI where the VPN package can be downloaded.
Parameters:
Returns: