Compartir a través de


ResourceGraphExtensions.GetResourceHistoryAsync Método

Definición

Enumere todas las instantáneas de un recurso durante un intervalo de tiempo determinado.

  • Ruta de acceso de solicitud/providers/Microsoft.ResourceGraph/resourcesHistory
  • Operation IdResourcesHistory
public static System.Threading.Tasks.Task<Azure.Response<BinaryData>> GetResourceHistoryAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.ResourceGraph.Models.ResourcesHistoryContent content, System.Threading.CancellationToken cancellationToken = default);
static member GetResourceHistoryAsync : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.ResourceGraph.Models.ResourcesHistoryContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<BinaryData>>
<Extension()>
Public Function GetResourceHistoryAsync (tenantResource As TenantResource, content As ResourcesHistoryContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BinaryData))

Parámetros

tenantResource
TenantResource

Instancia TenantResource en la que se ejecutará el método.

content
ResourcesHistoryContent

Solicite especificar la consulta y sus opciones.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a