Skip to content

Commit

Permalink
moving logz to stable
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav Bang committed Aug 10, 2021
1 parent b4f133f commit 036bafc
Show file tree
Hide file tree
Showing 36 changed files with 3,502 additions and 4 deletions.
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
}
}
}
}
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"
}
}
}
}
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
}
}
}
}
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
}
}
}
}
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
}
}
}
}
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"
}
}
}
}
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": {}
}
}
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"
}
}
}
}
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
}
}
}
}
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
}
}
}
}
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"
}
}
}
}
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
}
}
}
}
Loading

0 comments on commit 036bafc

Please sign in to comment.