Compartilhar via


IWithScope.ForResourceGroup(IResourceGroup) Método

Definição

Especifica o escopo de PolicyAssignment para ser um grupo de recursos.

public Microsoft.Azure.Management.ResourceManager.Fluent.PolicyAssignment.Definition.IWithPolicyDefinition ForResourceGroup (Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup resourceGroup);
abstract member ForResourceGroup : Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup -> Microsoft.Azure.Management.ResourceManager.Fluent.PolicyAssignment.Definition.IWithPolicyDefinition
Public Function ForResourceGroup (resourceGroup As IResourceGroup) As IWithPolicyDefinition

Parâmetros

resourceGroup
IResourceGroup

O grupo de recursos para atribuir a política.

Retornos

Aplica-se a