management_configurations
Creates, updates, deletes, gets or lists a management_configurations
resource.
Overview
Name | management_configurations |
Type | Resource |
Id | azure.operations_management.management_configurations |
Fields
- vw_management_configurations
- management_configurations
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | Resource name. |
application_id | text | field from the properties object |
location | text | Resource location |
managementConfigurationName | text | field from the properties object |
parameters | text | field from the properties object |
parent_resource_type | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
template | text | field from the properties object |
type | text | Resource type. |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
location | string | Resource location |
properties | object | ManagementConfiguration properties supported by the OperationsManagement resource provider. |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | managementConfigurationName, resourceGroupName, subscriptionId | Retrieves the user ManagementConfiguration. |
list_by_subscription | SELECT | subscriptionId | Retrieves the ManagementConfigurations list. |
create_or_update | INSERT | managementConfigurationName, resourceGroupName, subscriptionId | Creates or updates the ManagementConfiguration. |
delete | DELETE | managementConfigurationName, resourceGroupName, subscriptionId | Deletes the ManagementConfiguration in the subscription. |
SELECT
examples
Retrieves the ManagementConfigurations list.
- vw_management_configurations
- management_configurations
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 }}';
SELECT
id,
name,
location,
properties,
type
FROM azure.operations_management.management_configurations
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new management_configurations
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.operations_management.management_configurations (
managementConfigurationName,
resourceGroupName,
subscriptionId,
location,
properties
)
SELECT
'{{ managementConfigurationName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ location }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: properties
value:
- name: applicationId
value: string
- name: parentResourceType
value: string
- name: parameters
value:
- - name: name
value: string
- name: value
value: string
- name: provisioningState
value: string
- name: template
value: object
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 }}';