InternetGatewayRules interface

Interface representing a InternetGatewayRules.

Methods

beginCreate(string, string, InternetGatewayRule, InternetGatewayRulesCreateOptionalParams)

Creates an Internet Gateway rule resource.

beginCreateAndWait(string, string, InternetGatewayRule, InternetGatewayRulesCreateOptionalParams)

Creates an Internet Gateway rule resource.

beginDelete(string, string, InternetGatewayRulesDeleteOptionalParams)

Implements Internet Gateway Rules DELETE method.

beginDeleteAndWait(string, string, InternetGatewayRulesDeleteOptionalParams)

Implements Internet Gateway Rules DELETE method.

beginUpdate(string, string, InternetGatewayRulePatch, InternetGatewayRulesUpdateOptionalParams)

API to update certain properties of the Internet Gateway Rule resource.

beginUpdateAndWait(string, string, InternetGatewayRulePatch, InternetGatewayRulesUpdateOptionalParams)

API to update certain properties of the Internet Gateway Rule resource.

get(string, string, InternetGatewayRulesGetOptionalParams)

Gets an Internet Gateway Rule resource.

listByResourceGroup(string, InternetGatewayRulesListByResourceGroupOptionalParams)

Implements Internet Gateway Rules list by resource group GET method.

listBySubscription(InternetGatewayRulesListBySubscriptionOptionalParams)

List all Internet Gateway rules in the given subscription.

Method Details

beginCreate(string, string, InternetGatewayRule, InternetGatewayRulesCreateOptionalParams)

Creates an Internet Gateway rule resource.

function beginCreate(resourceGroupName: string, internetGatewayRuleName: string, body: InternetGatewayRule, options?: InternetGatewayRulesCreateOptionalParams): Promise<SimplePollerLike<OperationState<InternetGatewayRule>, InternetGatewayRule>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

internetGatewayRuleName

string

Name of the Internet Gateway rule.

body
InternetGatewayRule

Request payload.

options
InternetGatewayRulesCreateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<InternetGatewayRule>, InternetGatewayRule>>

beginCreateAndWait(string, string, InternetGatewayRule, InternetGatewayRulesCreateOptionalParams)

Creates an Internet Gateway rule resource.

function beginCreateAndWait(resourceGroupName: string, internetGatewayRuleName: string, body: InternetGatewayRule, options?: InternetGatewayRulesCreateOptionalParams): Promise<InternetGatewayRule>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

internetGatewayRuleName

string

Name of the Internet Gateway rule.

body
InternetGatewayRule

Request payload.

options
InternetGatewayRulesCreateOptionalParams

The options parameters.

Returns

beginDelete(string, string, InternetGatewayRulesDeleteOptionalParams)

Implements Internet Gateway Rules DELETE method.

function beginDelete(resourceGroupName: string, internetGatewayRuleName: string, options?: InternetGatewayRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<InternetGatewayRulesDeleteHeaders>, InternetGatewayRulesDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

internetGatewayRuleName

string

Name of the Internet Gateway rule.

options
InternetGatewayRulesDeleteOptionalParams

The options parameters.

Returns

beginDeleteAndWait(string, string, InternetGatewayRulesDeleteOptionalParams)

Implements Internet Gateway Rules DELETE method.

function beginDeleteAndWait(resourceGroupName: string, internetGatewayRuleName: string, options?: InternetGatewayRulesDeleteOptionalParams): Promise<InternetGatewayRulesDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

internetGatewayRuleName

string

Name of the Internet Gateway rule.

options
InternetGatewayRulesDeleteOptionalParams

The options parameters.

Returns

beginUpdate(string, string, InternetGatewayRulePatch, InternetGatewayRulesUpdateOptionalParams)

API to update certain properties of the Internet Gateway Rule resource.

function beginUpdate(resourceGroupName: string, internetGatewayRuleName: string, body: InternetGatewayRulePatch, options?: InternetGatewayRulesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<InternetGatewayRule>, InternetGatewayRule>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

internetGatewayRuleName

string

Name of the Internet Gateway rule.

body
InternetGatewayRulePatch

Internet Gateway Rule properties to update.

options
InternetGatewayRulesUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<InternetGatewayRule>, InternetGatewayRule>>

beginUpdateAndWait(string, string, InternetGatewayRulePatch, InternetGatewayRulesUpdateOptionalParams)

API to update certain properties of the Internet Gateway Rule resource.

function beginUpdateAndWait(resourceGroupName: string, internetGatewayRuleName: string, body: InternetGatewayRulePatch, options?: InternetGatewayRulesUpdateOptionalParams): Promise<InternetGatewayRule>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

internetGatewayRuleName

string

Name of the Internet Gateway rule.

body
InternetGatewayRulePatch

Internet Gateway Rule properties to update.

options
InternetGatewayRulesUpdateOptionalParams

The options parameters.

Returns

get(string, string, InternetGatewayRulesGetOptionalParams)

Gets an Internet Gateway Rule resource.

function get(resourceGroupName: string, internetGatewayRuleName: string, options?: InternetGatewayRulesGetOptionalParams): Promise<InternetGatewayRule>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

internetGatewayRuleName

string

Name of the Internet Gateway rule.

options
InternetGatewayRulesGetOptionalParams

The options parameters.

Returns

listByResourceGroup(string, InternetGatewayRulesListByResourceGroupOptionalParams)

Implements Internet Gateway Rules list by resource group GET method.

function listByResourceGroup(resourceGroupName: string, options?: InternetGatewayRulesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<InternetGatewayRule, InternetGatewayRule[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

Returns

listBySubscription(InternetGatewayRulesListBySubscriptionOptionalParams)

List all Internet Gateway rules in the given subscription.

function listBySubscription(options?: InternetGatewayRulesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<InternetGatewayRule, InternetGatewayRule[], PageSettings>

Parameters

Returns