你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GovernanceRulesOperationsExtensions.List Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a list of all relevant governance rules over a scope
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Security.Models.GovernanceRule> List (this Microsoft.Azure.Management.Security.IGovernanceRulesOperations operations, string scope);
static member List : Microsoft.Azure.Management.Security.IGovernanceRulesOperations * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Security.Models.GovernanceRule>
<Extension()>
Public Function List (operations As IGovernanceRulesOperations, scope As String) As IPage(Of GovernanceRule)
Parameters
- operations
- IGovernanceRulesOperations
The operations group for this extension method.
- scope
- String
The scope of the Governance rules. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'