ArmDataBoxEdgeModelFactory.DataBoxEdgeDeviceUpdateSummary Method

Definition

Initializes a new instance of DataBoxEdgeDeviceUpdateSummary.

public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceUpdateSummary DataBoxEdgeDeviceUpdateSummary (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string deviceVersionNumber = default, string friendlyDeviceVersionName = default, DateTimeOffset? deviceLastScannedOn = default, DateTimeOffset? lastCompletedScanJobOn = default, DateTimeOffset? lastSuccessfulScanJobOn = default, DateTimeOffset? lastCompletedDownloadJobOn = default, Azure.Core.ResourceIdentifier lastCompletedDownloadJobId = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobStatus? lastDownloadJobStatus = default, DateTimeOffset? lastSuccessfulInstallJobOn = default, DateTimeOffset? lastCompletedInstallJobOn = default, Azure.Core.ResourceIdentifier lastCompletedInstallJobId = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobStatus? lastInstallJobStatus = default, int? totalNumberOfUpdatesAvailable = default, int? totalNumberOfUpdatesPendingDownload = default, int? totalNumberOfUpdatesPendingInstall = default, Azure.ResourceManager.DataBoxEdge.Models.InstallRebootBehavior? rebootBehavior = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeUpdateOperation? ongoingUpdateOperation = default, Azure.Core.ResourceIdentifier inProgressDownloadJobId = default, Azure.Core.ResourceIdentifier inProgressInstallJobId = default, DateTimeOffset? inProgressDownloadJobStartedOn = default, DateTimeOffset? inProgressInstallJobStartedOn = default, System.Collections.Generic.IEnumerable<string> updateTitles = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeUpdateDetails> updates = default, double? totalUpdateSizeInBytes = default, int? totalTimeInMinutes = default);
static member DataBoxEdgeDeviceUpdateSummary : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobStatus> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.DataBoxEdge.Models.InstallRebootBehavior> * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeUpdateOperation> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<string> * seq<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeUpdateDetails> * Nullable<double> * Nullable<int> -> Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceUpdateSummary
Public Shared Function DataBoxEdgeDeviceUpdateSummary (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional deviceVersionNumber As String = Nothing, Optional friendlyDeviceVersionName As String = Nothing, Optional deviceLastScannedOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastCompletedScanJobOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastSuccessfulScanJobOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastCompletedDownloadJobOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastCompletedDownloadJobId As ResourceIdentifier = Nothing, Optional lastDownloadJobStatus As Nullable(Of DataBoxEdgeJobStatus) = Nothing, Optional lastSuccessfulInstallJobOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastCompletedInstallJobOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastCompletedInstallJobId As ResourceIdentifier = Nothing, Optional lastInstallJobStatus As Nullable(Of DataBoxEdgeJobStatus) = Nothing, Optional totalNumberOfUpdatesAvailable As Nullable(Of Integer) = Nothing, Optional totalNumberOfUpdatesPendingDownload As Nullable(Of Integer) = Nothing, Optional totalNumberOfUpdatesPendingInstall As Nullable(Of Integer) = Nothing, Optional rebootBehavior As Nullable(Of InstallRebootBehavior) = Nothing, Optional ongoingUpdateOperation As Nullable(Of DataBoxEdgeUpdateOperation) = Nothing, Optional inProgressDownloadJobId As ResourceIdentifier = Nothing, Optional inProgressInstallJobId As ResourceIdentifier = Nothing, Optional inProgressDownloadJobStartedOn As Nullable(Of DateTimeOffset) = Nothing, Optional inProgressInstallJobStartedOn As Nullable(Of DateTimeOffset) = Nothing, Optional updateTitles As IEnumerable(Of String) = Nothing, Optional updates As IEnumerable(Of DataBoxEdgeUpdateDetails) = Nothing, Optional totalUpdateSizeInBytes As Nullable(Of Double) = Nothing, Optional totalTimeInMinutes As Nullable(Of Integer) = Nothing) As DataBoxEdgeDeviceUpdateSummary

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

deviceVersionNumber
String

The current version of the device in format: 1.2.17312.13.",.

friendlyDeviceVersionName
String

The current version of the device in text format.

deviceLastScannedOn
Nullable<DateTimeOffset>

The last time when a scan was done on the device.

lastCompletedScanJobOn
Nullable<DateTimeOffset>

The time when the last scan job was completed (success/cancelled/failed) on the appliance.

lastSuccessfulScanJobOn
Nullable<DateTimeOffset>

Time when the last scan job is successfully completed.

lastCompletedDownloadJobOn
Nullable<DateTimeOffset>

The time when the last Download job was completed (success/cancelled/failed) on the appliance.

lastCompletedDownloadJobId
ResourceIdentifier

JobId of the last ran download job.(Can be success/cancelled/failed).

lastDownloadJobStatus
Nullable<DataBoxEdgeJobStatus>

JobStatus of the last ran download job.

lastSuccessfulInstallJobOn
Nullable<DateTimeOffset>

The time when the Last Install job was completed successfully on the appliance.

lastCompletedInstallJobOn
Nullable<DateTimeOffset>

The time when the last Install job was completed (success/cancelled/failed) on the appliance.

lastCompletedInstallJobId
ResourceIdentifier

JobId of the last ran install job.(Can be success/cancelled/failed).

lastInstallJobStatus
Nullable<DataBoxEdgeJobStatus>

JobStatus of the last ran install job.

totalNumberOfUpdatesAvailable
Nullable<Int32>

The number of updates available for the current device version as per the last device scan.

totalNumberOfUpdatesPendingDownload
Nullable<Int32>

The total number of items pending download.

totalNumberOfUpdatesPendingInstall
Nullable<Int32>

The total number of items pending install.

rebootBehavior
Nullable<InstallRebootBehavior>

Indicates if updates are available and at least one of the updates needs a reboot.

ongoingUpdateOperation
Nullable<DataBoxEdgeUpdateOperation>

The current update operation.

inProgressDownloadJobId
ResourceIdentifier

The job ID of the download job in progress.

inProgressInstallJobId
ResourceIdentifier

The job ID of the install job in progress.

inProgressDownloadJobStartedOn
Nullable<DateTimeOffset>

The time when the currently running download (if any) started.

inProgressInstallJobStartedOn
Nullable<DateTimeOffset>

The time when the currently running install (if any) started.

updateTitles
IEnumerable<String>

The list of updates available for install.

updates
IEnumerable<DataBoxEdgeUpdateDetails>

The list of updates available for install.

totalUpdateSizeInBytes
Nullable<Double>

The total size of updates available for download in bytes.

totalTimeInMinutes
Nullable<Int32>

The total time in Minutes.

Returns

A new DataBoxEdgeDeviceUpdateSummary instance for mocking.

Applies to