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

DefaultSecurityRules interface

表示 DefaultSecurityRules 的接口。

方法

get(string, string, string, DefaultSecurityRulesGetOptionalParams)

获取指定的默认网络安全规则。

list(string, string, DefaultSecurityRulesListOptionalParams)

获取网络安全组中的所有默认安全规则。

方法详细信息

get(string, string, string, DefaultSecurityRulesGetOptionalParams)

获取指定的默认网络安全规则。

function get(resourceGroupName: string, networkSecurityGroupName: string, defaultSecurityRuleName: string, options?: DefaultSecurityRulesGetOptionalParams): Promise<SecurityRule>

参数

resourceGroupName

string

资源组的名称。

networkSecurityGroupName

string

网络安全组的名称。

defaultSecurityRuleName

string

默认安全规则的名称。

options
DefaultSecurityRulesGetOptionalParams

选项参数。

返回

Promise<SecurityRule>

list(string, string, DefaultSecurityRulesListOptionalParams)

获取网络安全组中的所有默认安全规则。

function list(resourceGroupName: string, networkSecurityGroupName: string, options?: DefaultSecurityRulesListOptionalParams): PagedAsyncIterableIterator<SecurityRule, SecurityRule[], PageSettings>

参数

resourceGroupName

string

资源组的名称。

networkSecurityGroupName

string

网络安全组的名称。

options
DefaultSecurityRulesListOptionalParams

选项参数。

返回