Share via


ArmClient.GetPolicyAssignmentResource(ResourceIdentifier) Method

Definition

Gets an object representing a PolicyAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a PolicyAssignmentResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Resources.PolicyAssignmentResource GetPolicyAssignmentResource (Azure.Core.ResourceIdentifier id);
abstract member GetPolicyAssignmentResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Resources.PolicyAssignmentResource
override this.GetPolicyAssignmentResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Resources.PolicyAssignmentResource
Public Overridable Function GetPolicyAssignmentResource (id As ResourceIdentifier) As PolicyAssignmentResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PolicyAssignmentResource object.

Applies to