azure-native.quantum.getWorkspace
Explore with Pulumi AI
Returns the Workspace resource associated with the given name.
Uses Azure REST API version 2023-11-13-preview.
Other available API versions: 2022-01-10-preview, 2025-01-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native quantum [ApiVersion]
. See the version guide for details.
Using getWorkspace
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkspace(args: GetWorkspaceArgs, opts?: InvokeOptions): Promise<GetWorkspaceResult>
function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: InvokeOptions): Output<GetWorkspaceResult>
def get_workspace(resource_group_name: Optional[str] = None,
workspace_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkspaceResult
def get_workspace_output(resource_group_name: Optional[pulumi.Input[str]] = None,
workspace_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkspaceResult]
func LookupWorkspace(ctx *Context, args *LookupWorkspaceArgs, opts ...InvokeOption) (*LookupWorkspaceResult, error)
func LookupWorkspaceOutput(ctx *Context, args *LookupWorkspaceOutputArgs, opts ...InvokeOption) LookupWorkspaceResultOutput
> Note: This function is named LookupWorkspace
in the Go SDK.
public static class GetWorkspace
{
public static Task<GetWorkspaceResult> InvokeAsync(GetWorkspaceArgs args, InvokeOptions? opts = null)
public static Output<GetWorkspaceResult> Invoke(GetWorkspaceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWorkspaceResult> getWorkspace(GetWorkspaceArgs args, InvokeOptions options)
public static Output<GetWorkspaceResult> getWorkspace(GetWorkspaceArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:quantum:getWorkspace
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the quantum workspace resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the quantum workspace resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - The name of the quantum workspace resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- workspace
Name string - The name of the quantum workspace resource.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- workspace_
name str - The name of the quantum workspace resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - The name of the quantum workspace resource.
getWorkspace Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Pulumi.
Azure Native. Quantum. Outputs. Workspace Resource Properties Response - Gets or sets the properties. Define quantum workspace's specific properties.
- System
Data Pulumi.Azure Native. Quantum. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Identity
Pulumi.
Azure Native. Quantum. Outputs. Managed Service Identity Response - The managed service identities assigned to this resource.
- Dictionary<string, string>
- Resource tags.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Workspace
Resource Properties Response - Gets or sets the properties. Define quantum workspace's specific properties.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Identity
Managed
Service Identity Response - The managed service identities assigned to this resource.
- map[string]string
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties
Workspace
Resource Properties Response - Gets or sets the properties. Define quantum workspace's specific properties.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- identity
Managed
Service Identity Response - The managed service identities assigned to this resource.
- Map<String,String>
- Resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- properties
Workspace
Resource Properties Response - Gets or sets the properties. Define quantum workspace's specific properties.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- identity
Managed
Service Identity Response - The managed service identities assigned to this resource.
- {[key: string]: string}
- Resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- properties
Workspace
Resource Properties Response - Gets or sets the properties. Define quantum workspace's specific properties.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- identity
Managed
Service Identity Response - The managed service identities assigned to this resource.
- Mapping[str, str]
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties Property Map
- Gets or sets the properties. Define quantum workspace's specific properties.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- identity Property Map
- The managed service identities assigned to this resource.
- Map<String>
- Resource tags.
Supporting Types
ManagedServiceIdentityResponse
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Quantum. Inputs. User Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned map[string]UserIdentities Assigned Identity Response - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal_
id str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<Property Map>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ProviderResponse
- Application
Name string - The provider's marketplace application display name.
- Instance
Uri string - A Uri identifying the specific instance of this provider.
- Provider
Id string - Unique id of this provider.
- Provider
Sku string - The sku associated with pricing information for this provider.
- Provisioning
State string - Provisioning status field
- Resource
Usage stringId - Id to track resource usage for the provider.
- Application
Name string - The provider's marketplace application display name.
- Instance
Uri string - A Uri identifying the specific instance of this provider.
- Provider
Id string - Unique id of this provider.
- Provider
Sku string - The sku associated with pricing information for this provider.
- Provisioning
State string - Provisioning status field
- Resource
Usage stringId - Id to track resource usage for the provider.
- application
Name String - The provider's marketplace application display name.
- instance
Uri String - A Uri identifying the specific instance of this provider.
- provider
Id String - Unique id of this provider.
- provider
Sku String - The sku associated with pricing information for this provider.
- provisioning
State String - Provisioning status field
- resource
Usage StringId - Id to track resource usage for the provider.
- application
Name string - The provider's marketplace application display name.
- instance
Uri string - A Uri identifying the specific instance of this provider.
- provider
Id string - Unique id of this provider.
- provider
Sku string - The sku associated with pricing information for this provider.
- provisioning
State string - Provisioning status field
- resource
Usage stringId - Id to track resource usage for the provider.
- application_
name str - The provider's marketplace application display name.
- instance_
uri str - A Uri identifying the specific instance of this provider.
- provider_
id str - Unique id of this provider.
- provider_
sku str - The sku associated with pricing information for this provider.
- provisioning_
state str - Provisioning status field
- resource_
usage_ strid - Id to track resource usage for the provider.
- application
Name String - The provider's marketplace application display name.
- instance
Uri String - A Uri identifying the specific instance of this provider.
- provider
Id String - Unique id of this provider.
- provider
Sku String - The sku associated with pricing information for this provider.
- provisioning
State String - Provisioning status field
- resource
Usage StringId - Id to track resource usage for the provider.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserAssignedIdentityResponse
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id string - The principal ID of the assigned identity.
- client_
id str - The client ID of the assigned identity.
- principal_
id str - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
WorkspaceResourcePropertiesResponse
- Endpoint
Uri string - The URI of the workspace endpoint.
- Provisioning
State string - Provisioning status field
- Usable string
- Whether the current workspace is ready to accept Jobs.
- Api
Key boolEnabled - Indicator of enablement of the Quantum workspace Api keys.
- Providers
List<Pulumi.
Azure Native. Quantum. Inputs. Provider Response> - List of Providers selected for this Workspace
- Storage
Account string - ARM Resource Id of the storage account associated with this workspace.
- Endpoint
Uri string - The URI of the workspace endpoint.
- Provisioning
State string - Provisioning status field
- Usable string
- Whether the current workspace is ready to accept Jobs.
- Api
Key boolEnabled - Indicator of enablement of the Quantum workspace Api keys.
- Providers
[]Provider
Response - List of Providers selected for this Workspace
- Storage
Account string - ARM Resource Id of the storage account associated with this workspace.
- endpoint
Uri String - The URI of the workspace endpoint.
- provisioning
State String - Provisioning status field
- usable String
- Whether the current workspace is ready to accept Jobs.
- api
Key BooleanEnabled - Indicator of enablement of the Quantum workspace Api keys.
- providers
List<Provider
Response> - List of Providers selected for this Workspace
- storage
Account String - ARM Resource Id of the storage account associated with this workspace.
- endpoint
Uri string - The URI of the workspace endpoint.
- provisioning
State string - Provisioning status field
- usable string
- Whether the current workspace is ready to accept Jobs.
- api
Key booleanEnabled - Indicator of enablement of the Quantum workspace Api keys.
- providers
Provider
Response[] - List of Providers selected for this Workspace
- storage
Account string - ARM Resource Id of the storage account associated with this workspace.
- endpoint_
uri str - The URI of the workspace endpoint.
- provisioning_
state str - Provisioning status field
- usable str
- Whether the current workspace is ready to accept Jobs.
- api_
key_ boolenabled - Indicator of enablement of the Quantum workspace Api keys.
- providers
Sequence[Provider
Response] - List of Providers selected for this Workspace
- storage_
account str - ARM Resource Id of the storage account associated with this workspace.
- endpoint
Uri String - The URI of the workspace endpoint.
- provisioning
State String - Provisioning status field
- usable String
- Whether the current workspace is ready to accept Jobs.
- api
Key BooleanEnabled - Indicator of enablement of the Quantum workspace Api keys.
- providers List<Property Map>
- List of Providers selected for this Workspace
- storage
Account String - ARM Resource Id of the storage account associated with this workspace.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0