VnetGatewayInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. VnetGatewayInner
- com.
- com.
- com.
public final class VnetGatewayInner
extends ProxyOnlyResource
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 |
name()
Get the name property: The name of the resource. |
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 ProxyOnlyResource
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:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VnetGatewayInner.name()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.
Overrides:
VnetGatewayInner.validate()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.
Overrides:
VnetGatewayInner.withKind(String kind)Parameters:
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:
Applies to
Azure SDK for Java