Workspaces interface
Interface representing a Workspaces.
Methods
begin |
Creates or updates a workspace resource. |
begin |
Creates or updates a workspace resource. |
begin |
Deletes a Workspace resource. |
begin |
Deletes a Workspace resource. |
get(string, string, Workspaces |
Returns the Workspace resource associated with the given name. |
list |
Gets the list of Workspaces within a resource group. |
list |
Gets the list of Workspaces within a Subscription. |
update |
Updates an existing workspace's tags. |
Method Details
beginCreateOrUpdate(string, string, QuantumWorkspace, WorkspacesCreateOrUpdateOptionalParams)
Creates or updates a workspace resource.
function beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, quantumWorkspace: QuantumWorkspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<QuantumWorkspace>, QuantumWorkspace>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the quantum workspace resource.
- quantumWorkspace
- QuantumWorkspace
Workspace details.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<QuantumWorkspace>, QuantumWorkspace>>
beginCreateOrUpdateAndWait(string, string, QuantumWorkspace, WorkspacesCreateOrUpdateOptionalParams)
Creates or updates a workspace resource.
function beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, quantumWorkspace: QuantumWorkspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<QuantumWorkspace>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the quantum workspace resource.
- quantumWorkspace
- QuantumWorkspace
Workspace details.
The options parameters.
Returns
Promise<QuantumWorkspace>
beginDelete(string, string, WorkspacesDeleteOptionalParams)
Deletes a Workspace resource.
function beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the quantum workspace resource.
- options
- WorkspacesDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, WorkspacesDeleteOptionalParams)
Deletes a Workspace resource.
function beginDeleteAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the quantum workspace resource.
- options
- WorkspacesDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, WorkspacesGetOptionalParams)
Returns the Workspace resource associated with the given name.
function get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<QuantumWorkspace>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the quantum workspace resource.
- options
- WorkspacesGetOptionalParams
The options parameters.
Returns
Promise<QuantumWorkspace>
listByResourceGroup(string, WorkspacesListByResourceGroupOptionalParams)
Gets the list of Workspaces within a resource group.
function listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<QuantumWorkspace, QuantumWorkspace[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(WorkspacesListBySubscriptionOptionalParams)
Gets the list of Workspaces within a Subscription.
function listBySubscription(options?: WorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<QuantumWorkspace, QuantumWorkspace[], PageSettings>
Parameters
The options parameters.
Returns
updateTags(string, string, TagsObject, WorkspacesUpdateTagsOptionalParams)
Updates an existing workspace's tags.
function updateTags(resourceGroupName: string, workspaceName: string, workspaceTags: TagsObject, options?: WorkspacesUpdateTagsOptionalParams): Promise<QuantumWorkspace>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the quantum workspace resource.
- workspaceTags
- TagsObject
Parameters supplied to update tags.
The options parameters.
Returns
Promise<QuantumWorkspace>
Azure SDK for JavaScript