Get-AzQuantumWorkspace
Returns the Workspace resource associated with the given name.
Syntax
Get-AzQuantumWorkspace
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzQuantumWorkspace
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzQuantumWorkspace
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzQuantumWorkspace
-InputObject <IQuantumIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Returns the Workspace resource associated with the given name.
Examples
Example 1: List the Workspace resource associated by the SubId.
Get-AzQuantumWorkspace
Location Name ResourceGroupName
-------- ---- -----------------
eastus azps-qw azps_test_group_quantum
List the Workspace resource associated by the SubId.
Example 2: List the Workspace resource associated by the ResourceGroupName.
Get-AzQuantumWorkspace -ResourceGroupName azps_test_group_quantum
Location Name ResourceGroupName
-------- ---- -----------------
eastus azps-qw azps_test_group_quantum
List the Workspace resource associated by the ResourceGroupName.
Example 3: Get the Workspace resource associated by the name.
Get-AzQuantumWorkspace -ResourceGroupName azps_test_group_quantum -Name azps-qw
Location Name ResourceGroupName
-------- ---- -----------------
eastus azps-qw azps_test_group_quantum
Get the Workspace resource associated by the name.
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IQuantumIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
The name of the quantum workspace resource.
Type: | String |
Aliases: | WorkspaceName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The Azure subscription ID.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |