ContainerAppResource.GetLabelHistoryAsync(String, CancellationToken) Method

Definition

Get the history of a label.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.LabelHistoryResource>> GetLabelHistoryAsync(string labelName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLabelHistoryAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.LabelHistoryResource>>
override this.GetLabelHistoryAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.LabelHistoryResource>>
Public Overridable Function GetLabelHistoryAsync (labelName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LabelHistoryResource))

Parameters

labelName
String

Name of the label.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

labelName is null.

labelName is an empty string, and was expected to be non-empty.

Applies to