Partager via


RemediationsOperationsExtensions.GetAtResourceAsync Méthode

Définition

Obtient une correction existante au niveau de l’étendue de la ressource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.PolicyInsights.Models.Remediation> GetAtResourceAsync (this Microsoft.Azure.Management.PolicyInsights.IRemediationsOperations operations, string resourceId, string remediationName, System.Threading.CancellationToken cancellationToken = default);
static member GetAtResourceAsync : Microsoft.Azure.Management.PolicyInsights.IRemediationsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.PolicyInsights.Models.Remediation>
<Extension()>
Public Function GetAtResourceAsync (operations As IRemediationsOperations, resourceId As String, remediationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Remediation)

Paramètres

operations
IRemediationsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceId
String

ID de la ressource

remediationName
String

Nom de la correction.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à