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

PolicyRestrictionsOperationsExtensions.CheckAtSubscriptionScope 方法

定义

检查Azure Policy将对订阅中的资源施加哪些限制。

public static Microsoft.Azure.Management.PolicyInsights.Models.CheckRestrictionsResult CheckAtSubscriptionScope (this Microsoft.Azure.Management.PolicyInsights.IPolicyRestrictionsOperations operations, string subscriptionId, Microsoft.Azure.Management.PolicyInsights.Models.CheckRestrictionsRequest parameters);
static member CheckAtSubscriptionScope : Microsoft.Azure.Management.PolicyInsights.IPolicyRestrictionsOperations * string * Microsoft.Azure.Management.PolicyInsights.Models.CheckRestrictionsRequest -> Microsoft.Azure.Management.PolicyInsights.Models.CheckRestrictionsResult
<Extension()>
Public Function CheckAtSubscriptionScope (operations As IPolicyRestrictionsOperations, subscriptionId As String, parameters As CheckRestrictionsRequest) As CheckRestrictionsResult

参数

operations
IPolicyRestrictionsOperations

此扩展方法的操作组。

subscriptionId
String

目标订阅的 ID。

parameters
CheckRestrictionsRequest

检查策略限制参数。

返回

适用于