Skip to content

Commit 2eb6a91

Browse files
herreraj-msFredericHeem
authored andcommitted
[Hub Generated] Review request for Microsoft.Insights to add version preview/2021-09-01-preview (Azure#17599)
* Base from stable/2021-04-01 * Adding AMCS api version 2021-09-01-preview * Fix Example * Addin ID to Column definiton array * Remove invisible character * prettier * R4041 - XmsIdentifierValidation * Set Metadata as readonly * directive for c# SDK gen rem x-ms-identifiers use * add data collection endpoint * fix DCE path * remove directives for x-mx-identifiers * apply prettier * fix tag package on GO-track1 directives * fix tag package on GO-track1 directives p2 * fix tag package on GO-track1 directives p3 * Update RPs api version to latest * sort specs list * undo api version updates of other AM RPs * fix x-ms-identifiers * Go - change mult-api list * adding package-2021-05-01-preview-only * Undo readme.go.md changes
1 parent c1f053d commit 2eb6a91

23 files changed

+3881
-3
lines changed

specification/monitor/resource-manager/Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json

Lines changed: 576 additions & 0 deletions
Large diffs are not rendered by default.

specification/monitor/resource-manager/Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json

Lines changed: 506 additions & 0 deletions
Large diffs are not rendered by default.

specification/monitor/resource-manager/Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json

Lines changed: 1113 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "703362b3-f278-4e4b-9179-c76eaf41ffc2",
4+
"resourceGroupName": "myResourceGroup",
5+
"dataCollectionEndpointName": "myCollectionEndpoint",
6+
"api-version": "2021-09-01-preview",
7+
"body": {
8+
"location": "eastus",
9+
"properties": {
10+
"networkAcls": {
11+
"publicNetworkAccess": "Enabled"
12+
}
13+
}
14+
}
15+
},
16+
"responses": {
17+
"200": {
18+
"body": {
19+
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/myCollectionEndpoint",
20+
"name": "myCollectionEndpoint",
21+
"type": "Microsoft.Insights/dataCollectionEndpoints",
22+
"location": "eastus",
23+
"tags": {
24+
"tag1": "A",
25+
"tag2": "B"
26+
},
27+
"properties": {
28+
"configurationAccess": {
29+
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.control.monitor.azure.com"
30+
},
31+
"logsIngestion": {
32+
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.ingest.monitor.azure.com"
33+
},
34+
"networkAcls": {
35+
"publicNetworkAccess": "Enabled"
36+
}
37+
},
38+
"systemData": {
39+
"createdBy": "user1",
40+
"createdByType": "User",
41+
"createdAt": "2021-04-01T12:34:56.1234567Z",
42+
"lastModifiedBy": "user2",
43+
"lastModifiedByType": "User",
44+
"lastModifiedAt": "2021-04-02T12:34:56.1234567Z"
45+
},
46+
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
47+
}
48+
},
49+
"201": {
50+
"body": {
51+
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/myCollectionEndpoint",
52+
"name": "myCollectionEndpoint",
53+
"type": "Microsoft.Insights/dataCollectionEndpoints",
54+
"location": "eastus",
55+
"tags": {
56+
"tag1": "A",
57+
"tag2": "B"
58+
},
59+
"properties": {
60+
"configurationAccess": {
61+
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.control.monitor.azure.com"
62+
},
63+
"logsIngestion": {
64+
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.ingest.monitor.azure.com"
65+
},
66+
"networkAcls": {
67+
"publicNetworkAccess": "Enabled"
68+
}
69+
},
70+
"systemData": {
71+
"createdBy": "user1",
72+
"createdByType": "User",
73+
"createdAt": "2021-04-01T12:34:56.1234567Z",
74+
"lastModifiedBy": "user2",
75+
"lastModifiedByType": "User",
76+
"lastModifiedAt": "2021-04-02T12:34:56.1234567Z"
77+
},
78+
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
79+
}
80+
}
81+
}
82+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "703362b3-f278-4e4b-9179-c76eaf41ffc2",
4+
"resourceGroupName": "myResourceGroup",
5+
"dataCollectionEndpointName": "myCollectionEndpoint",
6+
"api-version": "2021-09-01-preview"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "703362b3-f278-4e4b-9179-c76eaf41ffc2",
4+
"resourceGroupName": "myResourceGroup",
5+
"dataCollectionEndpointName": "myCollectionEndpoint",
6+
"api-version": "2021-09-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/myCollectionEndpoint",
12+
"name": "myCollectionEndpoint",
13+
"type": "Microsoft.Insights/dataCollectionEndpoints",
14+
"location": "eastus",
15+
"tags": {
16+
"tag1": "A",
17+
"tag2": "B"
18+
},
19+
"properties": {
20+
"configurationAccess": {
21+
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.control.monitor.azure.com"
22+
},
23+
"logsIngestion": {
24+
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.ingest.monitor.azure.com"
25+
},
26+
"networkAcls": {
27+
"publicNetworkAccess": "Enabled"
28+
}
29+
},
30+
"systemData": {
31+
"createdBy": "user1",
32+
"createdByType": "User",
33+
"createdAt": "2021-04-01T12:34:56.1234567Z",
34+
"lastModifiedBy": "user2",
35+
"lastModifiedByType": "User",
36+
"lastModifiedAt": "2021-04-02T12:34:56.1234567Z"
37+
},
38+
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
39+
}
40+
}
41+
}
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "703362b3-f278-4e4b-9179-c76eaf41ffc2",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2021-09-01-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/myCollectionEndpoint",
13+
"name": "myCollectionEndpoint",
14+
"type": "Microsoft.Insights/dataCollectionEndpoints",
15+
"location": "eastus",
16+
"tags": {
17+
"tag1": "A",
18+
"tag2": "B"
19+
},
20+
"properties": {
21+
"configurationAccess": {
22+
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.control.monitor.azure.com"
23+
},
24+
"logsIngestion": {
25+
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.ingest.monitor.azure.com"
26+
},
27+
"networkAcls": {
28+
"publicNetworkAccess": "Enabled"
29+
}
30+
},
31+
"systemData": {
32+
"createdBy": "user1",
33+
"createdByType": "User",
34+
"createdAt": "2021-04-01T12:34:56.1234567Z",
35+
"lastModifiedBy": "user2",
36+
"lastModifiedByType": "User",
37+
"lastModifiedAt": "2021-04-02T12:34:56.1234567Z"
38+
},
39+
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
40+
},
41+
{
42+
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/herCollectionEndpoint",
43+
"name": "herCollectionEndpoint",
44+
"type": "Microsoft.Insights/dataCollectionEndpoints",
45+
"location": "westus",
46+
"tags": {
47+
"tag1": "A",
48+
"tag2": "B"
49+
},
50+
"properties": {
51+
"configurationAccess": {
52+
"endpoint": "https://hercollectionendpoint-xywz.eastus-1.control.monitor.azure.com"
53+
},
54+
"logsIngestion": {
55+
"endpoint": "https://hercollectionendpoint-xywz.eastus-1.ingest.monitor.azure.com"
56+
},
57+
"networkAcls": {
58+
"publicNetworkAccess": "Disabled"
59+
}
60+
},
61+
"systemData": {
62+
"createdBy": "user1",
63+
"createdByType": "User",
64+
"createdAt": "2021-04-01T12:34:56.1234567Z",
65+
"lastModifiedBy": "user2",
66+
"lastModifiedByType": "User",
67+
"lastModifiedAt": "2021-04-02T12:34:56.1234567Z"
68+
},
69+
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
70+
}
71+
],
72+
"nextLink": null
73+
}
74+
}
75+
}
76+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "703362b3-f278-4e4b-9179-c76eaf41ffc2",
4+
"api-version": "2021-09-01-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/myCollectionEndpoint",
12+
"name": "myCollectionEndpoint",
13+
"type": "Microsoft.Insights/dataCollectionEndpoints",
14+
"location": "eastus",
15+
"tags": {
16+
"tag1": "A",
17+
"tag2": "B"
18+
},
19+
"properties": {
20+
"configurationAccess": {
21+
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.control.monitor.azure.com"
22+
},
23+
"logsIngestion": {
24+
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.ingest.monitor.azure.com"
25+
},
26+
"networkAcls": {
27+
"publicNetworkAccess": "Enabled"
28+
}
29+
},
30+
"systemData": {
31+
"createdBy": "user1",
32+
"createdByType": "User",
33+
"createdAt": "2021-04-01T12:34:56.1234567Z",
34+
"lastModifiedBy": "user2",
35+
"lastModifiedByType": "User",
36+
"lastModifiedAt": "2021-04-02T12:34:56.1234567Z"
37+
},
38+
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
39+
},
40+
{
41+
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/herResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/herCollectionEndpoint",
42+
"name": "herCollectionEndpoint",
43+
"type": "Microsoft.Insights/dataCollectionEndpoints",
44+
"location": "westus",
45+
"tags": {
46+
"tag1": "A",
47+
"tag2": "B"
48+
},
49+
"properties": {
50+
"configurationAccess": {
51+
"endpoint": "https://hercollectionendpoint-xywz.eastus-1.control.monitor.azure.com"
52+
},
53+
"logsIngestion": {
54+
"endpoint": "https://hercollectionendpoint-xywz.eastus-1.ingest.monitor.azure.com"
55+
},
56+
"networkAcls": {
57+
"publicNetworkAccess": "Disabled"
58+
}
59+
},
60+
"systemData": {
61+
"createdBy": "user1",
62+
"createdByType": "User",
63+
"createdAt": "2021-04-01T12:34:56.1234567Z",
64+
"lastModifiedBy": "user2",
65+
"lastModifiedByType": "User",
66+
"lastModifiedAt": "2021-04-02T12:34:56.1234567Z"
67+
},
68+
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
69+
}
70+
],
71+
"nextLink": null
72+
}
73+
}
74+
}
75+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "703362b3-f278-4e4b-9179-c76eaf41ffc2",
4+
"resourceGroupName": "myResourceGroup",
5+
"dataCollectionEndpointName": "myCollectionEndpoint",
6+
"api-version": "2021-09-01-preview",
7+
"body": {
8+
"tags": {
9+
"tag1": "A",
10+
"tag2": "B",
11+
"tag3": "C"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/myCollectionEndpoint",
19+
"name": "myCollectionEndpoint",
20+
"type": "Microsoft.Insights/dataCollectionEndpoints",
21+
"location": "eastus",
22+
"tags": {
23+
"tag1": "A",
24+
"tag2": "B",
25+
"tag3": "C"
26+
},
27+
"properties": {
28+
"configurationAccess": {
29+
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.control.monitor.azure.com"
30+
},
31+
"logsIngestion": {
32+
"endpoint": "https://mycollectionendpoint-abcd.eastus-1.ingest.monitor.azure.com"
33+
},
34+
"networkAcls": {
35+
"publicNetworkAccess": "Enabled"
36+
}
37+
},
38+
"systemData": {
39+
"createdBy": "user1",
40+
"createdByType": "User",
41+
"createdAt": "2021-04-01T12:34:56.1234567Z",
42+
"lastModifiedBy": "user2",
43+
"lastModifiedByType": "User",
44+
"lastModifiedAt": "2021-04-02T12:34:56.1234567Z"
45+
},
46+
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
47+
}
48+
}
49+
}
50+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"parameters": {
3+
"resourceUri": "subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm",
4+
"associationName": "myAssociation",
5+
"api-version": "2021-09-01-preview",
6+
"body": {
7+
"properties": {
8+
"dataCollectionRuleId": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule"
9+
}
10+
}
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation",
16+
"name": "myAssociation",
17+
"type": "Microsoft.Insights/dataCollectionRuleAssociations",
18+
"properties": {
19+
"dataCollectionRuleId": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule",
20+
"provisioningState": "Succeeded"
21+
},
22+
"systemData": {
23+
"createdBy": "user1",
24+
"createdByType": "User",
25+
"createdAt": "2021-04-01T12:34:56.1234567Z",
26+
"lastModifiedBy": "user2",
27+
"lastModifiedByType": "User",
28+
"lastModifiedAt": "2021-04-02T12:34:56.1234567Z"
29+
},
30+
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
31+
}
32+
},
33+
"201": {
34+
"body": {
35+
"id": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm/providers/Microsoft.Insights/dataCollectionRuleAssociations/myAssociation",
36+
"name": "myAssociation",
37+
"type": "Microsoft.Insights/dataCollectionRuleAssociations",
38+
"properties": {
39+
"dataCollectionRuleId": "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule",
40+
"provisioningState": "Succeeded"
41+
},
42+
"systemData": {
43+
"createdBy": "user1",
44+
"createdByType": "User",
45+
"createdAt": "2021-04-01T12:34:56.1234567Z",
46+
"lastModifiedBy": "user2",
47+
"lastModifiedByType": "User",
48+
"lastModifiedAt": "2021-04-02T12:34:56.1234567Z"
49+
},
50+
"etag": "070057da-0000-0000-0000-5ba70d6c0000"
51+
}
52+
}
53+
}
54+
}

0 commit comments

Comments
 (0)