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:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
networkSecurityPerimeterobjectInformation about a network security perimeter (NSP).
profileobject:vartype profile: ~azure.mgmt.monitor.models.NetworkSecurityProfile
provisioningIssuesarrayList of provisioning issues, if any.
provisioningStatestringKnown values are: "Succeeded", "Creating", "Updating", "Deleting", "Accepted", "Failed", and "Canceled". (Succeeded, Creating, Updating, Deleting, Accepted, Failed, Canceled)
resourceAssociationobject:vartype resource_association: ~azure.mgmt.monitor.models.ResourceAssociation
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_nspselectresource_group_name, data_collection_endpoint_name, network_security_perimeter_configuration_name, subscription_idGets the specified NSP configuration for the specified data collection endpoint. Gets the specified NSP configuration for the specified data collection endpoint.
getselectresource_group_name, data_collection_endpoint_name, subscription_idReturns the specified data collection endpoint. Returns the specified data collection endpoint.
list_by_resource_groupselectresource_group_name, subscription_idLists all data collection endpoints in the specified resource group. Lists all data collection endpoints in the specified resource group.
list_by_subscriptionselectsubscription_idLists all data collection endpoints in the specified subscription. Lists all data collection endpoints in the specified subscription.
createinsertresource_group_name, data_collection_endpoint_name, subscription_id, locationCreates or updates a data collection endpoint. Creates or updates a data collection endpoint.
updateupdateresource_group_name, data_collection_endpoint_name, subscription_idUpdates part of a data collection endpoint. Updates part of a data collection endpoint.
deletedeleteresource_group_name, data_collection_endpoint_name, subscription_idDeletes a data collection endpoint. Deletes a data collection endpoint.
list_nspexecresource_group_name, data_collection_endpoint_name, subscription_idGets a list of NSP configurations for the specified data collection endpoint. Gets a list of NSP configurations for the specified data collection endpoint.
reconcile_nspexecresource_group_name, data_collection_endpoint_name, network_security_perimeter_configuration_name, subscription_idReconciles the specified NSP configuration for the specified data collection endpoint. Reconciles the specified NSP configuration for the specified data collection endpoint.

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
data_collection_endpoint_namestringThe name of the data collection endpoint. The name is case insensitive. Required.
network_security_perimeter_configuration_namestringThe name for a network security perimeter configuration. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets the specified NSP configuration for the specified data collection endpoint. Gets the specified NSP configuration for the specified data collection endpoint.

SELECT
id,
name,
networkSecurityPerimeter,
profile,
provisioningIssues,
provisioningState,
resourceAssociation,
systemData,
type
FROM azure.monitor.data_collection_endpoints
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND data_collection_endpoint_name = '{{ data_collection_endpoint_name }}' -- required
AND network_security_perimeter_configuration_name = '{{ network_security_perimeter_configuration_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates or updates a data collection endpoint. Creates or updates a data collection endpoint.

INSERT INTO azure.monitor.data_collection_endpoints (
tags,
location,
properties,
kind,
sku,
identity,
resource_group_name,
data_collection_endpoint_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}',
'{{ kind }}',
'{{ sku }}',
'{{ identity }}',
'{{ resource_group_name }}',
'{{ data_collection_endpoint_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
identity,
kind,
location,
properties,
sku,
systemData,
tags,
type
;

UPDATE examples

Updates part of a data collection endpoint. Updates part of a data collection endpoint.

UPDATE azure.monitor.data_collection_endpoints
SET
tags = '{{ tags }}',
identity = '{{ identity }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND data_collection_endpoint_name = '{{ data_collection_endpoint_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
identity,
kind,
location,
properties,
sku,
systemData,
tags,
type;

DELETE examples

Deletes a data collection endpoint. Deletes a data collection endpoint.

DELETE FROM azure.monitor.data_collection_endpoints
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND data_collection_endpoint_name = '{{ data_collection_endpoint_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Gets a list of NSP configurations for the specified data collection endpoint. Gets a list of NSP configurations for the specified data collection endpoint.

EXEC azure.monitor.data_collection_endpoints.list_nsp 
@resource_group_name='{{ resource_group_name }}' --required,
@data_collection_endpoint_name='{{ data_collection_endpoint_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;