Compartir a través de


ReportResource.GetSnapshotResourceAsync(String, CancellationToken) Método

Definición

Obtenga la instantánea AppComplianceAutomation y sus propiedades.

  • Ruta de acceso de solicitud/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}
  • IdSnapshot_Get de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppComplianceAutomation.SnapshotResource>> GetSnapshotResourceAsync (string snapshotName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSnapshotResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppComplianceAutomation.SnapshotResource>>
override this.GetSnapshotResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppComplianceAutomation.SnapshotResource>>
Public Overridable Function GetSnapshotResourceAsync (snapshotName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SnapshotResource))

Parámetros

snapshotName
String

Nombre de la instantánea.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

snapshotName es una cadena vacía y se espera que no esté vacía.

snapshotName es null.

Se aplica a