Microsoft.Insights (stable:2024-03-11)

2025/09/24 • 18 new methods

DataCollectionEndpoints_ListByResourceGroup (new)
Description Lists all data collection endpoints in the specified resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties: string ,
location: string ,
tags: object ,
kind: enum ,
sku: string ,
identity: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionEndpoints_ListBySubscription (new)
Description Lists all data collection endpoints in the specified subscription
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Insights/dataCollectionEndpoints
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties: string ,
location: string ,
tags: object ,
kind: enum ,
sku: string ,
identity: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionEndpoints_Get (new)
Description Returns the specified data collection endpoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}
{
subscriptionId: string ,
resourceGroupName: string ,
dataCollectionEndpointName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: string ,
location: string ,
tags: object ,
kind: enum ,
sku: string ,
identity: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionEndpoints_Create (new)
Description Creates or updates a data collection endpoint.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}
{
subscriptionId: string ,
resourceGroupName: string ,
dataCollectionEndpointName: string ,
api-version: string ,
body:
{
properties: string ,
location: string ,
tags: object ,
kind: enum ,
sku: string ,
identity: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}
,
}

⚐ Response (200)

{
properties: string ,
location: string ,
tags: object ,
kind: enum ,
sku: string ,
identity: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}

⚐ Response (201)

{
properties: string ,
location: string ,
tags: object ,
kind: enum ,
sku: string ,
identity: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionEndpoints_Update (new)
Description Updates part of a data collection endpoint.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}
{
subscriptionId: string ,
resourceGroupName: string ,
dataCollectionEndpointName: string ,
api-version: string ,
body:
{
tags: object ,
identity: string ,
}
,
}

⚐ Response (200)

{
properties: string ,
location: string ,
tags: object ,
kind: enum ,
sku: string ,
identity: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionEndpoints_Delete (new)
Description Deletes a data collection endpoint.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}
{
subscriptionId: string ,
resourceGroupName: string ,
dataCollectionEndpointName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionRuleAssociations_ListByResource (new)
Description Lists associations for the specified resource.
Reference Link ¶

⚼ Request

GET:  /{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations
{
resourceUri: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionRuleAssociations_ListByRule (new)
Description Lists associations for the specified data collection rule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}/associations
{
subscriptionId: string ,
resourceGroupName: string ,
dataCollectionRuleName: string ,
$skipToken: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionRuleAssociations_ListByDataCollectionEndpoint (new)
Description Lists associations for the specified data collection endpoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}/associations
{
subscriptionId: string ,
resourceGroupName: string ,
dataCollectionEndpointName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionRuleAssociations_Get (new)
Description Returns the specified association.
Reference Link ¶

⚼ Request

GET:  /{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}
{
resourceUri: string ,
associationName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionRuleAssociations_Create (new)
Description Creates or updates an association.
Reference Link ¶

⚼ Request

PUT:  /{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}
{
resourceUri: string ,
associationName: string ,
api-version: string ,
body:
{
properties: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}
,
}

⚐ Response (200)

{
properties: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}

⚐ Response (201)

{
properties: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionRuleAssociations_Delete (new)
Description Deletes an association.
Reference Link ¶

⚼ Request

DELETE:  /{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}
{
resourceUri: string ,
associationName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionRules_ListByResourceGroup (new)
Description Lists all data collection rules in the specified resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties: string ,
location: string ,
tags: object ,
kind: enum ,
sku: string ,
identity: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionRules_ListBySubscription (new)
Description Lists all data collection rules in the specified subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Insights/dataCollectionRules
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties: string ,
location: string ,
tags: object ,
kind: enum ,
sku: string ,
identity: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionRules_Get (new)
Description Returns the specified data collection rule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
dataCollectionRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: string ,
location: string ,
tags: object ,
kind: enum ,
sku: string ,
identity: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionRules_Create (new)
Description Creates or updates a data collection rule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
dataCollectionRuleName: string ,
api-version: string ,
body:
{
properties: string ,
location: string ,
tags: object ,
kind: enum ,
sku: string ,
identity: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}
,
}

⚐ Response (200)

{
properties: string ,
location: string ,
tags: object ,
kind: enum ,
sku: string ,
identity: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}

⚐ Response (201)

{
properties: string ,
location: string ,
tags: object ,
kind: enum ,
sku: string ,
identity: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionRules_Update (new)
Description Updates part of a data collection rule.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
dataCollectionRuleName: string ,
api-version: string ,
body:
{
tags: object ,
identity: string ,
}
,
}

⚐ Response (200)

{
properties: string ,
location: string ,
tags: object ,
kind: enum ,
sku: string ,
identity: string ,
id: string ,
name: string ,
type: string ,
etag: string ,
systemData: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataCollectionRules_Delete (new)
Description Deletes a data collection rule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
dataCollectionRuleName: string ,
deleteAssociations: boolean ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}