共用方式為


MockablePolicyInsightsArmClient.GetPolicyMetadataResource Method

Definition

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

public virtual Azure.ResourceManager.PolicyInsights.PolicyMetadataResource GetPolicyMetadataResource (Azure.Core.ResourceIdentifier id);
abstract member GetPolicyMetadataResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.PolicyInsights.PolicyMetadataResource
override this.GetPolicyMetadataResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.PolicyInsights.PolicyMetadataResource
Public Overridable Function GetPolicyMetadataResource (id As ResourceIdentifier) As PolicyMetadataResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PolicyMetadataResource object.

Applies to