你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PolicyAssignment.DefinitionStages.WithExcludedScopes Interface
public static interface PolicyAssignment.DefinitionStages.WithExcludedScopes
A policy assignment allowing the excluded scopes to be set.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withExcludedScope(String scope)
Specifies the excluded scope of the policy assignment. |
Method Details
withExcludedScope
public abstract PolicyAssignment.DefinitionStages.WithCreate withExcludedScope(String scope)
Specifies the excluded scope of the policy assignment.
Parameters:
scope
- the scope to be excluded from the policy assignment
Returns:
the next stage of policy assignment