ChangeAnalysisExtensions.GetResourceChangesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
List the changes of a resource within the specified time range. Customer data will be masked if the user doesn't have access.
- Request Path: /{resourceId}/providers/Microsoft.ChangeAnalysis/resourceChanges
- Operation Id: ResourceChanges_List
public static Azure.AsyncPageable<Azure.ResourceManager.ChangeAnalysis.Models.DetectedChangeData> GetResourceChangesAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string resourceId, DateTimeOffset startTime, DateTimeOffset endTime, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetResourceChangesAsync : Azure.ResourceManager.Resources.TenantResource * string * DateTimeOffset * DateTimeOffset * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ChangeAnalysis.Models.DetectedChangeData>
<Extension()>
Public Function GetResourceChangesAsync (tenantResource As TenantResource, resourceId As String, startTime As DateTimeOffset, endTime As DateTimeOffset, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DetectedChangeData)
Parameters
- tenantResource
- TenantResource
The TenantResource instance the method will execute against.
- resourceId
- String
The identifier of the resource.
- 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
An async collection of DetectedChangeData that may take multiple service requests to iterate over.
Exceptions
resourceId
is an empty string, and was expected to be non-empty.
tenantResource
or resourceId
is null.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기