Skip to main content

management_configurations

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

Overview

Namemanagement_configurations
TypeResource
Idazure.operations_management.management_configurations

Fields

The following fields are returned by SELECT queries:

OK response definition.

NameDatatypeDescription
idstringResource ID.
namestringResource name.
locationstringResource location
propertiesobjectProperties for ManagementConfiguration object supported by the OperationsManagement resource provider.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, managementConfigurationNameRetrieves the user ManagementConfiguration.
list_by_subscriptionselectsubscriptionIdRetrieves the ManagementConfigurations list.
create_or_updateinsertsubscriptionId, resourceGroupName, managementConfigurationNameCreates or updates the ManagementConfiguration.
deletedeletesubscriptionId, resourceGroupName, managementConfigurationNameDeletes the ManagementConfiguration in the subscription.

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
managementConfigurationNamestringUser Management Configuration Name.
resourceGroupNamestringThe name of the resource group to get. The name is case insensitive.
subscriptionIdstringGets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Retrieves the user ManagementConfiguration.

SELECT
id,
name,
location,
properties,
type
FROM azure.operations_management.management_configurations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND managementConfigurationName = '{{ managementConfigurationName }}' -- required
;

INSERT examples

Creates or updates the ManagementConfiguration.

INSERT INTO azure.operations_management.management_configurations (
data__location,
data__properties,
subscriptionId,
resourceGroupName,
managementConfigurationName
)
SELECT
'{{ location }}',
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ managementConfigurationName }}'
RETURNING
id,
name,
location,
properties,
type
;

DELETE examples

Deletes the ManagementConfiguration in the subscription.

DELETE FROM azure.operations_management.management_configurations
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND managementConfigurationName = '{{ managementConfigurationName }}' --required
;