Share via


QuantumExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Quantum.

public static class QuantumExtensions
type QuantumExtensions = class
Public Module QuantumExtensions
Inheritance
QuantumExtensions

Methods

CheckWorkspaceNameAvailability(SubscriptionResource, String, WorkspaceNameAvailabilityContent, CancellationToken)

Check the availability of the resource name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Quantum/locations/{locationName}/checkNameAvailability
  • Operation Id: Workspace_CheckNameAvailability
  • Default Api Version: 2023-11-13-preview
CheckWorkspaceNameAvailabilityAsync(SubscriptionResource, String, WorkspaceNameAvailabilityContent, CancellationToken)

Check the availability of the resource name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Quantum/locations/{locationName}/checkNameAvailability
  • Operation Id: Workspace_CheckNameAvailability
  • Default Api Version: 2023-11-13-preview
GetOfferings(SubscriptionResource, String, CancellationToken)

Returns the list of all provider offerings available for the given location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Quantum/locations/{locationName}/offerings
  • Operation Id: Offerings_List
  • Default Api Version: 2023-11-13-preview
GetOfferingsAsync(SubscriptionResource, String, CancellationToken)

Returns the list of all provider offerings available for the given location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Quantum/locations/{locationName}/offerings
  • Operation Id: Offerings_List
  • Default Api Version: 2023-11-13-preview
GetQuantumWorkspace(ResourceGroupResource, String, CancellationToken)

Returns the Workspace resource associated with the given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2023-11-13-preview
  • Resource: QuantumWorkspaceResource
GetQuantumWorkspaceAsync(ResourceGroupResource, String, CancellationToken)

Returns the Workspace resource associated with the given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2023-11-13-preview
  • Resource: QuantumWorkspaceResource
GetQuantumWorkspaceResource(ArmClient, ResourceIdentifier)

Gets an object representing a QuantumWorkspaceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a QuantumWorkspaceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetQuantumWorkspaceResource(ResourceIdentifier) instead.

GetQuantumWorkspaces(ResourceGroupResource)

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

GetQuantumWorkspaces(SubscriptionResource, CancellationToken)

Gets the list of Workspaces within a Subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Quantum/workspaces
  • Operation Id: Workspaces_ListBySubscription
  • Default Api Version: 2023-11-13-preview
  • Resource: QuantumWorkspaceResource
GetQuantumWorkspacesAsync(SubscriptionResource, CancellationToken)

Gets the list of Workspaces within a Subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Quantum/workspaces
  • Operation Id: Workspaces_ListBySubscription
  • Default Api Version: 2023-11-13-preview
  • Resource: QuantumWorkspaceResource

Applies to