ArmAppContainersModelFactory.LabelHistoryRecordItem Method

Definition

Container App Label History Item resource specific properties.

public static Azure.ResourceManager.AppContainers.Models.LabelHistoryRecordItem LabelHistoryRecordItem(string revision = default, DateTimeOffset? startedOn = default, DateTimeOffset? stoppedOn = default, Azure.ResourceManager.AppContainers.Models.Status? status = default);
static member LabelHistoryRecordItem : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.AppContainers.Models.Status> -> Azure.ResourceManager.AppContainers.Models.LabelHistoryRecordItem
Public Shared Function LabelHistoryRecordItem (Optional revision As String = Nothing, Optional startedOn As Nullable(Of DateTimeOffset) = Nothing, Optional stoppedOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As Nullable(Of Status) = Nothing) As LabelHistoryRecordItem

Parameters

revision
String

Container App revision name that label was applied to.

startedOn
Nullable<DateTimeOffset>

Timestamp describing when the label was applied to the revision.

stoppedOn
Nullable<DateTimeOffset>

Timestamp describing when the label was removed from the revision. Only meaningful when the label is currently applied to the revision.

status
Nullable<Status>

Status of the label history record.

Returns

A new LabelHistoryRecordItem instance for mocking.

Applies to