Skip to content

Commit

Permalink
Remove Provisioning Details from RestorePoint (Azure#16099)
Browse files Browse the repository at this point in the history
* 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 <markcowl@microsoft.com>
  • Loading branch information
2 people authored and LeiWang3 committed Mar 31, 2022
1 parent cf28f1c commit 6ebb6c9
Show file tree
Hide file tree
Showing 13 changed files with 57 additions and 174 deletions.
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2019-12-01",
"sshPublicKeyName": "mySshPublicKeyName",
"parameters": {
"location": "westus",
"properties": {
"publicKey": "{ssh-rsa public key}"
}
}
},
"responses": {
"200": {
"body": {
"name": "mySshPublicKeyName",
"location": "westus",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/sshPublicKeys/mySshPublicKeyName",
"properties": {
"publicKey": "{ssh-rsa public key}"
}
}
},
"201": {
"body": {
"name": "mySshPublicKeyName",
"location": "westus",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/sshPublicKeys/mySshPublicKeyName",
"properties": {
"publicKey": "{ssh-rsa public key}"
}
}
}
}
}
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2019-12-01",
"sshPublicKeyName": "mySshPublicKeyName",
"parameters": {
"location": "westus",
"properties": {
"publicKey": "{ssh-rsa public key}"
}
}
},
"responses": {
"200": {
"body": {
"name": "mySshPublicKeyName",
"location": "westus",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/sshPublicKeys/mySshPublicKeyName",
"properties": {
"publicKey": "{ssh-rsa public key}"
}
}
},
"201": {
"body": {
"name": "mySshPublicKeyName",
"location": "westus",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/sshPublicKeys/mySshPublicKeyName",
"properties": {
"publicKey": "{ssh-rsa public key}"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7635,30 +7635,6 @@
},
"description": "Describes a data disk."
},
"RestorePointProvisioningDetails": {
"properties": {
"creationTime": {
"type": "string",
"format": "date-time",
"description": "Gets the creation time of the restore point."
},
"totalUsedSizeInBytes": {
"type": "integer",
"format": "int64",
"description": "Gets the total size of the data in all the disks which are part of the restore point."
},
"statusCode": {
"type": "integer",
"format": "int32",
"description": "Gets the status of the Create restore point operation."
},
"statusMessage": {
"type": "string",
"description": "Gets the status message of the Create restore point operation."
}
},
"description": "Restore Point Provisioning details."
},
"RestorePoint": {
"properties": {
"properties": {
Expand Down Expand Up @@ -7707,10 +7683,10 @@
},
"description": "Gets the consistency mode for the restore point. Please refer to https://aka.ms/RestorePoints for more details."
},
"provisioningDetails": {
"$ref": "#/definitions/RestorePointProvisioningDetails",
"readOnly": true,
"description": "Gets the provisioning details set by the server during Create restore point operation."
"timeCreated": {
"type": "string",
"format": "date-time",
"description": "Gets the creation time of the restore point."
}
},
"description": "The restore point properties."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,7 @@
},
"provisioningState": "Succeeded",
"consistencyMode": "ApplicationConsistent",
"provisioningDetails": {
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
"totalUsedSizeInBytes": 10835349504,
"statusCode": 0,
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
}
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,7 @@
},
"provisioningState": "Succeeded",
"consistencyMode": "ApplicationConsistent",
"provisioningDetails": {
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
"totalUsedSizeInBytes": 10835349504,
"statusCode": 0,
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
}
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,7 @@
},
"provisioningState": "Succeeded",
"consistencyMode": "ApplicationConsistent",
"provisioningDetails": {
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
"totalUsedSizeInBytes": 10835349504,
"statusCode": 0,
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
}
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8293,30 +8293,6 @@
},
"description": "Describes a data disk."
},
"RestorePointProvisioningDetails": {
"properties": {
"creationTime": {
"type": "string",
"format": "date-time",
"description": "Gets the creation time of the restore point."
},
"totalUsedSizeInBytes": {
"type": "integer",
"format": "int64",
"description": "Gets the total size of the data in all the disks which are part of the restore point."
},
"statusCode": {
"type": "integer",
"format": "int32",
"description": "Gets the status of the Create restore point operation."
},
"statusMessage": {
"type": "string",
"description": "Gets the status message of the Create restore point operation."
}
},
"description": "Restore Point Provisioning details."
},
"RestorePoint": {
"properties": {
"properties": {
Expand Down Expand Up @@ -8365,10 +8341,10 @@
},
"description": "Gets the consistency mode for the restore point. Please refer to https://aka.ms/RestorePoints for more details."
},
"provisioningDetails": {
"$ref": "#/definitions/RestorePointProvisioningDetails",
"readOnly": true,
"description": "Gets the provisioning details set by the server during Create restore point operation."
"timeCreated": {
"type": "string",
"format": "date-time",
"description": "Gets the creation time of the restore point."
}
},
"description": "The restore point properties."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,7 @@
},
"provisioningState": "Succeeded",
"consistencyMode": "ApplicationConsistent",
"provisioningDetails": {
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
"totalUsedSizeInBytes": 10835349504,
"statusCode": 0,
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
}
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,7 @@
},
"provisioningState": "Succeeded",
"consistencyMode": "ApplicationConsistent",
"provisioningDetails": {
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
"totalUsedSizeInBytes": 10835349504,
"statusCode": 0,
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
}
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,7 @@
},
"provisioningState": "Succeeded",
"consistencyMode": "ApplicationConsistent",
"provisioningDetails": {
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
"totalUsedSizeInBytes": 10835349504,
"statusCode": 0,
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
}
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8326,30 +8326,6 @@
},
"description": "Describes a data disk."
},
"RestorePointProvisioningDetails": {
"properties": {
"creationTime": {
"type": "string",
"format": "date-time",
"description": "Gets the creation time of the restore point."
},
"totalUsedSizeInBytes": {
"type": "integer",
"format": "int64",
"description": "Gets the total size of the data in all the disks which are part of the restore point."
},
"statusCode": {
"type": "integer",
"format": "int32",
"description": "Gets the status of the Create restore point operation."
},
"statusMessage": {
"type": "string",
"description": "Gets the status message of the Create restore point operation."
}
},
"description": "Restore Point Provisioning details."
},
"RestorePoint": {
"properties": {
"properties": {
Expand Down Expand Up @@ -8398,10 +8374,10 @@
},
"description": "Gets the consistency mode for the restore point. Please refer to https://aka.ms/RestorePoints for more details."
},
"provisioningDetails": {
"$ref": "#/definitions/RestorePointProvisioningDetails",
"readOnly": true,
"description": "Gets the provisioning details set by the server during Create restore point operation."
"timeCreated": {
"type": "string",
"format": "date-time",
"description": "Gets the creation time of the restore point."
}
},
"description": "The restore point properties."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,7 @@
},
"provisioningState": "Succeeded",
"consistencyMode": "ApplicationConsistent",
"provisioningDetails": {
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
"totalUsedSizeInBytes": 10835349504,
"statusCode": 0,
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
}
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,7 @@
},
"provisioningState": "Succeeded",
"consistencyMode": "ApplicationConsistent",
"provisioningDetails": {
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
"totalUsedSizeInBytes": 10835349504,
"statusCode": 0,
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
}
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,7 @@
},
"provisioningState": "Succeeded",
"consistencyMode": "ApplicationConsistent",
"provisioningDetails": {
"creationTime": "2021-01-27T20:35:05.8401519+00:00",
"totalUsedSizeInBytes": 10835349504,
"statusCode": 0,
"statusMessage": "{\"jobMessage\":\"\",\"messageStr\":\"1/27/2021 8:35:56 PM , snapshotCreator=guestExtension, hostStatusCodePreSnapshot=200, Plugin enable Succeeded (command: Snapshot) Snapshot command completed \",\"snapshotConsistency\":2}"
}
"timeCreated": "2021-01-27T20:35:05.8401519+00:00"
}
}
]
Expand Down

0 comments on commit 6ebb6c9

Please sign in to comment.