Skip to main content

management_groups

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

Overview

Namemanagement_groups
TypeResource
Idazure.log_analytics.management_groups

Fields

The following fields are returned by SELECT queries:

OK response definition.

NameDatatypeDescription
propertiesobjectThe properties of the management group.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, workspaceName, subscriptionIdGets a list of management groups connected to a workspace.

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
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringThe name of the workspace.

SELECT examples

Gets a list of management groups connected to a workspace.

SELECT
properties
FROM azure.log_analytics.management_groups
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;