Freigeben über


ResourceGraphExtensions.GetResourceHistory Methode

Definition

Listet alle Momentaufnahmen einer Ressource für ein bestimmtes Zeitintervall auf.

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

Parameter

tenantResource
TenantResource

Der TenantResource instance die -Methode ausgeführt wird.

content
ResourcesHistoryContent

Anforderung, die die Abfrage und ihre Optionen angibt.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: