InternetGatewayRules interface
Interface representing a InternetGatewayRules.
Methods
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.
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.
The options parameters.
Returns
Promise<InternetGatewayRule>
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<InternetGatewayRulesDeleteHeaders>, InternetGatewayRulesDeleteHeaders>>
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.
The options parameters.
Returns
Promise<InternetGatewayRulesDeleteHeaders>
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.
Internet Gateway Rule properties to update.
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.
Internet Gateway Rule properties to update.
The options parameters.
Returns
Promise<InternetGatewayRule>
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.
The options parameters.
Returns
Promise<InternetGatewayRule>
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.
The options parameters.
Returns
listBySubscription(InternetGatewayRulesListBySubscriptionOptionalParams)
List all Internet Gateway rules in the given subscription.
function listBySubscription(options?: InternetGatewayRulesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<InternetGatewayRule, InternetGatewayRule[], PageSettings>
Parameters
The options parameters.