Share via


MockableApiManagementArmClient.GetApiPolicyResource Method

Definition

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

public virtual Azure.ResourceManager.ApiManagement.ApiPolicyResource GetApiPolicyResource (Azure.Core.ResourceIdentifier id);
abstract member GetApiPolicyResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ApiManagement.ApiPolicyResource
override this.GetApiPolicyResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ApiManagement.ApiPolicyResource
Public Overridable Function GetApiPolicyResource (id As ResourceIdentifier) As ApiPolicyResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ApiPolicyResource object.

Applies to