[2203] Revert backup admin update (#18332)
* Revert "Add new api version 2021-09-01" This reverts commit d64677cb9b07aea2d84f73dd0b0196af41b7cf52. * Retain changes of preview to stable in readme
This commit is contained in:
Родитель
692cb8b5eb
Коммит
9803f31ab7
|
@ -1,539 +0,0 @@
|
|||
{
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
"version": "2021-09-01",
|
||||
"title": "BackupManagementClient",
|
||||
"description": "The Admin Backup Management Client."
|
||||
},
|
||||
"host": "management.azure.com",
|
||||
"schemes": [
|
||||
"https"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"paths": {
|
||||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Backup.Admin/backupLocations": {
|
||||
"get": {
|
||||
"x-ms-examples": {
|
||||
"Returns the list of backup locations.": {
|
||||
"$ref": "./examples/BackupLocations/List.json"
|
||||
}
|
||||
},
|
||||
"description": "Returns the list of backup locations.",
|
||||
"tags": [
|
||||
"BackupLocations"
|
||||
],
|
||||
"operationId": "BackupLocations_List",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/SubscriptionIdParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/ResourceGroupParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "Backups.json#/parameters/ApiVersionParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/TopParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/SkipParameter"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/BackupLocationList"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "Error response.",
|
||||
"schema": {
|
||||
"$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-ms-pageable": {
|
||||
"nextLinkName": "nextLink"
|
||||
}
|
||||
}
|
||||
},
|
||||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Backup.Admin/backupLocations/{location}": {
|
||||
"get": {
|
||||
"x-ms-examples": {
|
||||
"Returns a specific fileshare backup location based on name.": {
|
||||
"$ref": "./examples/BackupLocations/GetFileshare.json"
|
||||
},
|
||||
"Returns a specific blob backup location based on name.": {
|
||||
"$ref": "./examples/BackupLocations/GetBlob.json"
|
||||
}
|
||||
},
|
||||
"description": "Returns a specific backup location based on name.",
|
||||
"tags": [
|
||||
"BackupLocations"
|
||||
],
|
||||
"operationId": "BackupLocations_Get",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/SubscriptionIdParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/ResourceGroupParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/BackupLocationParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "Backups.json#/parameters/ApiVersionParameter"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/BackupLocation"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "Error response.",
|
||||
"schema": {
|
||||
"$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"x-ms-examples": {
|
||||
"Put update new fileshare backup location.": {
|
||||
"$ref": "./examples/BackupLocations/PutFileshare.json"
|
||||
},
|
||||
"Put update new blob backup location.": {
|
||||
"$ref": "./examples/BackupLocations/PutBlob.json"
|
||||
},
|
||||
"Blank put clear backup location.": {
|
||||
"$ref": "./examples/BackupLocations/BlankPut.json"
|
||||
}
|
||||
},
|
||||
"description": "Put update a backup location.",
|
||||
"tags": [
|
||||
"BackupLocations"
|
||||
],
|
||||
"operationId": "BackupLocations_Set",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/SubscriptionIdParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/ResourceGroupParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/BackupLocationParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "Backups.json#/parameters/ApiVersionParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/BackupLocationObjectParameter"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/BackupLocation"
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"description": "ACCEPTED",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/BackupLocation"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "Error response.",
|
||||
"schema": {
|
||||
"$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-ms-long-running-operation": true,
|
||||
"x-ms-long-running-operation-options": {
|
||||
"final-state-via": "location"
|
||||
}
|
||||
},
|
||||
"patch": {
|
||||
"x-ms-examples": {
|
||||
"Patch update new fileshare backup location.": {
|
||||
"$ref": "./examples/BackupLocations/PatchFileshare.json"
|
||||
},
|
||||
"Patch update new blob backup location.": {
|
||||
"$ref": "./examples/BackupLocations/PatchBlob.json"
|
||||
}
|
||||
},
|
||||
"description": "Patch update a backup location.",
|
||||
"tags": [
|
||||
"BackupLocations"
|
||||
],
|
||||
"operationId": "BackupLocations_Update",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/SubscriptionIdParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/ResourceGroupParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/BackupLocationParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "Backups.json#/parameters/ApiVersionParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/BackupLocationObjectParameter"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/BackupLocation"
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"description": "ACCEPTED",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/BackupLocation"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "Error response.",
|
||||
"schema": {
|
||||
"$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-ms-long-running-operation": true,
|
||||
"x-ms-long-running-operation-options": {
|
||||
"final-state-via": "location"
|
||||
}
|
||||
}
|
||||
},
|
||||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Backup.Admin/backupLocations/{location}/createBackup": {
|
||||
"post": {
|
||||
"x-ms-examples": {
|
||||
"Back up a specific location.": {
|
||||
"$ref": "./examples/BackupLocations/Backup.json"
|
||||
}
|
||||
},
|
||||
"x-ms-long-running-operation": true,
|
||||
"x-ms-long-running-operation-options": {
|
||||
"final-state-via": "location"
|
||||
},
|
||||
"description": "Back up a specific location.",
|
||||
"tags": [
|
||||
"BackupLocations"
|
||||
],
|
||||
"operationId": "BackupLocations_CreateBackup",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/SubscriptionIdParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/ResourceGroupParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/BackupLocationParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "Backups.json#/parameters/ApiVersionParameter"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "Backups.json#/definitions/Backup"
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"description": "ACCEPTED",
|
||||
"schema": {
|
||||
"$ref": "Backups.json#/definitions/Backup"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "Error response.",
|
||||
"schema": {
|
||||
"$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Backup.Admin/backupLocations/{location}/pruneExternalStore": {
|
||||
"post": {
|
||||
"x-ms-examples": {
|
||||
"Prune the external backup store": {
|
||||
"$ref": "./examples/BackupLocations/Prune.json"
|
||||
}
|
||||
},
|
||||
"x-ms-long-running-operation": true,
|
||||
"x-ms-long-running-operation-options": {
|
||||
"final-state-via": "location"
|
||||
},
|
||||
"description": "Prune the external backup store.",
|
||||
"tags": [
|
||||
"BackupLocations"
|
||||
],
|
||||
"operationId": "BackupLocations_PruneExternalStore",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/SubscriptionIdParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/ResourceGroupParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/BackupLocationParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/PruneBackupStoreOptionParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "Backups.json#/parameters/ApiVersionParameter"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/PruneList"
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"description": "ACCEPTED"
|
||||
},
|
||||
"default": {
|
||||
"description": "Error response.",
|
||||
"schema": {
|
||||
"$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"BackupLocation": {
|
||||
"description": "Information about the backup location.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"properties": {
|
||||
"description": "Properties of a backup location.",
|
||||
"$ref": "#/definitions/BackupLocationModel",
|
||||
"x-ms-client-flatten": true
|
||||
}
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/definitions/Resource"
|
||||
}
|
||||
]
|
||||
},
|
||||
"BackupLocationModel": {
|
||||
"type": "object",
|
||||
"description": "Properties of a backup location.",
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"description": "Information about an external storage location.",
|
||||
"$ref": "#/definitions/ExternalStore",
|
||||
"x-ms-client-flatten": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"ExternalStore": {
|
||||
"type": "object",
|
||||
"description": "Information about an external storage location.",
|
||||
"properties": {
|
||||
"path": {
|
||||
"description": "Path to the update fileshare location",
|
||||
"type": "string"
|
||||
},
|
||||
"userName": {
|
||||
"description": "Username to access the fileshare location.",
|
||||
"type": "string"
|
||||
},
|
||||
"password": {
|
||||
"description": "Password to access the fileshare location.",
|
||||
"type": "string"
|
||||
},
|
||||
"blobStorageUrl": {
|
||||
"description": "Url to the update blob location",
|
||||
"type": "string"
|
||||
},
|
||||
"blobStorageKey": {
|
||||
"description": "Key to access the blob location.",
|
||||
"type": "string"
|
||||
},
|
||||
"encryptionCertBase64": {
|
||||
"description": "The base64 raw data for the backup encryption certificate.",
|
||||
"type": "string"
|
||||
},
|
||||
"encryptionCertThumbprint": {
|
||||
"description": "The thumbprint of the encryption certificate.",
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
},
|
||||
"backupFrequencyInHours": {
|
||||
"description": "The interval, in hours, for the frequency that the scheduler takes a backup.",
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"availableCapacity": {
|
||||
"description": "Free space at the backup location.",
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
},
|
||||
"isBackupSchedulerEnabled": {
|
||||
"description": "True if the backup scheduler is enabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"nextBackupTime": {
|
||||
"description": "The scheduled time of the next backup.",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
},
|
||||
"lastBackupTime": {
|
||||
"description": "Time of backup.",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
},
|
||||
"backupRetentionPeriodInDays": {
|
||||
"description": "The retention period, in days, for backs in the storage location.",
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
},
|
||||
"BackupLocationList": {
|
||||
"type": "object",
|
||||
"description": "List of backup locations.",
|
||||
"properties": {
|
||||
"value": {
|
||||
"description": "List of backup locations.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/BackupLocation"
|
||||
}
|
||||
},
|
||||
"nextLink": {
|
||||
"description": "URI to the next page.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PruneBackupStoreOperationType": {
|
||||
"description": "Prune backup store operation type.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Default",
|
||||
"DryRun"
|
||||
],
|
||||
"x-ms-enum": {
|
||||
"name": "PruneBackupStoreOperationType",
|
||||
"modelAsString": false
|
||||
}
|
||||
},
|
||||
"PruneBackupStoreOperationOptionModel": {
|
||||
"type": "object",
|
||||
"description": "Prune backup store operation model.",
|
||||
"properties": {
|
||||
"operationType": {
|
||||
"description": "Operation type.",
|
||||
"$ref": "#/definitions/PruneBackupStoreOperationType"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PruneModel": {
|
||||
"type": "object",
|
||||
"description": "Properties for a prune list.",
|
||||
"properties": {
|
||||
"pathsToDelete": {
|
||||
"description": "Garbage file list.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"x-ms-client-flatten": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"PruneList": {
|
||||
"type": "object",
|
||||
"description": "List of files to delete.",
|
||||
"properties": {
|
||||
"properties": {
|
||||
"description": "Holds information for a backup.",
|
||||
"$ref": "#/definitions/PruneModel",
|
||||
"x-ms-client-flatten": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"BackupLocationParameter": {
|
||||
"name": "location",
|
||||
"in": "path",
|
||||
"description": "Name of the backup location.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"x-ms-parameter-location": "method"
|
||||
},
|
||||
"BackupLocationObjectParameter": {
|
||||
"name": "backup",
|
||||
"in": "body",
|
||||
"description": "Backup location object.",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/BackupLocation"
|
||||
},
|
||||
"x-ms-parameter-location": "method"
|
||||
},
|
||||
"PruneBackupStoreOptionParameter": {
|
||||
"name": "option",
|
||||
"in": "body",
|
||||
"description": "Prune operation option.",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/PruneBackupStoreOperationOptionModel"
|
||||
},
|
||||
"x-ms-parameter-location": "method"
|
||||
}
|
||||
},
|
||||
"securityDefinitions": {
|
||||
"azure_auth": {
|
||||
"type": "oauth2",
|
||||
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
|
||||
"flow": "implicit",
|
||||
"description": "Authorization uses an Azure Active Directory OAuth2 flow.",
|
||||
"scopes": {
|
||||
"user_impersonation": "impersonate your user account"
|
||||
}
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"azure_auth": [
|
||||
"user_impersonation"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,380 +0,0 @@
|
|||
{
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
"version": "2021-09-01",
|
||||
"title": "BackupManagementClient",
|
||||
"description": "The Admin Backup Management Client."
|
||||
},
|
||||
"host": "management.azure.com",
|
||||
"schemes": [
|
||||
"https"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"paths": {
|
||||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Backup.Admin/backupLocations/{location}/backups": {
|
||||
"get": {
|
||||
"x-ms-examples": {
|
||||
"Returns a list of backups from a location.": {
|
||||
"$ref": "./examples/Backups/List.json"
|
||||
}
|
||||
},
|
||||
"description": "Returns a list of backups from a location.",
|
||||
"tags": [
|
||||
"Backups"
|
||||
],
|
||||
"operationId": "Backups_List",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/SubscriptionIdParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/ResourceGroupParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "BackupLocations.json#/parameters/BackupLocationParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/ApiVersionParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/TopParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/SkipParameter"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/BackupList"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "Error response.",
|
||||
"schema": {
|
||||
"$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-ms-pageable": {
|
||||
"nextLinkName": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Backup.Admin/backupLocations/{location}/backups/{backup}": {
|
||||
"get": {
|
||||
"x-ms-examples": {
|
||||
"Returns a backup from a location based on name.": {
|
||||
"$ref": "./examples/Backups/Get.json"
|
||||
}
|
||||
},
|
||||
"description": "Returns a backup from a location based on name.",
|
||||
"tags": [
|
||||
"Backups"
|
||||
],
|
||||
"operationId": "Backups_Get",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/SubscriptionIdParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/ResourceGroupParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "BackupLocations.json#/parameters/BackupLocationParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/BackupParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/ApiVersionParameter"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/Backup"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "Error response.",
|
||||
"schema": {
|
||||
"$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Backup.Admin/backupLocations/{location}/backups/{backup}/restore": {
|
||||
"post": {
|
||||
"x-ms-examples": {
|
||||
"Restore a backup.": {
|
||||
"$ref": "./examples/Backups/Restore.json"
|
||||
},
|
||||
"Restore a single role from backup.": {
|
||||
"$ref": "./examples/Backups/SingleRepoRestore.json"
|
||||
}
|
||||
},
|
||||
"description": "Restore a backup.",
|
||||
"tags": [
|
||||
"Backups"
|
||||
],
|
||||
"operationId": "Backups_Restore",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/SubscriptionIdParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "BackupLocations.json#/parameters/BackupLocationParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/parameters/ResourceGroupParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/BackupParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/ApiVersionParameter"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/RestoreOptionsParameter"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
},
|
||||
"202": {
|
||||
"description": "ACCEPTED"
|
||||
},
|
||||
"default": {
|
||||
"description": "Error response.",
|
||||
"schema": {
|
||||
"$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-ms-long-running-operation": true,
|
||||
"x-ms-long-running-operation-options": {
|
||||
"final-state-via": "location"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"Backup": {
|
||||
"description": "Information related to a backup.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"properties": {
|
||||
"description": "Properties for a backup.",
|
||||
"$ref": "#/definitions/BackupModel",
|
||||
"x-ms-client-flatten": true
|
||||
}
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "../../stable/2018-09-01/Backup.json#/definitions/Resource"
|
||||
}
|
||||
]
|
||||
},
|
||||
"BackupModel": {
|
||||
"type": "object",
|
||||
"description": "Properties for a backup.",
|
||||
"properties": {
|
||||
"backupInfo": {
|
||||
"description": "Holds information for a backup.",
|
||||
"x-ms-client-flatten": true,
|
||||
"$ref": "#/definitions/BackupInfo"
|
||||
}
|
||||
}
|
||||
},
|
||||
"BackupInfo": {
|
||||
"type": "object",
|
||||
"description": "Holds information for a backup.",
|
||||
"properties": {
|
||||
"backupDataVersion": {
|
||||
"description": "Version of the backup data.",
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
},
|
||||
"roleStatus": {
|
||||
"description": "Backup status for each role.",
|
||||
"$ref": "#/definitions/RoleOperationStatusList",
|
||||
"readOnly": true
|
||||
},
|
||||
"status": {
|
||||
"description": "Current status of the backup.",
|
||||
"$ref": "#/definitions/OperationStatus",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdDateTime": {
|
||||
"description": "Creation time of the backup.",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
},
|
||||
"timeTakenToCreate": {
|
||||
"description": "Duration to create the backup.",
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
},
|
||||
"deploymentID": {
|
||||
"description": "Deployment Id of the stamp.",
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
},
|
||||
"stampVersion": {
|
||||
"description": "Azure Stack stamp version of the backup.",
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
},
|
||||
"oemVersion": {
|
||||
"description": "OEM version.",
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
},
|
||||
"isCloudRecoveryReady": {
|
||||
"description": "True if the backup can be used for cloud recovery scenario.",
|
||||
"type": "boolean",
|
||||
"readOnly": true
|
||||
},
|
||||
"encryptionCertThumbprint": {
|
||||
"description": "The thumbprint of the certificate used to encrypt the backup encryption key.",
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"OperationStatus": {
|
||||
"description": "Status of an operation.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Creating",
|
||||
"Queued",
|
||||
"Running",
|
||||
"Deleted",
|
||||
"Failed",
|
||||
"Skipped",
|
||||
"PartialSucceeded",
|
||||
"Succeeded"
|
||||
],
|
||||
"x-ms-enum": {
|
||||
"name": "OperationStatus",
|
||||
"modelAsString": false
|
||||
}
|
||||
},
|
||||
"RoleOperationStatusList": {
|
||||
"description": "object",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/RoleOperationStatus"
|
||||
},
|
||||
"x-ms-identifiers": [
|
||||
"roleName"
|
||||
]
|
||||
},
|
||||
"RoleOperationStatus": {
|
||||
"description": "Backup status for a role.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"roleName": {
|
||||
"description": "Name of the role.",
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"description": "Status of the role.",
|
||||
"$ref": "#/definitions/OperationStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
"BackupList": {
|
||||
"type": "object",
|
||||
"description": "List of backups.",
|
||||
"properties": {
|
||||
"value": {
|
||||
"description": "List of backups.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/Backup"
|
||||
}
|
||||
},
|
||||
"nextLink": {
|
||||
"description": "URI to the next page.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"RestoreOptions": {
|
||||
"type": "object",
|
||||
"description": "Properties for restore options.",
|
||||
"properties": {
|
||||
"roleName": {
|
||||
"description": "The Azure Stack role name for restore, set it to empty for all infrastructure role",
|
||||
"type": "string"
|
||||
},
|
||||
"decryptionCertBase64": {
|
||||
"description": "The certificate file raw data in Base64 string. This should be the .pfx file with the private key.",
|
||||
"type": "string"
|
||||
},
|
||||
"decryptionCertPassword": {
|
||||
"description": "The password for the decryption certificate.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"ApiVersionParameter": {
|
||||
"name": "api-version",
|
||||
"in": "query",
|
||||
"description": "Client API version.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"default": "2021-09-01"
|
||||
},
|
||||
"BackupParameter": {
|
||||
"name": "backup",
|
||||
"in": "path",
|
||||
"description": "Name of the backup.",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"x-ms-parameter-location": "method"
|
||||
},
|
||||
"RestoreOptionsParameter": {
|
||||
"name": "restoreOptions",
|
||||
"in": "body",
|
||||
"description": "Restore options.",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/RestoreOptions"
|
||||
},
|
||||
"x-ms-parameter-location": "method"
|
||||
}
|
||||
},
|
||||
"securityDefinitions": {
|
||||
"azure_auth": {
|
||||
"type": "oauth2",
|
||||
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
|
||||
"flow": "implicit",
|
||||
"description": "Authorization uses an Azure Active Directory OAuth2 flow.",
|
||||
"scopes": {
|
||||
"user_impersonation": "impersonate your user account"
|
||||
}
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"azure_auth": [
|
||||
"user_impersonation"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,162 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "11111111-2222-3333-4444-555555555555",
|
||||
"resourceGroupName": "System.local",
|
||||
"location": "local",
|
||||
"api-version": "2021-09-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/system.local/providers/Microsoft.Backup.Admin/backupLocations/local/backups/64e8625a-8dc0-49df-a195-932901b4be81",
|
||||
"name": "local/64e8625a-8dc0-49df-a195-932901b4be81",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations/backups",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"backupInfo": {
|
||||
"backupDataVersion": "1.0.1",
|
||||
"roleStatus": [
|
||||
{
|
||||
"roleName": "NRP",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "SRP",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "CRP",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultInternalControlPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultInternalDataPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultControlPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultDataPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultNamingService",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "WAS",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "ECE",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "Domain",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "CA",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "ACS",
|
||||
"status": "Succeeded"
|
||||
}
|
||||
],
|
||||
"status": "Succeeded",
|
||||
"createdDateTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"timeTakenToCreate": "PT20M48.5970829S",
|
||||
"stampVersion": "1.1809.0.25",
|
||||
"oemVersion": null,
|
||||
"isCloudRecoveryReady": true,
|
||||
"deploymentID": "d3236bc0-6a46-4877-a9da-6fe69e9661df",
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/system.local/providers/Microsoft.Backup.Admin/backupLocations/local/backups/64e8625a-8dc0-49df-a195-932901b4be81",
|
||||
"name": "local/64e8625a-8dc0-49df-a195-932901b4be81",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations/backups",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"backupInfo": {
|
||||
"backupDataVersion": "1.0.1",
|
||||
"roleStatus": [
|
||||
{
|
||||
"roleName": "NRP",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "SRP",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "CRP",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultInternalControlPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultInternalDataPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultControlPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultDataPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultNamingService",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "WAS",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "ECE",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "Domain",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "CA",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "ACS",
|
||||
"status": "Succeeded"
|
||||
}
|
||||
],
|
||||
"status": "Succeeded",
|
||||
"createdDateTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"timeTakenToCreate": "PT20M48.5970829S",
|
||||
"stampVersion": "1.1809.0.25",
|
||||
"oemVersion": null,
|
||||
"isCloudRecoveryReady": true,
|
||||
"deploymentID": "d3236bc0-6a46-4877-a9da-6fe69e9661df",
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,79 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "11111111-2222-3333-4444-555555555555",
|
||||
"resourceGroupName": "System.local",
|
||||
"location": "local",
|
||||
"backup": {
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "",
|
||||
"userName": "",
|
||||
"password": "",
|
||||
"blobStorageUrl": "",
|
||||
"blobStorageKey": "",
|
||||
"encryptionCertBase64": "",
|
||||
"backupFrequencyInHours": null,
|
||||
"isBackupSchedulerEnabled": null,
|
||||
"backupRetentionPeriodInDays": null
|
||||
}
|
||||
},
|
||||
"location": "local",
|
||||
"tags": {}
|
||||
},
|
||||
"api-version": "2021-09-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/local",
|
||||
"name": "local",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "",
|
||||
"userName": "",
|
||||
"password": null,
|
||||
"blobStorageUrl": null,
|
||||
"blobStorageKey": null,
|
||||
"encryptionCertBase64": null,
|
||||
"encryptionCertThumbprint": null,
|
||||
"backupFrequencyInHours": 12,
|
||||
"availableCapacity": null,
|
||||
"isBackupSchedulerEnabled": null,
|
||||
"nextBackupTime": null,
|
||||
"lastBackupTime": null,
|
||||
"backupRetentionPeriodInDays": 7
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/local",
|
||||
"name": "local",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "",
|
||||
"userName": "",
|
||||
"password": null,
|
||||
"blobStorageUrl": "",
|
||||
"blobStorageKey": null,
|
||||
"encryptionCertBase64": null,
|
||||
"encryptionCertThumbprint": null,
|
||||
"backupFrequencyInHours": 12,
|
||||
"availableCapacity": null,
|
||||
"isBackupSchedulerEnabled": null,
|
||||
"nextBackupTime": null,
|
||||
"lastBackupTime": null,
|
||||
"backupRetentionPeriodInDays": 7
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "11111111-2222-3333-4444-555555555555",
|
||||
"resourceGroupName": "System.local",
|
||||
"location": "local",
|
||||
"api-version": "2021-09-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/local",
|
||||
"name": "local",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "",
|
||||
"userName": "",
|
||||
"password": null,
|
||||
"blobStorageUrl": "https://blobstore.blob.core.windows.net/7d92cab5",
|
||||
"blobStorageKey": null,
|
||||
"encryptionCertBase64": null,
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8",
|
||||
"backupFrequencyInHours": 10,
|
||||
"availableCapacity": "29.6 TB",
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"nextBackupTime": "2018-08-28T17:26:00.9454387Z",
|
||||
"lastBackupTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"backupRetentionPeriodInDays": 6
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "11111111-2222-3333-4444-555555555555",
|
||||
"resourceGroupName": "System.local",
|
||||
"location": "local",
|
||||
"api-version": "2021-09-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/local",
|
||||
"name": "local",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "\\\\su1fileserver\\SU1_Infrastructure_2\\BackupStore",
|
||||
"userName": "azurestack\\azurestackadmin",
|
||||
"password": null,
|
||||
"blobStorageUrl": null,
|
||||
"blobStorageKey": null,
|
||||
"encryptionCertBase64": null,
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8",
|
||||
"backupFrequencyInHours": 10,
|
||||
"availableCapacity": "29.6 TB",
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"nextBackupTime": "2018-08-28T17:26:00.9454387Z",
|
||||
"lastBackupTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"backupRetentionPeriodInDays": 6
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,63 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "11111111-2222-3333-4444-555555555555",
|
||||
"resourceGroupName": "System.local",
|
||||
"api-version": "2021-09-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"value": [
|
||||
{
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/fileshare",
|
||||
"name": "fileshare",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "\\\\su1fileserver\\SU1_Infrastructure_2\\BackupStore",
|
||||
"userName": "azurestack\\azurestackadmin",
|
||||
"password": null,
|
||||
"blobStorageUrl": null,
|
||||
"blobStorageKey": null,
|
||||
"encryptionCertBase64": null,
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8",
|
||||
"backupFrequencyInHours": 10,
|
||||
"availableCapacity": "29.6 TB",
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"nextBackupTime": "2018-08-28T17:26:00.9454387Z",
|
||||
"lastBackupTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"backupRetentionPeriodInDays": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/blob",
|
||||
"name": "blob",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "",
|
||||
"userName": "",
|
||||
"password": null,
|
||||
"blobStorageUrl": "https://blobstore.blob.core.windows.net/7d92cab5",
|
||||
"blobStorageKey": null,
|
||||
"encryptionCertBase64": null,
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8",
|
||||
"backupFrequencyInHours": 12,
|
||||
"availableCapacity": "29.6 TB",
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"nextBackupTime": "2018-08-28T17:26:00.9454387Z",
|
||||
"lastBackupTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"backupRetentionPeriodInDays": 8
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,76 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "11111111-2222-3333-4444-555555555555",
|
||||
"resourceGroupName": "System.local",
|
||||
"location": "local",
|
||||
"backup": {
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"blobStorageUrl": "https://blobstore.blob.core.windows.net/7d92cab5",
|
||||
"blobStorageKey": "blobStorageKey",
|
||||
"encryptionCertBase64": "encryptioncert",
|
||||
"backupFrequencyInHours": 10,
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"backupRetentionPeriodInDays": 6
|
||||
}
|
||||
},
|
||||
"location": "local",
|
||||
"tags": {}
|
||||
},
|
||||
"api-version": "2021-09-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/local",
|
||||
"name": "local",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "",
|
||||
"userName": "",
|
||||
"password": null,
|
||||
"blobStorageUrl": "https://blobstore.blob.core.windows.net/7d92cab5",
|
||||
"blobStorageKey": null,
|
||||
"encryptionCertBase64": null,
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8",
|
||||
"backupFrequencyInHours": 10,
|
||||
"availableCapacity": "29.6 TB",
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"nextBackupTime": "2018-08-28T17:26:00.9454387Z",
|
||||
"lastBackupTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"backupRetentionPeriodInDays": 6
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/local",
|
||||
"name": "local",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "",
|
||||
"userName": "",
|
||||
"password": null,
|
||||
"blobStorageUrl": "https://blobstore.blob.core.windows.net/7d92cab5",
|
||||
"blobStorageKey": null,
|
||||
"encryptionCertBase64": null,
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8",
|
||||
"backupFrequencyInHours": 10,
|
||||
"availableCapacity": "29.6 TB",
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"nextBackupTime": "2018-08-28T17:26:00.9454387Z",
|
||||
"lastBackupTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"backupRetentionPeriodInDays": 6
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,75 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "11111111-2222-3333-4444-555555555555",
|
||||
"resourceGroupName": "System.local",
|
||||
"location": "local",
|
||||
"backup": {
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "\\\\su1fileserver\\SU1_Infrastructure_2\\BackupStore",
|
||||
"userName": "azurestack\\azurestackadmin",
|
||||
"password": "password",
|
||||
"encryptionCertBase64": "encryptioncert",
|
||||
"backupFrequencyInHours": 12
|
||||
}
|
||||
},
|
||||
"location": "local",
|
||||
"tags": {}
|
||||
},
|
||||
"api-version": "2021-09-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/local",
|
||||
"name": "local",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "\\\\su1fileserver\\SU1_Infrastructure_2\\BackupStore",
|
||||
"userName": "azurestack\\azurestackadmin",
|
||||
"password": null,
|
||||
"blobStorageUrl": null,
|
||||
"blobStorageKey": null,
|
||||
"encryptionCertBase64": null,
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8",
|
||||
"backupFrequencyInHours": 12,
|
||||
"availableCapacity": "29.6 TB",
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"nextBackupTime": "2018-08-28T17:26:00.9454387Z",
|
||||
"lastBackupTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"backupRetentionPeriodInDays": 6
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/local",
|
||||
"name": "local",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "\\\\su1fileserver\\SU1_Infrastructure_2\\BackupStore",
|
||||
"userName": "azurestack\\azurestackadmin",
|
||||
"password": null,
|
||||
"blobStorageUrl": null,
|
||||
"blobStorageKey": null,
|
||||
"encryptionCertBase64": null,
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8",
|
||||
"backupFrequencyInHours": 12,
|
||||
"availableCapacity": "29.6 TB",
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"nextBackupTime": "2018-08-28T17:26:00.9454387Z",
|
||||
"lastBackupTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"backupRetentionPeriodInDays": 6
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "8742f75d-84ae-4f1b-b22e-0e63dde0d6f4",
|
||||
"resourceGroupName": "System.redmond",
|
||||
"location": "redmond",
|
||||
"api-version": "2021-09-01",
|
||||
"OperationType": "DryRun"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"properties": {
|
||||
"pathsToDelete": [
|
||||
"masbackup/progressivebackup/1.2011.0.23/BackupEncryptionCert.cer",
|
||||
"masbackup/progressivebackup/1.2011.0.23/BackupEncryptionCert.pfx"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"202": {}
|
||||
}
|
||||
}
|
|
@ -1,76 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "11111111-2222-3333-4444-555555555555",
|
||||
"resourceGroupName": "System.local",
|
||||
"location": "local",
|
||||
"backup": {
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"blobStorageUrl": "https://blobstore.blob.core.windows.net/7d92cab5",
|
||||
"blobStorageKey": "blobStorageKey",
|
||||
"encryptionCertBase64": "encryptioncert",
|
||||
"backupFrequencyInHours": 10,
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"backupRetentionPeriodInDays": 6
|
||||
}
|
||||
},
|
||||
"location": "local",
|
||||
"tags": {}
|
||||
},
|
||||
"api-version": "2021-09-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/local",
|
||||
"name": "local",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "",
|
||||
"userName": "",
|
||||
"password": null,
|
||||
"blobStorageUrl": "https://blobstore.blob.core.windows.net/7d92cab5",
|
||||
"blobStorageKey": null,
|
||||
"encryptionCertBase64": null,
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8",
|
||||
"backupFrequencyInHours": 10,
|
||||
"availableCapacity": "29.6 TB",
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"nextBackupTime": "2018-08-28T17:26:00.9454387Z",
|
||||
"lastBackupTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"backupRetentionPeriodInDays": 6
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/local",
|
||||
"name": "local",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "",
|
||||
"userName": "",
|
||||
"password": null,
|
||||
"blobStorageUrl": "https://blobstore.blob.core.windows.net/7d92cab5",
|
||||
"blobStorageKey": null,
|
||||
"encryptionCertBase64": null,
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8",
|
||||
"backupFrequencyInHours": 10,
|
||||
"availableCapacity": "29.6 TB",
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"nextBackupTime": "2018-08-28T17:26:00.9454387Z",
|
||||
"lastBackupTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"backupRetentionPeriodInDays": 6
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,77 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "11111111-2222-3333-4444-555555555555",
|
||||
"resourceGroupName": "System.local",
|
||||
"location": "local",
|
||||
"backup": {
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "\\\\su1fileserver\\SU1_Infrastructure_2\\BackupStore",
|
||||
"userName": "azurestack\\azurestackadmin",
|
||||
"password": "password",
|
||||
"encryptionCertBase64": "encryptioncert",
|
||||
"backupFrequencyInHours": 10,
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"backupRetentionPeriodInDays": 6
|
||||
}
|
||||
},
|
||||
"location": "local",
|
||||
"tags": {}
|
||||
},
|
||||
"api-version": "2021-09-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/local",
|
||||
"name": "local",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "\\\\su1fileserver\\SU1_Infrastructure_2\\BackupStore",
|
||||
"userName": "azurestack\\azurestackadmin",
|
||||
"password": null,
|
||||
"blobStorageUrl": null,
|
||||
"blobStorageKey": null,
|
||||
"encryptionCertBase64": null,
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8",
|
||||
"backupFrequencyInHours": 10,
|
||||
"availableCapacity": "29.6 TB",
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"nextBackupTime": "2018-08-28T17:26:00.9454387Z",
|
||||
"lastBackupTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"backupRetentionPeriodInDays": 6
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/local",
|
||||
"name": "local",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"externalStoreDefault": {
|
||||
"path": "\\\\su1fileserver\\SU1_Infrastructure_2\\BackupStore",
|
||||
"userName": "azurestack\\azurestackadmin",
|
||||
"password": null,
|
||||
"blobStorageUrl": null,
|
||||
"blobStorageKey": null,
|
||||
"encryptionCertBase64": null,
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8",
|
||||
"backupFrequencyInHours": 10,
|
||||
"availableCapacity": "29.6 TB",
|
||||
"isBackupSchedulerEnabled": false,
|
||||
"nextBackupTime": "2018-08-28T17:26:00.9454387Z",
|
||||
"lastBackupTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"backupRetentionPeriodInDays": 6
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,87 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "11111111-2222-3333-4444-555555555555",
|
||||
"resourceGroupName": "System.local",
|
||||
"location": "local",
|
||||
"backup": "64e8625a-8dc0-49df-a195-932901b4be81",
|
||||
"api-version": "2021-09-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/local/backups/64e8625a-8dc0-49df-a195-932901b4be81",
|
||||
"name": "64e8625a-8dc0-49df-a195-932901b4be81",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations/backups",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"backupInfo": {
|
||||
"backupDataVersion": "1.0.1",
|
||||
"roleStatus": [
|
||||
{
|
||||
"roleName": "NRP",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "SRP",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "CRP",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultInternalControlPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultInternalDataPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultControlPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultDataPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultNamingService",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "WAS",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "ECE",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "Domain",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "CA",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "ACS",
|
||||
"status": "Succeeded"
|
||||
}
|
||||
],
|
||||
"status": "Succeeded",
|
||||
"createdDateTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"timeTakenToCreate": "PT20M48.5970829S",
|
||||
"stampVersion": "1.1809.0.25",
|
||||
"oemVersion": null,
|
||||
"isCloudRecoveryReady": true,
|
||||
"deploymentID": "d3236bc0-6a46-4877-a9da-6fe69e9661df",
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,91 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "11111111-2222-3333-4444-555555555555",
|
||||
"resourceGroupName": "System.local",
|
||||
"location": "local",
|
||||
"api-version": "2021-09-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"value": [
|
||||
{
|
||||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/System.local/providers/Microsoft.Backup.Admin/backupLocations/local/backups/64e8625a-8dc0-49df-a195-932901b4be81",
|
||||
"name": "64e8625a-8dc0-49df-a195-932901b4be81",
|
||||
"type": "Microsoft.Backup.Admin/backupLocations/backups",
|
||||
"location": "local",
|
||||
"tags": {},
|
||||
"properties": {
|
||||
"backupInfo": {
|
||||
"backupDataVersion": "1.0.1",
|
||||
"roleStatus": [
|
||||
{
|
||||
"roleName": "NRP",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "SRP",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "CRP",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultInternalControlPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultInternalDataPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultControlPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultDataPlane",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "KeyVaultNamingService",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "WAS",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "ECE",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "Domain",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "CA",
|
||||
"status": "Succeeded"
|
||||
},
|
||||
{
|
||||
"roleName": "ACS",
|
||||
"status": "Succeeded"
|
||||
}
|
||||
],
|
||||
"status": "Succeeded",
|
||||
"createdDateTime": "2018-08-28T07:47:11.3081476Z",
|
||||
"timeTakenToCreate": "PT20M48.5970829S",
|
||||
"stampVersion": "1.1809.0.25",
|
||||
"oemVersion": null,
|
||||
"isCloudRecoveryReady": true,
|
||||
"deploymentID": "d3236bc0-6a46-4877-a9da-6fe69e9661df",
|
||||
"encryptionCertThumbprint": "BDB07F879C1F1A05B74EB43AEAF5E5B5F84DCEA8"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"nextLink": null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "11111111-2222-3333-4444-555555555555",
|
||||
"resourceGroupName": "System.local",
|
||||
"location": "local",
|
||||
"backup": "64e8625a-8dc0-49df-a195-932901b4be81",
|
||||
"restoreOptions": {
|
||||
"decryptionCertBase64": "decryptionCert",
|
||||
"decryptionCertPassword": "decryptionCertPassword"
|
||||
},
|
||||
"api-version": "2021-09-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {},
|
||||
"202": {}
|
||||
}
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
"parameters": {
|
||||
"subscriptionId": "11111111-2222-3333-4444-555555555555",
|
||||
"resourceGroupName": "System.local",
|
||||
"location": "local",
|
||||
"backup": "64e8625a-8dc0-49df-a195-932901b4be81",
|
||||
"restoreOptions": {
|
||||
"roleName": "fakerp",
|
||||
"decryptionCertBase64": "decryptionCert",
|
||||
"decryptionCertPassword": "decryptionCertPassword"
|
||||
},
|
||||
"api-version": "2021-09-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {},
|
||||
"202": {}
|
||||
}
|
||||
}
|
|
@ -24,7 +24,7 @@ These are the global settings for the Backup Admin API.
|
|||
title: BackupAdminClient
|
||||
description: Backup Admin Client
|
||||
openapi-type: arm
|
||||
tag: package-2021-09-01
|
||||
tag: package-2018-09-01
|
||||
```
|
||||
|
||||
### Tag: package-2018-09-01
|
||||
|
@ -38,17 +38,6 @@ input-file:
|
|||
- Microsoft.Backup.Admin/stable/2018-09-01/Backups.json
|
||||
```
|
||||
|
||||
### Tag: package-2021-09-01
|
||||
|
||||
These settings apply only when `--tag=package-2021-09-01` is specified on the command line.
|
||||
|
||||
``` yaml $(tag) == 'package-2021-09-01'
|
||||
input-file:
|
||||
- Microsoft.Backup.Admin/stable/2018-09-01/Backup.json
|
||||
- Microsoft.Backup.Admin/preview/2021-09-01/BackupLocations.json
|
||||
- Microsoft.Backup.Admin/preview/2021-09-01/Backups.json
|
||||
```
|
||||
|
||||
---
|
||||
# Code Generation
|
||||
|
||||
|
@ -78,8 +67,6 @@ input-file:
|
|||
- $(this-folder)/Microsoft.Backup.Admin/stable/2018-09-01/Backup.json
|
||||
- $(this-folder)/Microsoft.Backup.Admin/stable/2018-09-01/BackupLocations.json
|
||||
- $(this-folder)/Microsoft.Backup.Admin/stable/2018-09-01/Backups.json
|
||||
- $(this-folder)/Microsoft.Backup.Admin/preview/2021-09-01/BackupLocations.json
|
||||
- $(this-folder)/Microsoft.Backup.Admin/preview/2021-09-01/Backups.json
|
||||
|
||||
```
|
||||
If there are files that should not be in the `all-api-versions` set,
|
||||
|
|
Загрузка…
Ссылка в новой задаче