Partager via


VnetGateway Class

Definition

The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.VnetGatewayTypeConverter))]
public class VnetGateway : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IVnetGateway, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.VnetGatewayTypeConverter))>]
type VnetGateway = class
    interface IVnetGateway
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class VnetGateway
Implements IValidates, IVnetGateway
Inheritance
VnetGateway
Attributes
Implements

Constructors

VnetGateway()

Creates an new VnetGateway instance.

Properties

Id

Resource Id.

Kind

Kind of resource.

Name

Resource Name.

Type

Resource type.

VnetName

The Virtual Network name.

VpnPackageUri

The URI where the VPN package can be downloaded.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VnetGateway.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VnetGateway.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IVnetGateway.

FromJsonString(String)

Creates a new instance of VnetGateway, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VnetGateway into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to