Skip to main content

linked_workspaces

Creates, updates, deletes, gets or lists a linked_workspaces resource.

Overview

Namelinked_workspaces
TypeResource
Idazure.automation.linked_workspaces

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringGets the id of the linked workspace.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, automationAccountName, subscriptionIdRetrieve the linked workspace for the account id.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
automationAccountNamestringThe name of the automation account.
resourceGroupNamestringName of an Azure Resource group.
subscriptionIdstringGets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Retrieve the linked workspace for the account id.

SELECT
id
FROM azure.automation.linked_workspaces
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND automationAccountName = '{{ automationAccountName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;