LocalNetworkGateways interface
Interface representing a LocalNetworkGateways.
Methods
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.
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.
The options parameters.
Returns
Promise<LocalNetworkGateway>
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.
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.
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.
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.
The options parameters.
Returns
Promise<LocalNetworkGateway>
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.
The options parameters.
Returns
Promise<LocalNetworkGateway>
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.
The options parameters.