PolicyAssignment.DefinitionStages.WithScope.forResource(GenericResource genericResource) 方法

定义

Specifies the scope of the policy assignment to be a resource.

public WithPolicyDefinition forResource(GenericResource genericResource)

参数

genericResource
GenericResource

the resource to assign the policy

返回

the next stage of policy assignment

适用于