IWithPolicyDefinition.WithPolicyDefinition(IPolicyDefinition) Method

Definition

Specifies the policy definition of PolicyAssignment.

public Microsoft.Azure.Management.ResourceManager.Fluent.PolicyAssignment.Definition.IWithCreate WithPolicyDefinition (Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyDefinition policyDefinition);
abstract member WithPolicyDefinition : Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyDefinition -> Microsoft.Azure.Management.ResourceManager.Fluent.PolicyAssignment.Definition.IWithCreate
Public Function WithPolicyDefinition (policyDefinition As IPolicyDefinition) As IWithCreate

Parameters

policyDefinition
IPolicyDefinition

The policy definitioin of the PolicyAssignment.

Returns

Applies to