Share via


ArmHciModelFactory.HciClusterUpdateRunData Method

Definition

Initializes a new instance of HciClusterUpdateRunData.

public static Azure.ResourceManager.Hci.HciClusterUpdateRunData HciClusterUpdateRunData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, Azure.ResourceManager.Hci.Models.HciProvisioningState? provisioningState = default, DateTimeOffset? timeStarted = default, DateTimeOffset? lastUpdatedOn = default, string duration = default, Azure.ResourceManager.Hci.Models.UpdateRunPropertiesState? state = default, string namePropertiesProgressName = default, string description = default, string errorMessage = default, string status = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, DateTimeOffset? lastCompletedOn = default, string expectedExecutionTime = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Hci.Models.HciUpdateStep> steps = default);
static member HciClusterUpdateRunData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.Hci.Models.HciProvisioningState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.Hci.Models.UpdateRunPropertiesState> * string * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * seq<Azure.ResourceManager.Hci.Models.HciUpdateStep> -> Azure.ResourceManager.Hci.HciClusterUpdateRunData
Public Shared Function HciClusterUpdateRunData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional provisioningState As Nullable(Of HciProvisioningState) = Nothing, Optional timeStarted As Nullable(Of DateTimeOffset) = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional duration As String = Nothing, Optional state As Nullable(Of UpdateRunPropertiesState) = Nothing, Optional namePropertiesProgressName As String = Nothing, Optional description As String = Nothing, Optional errorMessage As String = Nothing, Optional status As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastCompletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional expectedExecutionTime As String = Nothing, Optional steps As IEnumerable(Of HciUpdateStep) = Nothing) As HciClusterUpdateRunData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

The geo-location where the resource lives.

provisioningState
Nullable<HciProvisioningState>

Provisioning state of the UpdateRuns proxy resource.

timeStarted
Nullable<DateTimeOffset>

Timestamp of the update run was started.

lastUpdatedOn
Nullable<DateTimeOffset>

Timestamp of the most recently completed step in the update run.

duration
String

Duration of the update run.

state
Nullable<UpdateRunPropertiesState>

State of the update run.

namePropertiesProgressName
String

Name of the step.

description
String

More detailed description of the step.

errorMessage
String

Error message, specified if the step is in a failed state.

status
String

Status of the step, bubbled up from the ECE action plan for installation attempts. Values are: 'Success', 'Error', 'InProgress', and 'Unknown status'.

startOn
Nullable<DateTimeOffset>

When the step started, or empty if it has not started executing.

endOn
Nullable<DateTimeOffset>

When the step reached a terminal state.

lastCompletedOn
Nullable<DateTimeOffset>

Completion time of this step or the last completed sub-step.

expectedExecutionTime
String

Expected execution time of a given step. This is optionally authored in the update action plan and can be empty.

steps
IEnumerable<HciUpdateStep>

Recursive model for child steps of this step.

Returns

A new HciClusterUpdateRunData instance for mocking.

Applies to