-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Merge on 9/24/2018] Moving to Public Repository (#3929)
* Moving to Public Repository Moving to Public Repository * moving inside preview folder * updating relative path
- Loading branch information
1 parent
1f80a75
commit 752cf8d
Showing
13 changed files
with
9,416 additions
and
0 deletions.
There are no files selected for viewing
1,719 changes: 1,719 additions & 0 deletions
1,719
...nager/microsoft.workloadmonitor/preview/2018-08-31-preview/Microsoft.WorkloadMonitor.json
Large diffs are not rendered by default.
Oops, something went wrong.
89 changes: 89 additions & 0 deletions
89
...microsoft.workloadmonitor/preview/2018-08-31-preview/examples/ComponentsSummary_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,89 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", | ||
"$select" : "OSType", | ||
"$filter" : "HealthStateCategory eq 'Identity' and (ComponentTypeName eq 'Microsoft.Windows.Server.10.0.Full.Computer' or ComponentTypeName eq 'Microsoft.Linux.Universal.Computer') and WorkloadType eq 'BaseOS' and (ResourceGroupId eq 'viv_rg')", | ||
"$apply" : "groupby((OperatingSystem,HealthState),aggregate(VmId with countdistinct as VmCount))", | ||
"$orderby" : "Error", | ||
"api-version": "2018-08-31-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
|
||
"componentTypeGroupCategory": null, | ||
|
||
"vmId": null, | ||
"vmName": null, | ||
"vmTags": null, | ||
|
||
"children": null, | ||
"workspaceId": null, | ||
"solutionId": null, | ||
"workloadType": null, | ||
"componentName": null, | ||
"componentTypeId": null, | ||
"componentTypeName": null, | ||
"healthState": "Uninitialized", | ||
"healthStateCategory": null, | ||
"healthStateChangesStartTime": null, | ||
"healthStateChangesEndTime": null, | ||
"lastHealthStateChangeTime": null, | ||
"aggregateProperties": { | ||
"operatingSystem": "Ubuntu 16.04 (x86_64)", | ||
"errorVmCount": "0", | ||
"warningVmCount": "0", | ||
"successVmCount": "1", | ||
"unknownVmCount": "0", | ||
"osType": "Linux" | ||
} | ||
}, | ||
"etag": null, | ||
"id": "/providers/Microsoft.WorkloadMonitor/componentsSummary", | ||
"name": "componentsSummary", | ||
"type": "Microsoft.WorkloadMonitor/componentsSummary" | ||
}, | ||
{ | ||
"properties": { | ||
|
||
"componentTypeGroupCategory": null, | ||
|
||
"vmId": null, | ||
"vmName": null, | ||
"vmTags": null, | ||
|
||
"children": null, | ||
"workspaceId": null, | ||
"solutionId": null, | ||
"workloadType": null, | ||
"componentName": null, | ||
"componentTypeId": null, | ||
"componentTypeName": null, | ||
"healthState": "Uninitialized", | ||
"healthStateCategory": null, | ||
"healthStateChangesStartTime": null, | ||
"healthStateChangesEndTime": null, | ||
"lastHealthStateChangeTime": null, | ||
"aggregateProperties": { | ||
"operatingSystem": "Microsoft Windows Server 2016 Datacenter", | ||
"errorVmCount": "2", | ||
"warningVmCount": "0", | ||
"successVmCount": "0", | ||
"unknownVmCount": "4", | ||
"osType": "Windows" | ||
} | ||
}, | ||
"etag": null, | ||
"id": "/providers/Microsoft.WorkloadMonitor/componentsSummary", | ||
"name": "componentsSummary", | ||
"type": "Microsoft.WorkloadMonitor/componentsSummary" | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...manager/microsoft.workloadmonitor/preview/2018-08-31-preview/examples/Components_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,44 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "a7f23fdb-e626-4f95-89aa-3a360a90861e", | ||
"resourceGroupName": "viv_rg", | ||
"resourceNamespace": "Microsoft.Compute", | ||
"resourceType": "virtualMachines", | ||
"resourceName": "Canary-WLI-2", | ||
"componentId": "d91ce384-b682-883a-d02b-129bf37f218b", | ||
"api-version": "2018-08-31-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"componentTypeGroupCategory": null, | ||
"vmId": null, | ||
"vmName": null, | ||
"vmTags": null, | ||
"children": null, | ||
"workspaceId": "d00ad535-951e-4c6b-ae1b-5d4a5c7a8a3d", | ||
"solutionId": null, | ||
"workloadType": null, | ||
"componentName": null, | ||
"componentTypeId": "e22777a6-824b-0a08-9544-0609ff0de667", | ||
"componentTypeName": "Microsoft.Windows.Server.10.0.Full.OperatingSystem", | ||
"healthState": "Uninitialized", | ||
"healthStateCategory": null, | ||
"healthStateChangesStartTime": null, | ||
"healthStateChangesEndTime": null, | ||
"lastHealthStateChangeTime": null, | ||
"aggregateProperties": { | ||
"installType": "Full", | ||
"powerPlan": "High performance", | ||
"componentTypeDisplayName": "Windows Server 2016 Operating System (Full)" | ||
} | ||
}, | ||
"etag": null, | ||
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2/components/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b'", | ||
"name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b'", | ||
"type": "Microsoft.WorkloadMonitor/workloadInsights/components" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.