Share via


IotFirmwareCollection Class

Definition

A class representing a collection of IotFirmwareResource and their operations. Each IotFirmwareResource in the collection will belong to the same instance of FirmwareAnalysisWorkspaceResource. To get an IotFirmwareCollection instance call the GetIotFirmwares method from an instance of FirmwareAnalysisWorkspaceResource.

public class IotFirmwareCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.IotFirmwareDefense.IotFirmwareResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotFirmwareDefense.IotFirmwareResource>
type IotFirmwareCollection = class
    inherit ArmCollection
    interface seq<IotFirmwareResource>
    interface IEnumerable
    interface IAsyncEnumerable<IotFirmwareResource>
Public Class IotFirmwareCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of IotFirmwareResource), IEnumerable(Of IotFirmwareResource)
Inheritance
IotFirmwareCollection
Implements

Constructors

IotFirmwareCollection()

Initializes a new instance of the IotFirmwareCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, IotFirmwareData, CancellationToken)

The operation to create a firmware.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}
  • Operation Id: Firmwares_Create
  • Default Api Version: 2024-01-10
  • Resource: IotFirmwareResource
CreateOrUpdateAsync(WaitUntil, String, IotFirmwareData, CancellationToken)

The operation to create a firmware.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}
  • Operation Id: Firmwares_Create
  • Default Api Version: 2024-01-10
  • Resource: IotFirmwareResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}
  • Operation Id: Firmwares_Get
  • Default Api Version: 2024-01-10
  • Resource: IotFirmwareResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}
  • Operation Id: Firmwares_Get
  • Default Api Version: 2024-01-10
  • Resource: IotFirmwareResource
Get(String, CancellationToken)

Get firmware.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}
  • Operation Id: Firmwares_Get
  • Default Api Version: 2024-01-10
  • Resource: IotFirmwareResource
GetAll(CancellationToken)

Lists all of firmwares inside a workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares
  • Operation Id: Firmwares_ListByWorkspace
  • Default Api Version: 2024-01-10
  • Resource: IotFirmwareResource
GetAllAsync(CancellationToken)

Lists all of firmwares inside a workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares
  • Operation Id: Firmwares_ListByWorkspace
  • Default Api Version: 2024-01-10
  • Resource: IotFirmwareResource
GetAsync(String, CancellationToken)

Get firmware.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}
  • Operation Id: Firmwares_Get
  • Default Api Version: 2024-01-10
  • Resource: IotFirmwareResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}
  • Operation Id: Firmwares_Get
  • Default Api Version: 2024-01-10
  • Resource: IotFirmwareResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}
  • Operation Id: Firmwares_Get
  • Default Api Version: 2024-01-10
  • Resource: IotFirmwareResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<IotFirmwareResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<IotFirmwareResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to