Share via


MockableApiManagementArmClient.GetPolicyRestrictionContractResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PolicyRestrictionContractResource object.

Applies to