Skip to content

Commit

Permalink
Microsoft.DataProtection Swagger GA stable version (Azure#13542)
Browse files Browse the repository at this point in the history
* manual changes for swagger

* changes for long-running operations

* changes for validate for backup and restore

* removing 204 from operationResults

* changes for a monitoring

* adding format

* removing date-time from duration

* changing to readonly

* changes for listRPs

* fixes swagger

* reverting readonly for scheduleTimes

* fixes for checkgates

* prettier fixes

* cahnges for friendlyname checks

* fixing gates

* removing tracking-via

* model validation fixes

* powershell changes

* adding stable version

* changes for PatchResourceRequestInput

* change for req fields

* changes for description

* changes

* Updated swagger json for item level restore target info objects

* Fixed spelling errors

* Added missing required properties

* removed auth credentials property

* prettier fixes

* Prettier fix

* pr comments fixes

* fixing readme

* changes for go readme

Co-authored-by: Mayank Aggarwal <mayaggar@microsoft.com>
Co-authored-by: FAREAST\zakinkh <zakinkh@microsoft.com>
  • Loading branch information
3 people authored and mkarmark committed Jul 20, 2021
1 parent e0a910d commit c9bd3e6
Show file tree
Hide file tree
Showing 40 changed files with 6,624 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,7 @@
"tags": [
"BackupInstances"
],
"description": "Create or update a backup instance in a backup vault",
"operationId": "BackupInstances_CreateOrUpdate",
"produces": [
"application/json"
Expand Down Expand Up @@ -1010,6 +1011,7 @@
"tags": [
"BackupInstances"
],
"description": "Delete a backup instance in a backup vault",
"operationId": "BackupInstances_Delete",
"produces": [
"application/json"
Expand Down Expand Up @@ -1768,6 +1770,9 @@
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/ApiVersion"
},
{
"$ref": "#/parameters/SubscriptionId"
},
Expand Down Expand Up @@ -1825,6 +1830,9 @@
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/ApiVersion"
},
{
"$ref": "#/parameters/SubscriptionId"
},
Expand Down Expand Up @@ -2513,7 +2521,7 @@
],
"properties": {
"resourceGroupId": {
"description": "Gets or sets the Resource Group Uri.",
"description": "Gets or sets the Snapshot Resource Group Uri.",
"type": "string"
}
},
Expand Down Expand Up @@ -2748,6 +2756,9 @@
"type": "array"
}
},
"required": [
"storageSettings"
],
"title": "BackupVault",
"type": "object"
},
Expand All @@ -2765,6 +2776,10 @@
"x-ms-client-flatten": true
}
},
"required": [
"location",
"properties"
],
"title": "BackupVault Resource"
},
"BackupVaultResourceList": {
Expand Down Expand Up @@ -3641,6 +3656,52 @@
"title": "InnerError",
"type": "object"
},
"ItemLevelRestoreCriteria": {
"description": "Class to contain criteria for item level restore",
"required": [
"objectType"
],
"type": "object",
"properties": {
"objectType": {
"description": "Type of the specific object - used for deserializing",
"type": "string"
}
},
"discriminator": "objectType"
},
"ItemLevelRestoreTargetInfo": {
"description": "Restore target info for Item level restore operation",
"required": [
"restoreCriteria",
"datasourceInfo",
"recoveryOption"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/RestoreTargetInfoBase"
}
],
"properties": {
"restoreCriteria": {
"description": "Restore Criteria",
"type": "array",
"items": {
"$ref": "#/definitions/ItemLevelRestoreCriteria"
}
},
"datasourceInfo": {
"$ref": "#/definitions/Datasource",
"description": "Information of target DS"
},
"datasourceSetInfo": {
"$ref": "#/definitions/DatasourceSet",
"description": "Information of target DS Set"
}
},
"x-ms-discriminator-value": "ItemLevelRestoreTargetInfo"
},
"JobExtendedInfo": {
"description": "Extended Information about the job",
"properties": {
Expand Down Expand Up @@ -3868,6 +3929,26 @@
"title": "ProtectionStatusDetails",
"type": "object"
},
"RangeBasedItemLevelRestoreCriteria": {
"description": "Item Level target info for restore operation",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/ItemLevelRestoreCriteria"
}
],
"properties": {
"minMatchingValue": {
"description": "minimum value for range prefix match",
"type": "string"
},
"maxMatchingValue": {
"description": "maximum value for range prefix match",
"type": "string"
}
},
"x-ms-discriminator-value": "RangeBasedItemLevelRestoreCriteria"
},
"RecoveryPointDataStoreDetails": {
"description": "RecoveryPoint datastore details",
"properties": {
Expand Down
Loading

0 comments on commit c9bd3e6

Please sign in to comment.