ApplicationInsightsComponentResource.GetPurgeStatus 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.
Get status for an ongoing purge operation.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/operations/{purgeId}
- Operation Id: Components_GetPurgeStatus
- Default Api Version: 2020-02-02
- Resource: ApplicationInsightsComponentResource
public virtual Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ComponentPurgeStatusResult> GetPurgeStatus (string purgeId, System.Threading.CancellationToken cancellationToken = default);
public virtual Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ComponentPurgeStatusResponse> GetPurgeStatus (string purgeId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPurgeStatus : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ComponentPurgeStatusResult>
override this.GetPurgeStatus : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ComponentPurgeStatusResult>
abstract member GetPurgeStatus : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ComponentPurgeStatusResponse>
override this.GetPurgeStatus : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ComponentPurgeStatusResponse>
Public Overridable Function GetPurgeStatus (purgeId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ComponentPurgeStatusResult)
Public Overridable Function GetPurgeStatus (purgeId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ComponentPurgeStatusResponse)
Parameters
- purgeId
- String
In a purge status request, this is the Id of the operation the status of which is returned.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
purgeId
is an empty string, and was expected to be non-empty.
purgeId
is null.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Azure SDK for .NET