Skip to main content

data_collection_endpoints

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

Overview

Namedata_collection_endpoints
TypeResource
Idazure.monitor.data_collection_endpoints

Fields

The following fields are returned by SELECT queries:

Request completed successfully

NameDatatypeDescription
idstringFully qualified ID of the resource. (example: /subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule)
namestringThe name of the resource. (example: myCollectionRule)
etagstringResource entity tag (ETag).
identityobjectManaged service identity (system assigned and/or user assigned identities)
kindstringThe kind of the resource. (example: Linux)
locationstringThe geo-location where the resource lives.
propertiesobjectDefinition of data collection endpoint.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
tagsobjectResource tags.
typestringThe type of the resource. (example: Microsoft.Insights/dataCollectionEndpoints)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, dataCollectionEndpointName
list_by_resource_groupselectsubscriptionId, resourceGroupName
list_by_subscriptionselectsubscriptionId
createinsertsubscriptionId, resourceGroupName, dataCollectionEndpointName, data__location
updateupdatesubscriptionId, resourceGroupName, dataCollectionEndpointName
deletedeletesubscriptionId, resourceGroupName, dataCollectionEndpointName
reconcile_nspexecsubscriptionId, resourceGroupName, dataCollectionEndpointName, networkSecurityPerimeterConfigurationName

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
dataCollectionEndpointNamestringThe name of the data collection endpoint. The name is case insensitive.
networkSecurityPerimeterConfigurationNamestringThe name for a network security perimeter configuration
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Request completed successfully

SELECT
id,
name,
etag,
identity,
kind,
location,
properties,
systemData,
tags,
type
FROM azure.monitor.data_collection_endpoints
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND dataCollectionEndpointName = '{{ dataCollectionEndpointName }}' -- required
;

INSERT examples

No description available.

INSERT INTO azure.monitor.data_collection_endpoints (
data__properties,
data__location,
data__tags,
data__kind,
data__identity,
subscriptionId,
resourceGroupName,
dataCollectionEndpointName
)
SELECT
'{{ properties }}',
'{{ location }}' /* required */,
'{{ tags }}',
'{{ kind }}',
'{{ identity }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ dataCollectionEndpointName }}'
RETURNING
id,
name,
etag,
identity,
kind,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

No description available.

UPDATE azure.monitor.data_collection_endpoints
SET
data__tags = '{{ tags }}',
data__identity = '{{ identity }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND dataCollectionEndpointName = '{{ dataCollectionEndpointName }}' --required
RETURNING
id,
name,
etag,
identity,
kind,
location,
properties,
systemData,
tags,
type;

DELETE examples

No description available.

DELETE FROM azure.monitor.data_collection_endpoints
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND dataCollectionEndpointName = '{{ dataCollectionEndpointName }}' --required
;

Lifecycle Methods

Request to reconcile the association accepted.

EXEC azure.monitor.data_collection_endpoints.reconcile_nsp 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@dataCollectionEndpointName='{{ dataCollectionEndpointName }}' --required,
@networkSecurityPerimeterConfigurationName='{{ networkSecurityPerimeterConfigurationName }}' --required
;