LocalNetworkGateways interface

Interface representing a LocalNetworkGateways.

Methods

beginCreateOrUpdate(string, string, LocalNetworkGateway, LocalNetworkGatewaysCreateOrUpdateOptionalParams)

Creates or updates a local network gateway in the specified resource group.

beginCreateOrUpdateAndWait(string, string, LocalNetworkGateway, LocalNetworkGatewaysCreateOrUpdateOptionalParams)

Creates or updates a local network gateway in the specified resource group.

beginDelete(string, string, LocalNetworkGatewaysDeleteOptionalParams)

Deletes the specified local network gateway.

beginDeleteAndWait(string, string, LocalNetworkGatewaysDeleteOptionalParams)

Deletes the specified local network gateway.

beginUpdateTags(string, string, TagsObject, LocalNetworkGatewaysUpdateTagsOptionalParams)

Updates a local network gateway tags.

beginUpdateTagsAndWait(string, string, TagsObject, LocalNetworkGatewaysUpdateTagsOptionalParams)

Updates a local network gateway tags.

get(string, string, LocalNetworkGatewaysGetOptionalParams)

Gets the specified local network gateway in a resource group.

list(string, LocalNetworkGatewaysListOptionalParams)

Gets all the local network gateways in a resource group.

Method Details

beginCreateOrUpdate(string, string, LocalNetworkGateway, LocalNetworkGatewaysCreateOrUpdateOptionalParams)

Creates or updates a local network gateway in the specified resource group.

function beginCreateOrUpdate(resourceGroupName: string, localNetworkGatewayName: string, parameters: LocalNetworkGateway, options?: LocalNetworkGatewaysCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LocalNetworkGateway>, LocalNetworkGateway>>

Parameters

resourceGroupName

string

The name of the resource group.

localNetworkGatewayName

string

The name of the local network gateway.

parameters
LocalNetworkGateway

Parameters supplied to the create or update local network gateway operation.

options
LocalNetworkGatewaysCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<LocalNetworkGateway>, LocalNetworkGateway>>

beginCreateOrUpdateAndWait(string, string, LocalNetworkGateway, LocalNetworkGatewaysCreateOrUpdateOptionalParams)

Creates or updates a local network gateway in the specified resource group.

function beginCreateOrUpdateAndWait(resourceGroupName: string, localNetworkGatewayName: string, parameters: LocalNetworkGateway, options?: LocalNetworkGatewaysCreateOrUpdateOptionalParams): Promise<LocalNetworkGateway>

Parameters

resourceGroupName

string

The name of the resource group.

localNetworkGatewayName

string

The name of the local network gateway.

parameters
LocalNetworkGateway

Parameters supplied to the create or update local network gateway operation.

options
LocalNetworkGatewaysCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, LocalNetworkGatewaysDeleteOptionalParams)

Deletes the specified local network gateway.

function beginDelete(resourceGroupName: string, localNetworkGatewayName: string, options?: LocalNetworkGatewaysDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

localNetworkGatewayName

string

The name of the local network gateway.

options
LocalNetworkGatewaysDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, LocalNetworkGatewaysDeleteOptionalParams)

Deletes the specified local network gateway.

function beginDeleteAndWait(resourceGroupName: string, localNetworkGatewayName: string, options?: LocalNetworkGatewaysDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

localNetworkGatewayName

string

The name of the local network gateway.

options
LocalNetworkGatewaysDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdateTags(string, string, TagsObject, LocalNetworkGatewaysUpdateTagsOptionalParams)

Updates a local network gateway tags.

function beginUpdateTags(resourceGroupName: string, localNetworkGatewayName: string, parameters: TagsObject, options?: LocalNetworkGatewaysUpdateTagsOptionalParams): Promise<PollerLike<PollOperationState<LocalNetworkGateway>, LocalNetworkGateway>>

Parameters

resourceGroupName

string

The name of the resource group.

localNetworkGatewayName

string

The name of the local network gateway.

parameters
TagsObject

Parameters supplied to update local network gateway tags.

options
LocalNetworkGatewaysUpdateTagsOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<LocalNetworkGateway>, LocalNetworkGateway>>

beginUpdateTagsAndWait(string, string, TagsObject, LocalNetworkGatewaysUpdateTagsOptionalParams)

Updates a local network gateway tags.

function beginUpdateTagsAndWait(resourceGroupName: string, localNetworkGatewayName: string, parameters: TagsObject, options?: LocalNetworkGatewaysUpdateTagsOptionalParams): Promise<LocalNetworkGateway>

Parameters

resourceGroupName

string

The name of the resource group.

localNetworkGatewayName

string

The name of the local network gateway.

parameters
TagsObject

Parameters supplied to update local network gateway tags.

options
LocalNetworkGatewaysUpdateTagsOptionalParams

The options parameters.

Returns

get(string, string, LocalNetworkGatewaysGetOptionalParams)

Gets the specified local network gateway in a resource group.

function get(resourceGroupName: string, localNetworkGatewayName: string, options?: LocalNetworkGatewaysGetOptionalParams): Promise<LocalNetworkGateway>

Parameters

resourceGroupName

string

The name of the resource group.

localNetworkGatewayName

string

The name of the local network gateway.

options
LocalNetworkGatewaysGetOptionalParams

The options parameters.

Returns

list(string, LocalNetworkGatewaysListOptionalParams)

Gets all the local network gateways in a resource group.

function list(resourceGroupName: string, options?: LocalNetworkGatewaysListOptionalParams): PagedAsyncIterableIterator<LocalNetworkGateway, LocalNetworkGateway[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

options
LocalNetworkGatewaysListOptionalParams

The options parameters.

Returns