Skip to main content

linked_workspace

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

Overview

Namelinked_workspace
TypeResource
Idazure.automation.linked_workspace

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
getselectresource_group_name, automation_account_name, subscription_idRetrieve 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
automation_account_namestringThe name of the automation account. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Retrieve the linked workspace for the account id.

SELECT
id
FROM azure.automation.linked_workspace
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND automation_account_name = '{{ automation_account_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;