ChangeAnalysisExtensions.GetChangesBySubscriptionAsync 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 subscription within the specified time range. Customer data will always be masked.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ChangeAnalysis/changes
- Operation Id: Changes_ListChangesBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.ChangeAnalysis.Models.DetectedChangeData> GetChangesBySubscriptionAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, DateTimeOffset startTime, DateTimeOffset endTime, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetChangesBySubscriptionAsync : Azure.ResourceManager.Resources.SubscriptionResource * DateTimeOffset * DateTimeOffset * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ChangeAnalysis.Models.DetectedChangeData>
<Extension()>
Public Function GetChangesBySubscriptionAsync (subscriptionResource As SubscriptionResource, startTime As DateTimeOffset, endTime As DateTimeOffset, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DetectedChangeData)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource 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
An async collection of DetectedChangeData that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro