Share via


ChangeAnalysisExtensions.GetChangesByResourceGroup Method

Definition

List the changes of a resource group within the specified time range. Customer data will always be masked.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ChangeAnalysis/changes
  • Operation Id: Changes_ListChangesByResourceGroup
public static Azure.Pageable<Azure.ResourceManager.ChangeAnalysis.Models.DetectedChangeData> GetChangesByResourceGroup (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, DateTimeOffset startTime, DateTimeOffset endTime, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetChangesByResourceGroup : Azure.ResourceManager.Resources.ResourceGroupResource * DateTimeOffset * DateTimeOffset * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ChangeAnalysis.Models.DetectedChangeData>
<Extension()>
Public Function GetChangesByResourceGroup (resourceGroupResource As ResourceGroupResource, startTime As DateTimeOffset, endTime As DateTimeOffset, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DetectedChangeData)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

startTime
DateTimeOffset

Specifies the start time of the changes request.

endTime
DateTimeOffset

Specifies the end time of the changes request.

skipToken
String

A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of DetectedChangeData that may take multiple service requests to iterate over.

Exceptions

resourceGroupResource is null.

Applies to