Compartir a través de


MockableDeviceRegistryArmClient.GetPolicyResource(ResourceIdentifier) Method

Definition

Gets an object representing a PolicyResource along with the instance operations that can be performed on it but with no data.

public virtual Azure.ResourceManager.DeviceRegistry.PolicyResource GetPolicyResource(Azure.Core.ResourceIdentifier id);
abstract member GetPolicyResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DeviceRegistry.PolicyResource
override this.GetPolicyResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DeviceRegistry.PolicyResource
Public Overridable Function GetPolicyResource (id As ResourceIdentifier) As PolicyResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PolicyResource object.

Applies to