-
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.
* adding new api version * updating version and adding new apis * adding apis * swagger fixes * prettier fix * adding api version for operations api * adding api versions param for operatiosn for previous and stable version Co-authored-by: Gaurav Bang <[email protected]>
- Loading branch information
1 parent
d29e6eb
commit 37b6a98
Showing
45 changed files
with
4,481 additions
and
0 deletions.
There are no files selected for viewing
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
21 changes: 21 additions & 0 deletions
21
...-manager/Microsoft.Logz/preview/2022-01-01-preview/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": "2022-01-01-preview", | ||
"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
...nager/Microsoft.Logz/preview/2022-01-01-preview/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": "2022-01-01-preview", | ||
"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
...anager/Microsoft.Logz/preview/2022-01-01-preview/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": "2022-01-01-preview", | ||
"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
...manager/Microsoft.Logz/preview/2022-01-01-preview/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": "2022-01-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"role": "Admin" | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
64 changes: 64 additions & 0 deletions
64
...rosoft.Logz/preview/2022-01-01-preview/examples/MetricsSourceTagRules_CreateOrUpdate.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,64 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"metricsSourceName": "MetricsSource1", | ||
"ruleSetName": "default", | ||
"requestBody": { | ||
"name": "default", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Logz/monitors/myMonitor/metricsSource/MetricsSource1/tagRules/default", | ||
"type": "Microsoft.Logz/monitors/tagRules", | ||
"properties": { | ||
"sendMetrics": true, | ||
"metricRules": [ | ||
{ | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"filteringTags": [ | ||
{ | ||
"name": "Environment", | ||
"value": "Prod", | ||
"action": "Include" | ||
}, | ||
{ | ||
"name": "Environment", | ||
"value": "Dev", | ||
"action": "Exclude" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "default", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Logz/monitors/myMonitor/metricsSource/MetricsSource1/tagRules/default", | ||
"type": "Microsoft.Logz/monitors/tagRules", | ||
"properties": { | ||
"sendMetrics": true, | ||
"metricRules": [ | ||
{ | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"filteringTags": [ | ||
{ | ||
"name": "Environment", | ||
"value": "Prod", | ||
"action": "Include" | ||
}, | ||
{ | ||
"name": "Environment", | ||
"value": "Dev", | ||
"action": "Exclude" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...ager/Microsoft.Logz/preview/2022-01-01-preview/examples/MetricsSourceTagRules_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,15 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"metricsSourceName": "MetricsSource1", | ||
"ruleSetName": "default" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...manager/Microsoft.Logz/preview/2022-01-01-preview/examples/MetricsSourceTagRules_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,39 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"metricsSourceName": "MetricsSource1", | ||
"ruleSetName": "default" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "default", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Logz/monitors/myMonitor/tagRules/default", | ||
"type": "Microsoft.Logz/monitors/tagRules", | ||
"properties": { | ||
"sendMetrics": true, | ||
"metricRules": [ | ||
{ | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"filteringTags": [ | ||
{ | ||
"name": "Environment", | ||
"value": "Prod", | ||
"action": "Include" | ||
}, | ||
{ | ||
"name": "Environment", | ||
"value": "Dev", | ||
"action": "Exclude" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...anager/Microsoft.Logz/preview/2022-01-01-preview/examples/MetricsSourceTagRules_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,43 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"metricsSourceName": "MetricsSource1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "default", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Logz/monitors/myMonitor/metricsSource/metricsSource1/tagRules/default", | ||
"type": "Microsoft.Logz/monitors/tagRules", | ||
"properties": { | ||
"sendMetrics": true, | ||
"metricRules": [ | ||
{ | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"filteringTags": [ | ||
{ | ||
"name": "Environment", | ||
"value": "Prod", | ||
"action": "Include" | ||
}, | ||
{ | ||
"name": "Environment", | ||
"value": "Dev", | ||
"action": "Exclude" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...urce-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/MetricsSource_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,51 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"metricsSourceName": "MetricsSource1", | ||
"requestBody": { | ||
"name": "myMonitor", | ||
"type": "Microsoft.Logz/monitors", | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"monitoringStatus": "Enabled" | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor/metricsSource/MetricsSource1", | ||
"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/metricsSource/MetricsSource1", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Logz/monitors", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US 2" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...urce-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/MetricsSource_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,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"metricsSourceName": "someName", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...esource-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/MetricsSource_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,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"metricsSourceName": "MetricsSource1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor/metricsSource/metricsSource1", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Logz/monitors", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"monitoringStatus": "Enabled" | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US" | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...Microsoft.Logz/preview/2022-01-01-preview/examples/MetricsSource_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,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"metricsSourceName": "metricsacname" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor/metricsSource", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Logz/monitors", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"monitoringStatus": "Enabled" | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US" | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.