Share via


RemediationsOperationsExtensions.ListForResource Method

Definition

Gets all remediations for a resource.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PolicyInsights.Models.Remediation> ListForResource (this Microsoft.Azure.Management.PolicyInsights.IRemediationsOperations operations, string resourceId, Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions queryOptions = default);
static member ListForResource : Microsoft.Azure.Management.PolicyInsights.IRemediationsOperations * string * Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PolicyInsights.Models.Remediation>
<Extension()>
Public Function ListForResource (operations As IRemediationsOperations, resourceId As String, Optional queryOptions As QueryOptions = Nothing) As IPage(Of Remediation)

Parameters

operations
IRemediationsOperations

The operations group for this extension method.

resourceId
String

Resource ID.

queryOptions
QueryOptions

Additional parameters for the operation

Returns

Applies to