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

NameDatatypeDescription
idtextResource ID.
nametextResource name.
application_idtextfield from the properties object
locationtextResource location
managementConfigurationNametextfield from the properties object
parameterstextfield from the properties object
parent_resource_typetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
templatetextfield from the properties object
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTmanagementConfigurationName, resourceGroupName, subscriptionIdRetrieves the user ManagementConfiguration.
list_by_subscriptionSELECTsubscriptionIdRetrieves the ManagementConfigurations list.
create_or_updateINSERTmanagementConfigurationName, resourceGroupName, subscriptionIdCreates or updates the ManagementConfiguration.
deleteDELETEmanagementConfigurationName, resourceGroupName, subscriptionIdDeletes the ManagementConfiguration in the subscription.

SELECT examples

Retrieves the ManagementConfigurations list.

SELECT
id,
name,
application_id,
location,
managementConfigurationName,
parameters,
parent_resource_type,
provisioning_state,
resourceGroupName,
subscriptionId,
template,
type
FROM azure.operations_management.vw_management_configurations
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new management_configurations resource.

/*+ create */
INSERT INTO azure.operations_management.management_configurations (
managementConfigurationName,
resourceGroupName,
subscriptionId,
location,
properties
)
SELECT
'{{ managementConfigurationName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ location }}',
'{{ properties }}'
;

DELETE example

Deletes the specified management_configurations resource.

/*+ delete */
DELETE FROM azure.operations_management.management_configurations
WHERE managementConfigurationName = '{{ managementConfigurationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';