共用方式為


MockablePolicyInsightsArmClient.GetPolicyRemediationResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PolicyRemediationResource object.

Applies to