Skip to content

Commit 07d36f0

Browse files
authored
Track sync timestamps in Microsoft.AzureStackHCI/clusters (#10400)
1 parent 94e9e12 commit 07d36f0

File tree

6 files changed

+40
-10
lines changed

6 files changed

+40
-10
lines changed

specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2020-03-01-preview/azurestackhci.json

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,10 @@
387387
"description": "Status of the cluster agent.",
388388
"type": "string",
389389
"enum": [
390-
"NeverConnected",
390+
"NotYetRegistered",
391391
"ConnectedRecently",
392392
"NotConnectedRecently",
393-
"Expired",
393+
"Disconnected",
394394
"Error"
395395
],
396396
"x-ms-enum": {
@@ -425,6 +425,24 @@
425425
"description": "Type of billing applied to the resource.",
426426
"type": "string",
427427
"readOnly": true
428+
},
429+
"registrationTimestamp": {
430+
"description": "First cluster sync timestamp.",
431+
"type": "string",
432+
"format": "date-time",
433+
"readOnly": true
434+
},
435+
"lastSyncTimestamp": {
436+
"description": "Most recent cluster sync timestamp.",
437+
"type": "string",
438+
"format": "date-time",
439+
"readOnly": true
440+
},
441+
"lastBillingTimestamp": {
442+
"description": "Most recent billing meter timestamp.",
443+
"type": "string",
444+
"format": "date-time",
445+
"readOnly": true
428446
}
429447
}
430448
},

specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2020-03-01-preview/examples/CreateCluster.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"tags": {},
2323
"properties": {
2424
"provisioningState": "Succeeded",
25-
"status": "NeverConnected",
25+
"status": "NotYetRegistered",
2626
"cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0",
2727
"aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
2828
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",

specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2020-03-01-preview/examples/GetCluster.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"tags": {},
1616
"properties": {
1717
"provisioningState": "Succeeded",
18-
"status": "NeverConnected",
18+
"status": "ConnectedRecently",
1919
"cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0",
2020
"aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
2121
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
@@ -61,7 +61,10 @@
6161
"lastUpdated": "2020-03-11T19:24:42.1946017Z"
6262
},
6363
"trialDaysRemaining": 30,
64-
"billingModel": "Trial"
64+
"billingModel": "Trial",
65+
"registrationTimestamp": "2020-03-11T20:44:32.5625121Z",
66+
"lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z",
67+
"lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z"
6568
}
6669
}
6770
}

specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2020-03-01-preview/examples/ListClusters.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"tags": {},
1616
"properties": {
1717
"provisioningState": "Succeeded",
18-
"status": "NeverConnected",
18+
"status": "NotYetRegistered",
1919
"cloudId": "91c2b355-4826-4e96-9164-e3f26dcf1cdd",
2020
"aadClientId": "515da1c2-379e-49b4-9975-09e3e40c86be",
2121
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
@@ -78,7 +78,10 @@
7878
"lastUpdated": "2020-03-11T19:24:42.1946017Z"
7979
},
8080
"trialDaysRemaining": 30,
81-
"billingModel": "Trial"
81+
"billingModel": "Trial",
82+
"registrationTimestamp": "2020-03-11T20:44:32.5625121Z",
83+
"lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z",
84+
"lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z"
8285
}
8386
}
8487
]

specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2020-03-01-preview/examples/ListClustersByResourceGroup.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"tags": {},
1717
"properties": {
1818
"provisioningState": "Succeeded",
19-
"status": "NeverConnected",
19+
"status": "NotYetRegistered",
2020
"cloudId": "91c2b355-4826-4e96-9164-e3f26dcf1cdd",
2121
"aadClientId": "515da1c2-379e-49b4-9975-09e3e40c86be",
2222
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
@@ -79,7 +79,10 @@
7979
"lastUpdated": "2020-03-11T19:24:42.1946017Z"
8080
},
8181
"trialDaysRemaining": 30,
82-
"billingModel": "Trial"
82+
"billingModel": "Trial",
83+
"registrationTimestamp": "2020-03-11T20:44:32.5625121Z",
84+
"lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z",
85+
"lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z"
8386
}
8487
}
8588
]

specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2020-03-01-preview/examples/UpdateCluster.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@
7070
"lastUpdated": "2020-03-11T19:24:42.1946017Z"
7171
},
7272
"trialDaysRemaining": 30,
73-
"billingModel": "Trial"
73+
"billingModel": "Trial",
74+
"registrationTimestamp": "2020-03-11T20:44:32.5625121Z",
75+
"lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z",
76+
"lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z"
7477
}
7578
}
7679
}

0 commit comments

Comments
 (0)