MockableResourceGraphTenantResource.GetResourcesHistoryAsync Method

Definition

List all snapshots of a resource for a given time interval.

  • Request Path. : /providers/Microsoft.ResourceGraph/resourcesHistory.
  • Operation Id. : ResourceHistory_ResourcesHistory.
  • Default Api Version. : 2021-06-01-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IDictionary<string,BinaryData>>> GetResourcesHistoryAsync(Azure.ResourceManager.ResourceGraph.Models.ResourcesHistoryRequest content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetResourcesHistoryAsync : Azure.ResourceManager.ResourceGraph.Models.ResourcesHistoryRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IDictionary<string, BinaryData>>>
override this.GetResourcesHistoryAsync : Azure.ResourceManager.ResourceGraph.Models.ResourcesHistoryRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IDictionary<string, BinaryData>>>
Public Overridable Function GetResourcesHistoryAsync (content As ResourcesHistoryRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IDictionary(Of String, BinaryData)))

Parameters

content
ResourcesHistoryRequest

The request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to