-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gaurav Bang
committed
Aug 10, 2021
1 parent
b4f133f
commit 036bafc
Showing
36 changed files
with
3,502 additions
and
4 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
.../resource-manager/Microsoft.Logz/stable/2020-10-01/examples/MainAccount_VMHosts_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,21 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-10-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.Compute/virtualMachines/virtual1", | ||
"agentVersion": "1.0.0beta" | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...source-manager/Microsoft.Logz/stable/2020-10-01/examples/MainAccount_VMHosts_Payload.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,16 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-10-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"apiKey": "00000000-0000-0000-0000-000000000000", | ||
"region": "West US 2" | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...esource-manager/Microsoft.Logz/stable/2020-10-01/examples/MainAccount_VMHosts_Update.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": "2020-10-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"requestBody": { | ||
"state": "Install", | ||
"vmResources": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/virtual1", | ||
"agentVersion": "1.0.0beta" | ||
} | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/virtual1", | ||
"agentVersion": "1.0.0beta" | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...resource-manager/Microsoft.Logz/stable/2020-10-01/examples/MainAccount_listUserRoles.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,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-10-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"role": "Admin" | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...z/resource-manager/Microsoft.Logz/stable/2020-10-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,24 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-10-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor/listMonitoredResources", | ||
"sendingMetrics": true, | ||
"reasonForMetricsStatus": "CapturedByRules", | ||
"sendingLogs": true, | ||
"reasonForLogsStatus": "CapturedByRules" | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
...tion/logz/resource-manager/Microsoft.Logz/stable/2020-10-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,58 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-10-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"requestBody": { | ||
"properties": { | ||
"userInfo": { | ||
"firstName": "Alice", | ||
"lastName": "Bob", | ||
"emailAddress": "[email protected]", | ||
"phoneNumber": "123456" | ||
}, | ||
"planData": { | ||
"usageType": "Committed", | ||
"billingCycle": "Monthly", | ||
"planDetails": "logzapitestplan", | ||
"effectiveDate": "2019-08-30T15:14:33+02:00" | ||
} | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Logz/monitors", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US 2" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Logz/monitors", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US 2" | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...tion/logz/resource-manager/Microsoft.Logz/stable/2020-10-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": "2020-10-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...ication/logz/resource-manager/Microsoft.Logz/stable/2020-10-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,37 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-10-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.Logz/monitors", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"monitoringStatus": "Enabled", | ||
"userInfo": { | ||
"firstName": "Alice", | ||
"lastName": "Bob", | ||
"emailAddress": "[email protected]", | ||
"phoneNumber": "123456" | ||
}, | ||
"planData": { | ||
"usageType": "Committed", | ||
"billingCycle": "Monthly", | ||
"planDetails": "logzapitestplan", | ||
"effectiveDate": "2019-08-30T15:14:33+02:00" | ||
} | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US" | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...cation/logz/resource-manager/Microsoft.Logz/stable/2020-10-01/examples/Monitors_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,38 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-10-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"monitoringStatus": "Enabled", | ||
"userInfo": { | ||
"firstName": "Alice", | ||
"lastName": "Bob", | ||
"emailAddress": "[email protected]", | ||
"phoneNumber": "123456" | ||
}, | ||
"planData": { | ||
"usageType": "Committed", | ||
"billingCycle": "Monthly", | ||
"planDetails": "logzapitestplan", | ||
"effectiveDate": "2019-08-30T15:14:33+02:00" | ||
} | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US" | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...ource-manager/Microsoft.Logz/stable/2020-10-01/examples/Monitors_ListByResourceGroup.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,40 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-10-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Logz/monitors", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"userInfo": { | ||
"firstName": "Alice", | ||
"lastName": "Bob", | ||
"emailAddress": "[email protected]", | ||
"phoneNumber": "123456" | ||
}, | ||
"planData": { | ||
"usageType": "Committed", | ||
"billingCycle": "Monthly", | ||
"planDetails": "logzapitestplan", | ||
"effectiveDate": "2019-08-30T15:14:33+02:00" | ||
} | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US" | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...tion/logz/resource-manager/Microsoft.Logz/stable/2020-10-01/examples/Monitors_Update.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,33 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-10-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"requestBody": { | ||
"properties": { | ||
"monitoringStatus": "Enabled" | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Logz/monitors", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"monitoringStatus": "Enabled" | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US" | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...tion/logz/resource-manager/Microsoft.Logz/stable/2020-10-01/examples/Operations_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": "2020-10-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.Logz/monitors/write", | ||
"display": { | ||
"provider": "Microsoft.Logz", | ||
"resource": "monitors", | ||
"operation": "write", | ||
"description": "Write monitors resource" | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.