Skip to content

Commit 6ebb6c9

Browse files
sukodavamarkcowl
authored andcommitted
Remove Provisioning Details from RestorePoint (Azure#16099)
* Add blockchain to latest profile * Add additional types * Remove Provisioning Details from RestorePoint * Fix prettier * JSON format * fix * Change 'timeCreated' Co-authored-by: Mark Cowlishaw <[email protected]>
1 parent cf28f1c commit 6ebb6c9

13 files changed

+57
-174
lines changed
Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
{
2-
"parameters": {
3-
"subscriptionId": "{subscription-id}",
4-
"resourceGroupName": "myResourceGroup",
5-
"api-version": "2019-12-01",
6-
"sshPublicKeyName": "mySshPublicKeyName",
7-
"parameters": {
8-
"location": "westus",
9-
"properties": {
10-
"publicKey": "{ssh-rsa public key}"
11-
}
12-
}
13-
},
14-
"responses": {
15-
"200": {
16-
"body": {
17-
"name": "mySshPublicKeyName",
18-
"location": "westus",
19-
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/sshPublicKeys/mySshPublicKeyName",
20-
"properties": {
21-
"publicKey": "{ssh-rsa public key}"
22-
}
23-
}
24-
},
25-
"201": {
26-
"body": {
27-
"name": "mySshPublicKeyName",
28-
"location": "westus",
29-
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/sshPublicKeys/mySshPublicKeyName",
30-
"properties": {
31-
"publicKey": "{ssh-rsa public key}"
32-
}
33-
}
34-
}
35-
}
36-
}
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2019-12-01",
6+
"sshPublicKeyName": "mySshPublicKeyName",
7+
"parameters": {
8+
"location": "westus",
9+
"properties": {
10+
"publicKey": "{ssh-rsa public key}"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"name": "mySshPublicKeyName",
18+
"location": "westus",
19+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/sshPublicKeys/mySshPublicKeyName",
20+
"properties": {
21+
"publicKey": "{ssh-rsa public key}"
22+
}
23+
}
24+
},
25+
"201": {
26+
"body": {
27+
"name": "mySshPublicKeyName",
28+
"location": "westus",
29+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/sshPublicKeys/mySshPublicKeyName",
30+
"properties": {
31+
"publicKey": "{ssh-rsa public key}"
32+
}
33+
}
34+
}
35+
}
36+
}

specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/compute.json

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7635,30 +7635,6 @@
76357635
},
76367636
"description": "Describes a data disk."
76377637
},
7638-
"RestorePointProvisioningDetails": {
7639-
"properties": {
7640-
"creationTime": {
7641-
"type": "string",
7642-
"format": "date-time",
7643-
"description": "Gets the creation time of the restore point."
7644-
},
7645-
"totalUsedSizeInBytes": {
7646-
"type": "integer",
7647-
"format": "int64",
7648-
"description": "Gets the total size of the data in all the disks which are part of the restore point."
7649-
},
7650-
"statusCode": {
7651-
"type": "integer",
7652-
"format": "int32",
7653-
"description": "Gets the status of the Create restore point operation."
7654-
},
7655-
"statusMessage": {
7656-
"type": "string",
7657-
"description": "Gets the status message of the Create restore point operation."
7658-
}
7659-
},
7660-
"description": "Restore Point Provisioning details."
7661-
},
76627638
"RestorePoint": {
76637639
"properties": {
76647640
"properties": {
@@ -7707,10 +7683,10 @@
77077683
},
77087684
"description": "Gets the consistency mode for the restore point. Please refer to https://aka.ms/RestorePoints for more details."
77097685
},
7710-
"provisioningDetails": {
7711-
"$ref": "#/definitions/RestorePointProvisioningDetails",
7712-
"readOnly": true,
7713-
"description": "Gets the provisioning details set by the server during Create restore point operation."
7686+
"timeCreated": {
7687+
"type": "string",
7688+
"format": "date-time",
7689+
"description": "Gets the creation time of the restore point."
77147690
}
77157691
},
77167692
"description": "The restore point properties."

specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateARestorePoint.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,7 @@
7979
},
8080
"provisioningState": "Succeeded",
8181
"consistencyMode": "ApplicationConsistent",
82-
"provisioningDetails": {
83-
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
84-
"totalUsedSizeInBytes": 10835349504,
85-
"statusCode": 0,
86-
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
87-
}
82+
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
8883
}
8984
}
9085
}

specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetRestorePoint.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,7 @@
7070
},
7171
"provisioningState": "Succeeded",
7272
"consistencyMode": "ApplicationConsistent",
73-
"provisioningDetails": {
74-
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
75-
"totalUsedSizeInBytes": 10835349504,
76-
"statusCode": 0,
77-
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
78-
}
73+
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
7974
}
8075
}
8176
}

specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetRestorePointCollectionWithContainedRestorePoints.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,7 @@
8686
},
8787
"provisioningState": "Succeeded",
8888
"consistencyMode": "ApplicationConsistent",
89-
"provisioningDetails": {
90-
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
91-
"totalUsedSizeInBytes": 10835349504,
92-
"statusCode": 0,
93-
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
94-
}
89+
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
9590
}
9691
}
9792
]

