data_collection_endpoints
Creates, updates, deletes, gets or lists a data_collection_endpoints
resource.
Overview
Name | data_collection_endpoints |
Type | Resource |
Id | azure.monitor.data_collection_endpoints |
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). |
identity | object | Managed service identity of the resource. |
kind | string | The kind of the resource. |
location | string | The geo-location where the resource lives. |
properties | object | Resource properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags. |
type | string | The type of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | dataCollectionEndpointName, resourceGroupName, subscriptionId | |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | |
list_by_subscription | SELECT | subscriptionId | |
create | INSERT | dataCollectionEndpointName, resourceGroupName, subscriptionId, data__location | |
delete | DELETE | dataCollectionEndpointName, resourceGroupName, subscriptionId | |
update | UPDATE | dataCollectionEndpointName, resourceGroupName, subscriptionId | |
reconcile_nsp | EXEC | dataCollectionEndpointName, networkSecurityPerimeterConfigurationName, resourceGroupName, subscriptionId |
SELECT
examples
SELECT
id,
name,
etag,
identity,
kind,
location,
properties,
systemData,
tags,
type
FROM azure.monitor.data_collection_endpoints
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new data_collection_endpoints
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.monitor.data_collection_endpoints (
dataCollectionEndpointName,
resourceGroupName,
subscriptionId,
data__location,
properties,
location,
tags,
kind,
identity
)
SELECT
'{{ dataCollectionEndpointName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__location }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}',
'{{ kind }}',
'{{ identity }}'
;
- name: your_resource_model_name
props:
- name: properties
value: string
- name: location
value: string
- name: tags
value: object
- name: kind
value: string
- name: identity
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: etag
value: string
- name: systemData
value: string
UPDATE
example
Updates a data_collection_endpoints
resource.
/*+ update */
UPDATE azure.monitor.data_collection_endpoints
SET
tags = '{{ tags }}',
identity = '{{ identity }}'
WHERE
dataCollectionEndpointName = '{{ dataCollectionEndpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified data_collection_endpoints
resource.
/*+ delete */
DELETE FROM azure.monitor.data_collection_endpoints
WHERE dataCollectionEndpointName = '{{ dataCollectionEndpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';