Compartir a través de


ReportResource.GetSnapshotResource(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 Azure.Response<Azure.ResourceManager.AppComplianceAutomation.SnapshotResource> GetSnapshotResource (string snapshotName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSnapshotResource : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppComplianceAutomation.SnapshotResource>
override this.GetSnapshotResource : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppComplianceAutomation.SnapshotResource>
Public Overridable Function GetSnapshotResource (snapshotName As String, Optional cancellationToken As CancellationToken = Nothing) As 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