共用方式為


IDefinition Interface

Definition

The entirety of the virtual network gateway definition.

public interface IDefinition : Microsoft.Azure.Management.Network.Fluent.HasPublicIPAddress.Definition.IWithExistingPublicIPAddress<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithCreate>, Microsoft.Azure.Management.Network.Fluent.HasPublicIPAddress.Definition.IWithNewPublicIPAddressNoDnsLabel<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithCreate>, Microsoft.Azure.Management.Network.Fluent.HasPublicIPAddress.Definition.IWithPublicIPAddressNoDnsLabel<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithCreate>, Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IBlank, Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithCreate, Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithGatewayType, Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithGroup, Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithNetwork, Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithSku, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithNetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithNetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithNetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithNetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGateway>
type IDefinition = interface
    interface IBlank
    interface IDefinitionWithRegion<IWithGroup>
    interface IWithGroup
    interface IWithGroup<IWithNetwork>
    interface IWithExistingResourceGroup<IWithNetwork>
    interface IWithNewResourceGroup<IWithNetwork>
    interface IWithCreatableResourceGroup<IWithNetwork>
    interface IWithGatewayType
    interface IWithSku
    interface IWithNetwork
    interface IWithBgp
    interface IWithCreate
    interface ICreatable<IVirtualNetworkGateway>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
    interface IWithPublicIPAddress
    interface IWithPublicIPAddressNoDnsLabel<IWithCreate>
    interface IWithExistingPublicIPAddress<IWithCreate>
    interface IWithNewPublicIPAddressNoDnsLabel<IWithCreate>
Public Interface IDefinition
Implements IBlank, ICreatable(Of IVirtualNetworkGateway), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IWithCreatableResourceGroup(Of IWithNetwork), IWithCreate, IWithExistingPublicIPAddress(Of IWithCreate), IWithExistingResourceGroup(Of IWithNetwork), IWithGatewayType, IWithGroup, IWithGroup(Of IWithNetwork), IWithNetwork, IWithNewPublicIPAddressNoDnsLabel(Of IWithCreate), IWithNewResourceGroup(Of IWithNetwork), IWithPublicIPAddressNoDnsLabel(Of IWithCreate), IWithSku
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
WithBgp(Int64, String) (Inherited from IWithBgp)
WithExistingNetwork(INetwork)

Associate an existing virtual network with the virtual network gateway .

(Inherited from IWithNetwork)
WithExistingPublicIPAddress(IPublicIPAddress)

Associates an existing public IP address with the resource.

(Inherited from IWithExistingPublicIPAddress<ReturnT>)
WithExistingPublicIPAddress(String)

Associates an existing public IP address with the resource.

(Inherited from IWithExistingPublicIPAddress<ReturnT>)
WithExistingResourceGroup(IResourceGroup)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithExistingResourceGroup(String)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithExpressRoute()

Use Express route gateway type.

(Inherited from IWithGatewayType)
WithNewNetwork(ICreatable<INetwork>)

Create a new virtual network to associate with the virtual network gateway, based on the provided definition.

(Inherited from IWithNetwork)
WithNewNetwork(String, String, String)

Creates a new virtual network to associate with the virtual network gateway. the virtual network will be created in the same resource group and region as of parent virtual network gateway, it will be created with the specified address space and a subnet for virtual network gateway.

(Inherited from IWithNetwork)
WithNewNetwork(String, String)

Creates a new virtual network to associate with the virtual network gateway. the virtual network will be created in the same resource group and region as of parent virtual network gateway, it will be created with the specified address space and a default subnet for virtual network gateway.

(Inherited from IWithNetwork)
WithNewPublicIPAddress()

Creates a new public IP address in the same region and group as the resource and associates it with the resource. The internal name and DNS label for the public IP address will be derived from the resource's name.

(Inherited from IWithNewPublicIPAddressNoDnsLabel<ReturnT>)
WithNewPublicIPAddress(ICreatable<IPublicIPAddress>)

Creates a new public IP address to associate with the resource.

(Inherited from IWithNewPublicIPAddressNoDnsLabel<ReturnT>)
WithNewResourceGroup() (Inherited from IWithNewResourceGroup<T>)
WithNewResourceGroup(ICreatable<IResourceGroup>)

Creates a new resource group to put the resource in, based on the definition specified.

(Inherited from IWithCreatableResourceGroup<T>)
WithNewResourceGroup(String) (Inherited from IWithNewResourceGroup<T>)
WithPolicyBasedVpn()

Use Policy-based VPN type. Note: this is available only for Basic SKU.

(Inherited from IWithGatewayType)
WithRegion(Region)

Specifies the region for the resource.

(Inherited from IDefinitionWithRegion<T>)
WithRegion(String)

Specifies the region for the resource by name.

(Inherited from IDefinitionWithRegion<T>)
WithRouteBasedVpn()

Use Route-based VPN type.

(Inherited from IWithGatewayType)
WithSku(VirtualNetworkGatewaySkuName) (Inherited from IWithSku)
WithTag(String, String)

Adds a tag to the resource.

(Inherited from IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

Specifies tags for the resource as a {@link Map}.

(Inherited from IDefinitionWithTags<T>)

Applies to