共用方式為


InternetGatewayRules interface

代表 InternetGatewayRules 的介面。

方法

beginCreate(string, string, InternetGatewayRule, InternetGatewayRulesCreateOptionalParams)

建立網際網路閘道規則資源。

beginCreateAndWait(string, string, InternetGatewayRule, InternetGatewayRulesCreateOptionalParams)

建立網際網路閘道規則資源。

beginDelete(string, string, InternetGatewayRulesDeleteOptionalParams)

實作網際網路閘道規則 DELETE 方法。

beginDeleteAndWait(string, string, InternetGatewayRulesDeleteOptionalParams)

實作網際網路閘道規則 DELETE 方法。

beginUpdate(string, string, InternetGatewayRulePatch, InternetGatewayRulesUpdateOptionalParams)

用來更新網際網路閘道規則資源特定屬性的 API。

beginUpdateAndWait(string, string, InternetGatewayRulePatch, InternetGatewayRulesUpdateOptionalParams)

用來更新網際網路閘道規則資源特定屬性的 API。

get(string, string, InternetGatewayRulesGetOptionalParams)

取得網際網路閘道規則資源。

listByResourceGroup(string, InternetGatewayRulesListByResourceGroupOptionalParams)

依資源群組 GET 方法實作網際網路閘道規則清單。

listBySubscription(InternetGatewayRulesListBySubscriptionOptionalParams)

列出指定訂用帳戶中的所有網際網路閘道規則。

方法詳細資料

beginCreate(string, string, InternetGatewayRule, InternetGatewayRulesCreateOptionalParams)

建立網際網路閘道規則資源。

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

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

internetGatewayRuleName

string

網際網路閘道規則的名稱。

body
InternetGatewayRule

要求承載。

傳回

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

beginCreateAndWait(string, string, InternetGatewayRule, InternetGatewayRulesCreateOptionalParams)

建立網際網路閘道規則資源。

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

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

internetGatewayRuleName

string

網際網路閘道規則的名稱。

body
InternetGatewayRule

要求承載。

傳回

beginDelete(string, string, InternetGatewayRulesDeleteOptionalParams)

實作網際網路閘道規則 DELETE 方法。

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

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

internetGatewayRuleName

string

網際網路閘道規則的名稱。

傳回

beginDeleteAndWait(string, string, InternetGatewayRulesDeleteOptionalParams)

實作網際網路閘道規則 DELETE 方法。

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

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

internetGatewayRuleName

string

網際網路閘道規則的名稱。

傳回

beginUpdate(string, string, InternetGatewayRulePatch, InternetGatewayRulesUpdateOptionalParams)

用來更新網際網路閘道規則資源特定屬性的 API。

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

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

internetGatewayRuleName

string

網際網路閘道規則的名稱。

body
InternetGatewayRulePatch

要更新的網際網路閘道規則屬性。

傳回

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

beginUpdateAndWait(string, string, InternetGatewayRulePatch, InternetGatewayRulesUpdateOptionalParams)

用來更新網際網路閘道規則資源特定屬性的 API。

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

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

internetGatewayRuleName

string

網際網路閘道規則的名稱。

body
InternetGatewayRulePatch

要更新的網際網路閘道規則屬性。

傳回

get(string, string, InternetGatewayRulesGetOptionalParams)

取得網際網路閘道規則資源。

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

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

internetGatewayRuleName

string

網際網路閘道規則的名稱。

options
InternetGatewayRulesGetOptionalParams

選項參數。

傳回

listByResourceGroup(string, InternetGatewayRulesListByResourceGroupOptionalParams)

依資源群組 GET 方法實作網際網路閘道規則清單。

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

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

傳回

listBySubscription(InternetGatewayRulesListBySubscriptionOptionalParams)

列出指定訂用帳戶中的所有網際網路閘道規則。

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

參數

傳回