Skip to content

Commit

Permalink
[Monitor] DataCollectionRules 2021-04-01 stable API version
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMilos committed Apr 8, 2021
1 parent 7875327 commit e9f7926
Show file tree
Hide file tree
Showing 20 changed files with 891 additions and 13 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Azure Monitor Data Collection Rule Associations API",
"description": "Provides operations for working with Azure Monitor data collection rule associations",
"version": "2019-11-01-preview",
"version": "2021-04-01",
"x-ms-code-generation-settings": {
"name": "MonitorManagementClient"
}
Expand Down Expand Up @@ -263,6 +263,11 @@
"type": "string",
"example": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule"
},
"dataCollectionEndpointId": {
"description": "The resource ID of the data collection endpoint that is to be associated.",
"type": "string",
"example": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/myCollectionEndpoint"
},
"provisioningState": {
"description": "The resource provisioning state.",
"enum": [
Expand Down Expand Up @@ -332,6 +337,18 @@
"x-ms-mutability": [
"read"
]
},
"systemData": {
"description": "Metadata pertaining to creation and last modification of the resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
}
],
"readOnly": true,
"x-ms-mutability": [
"read"
]
}
},
"x-ms-azure-resource": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Azure Monitor Data Collection Rules API",
"description": "Provides operations for working with Azure Monitor data collection rules",
"version": "2019-11-01-preview",
"version": "2021-04-01",
"x-ms-code-generation-settings": {
"name": "MonitorManagementClient"
}
Expand Down Expand Up @@ -773,6 +773,18 @@
"x-ms-mutability": [
"read"
]
},
"systemData": {
"description": "Metadata pertaining to creation and last modification of the resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
}
],
"readOnly": true,
"x-ms-mutability": [
"read"
]
}
},
"x-ms-azure-resource": true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"parameters": {
"subscriptionId": "703362b3-f278-4e4b-9179-c76eaf41ffc2",
"resourceGroupName": "myResourceGroup",
"dataCollectionEndpointName": "myCollectionEndpoint",
"api-version": "2021-04-01",
"body": {
"location": "eastus",
"properties": {
"networkAcls": {
"publicNetworkAccess": "Enabled"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/myCollectionEndpoint",
"name": "myCollectionEndpoint",
"type": "Microsoft.Insights/dataCollectionEndpoints",
"location": "eastus",
"tags": {
"tag1": "A",
"tag2": "B"
},
"properties": {
"configurationAccess": {
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.control.monitor.azure.com"
},
"logsIngestion": {
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.ingest.monitor.azure.com"
},
"networkAcls": {
"publicNetworkAccess": "Enabled"
}
},
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
}
},
"201": {
"body": {
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/myCollectionEndpoint",
"name": "myCollectionEndpoint",
"type": "Microsoft.Insights/dataCollectionEndpoints",
"location": "eastus",
"tags": {
"tag1": "A",
"tag2": "B"
},
"properties": {
"configurationAccess": {
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.control.monitor.azure.com"
},
"logsIngestion": {
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.ingest.monitor.azure.com"
},
"networkAcls": {
"publicNetworkAccess": "Enabled"
}
},
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "703362b3-f278-4e4b-9179-c76eaf41ffc2",
"resourceGroupName": "myResourceGroup",
"dataCollectionEndpointName": "myCollectionEndpoint",
"api-version": "2021-04-01"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"subscriptionId": "703362b3-f278-4e4b-9179-c76eaf41ffc2",
"resourceGroupName": "myResourceGroup",
"dataCollectionEndpointName": "myCollectionEndpoint",
"api-version": "2021-04-01"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/myCollectionEndpoint",
"name": "myCollectionEndpoint",
"type": "Microsoft.Insights/dataCollectionEndpoints",
"location": "eastus",
"tags": {
"tag1": "A",
"tag2": "B"
},
"properties": {
"configurationAccess": {
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.control.monitor.azure.com"
},
"logsIngestion": {
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.ingest.monitor.azure.com"
},
"networkAcls": {
"publicNetworkAccess": "Enabled"
}
},
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"parameters": {
"subscriptionId": "703362b3-f278-4e4b-9179-c76eaf41ffc2",
"resourceGroupName": "myResourceGroup",
"api-version": "2021-04-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/myCollectionEndpoint",
"name": "myCollectionEndpoint",
"type": "Microsoft.Insights/dataCollectionEndpoints",
"location": "eastus",
"tags": {
"tag1": "A",
"tag2": "B"
},
"properties": {
"configurationAccess": {
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.control.monitor.azure.com"
},
"logsIngestion": {
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.ingest.monitor.azure.com"
},
"networkAcls": {
"publicNetworkAccess": "Enabled"
}
},
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
},
{
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/herCollectionEndpoint",
"name": "herCollectionEndpoint",
"type": "Microsoft.Insights/dataCollectionEndpoints",
"location": "westus",
"tags": {
"tag1": "A",
"tag2": "B"
},
"properties": {
"configurationAccess": {
"endpoint": "https://hercollectionendpoint-xywz.eastus-1.control.monitor.azure.com"
},
"logsIngestion": {
"endpoint": "https://hercollectionendpoint-xywz.eastus-1.ingest.monitor.azure.com"
},
"networkAcls": {
"publicNetworkAccess": "Disabled"
}
},
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"parameters": {
"subscriptionId": "703362b3-f278-4e4b-9179-c76eaf41ffc2",
"api-version": "2021-04-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/myCollectionEndpoint",
"name": "myCollectionEndpoint",
"type": "Microsoft.Insights/dataCollectionEndpoints",
"location": "eastus",
"tags": {
"tag1": "A",
"tag2": "B"
},
"properties": {
"configurationAccess": {
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.control.monitor.azure.com"
},
"logsIngestion": {
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.ingest.monitor.azure.com"
},
"networkAcls": {
"publicNetworkAccess": "Enabled"
}
},
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
},
{
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/herResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/herCollectionEndpoint",
"name": "herCollectionEndpoint",
"type": "Microsoft.Insights/dataCollectionEndpoints",
"location": "westus",
"tags": {
"tag1": "A",
"tag2": "B"
},
"properties": {
"configurationAccess": {
"endpoint": "https://hercollectionendpoint-xywz.eastus-1.control.monitor.azure.com"
},
"logsIngestion": {
"endpoint": "https://hercollectionendpoint-xywz.eastus-1.ingest.monitor.azure.com"
},
"networkAcls": {
"publicNetworkAccess": "Disabled"
}
},
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"subscriptionId": "703362b3-f278-4e4b-9179-c76eaf41ffc2",
"resourceGroupName": "myResourceGroup",
"dataCollectionEndpointName": "myCollectionEndpoint",
"api-version": "2021-04-01",
"body": {
"tags": {
"tag1": "A",
"tag2": "B",
"tag3": "C"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/myCollectionEndpoint",
"name": "myCollectionEndpoint",
"type": "Microsoft.Insights/dataCollectionEndpoints",
"location": "eastus",
"tags": {
"tag1": "A",
"tag2": "B",
"tag3": "C"
},
"properties": {
"configurationAccess": {
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.control.monitor.azure.com"
},
"logsIngestion": {
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.ingest.monitor.azure.com"
},
"networkAcls": {
"publicNetworkAccess": "Enabled"
}
},
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceUri": "subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm",
"associationName": "myAssociation",
"api-version": "2019-11-01-preview",
"api-version": "2021-04-01",
"body": {
"properties": {
"dataCollectionRuleId": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceUri": "subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm",
"associationName": "myAssociation",
"api-version": "2019-11-01-preview"
"api-version": "2021-04-01"
},
"responses": {
"200": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceUri": "subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm",
"associationName": "myAssociation",
"api-version": "2019-11-01-preview"
"api-version": "2021-04-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"resourceUri": "subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm",
"api-version": "2019-11-01-preview"
"api-version": "2021-04-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "703362b3-f278-4e4b-9179-c76eaf41ffc2",
"resourceGroupName": "myResourceGroup",
"dataCollectionRuleName": "myCollectionRule",
"api-version": "2019-11-01-preview"
"api-version": "2021-04-01"
},
"responses": {
"200": {
Expand Down
Loading

0 comments on commit e9f7926

Please sign in to comment.