你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

InternetGatewayRules interface

表示 InternetGatewayRules 的接口。

方法

beginCreate(string, string, InternetGatewayRule, InternetGatewayRulesCreateOptionalParams)

创建 Internet 网关规则资源。

beginCreateAndWait(string, string, InternetGatewayRule, InternetGatewayRulesCreateOptionalParams)

创建 Internet 网关规则资源。

beginDelete(string, string, InternetGatewayRulesDeleteOptionalParams)

实现 Internet 网关规则 DELETE 方法。

beginDeleteAndWait(string, string, InternetGatewayRulesDeleteOptionalParams)

实现 Internet 网关规则 DELETE 方法。

beginUpdate(string, string, InternetGatewayRulePatch, InternetGatewayRulesUpdateOptionalParams)

用于更新 Internet 网关规则资源的某些属性的 API。

beginUpdateAndWait(string, string, InternetGatewayRulePatch, InternetGatewayRulesUpdateOptionalParams)

用于更新 Internet 网关规则资源的某些属性的 API。

get(string, string, InternetGatewayRulesGetOptionalParams)

获取 Internet 网关规则资源。

listByResourceGroup(string, InternetGatewayRulesListByResourceGroupOptionalParams)

按资源组 GET 方法实现 Internet 网关规则列表。

listBySubscription(InternetGatewayRulesListBySubscriptionOptionalParams)

列出给定订阅中的所有 Internet 网关规则。

方法详细信息

beginCreate(string, string, InternetGatewayRule, InternetGatewayRulesCreateOptionalParams)

创建 Internet 网关规则资源。

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

internetGatewayRuleName

string

Internet 网关规则的名称。

body
InternetGatewayRule

请求有效负载。

返回

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

beginCreateAndWait(string, string, InternetGatewayRule, InternetGatewayRulesCreateOptionalParams)

创建 Internet 网关规则资源。

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

internetGatewayRuleName

string

Internet 网关规则的名称。

body
InternetGatewayRule

请求有效负载。

返回

beginDelete(string, string, InternetGatewayRulesDeleteOptionalParams)

实现 Internet 网关规则 DELETE 方法。

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

internetGatewayRuleName

string

Internet 网关规则的名称。

返回

beginDeleteAndWait(string, string, InternetGatewayRulesDeleteOptionalParams)

实现 Internet 网关规则 DELETE 方法。

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

internetGatewayRuleName

string

Internet 网关规则的名称。

返回

beginUpdate(string, string, InternetGatewayRulePatch, InternetGatewayRulesUpdateOptionalParams)

用于更新 Internet 网关规则资源的某些属性的 API。

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

internetGatewayRuleName

string

Internet 网关规则的名称。

body
InternetGatewayRulePatch

要更新的 Internet 网关规则属性。

返回

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

beginUpdateAndWait(string, string, InternetGatewayRulePatch, InternetGatewayRulesUpdateOptionalParams)

用于更新 Internet 网关规则资源的某些属性的 API。

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

internetGatewayRuleName

string

Internet 网关规则的名称。

body
InternetGatewayRulePatch

要更新的 Internet 网关规则属性。

返回

get(string, string, InternetGatewayRulesGetOptionalParams)

获取 Internet 网关规则资源。

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

internetGatewayRuleName

string

Internet 网关规则的名称。

options
InternetGatewayRulesGetOptionalParams

选项参数。

返回

listByResourceGroup(string, InternetGatewayRulesListByResourceGroupOptionalParams)

按资源组 GET 方法实现 Internet 网关规则列表。

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

返回

listBySubscription(InternetGatewayRulesListBySubscriptionOptionalParams)

列出给定订阅中的所有 Internet 网关规则。

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

参数

返回