data_collection_rule_associations
Creates, updates, deletes, gets or lists a data_collection_rule_associations
resource.
Overview
Name | data_collection_rule_associations |
Type | Resource |
Id | azure.monitor.data_collection_rule_associations |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified ID of the resource. |
name | string | The name of the resource. |
etag | string | Resource entity tag (ETag). |
properties | object | Resource properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | associationName, resourceUri | |
list_by_data_collection_endpoint | SELECT | dataCollectionEndpointName, resourceGroupName, subscriptionId | |
list_by_resource | SELECT | resourceUri | |
list_by_rule | SELECT | dataCollectionRuleName, resourceGroupName, subscriptionId | |
create | INSERT | associationName, resourceUri | |
delete | DELETE | associationName, resourceUri |
SELECT
examples
SELECT
id,
name,
etag,
properties,
systemData,
type
FROM azure.monitor.data_collection_rule_associations
WHERE resourceUri = '{{ resourceUri }}';
INSERT
example
Use the following StackQL query and manifest file to create a new data_collection_rule_associations
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.monitor.data_collection_rule_associations (
associationName,
resourceUri,
properties
)
SELECT
'{{ associationName }}',
'{{ resourceUri }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: etag
value: string
- name: systemData
value: string
DELETE
example
Deletes the specified data_collection_rule_associations
resource.
/*+ delete */
DELETE FROM azure.monitor.data_collection_rule_associations
WHERE associationName = '{{ associationName }}'
AND resourceUri = '{{ resourceUri }}';