ArmIotFirmwareDefenseModelFactory.IotFirmwarePatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of IotFirmwarePatch.
public static Azure.ResourceManager.IotFirmwareDefense.Models.IotFirmwarePatch IotFirmwarePatch (string fileName = default, string vendor = default, string model = default, string version = default, string description = default, long? fileSize = default, Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareAnalysisStatus? status = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareAnalysisStatusMessage> statusMessages = default, Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareProvisioningState? provisioningState = default);
static member IotFirmwarePatch : string * string * string * string * string * Nullable<int64> * Nullable<Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareAnalysisStatus> * seq<Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareAnalysisStatusMessage> * Nullable<Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareProvisioningState> -> Azure.ResourceManager.IotFirmwareDefense.Models.IotFirmwarePatch
Public Shared Function IotFirmwarePatch (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 FirmwareAnalysisStatus) = Nothing, Optional statusMessages As IEnumerable(Of FirmwareAnalysisStatusMessage) = Nothing, Optional provisioningState As Nullable(Of FirmwareProvisioningState) = Nothing) As IotFirmwarePatch
Parameters
- 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.
- status
- Nullable<FirmwareAnalysisStatus>
The status of firmware scan.
- statusMessages
- IEnumerable<FirmwareAnalysisStatusMessage>
A list of errors or other messages generated during firmware analysis.
- provisioningState
- Nullable<FirmwareProvisioningState>
Provisioning state of the resource.
Returns
A new IotFirmwarePatch instance for mocking.