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:

NameDatatypeDescription
idstringThe unique ID of the management group.
namestringThe name of the management group.
createdstring (date-time)The datetime that the management group was created.
dataReceivedstring (date-time)The last datetime that the management group received data.
isGatewaybooleanGets or sets a value indicating whether the management group is a gateway.
serverCountintegerThe number of servers connected to the management group.
skustringThe SKU of System Center that is managing the management group.
versionstringThe version of System Center that is managing the management group.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresource_group_name, workspace_name, subscription_idGets 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
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
workspace_namestringThe name of the workspace. Required.

SELECT examples

Gets a list of management groups connected to a workspace.

SELECT
id,
name,
created,
dataReceived,
isGateway,
serverCount,
sku,
version
FROM azure.log_analytics.management_groups
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;