specification/compute/resource-manager/Microsoft.Compute/stable/2021-04-01/compute.json

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8293,30 +8293,6 @@
82938293
},
82948294
"description": "Describes a data disk."
82958295
},
8296-
"RestorePointProvisioningDetails": {
8297-
"properties": {
8298-
"creationTime": {
8299-
"type": "string",
8300-
"format": "date-time",
8301-
"description": "Gets the creation time of the restore point."
8302-
},
8303-
"totalUsedSizeInBytes": {
8304-
"type": "integer",
8305-
"format": "int64",
8306-
"description": "Gets the total size of the data in all the disks which are part of the restore point."
8307-
},
8308-
"statusCode": {
8309-
"type": "integer",
8310-
"format": "int32",
8311-
"description": "Gets the status of the Create restore point operation."
8312-
},
8313-
"statusMessage": {
8314-
"type": "string",
8315-
"description": "Gets the status message of the Create restore point operation."
8316-
}
8317-
},
8318-
"description": "Restore Point Provisioning details."
8319-
},
83208296
"RestorePoint": {
83218297
"properties": {
83228298
"properties": {
@@ -8365,10 +8341,10 @@
83658341
},
83668342
"description": "Gets the consistency mode for the restore point. Please refer to https://aka.ms/RestorePoints for more details."
83678343
},
8368-
"provisioningDetails": {
8369-
"$ref": "#/definitions/RestorePointProvisioningDetails",
8370-
"readOnly": true,
8371-
"description": "Gets the provisioning details set by the server during Create restore point operation."
8344+
"timeCreated": {
8345+
"type": "string",
8346+
"format": "date-time",
8347+
"description": "Gets the creation time of the restore point."
83728348
}
83738349
},
83748350
"description": "The restore point properties."

specification/compute/resource-manager/Microsoft.Compute/stable/2021-04-01/examples/CreateARestorePoint.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,7 @@
7979
},
8080
"provisioningState": "Succeeded",
8181
"consistencyMode": "ApplicationConsistent",
82-
"provisioningDetails": {
83-
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
84-
"totalUsedSizeInBytes": 10835349504,
85-
"statusCode": 0,
86-
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
87-
}
82+
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
8883
}
8984
}
9085
}

specification/compute/resource-manager/Microsoft.Compute/stable/2021-04-01/examples/GetRestorePoint.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,7 @@
7070
},
7171
"provisioningState": "Succeeded",
7272
"consistencyMode": "ApplicationConsistent",
73-
"provisioningDetails": {
74-
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
75-
"totalUsedSizeInBytes": 10835349504,
76-
"statusCode": 0,
77-
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
78-
}
73+
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
7974
}
8075
}
8176
}

specification/compute/resource-manager/Microsoft.Compute/stable/2021-04-01/examples/GetRestorePointCollectionWithContainedRestorePoints.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,7 @@
8686
},
8787
"provisioningState": "Succeeded",
8888
"consistencyMode": "ApplicationConsistent",
89-
"provisioningDetails": {
90-
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
91-
"totalUsedSizeInBytes": 10835349504,
92-
"statusCode": 0,
93-
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
94-
}
89+
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
9590
}
9691
}
9792
]

specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/compute.json

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8326,30 +8326,6 @@
83268326
},
83278327
"description": "Describes a data disk."
83288328
},
8329-
"RestorePointProvisioningDetails": {
8330-
"properties": {
8331-
"creationTime": {
8332-
"type": "string",
8333-
"format": "date-time",
8334-
"description": "Gets the creation time of the restore point."
8335-
},
8336-
"totalUsedSizeInBytes": {
8337-
"type": "integer",
8338-
"format": "int64",
8339-
"description": "Gets the total size of the data in all the disks which are part of the restore point."
8340-
},
8341-
"statusCode": {
8342-
"type": "integer",
8343-
"format": "int32",
8344-
"description": "Gets the status of the Create restore point operation."
8345-
},
8346-
"statusMessage": {
8347-
"type": "string",
8348-
"description": "Gets the status message of the Create restore point operation."
8349-
}
8350-
},
8351-
"description": "Restore Point Provisioning details."
8352-
},
83538329
"RestorePoint": {
83548330
"properties": {
83558331
"properties": {
@@ -8398,10 +8374,10 @@
83988374
},
83998375
"description": "Gets the consistency mode for the restore point. Please refer to https://aka.ms/RestorePoints for more details."
84008376
},
8401-
"provisioningDetails": {
8402-
"$ref": "#/definitions/RestorePointProvisioningDetails",
8403-
"readOnly": true,
8404-
"description": "Gets the provisioning details set by the server during Create restore point operation."
8377+
"timeCreated": {
8378+
"type": "string",
8379+
"format": "date-time",
8380+
"description": "Gets the creation time of the restore point."
84058381
}
84068382
},
84078383
"description": "The restore point properties."

0 commit comments

Comments
 (0)