From fc9d359ec989f4c6a22e632b1d23d5a7570273ea Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 14 Sep 2021 20:41:40 +0000 Subject: [PATCH] CodeGen from PR 16041 in Azure/azure-rest-api-specs Merge b945cc77e573ef69b4e524e114f088beb709e9a4 into ee1dc806b00b73458a7d0de7b05da3c56c756cfb --- .../Microsoft.StorageSync.json | 699 ---------------- schemas/2018-04-02/Microsoft.StorageSync.json | 640 --------------- schemas/2018-07-01/Microsoft.StorageSync.json | 504 ------------ schemas/2018-10-01/Microsoft.StorageSync.json | 523 ------------ schemas/2019-02-01/Microsoft.StorageSync.json | 523 ------------ schemas/2019-03-01/Microsoft.StorageSync.json | 527 ------------ schemas/2019-06-01/Microsoft.StorageSync.json | 527 ------------ schemas/2019-10-01/Microsoft.StorageSync.json | 527 ------------ schemas/2020-03-01/Microsoft.StorageSync.json | 753 ----------------- schemas/2020-09-01/Microsoft.StorageSync.json | 769 ------------------ schemas/common/autogeneratedResources.json | 156 ---- 11 files changed, 6148 deletions(-) delete mode 100644 schemas/2017-06-05-preview/Microsoft.StorageSync.json delete mode 100644 schemas/2018-04-02/Microsoft.StorageSync.json delete mode 100644 schemas/2018-07-01/Microsoft.StorageSync.json delete mode 100644 schemas/2018-10-01/Microsoft.StorageSync.json delete mode 100644 schemas/2019-02-01/Microsoft.StorageSync.json delete mode 100644 schemas/2019-03-01/Microsoft.StorageSync.json delete mode 100644 schemas/2019-06-01/Microsoft.StorageSync.json delete mode 100644 schemas/2019-10-01/Microsoft.StorageSync.json delete mode 100644 schemas/2020-03-01/Microsoft.StorageSync.json delete mode 100644 schemas/2020-09-01/Microsoft.StorageSync.json diff --git a/schemas/2017-06-05-preview/Microsoft.StorageSync.json b/schemas/2017-06-05-preview/Microsoft.StorageSync.json deleted file mode 100644 index f9dcb99642..0000000000 --- a/schemas/2017-06-05-preview/Microsoft.StorageSync.json +++ /dev/null @@ -1,699 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-06-05-preview/Microsoft.StorageSync.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.StorageSync", - "description": "Microsoft StorageSync Resource Types", - "resourceDefinitions": { - "storageSyncServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-06-05-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of Storage Sync Service resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/StorageSyncServiceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Storage Sync Service Properties object." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_registeredServers_childResource" - } - ] - } - }, - "tags": { - "type": "object", - "properties": {}, - "description": "The tags of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices" - }, - "storageSyncServices_registeredServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-06-05-preview" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "RegisteredServer Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-06-05-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SyncGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SyncGroup Properties object." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_cloudEndpoints_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_syncGroups_serverEndpoints_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-06-05-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-06-05-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - }, - "definitions": { - "CloudEndpointProperties": { - "type": "object", - "properties": { - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "lastWorkflowId": { - "type": "string", - "description": "CloudEndpoint lastWorkflowId" - }, - "partnershipId": { - "type": "string", - "description": "Partnership Id" - }, - "provisioningState": { - "type": "string", - "description": "CloudEndpoint Provisioning State" - }, - "storageAccount": { - "type": "string", - "description": "Storage Account name." - }, - "storageAccountKey": { - "type": "string", - "description": "Storage Account access key." - }, - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "storageAccountShareName": { - "type": "string", - "description": "Storage Account Share name" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - } - }, - "description": "CloudEndpoint Properties object." - }, - "RegisteredServerProperties": { - "type": "object", - "properties": { - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "lastWorkflowId": { - "type": "string", - "description": "Registered Server lastWorkflowId" - }, - "provisioningState": { - "type": "string", - "description": "Registered Server Provisioning State" - }, - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "serverManagementtErrorCode": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Registered Server Management Error Code" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - }, - "storageSyncServiceUid": { - "type": "string", - "description": "Registered Server storageSyncServiceUid" - } - }, - "description": "RegisteredServer Properties object." - }, - "ServerEndpointProperties": { - "type": "object", - "properties": { - "byteProgress": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Bytes in progress" - }, - "byteTotal": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Bytes total" - }, - "cloudTiering": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cloud Tiering." - }, - "currentProgressType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "none", - "initialize", - "download", - "upload", - "recall" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "current progress type." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "itemDownloadErrorCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Item download error count." - }, - "itemProgressCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Item Progress Count" - }, - "itemTotalCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Item Total Count" - }, - "itemUploadErrorCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Item Upload Error Count." - }, - "lastSyncSuccess": { - "type": "string", - "format": "date-time", - "description": "Last Sync Success" - }, - "lastWorkflowId": { - "type": "string", - "description": "ServerEndpoint lastWorkflowId" - }, - "provisioningState": { - "type": "string", - "description": "ServerEndpoint Provisioning State" - }, - "serverLocalPath": { - "type": "string", - "description": "Server folder used for data synchronization" - }, - "serverResourceId": { - "type": "string", - "description": "Arm resource identifier." - }, - "syncErrorContext": { - "type": "string", - "description": "sync error context." - }, - "syncErrorDirection": { - "oneOf": [ - { - "type": "string", - "enum": [ - "none", - "initialize", - "download", - "upload", - "recall" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sync Error Direction." - }, - "syncErrorState": { - "type": "string", - "description": "Sync Error State" - }, - "syncErrorStateTimestamp": { - "type": "string", - "format": "date-time", - "description": "Sync Error State Timestamp" - }, - "totalProgress": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Total progress" - }, - "volumeFreeSpacePercent": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - } - }, - "description": "ServerEndpoint Properties object." - }, - "StorageSyncServiceProperties": { - "type": "object", - "properties": {}, - "description": "Storage Sync Service Properties object." - }, - "storageSyncServices_registeredServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-06-05-preview" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "RegisteredServer Properties object." - }, - "type": { - "type": "string", - "enum": [ - "registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-06-05-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SyncGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SyncGroup Properties object." - }, - "type": { - "type": "string", - "enum": [ - "syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-06-05-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-06-05-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - }, - "SyncGroupProperties": { - "type": "object", - "properties": { - "uniqueId": { - "type": "string", - "description": "Unique Id" - } - }, - "description": "SyncGroup Properties object." - } - } -} \ No newline at end of file diff --git a/schemas/2018-04-02/Microsoft.StorageSync.json b/schemas/2018-04-02/Microsoft.StorageSync.json deleted file mode 100644 index 545a1e6cbd..0000000000 --- a/schemas/2018-04-02/Microsoft.StorageSync.json +++ /dev/null @@ -1,640 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-04-02/Microsoft.StorageSync.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.StorageSync", - "description": "Microsoft StorageSync Resource Types", - "resourceDefinitions": { - "storageSyncServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-04-02" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Storage Sync Service resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_registeredServers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices" - }, - "storageSyncServices_registeredServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-04-02" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "RegisteredServer Properties object." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-04-02" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_cloudEndpoints_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_syncGroups_serverEndpoints_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-04-02" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-04-02" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - }, - "definitions": { - "CloudEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "storageAccountShareName": { - "type": "string", - "description": "Storage Account Share name" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - } - }, - "description": "CloudEndpoint Properties object." - }, - "RegisteredServerCreateParametersProperties": { - "type": "object", - "properties": { - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - } - }, - "description": "RegisteredServer Properties object." - }, - "ServerEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "cloudTiering": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cloud Tiering." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "serverLocalPath": { - "type": "string", - "description": "Server folder used for data synchronization" - }, - "serverResourceId": { - "type": "string", - "description": "Arm resource identifier." - }, - "volumeFreeSpacePercent": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - } - }, - "description": "ServerEndpoint Properties object." - }, - "storageSyncServices_registeredServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-04-02" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "RegisteredServer Properties object." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-04-02" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-04-02" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-04-02" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } -} \ No newline at end of file diff --git a/schemas/2018-07-01/Microsoft.StorageSync.json b/schemas/2018-07-01/Microsoft.StorageSync.json deleted file mode 100644 index 5ce33e714c..0000000000 --- a/schemas/2018-07-01/Microsoft.StorageSync.json +++ /dev/null @@ -1,504 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-07-01/Microsoft.StorageSync.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.StorageSync", - "description": "Microsoft StorageSync Resource Types", - "resourceDefinitions": { - "storageSyncServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-01" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Storage Sync Service resource." - }, - "properties": { - "type": "object", - "properties": {} - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_registeredServers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices" - }, - "storageSyncServices_registeredServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_cloudEndpoints_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_syncGroups_serverEndpoints_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - }, - "definitions": { - "CloudEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "storageAccountShareName": { - "type": "string", - "description": "Storage Account Share name" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - } - }, - "description": "CloudEndpoint Properties object." - }, - "RegisteredServerCreateParametersProperties": { - "type": "object", - "properties": { - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - } - } - }, - "ServerEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "cloudTiering": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cloud Tiering." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "serverLocalPath": { - "type": "string", - "description": "Server folder used for data synchronization" - }, - "serverResourceId": { - "type": "string", - "description": "Arm resource identifier." - }, - "tierFilesOlderThanDays": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tier files older than days." - }, - "volumeFreeSpacePercent": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - } - }, - "description": "ServerEndpoint Properties object." - }, - "storageSyncServices_registeredServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "type": { - "type": "string", - "enum": [ - "syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } -} \ No newline at end of file diff --git a/schemas/2018-10-01/Microsoft.StorageSync.json b/schemas/2018-10-01/Microsoft.StorageSync.json deleted file mode 100644 index 662ff35284..0000000000 --- a/schemas/2018-10-01/Microsoft.StorageSync.json +++ /dev/null @@ -1,523 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.StorageSync.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.StorageSync", - "description": "Microsoft StorageSync Resource Types", - "resourceDefinitions": { - "storageSyncServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-10-01" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Storage Sync Service resource." - }, - "properties": { - "type": "object", - "properties": {} - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_registeredServers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices" - }, - "storageSyncServices_registeredServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-10-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-10-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_cloudEndpoints_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_syncGroups_serverEndpoints_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-10-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-10-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - }, - "definitions": { - "CloudEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "storageAccountShareName": { - "type": "string", - "description": "Storage Account Share name" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - } - }, - "description": "CloudEndpoint Properties object." - }, - "RegisteredServerCreateParametersProperties": { - "type": "object", - "properties": { - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - } - } - }, - "ServerEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "cloudTiering": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cloud Tiering." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "offlineDataTransfer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Offline data transfer." - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - }, - "serverLocalPath": { - "type": "string", - "description": "Server folder used for data synchronization" - }, - "serverResourceId": { - "type": "string", - "description": "Arm resource identifier." - }, - "tierFilesOlderThanDays": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tier files older than days." - }, - "volumeFreeSpacePercent": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - } - }, - "description": "ServerEndpoint Properties object." - }, - "storageSyncServices_registeredServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-10-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-10-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "type": { - "type": "string", - "enum": [ - "syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-10-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-10-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } -} \ No newline at end of file diff --git a/schemas/2019-02-01/Microsoft.StorageSync.json b/schemas/2019-02-01/Microsoft.StorageSync.json deleted file mode 100644 index d5fd708ea4..0000000000 --- a/schemas/2019-02-01/Microsoft.StorageSync.json +++ /dev/null @@ -1,523 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-02-01/Microsoft.StorageSync.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.StorageSync", - "description": "Microsoft StorageSync Resource Types", - "resourceDefinitions": { - "storageSyncServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-02-01" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Storage Sync Service resource." - }, - "properties": { - "type": "object", - "properties": {} - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_registeredServers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices" - }, - "storageSyncServices_registeredServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-02-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-02-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_cloudEndpoints_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_syncGroups_serverEndpoints_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-02-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-02-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - }, - "definitions": { - "CloudEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "azureFileShareName": { - "type": "string", - "description": "Azure file share name" - }, - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - } - }, - "description": "CloudEndpoint Properties object." - }, - "RegisteredServerCreateParametersProperties": { - "type": "object", - "properties": { - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - } - } - }, - "ServerEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "cloudTiering": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cloud Tiering." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "offlineDataTransfer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Offline data transfer." - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - }, - "serverLocalPath": { - "type": "string", - "description": "Server folder used for data synchronization" - }, - "serverResourceId": { - "type": "string", - "description": "Arm resource identifier." - }, - "tierFilesOlderThanDays": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tier files older than days." - }, - "volumeFreeSpacePercent": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - } - }, - "description": "ServerEndpoint Properties object." - }, - "storageSyncServices_registeredServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-02-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-02-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "type": { - "type": "string", - "enum": [ - "syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-02-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-02-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } -} \ No newline at end of file diff --git a/schemas/2019-03-01/Microsoft.StorageSync.json b/schemas/2019-03-01/Microsoft.StorageSync.json deleted file mode 100644 index 49a55e3898..0000000000 --- a/schemas/2019-03-01/Microsoft.StorageSync.json +++ /dev/null @@ -1,527 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.StorageSync.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.StorageSync", - "description": "Microsoft StorageSync Resource Types", - "resourceDefinitions": { - "storageSyncServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-03-01" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Storage Sync Service resource." - }, - "properties": { - "type": "object", - "properties": {} - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_registeredServers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices" - }, - "storageSyncServices_registeredServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-03-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-03-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_cloudEndpoints_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_syncGroups_serverEndpoints_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-03-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-03-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - }, - "definitions": { - "CloudEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "azureFileShareName": { - "type": "string", - "description": "Azure file share name" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - } - }, - "description": "CloudEndpoint Properties object." - }, - "RegisteredServerCreateParametersProperties": { - "type": "object", - "properties": { - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - } - } - }, - "ServerEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "cloudTiering": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cloud Tiering." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "offlineDataTransfer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Offline data transfer." - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - }, - "serverLocalPath": { - "type": "string", - "description": "Server folder used for data synchronization" - }, - "serverResourceId": { - "type": "string", - "description": "Arm resource identifier." - }, - "tierFilesOlderThanDays": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tier files older than days." - }, - "volumeFreeSpacePercent": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - } - }, - "description": "ServerEndpoint Properties object." - }, - "storageSyncServices_registeredServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-03-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-03-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "type": { - "type": "string", - "enum": [ - "syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-03-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-03-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } -} \ No newline at end of file diff --git a/schemas/2019-06-01/Microsoft.StorageSync.json b/schemas/2019-06-01/Microsoft.StorageSync.json deleted file mode 100644 index 46977b01c9..0000000000 --- a/schemas/2019-06-01/Microsoft.StorageSync.json +++ /dev/null @@ -1,527 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.StorageSync.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.StorageSync", - "description": "Microsoft StorageSync Resource Types", - "resourceDefinitions": { - "storageSyncServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Storage Sync Service resource." - }, - "properties": { - "type": "object", - "properties": {} - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_registeredServers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices" - }, - "storageSyncServices_registeredServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_cloudEndpoints_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_syncGroups_serverEndpoints_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - }, - "definitions": { - "CloudEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "azureFileShareName": { - "type": "string", - "description": "Azure file share name" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - } - }, - "description": "CloudEndpoint Properties object." - }, - "RegisteredServerCreateParametersProperties": { - "type": "object", - "properties": { - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - } - } - }, - "ServerEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "cloudTiering": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cloud Tiering." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "offlineDataTransfer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Offline data transfer." - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - }, - "serverLocalPath": { - "type": "string", - "description": "Server folder used for data synchronization" - }, - "serverResourceId": { - "type": "string", - "description": "Arm resource identifier." - }, - "tierFilesOlderThanDays": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tier files older than days." - }, - "volumeFreeSpacePercent": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - } - }, - "description": "ServerEndpoint Properties object." - }, - "storageSyncServices_registeredServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "type": { - "type": "string", - "enum": [ - "syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01/Microsoft.StorageSync.json b/schemas/2019-10-01/Microsoft.StorageSync.json deleted file mode 100644 index 8ddb067faf..0000000000 --- a/schemas/2019-10-01/Microsoft.StorageSync.json +++ /dev/null @@ -1,527 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.StorageSync.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.StorageSync", - "description": "Microsoft StorageSync Resource Types", - "resourceDefinitions": { - "storageSyncServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Storage Sync Service resource." - }, - "properties": { - "type": "object", - "properties": {} - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_registeredServers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices" - }, - "storageSyncServices_registeredServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_cloudEndpoints_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_syncGroups_serverEndpoints_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - }, - "definitions": { - "CloudEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "azureFileShareName": { - "type": "string", - "description": "Azure file share name" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - } - }, - "description": "CloudEndpoint Properties object." - }, - "RegisteredServerCreateParametersProperties": { - "type": "object", - "properties": { - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - } - } - }, - "ServerEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "cloudTiering": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cloud Tiering." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "offlineDataTransfer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Offline data transfer." - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - }, - "serverLocalPath": { - "type": "string", - "description": "Server folder used for data synchronization" - }, - "serverResourceId": { - "type": "string", - "description": "Arm resource identifier." - }, - "tierFilesOlderThanDays": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tier files older than days." - }, - "volumeFreeSpacePercent": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - } - }, - "description": "ServerEndpoint Properties object." - }, - "storageSyncServices_registeredServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "type": { - "type": "string", - "enum": [ - "syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } -} \ No newline at end of file diff --git a/schemas/2020-03-01/Microsoft.StorageSync.json b/schemas/2020-03-01/Microsoft.StorageSync.json deleted file mode 100644 index a442aa29b6..0000000000 --- a/schemas/2020-03-01/Microsoft.StorageSync.json +++ /dev/null @@ -1,753 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StorageSync.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.StorageSync", - "description": "Microsoft StorageSync Resource Types", - "resourceDefinitions": { - "storageSyncServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Storage Sync Service resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/StorageSyncServiceCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "StorageSyncService Properties object." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_syncGroups_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_registeredServers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices" - }, - "storageSyncServices_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/privateEndpointConnections" - }, - "storageSyncServices_registeredServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "RegisteredServer Create Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_cloudEndpoints_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_syncGroups_serverEndpoints_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - }, - "definitions": { - "CloudEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "azureFileShareName": { - "type": "string", - "description": "Azure file share name" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - } - }, - "description": "CloudEndpoint Properties object." - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "RegisteredServerCreateParametersProperties": { - "type": "object", - "properties": { - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - } - }, - "description": "RegisteredServer Create Properties object." - }, - "ServerEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "cloudTiering": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cloud Tiering." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "initialDownloadPolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "NamespaceOnly", - "NamespaceThenModifiedFiles", - "AvoidTieredFiles" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Policy for how namespace and files are recalled during FastDr." - }, - "localCacheMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DownloadNewAndModifiedFiles", - "UpdateLocallyCachedFiles" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access." - }, - "offlineDataTransfer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Offline data transfer." - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - }, - "serverLocalPath": { - "type": "string", - "description": "Server folder used for data synchronization" - }, - "serverResourceId": { - "type": "string", - "description": "Arm resource identifier." - }, - "tierFilesOlderThanDays": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tier files older than days." - }, - "volumeFreeSpacePercent": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - } - }, - "description": "ServerEndpoint Properties object." - }, - "StorageSyncServiceCreateParametersProperties": { - "type": "object", - "properties": { - "incomingTrafficPolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "AllowAllTraffic", - "AllowVirtualNetworksOnly" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Incoming Traffic Policy." - } - }, - "description": "StorageSyncService Properties object." - }, - "storageSyncServices_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/privateEndpointConnections" - }, - "storageSyncServices_registeredServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "RegisteredServer Create Properties object." - }, - "type": { - "type": "string", - "enum": [ - "registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "type": { - "type": "string", - "enum": [ - "syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } -} \ No newline at end of file diff --git a/schemas/2020-09-01/Microsoft.StorageSync.json b/schemas/2020-09-01/Microsoft.StorageSync.json deleted file mode 100644 index 330b653be2..0000000000 --- a/schemas/2020-09-01/Microsoft.StorageSync.json +++ /dev/null @@ -1,769 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.StorageSync.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.StorageSync", - "description": "Microsoft StorageSync Resource Types", - "resourceDefinitions": { - "storageSyncServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "name": { - "type": "string", - "description": "Name of Storage Sync Service resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/StorageSyncServiceCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "StorageSyncService Properties object." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_syncGroups_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_registeredServers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices" - }, - "storageSyncServices_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/privateEndpointConnections" - }, - "storageSyncServices_registeredServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "RegisteredServer Create Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/storageSyncServices_syncGroups_cloudEndpoints_childResource" - }, - { - "$ref": "#/definitions/storageSyncServices_syncGroups_serverEndpoints_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - }, - "definitions": { - "CloudEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "azureFileShareName": { - "type": "string", - "description": "Azure file share name" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "storageAccountResourceId": { - "type": "string", - "description": "Storage Account Resource Id" - }, - "storageAccountTenantId": { - "type": "string", - "description": "Storage Account Tenant Id" - } - }, - "description": "CloudEndpoint Properties object." - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "RegisteredServerCreateParametersProperties": { - "type": "object", - "properties": { - "agentVersion": { - "type": "string", - "description": "Registered Server Agent Version" - }, - "clusterId": { - "type": "string", - "description": "Registered Server clusterId" - }, - "clusterName": { - "type": "string", - "description": "Registered Server clusterName" - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "lastHeartBeat": { - "type": "string", - "description": "Registered Server last heart beat" - }, - "serverCertificate": { - "type": "string", - "description": "Registered Server Certificate" - }, - "serverId": { - "type": "string", - "description": "Registered Server serverId" - }, - "serverOSVersion": { - "type": "string", - "description": "Registered Server OS Version" - }, - "serverRole": { - "type": "string", - "description": "Registered Server serverRole" - } - }, - "description": "RegisteredServer Create Properties object." - }, - "ServerEndpointCreateParametersProperties": { - "type": "object", - "properties": { - "cloudTiering": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cloud Tiering." - }, - "friendlyName": { - "type": "string", - "description": "Friendly Name" - }, - "initialDownloadPolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "NamespaceOnly", - "NamespaceThenModifiedFiles", - "AvoidTieredFiles" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Policy for how namespace and files are recalled during FastDr." - }, - "initialUploadPolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServerAuthoritative", - "Merge" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Policy for how the initial upload sync session is performed." - }, - "localCacheMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DownloadNewAndModifiedFiles", - "UpdateLocallyCachedFiles" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access." - }, - "offlineDataTransfer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "on", - "off" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Offline data transfer." - }, - "offlineDataTransferShareName": { - "type": "string", - "description": "Offline data transfer share name" - }, - "serverLocalPath": { - "type": "string", - "description": "Server folder used for data synchronization" - }, - "serverResourceId": { - "type": "string", - "description": "Arm resource identifier." - }, - "tierFilesOlderThanDays": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tier files older than days." - }, - "volumeFreeSpacePercent": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100, - "default": "20" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." - } - }, - "description": "ServerEndpoint Properties object." - }, - "StorageSyncServiceCreateParametersProperties": { - "type": "object", - "properties": { - "incomingTrafficPolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "AllowAllTraffic", - "AllowVirtualNetworksOnly" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Incoming Traffic Policy." - } - }, - "description": "StorageSyncService Properties object." - }, - "storageSyncServices_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/privateEndpointConnections" - }, - "storageSyncServices_registeredServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "name": { - "type": "string", - "description": "GUID identifying the on-premises server." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RegisteredServerCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "RegisteredServer Create Properties object." - }, - "type": { - "type": "string", - "enum": [ - "registeredServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/registeredServers" - }, - "storageSyncServices_syncGroups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Sync Group resource." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "Sync Group Create Properties object." - }, - "type": { - "type": "string", - "enum": [ - "syncGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups" - }, - "storageSyncServices_syncGroups_cloudEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Cloud Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CloudEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CloudEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "cloudEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" - }, - "storageSyncServices_syncGroups_serverEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "name": { - "type": "string", - "description": "Name of Server Endpoint object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServerEndpointCreateParametersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ServerEndpoint Properties object." - }, - "type": { - "type": "string", - "enum": [ - "serverEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 14326aeac6..114233dd90 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -10597,162 +10597,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.StoragePool.json#/resourceDefinitions/diskPools_iscsiTargets" }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-06-05-preview/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-06-05-preview/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_registeredServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-06-05-preview/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-06-05-preview/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_cloudEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-06-05-preview/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_serverEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-04-02/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-04-02/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_registeredServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-04-02/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-04-02/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_cloudEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-04-02/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_serverEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-07-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-07-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_registeredServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-07-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-07-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_cloudEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-07-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_serverEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_registeredServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_cloudEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_serverEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-02-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-02-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_registeredServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-02-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-02-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_cloudEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-02-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_serverEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_registeredServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_cloudEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_serverEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_registeredServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_cloudEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_serverEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_registeredServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_cloudEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_serverEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_registeredServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_cloudEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_serverEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_registeredServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_cloudEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices_syncGroups_serverEndpoints" - }, { "$ref": "https://schema.management.azure.com/schemas/2016-10-01/Microsoft.StorSimple.1200.json#/resourceDefinitions/managers" },