共用方式為


ArmIotFirmwareDefenseModelFactory.FirmwareData Method

Definition

Initializes a new instance of FirmwareData.

public static Azure.ResourceManager.IotFirmwareDefense.FirmwareData FirmwareData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string fileName = default, string vendor = default, string model = default, string version = default, string description = default, long? fileSize = default, Azure.ResourceManager.IotFirmwareDefense.Models.Status? status = default, System.Collections.Generic.IEnumerable<BinaryData> statusMessages = default, Azure.ResourceManager.IotFirmwareDefense.Models.ProvisioningState? provisioningState = default);
static member FirmwareData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * string * Nullable<int64> * Nullable<Azure.ResourceManager.IotFirmwareDefense.Models.Status> * seq<BinaryData> * Nullable<Azure.ResourceManager.IotFirmwareDefense.Models.ProvisioningState> -> Azure.ResourceManager.IotFirmwareDefense.FirmwareData
Public Shared Function FirmwareData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional fileName As String = Nothing, Optional vendor As String = Nothing, Optional model As String = Nothing, Optional version As String = Nothing, Optional description As String = Nothing, Optional fileSize As Nullable(Of Long) = Nothing, Optional status As Nullable(Of Status) = Nothing, Optional statusMessages As IEnumerable(Of BinaryData) = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing) As FirmwareData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

fileName
String

File name for a firmware that user uploaded.

vendor
String

Firmware vendor.

model
String

Firmware model.

version
String

Firmware version.

description
String

User-specified description of the firmware.

fileSize
Nullable<Int64>

File size of the uploaded firmware image.

status
Nullable<Status>

The status of firmware scan.

statusMessages
IEnumerable<BinaryData>

A list of errors or other messages generated during firmware analysis.

provisioningState
Nullable<ProvisioningState>

Provisioning state of the resource.

Returns

A new FirmwareData instance for mocking.

Applies to