NatGateways interface
Interface representing a NatGateways.
Methods
begin |
Creates or updates a nat gateway. |
begin |
Creates or updates a nat gateway. |
begin |
Deletes the specified nat gateway. |
begin |
Deletes the specified nat gateway. |
get(string, string, Nat |
Gets the specified nat gateway in a specified resource group. |
list(string, Nat |
Gets all nat gateways in a resource group. |
list |
Gets all the Nat Gateways in a subscription. |
update |
Updates nat gateway tags. |
Method Details
beginCreateOrUpdate(string, string, NatGateway, NatGatewaysCreateOrUpdateOptionalParams)
Creates or updates a nat gateway.
function beginCreateOrUpdate(resourceGroupName: string, natGatewayName: string, parameters: NatGateway, options?: NatGatewaysCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NatGateway>, NatGateway>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- natGatewayName
-
string
The name of the nat gateway.
- parameters
- NatGateway
Parameters supplied to the create or update nat gateway operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<NatGateway>, NatGateway>>
beginCreateOrUpdateAndWait(string, string, NatGateway, NatGatewaysCreateOrUpdateOptionalParams)
Creates or updates a nat gateway.
function beginCreateOrUpdateAndWait(resourceGroupName: string, natGatewayName: string, parameters: NatGateway, options?: NatGatewaysCreateOrUpdateOptionalParams): Promise<NatGateway>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- natGatewayName
-
string
The name of the nat gateway.
- parameters
- NatGateway
Parameters supplied to the create or update nat gateway operation.
The options parameters.
Returns
Promise<NatGateway>
beginDelete(string, string, NatGatewaysDeleteOptionalParams)
Deletes the specified nat gateway.
function beginDelete(resourceGroupName: string, natGatewayName: string, options?: NatGatewaysDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- natGatewayName
-
string
The name of the nat gateway.
- options
- NatGatewaysDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, NatGatewaysDeleteOptionalParams)
Deletes the specified nat gateway.
function beginDeleteAndWait(resourceGroupName: string, natGatewayName: string, options?: NatGatewaysDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- natGatewayName
-
string
The name of the nat gateway.
- options
- NatGatewaysDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, NatGatewaysGetOptionalParams)
Gets the specified nat gateway in a specified resource group.
function get(resourceGroupName: string, natGatewayName: string, options?: NatGatewaysGetOptionalParams): Promise<NatGateway>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- natGatewayName
-
string
The name of the nat gateway.
- options
- NatGatewaysGetOptionalParams
The options parameters.
Returns
Promise<NatGateway>
list(string, NatGatewaysListOptionalParams)
Gets all nat gateways in a resource group.
function list(resourceGroupName: string, options?: NatGatewaysListOptionalParams): PagedAsyncIterableIterator<NatGateway, NatGateway[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- options
- NatGatewaysListOptionalParams
The options parameters.
Returns
listAll(NatGatewaysListAllOptionalParams)
Gets all the Nat Gateways in a subscription.
function listAll(options?: NatGatewaysListAllOptionalParams): PagedAsyncIterableIterator<NatGateway, NatGateway[], PageSettings>
Parameters
- options
- NatGatewaysListAllOptionalParams
The options parameters.
Returns
updateTags(string, string, TagsObject, NatGatewaysUpdateTagsOptionalParams)
Updates nat gateway tags.
function updateTags(resourceGroupName: string, natGatewayName: string, parameters: TagsObject, options?: NatGatewaysUpdateTagsOptionalParams): Promise<NatGateway>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- natGatewayName
-
string
The name of the nat gateway.
- parameters
- TagsObject
Parameters supplied to update nat gateway tags.
The options parameters.
Returns
Promise<NatGateway>