共用方式為


FirmwareData Class

Definition

A class representing the Firmware data model. Firmware definition

public class FirmwareData : Azure.ResourceManager.Models.ResourceData
type FirmwareData = class
    inherit ResourceData
Public Class FirmwareData
Inherits ResourceData
Inheritance
FirmwareData

Constructors

FirmwareData()

Initializes a new instance of FirmwareData.

Properties

Description

User-specified description of the firmware.

FileName

File name for a firmware that user uploaded.

FileSize

File size of the uploaded firmware image.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Model

Firmware model.

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

Provisioning state of the resource.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Status

The status of firmware scan.

StatusMessages

A list of errors or other messages generated during firmware analysis

To assign an object to the element of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Vendor

Firmware vendor.

Version

Firmware version.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Applies to