Skip to content

Commit

Permalink
Fix s360 kpis for 2020-03-01.
Browse files Browse the repository at this point in the history
  • Loading branch information
brpanask committed Nov 16, 2020
1 parent 4f522c4 commit e72000d
Show file tree
Hide file tree
Showing 13 changed files with 371 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/id/locations/westus/ascOperations/testoperationid",
"name": "testoperationid",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,43 @@
}
},
"responses": {
"202": {
"body": {
"tags": {
"Dept": "ContosoAds"
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
"location": "westus",
"name": "sc1",
"type": "Microsoft.StorageCache/Cache",
"properties": {
"cacheSizeGB": 3072,
"health": {
"state": "Transitioning",
"statusDescription": "Cache is being created."
},
"mountAddresses": [
"192.168.1.1",
"192.168.1.2"
],
"provisioningState": "Succeeded",
"subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
"upgradeStatus": {
"currentFirmwareVersion": "5.3.23",
"firmwareUpdateStatus": "available",
"firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
"lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
"pendingFirmwareVersion": "5.3.24"
},
"networkSettings": {
"mtu": 1500
}
},
"sku": {
"name": "Standard_2G"
}
}
},
"201": {
"body": {
"tags": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"resourceGroupName": "scgroup",
"cacheName": "sc",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2020-03-01"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"resourceGroupName": "scgroup",
"cacheName": "sc",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2020-03-01"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"resourceGroupName": "scgroup",
"cacheName": "sc",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2020-03-01"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"resourceGroupName": "scgroup",
"cacheName": "sc",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2020-03-01"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"resourceGroupName": "scgroup",
"cacheName": "sc1",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2020-03-01"
},
"responses": {
"201": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,49 @@
"provider": "Azure Storage Cache",
"resource": "Caches"
}
},
{
"origin": "system",
"name": "Microsoft.StorageCache/caches/providers/Microsoft.Insights/metricDefinitions/read",
"isDataAction": false,
"display": {
"operation": "Get Cache Metric Definitions",
"provider": "Microsoft Azure HPC Cache",
"resource": "StorageCache Metric Definitions",
"description": "Reads Cache Metric Definitions."
},
"properties": {
"serviceSpecification": {
"metricSpecifications": [
{
"name": "ClientIOPS",
"displayName": "Total Client IOPS",
"displayDescription": "The rate of client file operations processed by the Cache.",
"unit": "Count",
"aggregationType": "Average",
"supportedAggregationTypes": [
"Minimum",
"Maximum",
"Average"
],
"metricClass": "Transactions"
},
{
"name": "ClientLatency",
"displayName": "Average Client Latency",
"displayDescription": "Average latency of client file operations to the Cache.",
"unit": "Milliseconds",
"aggregationType": "Average",
"supportedAggregationTypes": [
"Minimum",
"Maximum",
"Average"
],
"metricClass": "Latency"
}
]
}
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@
"name": "st1",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
"type": "Microsoft.StorageCache/Cache/StorageTarget",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"junctions": [
{
Expand All @@ -59,6 +67,48 @@
"name": "st1",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
"type": "Microsoft.StorageCache/Cache/StorageTarget",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"junctions": [
{
"namespacePath": "/path/on/cache",
"targetPath": "/path/on/exp1",
"nfsExport": "exp1"
},
{
"namespacePath": "/path2/on/cache",
"targetPath": "/path2/on/exp2",
"nfsExport": "exp2"
}
],
"targetType": "nfs3",
"nfs3": {
"target": "10.0.44.44",
"usageModel": "READ_HEAVY_INFREQ"
}
}
}
},
"202": {
"body": {
"name": "st1",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
"type": "Microsoft.StorageCache/Cache/StorageTarget",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"junctions": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"resourceGroupName": "scgroup",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2020-03-01",
"cacheName": "sc1",
"storageTargetName": "st1"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
"name": "st1",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
"type": "Microsoft.StorageCache/Cache/StorageTarget",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"junctions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
"name": "st1",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
"type": "Microsoft.StorageCache/Cache/StorageTarget",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"junctions": [
{
Expand All @@ -37,6 +45,14 @@
"name": "st2",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st2",
"type": "Microsoft.StorageCache/Cache/StorageTarget",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"junctions": [
{
Expand Down
Loading

0 comments on commit e72000d

Please sign in to comment.