ContainerAppResource.GetLabelHistory(String, CancellationToken) Method

Definition

Get the history of a label.

public virtual Azure.Response<Azure.ResourceManager.AppContainers.LabelHistoryResource> GetLabelHistory(string labelName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLabelHistory : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.LabelHistoryResource>
override this.GetLabelHistory : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.LabelHistoryResource>
Public Overridable Function GetLabelHistory (labelName As String, Optional cancellationToken As CancellationToken = Nothing) As 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