VnetGatewayInner Class

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 VnetGatewayInner class.

Method Summary

Modifier and Type Method and Description
void validate()

Validates the instance.

String vnetName()

Get the vnetName property: The Virtual Network name.

String vpnPackageUri()

Get the vpnPackageUri property: The URI where the VPN package can be downloaded.

VnetGatewayInner withKind(String kind)

Set the kind property: Kind of resource.

VnetGatewayInner withVnetName(String vnetName)

Set the vnetName property: The Virtual Network name.

VnetGatewayInner withVpnPackageUri(String vpnPackageUri)

Set the vpnPackageUri property: The URI where the VPN package can be downloaded.

Methods inherited from ProxyResource

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

VnetGatewayInner

public VnetGatewayInner()

Creates an instance of VnetGatewayInner class.

Method Details

validate

public void validate()

Validates the instance.

Overrides:

VnetGatewayInner.validate()

vnetName

public String vnetName()

Get the vnetName property: The Virtual Network name.

Returns:

the vnetName value.

vpnPackageUri

public String vpnPackageUri()

Get the vpnPackageUri property: The URI where the VPN package can be downloaded.

Returns:

the vpnPackageUri value.

withKind

public VnetGatewayInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

VnetGatewayInner.withKind(String kind)

Parameters:

kind

withVnetName

public VnetGatewayInner withVnetName(String vnetName)

Set the vnetName property: The Virtual Network name.

Parameters:

vnetName - the vnetName value to set.

Returns:

the VnetGatewayInner object itself.

withVpnPackageUri

public VnetGatewayInner withVpnPackageUri(String vpnPackageUri)

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.

Applies to