Compartir a través de


RemediationsOperationsExtensions.GetAtResourceAsync Método

Definición

Obtiene una corrección existente en el ámbito del recurso.

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)

Parámetros

operations
IRemediationsOperations

Grupo de operaciones para este método de extensión.

resourceId
String

Identificador del recurso.

remediationName
String

Nombre de la corrección.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a