Share via


IotFirmwareDefenseExtensions.GetFirmwareWorkspaces Method

Definition

Overloads

GetFirmwareWorkspaces(ResourceGroupResource)

Gets a collection of FirmwareWorkspaceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetFirmwareWorkspaces() instead.

GetFirmwareWorkspaces(SubscriptionResource, CancellationToken)

Lists all of the firmware analysis workspaces in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.IoTFirmwareDefense/workspaces
  • Operation Id: Workspaces_ListBySubscription

GetFirmwareWorkspaces(ResourceGroupResource)

Source:
IotFirmwareDefenseExtensions.cs

Gets a collection of FirmwareWorkspaceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetFirmwareWorkspaces() instead.

public static Azure.ResourceManager.IotFirmwareDefense.FirmwareWorkspaceCollection GetFirmwareWorkspaces (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetFirmwareWorkspaces : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.IotFirmwareDefense.FirmwareWorkspaceCollection
<Extension()>
Public Function GetFirmwareWorkspaces (resourceGroupResource As ResourceGroupResource) As FirmwareWorkspaceCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of FirmwareWorkspaceResources and their operations over a FirmwareWorkspaceResource.

Exceptions

resourceGroupResource is null.

Applies to

GetFirmwareWorkspaces(SubscriptionResource, CancellationToken)

Source:
IotFirmwareDefenseExtensions.cs

Lists all of the firmware analysis workspaces in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.IoTFirmwareDefense/workspaces
  • Operation Id: Workspaces_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.IotFirmwareDefense.FirmwareWorkspaceResource> GetFirmwareWorkspaces (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetFirmwareWorkspaces : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.IotFirmwareDefense.FirmwareWorkspaceResource>
<Extension()>
Public Function GetFirmwareWorkspaces (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of FirmwareWorkspaceResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of FirmwareWorkspaceResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to