Microsoft.Quantum workspaces 2019-11-04-preview

Bicep resource definition

The workspaces resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Quantum/workspaces resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Quantum/workspaces@2019-11-04-preview' = {
  identity: {
    type: 'string'
  }
  location: 'string'
  name: 'string'
  properties: {
    providers: [
      {
        applicationName: 'string'
        instanceUri: 'string'
        providerId: 'string'
        providerSku: 'string'
        provisioningState: 'string'
        resourceUsageId: 'string'
      }
    ]
    storageAccount: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.Quantum/workspaces

Name Description Value
identity Managed Identity information. QuantumWorkspaceIdentity
location The geo-location where the resource lives string (required)
name The resource name string (required)
properties Gets or sets the properties. Define quantum workspace's specific properties. WorkspaceResourceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

Provider

Name Description Value
applicationName The provider's marketplace application display name. string
instanceUri A Uri identifying the specific instance of this provider. string
providerId Unique id of this provider. string
providerSku The sku associated with pricing information for this provider. string
provisioningState Provisioning status field 'Deleted'
'Deleting'
'Failed'
'Launching'
'Succeeded'
'Updating'
resourceUsageId Id to track resource usage for the provider. string

QuantumWorkspaceIdentity

Name Description Value
type The identity type. 'None'
'SystemAssigned'

TrackedResourceTags

Name Description Value

WorkspaceResourceProperties

Name Description Value
providers List of Providers selected for this Workspace Provider[]
storageAccount ARM Resource Id of the storage account associated with this workspace. string

ARM template resource definition

The workspaces resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Quantum/workspaces resource, add the following JSON to your template.

{
  "type": "Microsoft.Quantum/workspaces",
  "apiVersion": "2019-11-04-preview",
  "name": "string",
  "identity": {
    "type": "string"
  },
  "location": "string",
  "properties": {
    "providers": [
      {
        "applicationName": "string",
        "instanceUri": "string",
        "providerId": "string",
        "providerSku": "string",
        "provisioningState": "string",
        "resourceUsageId": "string"
      }
    ],
    "storageAccount": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.Quantum/workspaces

Name Description Value
apiVersion The api version '2019-11-04-preview'
identity Managed Identity information. QuantumWorkspaceIdentity
location The geo-location where the resource lives string (required)
name The resource name string (required)
properties Gets or sets the properties. Define quantum workspace's specific properties. WorkspaceResourceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Quantum/workspaces'

Provider

Name Description Value
applicationName The provider's marketplace application display name. string
instanceUri A Uri identifying the specific instance of this provider. string
providerId Unique id of this provider. string
providerSku The sku associated with pricing information for this provider. string
provisioningState Provisioning status field 'Deleted'
'Deleting'
'Failed'
'Launching'
'Succeeded'
'Updating'
resourceUsageId Id to track resource usage for the provider. string

QuantumWorkspaceIdentity

Name Description Value
type The identity type. 'None'
'SystemAssigned'

TrackedResourceTags

Name Description Value

WorkspaceResourceProperties

Name Description Value
providers List of Providers selected for this Workspace Provider[]
storageAccount ARM Resource Id of the storage account associated with this workspace. string

Usage Examples

Terraform (AzAPI provider) resource definition

The workspaces resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Quantum/workspaces resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Quantum/workspaces@2019-11-04-preview"
  name = "string"
  identity = {
    type = "string"
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      providers = [
        {
          applicationName = "string"
          instanceUri = "string"
          providerId = "string"
          providerSku = "string"
          provisioningState = "string"
          resourceUsageId = "string"
        }
      ]
      storageAccount = "string"
    }
  })
}

Property Values

Microsoft.Quantum/workspaces

Name Description Value
identity Managed Identity information. QuantumWorkspaceIdentity
location The geo-location where the resource lives string (required)
name The resource name string (required)
properties Gets or sets the properties. Define quantum workspace's specific properties. WorkspaceResourceProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Quantum/workspaces@2019-11-04-preview"

Provider

Name Description Value
applicationName The provider's marketplace application display name. string
instanceUri A Uri identifying the specific instance of this provider. string
providerId Unique id of this provider. string
providerSku The sku associated with pricing information for this provider. string
provisioningState Provisioning status field 'Deleted'
'Deleting'
'Failed'
'Launching'
'Succeeded'
'Updating'
resourceUsageId Id to track resource usage for the provider. string

QuantumWorkspaceIdentity

Name Description Value
type The identity type. 'None'
'SystemAssigned'

TrackedResourceTags

Name Description Value

WorkspaceResourceProperties

Name Description Value
providers List of Providers selected for this Workspace Provider[]
storageAccount ARM Resource Id of the storage account associated with this workspace. string