LabelHistoryCollection.Get(String, CancellationToken) Method

Definition

Get the history of a label.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/labelHistory/{labelName}.
  • Operation Id. : ContainerAppsLabelHistory_GetLabelHistory.
  • Default Api Version. : 2025-10-02-preview.
public virtual Azure.Response<Azure.ResourceManager.AppContainers.LabelHistoryResource> Get(string labelName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.LabelHistoryResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.LabelHistoryResource>
Public Overridable Function Get (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