From 6c7bc1ed6a9aad53b7cfa0bb70fb9fdd90394c99 Mon Sep 17 00:00:00 2001 From: Gordon Hamilton Date: Mon, 13 Sep 2021 22:37:01 +0100 Subject: [PATCH] Wandisco.Fusion Add 2021-05-01-preview API (Refactoring of 2021-02-01-preview) (#4228) * Copy of 2021-02-01-preview to 2021-05-01-preview * Introduced Wandisco.Fusion 2021-05-01-preview API. This is a refactoring of 2021-02-01-preview, but remains functionally equivalent. * Addressed Avocado errors from Azure pipeline for Wandisco.Fusion. * Wandisco.Fusion syncing swagger definitions --- .../2021-05-01-preview/commonTypes.json | 199 + .../examples/FusionGroup/AzureZoneCreate.json | 79 + .../FusionGroup/AzureZoneCreateHA.json | 66 + .../AzureZoneCreateManagedIdentity.json | 74 + .../examples/FusionGroup/AzureZoneDelete.json | 14 + .../examples/FusionGroup/AzureZoneGet.json | 37 + .../examples/FusionGroup/AzureZoneList.json | 41 + .../examples/FusionGroup/AzureZonePatch.json | 43 + .../FusionGroup/AzureZoneResourceList.json | 35 + .../FusionGroup/ConsistencyCheckStart.json | 18 + .../FusionGroup/FusionGroupCreate.json | 64 + .../FusionGroupCreateWithLabel.json | 80 + .../FusionGroup/FusionGroupDelete.json | 12 + .../examples/FusionGroup/FusionGroupGet.json | 34 + .../FusionGroupGetWithHealthStatus.json | 42 + .../FusionGroup/FusionGroupPatch.json | 39 + .../FusionGroup/FusionGroupsList.json | 35 + .../FusionGroupsListBySubscription.json | 34 + .../HiveConsistencyCheckStart.json | 13 + .../HiveReplicationRuleCreate.json | 69 + .../HiveReplicationRuleDelete.json | 14 + .../FusionGroup/HiveReplicationRuleGet.json | 35 + .../FusionGroup/HiveReplicationRulePatch.json | 40 + .../FusionGroup/HiveReplicationRulesList.json | 39 + .../FusionGroup/ManagedOnPremZoneCreate.json | 71 + .../FusionGroup/ManagedOnPremZoneDelete.json | 14 + .../FusionGroup/ManagedOnPremZoneGet.json | 35 + .../FusionGroup/ManagedOnPremZoneInduct.json | 13 + .../FusionGroup/ManagedOnPremZoneList.json | 38 + .../FusionGroup/ManagedOnPremZonePatch.json | 40 + ...nagedOnPremZoneUpdateDownloadLocation.json | 13 + .../examples/FusionGroup/MigrationAbort.json | 13 + .../examples/FusionGroup/MigrationCreate.json | 39 + .../examples/FusionGroup/MigrationDelete.json | 14 + .../examples/FusionGroup/MigrationGet.json | 32 + .../examples/FusionGroup/MigrationList.json | 36 + .../examples/FusionGroup/MigrationPause.json | 13 + .../examples/FusionGroup/MigrationResume.json | 13 + .../examples/FusionGroup/PluginCreate.json | 67 + .../examples/FusionGroup/PluginDelete.json | 15 + .../examples/FusionGroup/PluginGet.json | 35 + .../examples/FusionGroup/PluginList.json | 39 + .../examples/FusionGroup/PluginPatch.json | 40 + .../FusionGroup/ReplicationRuleCreate.json | 88 + .../FusionGroup/ReplicationRuleDelete.json | 14 + .../FusionGroup/ReplicationRuleGet.json | 37 + .../FusionGroup/ReplicationRulePatch.json | 50 + .../FusionGroup/ReplicationRulesList.json | 41 + .../ExclusionTemplateCreate.json | 64 + .../ExclusionTemplateDelete.json | 14 + .../ExclusionTemplateGet.json | 36 + .../ExclusionTemplateList.json | 40 + .../ExclusionTemplatePatch.json | 41 + .../LiveDataMigrationCreate.json | 121 + .../LiveDataMigrationDelete.json | 13 + .../LiveDataMigrationExclusionsPatch.json | 133 + .../LiveDataMigrationGet.json | 52 + .../LiveDataMigrationList.json | 56 + .../LiveDataMigrationStart.json | 12 + .../LiveDataMigrationStop.json | 12 + .../LiveDataMigrationTagsPatch.json | 112 + .../MetadataMigrationCreate.json | 72 + .../MetadataMigrationDelete.json | 14 + .../MetadataMigrationGet.json | 38 + .../MetadataMigrationList.json | 41 + .../MetadataMigrationPatch.json | 41 + .../MetadataMigrationStart.json | 12 + .../MetadataMigrationStop.json | 12 + .../MetadataTargetCreate.json | 82 + .../MetadataTargetDelete.json | 14 + .../LiveDataMigrator/MetadataTargetGet.json | 39 + .../LiveDataMigrator/MetadataTargetList.json | 42 + .../LiveDataMigrator/MetadataTargetPatch.json | 44 + .../MigratorBandwidthPatch.json | 79 + .../LiveDataMigrator/MigratorCreate.json | 96 + .../LiveDataMigrator/MigratorDelete.json | 13 + .../MigratorGenerateUpgrade.json | 12 + .../LiveDataMigrator/MigratorGet.json | 41 + .../MigratorGetInstallKey.json | 15 + .../LiveDataMigrator/MigratorList.json | 44 + .../LiveDataMigrator/MigratorTagPatch.json | 77 + .../MigratorTargetCreate.json | 70 + .../MigratorTargetDelete.json | 14 + .../LiveDataMigrator/MigratorTargetGet.json | 35 + .../LiveDataMigrator/MigratorTargetList.json | 38 + .../LiveDataMigrator/MigratorTargetPatch.json | 40 + .../MigratorUpdateDownloadLocation.json | 12 + .../MigratorsListBySubscription.json | 41 + .../LiveDataMigrator/PathMappingCreate.json | 75 + .../LiveDataMigrator/PathMappingDelete.json | 14 + .../LiveDataMigrator/PathMappingGet.json | 37 + .../LiveDataMigrator/PathMappingList.json | 41 + .../LiveDataMigrator/PathMappingPatch.json | 42 + .../Operations/OperationStatusGet.json | 27 + .../Operations/OperationStatusGetError.json | 22 + .../Operations/OperationStatusPatch.json | 19 + .../WandiscoFusionListOperations.json | 13 + .../2021-05-01-preview/fusionGroups.json | 3211 ++++++++++++++++ .../preview/2021-05-01-preview/migrators.json | 3362 +++++++++++++++++ .../2021-05-01-preview/operations.json | 279 ++ .../fusion/resource-manager/readme.md | 10 +- 101 files changed, 10901 insertions(+), 1 deletion(-) create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/commonTypes.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneCreate.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneCreateHA.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneCreateManagedIdentity.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneDelete.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZonePatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneResourceList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ConsistencyCheckStart.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupCreate.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupCreateWithLabel.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupDelete.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupGetWithHealthStatus.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupPatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupsList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupsListBySubscription.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveConsistencyCheckStart.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRuleCreate.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRuleDelete.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRuleGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRulePatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRulesList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneCreate.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneDelete.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneInduct.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZonePatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneUpdateDownloadLocation.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationAbort.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationCreate.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationDelete.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationPause.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationResume.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginCreate.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginDelete.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginPatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRuleCreate.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRuleDelete.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRuleGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRulePatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRulesList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateCreate.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateDelete.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplatePatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationCreate.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationDelete.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationExclusionsPatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationStart.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationStop.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationTagsPatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationCreate.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationDelete.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationPatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationStart.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationStop.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetCreate.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetDelete.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetPatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorBandwidthPatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorCreate.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorDelete.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorGenerateUpgrade.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorGetInstallKey.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTagPatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetCreate.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetDelete.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetPatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorUpdateDownloadLocation.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorsListBySubscription.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingCreate.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingDelete.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingList.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingPatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/Operations/OperationStatusGet.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/Operations/OperationStatusGetError.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/Operations/OperationStatusPatch.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/WandiscoFusionListOperations.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/fusionGroups.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/migrators.json create mode 100644 specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/operations.json diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/commonTypes.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/commonTypes.json new file mode 100644 index 000000000000..d06133a22e0e --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/commonTypes.json @@ -0,0 +1,199 @@ +{ + "swagger": "2.0", + "info": { + "title": "WANDisco Fusion", + "description": "WANDisco Fusion", + "version": "2021-05-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": {}, + "definitions": { + "TagsUpdate": { + "description": "Resource tags", + "type": "object", + "properties": { + "tags": { + "description": "resource tags.", + "type": "object", + "readOnly": false, + "additionalProperties": { + "type": "string" + } + } + } + }, + "FrpResource": { + "description": "An Azure resource.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "location": { + "description": "Location of the resource.", + "type": "string", + "readOnly": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "description": "resource tags.", + "type": "object", + "readOnly": false, + "additionalProperties": { + "type": "string" + } + }, + "systemData": { + "title": "SystemData", + "description": "System metadata for Resource", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "FrpProxyResource": { + "title": "Proxy resource type", + "description": "An azure proxy resource", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "systemData": { + "title": "SystemData", + "description": "System metadata for Resource", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "Allowance": { + "description": "The remaining allowance included as part of any plan for a resource", + "type": "object", + "properties": { + "remainingData": { + "description": "The number of MBs remaining", + "type": "integer", + "format": "int64", + "readOnly": true + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The possible Provisioning States", + "enum": [ + "Accepted", + "Canceled", + "Succeeded", + "Failed", + "Deleting", + "NotSpecified" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + }, + "readOnly": true + }, + "Plan": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "A user defined name of the 3rd Party Artifact that is being procured." + }, + "publisher": { + "type": "string", + "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" + }, + "product": { + "type": "string", + "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. " + }, + "promotionCode": { + "type": "string", + "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." + }, + "version": { + "type": "string", + "description": "The version of the desired product/artifact." + } + }, + "description": "Plan for the resource.", + "required": [ + "name", + "publisher", + "product" + ] + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription ID." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "LocationNameParameter": { + "name": "locationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the location", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneCreate.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneCreate.json new file mode 100644 index 000000000000..0fff9f7409af --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneCreate.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "azureZoneName": "azureZoneCreate", + "azureZone": { + "location": "East US", + "properties": { + "virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", + "subnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/DEV/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/azureZoneSub", + "vmSize": "Small", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageAccessKey": "azureStorageAccessKey", + "storageContainer": "azureZoneStorageContainer" + }, + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName", + "name": "azureZoneCreate", + "properties": { + "virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", + "subnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/DEV/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/azureZoneSub", + "vmSize": "Small", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "azureZoneStorageContainer", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/azureZones", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName", + "name": "azureZoneCreate", + "properties": { + "virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", + "subnet": "azureZoneSub", + "vmSize": "Small", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "azureZoneStorageContainer", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/azureZones", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneCreateHA.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneCreateHA.json new file mode 100644 index 000000000000..4898533ef013 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneCreateHA.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "azureZoneName": "azureZoneCreate", + "azureZone": { + "location": "East US", + "properties": { + "virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", + "subnet": "azureZoneSub", + "vmSize": "Small", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageAccessKey": "azureStorageAccessKey", + "storageContainer": "azureZoneStorageContainer", + "nodeCount": 3 + }, + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName", + "name": "azureZoneCreate", + "properties": { + "virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", + "subnet": "azureZoneSub", + "vmSize": "Small", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "azureZoneStorageContainer", + "nodeCount": 3, + "provisioningState": "Succeeded" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/azureZones", + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName", + "name": "azureZoneCreate", + "properties": { + "virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", + "subnet": "azureZoneSub", + "vmSize": "Small", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "azureZoneStorageContainer", + "nodeCount": 3, + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/azureZones", + "tags": { + "tagKey1": "TagValue1" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneCreateManagedIdentity.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneCreateManagedIdentity.json new file mode 100644 index 000000000000..c4651038f67c --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneCreateManagedIdentity.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "azureZoneName": "azureZoneCreate", + "azureZone": { + "location": "East US", + "properties": { + "virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", + "subnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/DEV/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/azureZoneSub", + "vmSize": "Small", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "azureZoneStorageContainer", + "storageManagedIdentity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/fusionGroupTestRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity_1": {} + } + } + }, + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName", + "name": "azureZoneCreate", + "properties": { + "virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", + "subnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/DEV/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/azureZoneSub", + "vmSize": "Small", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "azureZoneStorageContainer", + "storageManagedIdentity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/fusionGroupTestRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity_1": {} + } + }, + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/azureZones", + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName", + "name": "azureZoneCreate", + "properties": { + "virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", + "subnet": "azureZoneSub", + "vmSize": "Small", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "azureZoneStorageContainer", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/azureZones", + "tags": { + "tagKey1": "TagValue1" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneDelete.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneDelete.json new file mode 100644 index 000000000000..f6195e759728 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "azureZoneName": "azureZoneCreate" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneGet.json new file mode 100644 index 000000000000..fa7123e2212d --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "azureZoneName": "azureZoneGet" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName", + "name": "azureZoneGet", + "properties": { + "virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", + "subnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/DEV/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/azureZoneSub", + "vmSize": "Small", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "azureZoneStorageContainer" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/azureZones", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneList.json new file mode 100644 index 000000000000..82f6a5d4c161 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones", + "name": "azureZoneGet", + "type": "Wandisco.Fusion/fusionGroups/azureZones", + "location": "East US", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + }, + "properties": { + "virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", + "subnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/DEV/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/azureZoneSub", + "vmSize": "Small", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "azureZoneStorageContainer" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZonePatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZonePatch.json new file mode 100644 index 000000000000..ba4d3e0c500a --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZonePatch.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "azureZoneName": "azureZoneCreate", + "azureZone": { + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName", + "name": "azureZoneCreate", + "properties": { + "virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", + "subnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/DEV/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/azureZoneSub", + "vmSize": "Small", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "azureZoneStorageContainer", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/azureZones", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneResourceList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneResourceList.json new file mode 100644 index 000000000000..bae1ab96c643 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneResourceList.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "azureZoneName": "myAzureZone" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName", + "name": "azureZoneCreate", + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/azureZones", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ConsistencyCheckStart.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ConsistencyCheckStart.json new file mode 100644 index 000000000000..35fdc9990cb6 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ConsistencyCheckStart.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "replicationRuleName": "repl1", + "consistencyCheckOptions": { + "properties": { + "type": "Blocking", + "nonBlockingThreshold": 0 + } + } + }, + "responses": { + "200": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupCreate.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupCreate.json new file mode 100644 index 000000000000..8eb656f3246c --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupCreate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupCreateTestName", + "api-version": "2021-05-01-preview", + "fusionGroup": { + "tags": { + "tagKey1": "TagValue1" + }, + "properties": {}, + "location": "East US" + } + }, + "responses": { + "200": { + "body": { + "name": "fusionGroupCreateTestName", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + }, + "properties": { + "provisioningState": "Succeeded", + "allowance": { + "remainingData": 25000000 + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupCreateTestName", + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups" + } + }, + "201": { + "body": { + "name": "fusionGroupCreateTestName", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + }, + "properties": { + "provisioningState": "Accepted" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupCreateTestName", + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups" + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupCreateWithLabel.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupCreateWithLabel.json new file mode 100644 index 000000000000..ae883ae8b4e7 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupCreateWithLabel.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupCreateTestName", + "api-version": "2021-05-01-preview", + "fusionGroup": { + "tags": { + "tagKey1": "TagValue1" + }, + "properties": { + "label": "My Group" + }, + "plan": { + "name": "A plan", + "publisher": "Publisher Name", + "product": "00000000-1111-2222-3333-444444444444" + }, + "location": "East US" + } + }, + "responses": { + "200": { + "body": { + "name": "fusionGroupCreateTestName", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + }, + "properties": { + "label": "My Group", + "provisioningState": "Succeeded" + }, + "plan": { + "name": "A plan", + "publisher": "Publisher Name", + "product": "00000000-1111-2222-3333-444444444444" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupCreateTestName", + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups" + } + }, + "201": { + "body": { + "name": "fusionGroupCreateTestName", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + }, + "properties": { + "label": "My Group", + "provisioningState": "Accepted" + }, + "plan": { + "name": "A plan", + "publisher": "Publisher Name", + "product": "00000000-1111-2222-3333-444444444444" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupCreateTestName", + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups" + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupDelete.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupDelete.json new file mode 100644 index 000000000000..979e9f90a0ea --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupDelete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupGet.json new file mode 100644 index 000000000000..e77280e29bb4 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupGetName", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "name": "fusionGroupGetName", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + }, + "properties": { + "allowance": { + "remainingData": 12345678 + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupGetName", + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups" + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupGetWithHealthStatus.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupGetWithHealthStatus.json new file mode 100644 index 000000000000..dd475e4841d7 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupGetWithHealthStatus.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupGetName", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "name": "fusionGroupGetName", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + }, + "properties": { + "label": "Fusion Group", + "provisioningState": "Succeeded", + "healthStatus": { + "details": [ + { + "code": "FailureCode", + "message": "Something went wrong when processing a request, to resolve it you need to ..." + } + ], + "status": "Failed" + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupGetName", + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups" + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupPatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupPatch.json new file mode 100644 index 000000000000..ae74d80fd36a --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupPatch.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupCreateTestName", + "api-version": "2021-05-01-preview", + "fusionGroup": { + "tags": { + "tagKey1": "TagValue1" + }, + "properties": {}, + "location": "East US" + } + }, + "responses": { + "200": { + "body": { + "name": "fusionGroupCreateTestName", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + }, + "properties": { + "provisioningState": "Accepted" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupCreateTestName", + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups" + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupsList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupsList.json new file mode 100644 index 000000000000..2a3b7707ae1b --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupsList.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups", + "name": "fusionGroupCreateTestName", + "type": "Wandisco.Fusion/fusionGroups", + "location": "East US", + "properties": { + "label": "Group Zero" + }, + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupsListBySubscription.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupsListBySubscription.json new file mode 100644 index 000000000000..b2dc4d4e2fbc --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/FusionGroupsListBySubscription.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Wandisco.Fusion/fusionGroups", + "name": "fusionGroupCreateTestName", + "type": "Wandisco.Fusion/fusionGroups", + "location": "East US", + "properties": { + "label": "Group Zero" + }, + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveConsistencyCheckStart.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveConsistencyCheckStart.json new file mode 100644 index 000000000000..d8099306a1cc --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveConsistencyCheckStart.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "hiveReplicationRuleName": "hiverepl1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRuleCreate.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRuleCreate.json new file mode 100644 index 000000000000..e71bebab7383 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRuleCreate.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "hiveReplicationRuleName": "repl1", + "hiveReplicationRule": { + "location": "East US", + "properties": { + "dbNamePattern": "*", + "tableNamePattern": "*" + }, + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/hiveReplicationRules/hiveReplicationRuleName", + "name": "hiveReplicationRuleCreate", + "properties": { + "dbNamePattern": "*", + "tableNamePattern": "*", + "provisioningState": "Succeeded" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/hiveReplicationRules", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/hiveReplicationRules/hiveReplicationRuleName", + "name": "hiveReplicationRuleCreate", + "properties": { + "dbNamePattern": "*", + "tableNamePattern": "*", + "provisioningState": "Succeeded" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/hiveReplicationRules", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRuleDelete.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRuleDelete.json new file mode 100644 index 000000000000..9ac68d61557a --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRuleDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "hiveReplicationRuleName": "repl1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRuleGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRuleGet.json new file mode 100644 index 000000000000..c7f5e64dc998 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRuleGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "hiveReplicationRuleName": "repl1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/hiveReplicationRules/repl1", + "name": "hiveReplicationRuleGet", + "properties": { + "dbNamePattern": "*", + "tableNamePattern": "*", + "provisioningState": "Succeeded" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/hiveReplicationRules", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRulePatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRulePatch.json new file mode 100644 index 000000000000..51b49dc4db5f --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRulePatch.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "hiveReplicationRuleName": "repl1", + "hiveReplicationRule": { + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/hiveReplicationRules/hiveReplicationRuleName", + "name": "hiveReplicationRuleCreate", + "properties": { + "dbNamePattern": "*", + "tableNamePattern": "*", + "provisioningState": "Succeeded" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/hiveReplicationRules", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRulesList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRulesList.json new file mode 100644 index 000000000000..d4114b0e759a --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/HiveReplicationRulesList.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/hiveReplicationRules", + "name": "hiveReplicationRulesList", + "type": "Wandisco.Fusion/fusionGroups/hiveReplicationRuless", + "location": "East US", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + }, + "properties": { + "dbNamePattern": "*", + "tableNamePattern": "*", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneCreate.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneCreate.json new file mode 100644 index 000000000000..1835f6f6ceff --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneCreate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "managedOnPremZoneName": "myManagedOnPremZone", + "ManagedOnPremZone": { + "location": "East US", + "properties": { + "deploymentType": "HDPSandbox", + "externalIp": "127.0.0.1" + }, + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/managedOnPremZones/managedOnPremZoneName", + "name": "managedOnPremZoneCreate", + "properties": { + "deploymentType": "HDPSandbox", + "externalIp": "127.0.0.1", + "provisioningState": "Succeeded", + "downloadLocation": "https://downloadlocation.com" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/managedOnPremZones", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/managedOnPremZones/managedOnPremZoneName", + "name": "managedOnPremZoneCreate", + "properties": { + "deploymentType": "HDPSandbox", + "externalIp": "127.0.0.1", + "provisioningState": "Accepted", + "downloadLocation": "https://downloadlocation.com" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/managedOnPremZones", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneDelete.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneDelete.json new file mode 100644 index 000000000000..bd9ba00fca31 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "managedOnPremZoneName": "ManagedOnPremZoneName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneGet.json new file mode 100644 index 000000000000..8476d7d7b65c --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "managedOnPremZoneName": "ManagedOnPremZoneName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/ManagedOnPremZones/managedOnPremZoneName", + "name": "managedOnPremZoneGet", + "properties": { + "provisioningState": "Succeeded", + "deploymentType": "HDPSandbox", + "externalIp": "127.0.0.1" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/managedOnPremZones", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneInduct.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneInduct.json new file mode 100644 index 000000000000..be1d52891b35 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneInduct.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "managedOnPremZoneName": "managedOnPremZone" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneList.json new file mode 100644 index 000000000000..b16a18efc02b --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/ManagedOnPremZones", + "name": "ManagedonPremZoneName", + "properties": { + "provisioningState": "Accepted", + "deploymentType": "HDPSandbox", + "externalIp": "127.0.0.1" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/managedOnPremZones", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZonePatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZonePatch.json new file mode 100644 index 000000000000..142c0e95355f --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZonePatch.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "managedOnPremZoneName": "ManagedOnPremZoneName", + "ManagedOnPremZone": { + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/ManagedOnPremZones/managedOnPremZoneName", + "name": "ManagedOnPremZoneName", + "properties": { + "provisioningState": "Accepted", + "deploymentType": "HDPSandbox", + "externalIp": "127.0.0.1" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/managedOnPremZones", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneUpdateDownloadLocation.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneUpdateDownloadLocation.json new file mode 100644 index 000000000000..be1d52891b35 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ManagedOnPremZoneUpdateDownloadLocation.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "managedOnPremZoneName": "managedOnPremZone" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationAbort.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationAbort.json new file mode 100644 index 000000000000..ddd28dbf10e3 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationAbort.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "replicationRuleName": "repl", + "migrationName": "userAssignedIdentity" + }, + "responses": { + "200": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationCreate.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationCreate.json new file mode 100644 index 000000000000..bf941163dbea --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationCreate.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "replicationRuleName": "repl", + "migrationName": "userAssignedIdentity", + "migration": { + "properties": { + "source": "sourceZone", + "target": "targetZone", + "overwritePolicy": "Clobber" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/replicationRules/repl/migrations/userAssignedIdentity", + "name": "userAssignedIdentity", + "type": "Wandisco.Fusion/fusionGroups/replicationRules/migrations", + "properties": { + "source": "sourceZone", + "target": "targetZone", + "overwritePolicy": "Clobber" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationDelete.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationDelete.json new file mode 100644 index 000000000000..1c3a25634244 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "replicationRuleName": "repl", + "migrationName": "userAssignedIdentity" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationGet.json new file mode 100644 index 000000000000..5dcbaa1ac174 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "replicationRuleName": "repl", + "migrationName": "userAssignedIdentity" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/replicationRules/repl/migrations/userAssignedIdentity", + "name": "userAssignedIdentity", + "type": "Wandisco.Fusion/fusionGroups/replicationRules/migrations", + "properties": { + "source": "sourceZone", + "target": "targetZone", + "overwritePolicy": "Clobber" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationList.json new file mode 100644 index 000000000000..35c1024b19fb --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "replicationRuleName": "repl" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/replicationRules/repl/migrations/userAssignedIdentity", + "name": "userAssignedIdentity", + "type": "Wandisco.Fusion/fusionGroups/replicationRules/migrations", + "properties": { + "source": "sourceZone", + "target": "targetZone", + "overwritePolicy": "Clobber" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationPause.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationPause.json new file mode 100644 index 000000000000..ddd28dbf10e3 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationPause.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "replicationRuleName": "repl", + "migrationName": "userAssignedIdentity" + }, + "responses": { + "200": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationResume.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationResume.json new file mode 100644 index 000000000000..ddd28dbf10e3 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/MigrationResume.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "replicationRuleName": "repl", + "migrationName": "userAssignedIdentity" + }, + "responses": { + "200": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginCreate.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginCreate.json new file mode 100644 index 000000000000..421e7991a3d1 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginCreate.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "azureZoneName": "azureZoneCreate", + "pluginName": "pluginName", + "plugin": { + "location": "East US", + "properties": { + "pluginKind": "LiveHiveHdiFusionClient" + }, + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName/plugins/pluginName", + "name": "plugin", + "properties": { + "pluginKind": "LiveHiveHdiFusionClient", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/azureZones/plugins", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName/plugins/pluginName", + "name": "azureZoneCreate", + "properties": { + "pluginKind": "LiveHiveHdiFusionClient", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/azureZones/plugins", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginDelete.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginDelete.json new file mode 100644 index 000000000000..99ad56e14a3d --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "azureZoneName": "azureZoneName", + "pluginName": "pluginName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginGet.json new file mode 100644 index 000000000000..7bf9b3e4839c --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "azureZoneName": "azureZoneGet", + "pluginName": "pluginName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName/plugins/pluginName", + "name": "pluginGet", + "properties": { + "pluginKind": "LiveHiveHdiFusionClient", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/azureZones/plugins", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginList.json new file mode 100644 index 000000000000..97e791a03bec --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginList.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "azureZoneName": "azureZone" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName/plugins/pluginName", + "name": "pluginGet", + "properties": { + "pluginKind": "LiveHiveHdiFusionClient", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/azureZones/plugins", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginPatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginPatch.json new file mode 100644 index 000000000000..687169455e64 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/PluginPatch.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "azureZoneName": "azureZoneCreate", + "pluginName": "pluginName", + "plugin": { + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName/plugins/pluginName", + "name": "plugin", + "properties": { + "pluginKind": "LiveHiveHdiFusionClient", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/azureZones/plugins", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRuleCreate.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRuleCreate.json new file mode 100644 index 000000000000..33263394d70c --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRuleCreate.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "replicationRuleName": "repl1", + "replicationRule": { + "location": "East US", + "properties": { + "path": "/root" + }, + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/replicationRules/replicationRuleName", + "name": "replicationRuleCreate", + "properties": { + "path": "/root", + "provisioningState": "Accepted", + "zoneNames": [ + "zone1", + "zone2" + ], + "priorityZone": "zone1", + "pathMapping": [ + { + "zone": "zone1", + "path": "/other" + } + ] + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/replicationRules", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/replicationRules/replicationRuleName", + "name": "replicationRuleCreate", + "properties": { + "path": "/root", + "provisioningState": "Accepted", + "zoneNames": [ + "zone1", + "zone2" + ], + "priorityZone": "zone1", + "pathMapping": [ + { + "zone": "zone1", + "path": "/other" + } + ] + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/replicationRules", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRuleDelete.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRuleDelete.json new file mode 100644 index 000000000000..821eb5dc9b01 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRuleDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "replicationRuleName": "repl1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRuleGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRuleGet.json new file mode 100644 index 000000000000..8e47d98e69a8 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRuleGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "replicationRuleName": "repl1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/replicationRules/repl1", + "name": "replicationRuleGet", + "properties": { + "path": "/root", + "recentConsistencyReport": { + "lastCheck": "2017-07-21T17:32:28Z", + "result": "Consistent" + } + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/replicationRules", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRulePatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRulePatch.json new file mode 100644 index 000000000000..dd180acc60d8 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRulePatch.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview", + "replicationRuleName": "repl1", + "replicationRule": { + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/replicationRules/replicationRuleName", + "name": "replicationRuleCreate", + "properties": { + "path": "/root", + "provisioningState": "Accepted", + "zoneNames": [ + "zone1", + "zone2" + ], + "priorityZone": "zone1", + "pathMapping": [ + { + "zone": "zone1", + "path": "/other" + } + ] + }, + "location": "East US", + "type": "Wandisco.Fusion/fusionGroups/replicationRules", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRulesList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRulesList.json new file mode 100644 index 000000000000..e55dacea03c9 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/ReplicationRulesList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "fusionGroupTestRG", + "fusionGroupName": "fusionGroupName", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/replicationRules", + "name": "replicationRulesList", + "type": "Wandisco.Fusion/fusionGroups/replicationRules", + "location": "East US", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + }, + "properties": { + "path": "/root", + "recentConsistencyReport": { + "lastCheck": "2017-07-21T17:32:28Z", + "result": "Consistent" + } + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateCreate.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateCreate.json new file mode 100644 index 000000000000..747ef9844e6a --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateCreate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "exclusionTestRG", + "migratorName": "exclusionTestMigrator", + "api-version": "2021-01-01-preview", + "exclusionTemplateName": "exclusionName", + "exclusion": { + "location": "East US", + "properties": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + }, + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/exclusionTestRG/providers/Wandisco.Fusion/migrators/migratorName/exclusionTemplates/exclusionName", + "name": "exclusionName", + "properties": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/exclusionTemplates", + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/exclusionTestRG/providers/Wandisco.Fusion/migrators/migratorName/exclusionTemplates/exclusionName", + "name": "exclusionName", + "properties": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/exclusionTemplates", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateDelete.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateDelete.json new file mode 100644 index 000000000000..60be083be8c1 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "exclusionTestRG", + "migratorName": "exclusionTestMigrator", + "api-version": "2021-01-01-preview", + "exclusionTemplateName": "exclusionName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateGet.json new file mode 100644 index 000000000000..44e0593fd9e8 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "exclusionTestRG", + "migratorName": "exclusionTestMigrator", + "api-version": "2021-01-01-preview", + "exclusionTemplateName": "exclusionName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/exclusionTestRG/providers/Wandisco.Fusion/migrators/migratorName/exclusionTemplates/exclusionName", + "name": "exclusionName", + "properties": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/exclusionTemplates", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateList.json new file mode 100644 index 000000000000..549c4c9cfec7 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplateList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "exclusionTestRG", + "migratorName": "exclusionTestMigrator", + "api-version": "2021-01-01-preview" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/exclusionTestRG/providers/Wandisco.Fusion/migrators/migratorName/exclusionTemplates/exclusionName", + "name": "exclusionName", + "properties": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/exclusionTemplates", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplatePatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplatePatch.json new file mode 100644 index 000000000000..3dff302e3783 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/ExclusionTemplatePatch.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "exclusionTestRG", + "migratorName": "exclusionTestMigrator", + "api-version": "2021-01-01-preview", + "exclusionTemplateName": "exclusionName", + "exclusion": { + "tags": { + "tagKey1": "TagValue2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/exclusionTestRG/providers/Wandisco.Fusion/migrators/migratorName/exclusionTemplates/exclusionName", + "name": "exclusionName", + "properties": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z", + "provisioningState": "Succeeded" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/exclusionTemplates", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationCreate.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationCreate.json new file mode 100644 index 000000000000..3183adbc9cd1 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationCreate.json @@ -0,0 +1,121 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migratorName", + "migrationName": "migrationName", + "migration": { + "properties": { + "path": "/repl1", + "targetId": "11111111-2222-3333-4444", + "exclusions": [ + { + "name": "exclusion1", + "isDefault": false, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + }, + { + "name": "exclusion2", + "isDefault": true, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "path": "/repl1", + "targetId": "11111111-2222-3333-4444", + "migrationStatus": "Scheduled", + "exclusions": [ + { + "name": "exclusion1", + "isDefault": false, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + }, + { + "name": "exclusion2", + "isDefault": true, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + } + ], + "migrationId": "11111111-3333-4444-5555", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "properties": { + "path": "/repl1", + "targetId": "11111111-2222-3333-4444", + "migrationStatus": "Scheduled", + "exclusions": [ + { + "name": "exclusion1", + "isDefault": false, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + }, + { + "name": "exclusion2", + "isDefault": true, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + } + ], + "migrationId": "11111111-3333-4444-5555", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationDelete.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationDelete.json new file mode 100644 index 000000000000..d95729cde223 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migratorName", + "migrationName": "migrationName" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationExclusionsPatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationExclusionsPatch.json new file mode 100644 index 000000000000..9997a3f82ceb --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationExclusionsPatch.json @@ -0,0 +1,133 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-01-01-preview", + "migratorName": "migrator", + "migrationName": "migrationName", + "LiveDataMigration": { + "properties": { + "exclusions": [ + { + "name": "exclusion1", + "isDefault": false, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + }, + { + "name": "exclusion2", + "isDefault": true, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migrationName", + "name": "migrationName", + "properties": { + "path": "/repl1", + "targetId": "11111111-2222-3333-4444", + "migrationStatus": "Scheduled", + "exclusions": [ + { + "name": "exclusion1", + "isDefault": false, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + }, + { + "name": "exclusion2", + "isDefault": true, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + } + ], + "migrationId": "11111111-3333-4444-5555", + "provisioningState": "Succeeded" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migrationName", + "name": "migrationName", + "properties": { + "path": "/repl1", + "targetId": "11111111-2222-3333-4444", + "migrationStatus": "Scheduled", + "exclusions": [ + { + "name": "exclusion1", + "isDefault": false, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + }, + { + "name": "exclusion2", + "isDefault": true, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + } + ], + "migrationId": "11111111-3333-4444-5555", + "provisioningState": "Succeeded" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators", + "tags": { + "tagKey1": "TagValue2" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationGet.json new file mode 100644 index 000000000000..7d4e539bde8e --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationGet.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migratorName", + "migrationName": "migrationName" + }, + "responses": { + "200": { + "body": { + "properties": { + "path": "/repl1", + "targetId": "11111111-2222-3333-4444", + "migrationStatus": "Scheduled", + "exclusions": [ + { + "name": "exclusion1", + "isDefault": false, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + }, + { + "name": "exclusion2", + "isDefault": true, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + } + ], + "migrationId": "11111111-3333-4444-5555", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationList.json new file mode 100644 index 000000000000..182edc0ae749 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migrationTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migratorName" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "properties": { + "path": "/repl1", + "targetId": "11111111-2222-3333-4444", + "migrationStatus": "Scheduled", + "exclusions": [ + { + "name": "exclusion1", + "isDefault": false, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + }, + { + "name": "exclusion2", + "isDefault": true, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + } + ], + "migrationId": "11111111-3333-4444-5555", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationStart.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationStart.json new file mode 100644 index 000000000000..93a4ac1dc16b --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationStart.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migratorName", + "migrationName": "migrationName" + }, + "responses": { + "200": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationStop.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationStop.json new file mode 100644 index 000000000000..93a4ac1dc16b --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationStop.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migratorName", + "migrationName": "migrationName" + }, + "responses": { + "200": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationTagsPatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationTagsPatch.json new file mode 100644 index 000000000000..c9fe86f4ae45 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/LiveDataMigrationTagsPatch.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migrator", + "migrationName": "migrationName", + "LiveDataMigration": { + "tags": { + "tagKey1": "TagValue2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migrationName", + "name": "migrationName", + "properties": { + "path": "/repl1", + "targetId": "11111111-2222-3333-4444", + "migrationStatus": "Scheduled", + "exclusions": [ + { + "name": "exclusion1", + "isDefault": false, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + }, + { + "name": "exclusion2", + "isDefault": true, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + } + ], + "migrationId": "11111111-3333-4444-5555", + "provisioningState": "Succeeded" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators", + "tags": { + "tagKey1": "TagValue2" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migrationName", + "name": "migrationName", + "properties": { + "path": "/repl1", + "targetId": "11111111-2222-3333-4444", + "migrationStatus": "Scheduled", + "exclusions": [ + { + "name": "exclusion1", + "isDefault": false, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + }, + { + "name": "exclusion2", + "isDefault": true, + "isFsRestriction": false, + "details": { + "exclusionKind": "DateExclusion", + "description": "Explains what this exclusion does", + "dateForExclusion": "2018-12-10T13:45:00.000Z" + } + } + ], + "migrationId": "11111111-3333-4444-5555", + "provisioningState": "Succeeded" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators", + "tags": { + "tagKey1": "TagValue2" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationCreate.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationCreate.json new file mode 100644 index 000000000000..9e4f26aaf62a --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationCreate.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migrator", + "migrationName": "metadataMigrationName", + "MetadataMigration": { + "location": "East US", + "tags": { + "tagKey1": "TagValue1" + }, + "properties": { + "targetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataTargets/targetName", + "dbNamePattern": "*", + "tableNamePattern": "*" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataMigrations/metadataMigrationName", + "name": "metadataMigrationCreate", + "properties": { + "provisioningState": "Accepted", + "targetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataTargets/targetName", + "dbNamePattern": "*", + "tableNamePattern": "*" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/metadataMigrations", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataMigrations/metadataMigrationName", + "name": "metadataMigrationCreate", + "properties": { + "provisioningState": "Accepted", + "targetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataTargets/targetName", + "dbNamePattern": "*", + "tableNamePattern": "*" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/metadataMigrations", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationDelete.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationDelete.json new file mode 100644 index 000000000000..1917b63b6df6 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migrator", + "migrationName": "metadataMigrationName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationGet.json new file mode 100644 index 000000000000..2517e28c0f7e --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationGet.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migrator", + "migrationName": "MetadataMigrationName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataMigrations/metadataMigrationName", + "name": "metadataMigrationGet", + "properties": { + "provisioningState": "Succeeded", + "targetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataTargets/targetName", + "dbNamePattern": "*", + "tableNamePattern": "*", + "state": "Running", + "migratedItems": 50 + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/metadataMigrations", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationList.json new file mode 100644 index 000000000000..7b33d53aa4d3 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "migratorName": "migrator", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataMigrations/metadataMigrationName", + "name": "metadataMigrationName", + "properties": { + "provisioningState": "Succeeded", + "targetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataTargets/targetName", + "dbNamePattern": "*", + "tableNamePattern": "*", + "state": "Running", + "migratedItems": 50 + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/metadataMigrations", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationPatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationPatch.json new file mode 100644 index 000000000000..0b398be2595a --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationPatch.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migrationName": "metadataMigrationName", + "migratorName": "migrator", + "MetadataMigration": { + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migratorName/migrator/metadataMigrations/metadataMigrationName", + "name": "metadataMigrationName", + "properties": { + "provisioningState": "Succeeded", + "targetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataTargets/targetName", + "dbNamePattern": "*", + "tableNamePattern": "*" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/metadataMigrations", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationStart.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationStart.json new file mode 100644 index 000000000000..93a4ac1dc16b --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationStart.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migratorName", + "migrationName": "migrationName" + }, + "responses": { + "200": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationStop.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationStop.json new file mode 100644 index 000000000000..93a4ac1dc16b --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataMigrationStop.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migratorName", + "migrationName": "migrationName" + }, + "responses": { + "200": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetCreate.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetCreate.json new file mode 100644 index 000000000000..fe95cef3d1ac --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetCreate.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migrator", + "metadataTargetName": "metadataTargetName", + "MetadataTarget": { + "location": "East US", + "tags": { + "tagKey1": "TagValue1" + }, + "properties": { + "metadataTargetKind": "AzureSqlMetadataTarget", + "dataTargetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/targets/migratorTargetName", + "hdiVersion": "3.6", + "sqlServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Microsoft.Sql/servers/sqlServerName", + "sqlDatabase": "databaseName", + "sqlUser": "user", + "sqlPassword": "pass" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataTargets/metadataTargetName", + "name": "metadataTargetName", + "properties": { + "provisioningState": "Succeeded", + "metadataTargetKind": "AzureSqlMetadataTarget", + "dataTargetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/targets/migratorTargetName", + "hdiVersion": "3.6", + "sqlServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Microsoft.Sql/servers/sqlServerName", + "sqlDatabase": "databaseName", + "sqlUser": "user" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/metadataTargets", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataTargets/metadataTargetName", + "name": "metadataTargetName", + "properties": { + "provisioningState": "Succeeded", + "metadataTargetKind": "AzureSqlMetadataTarget", + "dataTargetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/targets/migratorTargetName", + "hdiVersion": "3.6", + "sqlServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Microsoft.Sql/servers/sqlServerName", + "sqlDatabase": "databaseName", + "sqlUser": "user" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/metadataTargets", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetDelete.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetDelete.json new file mode 100644 index 000000000000..78f38290769e --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migrator", + "metadataTargetName": "MetadataTargetName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetGet.json new file mode 100644 index 000000000000..cedac081b3b6 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migrator", + "metadataTargetName": "MetadataTargetName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataTargets/metadataTargetName", + "name": "metadataTargetName", + "properties": { + "provisioningState": "Succeeded", + "metadataTargetKind": "AzureSqlMetadataTarget", + "dataTargetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/targets/migratorTargetName", + "hdiVersion": "3.6", + "sqlServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Microsoft.Sql/servers/sqlServerName", + "sqlDatabase": "databaseName", + "sqlUser": "user" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/metadataTargets", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetList.json new file mode 100644 index 000000000000..c27b981b0b48 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "migratorName": "migrator", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataTargets/metadataTargetName", + "name": "metadataTargetName", + "properties": { + "provisioningState": "Accepted", + "metadataTargetKind": "AzureSqlMetadataTarget", + "dataTargetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/targets/migratorTargetName", + "hdiVersion": "3.6", + "sqlServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Microsoft.Sql/servers/sqlServerName", + "sqlDatabase": "databaseName", + "sqlUser": "user" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/metadataTargets", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetPatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetPatch.json new file mode 100644 index 000000000000..810e20490e7e --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MetadataTargetPatch.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "metadataTargetName": "metadataTargetName", + "migratorName": "migrator", + "MigratorTarget": { + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/metadataTargets/metadataTargetName", + "name": "metadataTargetName", + "properties": { + "provisioningState": "Succeeded", + "metadataTargetKind": "AzureSqlMetadataTarget", + "dataTargetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/targets/migratorTargetName", + "hdiVersion": "3.6", + "sqlServerId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Microsoft.Sql/servers/sqlServerName", + "sqlDatabase": "databaseName", + "sqlUser": "user" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/metadataTargets", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorBandwidthPatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorBandwidthPatch.json new file mode 100644 index 000000000000..cb9b4c63e019 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorBandwidthPatch.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migratorName", + "MigratorTagsAndBandwidthUpdate": { + "properties": { + "bandwidthPolicy": { + "maxBytesPerSec": 1000000 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/Migrators/migratorName", + "name": "migratorName", + "properties": { + "provisioningState": "Succeeded", + "deploymentType": "DEB", + "installParameters": { + "user": "hdfs", + "logDir": "/var/log", + "installDir": "/opt/wandisco" + }, + "bandwidthPolicy": { + "maxBytesPerSec": 2000000000 + } + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/Migrators/migratorName", + "name": "migratorName", + "properties": { + "provisioningState": "Succeeded", + "deploymentType": "DEB", + "installParameters": { + "user": "hdfs", + "logDir": "/var/log", + "installDir": "/opt/wandisco" + }, + "bandwidthPolicy": { + "maxBytesPerSec": 2000000000 + } + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorCreate.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorCreate.json new file mode 100644 index 000000000000..d7f08fdece85 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorCreate.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migratorName", + "Migrator": { + "properties": { + "deploymentType": "DEB", + "installParameters": { + "user": "hdfs", + "logDir": "/var/log", + "installDir": "/opt/wandisco" + }, + "kerberos": { + "enabled": true, + "principal": "hdfs@REALM", + "keytabLocation": "/etc/security/keytabs/hdfs.keytab" + } + }, + "location": "East US", + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName", + "name": "migratorName", + "properties": { + "provisioningState": "Succeeded", + "downloadLocation": "https://downloadlocation.com", + "deploymentType": "DEB", + "installParameters": { + "user": "hdfs", + "logDir": "/var/log", + "installDir": "/opt/wandisco" + }, + "kerberos": { + "enabled": true, + "principal": "hdfs@REALM", + "keytabLocation": "/etc/security/keytabs/hdfs.keytab" + } + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName", + "name": "migratorCreate", + "properties": { + "provisioningState": "Accepted", + "deploymentType": "DEB", + "installParameters": { + "user": "hdfs", + "logDir": "/var/log", + "installDir": "/opt/wandisco" + }, + "kerberos": { + "enabled": true, + "principal": "hdfs@REALM", + "keytabLocation": "/etc/security/keytabs/hdfs.keytab" + } + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorDelete.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorDelete.json new file mode 100644 index 000000000000..45ccd97b0f34 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "MigratorName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorGenerateUpgrade.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorGenerateUpgrade.json new file mode 100644 index 000000000000..7e82b0cc0a0a --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorGenerateUpgrade.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migratorName" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorGet.json new file mode 100644 index 000000000000..bad201d94c93 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorGet.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "MigratorName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName", + "name": "migratorName", + "properties": { + "provisioningState": "Succeeded", + "downloadLocation": "https://downloadlocation.com", + "deploymentType": "DEB", + "version": "1.8", + "latestAvailableVersion": "1.8", + "installParameters": { + "user": "hdfs", + "logDir": "/var/log", + "installDir": "/opt/wandisco" + } + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorGetInstallKey.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorGetInstallKey.json new file mode 100644 index 000000000000..4a82925a33a4 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorGetInstallKey.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migratorName" + }, + "responses": { + "200": { + "body": { + "installKey": "11111111-0000-8888-9999-1111111111" + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorList.json new file mode 100644 index 000000000000..4d972b0fdcf9 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorList.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName", + "name": "migratorName", + "properties": { + "provisioningState": "Accepted", + "downloadLocation": "https://downloadlocation.com", + "deploymentType": "DEB", + "version": "1.8", + "latestAvailableVersion": "1.8", + "installParameters": { + "user": "hdfs", + "logDir": "/var/log", + "installDir": "/opt/wandisco" + } + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTagPatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTagPatch.json new file mode 100644 index 000000000000..0a0e3622534e --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTagPatch.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migratorName", + "MigratorTagsAndBandwidthUpdate": { + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/Migrators/migratorName", + "name": "migratorName", + "properties": { + "provisioningState": "Succeeded", + "deploymentType": "DEB", + "installParameters": { + "user": "hdfs", + "logDir": "/var/log", + "installDir": "/opt/wandisco" + }, + "bandwidthPolicy": { + "maxBytesPerSec": 2000000000 + } + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/Migrators/migratorName", + "name": "migratorName", + "properties": { + "provisioningState": "Accepted", + "deploymentType": "DEB", + "installParameters": { + "user": "hdfs", + "logDir": "/var/log", + "installDir": "/opt/wandisco" + }, + "bandwidthPolicy": { + "maxBytesPerSec": 2000000000 + } + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetCreate.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetCreate.json new file mode 100644 index 000000000000..f8dfc0d0a25c --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetCreate.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migrator", + "migratorTargetName": "migratorTargetName", + "MigratorTarget": { + "location": "East US", + "tags": { + "tagKey1": "TagValue1" + }, + "properties": { + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "targetStorageContainer", + "storageAccessKey": "azureStorageAccessKey" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/targets/migratorTargetName", + "name": "migratorTargetName", + "properties": { + "provisioningState": "Succeeded", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "targetStorageContainer" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/targets", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/targets/migratorTargetName", + "name": "migratorTargetName", + "properties": { + "provisioningState": "Succeeded", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "targetStorageContainer" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/targets", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetDelete.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetDelete.json new file mode 100644 index 000000000000..f9e13bdecdd7 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migrator", + "migratorTargetName": "MigratorTargetName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetGet.json new file mode 100644 index 000000000000..4a0e04f447ff --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migrator", + "migratorTargetName": "migratorTargetName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/targets/migratorTargetName", + "name": "migratorTargetName", + "properties": { + "provisioningState": "Succeeded", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "targetStorageContainer" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/targets", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetList.json new file mode 100644 index 000000000000..52af068783c4 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "migratorName": "migrator", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/targets/migratorTargetName", + "name": "migratorTargetName", + "properties": { + "provisioningState": "Accepted", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "targetStorageContainer" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/targets", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetPatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetPatch.json new file mode 100644 index 000000000000..e14125ab3a6d --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorTargetPatch.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorTargetName": "migratorTargetName", + "migratorName": "migratorName", + "MigratorTarget": { + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName/targets/migratorTargetName", + "name": "migratorTargetName", + "properties": { + "provisioningState": "Accepted", + "storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "storageContainer": "targetStorageContainer" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/targets", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorUpdateDownloadLocation.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorUpdateDownloadLocation.json new file mode 100644 index 000000000000..7e82b0cc0a0a --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorUpdateDownloadLocation.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "migratorTestRG", + "api-version": "2021-05-01-preview", + "migratorName": "migratorName" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorsListBySubscription.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorsListBySubscription.json new file mode 100644 index 000000000000..5786f5cc6ae2 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/MigratorsListBySubscription.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/migratorTestRG/providers/Wandisco.Fusion/migrators/migratorName", + "name": "migratorName", + "properties": { + "provisioningState": "Accepted", + "downloadLocation": "https://downloadlocation.com", + "deploymentType": "DEB", + "installParameters": { + "user": "hdfs", + "logDir": "/var/log", + "installDir": "/opt/wandisco" + } + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingCreate.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingCreate.json new file mode 100644 index 000000000000..183f74f6e578 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingCreate.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "pathMappingTestRG", + "migratorName": "pathMappingTestMigrator", + "api-version": "2020-12-01-preview", + "pathMappingName": "pathMappingName", + "pathMapping": { + "location": "East US", + "properties": { + "description": "Explains what this pathMapping does", + "sourcePath": "/a/b", + "targetId": "pathMappingTargetFileSystem", + "targetPath": "/c/d" + }, + "tags": { + "tagKey1": "TagValue1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/pathMappingTestRG/providers/Wandisco.Fusion/migrators/migratorName/pathMappings/pathMappingName", + "name": "pathMappingName", + "properties": { + "description": "Explains what this pathMapping does", + "sourcePath": "/a/b", + "targetId": "pathMappingTargetFileSystem", + "targetPath": "/c/d", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/pathMappings", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/pathMappingTestRG/providers/Wandisco.Fusion/migrators/migratorName/pathMappings/pathMappingName", + "name": "pathMappingName", + "properties": { + "description": "Explains what this pathMapping does", + "sourcePath": "/a/b", + "targetId": "pathMappingTargetFileSystem", + "targetPath": "/c/d", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/pathMappings", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingDelete.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingDelete.json new file mode 100644 index 000000000000..3697007e3005 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "pathMappingTestRG", + "migratorName": "pathMappingTestMigrator", + "api-version": "2020-12-01-preview", + "pathMappingName": "pathMappingName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingGet.json new file mode 100644 index 000000000000..446b8208c79f --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "pathMappingTestRG", + "migratorName": "pathMappingTestMigrator", + "api-version": "2020-12-01-preview", + "pathMappingName": "pathMappingName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/pathMappingTestRG/providers/Wandisco.Fusion/migrators/migratorName/pathMappings/pathMappingName", + "name": "pathMappingName", + "properties": { + "description": "Explains what this pathMapping does", + "sourcePath": "/a/b", + "targetId": "pathMappingTargetFileSystem", + "targetPath": "/c/d", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/pathMappings", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingList.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingList.json new file mode 100644 index 000000000000..753521774dee --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "pathMappingTestRG", + "migratorName": "pathMappingTestMigrator", + "api-version": "2020-12-01-preview" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/pathMappingTestRG/providers/Wandisco.Fusion/migrators/migratorName/pathMappings/pathMappingName", + "name": "pathMappingName", + "properties": { + "description": "Explains what this pathMapping does", + "sourcePath": "/a/b", + "targetId": "pathMappingTargetFileSystem", + "targetPath": "/c/d", + "provisioningState": "Accepted" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/pathMappings", + "tags": { + "tagKey1": "TagValue1" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + ] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingPatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingPatch.json new file mode 100644 index 000000000000..8a20ad47f8e6 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/LiveDataMigrator/PathMappingPatch.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "pathMappingTestRG", + "migratorName": "pathMappingTestMigrator", + "api-version": "2021-05-01-preview", + "pathMappingName": "pathMappingName", + "pathMapping": { + "tags": { + "tagKey1": "TagValue2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/pathMappingTestRG/providers/Wandisco.Fusion/migrators/migratorName/pathMappings/pathMappingName", + "name": "pathMappingName", + "properties": { + "description": "Explains what this pathMapping does", + "sourcePath": "/a/b", + "targetId": "pathMappingTargetFileSystem", + "targetPath": "/c/d", + "provisioningState": "Succeeded" + }, + "location": "East US", + "type": "Wandisco.Fusion/migrators/pathMappings", + "tags": { + "tagKey1": "TagValue2" + }, + "systemData": { + "createdBy": "00000000-1111-2222-3333-444444444444", + "createdByType": "User", + "createdAt": "2021-01-13T18:40:37.4690314Z", + "lastModifiedBy": "00000000-1111-2222-3333-444444444444", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-13T18:40:37.4690314Z" + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/Operations/OperationStatusGet.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/Operations/OperationStatusGet.json new file mode 100644 index 000000000000..3f156bc3dba3 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/Operations/OperationStatusGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "operationStatusId": "00000000-1111-2222-3333-444444444444", + "locationName": "testLocation", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Wandisco.Fusion/locations/testLocation/operationStatuses/00000000-1111-2222-3333-444444444444", + "name": "00000000-1111-2222-3333-444444444444", + "properties": null, + "resourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup/providers/Wandisco.Fusion/fusionGroups/testfusionGroup", + "startTime": "2020-09-08T13:27:03.8980869Z", + "status": "Succeeded" + } + }, + "default": { + "body": { + "error": { + "code": "ResourceNotFound", + "message": "The resource 'Wandisco.Fusion/fusionGroups/XXXXX' could not be found." + } + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/Operations/OperationStatusGetError.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/Operations/OperationStatusGetError.json new file mode 100644 index 000000000000..0b389a7c78ef --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/Operations/OperationStatusGetError.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "operationStatusId": "00000000-1111-2222-3333-444444444444", + "locationName": "testLocation", + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "ExecutionFailure", + "message": "Unable to find any nodes to remove" + }, + "id": "/providers/Wandisco.Fusion/locations/testLocation/operationStatuses/00000000-1111-2222-3333-444444444444", + "name": "00000000-1111-2222-3333-444444444444", + "resourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup/providers/Wandisco.Fusion/fusionGroups/testfusionGroup", + "startTime": "2020-09-08T13:27:03.8980869Z", + "status": "Failed" + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/Operations/OperationStatusPatch.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/Operations/OperationStatusPatch.json new file mode 100644 index 000000000000..de06442baaaa --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/Operations/OperationStatusPatch.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "operationStatusId": "00000000-1111-2222-3333-444444444444", + "locationName": "testLocation", + "api-version": "2021-05-01-preview", + "operationStatus": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/replicationRules/replicationRuleName", + "status": "Successful" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/replicationRules/replicationRuleName", + "status": "Successful" + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/WandiscoFusionListOperations.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/WandiscoFusionListOperations.json new file mode 100644 index 000000000000..06be67e5a3ea --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/examples/WandiscoFusionListOperations.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2021-05-01-preview" + }, + "responses": { + "200": { + "body": { + "nextLink": "next link... link", + "value": [] + } + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/fusionGroups.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/fusionGroups.json new file mode 100644 index 000000000000..ee7c617dcbce --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/fusionGroups.json @@ -0,0 +1,3211 @@ +{ + "swagger": "2.0", + "info": { + "title": "WANDisco Fusion", + "description": "WANDisco Fusion", + "version": "2021-05-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Wandisco.Fusion/fusionGroups": { + "get": { + "tags": [ + "fusionGroups" + ], + "description": "Returns list of fusionGroups under subscription.", + "operationId": "FusionGroups_ListBySubscription", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "fusionGroups details.", + "schema": { + "$ref": "#/definitions/FusionGroupList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get fusion groups list": { + "$ref": "./examples/FusionGroup/FusionGroupsListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups": { + "get": { + "tags": [ + "fusionGroups" + ], + "description": "Returns list of fusionGroups.", + "operationId": "FusionGroups_ListByResourceGroup", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "fusionGroups details.", + "schema": { + "$ref": "#/definitions/FusionGroupList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get fusion groups list by resource group": { + "$ref": "./examples/FusionGroup/FusionGroupsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}": { + "get": { + "tags": [ + "fusionGroup" + ], + "description": "Returns a given FusionGroup.", + "operationId": "FusionGroups_Get", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + } + ], + "responses": { + "200": { + "description": "fusionGroup details.", + "schema": { + "$ref": "#/definitions/FusionGroup" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get fusionGroup details.": { + "$ref": "./examples/FusionGroup/FusionGroupGet.json" + }, + "Get fusionGroup details including HealthStatus": { + "$ref": "./examples/FusionGroup/FusionGroupGetWithHealthStatus.json" + } + } + }, + "put": { + "tags": [ + "fusionGroup" + ], + "description": "Create or update fusionGroup resource.", + "operationId": "FusionGroups_CreateOrUpdate", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "name": "fusionGroup", + "description": "fusionGroup details.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FusionGroup" + } + } + ], + "responses": { + "200": { + "description": "Successful.", + "schema": { + "$ref": "#/definitions/FusionGroup" + } + }, + "201": { + "description": "Creating.", + "schema": { + "$ref": "#/definitions/FusionGroup" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create simple fusionGroup": { + "$ref": "./examples/FusionGroup/FusionGroupCreate.json" + }, + "Create fusionGroup with label": { + "$ref": "./examples/FusionGroup/FusionGroupCreateWithLabel.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "fusionGroup" + ], + "description": "Delete a fusionGroup resource.", + "operationId": "FusionGroups_Delete", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + } + ], + "responses": { + "200": { + "description": "The Fusion Group was successfully deleted" + }, + "204": { + "description": "The Fusion Group was not found" + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful fusion group delete": { + "$ref": "./examples/FusionGroup/FusionGroupDelete.json" + } + } + }, + "patch": { + "tags": [ + "fusionGroup" + ], + "description": "Patches a fusionGroup resource.", + "operationId": "FusionGroups_Update", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "name": "fusionGroup", + "description": "fusionGroup details.", + "in": "body", + "schema": { + "$ref": "#/definitions/FusionGroup" + } + } + ], + "responses": { + "200": { + "description": "The Fusion Group was successfully updated", + "schema": { + "$ref": "#/definitions/FusionGroup" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful Fusion Group Patch": { + "$ref": "./examples/FusionGroup/FusionGroupPatch.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/azureZones": { + "get": { + "tags": [ + "azureZones" + ], + "description": "Returns list of azureZones.", + "operationId": "AzureZones_ListByFusionGroup", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + } + ], + "responses": { + "200": { + "description": "azureZones details.", + "schema": { + "$ref": "#/definitions/AzureZoneList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get list of Azure Zones": { + "$ref": "./examples/FusionGroup/AzureZoneList.json" + }, + "Get Azure Zone": { + "$ref": "./examples/FusionGroup/AzureZoneResourceList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/azureZones/{azureZoneName}": { + "get": { + "tags": [ + "azureZone" + ], + "description": "Returns a given azureZone.", + "operationId": "AzureZones_Get", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/AzureZoneParameter" + } + ], + "responses": { + "200": { + "description": "azureZone details.", + "schema": { + "$ref": "#/definitions/AzureZone" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Azure Zone by name": { + "$ref": "./examples/FusionGroup/AzureZoneGet.json" + } + } + }, + "put": { + "tags": [ + "azureZone" + ], + "description": "Creates a given azureZone.", + "operationId": "AzureZones_CreateOrUpdate", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/AzureZoneParameter" + }, + { + "name": "azureZone", + "description": "azureZone details.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AzureZone" + } + } + ], + "responses": { + "200": { + "description": "Updating Fusion Azure Zone.", + "schema": { + "$ref": "#/definitions/AzureZone" + } + }, + "201": { + "description": "Installing Fusion Azure Zone.", + "schema": { + "$ref": "#/definitions/AzureZone" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create Azure Zone": { + "$ref": "./examples/FusionGroup/AzureZoneCreate.json" + }, + "Create Azure Zone High Availability": { + "$ref": "./examples/FusionGroup/AzureZoneCreateHA.json" + }, + "Create Azure Zone with Managed Identity": { + "$ref": "./examples/FusionGroup/AzureZoneCreateManagedIdentity.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "azureZone" + ], + "description": "Updates a given azureZone.", + "operationId": "AzureZones_Update", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/AzureZoneParameter" + }, + { + "name": "azureZone", + "description": "azureZone update fields.", + "in": "body", + "schema": { + "$ref": "./commonTypes.json#/definitions/TagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "Updating Fusion Azure Zone.", + "schema": { + "$ref": "#/definitions/AzureZone" + } + }, + "default": { + "description": "Error response describing the reason for operation failure", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful Azure Zone Patch": { + "$ref": "./examples/FusionGroup/AzureZonePatch.json" + } + } + }, + "delete": { + "tags": [ + "azureZone" + ], + "description": "Deletes a given azureZone.", + "operationId": "AzureZones_Delete", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/AzureZoneParameter" + } + ], + "responses": { + "200": { + "description": "The Azure Zone was successfully deleted" + }, + "202": { + "description": "The Azure Zone was accepted for deletion" + }, + "204": { + "description": "The Azure Zone was not found" + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful azure zone delete": { + "$ref": "./examples/FusionGroup/AzureZoneDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/azureZones/{azureZoneName}/plugins": { + "get": { + "tags": [ + "Plugins" + ], + "description": "Returns a list of AzureZone Plugin", + "operationId": "Plugins_ListByAzureZone", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/AzureZoneParameter" + } + ], + "responses": { + "200": { + "description": "List of PluginDetails", + "schema": { + "$ref": "#/definitions/PluginList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get list of Plugins": { + "$ref": "./examples/FusionGroup/PluginList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/azureZones/{azureZoneName}/plugins/{pluginName}": { + "get": { + "tags": [ + "Plugins" + ], + "description": "Returns an AzureZone Plugin", + "operationId": "Plugins_Get", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/AzureZoneParameter" + }, + { + "$ref": "#/parameters/PluginsParameter" + } + ], + "responses": { + "200": { + "description": "PluginDetails", + "schema": { + "$ref": "#/definitions/Plugin" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Plugin": { + "$ref": "./examples/FusionGroup/PluginGet.json" + } + } + }, + "put": { + "tags": [ + "Plugins" + ], + "description": "Creates or updates a Plugin", + "operationId": "Plugins_CreateOrUpdate", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/AzureZoneParameter" + }, + { + "$ref": "#/parameters/PluginsParameter" + }, + { + "name": "plugin", + "description": "plugin details.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Plugin" + } + } + ], + "responses": { + "200": { + "description": "Updating Plugin.", + "schema": { + "$ref": "#/definitions/Plugin" + } + }, + "201": { + "description": "Creating Plugin.", + "schema": { + "$ref": "#/definitions/Plugin" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Creating Plugin": { + "$ref": "./examples/FusionGroup/PluginCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "Plugins" + ], + "description": "Updates a Plugin", + "operationId": "Plugins_Update", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/AzureZoneParameter" + }, + { + "$ref": "#/parameters/PluginsParameter" + }, + { + "name": "plugin", + "description": "plugin update details.", + "in": "body", + "schema": { + "$ref": "./commonTypes.json#/definitions/TagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "Updating Plugin.", + "schema": { + "$ref": "#/definitions/Plugin" + } + }, + "default": { + "description": "Error response describing the reason for operation failure", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Plugin Patch": { + "$ref": "./examples/FusionGroup/PluginPatch.json" + } + } + }, + "delete": { + "tags": [ + "Plugins" + ], + "description": "Deletes a given Plugin.", + "operationId": "Plugins_Delete", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/AzureZoneParameter" + }, + { + "$ref": "#/parameters/PluginsParameter" + } + ], + "responses": { + "200": { + "description": "The Plugin was successfully deleted" + }, + "202": { + "description": "The Plugin was accepted for deletion" + }, + "204": { + "description": "The Plugin was not found" + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful plugin delete": { + "$ref": "./examples/FusionGroup/PluginDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/replicationRules": { + "get": { + "tags": [ + "replicationRules" + ], + "description": "List of replication rules", + "operationId": "ReplicationRules_ListByFusionGroup", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + } + ], + "responses": { + "200": { + "description": "replicationRule details", + "schema": { + "$ref": "#/definitions/ReplicationRulesList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get Replication Rules": { + "$ref": "./examples/FusionGroup/ReplicationRulesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/replicationRules/{replicationRuleName}": { + "get": { + "tags": [ + "replicationRule" + ], + "description": "Return a given replicationRule", + "operationId": "ReplicationRules_Get", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ReplicationRuleNameParameter" + } + ], + "responses": { + "200": { + "description": "replicationRule details", + "schema": { + "$ref": "#/definitions/ReplicationRule" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Replication Rule": { + "$ref": "./examples/FusionGroup/ReplicationRuleGet.json" + } + } + }, + "put": { + "tags": [ + "replicationRule" + ], + "description": "Create or update a replicationRule", + "operationId": "ReplicationRules_CreateOrUpdate", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ReplicationRuleNameParameter" + }, + { + "name": "replicationRule", + "description": "replicationRule details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ReplicationRule" + } + } + ], + "responses": { + "200": { + "description": "Updating Fusion Replication Rule.", + "schema": { + "$ref": "#/definitions/ReplicationRule" + } + }, + "201": { + "description": "Creating Fusion Replication Rule.", + "schema": { + "$ref": "#/definitions/ReplicationRule" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create Replication Rule": { + "$ref": "./examples/FusionGroup/ReplicationRuleCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "replicationRule" + ], + "description": "Update a replicationRule", + "operationId": "ReplicationRules_Update", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ReplicationRuleNameParameter" + }, + { + "name": "replicationRule", + "description": "replicationRule update details", + "in": "body", + "schema": { + "$ref": "./commonTypes.json#/definitions/TagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "Updating Fusion Replication Rule.", + "schema": { + "$ref": "#/definitions/ReplicationRule" + } + }, + "default": { + "description": "Error response describing the reason for operation failure", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch Replication Rule": { + "$ref": "./examples/FusionGroup/ReplicationRulePatch.json" + } + } + }, + "delete": { + "tags": [ + "replicationRule" + ], + "description": "Delete a replicationRule", + "operationId": "ReplicationRules_Delete", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ReplicationRuleNameParameter" + } + ], + "responses": { + "200": { + "description": "The Replication Rule was successfully deleted" + }, + "202": { + "description": "The Replication Rule was accepted for deletion" + }, + "204": { + "description": "The Replication Rule was not found" + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful replication rule delete": { + "$ref": "./examples/FusionGroup/ReplicationRuleDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/replicationRules/{replicationRuleName}/consistencyCheck": { + "post": { + "tags": [ + "Consistency Check" + ], + "description": "Trigger a consistency check on a Replication Rule", + "operationId": "ReplicationRules_ConsistencyCheck", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ReplicationRuleNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "name": "consistencyCheckOptions", + "description": "Consistency Check options", + "in": "body", + "schema": { + "$ref": "#/definitions/ConsistencyCheckOptions" + } + } + ], + "responses": { + "200": { + "description": "OK. The request to consistency check the path was accepted." + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful start of Consistency Check": { + "$ref": "./examples/FusionGroup/ConsistencyCheckStart.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/managedOnPremZones": { + "get": { + "tags": [ + "managedOnPremZone" + ], + "description": "Returns list of ManagedOnPremZones.", + "operationId": "ManagedOnPremZones_ListByFusionGroup", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + } + ], + "responses": { + "200": { + "description": "managedOnPremZone details.", + "schema": { + "$ref": "#/definitions/ManagedOnPremZoneList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get On Prem Zone list": { + "$ref": "./examples/FusionGroup/ManagedOnPremZoneList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/managedOnPremZones/{managedOnPremZoneName}": { + "get": { + "tags": [ + "managedOnPremZone" + ], + "description": "Returns a given ManagedOnPremZone.", + "operationId": "ManagedOnPremZones_Get", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ManagedOnPremZoneParameter" + } + ], + "responses": { + "200": { + "description": "managedOnPremZone details.", + "schema": { + "$ref": "#/definitions/ManagedOnPremZone" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get ManagedOnPrem Zone by name": { + "$ref": "./examples/FusionGroup/ManagedOnPremZoneGet.json" + } + } + }, + "put": { + "tags": [ + "managedOnPremZone" + ], + "description": "Creates a managed OnPremZone.", + "operationId": "ManagedOnPremZones_CreateOrUpdate", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ManagedOnPremZoneParameter" + }, + { + "name": "ManagedOnPremZone", + "description": "managedOnPremZone details.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedOnPremZone" + } + } + ], + "x-ms-examples": { + "Create Managed OnPrem Zone": { + "$ref": "./examples/FusionGroup/ManagedOnPremZoneCreate.json" + } + }, + "responses": { + "200": { + "description": "Updating OnPrem Zone.", + "schema": { + "$ref": "#/definitions/ManagedOnPremZone" + } + }, + "201": { + "description": "Creating Managed OnPrem Zone.", + "schema": { + "$ref": "#/definitions/ManagedOnPremZone" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "managedOnPremZone" + ], + "description": "Updates a given ManagedOnPremZone.", + "operationId": "ManagedOnPremZones_Update", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ManagedOnPremZoneParameter" + }, + { + "name": "ManagedOnPremZone", + "description": "managedOnPremZone update details.", + "in": "body", + "schema": { + "$ref": "./commonTypes.json#/definitions/TagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "Updating ManagedOnPrem Zone.", + "schema": { + "$ref": "#/definitions/ManagedOnPremZone" + } + }, + "default": { + "description": "Error response describing the reason for operation failure", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful Managed On Prem Zone Patch": { + "$ref": "./examples/FusionGroup/ManagedOnPremZonePatch.json" + } + } + }, + "delete": { + "tags": [ + "managedOnPremZone" + ], + "description": "Deletes a given ManagedOnPremZone.", + "operationId": "ManagedOnPremZones_Delete", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ManagedOnPremZoneParameter" + } + ], + "responses": { + "200": { + "description": "The ManagedOnPrem Zone was successfully deleted" + }, + "202": { + "description": "The ManagedOnPrem Zone was accepted for deletion" + }, + "204": { + "description": "The ManagedOnPrem Zone was not found" + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful managed on premise zone delete": { + "$ref": "./examples/FusionGroup/ManagedOnPremZoneDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/managedOnPremZones/{managedOnPremZoneName}/induct": { + "post": { + "tags": [ + "managedOnPremZone" + ], + "description": "Induct a managed OnPremZone.", + "operationId": "ManagedOnPremZones_Induct", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ManagedOnPremZoneParameter" + } + ], + "x-ms-examples": { + "Induct a Managed OnPrem Zone": { + "$ref": "./examples/FusionGroup/ManagedOnPremZoneInduct.json" + } + }, + "responses": { + "200": { + "description": "Induction request completed." + }, + "202": { + "description": "Induction request accepted." + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/managedOnPremZones/{managedOnPremZoneName}/updateDownloadLocation": { + "post": { + "tags": [ + "managedOnPremZone" + ], + "description": "Update the downloadLocation of the Managed OnPrem Zone.", + "operationId": "ManagedOnPremZones_UpdateDownloadLocation", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ManagedOnPremZoneParameter" + } + ], + "x-ms-examples": { + "Update DownloadLocation for Managed OnPrem Zone": { + "$ref": "./examples/FusionGroup/ManagedOnPremZoneUpdateDownloadLocation.json" + } + }, + "responses": { + "200": { + "description": "Update download location request completed." + }, + "202": { + "description": "Update download location request accepted." + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/replicationRules/{replicationRuleName}/migrations": { + "get": { + "tags": [ + "Migrations" + ], + "description": "List migrations in replication rule", + "operationId": "Migrations_ListByReplicationRule", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ReplicationRuleNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/MigrationList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Migration": { + "$ref": "./examples/FusionGroup/MigrationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/replicationRules/{replicationRuleName}/migrations/{migrationName}": { + "get": { + "tags": [ + "Migrations" + ], + "description": "Read migration", + "operationId": "Migrations_Get", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ReplicationRuleNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Migration" + } + }, + "default": { + "description": "Error response describing the reason for operation failure. 404 - NotFound", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Migration": { + "$ref": "./examples/FusionGroup/MigrationGet.json" + } + } + }, + "put": { + "tags": [ + "Migrations" + ], + "description": "Start a migration", + "operationId": "Migrations_CreateOrUpdate", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ReplicationRuleNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + }, + { + "name": "migration", + "description": "migration details.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Migration" + } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Migration" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create Migration": { + "$ref": "./examples/FusionGroup/MigrationCreate.json" + } + } + }, + "delete": { + "tags": [ + "Migrations" + ], + "description": "Delete a migration", + "operationId": "Migrations_Delete", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ReplicationRuleNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "204": { + "description": "The migration was not found" + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Migration": { + "$ref": "./examples/FusionGroup/MigrationDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/replicationRules/{replicationRuleName}/migrations/{migrationName}/pause": { + "post": { + "tags": [ + "Migrations" + ], + "description": "Pause a migration", + "operationId": "Migrations_Pause", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ReplicationRuleNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pause Migration": { + "$ref": "./examples/FusionGroup/MigrationPause.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/replicationRules/{replicationRuleName}/migrations/{migrationName}/resume": { + "post": { + "tags": [ + "Migrations" + ], + "description": "Resume a migration", + "operationId": "Migrations_Resume", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ReplicationRuleNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Resume Migration": { + "$ref": "./examples/FusionGroup/MigrationResume.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/replicationRules/{replicationRuleName}/migrations/{migrationName}/abort": { + "post": { + "tags": [ + "Migrations" + ], + "description": "Abort a migration", + "operationId": "Migrations_Abort", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/ReplicationRuleNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Abort Migration": { + "$ref": "./examples/FusionGroup/MigrationAbort.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/hiveReplicationRules": { + "get": { + "tags": [ + "hiveReplicationRules" + ], + "description": "List of hive replication rules", + "operationId": "HiveReplicationRules_ListByFusionGroup", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + } + ], + "responses": { + "200": { + "description": "replicationRule details", + "schema": { + "$ref": "#/definitions/HiveReplicationRulesList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get Hive Replication Rules": { + "$ref": "./examples/FusionGroup/HiveReplicationRulesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/hiveReplicationRules/{hiveReplicationRuleName}": { + "get": { + "tags": [ + "hiveReplicationRule" + ], + "description": "Return a given hiveReplicationRule", + "operationId": "HiveReplicationRules_Get", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/HiveReplicationRuleNameParameter" + } + ], + "responses": { + "200": { + "description": "hiveReplicationRule details", + "schema": { + "$ref": "#/definitions/HiveReplicationRule" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Hive Replication Rule": { + "$ref": "./examples/FusionGroup/HiveReplicationRuleGet.json" + } + } + }, + "put": { + "tags": [ + "hiveReplicationRule" + ], + "description": "Create or update a hiveReplicationRule", + "operationId": "HiveReplicationRules_CreateOrUpdate", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/HiveReplicationRuleNameParameter" + }, + { + "name": "hiveReplicationRule", + "description": "hiveReplicationRule details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/HiveReplicationRule" + } + } + ], + "responses": { + "200": { + "description": "Updating Fusion Hive Replication Rule.", + "schema": { + "$ref": "#/definitions/HiveReplicationRule" + } + }, + "201": { + "description": "Creating Fusion Hive Replication Rule.", + "schema": { + "$ref": "#/definitions/HiveReplicationRule" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create Hive Replication Rule": { + "$ref": "./examples/FusionGroup/HiveReplicationRuleCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "hiveReplicationRule" + ], + "description": "Update a hiveReplicationRule", + "operationId": "HiveReplicationRules_Update", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/HiveReplicationRuleNameParameter" + }, + { + "name": "hiveReplicationRule", + "description": "hiveReplicationRule update details", + "in": "body", + "schema": { + "$ref": "./commonTypes.json#/definitions/TagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "Updating Fusion Hive Replication Rule.", + "schema": { + "$ref": "#/definitions/HiveReplicationRule" + } + }, + "default": { + "description": "Error response describing the reason for operation failure", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch Hive Replication Rule": { + "$ref": "./examples/FusionGroup/HiveReplicationRulePatch.json" + } + } + }, + "delete": { + "tags": [ + "hiveReplicationRule" + ], + "description": "Delete a hiveReplicationRule", + "operationId": "HiveReplicationRules_Delete", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/HiveReplicationRuleNameParameter" + } + ], + "responses": { + "200": { + "description": "The Hive Replication Rule was successfully deleted" + }, + "202": { + "description": "The Hive Replication Rule was accepted for deletion" + }, + "204": { + "description": "The Hive Replication Rule was not found" + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful hive replication rule delete": { + "$ref": "./examples/FusionGroup/HiveReplicationRuleDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/fusionGroups/{fusionGroupName}/hiveReplicationRules/{hiveReplicationRuleName}/consistencyCheck": { + "post": { + "tags": [ + "Hive Consistency Check" + ], + "description": "Trigger a consistency check on a Hive Replication Rule", + "operationId": "HiveReplicationRules_ConsistencyCheck", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/FusionGroupParameter" + }, + { + "$ref": "#/parameters/HiveReplicationRuleNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request to consistency check the rule was accepted." + }, + "204": { + "description": "The rule to check is not present." + }, + "default": { + "description": "Error response describing the reason for operation failure. 404 - NotFound", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful start of Hive Consistency Check": { + "$ref": "./examples/FusionGroup/HiveConsistencyCheckStart.json" + } + } + } + } + }, + "definitions": { + "VirtualMachineIdentity": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of identity used for the virtual machine.", + "enum": [ + "UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentities" + }, + "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the virtual machine." + }, + "UserAssignedIdentities": { + "type": "object", + "description": "The list of user identities associated with the Virtual Machine.", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The client id of user assigned identity." + } + } + }, + "FusionGroup": { + "type": "object", + "description": "Fusion Group details", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/FrpResource" + } + ], + "properties": { + "properties": { + "title": "properties", + "description": "fusion group properties", + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "label": { + "title": "Property Type", + "description": "Property type label", + "type": "string" + }, + "provisioningState": { + "title": "ProvisioningState", + "description": "Provisioning State of resource", + "$ref": "./commonTypes.json#/definitions/ProvisioningState", + "readOnly": true + }, + "healthStatus": { + "title": "HealthStatus", + "description": "The health of the Fusion Group", + "$ref": "#/definitions/HealthStatus", + "readOnly": true + }, + "allowance": { + "title": "Allowance", + "description": "The remaining allowance for the company associated with the Fusion Group", + "$ref": "./commonTypes.json#/definitions/Allowance", + "readOnly": true + } + } + }, + "plan": { + "description": "Plan to use for Store purchase", + "$ref": "./commonTypes.json#/definitions/Plan" + } + } + }, + "FusionGroupList": { + "description": "The list of Fusion Groups.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of Fusion Groups list.", + "type": "string" + }, + "value": { + "description": "The list of groups", + "type": "array", + "items": { + "$ref": "#/definitions/FusionGroup" + } + } + } + }, + "HealthStatus": { + "description": "health status object", + "type": "object", + "properties": { + "details": { + "description": "An array indicating what errors, if any, occurred and what to do to resolve them", + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorDetail" + } + }, + "status": { + "description": "Health Status", + "enum": [ + "Healthy", + "AtRisk", + "Failed" + ], + "type": "string", + "x-ms-enum": { + "name": "HealthStatusSummary", + "modelAsString": true + }, + "default": "Healthy" + } + } + }, + "AzureZone": { + "description": "Azure Zone", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/FrpResource" + } + ], + "properties": { + "properties": { + "description": "azure zone resource properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureZoneProperties" + } + } + }, + "AzureZoneProperties": { + "description": "azure zone properties", + "type": "object", + "properties": { + "virtualNetworkId": { + "description": "Resource ID of virtual network to attach the VMs to", + "type": "string" + }, + "subnet": { + "description": "Resource ID of Subnet to connect VMs to", + "type": "string" + }, + "vmSize": { + "description": "Size of VM", + "type": "string", + "enum": [ + "Small", + "Medium", + "Large" + ], + "default": "Small", + "x-ms-enum": { + "name": "VmSize", + "modelAsString": false, + "values": [ + { + "value": "Small", + "description": "Small fusion server, typical for replication/migration less than 1TB." + }, + { + "value": "Medium", + "description": "Medium fusion server, typical for replication/migration 1-500TB." + }, + { + "value": "Large", + "description": "Large fusion server, typical for replication/migration larger than 500TB" + } + ] + } + }, + "storageAccountId": { + "description": "Resource ID of ADLS Gen 2 account to replicate to", + "type": "string" + }, + "storageContainer": { + "description": "Container to replicate", + "type": "string" + }, + "storageManagedIdentity": { + "$ref": "#/definitions/VirtualMachineIdentity", + "description": "Managed identity of storage account (use either key or identity)" + }, + "storageAccessKey": { + "x-ms-secret": true, + "x-ms-mutability": [ + "create" + ], + "description": "Access Key for storage (use either key or identity)", + "type": "string" + }, + "nodeCount": { + "description": "The number of nodes in the zone", + "type": "integer", + "format": "int32" + }, + "provisioningState": { + "title": "ProvisioningState", + "description": "Provisioning State of resource", + "$ref": "./commonTypes.json#/definitions/ProvisioningState", + "readOnly": true + }, + "nodes": { + "title": "AzureNodeDetailsList", + "description": "List of NodeDetails for each node in the zone", + "type": "array", + "items": { + "$ref": "#/definitions/AzureNodeDetails" + }, + "readOnly": true + } + }, + "required": [ + "virtualNetworkId", + "subnet", + "storageAccountId", + "storageContainer" + ] + }, + "NodeDetails": { + "title": "NodeDetails", + "description": "Details of a node in the zone", + "type": "object", + "properties": { + "fusion": { + "description": "Details of the fusion server node.", + "type": "object", + "properties": { + "nodeName": { + "description": "The name of the Fusion node", + "type": "string" + }, + "status": { + "description": "The status of the node (Up/Down) or Unknown if the node is not responding", + "type": "string", + "enum": [ + "Up", + "Down", + "Unknown" + ], + "x-ms-enum": { + "name": "NodeStatus", + "modelAsString": false + } + } + } + } + } + }, + "AzureNodeDetails": { + "title": "AzureNodeDetails", + "description": "Details of a node in an azure zone", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/NodeDetails" + } + ], + "properties": { + "vm": { + "x-ms-azure-resource": true, + "description": "The VirtualMachine resource associated with this node", + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "VM Resource Id" + } + } + } + } + }, + "Plugin": { + "description": "Plugin AzureZone subresource", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/FrpResource" + } + ], + "properties": { + "properties": { + "description": "Plugin Representation", + "x-ms-client-flatten": false, + "$ref": "#/definitions/PluginRepresentation" + } + }, + "x-ms-azure-resource": true + }, + "PluginList": { + "description": "The list of Plugins.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of Plugin list.", + "type": "string" + }, + "value": { + "description": "The list of Plugins.", + "type": "array", + "items": { + "$ref": "#/definitions/Plugin" + } + } + } + }, + "PluginRepresentation": { + "description": "Plugin Representation", + "type": "object", + "discriminator": "pluginKind", + "properties": { + "pluginKind": { + "$ref": "#/definitions/PluginKind", + "description": "The kind of Plugin." + }, + "provisioningState": { + "title": "ProvisioningState", + "description": "Provisioning State of resource", + "$ref": "./commonTypes.json#/definitions/ProvisioningState", + "readOnly": true + } + }, + "required": [ + "pluginKind" + ] + }, + "PluginKind": { + "type": "string", + "description": "The kind of Plugin.", + "enum": [ + "HdiFusionClient", + "LiveHiveFusionServer", + "LiveHiveHdiFusionClient" + ], + "x-ms-enum": { + "name": "PluginKind", + "modelAsString": false, + "values": [ + { + "value": "HdiFusionClient" + }, + { + "value": "LiveHiveFusionServer" + }, + { + "value": "LiveHiveHdiFusionClient" + } + ] + } + }, + "HdiFusionClient": { + "description": "HDI Fusion Client", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PluginRepresentation" + } + ], + "properties": { + "hdiClusterId": { + "description": "HDI Cluster resource ID", + "type": "string" + } + }, + "required": [ + "hdiClusterId" + ], + "x-ms-discriminator-value": "HdiFusionClient" + }, + "LiveHiveFusionServer": { + "description": "Live Hive Proxy and Fusion Server Plugin", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PluginRepresentation" + } + ], + "properties": { + "hiveMetastore": { + "description": "Underlying Hive Metastore location", + "type": "string" + } + }, + "x-ms-discriminator-value": "LiveHiveFusionServer" + }, + "LiveHiveHdiFusionClient": { + "description": "Live Hive Attachment to HDI Cluster", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PluginRepresentation" + } + ], + "x-ms-discriminator-value": "LiveHiveHdiFusionClient" + }, + "AzureZoneList": { + "description": "The list of Azure Zones.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of Azure zones list.", + "type": "string" + }, + "value": { + "description": "The list of zones.", + "type": "array", + "items": { + "$ref": "#/definitions/AzureZone" + } + } + } + }, + "ManagedOnPremZone": { + "description": "Managed OnPrem Zone", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/FrpResource" + } + ], + "properties": { + "properties": { + "description": "Managed OnPrem zone resource properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ManagedOnPremZoneProperties" + } + } + }, + "ManagedOnPremZoneProperties": { + "description": "Managed OnPrem zone properties", + "type": "object", + "properties": { + "deploymentType": { + "type": "string", + "description": "The deployment type of the Managed OnPrem zone", + "enum": [ + "HDPSandbox", + "ExistingOnPrem" + ], + "x-ms-enum": { + "name": "ManagedOnPremDeploymentType", + "modelAsString": true, + "values": [ + { + "value": "HDPSandbox" + }, + { + "value": "ExistingOnPrem" + } + ] + }, + "default": "HDPSandbox" + }, + "externalIp": { + "description": "The external IP of the managed OnPrem fusion server", + "type": "string" + }, + "downloadLocation": { + "description": "The location for downloading deployment files", + "type": "string", + "readOnly": true + }, + "nodes": { + "title": "NodeDetailsList", + "description": "List of NodeDetails for each node in the zone", + "type": "array", + "items": { + "$ref": "#/definitions/NodeDetails" + }, + "readOnly": true + }, + "provisioningState": { + "title": "ProvisioningState", + "description": "Provisioning State of resource", + "$ref": "./commonTypes.json#/definitions/ProvisioningState", + "readOnly": true + } + }, + "required": [ + "deploymentType", + "externalIp" + ] + }, + "PathMapping": { + "description": "Replication Rule Mapping of a specific Zone", + "type": "object", + "properties": { + "zone": { + "description": "Zone name", + "type": "string" + }, + "path": { + "description": "The Filesystem Path for which the zone defined by \\'zone\\' should replicate incoming Fusion requests to.", + "type": "string" + } + } + }, + "ManagedOnPremZoneList": { + "description": "The list of Managed OnPrem Zones.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of managed onPrem zones list.", + "type": "string" + }, + "value": { + "description": "The list of zones.", + "type": "array", + "items": { + "$ref": "#/definitions/ManagedOnPremZone" + } + } + } + }, + "ReplicationRule": { + "description": "Replication Rule", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/FrpResource" + } + ], + "properties": { + "properties": { + "description": "replication rule properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ReplicationRuleProperties" + } + } + }, + "ReplicationRuleProperties": { + "description": "Properties of Created Rule Name", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The Filesystem Path to be used if a PathMapping is not defined for a certain zone." + }, + "provisioningState": { + "title": "ProvisioningState", + "description": "Provisioning State of resource", + "$ref": "./commonTypes.json#/definitions/ProvisioningState", + "readOnly": true + }, + "priorityZone": { + "type": "string", + "description": "The Zone that takes precedence for a quorum in a scenario where there is an even number of zones and an equivalent amount of nodes are down in each zone" + }, + "pathMapping": { + "title": "PathMapping", + "description": "Path Mapping for a Replication Rule", + "type": "array", + "items": { + "$ref": "#/definitions/PathMapping" + } + }, + "migration": { + "title": "Migration", + "description": "The most recent migration for the replication rule", + "$ref": "#/definitions/Migration", + "readOnly": true + }, + "recentConsistencyReport": { + "description": "A report of the most recent consistency check completed for this path", + "type": "object", + "$ref": "#/definitions/ConsistencyReport", + "readOnly": true + }, + "zoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of zones the replication rule applies to." + } + }, + "required": [ + "path" + ] + }, + "ReplicationRulesList": { + "description": "The list of Replications Rules.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of Replication Rules list.", + "type": "string" + }, + "value": { + "description": "The list of replication rules", + "type": "array", + "items": { + "$ref": "#/definitions/ReplicationRule" + } + } + } + }, + "ConsistencyCheckOptions": { + "description": "Consistency Check Options", + "type": "object", + "properties": { + "properties": { + "description": "Consistency Check Options properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ConsistencyCheckOptionsProperties" + } + } + }, + "ConsistencyCheckOptionsProperties": { + "description": "Consistency Check Options Properties", + "type": "object", + "properties": { + "type": { + "description": "The type of check, blocking will prevent client requests while running", + "enum": [ + "NonBlocking", + "Blocking" + ], + "type": "string", + "x-ms-enum": { + "name": "type", + "modelAsString": false + }, + "default": "NonBlocking" + }, + "nonBlockingThreshold": { + "description": "The threshold of dirty files which will cancel a non-blocking consistency check should it be met", + "type": "integer", + "format": "int32", + "default": 0 + } + } + }, + "ConsistencyReport": { + "description": "ConsistencyReport Results for path", + "type": "object", + "properties": { + "result": { + "description": "The result of the most recent consistency check available for this path", + "enum": [ + "Consistent", + "Inconsistent", + "Unknown" + ], + "type": "string", + "x-ms-enum": { + "name": "ConsistencyResult", + "modelAsString": false, + "values": [ + { + "value": "Consistent", + "description": "All data is consistent." + }, + { + "value": "Inconsistent", + "description": "There are inconsistent." + }, + { + "value": "Unknown", + "description": "Unknown status." + } + ] + } + }, + "lastCheck": { + "description": "The timestamp from when this consistency check was completed", + "type": "string", + "format": "date-time" + }, + "inconsistencyCount": { + "description": "The number of inconsistent files if the result of the consistency check is inconsistent", + "type": "integer", + "format": "int64" + } + } + }, + "HiveConsistencyReport": { + "description": "HiveConsistencyReport Results for rule", + "type": "object", + "properties": { + "running": { + "description": "The number of database where consistency check status is RUNNING", + "type": "integer", + "format": "int64" + }, + "consistent": { + "description": "The number of database where consistency check status is CONSISTENT", + "type": "integer", + "format": "int64" + }, + "inconsistent": { + "description": "The number of database where consistency check status is INCONSISTENT", + "type": "integer", + "format": "int64" + }, + "failed": { + "description": "The number of database where consistency check status is FAILED", + "type": "integer", + "format": "int64" + }, + "unknown": { + "description": "The number of database where consistency check status is UNKNOWN", + "type": "integer", + "format": "int64" + } + } + }, + "Migration": { + "description": "Instance of a fusion migration", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/FrpProxyResource" + } + ], + "properties": { + "properties": { + "description": "Migration properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/MigrationProperties" + } + } + }, + "MigrationList": { + "description": "The list of Migrations.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of Migrations list.", + "type": "string" + }, + "value": { + "description": "The list of migrations", + "type": "array", + "items": { + "$ref": "#/definitions/Migration" + } + } + } + }, + "MigrationProperties": { + "description": "Properties of fusion migration", + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The source zone for replication rule" + }, + "target": { + "type": "string", + "description": "The target zone for replication rule" + }, + "overwritePolicy": { + "type": "string", + "description": "The overwrite policy for migration Clobber|SkipIfSizeMatch|SkipIfDateIsEarlier", + "enum": [ + "Clobber", + "SkipIfSizeMatch", + "SkipIfDateIsEarlier" + ], + "x-ms-enum": { + "name": "LiveMigrationOverwritePolicy", + "modelAsString": false, + "values": [ + { + "value": "Clobber" + }, + { + "value": "SkipIfSizeMatch" + }, + { + "value": "SkipIfDateIsEarlier" + } + ] + } + }, + "state": { + "description": "Running state of the migration", + "type": "string", + "enum": [ + "Scheduled", + "Starting", + "WarmingUp", + "Running", + "Pausing", + "Paused", + "Aborted", + "Aborting", + "Finishing", + "Finished" + ], + "x-ms-enum": { + "name": "LiveMigrationState", + "modelAsString": false, + "values": [ + { + "value": "Scheduled" + }, + { + "value": "Starting" + }, + { + "value": "WarmingUp" + }, + { + "value": "Running" + }, + { + "value": "Pausing" + }, + { + "value": "Paused" + }, + { + "value": "Aborted" + }, + { + "value": "Aborting" + }, + { + "value": "Finishing" + }, + { + "value": "Finished" + } + ] + } + }, + "progress": { + "description": "Migration status", + "$ref": "#/definitions/MigrationProgress", + "readOnly": true + }, + "dateAfterWhichToMigrate": { + "description": "Date after which migration should occur. Required if overwritePolicy is SkipIfDateIsEarlier.", + "type": "string", + "format": "date-time" + }, + "provisioningState": { + "title": "ProvisioningState", + "description": "Provisioning State of resource", + "$ref": "./commonTypes.json#/definitions/ProvisioningState", + "readOnly": true + } + }, + "required": [ + "source", + "target" + ] + }, + "MigrationProgress": { + "description": "Status of fusion migration", + "type": "object", + "properties": { + "duration": { + "type": "integer", + "format": "int64", + "description": "Duration of migration" + }, + "filesSeen": { + "type": "integer", + "format": "int64", + "description": "Number of files scanned" + }, + "dirsSeen": { + "type": "integer", + "format": "int64", + "description": "Number of directories scanned" + }, + "filesExcluded": { + "type": "integer", + "format": "int64", + "description": "Number of excluded files" + }, + "dirsExcluded": { + "type": "integer", + "format": "int64", + "description": "Number of excluded directories" + }, + "bytesExcluded": { + "type": "integer", + "format": "int64", + "description": "Number of bytes excluded" + }, + "sizeOfMigration": { + "type": "integer", + "format": "int64", + "description": "Size of the migration" + }, + "filesToMigrate": { + "type": "integer", + "format": "int64", + "description": "Number of files to migrate" + }, + "dirsToMigrate": { + "type": "integer", + "format": "int64", + "description": "Number of directories to migrate" + }, + "bytesToMigrate": { + "type": "integer", + "format": "int64", + "description": "Number of bytes to migrate" + } + } + }, + "Plan": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "A user defined name of the 3rd Party Artifact that is being procured." + }, + "publisher": { + "type": "string", + "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" + }, + "product": { + "type": "string", + "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. " + }, + "promotionCode": { + "type": "string", + "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." + }, + "version": { + "type": "string", + "description": "The version of the desired product/artifact." + } + }, + "description": "Plan for the resource.", + "required": [ + "name", + "publisher", + "product" + ] + }, + "HiveReplicationRule": { + "description": "Hive Replication Rule", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/FrpResource" + } + ], + "properties": { + "properties": { + "description": "hive replication rule properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/HiveReplicationRuleProperties" + } + } + }, + "HiveReplicationRuleProperties": { + "description": "Properties of Created Hive Rule Name", + "type": "object", + "properties": { + "dbNamePattern": { + "type": "string", + "description": "The simple pattern of the Database as a mapped path determined by Fusion." + }, + "tableNamePattern": { + "type": "string", + "description": "The simple pattern of the Table Name as a mapped path as determined by Fusion." + }, + "provisioningState": { + "title": "ProvisioningState", + "description": "Provisioning State of resource", + "$ref": "./commonTypes.json#/definitions/ProvisioningState", + "readOnly": true + }, + "recentConsistencyReport": { + "description": "A report of the most recent consistency check completed for this rule", + "type": "object", + "$ref": "#/definitions/HiveConsistencyReport", + "readOnly": true + } + }, + "required": [ + "dbNamePattern", + "tableNamePattern" + ] + }, + "HiveReplicationRulesList": { + "description": "The list of Hive Replications Rules.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of Hive Replication Rules list.", + "type": "string" + }, + "value": { + "description": "The list of hive replication rules", + "type": "array", + "items": { + "$ref": "#/definitions/HiveReplicationRule" + } + } + } + } + }, + "parameters": { + "FusionGroupParameter": { + "name": "fusionGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the fusionGroup resource.", + "x-ms-parameter-location": "method" + }, + "AzureZoneParameter": { + "name": "azureZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the azureZone resource.", + "x-ms-parameter-location": "method", + "maxLength": 48 + }, + "ManagedOnPremZoneParameter": { + "name": "managedOnPremZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the managed onPremZone resource.", + "x-ms-parameter-location": "method" + }, + "ReplicationRuleNameParameter": { + "name": "replicationRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the replicationRule", + "x-ms-parameter-location": "method" + }, + "PluginsParameter": { + "name": "pluginName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Plugin", + "x-ms-parameter-location": "method" + }, + "MigrationNameParameter": { + "name": "migrationName", + "in": "path", + "required": true, + "type": "string", + "description": "The id for migration", + "x-ms-parameter-location": "method" + }, + "HiveReplicationRuleNameParameter": { + "name": "hiveReplicationRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the hiveReplicationRule", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/migrators.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/migrators.json new file mode 100644 index 000000000000..f22d6dcce8c8 --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/migrators.json @@ -0,0 +1,3362 @@ +{ + "swagger": "2.0", + "info": { + "title": "WANDisco Fusion", + "description": "WANDisco Fusion", + "version": "2021-05-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Wandisco.Fusion/migrators": { + "get": { + "tags": [ + "migrators" + ], + "description": "Returns list of migrators under subscription.", + "operationId": "Migrators_ListBySubscription", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "migrators details.", + "schema": { + "$ref": "#/definitions/MigratorList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get list of migrators": { + "$ref": "./examples/LiveDataMigrator/MigratorsListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators": { + "get": { + "tags": [ + "migrator" + ], + "description": "Returns list of Migrators.", + "operationId": "Migrators_ListByResourceGroup", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "migrator details.", + "schema": { + "$ref": "#/definitions/MigratorList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get Migrators list": { + "$ref": "./examples/LiveDataMigrator/MigratorList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}": { + "get": { + "tags": [ + "migrator" + ], + "description": "Returns a given Migrator.", + "operationId": "Migrators_Get", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + } + ], + "responses": { + "200": { + "description": "migrator details.", + "schema": { + "$ref": "#/definitions/Migrator" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Migrator by name": { + "$ref": "./examples/LiveDataMigrator/MigratorGet.json" + } + } + }, + "put": { + "tags": [ + "migrator" + ], + "description": "Creates a Migrator.", + "operationId": "Migrators_CreateOrUpdate", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "name": "Migrator", + "description": "migrator details.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Migrator" + } + } + ], + "x-ms-examples": { + "Create Migrator": { + "$ref": "./examples/LiveDataMigrator/MigratorCreate.json" + } + }, + "responses": { + "200": { + "description": "Updating Migrator.", + "schema": { + "$ref": "#/definitions/Migrator" + } + }, + "201": { + "description": "Creating Migrator.", + "schema": { + "$ref": "#/definitions/Migrator" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "migrator" + ], + "description": "Updates a given Migrator.", + "operationId": "Migrators_Update", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "name": "MigratorUpdate", + "description": "migrator update details.", + "in": "body", + "schema": { + "$ref": "#/definitions/MigratorUpdate" + } + } + ], + "responses": { + "200": { + "description": "Updating Migrator.", + "schema": { + "$ref": "#/definitions/Migrator" + } + }, + "201": { + "description": "Updating Migrator.", + "schema": { + "$ref": "#/definitions/Migrator" + } + }, + "default": { + "description": "Error response describing the reason for operation failure", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Successful Migrator Tags Patch": { + "$ref": "./examples/LiveDataMigrator/MigratorTagPatch.json" + }, + "Successful Bandwidth Patch": { + "$ref": "./examples/LiveDataMigrator/MigratorBandwidthPatch.json" + } + } + }, + "delete": { + "tags": [ + "migrator" + ], + "description": "Deletes a given Migrator.", + "operationId": "Migrators_Delete", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + } + ], + "responses": { + "200": { + "description": "The Migrator was successfully deleted" + }, + "202": { + "description": "The Migrator was accepted for deletion" + }, + "204": { + "description": "The Migrator was not found" + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful migrator delete": { + "$ref": "./examples/LiveDataMigrator/MigratorDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/generateUpgrade": { + "post": { + "tags": [ + "migrator" + ], + "description": "Generate the updated version of a Migrator.", + "operationId": "Migrators_GenerateUpgrade", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + } + ], + "x-ms-examples": { + "Generated updated Migrator": { + "$ref": "./examples/LiveDataMigrator/MigratorGenerateUpgrade.json" + } + }, + "responses": { + "200": { + "description": "Generate upgraded migrator request completed." + }, + "202": { + "description": "Generate upgraded migrator request accepted." + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/updateDownloadLocation": { + "post": { + "tags": [ + "migrator" + ], + "description": "Update the downloadLocation of the Migrator.", + "operationId": "Migrators_UpdateDownloadLocation", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + } + ], + "x-ms-examples": { + "Refresh a Migrator": { + "$ref": "./examples/LiveDataMigrator/MigratorUpdateDownloadLocation.json" + } + }, + "responses": { + "200": { + "description": "Update download location request completed." + }, + "202": { + "description": "Update download location request accepted." + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/getInstallKey": { + "post": { + "tags": [ + "migrator" + ], + "description": "Get the install key of a Migrator", + "operationId": "Migrators_GetInstallKey", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + } + ], + "x-ms-examples": { + "Refresh Migrator Install Key": { + "$ref": "./examples/LiveDataMigrator/MigratorGetInstallKey.json" + } + }, + "responses": { + "200": { + "description": "Create config archive request completed.", + "schema": { + "$ref": "#/definitions/MigratorInstallKey" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/liveDataMigrations": { + "get": { + "tags": [ + "LiveDataMigrations" + ], + "description": "List migrations in the migrator", + "operationId": "LiveDataMigrations_ListByMigrator", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LiveDataMigrationList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List LiveData Migration": { + "$ref": "./examples/LiveDataMigrator/LiveDataMigrationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/liveDataMigrations/{migrationName}": { + "get": { + "tags": [ + "LiveDataMigrations" + ], + "description": "Read a migrator migration", + "operationId": "LiveDataMigrations_Get", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LiveDataMigration" + } + }, + "default": { + "description": "Error response describing the reason for operation failure. 404 - NotFound", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get LiveData Migration": { + "$ref": "./examples/LiveDataMigrator/LiveDataMigrationGet.json" + } + } + }, + "put": { + "tags": [ + "LiveDataMigrations" + ], + "description": "Create a Migrator migration", + "operationId": "LiveDataMigrations_CreateOrUpdate", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + }, + { + "name": "migration", + "description": "migration details.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LiveDataMigration" + } + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/LiveDataMigration" + } + }, + "201": { + "description": "Creating LiveDataMigration.", + "schema": { + "$ref": "#/definitions/LiveDataMigration" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create LiveData Migration": { + "$ref": "./examples/LiveDataMigrator/LiveDataMigrationCreate.json" + } + } + }, + "delete": { + "tags": [ + "LiveDataMigrations" + ], + "description": "Delete a Migrator migration", + "operationId": "LiveDataMigrations_Delete", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "204": { + "description": "The migration was not found" + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete LiveData Migration": { + "$ref": "./examples/LiveDataMigrator/LiveDataMigrationDelete.json" + } + } + }, + "patch": { + "tags": [ + "LiveDataMigrations" + ], + "description": "Updates a given LiveDataMigration.", + "operationId": "LiveDataMigrations_Update", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + }, + { + "name": "LiveDataMigration", + "description": "LiveDataMigration update properties.", + "in": "body", + "schema": { + "$ref": "#/definitions/TagsAndExclusionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Updating LiveDataMigration", + "schema": { + "$ref": "#/definitions/LiveDataMigration" + } + }, + "201": { + "description": "Updating LiveDataMigration", + "schema": { + "$ref": "#/definitions/LiveDataMigration" + } + }, + "default": { + "description": "Error response describing the reason for operation failure", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Successful Migration Tags Patch": { + "$ref": "./examples/LiveDataMigrator/LiveDataMigrationTagsPatch.json" + }, + "Successful Exclusions Patch": { + "$ref": "./examples/LiveDataMigrator/LiveDataMigrationExclusionsPatch.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/liveDataMigrations/{migrationName}/start": { + "post": { + "tags": [ + "LiveDataMigrations" + ], + "description": "Start an existing migrator migration", + "operationId": "LiveDataMigrations_Start", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Start Migration": { + "$ref": "./examples/LiveDataMigrator/LiveDataMigrationStart.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/liveDataMigrations/{migrationName}/stop": { + "post": { + "tags": [ + "LiveDataMigrations" + ], + "description": "Stop a migrator migration", + "operationId": "LiveDataMigrations_Stop", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Stop Migration": { + "$ref": "./examples/LiveDataMigrator/LiveDataMigrationStop.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/targets": { + "get": { + "tags": [ + "migratorTarget" + ], + "description": "Returns list of Migrator Targets.", + "operationId": "Targets_ListByMigrator", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + } + ], + "responses": { + "200": { + "description": "migrator details.", + "schema": { + "$ref": "#/definitions/MigratorTargetList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get Migrator Targets list": { + "$ref": "./examples/LiveDataMigrator/MigratorTargetList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/targets/{migratorTargetName}": { + "get": { + "tags": [ + "migratorTarget" + ], + "description": "Returns a given Migrator Target.", + "operationId": "Targets_Get", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MigratorTargetNameParameter" + } + ], + "responses": { + "200": { + "description": "migrator target details.", + "schema": { + "$ref": "#/definitions/MigratorTarget" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Migrator Target by name": { + "$ref": "./examples/LiveDataMigrator/MigratorTargetGet.json" + } + } + }, + "put": { + "tags": [ + "migratorTarget" + ], + "description": "Creates a Migrator Target.", + "operationId": "Targets_CreateOrUpdate", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MigratorTargetNameParameter" + }, + { + "name": "MigratorTarget", + "description": "migrator target details.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MigratorTarget" + } + } + ], + "x-ms-examples": { + "Create Migrator Target": { + "$ref": "./examples/LiveDataMigrator/MigratorTargetCreate.json" + } + }, + "responses": { + "200": { + "description": "Updating Migrator Target.", + "schema": { + "$ref": "#/definitions/MigratorTarget" + } + }, + "201": { + "description": "Creating Migrator Target.", + "schema": { + "$ref": "#/definitions/MigratorTarget" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "migratorTarget" + ], + "description": "Updates a given Migrator Target.", + "operationId": "Targets_Update", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MigratorTargetNameParameter" + }, + { + "name": "Migrator Target", + "description": "migrator target update details.", + "in": "body", + "schema": { + "$ref": "./commonTypes.json#/definitions/TagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "Updating Migrator Target.", + "schema": { + "$ref": "#/definitions/MigratorTarget" + } + }, + "default": { + "description": "Error response describing the reason for operation failure", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful Migrator Target Patch": { + "$ref": "./examples/LiveDataMigrator/MigratorTargetPatch.json" + } + } + }, + "delete": { + "tags": [ + "migratorTarget" + ], + "description": "Deletes a given Migrator Target.", + "operationId": "Targets_Delete", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MigratorTargetNameParameter" + } + ], + "responses": { + "200": { + "description": "The Migrator Target was successfully deleted" + }, + "202": { + "description": "The Migrator Target was accepted for deletion" + }, + "204": { + "description": "The Migrator Target was not found" + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful migrator target delete": { + "$ref": "./examples/LiveDataMigrator/MigratorTargetDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/pathMappings": { + "get": { + "tags": [ + "LiveDataPathMappings" + ], + "description": "Returns a list of LiveDataPathMappings", + "operationId": "PathMappings_ListByMigrator", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + } + ], + "responses": { + "200": { + "description": "List of LiveDataPathMapping Details", + "schema": { + "$ref": "#/definitions/LiveDataPathMappingList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get LiveDataPathMappings": { + "$ref": "./examples/LiveDataMigrator/PathMappingList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/pathMappings/{pathMappingName}": { + "get": { + "tags": [ + "LiveDataPathMappings" + ], + "description": "Returns an LiveDataPathMapping", + "operationId": "PathMappings_Get", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/LiveDataPathMappingsNameParameter" + } + ], + "responses": { + "200": { + "description": "LiveDataPathMappingDetails", + "schema": { + "$ref": "#/definitions/LiveDataPathMapping" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get LiveDataPathMapping": { + "$ref": "./examples/LiveDataMigrator/PathMappingGet.json" + } + } + }, + "put": { + "tags": [ + "LiveDataPathMappings" + ], + "description": "Creates an LiveDataPathMapping", + "operationId": "PathMappings_CreateOrUpdate", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/LiveDataPathMappingsNameParameter" + }, + { + "name": "pathMapping", + "description": "LiveDataPathMapping details.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LiveDataPathMapping" + } + } + ], + "responses": { + "200": { + "description": "Created LiveDataPathMapping.", + "schema": { + "$ref": "#/definitions/LiveDataPathMapping" + } + }, + "201": { + "description": "Creating LiveDataPathMapping.", + "schema": { + "$ref": "#/definitions/LiveDataPathMapping" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Creating LiveDataPathMapping": { + "$ref": "./examples/LiveDataMigrator/PathMappingCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "LiveDataPathMappings" + ], + "description": "Update an LiveDataPathMapping", + "operationId": "PathMappings_Update", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/LiveDataPathMappingsNameParameter" + }, + { + "name": "pathMapping", + "description": "pathMapping update details", + "in": "body", + "schema": { + "$ref": "./commonTypes.json#/definitions/TagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "Updating LiveDataPathMapping.", + "schema": { + "$ref": "#/definitions/LiveDataPathMapping" + } + }, + "default": { + "description": "Error response describing the reason for operation failure", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch LiveDataPathMapping": { + "$ref": "./examples/LiveDataMigrator/PathMappingPatch.json" + } + } + }, + "delete": { + "tags": [ + "LiveDataPathMappings" + ], + "description": "Deletes a given LiveDataPathMapping.", + "operationId": "PathMappings_Delete", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/LiveDataPathMappingsNameParameter" + } + ], + "responses": { + "200": { + "description": "The LiveDataPathMapping was successfully deleted" + }, + "202": { + "description": "The LiveDataPathMapping was accepted for deletion" + }, + "204": { + "description": "The LiveDataPathMapping was not found" + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful path mapping delete": { + "$ref": "./examples/LiveDataMigrator/PathMappingDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/exclusionTemplates": { + "get": { + "tags": [ + "ExclusionTemplates" + ], + "description": "Returns a list of Exclusion Templates", + "operationId": "ExclusionTemplates_ListByMigrator", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + } + ], + "responses": { + "200": { + "description": "List of Exclusion Template Details", + "schema": { + "$ref": "#/definitions/ExclusionTemplateList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get Exclusion Templates": { + "$ref": "./examples/LiveDataMigrator/ExclusionTemplateList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/exclusionTemplates/{exclusionTemplateName}": { + "get": { + "tags": [ + "ExclusionTemplates" + ], + "description": "Returns an Exclusion Template", + "operationId": "ExclusionTemplates_Get", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/ExclusionTemplateNameParameter" + } + ], + "responses": { + "200": { + "description": "ExclusionTemplateDetails", + "schema": { + "$ref": "#/definitions/ExclusionTemplate" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Exclusion": { + "$ref": "./examples/LiveDataMigrator/ExclusionTemplateGet.json" + } + } + }, + "put": { + "tags": [ + "ExclusionTemplates" + ], + "description": "Creates an Exclusion Template", + "operationId": "ExclusionTemplates_Create", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/ExclusionTemplateNameParameter" + }, + { + "name": "exclusion", + "description": "Exclusion Template details.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExclusionTemplate" + } + } + ], + "responses": { + "200": { + "description": "Created Exclusion Template.", + "schema": { + "$ref": "#/definitions/ExclusionTemplate" + } + }, + "201": { + "description": "Creating Exclusion Template.", + "schema": { + "$ref": "#/definitions/ExclusionTemplate" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Creating Exclusion": { + "$ref": "./examples/LiveDataMigrator/ExclusionTemplateCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "ExclusionTemplates" + ], + "description": "Update an Exclusion", + "operationId": "ExclusionTemplates_Update", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/ExclusionTemplateNameParameter" + }, + { + "name": "exclusion", + "description": "exclusion template update details", + "in": "body", + "schema": { + "$ref": "./commonTypes.json#/definitions/TagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "Updating Exclusion Template.", + "schema": { + "$ref": "#/definitions/ExclusionTemplate" + } + }, + "default": { + "description": "Error response describing the reason for operation failure", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch Exclusion": { + "$ref": "./examples/LiveDataMigrator/ExclusionTemplatePatch.json" + } + } + }, + "delete": { + "tags": [ + "ExclusionTemplates" + ], + "description": "Deletes a given Exclusion Template.", + "operationId": "ExclusionTemplates_Delete", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/ExclusionTemplateNameParameter" + } + ], + "responses": { + "200": { + "description": "The Exclusion Template was successfully deleted" + }, + "202": { + "description": "The Exclusion Template was accepted for deletion" + }, + "204": { + "description": "The Exclusion Template was not found" + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful exclusion template delete": { + "$ref": "./examples/LiveDataMigrator/ExclusionTemplateDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/metadataTargets": { + "get": { + "tags": [ + "metadataTarget" + ], + "description": "Returns list of Metadata Targets.", + "operationId": "MetadataTargets_ListByMigrator", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + } + ], + "responses": { + "200": { + "description": "List of Metadata Targets for specified Migrator.", + "schema": { + "$ref": "#/definitions/MetadataTargetList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get Metadata Target list": { + "$ref": "./examples/LiveDataMigrator/MetadataTargetList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/metadataTargets/{metadataTargetName}": { + "get": { + "tags": [ + "metadataTarget" + ], + "description": "Returns a given Metadata Target.", + "operationId": "MetadataTargets_Get", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MetadataTargetNameParameter" + } + ], + "responses": { + "200": { + "description": "metadata target details.", + "schema": { + "$ref": "#/definitions/MetadataTarget" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Migrator Metadata Target by name": { + "$ref": "./examples/LiveDataMigrator/MetadataTargetGet.json" + } + } + }, + "put": { + "tags": [ + "metadataTarget" + ], + "description": "Creates a Metadata Target.", + "operationId": "MetadataTargets_CreateOrUpdate", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MetadataTargetNameParameter" + }, + { + "name": "MetadataTarget", + "description": "metadata target details.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MetadataTarget" + } + } + ], + "x-ms-examples": { + "Create Metadata Target": { + "$ref": "./examples/LiveDataMigrator/MetadataTargetCreate.json" + } + }, + "responses": { + "200": { + "description": "Updating Metadata Target.", + "schema": { + "$ref": "#/definitions/MetadataTarget" + } + }, + "201": { + "description": "Creating Metadata Target.", + "schema": { + "$ref": "#/definitions/MetadataTarget" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "metadataTarget" + ], + "description": "Updates a given Metadata Target.", + "operationId": "MetadataTargets_Update", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MetadataTargetNameParameter" + }, + { + "name": "Metadata Target", + "description": "Metadata target update details.", + "in": "body", + "schema": { + "$ref": "./commonTypes.json#/definitions/TagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "Updating Metadata Target.", + "schema": { + "$ref": "#/definitions/MetadataTarget" + } + }, + "default": { + "description": "Error response describing the reason for operation failure", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful Migrator Metadata Target Patch": { + "$ref": "./examples/LiveDataMigrator/MetadataTargetPatch.json" + } + } + }, + "delete": { + "tags": [ + "metadataTarget" + ], + "description": "Deletes a given Metadata Target.", + "operationId": "MetadataTargets_Delete", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MetadataTargetNameParameter" + } + ], + "responses": { + "200": { + "description": "The Metadata Target was successfully deleted" + }, + "202": { + "description": "The Metadata Target was accepted for deletion" + }, + "204": { + "description": "The Metadata Target was not found" + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful metadata target delete": { + "$ref": "./examples/LiveDataMigrator/MetadataTargetDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/metadataMigrations": { + "get": { + "tags": [ + "metadataMigration" + ], + "description": "Returns list of Metadata Migrations.", + "operationId": "MetadataMigrations_ListByMigrator", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + } + ], + "responses": { + "200": { + "description": "List of Metadata Migrations for specified Migrator.", + "schema": { + "$ref": "#/definitions/MetadataMigrationList" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get Migrator Metadata Migrations list": { + "$ref": "./examples/LiveDataMigrator/MetadataMigrationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/metadataMigrations/{migrationName}": { + "get": { + "tags": [ + "metadataMigration" + ], + "description": "Returns a given Metadata Migration.", + "operationId": "MetadataMigrations_Get", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MetadataMigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "metadata migration details.", + "schema": { + "$ref": "#/definitions/MetadataMigration" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Migrator Metadata Migration by name": { + "$ref": "./examples/LiveDataMigrator/MetadataMigrationGet.json" + } + } + }, + "put": { + "tags": [ + "metadataMigration" + ], + "description": "Creates a Metadata Migration.", + "operationId": "MetadataMigrations_CreateOrUpdate", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MetadataMigrationNameParameter" + }, + { + "name": "MetadataMigration", + "description": "metadata migration details.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MetadataMigration" + } + } + ], + "x-ms-examples": { + "Create Metadata Migration": { + "$ref": "./examples/LiveDataMigrator/MetadataMigrationCreate.json" + } + }, + "responses": { + "200": { + "description": "Metadata Migration Created.", + "schema": { + "$ref": "#/definitions/MetadataMigration" + } + }, + "201": { + "description": "Creating Metadata Migration.", + "schema": { + "$ref": "#/definitions/MetadataMigration" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "metadataMigration" + ], + "description": "Updates a given Metadata Migration.", + "operationId": "MetadataMigrations_Update", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MetadataMigrationNameParameter" + }, + { + "name": "Metadata Migration", + "description": "Metadata migration update details.", + "in": "body", + "schema": { + "$ref": "./commonTypes.json#/definitions/TagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "Updating Metadata Migration.", + "schema": { + "$ref": "#/definitions/MetadataMigration" + } + }, + "default": { + "description": "Error response describing the reason for operation failure", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful Metadata Migration Patch": { + "$ref": "./examples/LiveDataMigrator/MetadataMigrationPatch.json" + } + } + }, + "delete": { + "tags": [ + "metadataMigration" + ], + "description": "Deletes a given Metadata Migration.", + "operationId": "MetadataMigrations_Delete", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MetadataMigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "The Metadata Migration was successfully deleted" + }, + "202": { + "description": "The Metadata Migration was accepted for deletion" + }, + "204": { + "description": "The Metadata Migration was not found" + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful metadata migration delete": { + "$ref": "./examples/LiveDataMigrator/MetadataMigrationDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/metadataMigrations/{migrationName}/start": { + "post": { + "tags": [ + "metadataMigration" + ], + "description": "Start an existing metadata migration", + "operationId": "MetadataMigrations_Start", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Start Metadata Migration": { + "$ref": "./examples/LiveDataMigrator/MetadataMigrationStart.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Wandisco.Fusion/migrators/{migratorName}/metadataMigrations/{migrationName}/stop": { + "post": { + "tags": [ + "metadataMigration" + ], + "description": "Stop a metadata migration", + "operationId": "MetadataMigrations_Stop", + "parameters": [ + { + "$ref": "./commonTypes.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/MigratorNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Stop Metadata Migration": { + "$ref": "./examples/LiveDataMigrator/MetadataMigrationStop.json" + } + } + } + } + }, + "definitions": { + "TagsAndExclusionUpdate": { + "description": "Fields patchable on LiveDataMigration", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/TagsUpdate" + } + ], + "properties": { + "properties": { + "title": "properties", + "description": "TagsAndExclusionUpdate properties", + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "exclusions": { + "type": "array", + "readOnly": false, + "description": "List exclusions to be applied to the migration", + "items": { + "$ref": "#/definitions/LDMExclusion" + } + } + } + } + } + }, + "VirtualMachineIdentity": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of identity used for the virtual machine.", + "enum": [ + "UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentities" + }, + "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the virtual machine." + }, + "UserAssignedIdentities": { + "type": "object", + "description": "The list of user identities associated with the Virtual Machine.", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The client id of user assigned identity." + } + } + }, + "LiveDataPathMapping": { + "description": "LiveDataPathMapping Resource", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/FrpResource" + } + ], + "properties": { + "properties": { + "description": "LiveDataPathMapping Properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/LiveDataPathMappingProperties" + } + } + }, + "LiveDataPathMappingDetails": { + "description": "LiveDataPathMapping details Resource", + "type": "object", + "properties": { + "sourcePath": { + "type": "string", + "description": "Source FileSystem path" + }, + "targetId": { + "type": "string", + "description": "Target FileSystem resource Id" + }, + "targetPath": { + "type": "string", + "description": "Target FileSystem path" + } + } + }, + "LiveDataPathMappingList": { + "description": "The list of LiveDataPathMappings.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of LiveDataPathMappings list.", + "type": "string" + }, + "value": { + "description": "The list of LiveDataPathMappings.", + "type": "array", + "items": { + "$ref": "#/definitions/LiveDataPathMapping" + } + } + } + }, + "LiveDataPathMappingProperties": { + "description": "LiveDataPathMapping Properties", + "type": "object", + "properties": { + "provisioningState": { + "title": "ProvisioningState", + "description": "Provisioning State of resource", + "$ref": "./commonTypes.json#/definitions/ProvisioningState", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Explains what this pathMapping does" + }, + "sourceFileSystem": { + "type": "string", + "description": "Source FileSystem type" + }, + "sourcePath": { + "type": "string", + "description": "Source FileSystem path" + }, + "targetId": { + "type": "string", + "description": "Target FileSystem type" + }, + "targetPath": { + "type": "string", + "description": "Target FileSystem path" + } + }, + "required": [ + "sourcePath", + "targetId", + "targetPath" + ] + }, + "ExclusionTemplate": { + "description": "Exclusion Template Resource", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/FrpResource" + } + ], + "properties": { + "properties": { + "description": "Exclusion Template Representation", + "x-ms-client-flatten": false, + "$ref": "#/definitions/ExclusionRepresentation" + } + }, + "required": [ + "properties" + ], + "x-ms-azure-resource": true + }, + "ExclusionTemplateList": { + "description": "The list of Exclusion Templates.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of Exclusion Templates list.", + "type": "string" + }, + "value": { + "description": "The list of Exclusion Templates.", + "type": "array", + "items": { + "$ref": "#/definitions/ExclusionTemplate" + } + } + } + }, + "LDMExclusion": { + "description": "LDM Exclusion", + "type": "object", + "properties": { + "isFsRestriction": { + "type": "boolean", + "description": "Indicates whether this Exclusion is a Default Exclusion bounded by FileSystem limitation." + }, + "isDefault": { + "type": "boolean", + "description": "Indicates whether this Exclusion is a Default Exclusion or a User Defined Exclusion from Exclusion Template." + }, + "name": { + "description": "The name of the exclusion. If it is User Defined Exclusion, then name would be the same as referenced Exclusion Template's name", + "type": "string" + }, + "details": { + "type": "object", + "$ref": "#/definitions/LDMExclusionDetail", + "description": "The details of the exclusion" + } + }, + "required": [ + "name" + ] + }, + "LDMExclusionDetail": { + "description": "LDM Exclusion", + "type": "object", + "discriminator": "exclusionKind", + "properties": { + "exclusionKind": { + "$ref": "#/definitions/ExclusionKind", + "description": "The kind of Exclusion." + }, + "description": { + "type": "string", + "description": "Explains what this exclusion does" + } + }, + "required": [ + "exclusionKind" + ] + }, + "LDMDateExclusion": { + "description": "Live Data Migrator Exclusion based on Date", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LDMExclusionDetail" + } + ], + "properties": { + "dateForExclusion": { + "description": "Any file with a date earlier than dateForExclusion will be excluded", + "type": "string", + "format": "date-time" + } + }, + "required": [ + "dateForExclusion" + ], + "x-ms-discriminator-value": "DateExclusion" + }, + "LDMFileSizeExclusion": { + "description": "Live Date Migrator Exclusion based on File Size", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LDMExclusionDetail" + } + ], + "properties": { + "maxFileSizeBytes": { + "description": "Any file with a file size greater than maxFileSizeBytes will be excluded", + "type": "integer", + "format": "int64" + } + }, + "required": [ + "maxFileSizeBytes" + ], + "x-ms-discriminator-value": "FileSizeExclusion" + }, + "LDMPatternExclusion": { + "description": "Live Data Migrator Exclusion based on Pattern", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LDMExclusionDetail" + } + ], + "properties": { + "pattern": { + "description": "Any file path matching the pattern in pattern will be excluded", + "type": "string" + }, + "patternType": { + "description": "Pattern type.", + "type": "string" + } + }, + "required": [ + "pattern", + "patternType" + ], + "x-ms-discriminator-value": "PatternExclusion" + }, + "ExclusionRepresentation": { + "description": "Exclusion Representation", + "type": "object", + "discriminator": "exclusionKind", + "properties": { + "exclusionKind": { + "$ref": "#/definitions/ExclusionKind", + "description": "The kind of Exclusion." + }, + "provisioningState": { + "title": "ProvisioningState", + "description": "Provisioning State of resource", + "$ref": "./commonTypes.json#/definitions/ProvisioningState", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Explains what this exclusion does" + } + }, + "required": [ + "exclusionKind" + ] + }, + "ExclusionKind": { + "type": "string", + "description": "The kind of Exclusion.", + "enum": [ + "DateExclusion", + "FileSizeExclusion", + "PatternExclusion" + ], + "x-ms-enum": { + "name": "ExclusionKind", + "modelAsString": false, + "values": [ + { + "value": "DateExclusion" + }, + { + "value": "FileSizeExclusion" + }, + { + "value": "PatternExclusion" + } + ] + } + }, + "DateExclusion": { + "description": "Migration Exclusion based on Date", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ExclusionRepresentation" + } + ], + "properties": { + "dateForExclusion": { + "description": "Any file with a date earlier than dateForExclusion will be excluded", + "type": "string", + "format": "date-time" + } + }, + "required": [ + "dateForExclusion" + ], + "x-ms-discriminator-value": "DateExclusion" + }, + "FileSizeExclusion": { + "description": "Exclusion based on File Size", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ExclusionRepresentation" + } + ], + "properties": { + "maxFileSizeBytes": { + "description": "Any file with a file size greater than maxFileSizeBytes will be excluded", + "type": "integer", + "format": "int64" + } + }, + "required": [ + "maxFileSizeBytes" + ], + "x-ms-discriminator-value": "FileSizeExclusion" + }, + "PatternExclusion": { + "description": "Migrator Exclusion based on GLOB Pattern", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ExclusionRepresentation" + } + ], + "properties": { + "patternForExclusion": { + "description": "Any file path matching the pattern in patternForExclusion will be excluded", + "type": "string" + } + }, + "required": [ + "patternForExclusion" + ], + "x-ms-discriminator-value": "PatternExclusion" + }, + "Migrator": { + "description": "Migrator Resource", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/FrpResource" + } + ], + "properties": { + "properties": { + "description": "Migrator resource properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/MigratorProperties" + }, + "plan": { + "description": "Plan to use for Store purchase", + "$ref": "./commonTypes.json#/definitions/Plan" + } + } + }, + "MigratorList": { + "description": "The list of Migrators.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of migrators list.", + "type": "string" + }, + "value": { + "description": "The list of migrators.", + "type": "array", + "items": { + "$ref": "#/definitions/Migrator" + } + } + } + }, + "MigratorProperties": { + "description": "Migrator properties", + "type": "object", + "properties": { + "provisioningState": { + "title": "ProvisioningState", + "description": "Provisioning State of resource", + "$ref": "./commonTypes.json#/definitions/ProvisioningState", + "readOnly": true + }, + "deploymentType": { + "description": "The type of install required for the migrator", + "type": "string", + "enum": [ + "DEB", + "RPM" + ], + "x-ms-enum": { + "name": "MigratorDeploymentType", + "modelAsString": true, + "values": [ + { + "value": "DEB" + }, + { + "value": "RPM" + } + ] + }, + "default": "RPM" + }, + "downloadLocation": { + "description": "The location for downloading deployment files", + "type": "string", + "readOnly": true + }, + "version": { + "description": "The version of this migrator service", + "type": "string", + "readOnly": true + }, + "latestAvailableVersion": { + "description": "The latest available version of the migrator service", + "type": "string", + "readOnly": true + }, + "kerberos": { + "title": "KerberosConfiguration", + "description": "The configuration properties for authenticating to the source filesystem", + "$ref": "#/definitions/KerberosConfiguration" + }, + "metaKerberos": { + "title": "KerberosConfiguration", + "description": "The configuration properties for authenticating to the source metadata store", + "$ref": "#/definitions/KerberosConfiguration" + }, + "allowance": { + "title": "Allowance", + "description": "The remaining allowance for the company associated with the Migrator", + "$ref": "./commonTypes.json#/definitions/Allowance", + "readOnly": true + }, + "migratorStatus": { + "description": "Status of the Migrator server", + "$ref": "#/definitions/MigratorDetails" + }, + "installParameters": { + "description": "Installation configuration for the Migrator server", + "type": "object", + "properties": { + "user": { + "description": "The system user to run the process as", + "type": "string", + "default": "hdfs" + }, + "installDir": { + "description": "The directory under which to install", + "type": "string", + "default": "/opt/wandisco" + }, + "logDir": { + "description": "The directory where logs will be written", + "type": "string", + "default": "/var/log" + } + } + }, + "bandwidthPolicy": { + "title": "BandwidthPolicy", + "description": "The overall application bandwidth policy set for a migrator.", + "$ref": "#/definitions/MigratorBandwidthPolicy", + "readOnly": true + } + } + }, + "MigratorInstallKey": { + "title": "MigratorInstallKey", + "description": "Unique install key of a Migrator", + "type": "object", + "properties": { + "installKey": { + "description": "Install key", + "type": "string", + "readOnly": true + } + } + }, + "MigratorDetails": { + "title": "MigratorDetails", + "description": "Details of a migrator", + "type": "object", + "properties": { + "status": { + "description": "The status of the migrator (Up/Down)", + "type": "string", + "enum": [ + "Up", + "Down" + ], + "x-ms-enum": { + "name": "MigratorServerStatus", + "modelAsString": true + } + }, + "seenAt": { + "description": "last time a response was received from the server", + "type": "string", + "format": "date-time" + }, + "consecutiveErrors": { + "description": "failed attempts to reach the server", + "type": "integer", + "format": "int32" + }, + "installState": { + "title": "MigratorInstallState", + "description": "The state of the on-prem LiveData Migrator installation.", + "$ref": "#/definitions/MigratorInstallState", + "readOnly": true + }, + "metaInstallState": { + "title": "MigratorInstallState", + "description": "The state of the on-prem Migrator metastore installation.", + "$ref": "#/definitions/MigratorInstallState", + "readOnly": true + } + } + }, + "MigratorInstallState": { + "type": "string", + "description": "The possible Install States", + "enum": [ + "NotInstalled", + "InstalledNoSourceDetected", + "InstalledAndOperational" + ], + "x-ms-enum": { + "name": "MigratorInstallState", + "modelAsString": false + } + }, + "MigratorUpdate": { + "description": "Migrator Update definition", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/TagsUpdate" + } + ], + "properties": { + "properties": { + "title": "properties", + "description": "MigratorUpdate properties", + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "bandwidthPolicy": { + "description": "Overall application bandwidth limit to apply", + "x-ms-client-flatten": false, + "$ref": "#/definitions/MigratorBandwidthPolicy" + }, + "kerberos": { + "title": "KerberosConfiguration", + "description": "The configuration properties for authenticating to the source filesystem", + "$ref": "#/definitions/KerberosConfiguration" + }, + "metaKerberos": { + "title": "KerberosConfiguration", + "description": "The configuration properties for authenticating to the source metastore", + "$ref": "#/definitions/KerberosConfiguration" + } + } + } + } + }, + "MigratorBandwidthPolicy": { + "description": "BandwidthPolicy for a Migrator resource.", + "type": "object", + "properties": { + "maxBytesPerSec": { + "description": "Overall application bandwidth limit to apply.", + "type": "integer", + "format": "int64" + } + } + }, + "MigratorTarget": { + "description": "Migrator Target Resource", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/FrpResource" + } + ], + "properties": { + "properties": { + "description": "Migrator target resource properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/MigratorTargetProperties" + } + } + }, + "MigratorTargetList": { + "description": "The list of Migrator Targets.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of migrator targets list.", + "type": "string" + }, + "value": { + "description": "The list of migrator targets.", + "type": "array", + "items": { + "$ref": "#/definitions/MigratorTarget" + } + } + } + }, + "MigratorTargetProperties": { + "description": "Migrator target properties", + "type": "object", + "properties": { + "provisioningState": { + "title": "ProvisioningState", + "description": "Provisioning State of resource", + "$ref": "./commonTypes.json#/definitions/ProvisioningState", + "readOnly": true + }, + "storageAccountId": { + "description": "Resource ID of ADLS Gen 2 account to replicate to", + "type": "string" + }, + "storageContainer": { + "description": "Container to target migration to", + "type": "string" + }, + "storageAccessKey": { + "x-ms-secret": true, + "x-ms-mutability": [ + "create" + ], + "description": "Access Key for storage", + "type": "string" + }, + "oauthClientId": { + "description": "Service principal client ID", + "type": "string" + }, + "oauthClientSecret": { + "description": "Service principal client secret", + "type": "string", + "x-ms-secret": true, + "x-ms-mutability": [ + "create" + ] + }, + "oauthClientEndpoint": { + "description": "Service principal endpoint (optional). If not provided it will use the default endpoint for your tenant.", + "type": "string" + } + }, + "required": [ + "storageAccountId", + "storageContainer" + ] + }, + "MetadataTargetList": { + "description": "The list of Migrator Targets.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of metadata targets list.", + "type": "string" + }, + "value": { + "description": "The list of metadata targets.", + "type": "array", + "items": { + "$ref": "#/definitions/MetadataTarget" + } + } + } + }, + "MetadataTarget": { + "description": "Metadata Target Resource", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/FrpResource" + } + ], + "properties": { + "properties": { + "description": "metadata target properties", + "x-ms-client-flatten": false, + "$ref": "#/definitions/MetadataTargetProperties" + } + } + }, + "MetadataTargetProperties": { + "description": "Properties of Created Rule Name", + "type": "object", + "properties": { + "provisioningState": { + "title": "ProvisioningState", + "description": "Provisioning State of resource", + "$ref": "./commonTypes.json#/definitions/ProvisioningState", + "readOnly": true + }, + "metadataTargetKind": { + "description": "The kind of metadata target.", + "type": "string", + "enum": [ + "AzureSqlMetadataTarget" + ], + "x-ms-enum": { + "name": "MetadataTargetKind", + "modelAsString": true, + "values": [ + { + "value": "AzureSqlMetadataTarget" + } + ] + } + }, + "dataTargetId": { + "description": "Resource ID of Migrator Target.", + "type": "string" + }, + "defaultFsOverride": { + "description": "Override defaultFs.", + "type": "string" + } + }, + "discriminator": "metadataTargetKind", + "required": [ + "metadataTargetKind" + ] + }, + "AzureSqlMetadataTarget": { + "description": "Azure SQL Metadata target properties", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MetadataTargetProperties" + } + ], + "properties": { + "sqlServerId": { + "description": "Resource ID of SQL server.", + "type": "string" + }, + "sqlDatabase": { + "description": "Name of SQL database.", + "type": "string" + }, + "sqlUser": { + "description": "User to use to connect to SQL database.", + "type": "string" + }, + "sqlPassword": { + "x-ms-secret": true, + "x-ms-mutability": [ + "create" + ], + "description": "Password for SQL user.", + "type": "string" + }, + "hdiVersion": { + "description": "The HDI version used by the target metadata cluster.", + "enum": [ + "3.6", + "4.0" + ], + "type": "string", + "x-ms-enum": { + "name": "AzureSqlHdiVersion", + "modelAsString": true, + "values": [ + { + "value": "3.6" + }, + { + "value": "4.0" + } + ] + } + } + }, + "required": [ + "sqlServerId", + "sqlDatabase" + ], + "x-ms-discriminator-value": "AzureSqlMetadataTarget" + }, + "MetadataMigrationList": { + "description": "The list of Migrator Metadata Migrations.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of metadata migrations list.", + "type": "string" + }, + "value": { + "description": "The list of metadata migrations.", + "type": "array", + "items": { + "$ref": "#/definitions/MetadataMigration" + } + } + } + }, + "MetadataMigration": { + "description": "Metadata migration properties", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/FrpResource" + } + ], + "properties": { + "properties": { + "description": "Metadata migration properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/MetadataMigrationProperties" + } + } + }, + "MetadataMigrationProperties": { + "description": "Metadata migration properties", + "type": "object", + "properties": { + "provisioningState": { + "title": "ProvisioningState", + "description": "Provisioning State of resource", + "$ref": "./commonTypes.json#/definitions/ProvisioningState", + "readOnly": true + }, + "pathMappings": { + "title": "LiveDataPathMappingDetailsList", + "description": "List of LiveDataPathMappingDetails of each path mapping in migration", + "type": "array", + "items": { + "$ref": "#/definitions/LiveDataPathMappingDetails" + }, + "readOnly": true + }, + "dbNamePattern": { + "type": "string", + "description": "Pattern to select which databases get migrated" + }, + "tableNamePattern": { + "type": "string", + "description": "Pattern to select which tables get migrated" + }, + "targetId": { + "type": "string", + "description": "Resource ID of Migrator Metadata Target." + }, + "autoStart": { + "description": "Flag to start migration immediately", + "type": "boolean", + "default": false + }, + "state": { + "description": "Running state of the migration", + "type": "string", + "enum": [ + "Created", + "Running", + "Stopped", + "Failed" + ], + "x-ms-enum": { + "name": "MetadataMigrationState", + "modelAsString": true, + "values": [ + { + "value": "Created" + }, + { + "value": "Running" + }, + { + "value": "Stopped" + }, + { + "value": "Failed" + } + ] + } + }, + "migratedItems": { + "description": "The number of items migrated", + "type": "integer", + "format": "int32", + "readOnly": true + } + }, + "required": [ + "dbNamePattern", + "tableNamePattern" + ] + }, + "LiveDataMigration": { + "description": "Instance of a Migrator migration", + "type": "object", + "allOf": [ + { + "$ref": "./commonTypes.json#/definitions/FrpResource" + } + ], + "properties": { + "properties": { + "description": "Migration properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/LiveDataMigrationProperties" + } + } + }, + "LiveDataMigrationList": { + "description": "The list of Migrator Migrations.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of Migrator Migrations list.", + "type": "string" + }, + "value": { + "description": "The list of migrations", + "type": "array", + "items": { + "$ref": "#/definitions/LiveDataMigration" + } + } + } + }, + "LiveDataMigrationProperties": { + "description": "Properties of migrator migration", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "Migration path on the source file system" + }, + "provisioningState": { + "title": "ProvisioningState", + "description": "Provisioning State of resource", + "$ref": "./commonTypes.json#/definitions/ProvisioningState", + "readOnly": true + }, + "targetId": { + "type": "string", + "description": "ID of the target file system" + }, + "autoStart": { + "description": "Flag to start migration immediately", + "type": "boolean" + }, + "pathMappings": { + "title": "LiveDataPathMappingDetailsList", + "description": "List of LiveDataPathMappingDetails of each path mapping in migration", + "type": "array", + "items": { + "$ref": "#/definitions/LiveDataPathMappingDetails" + }, + "readOnly": true + }, + "exclusions": { + "type": "array", + "description": "List of exclusion applied to the migration", + "items": { + "$ref": "#/definitions/LDMExclusion" + } + }, + "scanOnly": { + "description": "Flag marking a Non Live migration", + "type": "boolean", + "default": false + }, + "targetActionPolicy": { + "description": "The policy to use when replacing files on the target", + "type": "string", + "enum": [ + "Overwrite", + "SkipIfSizeMatch" + ], + "default": "Overwrite", + "x-ms-enum": { + "name": "TargetActionPolicy", + "modelAsString": true, + "values": [ + { + "value": "Overwrite" + }, + { + "value": "SkipIfSizeMatch" + } + ] + } + }, + "migrationStatus": { + "description": "Status of the Migration", + "type": "string", + "readOnly": true, + "enum": [ + "Non-Scheduled", + "Scheduled", + "Running", + "Live", + "Paused", + "Stopping", + "Stopped", + "Completed" + ], + "x-ms-enum": { + "name": "LiveDataMigrationState", + "modelAsString": true, + "values": [ + { + "value": "Non-Scheduled" + }, + { + "value": "Scheduled" + }, + { + "value": "Running" + }, + { + "value": "Live" + }, + { + "value": "Paused" + }, + { + "value": "Stopping" + }, + { + "value": "Stopped" + }, + { + "value": "Completed" + } + ] + } + }, + "migrationId": { + "description": "Unique Identifier for the migration", + "type": "string", + "readOnly": true + } + }, + "required": [ + "path", + "targetId" + ] + }, + "KerberosConfiguration": { + "type": "object", + "description": "The configuration properties for authenticating using Kerberos", + "properties": { + "enabled": { + "description": "The client will use kerberos authentication if enabled is true", + "type": "boolean" + }, + "principal": { + "description": "The principal the client should use", + "type": "string" + }, + "keytabLocation": { + "description": "The location of the keytab file for the client to use", + "type": "string" + } + } + } + }, + "parameters": { + "MigratorNameParameter": { + "name": "migratorName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the migrator resource.", + "x-ms-parameter-location": "method" + }, + "MigratorTargetNameParameter": { + "name": "migratorTargetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the migrator target resource.", + "x-ms-parameter-location": "method" + }, + "MigrationNameParameter": { + "name": "migrationName", + "in": "path", + "required": true, + "type": "string", + "description": "The id for migration", + "x-ms-parameter-location": "method" + }, + "MetadataMigrationNameParameter": { + "name": "migrationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the migrator metadata migration resource.", + "x-ms-parameter-location": "method" + }, + "MetadataTargetNameParameter": { + "name": "metadataTargetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the metadata target resource.", + "x-ms-parameter-location": "method" + }, + "LiveDataPathMappingsNameParameter": { + "name": "pathMappingName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the LiveDataPathMapping", + "x-ms-parameter-location": "method" + }, + "ExclusionTemplateNameParameter": { + "name": "exclusionTemplateName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Migrator Exclusion Template", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/operations.json b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/operations.json new file mode 100644 index 000000000000..78505fceb49a --- /dev/null +++ b/specification/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/operations.json @@ -0,0 +1,279 @@ +{ + "swagger": "2.0", + "info": { + "title": "WANDisco Fusion", + "description": "WANDisco Fusion", + "version": "2021-05-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Wandisco.Fusion/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available RP operations.", + "operationId": "Operations_list", + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Wandisco.Fusion Operations": { + "$ref": "./examples/WandiscoFusionListOperations.json" + } + } + } + }, + "/providers/Wandisco.Fusion/locations/{locationName}/operationStatuses/{operationStatusId}": { + "get": { + "tags": [ + "operationStatus" + ], + "description": "Return the given operationStatus.", + "operationId": "OperationStatuses_Get", + "parameters": [ + { + "$ref": "#/parameters/LocationNameParameter" + }, + { + "$ref": "#/parameters/OperationStatusIdParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "operationStatus details.", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful get": { + "$ref": "./examples/Operations/OperationStatusGet.json" + }, + "Successful get of failed operation": { + "$ref": "./examples/Operations/OperationStatusGetError.json" + } + } + }, + "patch": { + "tags": [ + "operationStatus" + ], + "description": "Patches a given operationStatus.", + "operationId": "OperationStatuses_Update", + "parameters": [ + { + "$ref": "#/parameters/LocationNameParameter" + }, + { + "$ref": "#/parameters/OperationStatusIdParameter" + }, + { + "$ref": "./commonTypes.json#/parameters/ApiVersionParameter" + }, + { + "name": "operationStatus", + "description": "operationStatus details.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/OperationStatus" + } + } + ], + "responses": { + "200": { + "description": "operationStatus details.", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error response describing the reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Successful update": { + "$ref": "./examples/Operations/OperationStatusPatch.json" + } + } + } + } + }, + "definitions": { + "Operation": { + "description": "REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "isDataAction": { + "description": "Indicates whether the operation applies to data-plane", + "type": "boolean" + }, + "display": { + "description": "The object that represents the operation.", + "type": "object", + "properties": { + "provider": { + "description": "Service provider: Microsoft.ResourceProvider", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed: Profile, endpoint, etc.", + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" + }, + "description": { + "description": "The description of the operation", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "Result of the request to list Resource Provider operations. It contains a list of operations and a URL link to get the next set of results.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Resource Provider operations supported by the Resource Provider resource provider." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "OperationStatusError": { + "description": "operation status error", + "type": "object", + "properties": { + "code": { + "description": "An invariant error code used for error troubleshooting, aggregation, and analysis.", + "type": "string" + }, + "message": { + "description": "An actionable error message indicating what error occurred.", + "type": "string" + } + } + }, + "OperationStatus": { + "description": "operation status object", + "type": "object", + "properties": { + "id": { + "description": "Full Operation Id", + "type": "string" + }, + "name": { + "description": "Just the name part", + "type": "string" + }, + "properties": { + "description": "Some details (unspecified)", + "type": "object" + }, + "status": { + "description": "Operation Status", + "type": "string" + }, + "resourceId": { + "description": "ResourceId to which this operation applied", + "type": "string" + }, + "startTime": { + "description": "When operation started", + "type": "string" + }, + "error": { + "description": "If present, details of the error.", + "type": "object", + "$ref": "#/definitions/OperationStatusError" + } + } + } + }, + "parameters": { + "LocationNameParameter": { + "name": "locationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the location", + "x-ms-parameter-location": "method" + }, + "OperationStatusIdParameter": { + "name": "operationStatusId", + "in": "path", + "required": true, + "type": "string", + "description": "The id of the operationStatus", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/fusion/resource-manager/readme.md b/specification/fusion/resource-manager/readme.md index f2439c739938..6e96d47fa137 100644 --- a/specification/fusion/resource-manager/readme.md +++ b/specification/fusion/resource-manager/readme.md @@ -7,7 +7,7 @@ ```yaml openapi-type: arm openapi-subtype: rpaas -tag: 2021-02-01-preview +tag: 2021-05-01-preview ``` ### Supported API Versions @@ -31,6 +31,14 @@ input-file: - Wandisco.Fusion/preview/2021-02-01-preview/fusionGroups.json ``` +```yaml $(tag) == '2021-05-01-preview' +input-file: + - Wandisco.Fusion/preview/2021-05-01-preview/fusionGroups.json + - Wandisco.Fusion/preview/2021-05-01-preview/migrators.json + - Wandisco.Fusion/preview/2021-05-01-preview/operations.json + - Wandisco.Fusion/preview/2021-05-01-preview/commonTypes.json +``` + ## Language specific configurations ### python