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

SecurityRulesOperationsExtensions.List 方法

定义

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

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.SecurityRule> List (this Microsoft.Azure.Management.Network.ISecurityRulesOperations operations, string resourceGroupName, string networkSecurityGroupName);
static member List : Microsoft.Azure.Management.Network.ISecurityRulesOperations * string * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.SecurityRule>
<Extension()>
Public Function List (operations As ISecurityRulesOperations, resourceGroupName As String, networkSecurityGroupName As String) As IPage(Of SecurityRule)

参数

operations
ISecurityRulesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

networkSecurityGroupName
String

网络安全组的名称。

返回

适用于