Language

ContainerAppLabelHistoryCollection.Get(String, CancellationToken) Method

Definition

Gets the revision history associated with a Container App label.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/labelHistories/{labelName}.
  • Operation Id. : ContainerAppsLabelHistory_GetLabelHistory.
  • Default Api Version. : 2026-07-01.
public virtual Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppLabelHistoryResource> Get(string labelName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppLabelHistoryResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppLabelHistoryResource>
Public Overridable Function Get (labelName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerAppLabelHistoryResource)

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