forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Datadog] Add 2021-03-01 stable version (Azure#13330)
* [Datadog] Add 2021-03-01 stable version * Update readme * Fix * Update * Fix * Update * Prettier * Revert preview version * Update versions * Update * Add validation for monitor resource name * Fix LintDiff * Revert
- Loading branch information
Showing
29 changed files
with
2,807 additions
and
4 deletions.
There are no files selected for viewing
1,984 changes: 1,984 additions & 0 deletions
1,984
specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/datadog.json
Large diffs are not rendered by default.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
.../resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/ApiKeys_GetDefaultKey.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"createdBy": "john@example.com", | ||
"name": "<API_KEY_NAME>", | ||
"key": "1111111111111111aaaaaaaaaaaaaaaa", | ||
"created": "2019-04-05 09:20:30" | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...n/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/ApiKeys_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"createdBy": "john@example.com", | ||
"name": "<API_KEY_NAME>", | ||
"key": "1111111111111111aaaaaaaaaaaaaaaa", | ||
"created": "2019-04-05 09:20:30" | ||
}, | ||
{ | ||
"createdBy": "jane@example.com", | ||
"name": "<API_KEY_NAME_2>", | ||
"key": "2111111111111111aaaaaaaaaaaaaaaa", | ||
"created": "2019-04-05 09:19:53" | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
.../resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/ApiKeys_SetDefaultKey.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"requestBody": { | ||
"key": "1111111111111111aaaaaaaaaaaaaaaa" | ||
} | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
...ion/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Hosts_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "vm1", | ||
"aliases": [ | ||
"vm1", | ||
"65f2dd83-95ae-4f56-b6aa-a5dafc05f4cd" | ||
], | ||
"apps": [ | ||
"ntp", | ||
"agent" | ||
], | ||
"meta": { | ||
"agentVersion": "7.19.2", | ||
"installMethod": { | ||
"tool": "install_script", | ||
"toolVersion": "install_script", | ||
"installerVersion": "install_script-1.0.0" | ||
}, | ||
"logsAgent": { | ||
"transport": "" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "vm2", | ||
"aliases": [ | ||
"vm2", | ||
"df631d9a-8178-4580-bf60-c697a5e8df4d" | ||
], | ||
"apps": [ | ||
"infra", | ||
"agent" | ||
], | ||
"meta": { | ||
"agentVersion": "7.18.1", | ||
"installMethod": { | ||
"tool": "install_script", | ||
"toolVersion": "install_script", | ||
"installerVersion": "install_script-1.0.0" | ||
}, | ||
"logsAgent": { | ||
"transport": "HTTP" | ||
} | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...g/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/LinkedResources_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Datadog/monitors/myMonitor" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...ce-manager/Microsoft.Datadog/stable/2021-03-01/examples/MarketplaceAgreements_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"requestBody": { | ||
"properties": { | ||
"accepted": true | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Datadog/agreements/default", | ||
"name": "default", | ||
"type": "Microsoft.Datadog/agreements", | ||
"properties": { | ||
"publisher": "pubid1", | ||
"product": "offid1", | ||
"plan": "planid1", | ||
"licenseTextLink": "test.licenseLink1", | ||
"privacyPolicyLink": "test.privacyPolicyLink1", | ||
"retrieveDatetime": "2017-08-15T11:33:07.12132Z", | ||
"signature": "ASDFSDAFWEFASDGWERLWER", | ||
"accepted": true | ||
} | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...urce-manager/Microsoft.Datadog/stable/2021-03-01/examples/MarketplaceAgreements_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Datadog/agreements/id1", | ||
"name": "planid1", | ||
"type": "Microsoft.Datadog/agreements", | ||
"properties": { | ||
"publisher": "pubid1", | ||
"product": "offid1", | ||
"plan": "planid1", | ||
"licenseTextLink": "test.licenseLink1", | ||
"privacyPolicyLink": "test.privacyPolicyLink1", | ||
"retrieveDatetime": "2017-08-15T11:33:07.12132Z", | ||
"signature": "ASDFSDAFWEFASDGWERLWER", | ||
"accepted": false | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Datadog/agreements/id2", | ||
"name": "planid2", | ||
"type": "Microsoft.Datadog/agreements", | ||
"properties": { | ||
"publisher": "pubid2", | ||
"product": "offid2", | ||
"plan": "planid2", | ||
"licenseTextLink": "test.licenseLin2k", | ||
"privacyPolicyLink": "test.privacyPolicyLink2", | ||
"retrieveDatetime": "2017-08-14T11:33:07.12132Z", | ||
"signature": "ASDFSDAFWEFASDGWERLWER", | ||
"accepted": false | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...esource-manager/Microsoft.Datadog/stable/2021-03-01/examples/MonitoredResources_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVault", | ||
"sendingMetrics": true, | ||
"reasonForMetricsStatus": "CapturedByRules", | ||
"sendingLogs": true, | ||
"reasonForLogsStatus": "CapturedByRules" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
86 changes: 86 additions & 0 deletions
86
...atadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"requestBody": { | ||
"name": "myMonitor", | ||
"sku": { | ||
"name": "free_Monthly" | ||
}, | ||
"properties": { | ||
"monitoringStatus": "Enabled", | ||
"datadogOrganizationProperties": { | ||
"name": "myOrg", | ||
"subscription": "pro", | ||
"linkingAuthCode": "someAuthCode", | ||
"linkingClientId": "00000000-0000-0000-0000-000000000000", | ||
"enterpriseAppId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"userInfo": { | ||
"name": "Alice", | ||
"emailAddress": "alice@microsoft.com", | ||
"phoneNumber": "123-456-7890" | ||
} | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Datadog/monitors", | ||
"sku": { | ||
"name": "free_Monthly" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"monitoringStatus": "Enabled", | ||
"datadogOrganizationProperties": { | ||
"name": "myOrg", | ||
"id": "myOrg123", | ||
"linkingAuthCode": null, | ||
"linkingClientId": null, | ||
"enterpriseAppId": null | ||
}, | ||
"liftrResourceCategory": "MonitorLogs", | ||
"liftrResourcePreference": 1 | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Datadog/monitors", | ||
"sku": { | ||
"name": "free_Monthly" | ||
}, | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"monitoringStatus": "Enabled", | ||
"datadogOrganizationProperties": { | ||
"name": "myOrg", | ||
"id": "myOrg123" | ||
}, | ||
"liftrResourceCategory": "MonitorLogs", | ||
"liftrResourcePreference": 1 | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US" | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...atadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...n/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Datadog/monitors", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"monitoringStatus": "Enabled", | ||
"datadogOrganizationProperties": { | ||
"name": "myOrg", | ||
"id": "myOrg123", | ||
"linkingAuthCode": null, | ||
"linkingClientId": null, | ||
"enterpriseAppId": null | ||
}, | ||
"liftrResourceCategory": "MonitorLogs", | ||
"liftrResourcePreference": 1 | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.