From 61df4598ce27ea501328c5b8476dd2ac8da3640e Mon Sep 17 00:00:00 2001 From: Sam Lee <32776898+minhsuanlee@users.noreply.github.com> Date: Wed, 19 Jul 2023 16:29:22 -0700 Subject: [PATCH 1/2] Generate new Service for azuresiterecovery --- .../2021-02-16-preview/azuresiterecovery.json | 132 ++++++++++++++++++ .../examples/OperationGroupGet.json | 15 ++ .../resource-manager/readme.az.md | 28 ++++ .../resource-manager/readme.cli.md | 1 + .../resource-manager/readme.csharp.md | 15 ++ .../resource-manager/readme.go.md | 11 ++ .../resource-manager/readme.md | 78 +++++++++++ .../resource-manager/readme.python.md | 18 +++ .../resource-manager/readme.typescript.md | 14 ++ 9 files changed, 312 insertions(+) create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/azuresiterecovery.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/OperationGroupGet.json create mode 100644 specification/azuresiterecovery/resource-manager/readme.az.md create mode 100644 specification/azuresiterecovery/resource-manager/readme.cli.md create mode 100644 specification/azuresiterecovery/resource-manager/readme.csharp.md create mode 100644 specification/azuresiterecovery/resource-manager/readme.go.md create mode 100644 specification/azuresiterecovery/resource-manager/readme.md create mode 100644 specification/azuresiterecovery/resource-manager/readme.python.md create mode 100644 specification/azuresiterecovery/resource-manager/readme.typescript.md diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/azuresiterecovery.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/azuresiterecovery.json new file mode 100644 index 000000000000..d7331527bd45 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/azuresiterecovery.json @@ -0,0 +1,132 @@ +{ + "swagger": "2.0", + "info": { + "version": "2021-02-16-preview", + "title": "azuresiterecovery", + "description": "Description of the new service", + "x-ms-code-generation-settings": { + "name": "azuresiterecoveryClient" + } + }, + "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}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/operations": { + "get": { + "tags": ["Tag1"], + "operationId": "OperationGroup_Get", + "x-ms-examples": { + "BatchAccountDelete": { "$ref": "./examples/OperationGroupGet.json" } + }, + "description": "This is a sample get operation, please see guidelines in azure-rest-api-specs repository for more info", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Describe the result of a successful operation.", + "schema": { + "$ref": "#/definitions/Result" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "Result": { + "description": "Sample result definition", + "properties": { + "sampleProperty": { + "type": "string", + "description": "Sample property of type string" + } + } + }, + "ErrorResponse": { + "description": "Error response.", + "properties": { + "error": { + "$ref": "#/definitions/ErrorDefinition", + "description": "The error details." + } + } + }, + "ErrorDefinition": { + "description": "Error definition.", + "properties": { + "code": { + "description": "Service specific error code which serves as the substatus for the HTTP error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Description of the error.", + "type": "string", + "readOnly": true + }, + "details": { + "description": "Internal error details.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDefinition" + }, + "readOnly": true + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to be used with the HTTP request." + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/OperationGroupGet.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/OperationGroupGet.json new file mode 100644 index 000000000000..53dc6efe2819 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/OperationGroupGet.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "accountName": "sampleacct", + "resourceGroupName": "azuresiterecoveryClient", + "api-version": "2021-02-16-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "sampleProperty": "sampleProperty" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/readme.az.md b/specification/azuresiterecovery/resource-manager/readme.az.md new file mode 100644 index 000000000000..81353bd8ba48 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/readme.az.md @@ -0,0 +1,28 @@ +## AZ + +These settings apply only when `--az` is specified on the command line. + +For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage. + +``` yaml $(az) && $(target-mode) != 'core' +az: + extensions: azuresiterecovery + namespace: azure.mgmt.azuresiterecovery + package-name: azure-mgmt-azuresiterecovery +az-output-folder: $(azure-cli-extension-folder)/src/azuresiterecovery +python-sdk-output-folder: "$(az-output-folder)/azext_azuresiterecovery/vendored_sdks/azuresiterecovery" +# add additional configuration here specific for Azure CLI +# refer to the faq.md for more details +``` + + + +This is for command modules that already in azure cli main repo. +``` yaml $(az) && $(target-mode) == 'core' +az: + extensions: azuresiterecovery + namespace: azure.mgmt.azuresiterecovery + package-name: azure-mgmt-azuresiterecovery +az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/azuresiterecovery +python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/azuresiterecovery" +``` \ No newline at end of file diff --git a/specification/azuresiterecovery/resource-manager/readme.cli.md b/specification/azuresiterecovery/resource-manager/readme.cli.md new file mode 100644 index 000000000000..c6cf6ad37ea4 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/readme.cli.md @@ -0,0 +1 @@ +## CLI Common Settings for all the command line tools \ No newline at end of file diff --git a/specification/azuresiterecovery/resource-manager/readme.csharp.md b/specification/azuresiterecovery/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..c093b36b08a7 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/readme.csharp.md @@ -0,0 +1,15 @@ +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.DataReplication + output-folder: $(csharp-sdks-folder)/azuresiterecovery/management/Microsoft.DataReplication/GeneratedProtocol +``` diff --git a/specification/azuresiterecovery/resource-manager/readme.go.md b/specification/azuresiterecovery/resource-manager/readme.go.md new file mode 100644 index 000000000000..a5af3736a2f9 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/readme.go.md @@ -0,0 +1,11 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +```yaml $(go) && $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/azuresiterecovery/armazuresiterecovery +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +``` diff --git a/specification/azuresiterecovery/resource-manager/readme.md b/specification/azuresiterecovery/resource-manager/readme.md new file mode 100644 index 000000000000..ef597cd82823 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/readme.md @@ -0,0 +1,78 @@ +# azuresiterecovery + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for azuresiterecovery. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the azuresiterecovery. + +```yaml +openapi-type: arm +tag: package-2021-02-16-preview +``` + +### Tag: package-2021-02-16-preview + +These settings apply only when `--tag=package-2021-02-16-preview` is specified on the command line. + +```yaml $(tag) == 'package-2021-02-16-preview' +input-file: + - Microsoft.DataReplication/preview/2021-02-16-preview/azuresiterecovery.json +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +```yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python-track2 + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-cli-extensions + - repo: azure-powershell +``` +## Az + +See configuration in [readme.az.md](./readme.az.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/azuresiterecovery/resource-manager/readme.python.md b/specification/azuresiterecovery/resource-manager/readme.python.md new file mode 100644 index 000000000000..002914fc3ad2 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/readme.python.md @@ -0,0 +1,18 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-azuresiterecovery +namespace: azure.mgmt.azuresiterecovery +package-version: 1.0.0b1 +clear-output-folder: true +``` + +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/azuresiterecovery/azure-mgmt-azuresiterecovery/azure/mgmt/azuresiterecovery +``` diff --git a/specification/azuresiterecovery/resource-manager/readme.typescript.md b/specification/azuresiterecovery/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..58c227a898be --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/readme.typescript.md @@ -0,0 +1,14 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-azuresiterecovery" + output-folder: "$(typescript-sdks-folder)/sdk/azuresiterecovery/arm-azuresiterecovery" + payload-flattening-threshold: 1 + clear-output-folder: true + generate-metadata: true +``` From 5ef4eea5b09ea6eb26eb92f4f7a911e20e0e9d46 Mon Sep 17 00:00:00 2001 From: Sam Lee Date: Wed, 19 Jul 2023 16:34:58 -0700 Subject: [PATCH 2/2] Init swagger review --- .../2021-02-16-preview/azuresiterecovery.json | 6936 ++++++++++++++++- .../examples/CheckNameAvailability.json | 22 + .../examples/DeploymentPreflight.json | 34 + .../examples/DraOperationStatus_Get.json | 23 + .../examples/Dra_Create.json | 198 + .../examples/Dra_Delete.json | 19 + .../2021-02-16-preview/examples/Dra_Get.json | 91 + .../2021-02-16-preview/examples/Dra_List.json | 95 + .../examples/EmailConfiguration_Create.json | 75 + .../examples/EmailConfiguration_Get.json | 38 + .../examples/EmailConfiguration_List.json | 42 + .../examples/Event_Get.json | 78 + .../examples/Event_List.json | 84 + .../examples/FabricOperationsStatus_Get.json | 22 + .../examples/Fabric_Create.json | 150 + .../examples/Fabric_Delete.json | 18 + .../examples/Fabric_Get.json | 74 + .../examples/Fabric_List.json | 79 + .../examples/Fabric_ListBySubscription.json | 78 + .../examples/Fabric_Update.json | 89 + .../examples/OperationGroupGet.json | 15 - .../examples/Operations_List.json | 24 + .../examples/PolicyOperationStatus_Get.json | 23 + .../examples/Policy_Create.json | 74 + .../examples/Policy_Delete.json | 19 + .../examples/Policy_Get.json | 37 + .../examples/Policy_List.json | 41 + .../ProtectedItemOperationStatus_Get.json | 23 + .../examples/ProtectedItem_Create.json | 264 + .../examples/ProtectedItem_Delete.json | 20 + .../examples/ProtectedItem_Get.json | 131 + .../examples/ProtectedItem_List.json | 135 + .../ProtectedItem_PlannedFailover.json | 34 + .../examples/RecoveryPoints_Get.json | 39 + .../examples/RecoveryPoints_List.json | 43 + ...plicationExtensionOperationStatus_Get.json | 23 + .../examples/ReplicationExtension_Create.json | 74 + .../examples/ReplicationExtension_Delete.json | 19 + .../examples/ReplicationExtension_Get.json | 37 + .../examples/ReplicationExtension_List.json | 41 + .../examples/VaultOperationStatus_Get.json | 22 + .../examples/Vault_Create.json | 72 + .../examples/Vault_Delete.json | 18 + .../examples/Vault_Get.json | 36 + .../examples/Vault_List.json | 41 + .../examples/Vault_ListBySubscription.json | 40 + .../examples/Vault_Update.json | 49 + .../examples/WorkflowOperationStatus_Get.json | 23 + .../examples/Workflow_Get.json | 78 + .../examples/Workflow_List.json | 84 + 50 files changed, 9732 insertions(+), 92 deletions(-) create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/CheckNameAvailability.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DeploymentPreflight.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DraOperationStatus_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Create.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Delete.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_List.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Create.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_List.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_List.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/FabricOperationsStatus_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Create.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Delete.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_List.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_ListBySubscription.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Update.json delete mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/OperationGroupGet.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Operations_List.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/PolicyOperationStatus_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Create.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Delete.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_List.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItemOperationStatus_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Create.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Delete.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_List.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_PlannedFailover.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_List.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtensionOperationStatus_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Create.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Delete.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_List.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/VaultOperationStatus_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Create.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Delete.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_List.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_ListBySubscription.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Update.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/WorkflowOperationStatus_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_Get.json create mode 100644 specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_List.json diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/azuresiterecovery.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/azuresiterecovery.json index d7331527bd45..7d9f312a71ff 100644 --- a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/azuresiterecovery.json +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/azuresiterecovery.json @@ -1,132 +1,6914 @@ { "swagger": "2.0", "info": { - "version": "2021-02-16-preview", - "title": "azuresiterecovery", - "description": "Description of the new service", - "x-ms-code-generation-settings": { - "name": "azuresiterecoveryClient" - } + "title": "Azure Site Recovery Management Service API", + "description": "A first party Azure service enabling the data replication.", + "version": "2021-02-16-preview" }, "host": "management.azure.com", - "schemes": ["https"], - "consumes": ["application/json"], - "produces": ["application/json"], - "security": [ - { - "azure_auth": ["user_impersonation"] - } + "schemes": [ + "https" ], - "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}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}/fabricAgents/{draName}": { + "get": { + "tags": [ + "Dra" + ], + "summary": "Gets the Dra.", + "description": "Gets the details of the fabric agent.", + "operationId": "Dra_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "draName", + "description": "Dra name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Dra Model on success.", + "schema": { + "$ref": "#/definitions/DraModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "Dra_Get": { + "$ref": "./examples/Dra_Get.json" + } + } + }, + "put": { + "tags": [ + "Dra" + ], + "summary": "Puts the Dra.", + "description": "Creates the fabric agent.", + "operationId": "Dra_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "draName", + "description": "Dra name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Dra model.", + "schema": { + "$ref": "#/definitions/DraModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DraModel" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/DraModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Dra_Create": { + "$ref": "./examples/Dra_Create.json" + } + } + }, + "delete": { + "tags": [ + "Dra" + ], + "summary": "Deletes the Dra.", + "description": "Deletes the fabric agent.", + "operationId": "Dra_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "draName", + "description": "Dra Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Returns success on deletion.", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Dra_Delete": { + "$ref": "./examples/Dra_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}/fabricAgents": { + "get": { + "tags": [ + "Dra" + ], + "summary": "Lists the Dras.", + "description": "Gets the list of fabric agents in the given fabric.", + "operationId": "Dra_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Dra Model Collection on success.", + "schema": { + "$ref": "#/definitions/DraModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Dra_List": { + "$ref": "./examples/Dra_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}/fabricAgents/{draName}/operations/{operationId}": { + "get": { + "tags": [ + "Dra" + ], + "summary": "Gets the Dra operation status.", + "description": "Tracks the results of an asynchronous operation on the fabric agent.", + "operationId": "DraOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "draName", + "description": "Dra name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "DraOperationStatus_Get": { + "$ref": "./examples/DraOperationStatus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/alertSettings/{emailConfigurationName}": { + "get": { + "tags": [ + "EmailConfiguration" + ], + "summary": "Gets the email configuration setting.", + "description": "Gets the details of the alert configuration setting.", + "operationId": "EmailConfiguration_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "emailConfigurationName", + "description": "Email configuration name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns EmailConfiguration Model on success.", + "schema": { + "$ref": "#/definitions/EmailConfigurationModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "EmailConfiguration_Get": { + "$ref": "./examples/EmailConfiguration_Get.json" + } + } + }, + "put": { + "tags": [ + "EmailConfiguration" + ], + "summary": "Creates email configuration settings.", + "description": "Creates an alert configuration setting for the given vault.", + "operationId": "EmailConfiguration_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "emailConfigurationName", + "description": "Email configuration name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "EmailConfiguration model.", + "schema": { + "$ref": "#/definitions/EmailConfigurationModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/EmailConfigurationModel" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/EmailConfigurationModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "EmailConfiguration_Create": { + "$ref": "./examples/EmailConfiguration_Create.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/alertSettings": { + "get": { + "tags": [ + "EmailConfiguration" + ], + "summary": "Lists the email configuration settings.", + "description": "Gets the list of alert configuration settings for the given vault.", + "operationId": "EmailConfiguration_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns EmailConfiguration Model Collection on success.", + "schema": { + "$ref": "#/definitions/EmailConfigurationModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "EmailConfiguration_List": { + "$ref": "./examples/EmailConfiguration_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/events/{eventName}": { + "get": { + "tags": [ + "Event" + ], + "summary": "Gets the event.", + "description": "Gets the details of the event.", + "operationId": "Event_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "eventName", + "description": "Event name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Event Model on success.", + "schema": { + "$ref": "#/definitions/EventModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "Event_Get": { + "$ref": "./examples/Event_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/events": { + "get": { + "tags": [ + "Event" + ], + "summary": "Lists the events.", + "description": "Gets the list of events in the given vault.", + "operationId": "Event_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "query", + "name": "$filter", + "description": "Filter string.", + "type": "string" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token.", + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Event Model Collection on success.", + "schema": { + "$ref": "#/definitions/EventModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Event_List": { + "$ref": "./examples/Event_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}": { + "get": { + "tags": [ + "Fabric" + ], + "summary": "Gets the fabric.", + "description": "Gets the details of the fabric.", + "operationId": "Fabric_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Fabric Model on success.", + "schema": { + "$ref": "#/definitions/FabricModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "Fabric_Get": { + "$ref": "./examples/Fabric_Get.json" + } + } + }, + "put": { + "tags": [ + "Fabric" + ], + "summary": "Puts the fabric.", + "description": "Creates the fabric.", + "operationId": "Fabric_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Fabric properties.", + "schema": { + "$ref": "#/definitions/FabricModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/FabricModel" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/FabricModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Fabric_Create": { + "$ref": "./examples/Fabric_Create.json" + } + } + }, + "patch": { + "tags": [ + "Fabric" + ], + "summary": "Updates the fabric.", + "description": "Performs update on the fabric.", + "operationId": "Fabric_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Fabric properties.", + "schema": { + "$ref": "#/definitions/FabricModelUpdate" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/FabricModel" + } + }, + "202": { + "description": "Returns success on update.", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Fabric_Update": { + "$ref": "./examples/Fabric_Update.json" + } + } + }, + "delete": { + "tags": [ + "Fabric" + ], + "summary": "Deletes the fabric.", + "description": "Removes the fabric.", + "operationId": "Fabric_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Returns success on deletion.", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Fabric_Delete": { + "$ref": "./examples/Fabric_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/replicationFabrics": { + "get": { + "tags": [ + "Fabric" + ], + "summary": "Lists the fabrics.", + "description": "Gets the list of fabrics in the given subscription.", + "operationId": "Fabric_ListBySubscription", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token from the previous call.", + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Fabric Model Collection on success.", + "schema": { + "$ref": "#/definitions/FabricModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Fabric_ListBySubscription": { + "$ref": "./examples/Fabric_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics": { + "get": { + "tags": [ + "Fabric" + ], + "summary": "Lists the fabrics.", + "description": "Gets the list of fabrics in the given subscription and resource group.", + "operationId": "Fabric_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token from the previous call.", + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Fabric Model Collection on success.", + "schema": { + "$ref": "#/definitions/FabricModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Fabric_List": { + "$ref": "./examples/Fabric_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}/operations/{operationId}": { + "get": { + "tags": [ + "Fabric" + ], + "summary": "Gets the fabric operation status.", + "description": "Tracks the results of an asynchronous operation on the fabric.", + "operationId": "FabricOperationsStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "FabricOperationsStatus_Get": { + "$ref": "./examples/FabricOperationsStatus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationPolicies/{policyName}": { + "get": { + "tags": [ + "Policy" + ], + "summary": "Gets the policy.", + "description": "Gets the details of the policy.", + "operationId": "Policy_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "policyName", + "description": "Policy name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Policy Model on success.", + "schema": { + "$ref": "#/definitions/PolicyModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "Policy_Get": { + "$ref": "./examples/Policy_Get.json" + } + } + }, + "put": { + "tags": [ + "Policy" + ], + "summary": "Puts the policy.", + "description": "Creates the policy.", + "operationId": "Policy_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "policyName", + "description": "Policy name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Policy model.", + "schema": { + "$ref": "#/definitions/PolicyModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/PolicyModel" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/PolicyModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Policy_Create": { + "$ref": "./examples/Policy_Create.json" + } + } + }, + "delete": { + "tags": [ + "Policy" + ], + "summary": "Deletes the policy.", + "description": "Removes the policy.", + "operationId": "Policy_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "policyName", + "description": "Policy Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Returns success on deletion.", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Policy_Delete": { + "$ref": "./examples/Policy_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationPolicies": { + "get": { + "tags": [ + "Policy" + ], + "summary": "Lists the policies.", + "description": "Gets the list of policies in the given vault.", + "operationId": "Policy_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Policy Model Collection on success.", + "schema": { + "$ref": "#/definitions/PolicyModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Policy_List": { + "$ref": "./examples/Policy_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationPolicies/{policyName}/operations/{operationId}": { + "get": { + "tags": [ + "Policy" + ], + "summary": "Gets the policy operation status.", + "description": "Tracks the results of an asynchronous operation on the policy.", + "operationId": "PolicyOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "policyName", + "description": "Policy name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "PolicyOperationStatus_Get": { + "$ref": "./examples/PolicyOperationStatus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}": { + "get": { + "tags": [ + "ProtectedItem" + ], + "summary": "Gets the protected item.", + "description": "Gets the details of the protected item.", + "operationId": "ProtectedItem_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns ProtectedItem Model on success.", + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "ProtectedItem_Get": { + "$ref": "./examples/ProtectedItem_Get.json" + } + } + }, + "put": { + "tags": [ + "ProtectedItem" + ], + "summary": "Puts the protected item.", + "description": "Creates the protected item.", + "operationId": "ProtectedItem_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Protected item model.", + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ProtectedItem_Create": { + "$ref": "./examples/ProtectedItem_Create.json" + } + } + }, + "delete": { + "tags": [ + "ProtectedItem" + ], + "summary": "Deletes the protected item.", + "description": "Removes the protected item.", + "operationId": "ProtectedItem_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "query", + "name": "forceDelete", + "description": "A flag indicating whether to do force delete or not.", + "type": "boolean" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ProtectedItem_Delete": { + "$ref": "./examples/ProtectedItem_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems": { + "get": { + "tags": [ + "ProtectedItem" + ], + "summary": "Lists the protected items.", + "description": "Gets the list of protected items in the given vault.", + "operationId": "ProtectedItem_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns ProtectedItem Model Collection on success.", + "schema": { + "$ref": "#/definitions/ProtectedItemModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ProtectedItem_List": { + "$ref": "./examples/ProtectedItem_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/plannedFailover": { + "post": { + "tags": [ + "ProtectedItem" + ], + "summary": "Performs planned failover.", + "description": "Performs the planned failover on the protected item.", + "operationId": "ProtectedItem_PlannedFailover", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Planned failover model.", + "schema": { + "$ref": "#/definitions/PlannedFailoverModel" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/PlannedFailoverModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ProtectedItem_PlannedFailover": { + "$ref": "./examples/ProtectedItem_PlannedFailover.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/operations/{operationId}": { + "get": { + "tags": [ + "ProtectedItem" + ], + "summary": "Gets the protected item operation status.", + "description": "Tracks the results of an asynchronous operation on the protected item.", + "operationId": "ProtectedItemOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected Item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "ProtectedItemOperationStatus_Get": { + "$ref": "./examples/ProtectedItemOperationStatus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointName}": { + "get": { + "tags": [ + "RecoveryPoint" + ], + "summary": "Gets the recovery point.", + "description": "Gets the details of the recovery point of a protected item.", + "operationId": "RecoveryPoints_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "recoveryPointName", + "description": "Recovery point name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/RecoveryPointModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "RecoveryPoints_Get": { + "$ref": "./examples/RecoveryPoints_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/recoveryPoints": { + "get": { + "tags": [ + "RecoveryPoint" + ], + "summary": "Lists the recovery points.", + "description": "Gets the list of recovery points of the given protected item.", + "operationId": "RecoveryPoints_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/RecoveryPointModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "RecoveryPoints_List": { + "$ref": "./examples/RecoveryPoints_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationExtensions/{replicationExtensionName}": { + "get": { + "tags": [ + "ReplicationExtension" + ], + "summary": "Gets the replication extension.", + "description": "Gets the details of the replication extension.", + "operationId": "ReplicationExtension_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "replicationExtensionName", + "description": "Replication extension name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Replication extension Model on success.", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "ReplicationExtension_Get": { + "$ref": "./examples/ReplicationExtension_Get.json" + } + } + }, + "put": { + "tags": [ + "ReplicationExtension" + ], + "summary": "Puts the replication extension.", + "description": "Creates the replication extension in the given vault.", + "operationId": "ReplicationExtension_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "replicationExtensionName", + "description": "Replication extension name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Replication extension model.", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModel" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ReplicationExtension_Create": { + "$ref": "./examples/ReplicationExtension_Create.json" + } + } + }, + "delete": { + "tags": [ + "ReplicationExtension" + ], + "summary": "Deletes the replication extension.", + "description": "Deletes the replication extension in the given vault.", + "operationId": "ReplicationExtension_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "replicationExtensionName", + "description": "Replication extension name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Returns success on deletion.", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ReplicationExtension_Delete": { + "$ref": "./examples/ReplicationExtension_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationExtensions": { + "get": { + "tags": [ + "ReplicationExtension" + ], + "summary": "Lists the replication extensions.", + "description": "Gets the list of replication extensions in the given vault.", + "operationId": "ReplicationExtension_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Replication extension Model Collection on success.", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ReplicationExtension_List": { + "$ref": "./examples/ReplicationExtension_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationExtensions/{replicationExtensionName}/operations/{operationId}": { + "get": { + "tags": [ + "ReplicationExtension" + ], + "summary": "Gets the replication extension operation status.", + "description": "Tracks the results of an asynchronous operation on the replication extension.", + "operationId": "ReplicationExtensionOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "replicationExtensionName", + "description": "Replication extension name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "ReplicationExtensionOperationStatus_Get": { + "$ref": "./examples/ReplicationExtensionOperationStatus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/locations/{location}/checkNameAvailability": { + "post": { + "tags": [ + "Tenant" + ], + "summary": "Performs the resource name availability check.", + "description": "Checks the resource name availability.", + "operationId": "CheckNameAvailability", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "path", + "name": "location", + "description": "Resource location.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Resource details.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityModel" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResponseModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "CheckNameAvailability": { + "$ref": "./examples/CheckNameAvailability.json" + } + } + } + }, + "/providers/Microsoft.DataReplication/operations": { + "get": { + "tags": [ + "Tenant" + ], + "summary": "Get a list of REST API operations supported by Microsoft.DataReplication.", + "description": "Gets the operations.", + "operationId": "Operations_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/OperationModel" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/deployments/{deploymentId}/preflight": { + "post": { + "tags": [ + "Tenant" + ], + "summary": "Performs resource deployment validation.", + "operationId": "DeploymentPreflight", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "deploymentId", + "description": "Deployment Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Deployment preflight model.", + "schema": { + "$ref": "#/definitions/DeploymentPreflightModel" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DeploymentPreflightModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "DeploymentPreflight": { + "$ref": "./examples/DeploymentPreflight.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}": { + "get": { + "tags": [ + "Vault" + ], + "summary": "Gets the vault.", + "description": "Gets the details of the vault.", + "operationId": "Vault_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Vault Model on success.", + "schema": { + "$ref": "#/definitions/VaultModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "Vault_Get": { + "$ref": "./examples/Vault_Get.json" + } + } + }, + "put": { + "tags": [ + "Vault" + ], + "summary": "Puts the vault.", + "description": "Creates the vault.", + "operationId": "Vault_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Vault properties.", + "schema": { + "$ref": "#/definitions/VaultModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/VaultModel" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/VaultModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Vault_Create": { + "$ref": "./examples/Vault_Create.json" + } + } + }, + "patch": { + "tags": [ + "Vault" + ], + "summary": "Updates the vault.", + "description": "Performs update on the vault.", + "operationId": "Vault_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Vault properties.", + "schema": { + "$ref": "#/definitions/VaultModelUpdate" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/VaultModel" + } + }, + "202": { + "description": "Returns success on update.", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Vault_Update": { + "$ref": "./examples/Vault_Update.json" + } + } + }, + "delete": { + "tags": [ + "Vault" + ], + "summary": "Deletes the vault.", + "description": "Removes the vault.", + "operationId": "Vault_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Returns success on deletion.", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Vault_Delete": { + "$ref": "./examples/Vault_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/replicationVaults": { + "get": { + "tags": [ + "Vault" + ], + "summary": "Lists the vaults.", + "description": "Gets the list of vaults in the given subscription.", + "operationId": "Vault_ListBySubscription", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token from the previous call.", + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Vault Model Collection on success.", + "schema": { + "$ref": "#/definitions/VaultModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Vault_ListBySubscription": { + "$ref": "./examples/Vault_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults": { + "get": { + "tags": [ + "Vault" + ], + "summary": "Lists the vaults.", + "description": "Gets the list of vaults in the given subscription and resource group.", + "operationId": "Vault_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token from the previous call.", + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Vault Model Collection on success.", + "schema": { + "$ref": "#/definitions/VaultModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Vault_List": { + "$ref": "./examples/Vault_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/operations/{operationId}": { + "get": { + "tags": [ + "Vault" + ], + "summary": "Gets the vault operation status.", + "description": "Tracks the results of an asynchronous operation on the vault.", + "operationId": "VaultOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "VaultOperationStatus_Get": { + "$ref": "./examples/VaultOperationStatus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/jobs/{workflowName}": { + "get": { + "tags": [ + "Workflow" + ], + "summary": "Gets the workflow.", + "description": "Gets the details of the job.", + "operationId": "Workflow_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "workflowName", + "description": "Workflow name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Workflow Model on success.", + "schema": { + "$ref": "#/definitions/WorkflowModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "Workflow_Get": { + "$ref": "./examples/Workflow_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/jobs": { + "get": { + "tags": [ + "Workflow" + ], + "summary": "Lists the workflows.", + "description": "Gets the list of jobs in the given vault.", + "operationId": "Workflow_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "query", + "name": "$filter", + "description": "Filter string.", + "type": "string" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token.", + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Workflow Model Collection on success.", + "schema": { + "$ref": "#/definitions/WorkflowModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Workflow_List": { + "$ref": "./examples/Workflow_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/jobs/{workflowName}/operations/{operationId}": { + "get": { + "tags": [ + "Workflow" + ], + "summary": "Gets the workflow operation status.", + "description": "Tracks the results of an asynchronous operation on the job.", + "operationId": "WorkflowOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "workflowName", + "description": "Workflow name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "WorkflowOperationStatus_Get": { + "$ref": "./examples/WorkflowOperationStatus_Get.json" + } + } + } + } + }, + "definitions": { + "ArmError": { + "description": "ARM error resembling ErrorResponse.", + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ArmErrorInfo" + } + } + }, + "ArmErrorInfo": { + "description": "Arm error info resembling ErrorDetail.", + "type": "object", + "properties": { + "code": { + "description": "Gets the error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Gets the error message.", + "type": "string", + "readOnly": true + } + } + }, + "AzStackHCIClusterProperties": { + "description": "AzStackHCI cluster properties.", + "required": [ + "clusterName", + "resourceName", + "storageAccountName", + "storageContainers" + ], + "type": "object", + "properties": { + "clusterName": { + "description": "Gets or sets the AzStackHCICluster FQDN name.", + "minLength": 1, + "type": "string" + }, + "resourceName": { + "description": "Gets or sets the AzStackHCICluster resource name.", + "minLength": 1, + "type": "string" + }, + "storageAccountName": { + "description": "Gets or sets the Storage account name.", + "minLength": 1, + "type": "string" + }, + "storageContainers": { + "description": "Gets or sets the list of AzStackHCICluster Storage Container.", + "type": "array", + "items": { + "$ref": "#/definitions/StorageContainerProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "AzStackHCIFabricModelCustomProperties": { + "description": "AzStackHCI fabric model custom properties.", + "required": [ + "azStackHciSiteId", + "cluster", + "migrationSolutionId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FabricModelCustomProperties" + } + ], + "properties": { + "azStackHciSiteId": { + "description": "Gets or sets the ARM Id of the AzStackHCI site.", + "minLength": 1, + "type": "string" + }, + "applianceName": { + "description": "Gets or sets the Appliance name.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "cluster": { + "$ref": "#/definitions/AzStackHCIClusterProperties" + }, + "fabricResourceId": { + "description": "Gets or sets the fabric resource Id.", + "type": "string", + "readOnly": true + }, + "fabricContainerId": { + "description": "Gets or sets the fabric container Id.", + "type": "string", + "readOnly": true + }, + "migrationSolutionId": { + "description": "Gets or sets the Migration solution ARM Id.", + "minLength": 1, + "type": "string" + }, + "migrationHubUri": { + "description": "Gets or sets the migration hub Uri.", + "type": "string", + "readOnly": true + } + } + }, + "CheckNameAvailabilityModel": { + "description": "Check name availability model.", + "type": "object", + "properties": { + "name": { + "description": "Gets or sets the resource name.", + "type": "string" + }, + "type": { + "description": "Gets or sets the resource type.", + "type": "string" + } + } + }, + "CheckNameAvailabilityResponseModel": { + "description": "Check name availability response model.", + "type": "object", + "properties": { + "nameAvailable": { + "description": "Gets or sets a value indicating whether resource name is available or not.", + "type": "boolean" + }, + "reason": { + "description": "Gets or sets the reason for resource name unavailability.", + "type": "string" + }, + "message": { + "description": "Gets or sets the message for resource name unavailability.", + "type": "string" + } + } + }, + "DeploymentPreflightModel": { + "description": "Deployment preflight model.", + "type": "object", + "properties": { + "resources": { + "description": "Gets or sets the list of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/DeploymentPreflightResource" + }, + "x-ms-identifiers": [] + } + } + }, + "DeploymentPreflightResource": { + "description": "Deployment preflight resource.", + "type": "object", + "properties": { + "name": { + "description": "Gets or sets the resource name.", + "type": "string" + }, + "type": { + "description": "Gets or sets the resource type.", + "type": "string" + }, + "location": { + "description": "Gets or sets the location of the resource.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "apiVersion": { + "description": "Gets or sets the Api version.", + "type": "string" + } + } + }, + "DraModel": { + "description": "Dra model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DraModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "DraModelCollection": { + "description": "Dra model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of Dras.", + "type": "array", + "items": { + "$ref": "#/definitions/DraModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "DraModelCustomProperties": { + "description": "Dra model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "DraModelProperties": { + "description": "Dra model properties.", + "required": [ + "authenticationIdentity", + "customProperties", + "machineId", + "machineName", + "resourceAccessIdentity" + ], + "type": "object", + "properties": { + "correlationId": { + "description": "Gets or sets the Dra correlation Id.", + "type": "string", + "readOnly": true + }, + "machineId": { + "description": "Gets or sets the machine Id where Dra is running.", + "minLength": 1, + "type": "string" + }, + "machineName": { + "description": "Gets or sets the machine name where Dra is running.", + "minLength": 1, + "type": "string" + }, + "authenticationIdentity": { + "$ref": "#/definitions/IdentityModel" + }, + "resourceAccessIdentity": { + "$ref": "#/definitions/IdentityModel" + }, + "isResponsive": { + "description": "Gets or sets a value indicating whether Dra is responsive.", + "type": "boolean", + "readOnly": true + }, + "lastHeartbeat": { + "format": "date-time", + "description": "Gets or sets the time when last heartbeat was sent by the Dra.", + "type": "string", + "readOnly": true + }, + "versionNumber": { + "description": "Gets or sets the Dra version.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Gets or sets the provisioning state of the Dra.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "healthErrors": { + "description": "Gets or sets the list of health errors.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "customProperties": { + "$ref": "#/definitions/DraModelCustomProperties" + } + } + }, + "EmailConfigurationModel": { + "description": "Email configuration model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/EmailConfigurationModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "EmailConfigurationModelCollection": { + "description": "Email configuration model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of email configurations.", + "type": "array", + "items": { + "$ref": "#/definitions/EmailConfigurationModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "EmailConfigurationModelProperties": { + "description": "Email configuration model properties.", + "required": [ + "sendToOwners" + ], + "type": "object", + "properties": { + "sendToOwners": { + "description": "Gets or sets a value indicating whether to send email to subscription administrator.", + "type": "boolean" + }, + "customEmailAddresses": { + "description": "Gets or sets the custom email address for sending emails.", + "type": "array", + "items": { + "type": "string" + } + }, + "locale": { + "description": "Gets or sets the locale for the email notification.", + "type": "string" + } + } + }, + "ErrorModel": { + "description": "Error model.", + "type": "object", + "properties": { + "code": { + "description": "Gets or sets the error code.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the error type.", + "type": "string", + "readOnly": true + }, + "severity": { + "description": "Gets or sets the error severity.", + "type": "string", + "readOnly": true + }, + "creationTime": { + "format": "date-time", + "description": "Gets or sets the creation time of error.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Gets or sets the error message.", + "type": "string", + "readOnly": true + }, + "causes": { + "description": "Gets or sets the possible causes of error.", + "type": "string", + "readOnly": true + }, + "recommendation": { + "description": "Gets or sets the recommended action to resolve error.", + "type": "string", + "readOnly": true + } + } + }, + "EventModel": { + "description": "Event model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/EventModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "EventModelCollection": { + "description": "Event model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of events.", + "type": "array", + "items": { + "$ref": "#/definitions/EventModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "EventModelCustomProperties": { + "description": "Event model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "EventModelProperties": { + "description": "Event model properties.", + "required": [ + "customProperties" + ], + "type": "object", + "properties": { + "resourceType": { + "description": "Gets or sets the resource type.", + "type": "string", + "readOnly": true + }, + "resourceName": { + "description": "Gets or sets the resource name.", + "type": "string", + "readOnly": true + }, + "eventType": { + "description": "Gets or sets the event type.", + "type": "string", + "readOnly": true + }, + "eventName": { + "description": "Gets or sets the event name.", + "type": "string", + "readOnly": true + }, + "timeOfOccurrence": { + "format": "date-time", + "description": "Gets or sets the time at which the event occurred at source.", + "type": "string", + "readOnly": true + }, + "severity": { + "description": "Gets or sets the event severity.", + "type": "string", + "readOnly": true + }, + "description": { + "description": "Gets or sets the event description.", + "type": "string", + "readOnly": true + }, + "correlationId": { + "description": "Gets or sets the event correlation Id.", + "type": "string", + "readOnly": true + }, + "healthErrors": { + "description": "Gets or sets the errors associated with this event.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "customProperties": { + "$ref": "#/definitions/EventModelCustomProperties" + } + } + }, + "FabricModel": { + "description": "Fabric model.", + "required": [ + "location", + "properties" + ], + "type": "object", + "properties": { + "location": { + "description": "Gets or sets the location of the fabric.", + "minLength": 1, + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "$ref": "#/definitions/FabricModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "FabricModelCollection": { + "description": "Fabric model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of fabrics.", + "type": "array", + "items": { + "$ref": "#/definitions/FabricModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "FabricModelCustomProperties": { + "description": "Fabric model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "FabricModelProperties": { + "description": "Fabric model properties.", + "required": [ + "customProperties" + ], + "type": "object", + "properties": { + "provisioningState": { + "description": "Gets or sets the provisioning state of the fabric.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "serviceEndpoint": { + "description": "Gets or sets the service endpoint.", + "type": "string", + "readOnly": true + }, + "serviceResourceId": { + "description": "Gets or sets the service resource Id.", + "type": "string", + "readOnly": true + }, + "health": { + "description": "Gets or sets the fabric health.", + "enum": [ + "Normal", + "Warning", + "Critical" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "HealthStatus", + "modelAsString": true + } + }, + "healthErrors": { + "description": "Gets or sets the list of health errors.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "customProperties": { + "$ref": "#/definitions/FabricModelCustomProperties" + } + } + }, + "FabricModelUpdate": { + "description": "Fabric model for update.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/FabricModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "FailoverProtectedItemProperties": { + "description": "Failover properties of the protected item.", + "type": "object", + "properties": { + "protectedItemName": { + "description": "Gets or sets the protected item name.", + "type": "string", + "readOnly": true + }, + "vmName": { + "description": "Gets or sets the VM name.", + "type": "string", + "readOnly": true + }, + "testVmName": { + "description": "Gets or sets the test VM name.", + "type": "string", + "readOnly": true + }, + "recoveryPointId": { + "description": "Gets or sets the recovery point Id.", + "type": "string", + "readOnly": true + }, + "recoveryPointTime": { + "format": "date-time", + "description": "Gets or sets the recovery point time.", + "type": "string", + "readOnly": true + }, + "networkName": { + "description": "Gets or sets the network name.", + "type": "string", + "readOnly": true + }, + "subnet": { + "description": "Gets or sets the network subnet.", + "type": "string", + "readOnly": true + } + } + }, + "FailoverWorkflowModelCustomProperties": { + "description": "Failover workflow model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkflowModelCustomProperties" + } + ], + "properties": { + "protectedItemDetails": { + "description": "Gets or sets the failed over protected item details.", + "type": "array", + "items": { + "$ref": "#/definitions/FailoverProtectedItemProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "HealthErrorModel": { + "description": "Health error model.", + "type": "object", + "properties": { + "affectedResourceType": { + "description": "Gets or sets the type of affected resource type.", + "type": "string" + }, + "affectedResourceCorrelationIds": { + "description": "Gets or sets the list of affected resource correlation Ids. This can be used to\r\nuniquely identify the count of items affected by a specific category and severity\r\nas well as count of item affected by an specific issue.", + "type": "array", + "items": { + "type": "string" + } + }, + "childErrors": { + "description": "Gets or sets a list of child health errors associated with this error.", + "type": "array", + "items": { + "$ref": "#/definitions/InnerHealthErrorModel" + }, + "x-ms-identifiers": [] + }, + "code": { + "description": "Gets or sets the error code.", + "type": "string", + "readOnly": true + }, + "healthCategory": { + "description": "Gets or sets the health category.", + "type": "string", + "readOnly": true + }, + "category": { + "description": "Gets or sets the error category.", + "type": "string", + "readOnly": true + }, + "severity": { + "description": "Gets or sets the error severity.", + "type": "string", + "readOnly": true + }, + "source": { + "description": "Gets or sets the error source.", + "type": "string", + "readOnly": true + }, + "creationTime": { + "format": "date-time", + "description": "Gets or sets the error creation time.", + "type": "string", + "readOnly": true + }, + "isCustomerResolvable": { + "description": "Gets or sets a value indicating whether the error is customer resolvable.", + "type": "boolean", + "readOnly": true + }, + "summary": { + "description": "Gets or sets the error summary.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Gets or sets the error message.", + "type": "string", + "readOnly": true + }, + "causes": { + "description": "Gets or sets possible causes of the error.", + "type": "string", + "readOnly": true + }, + "recommendation": { + "description": "Gets or sets recommended action to resolve the error.", + "type": "string", + "readOnly": true + } + } + }, + "HyperVMigrateFabricModelCustomProperties": { + "description": "HyperV migrate fabric model custom properties.", + "required": [ + "hyperVSiteId", + "migrationSolutionId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FabricModelCustomProperties" + } + ], + "properties": { + "hyperVSiteId": { + "description": "Gets or sets the ARM Id of the HyperV site.", + "minLength": 1, + "type": "string" + }, + "fabricResourceId": { + "description": "Gets or sets the fabric resource Id.", + "type": "string", + "readOnly": true + }, + "fabricContainerId": { + "description": "Gets or sets the fabric container Id.", + "type": "string", + "readOnly": true + }, + "migrationSolutionId": { + "description": "Gets or sets the migration solution ARM Id.", + "minLength": 1, + "type": "string" + }, + "migrationHubUri": { + "description": "Gets or sets the migration hub Uri.", + "type": "string", + "readOnly": true + } + } + }, + "HyperVToAzStackHCIDiskInput": { + "description": "HyperVToAzStack disk input.", + "required": [ + "diskFileFormat", + "diskId", + "diskSizeGB", + "isOsDisk" + ], + "type": "object", + "properties": { + "diskId": { + "description": "Gets or sets the disk Id.", + "minLength": 1, + "type": "string" + }, + "storageContainerId": { + "description": "Gets or sets the target storage account ARM Id.", + "type": "string" + }, + "isDynamic": { + "description": "Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard\r\ndisk.", + "type": "boolean" + }, + "diskSizeGB": { + "format": "int64", + "description": "Gets or sets the disk size in GB.", + "type": "integer" + }, + "diskFileFormat": { + "description": "Gets or sets the type of the virtual hard disk, vhd or vhdx.", + "minLength": 1, + "type": "string" + }, + "isOsDisk": { + "description": "Gets or sets a value indicating whether disk is os disk.", + "type": "boolean" + } + } + }, + "HyperVToAzStackHCIEventModelCustomProperties": { + "description": "HyperV to AzStackHCI event model custom properties. This class provides provider specific\r\ndetails for events of type DataContract.HealthEvents.HealthEventType.ProtectedItemHealth and\r\nDataContract.HealthEvents.HealthEventType.AgentHealth.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EventModelCustomProperties" + } + ], + "properties": { + "eventSourceFriendlyName": { + "description": "Gets or sets the friendly name of the source which has raised this health event.", + "type": "string", + "readOnly": true + }, + "protectedItemFriendlyName": { + "description": "Gets or sets the protected item friendly name.", + "type": "string", + "readOnly": true + }, + "sourceApplianceName": { + "description": "Gets or sets the source appliance name.", + "type": "string", + "readOnly": true + }, + "targetApplianceName": { + "description": "Gets or sets the source target name.", + "type": "string", + "readOnly": true + }, + "serverType": { + "description": "Gets or sets the server type.", + "type": "string", + "readOnly": true + } + } + }, + "HyperVToAzStackHCINicInput": { + "description": "HyperVToAzStackHCI NIC properties.", + "required": [ + "nicId", + "selectionTypeForFailover" + ], + "type": "object", + "properties": { + "nicId": { + "description": "Gets or sets the NIC Id.", + "minLength": 1, + "type": "string" + }, + "networkName": { + "description": "Gets or sets the network name.", + "type": "string", + "readOnly": true + }, + "targetNetworkId": { + "description": "Gets or sets the target network Id within AzStackHCI Cluster.", + "type": "string", + "readOnly": true + }, + "testNetworkId": { + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "type": "string", + "readOnly": true + }, + "selectionTypeForFailover": { + "description": "Gets or sets the selection type of the NIC.", + "enum": [ + "NotSelected", + "SelectedByUser", + "SelectedByDefault", + "SelectedByUserOverride" + ], + "type": "string", + "x-ms-enum": { + "name": "VMNicSelection", + "modelAsString": true + } + } + } + }, + "HyperVToAzStackHCIPlannedFailoverModelCustomProperties": { + "description": "HyperV to AzStackHCI planned failover model custom properties.", + "required": [ + "shutdownSourceVM" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PlannedFailoverModelCustomProperties" + } + ], + "properties": { + "shutdownSourceVM": { + "description": "Gets or sets a value indicating whether VM needs to be shut down.", + "type": "boolean" + } + } + }, + "HyperVToAzStackHCIPolicyModelCustomProperties": { + "description": "HyperV To AzStackHCI Policy model custom properties.", + "required": [ + "appConsistentFrequencyInMinutes", + "crashConsistentFrequencyInMinutes", + "recoveryPointHistoryInMinutes" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PolicyModelCustomProperties" + } + ], + "properties": { + "recoveryPointHistoryInMinutes": { + "format": "int32", + "description": "Gets or sets the duration in minutes until which the recovery points need to be\r\nstored.", + "type": "integer" + }, + "crashConsistentFrequencyInMinutes": { + "format": "int32", + "description": "Gets or sets the crash consistent snapshot frequency (in minutes).", + "type": "integer" + }, + "appConsistentFrequencyInMinutes": { + "format": "int32", + "description": "Gets or sets the app consistent snapshot frequency (in minutes).", + "type": "integer" + } + } + }, + "HyperVToAzStackHCIProtectedDiskProperties": { + "description": "HyperVToAzStackHCI protected disk properties.", + "type": "object", + "properties": { + "storageContainerId": { + "description": "Gets or sets the ARM Id of the storage container.", + "type": "string", + "readOnly": true + }, + "storageContainerLocalPath": { + "description": "Gets or sets the local path of the storage container.", + "type": "string", + "readOnly": true + }, + "sourceDiskId": { + "description": "Gets or sets the source disk Id.", + "type": "string", + "readOnly": true + }, + "sourceDiskName": { + "description": "Gets or sets the source disk Name.", + "type": "string", + "readOnly": true + }, + "seedDiskName": { + "description": "Gets or sets the seed disk name.", + "type": "string", + "readOnly": true + }, + "testMigrateDiskName": { + "description": "Gets or sets the test failover clone disk.", + "type": "string", + "readOnly": true + }, + "migrateDiskName": { + "description": "Gets or sets the failover clone disk.", + "type": "string", + "readOnly": true + }, + "isOsDisk": { + "description": "Gets or sets a value indicating whether the disk is the OS disk.", + "type": "boolean", + "readOnly": true + }, + "capacityInBytes": { + "format": "int64", + "description": "Gets or sets the disk capacity in bytes.", + "type": "integer", + "readOnly": true + }, + "isDynamic": { + "description": "Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard\r\ndisk.", + "type": "boolean", + "readOnly": true + }, + "diskType": { + "description": "Gets or sets the disk type.", + "type": "string", + "readOnly": true + } + } + }, + "HyperVToAzStackHCIProtectedItemModelCustomProperties": { + "description": "HyperV to AzStackHCI Protected item model custom properties.", + "required": [ + "customLocationRegion", + "disksToInclude", + "fabricDiscoveryMachineId", + "hyperVGeneration", + "nicsToInclude", + "runAsAccountId", + "sourceDraName", + "storageContainerId", + "targetArcClusterCustomLocationId", + "targetDraName", + "targetHciClusterId", + "targetResourceGroupId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemModelCustomProperties" + } + ], + "properties": { + "activeLocation": { + "description": "Gets or sets the location of the protected item.", + "enum": [ + "Primary", + "Recovery" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProtectedItemActiveLocation", + "modelAsString": true + } + }, + "targetHciClusterId": { + "description": "Gets or sets the Target HCI Cluster ARM Id.", + "minLength": 1, + "type": "string" + }, + "targetArcClusterCustomLocationId": { + "description": "Gets or sets the Target Arc Cluster Custom Location ARM Id.", + "minLength": 1, + "type": "string" + }, + "targetAzStackHciClusterName": { + "description": "Gets or sets the Target AzStackHCI cluster name.", + "type": "string", + "readOnly": true + }, + "fabricDiscoveryMachineId": { + "description": "Gets or sets the ARM Id of the discovered machine.", + "minLength": 1, + "type": "string" + }, + "disksToInclude": { + "description": "Gets or sets the list of disks to replicate.", + "minItems": 1, + "type": "array", + "items": { + "$ref": "#/definitions/HyperVToAzStackHCIDiskInput" + }, + "x-ms-identifiers": [] + }, + "nicsToInclude": { + "description": "Gets or sets the list of VM NIC to replicate.", + "minItems": 1, + "type": "array", + "items": { + "$ref": "#/definitions/HyperVToAzStackHCINicInput" + }, + "x-ms-identifiers": [] + }, + "sourceVmName": { + "description": "Gets or sets the source VM display name.", + "type": "string", + "readOnly": true + }, + "sourceCpuCores": { + "format": "int32", + "description": "Gets or sets the source VM CPU cores.", + "type": "integer", + "readOnly": true + }, + "sourceMemoryInMegaBytes": { + "format": "double", + "description": "Gets or sets the source VM ram memory size in megabytes.", + "type": "number", + "readOnly": true + }, + "targetVmName": { + "description": "Gets or sets the target VM display name.", + "type": "string" + }, + "targetResourceGroupId": { + "description": "Gets or sets the target resource group ARM Id.", + "minLength": 1, + "type": "string" + }, + "storageContainerId": { + "description": "Gets or sets the target storage container ARM Id.", + "minLength": 1, + "type": "string" + }, + "hyperVGeneration": { + "description": "Gets or sets the hypervisor generation of the virtual machine.", + "minLength": 1, + "type": "string" + }, + "targetNetworkId": { + "description": "Gets or sets the target network Id within AzStackHCI Cluster.", + "type": "string" + }, + "testNetworkId": { + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "type": "string" + }, + "targetCpuCores": { + "format": "int32", + "description": "Gets or sets the target CPU cores.", + "type": "integer" + }, + "isDynamicRam": { + "description": "Gets or sets a value indicating whether memory is dynamical.", + "type": "boolean" + }, + "dynamicMemoryConfig": { + "$ref": "#/definitions/ProtectedItemDynamicMemoryConfig" + }, + "targetMemoryInMegaBytes": { + "format": "int32", + "description": "Gets or sets the target memory in mega-bytes.", + "type": "integer" + }, + "runAsAccountId": { + "description": "Gets or sets the Run As account Id.", + "minLength": 1, + "type": "string" + }, + "sourceDraName": { + "description": "Gets or sets the source DRA name.", + "minLength": 1, + "type": "string" + }, + "targetDraName": { + "description": "Gets or sets the target DRA name.", + "minLength": 1, + "type": "string" + }, + "sourceApplianceName": { + "description": "Gets or sets the source appliance name.", + "type": "string", + "readOnly": true + }, + "targetApplianceName": { + "description": "Gets or sets the target appliance name.", + "type": "string", + "readOnly": true + }, + "osType": { + "description": "Gets or sets the type of the OS.", + "type": "string", + "readOnly": true + }, + "osName": { + "description": "Gets or sets the name of the OS.", + "type": "string", + "readOnly": true + }, + "firmwareType": { + "description": "Gets or sets the firmware type.", + "type": "string", + "readOnly": true + }, + "targetLocation": { + "description": "Gets or sets the target location.", + "type": "string", + "readOnly": true + }, + "customLocationRegion": { + "description": "Gets or sets the location of Azure Arc HCI custom location resource.", + "minLength": 1, + "type": "string" + }, + "failoverRecoveryPointId": { + "description": "Gets or sets the recovery point Id to which the VM was failed over.", + "type": "string", + "readOnly": true + }, + "lastRecoveryPointReceived": { + "format": "date-time", + "description": "Gets or sets the last recovery point received time.", + "type": "string", + "readOnly": true + }, + "lastRecoveryPointId": { + "description": "Gets or sets the last recovery point Id.", + "type": "string", + "readOnly": true + }, + "initialReplicationProgressPercentage": { + "format": "int32", + "description": "Gets or sets the initial replication progress percentage. This is calculated based on\r\ntotal bytes processed for all disks in the source VM.", + "type": "integer", + "readOnly": true + }, + "resyncProgressPercentage": { + "format": "int32", + "description": "Gets or sets the resync progress percentage. This is calculated based on total bytes\r\nprocessed for all disks in the source VM.", + "type": "integer", + "readOnly": true + }, + "protectedDisks": { + "description": "Gets or sets the list of protected disks.", + "type": "array", + "items": { + "$ref": "#/definitions/HyperVToAzStackHCIProtectedDiskProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "protectedNics": { + "description": "Gets or sets the VM NIC details.", + "type": "array", + "items": { + "$ref": "#/definitions/HyperVToAzStackHCIProtectedNicProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "targetVmBiosId": { + "description": "Gets or sets the BIOS Id of the target AzStackHCI VM.", + "type": "string", + "readOnly": true + }, + "lastReplicationUpdateTime": { + "format": "date-time", + "description": "Gets or sets the latest timestamp that replication status is updated.", + "type": "string", + "readOnly": true + } + } + }, + "HyperVToAzStackHCIProtectedNicProperties": { + "description": "HyperVToAzStackHCI NIC properties.", + "type": "object", + "properties": { + "nicId": { + "description": "Gets or sets the NIC Id.", + "type": "string", + "readOnly": true + }, + "macAddress": { + "description": "Gets or sets the NIC mac address.", + "type": "string", + "readOnly": true + }, + "networkName": { + "description": "Gets or sets the network name.", + "type": "string", + "readOnly": true + }, + "targetNetworkId": { + "description": "Gets or sets the target network Id within AzStackHCI Cluster.", + "type": "string", + "readOnly": true + }, + "testNetworkId": { + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "type": "string", + "readOnly": true + }, + "selectionTypeForFailover": { + "description": "Gets or sets the selection type of the NIC.", + "enum": [ + "NotSelected", + "SelectedByUser", + "SelectedByDefault", + "SelectedByUserOverride" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "VMNicSelection", + "modelAsString": true + } + } + } + }, + "HyperVToAzStackHCIRecoveryPointModelCustomProperties": { + "description": "HyperV to AzStackHCI recovery point model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/RecoveryPointModelCustomProperties" + } + ], + "properties": { + "diskIds": { + "description": "Gets or sets the list of the disk Ids.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "HyperVToAzStackHCIReplicationExtensionModelCustomProperties": { + "description": "HyperV to AzStackHCI Replication extension model custom properties.", + "required": [ + "azStackHciFabricArmId", + "hyperVFabricArmId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ReplicationExtensionModelCustomProperties" + } + ], + "properties": { + "hyperVFabricArmId": { + "description": "Gets or sets the ARM Id of the source HyperV fabric.", + "minLength": 1, + "type": "string" + }, + "hyperVSiteId": { + "description": "Gets or sets the ARM Id of the HyperV site.", + "type": "string", + "readOnly": true + }, + "azStackHciFabricArmId": { + "description": "Gets or sets the ARM Id of the target AzStackHCI fabric.", + "minLength": 1, + "type": "string" + }, + "azStackHciSiteId": { + "description": "Gets or sets the ARM Id of the AzStackHCI site.", + "type": "string", + "readOnly": true + }, + "storageAccountId": { + "description": "Gets or sets the storage account Id.", + "type": "string" + }, + "storageAccountSasSecretName": { + "description": "Gets or sets the Sas Secret of storage account.", + "type": "string" + }, + "asrServiceUri": { + "description": "Gets or sets the Uri of ASR.", + "type": "string", + "readOnly": true + }, + "rcmServiceUri": { + "description": "Gets or sets the Uri of Rcm.", + "type": "string", + "readOnly": true + }, + "gatewayServiceUri": { + "description": "Gets or sets the Uri of Gateway.", + "type": "string", + "readOnly": true + }, + "sourceGatewayServiceId": { + "description": "Gets or sets the gateway service Id of source.", + "type": "string", + "readOnly": true + }, + "targetGatewayServiceId": { + "description": "Gets or sets the gateway service Id of target.", + "type": "string", + "readOnly": true + }, + "sourceStorageContainerName": { + "description": "Gets or sets the source storage container name.", + "type": "string", + "readOnly": true + }, + "targetStorageContainerName": { + "description": "Gets or sets the target storage container name.", + "type": "string", + "readOnly": true + }, + "resourceLocation": { + "description": "Gets or sets the resource location.", + "type": "string", + "readOnly": true + }, + "subscriptionId": { + "description": "Gets or sets the subscription.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "Gets or sets the resource group.", + "type": "string", + "readOnly": true + } + } + }, + "IdentityModel": { + "description": "Identity model.", + "required": [ + "aadAuthority", + "applicationId", + "audience", + "objectId", + "tenantId" + ], + "type": "object", + "properties": { + "tenantId": { + "description": "Gets or sets the tenant Id of the SPN with which Dra communicates to service.", + "minLength": 1, + "type": "string" + }, + "applicationId": { + "description": "Gets or sets the client/application Id of the SPN with which Dra communicates to\r\nservice.", + "minLength": 1, + "type": "string" + }, + "objectId": { + "description": "Gets or sets the object Id of the SPN with which Dra communicates to service.", + "minLength": 1, + "type": "string" + }, + "audience": { + "description": "Gets or sets the audience of the SPN with which Dra communicates to service.", + "minLength": 1, + "type": "string" + }, + "aadAuthority": { + "description": "Gets or sets the authority of the SPN with which Dra communicates to service.", + "minLength": 1, + "type": "string" + } + } + }, + "InnerHealthErrorModel": { + "description": "Inner health error model.", + "type": "object", + "properties": { + "code": { + "description": "Gets or sets the error code.", + "type": "string", + "readOnly": true + }, + "healthCategory": { + "description": "Gets or sets the health category.", + "type": "string", + "readOnly": true + }, + "category": { + "description": "Gets or sets the error category.", + "type": "string", + "readOnly": true + }, + "severity": { + "description": "Gets or sets the error severity.", + "type": "string", + "readOnly": true + }, + "source": { + "description": "Gets or sets the error source.", + "type": "string", + "readOnly": true + }, + "creationTime": { + "format": "date-time", + "description": "Gets or sets the error creation time.", + "type": "string", + "readOnly": true + }, + "isCustomerResolvable": { + "description": "Gets or sets a value indicating whether the error is customer resolvable.", + "type": "boolean", + "readOnly": true + }, + "summary": { + "description": "Gets or sets the error summary.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Gets or sets the error message.", + "type": "string", + "readOnly": true + }, + "causes": { + "description": "Gets or sets possible causes of the error.", + "type": "string", + "readOnly": true + }, + "recommendation": { + "description": "Gets or sets recommended action to resolve the error.", + "type": "string", + "readOnly": true + } + } + }, + "OperationModel": { + "description": "Operation model.", + "type": "object", + "properties": { + "name": { + "description": "Gets or sets the name of the operation.", + "type": "string" + }, + "isDataAction": { + "description": "Gets or sets a value indicating whether the action is specific to data plane or\r\ncontrol plane.", + "type": "boolean" + }, + "origin": { + "description": "Gets or sets the executor of the operation.", + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationModelProperties" + } + } + }, + "OperationModelProperties": { + "description": "Operation model properties.", + "type": "object", + "properties": { + "provider": { + "description": "Gets or sets the resource provider name.", + "type": "string" + }, + "resource": { + "description": "Gets or sets resource name.", + "type": "string" + }, + "operation": { + "description": "Gets or sets the operation.", + "type": "string" + }, + "description": { + "description": "Gets or sets the description.", + "type": "string" + } + } + }, + "OperationStatus": { + "description": "Defines the operation status.", + "type": "object", + "properties": { + "id": { + "description": "Gets or sets the Id.", + "type": "string" + }, + "name": { + "description": "Gets or sets the operation name.", + "type": "string" + }, + "status": { + "description": "Gets or sets the status of the operation. ARM expects the terminal status to be one of\r\nSucceeded/ Failed/ Canceled. All other values imply that the operation is still running.", + "type": "string" + }, + "startTime": { + "description": "Gets or sets the start time.", + "type": "string" + }, + "endTime": { + "description": "Gets or sets the end time.", + "type": "string" + } + } + }, + "PlannedFailoverModel": { + "description": "Planned failover model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PlannedFailoverModelProperties" + } + } + }, + "PlannedFailoverModelCustomProperties": { + "description": "Planned failover model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "PlannedFailoverModelProperties": { + "description": "Planned failover model properties.", + "required": [ + "customProperties" + ], + "type": "object", + "properties": { + "customProperties": { + "$ref": "#/definitions/PlannedFailoverModelCustomProperties" + } + } + }, + "PolicyModel": { + "description": "Policy model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PolicyModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "PolicyModelCollection": { + "description": "Policy model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of policies.", + "type": "array", + "items": { + "$ref": "#/definitions/PolicyModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "PolicyModelCustomProperties": { + "description": "Policy model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "PolicyModelProperties": { + "description": "Policy model properties.", + "required": [ + "customProperties" + ], + "type": "object", + "properties": { + "provisioningState": { + "description": "Gets or sets the provisioning state of the policy.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "customProperties": { + "$ref": "#/definitions/PolicyModelCustomProperties" + } + } + }, + "ProtectedItemDynamicMemoryConfig": { + "description": "Protected item dynamic memory config.", + "type": "object", + "properties": { + "maximumMemoryInMegaBytes": { + "format": "int64", + "description": "Gets or sets maximum memory in MB.", + "type": "integer", + "readOnly": true + }, + "minimumMemoryInMegaBytes": { + "format": "int64", + "description": "Gets or sets minimum memory in MB.", + "type": "integer", + "readOnly": true + }, + "targetMemoryBufferPercentage": { + "format": "int32", + "description": "Gets or sets target memory buffer in %.", + "type": "integer", + "readOnly": true + } + } + }, + "ProtectedItemJobProperties": { + "description": "Protected item job properties.", + "type": "object", + "properties": { + "scenarioName": { + "description": "Gets or sets protection scenario name.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Gets or sets workflow Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets workflow name.", + "type": "string", + "readOnly": true + }, + "displayName": { + "description": "Gets or sets the workflow friendly display name.", + "type": "string", + "readOnly": true + }, + "state": { + "description": "Gets or sets workflow state.", + "type": "string", + "readOnly": true + }, + "startTime": { + "format": "date-time", + "description": "Gets or sets start time of the workflow.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Gets or sets end time of the workflow.", + "type": "string", + "readOnly": true + } + } + }, + "ProtectedItemModel": { + "description": "Protected item model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ProtectedItemModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ProtectedItemModelCollection": { + "description": "Protected item model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of protected items.", + "type": "array", + "items": { + "$ref": "#/definitions/ProtectedItemModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "ProtectedItemModelCustomProperties": { + "description": "Protected item model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "ProtectedItemModelProperties": { + "description": "Protected item model properties.", + "required": [ + "customProperties", + "policyName", + "replicationExtensionName" + ], + "type": "object", + "properties": { + "policyName": { + "description": "Gets or sets the policy name.", + "minLength": 1, + "type": "string" + }, + "replicationExtensionName": { + "description": "Gets or sets the replication extension name.", + "minLength": 1, + "type": "string" + }, + "correlationId": { + "description": "Gets or sets the protected item correlation Id.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Gets or sets the provisioning state of the Dra.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "protectionState": { + "description": "Gets or sets the protection state.", + "enum": [ + "UnprotectedStatesBegin", + "EnablingProtection", + "EnablingFailed", + "DisablingProtection", + "MarkedForDeletion", + "DisablingFailed", + "UnprotectedStatesEnd", + "InitialReplicationStatesBegin", + "InitialReplicationInProgress", + "InitialReplicationCompletedOnPrimary", + "InitialReplicationCompletedOnRecovery", + "InitialReplicationFailed", + "InitialReplicationStatesEnd", + "ProtectedStatesBegin", + "Protected", + "ProtectedStatesEnd", + "PlannedFailoverTransitionStatesBegin", + "PlannedFailoverInitiated", + "PlannedFailoverCompleting", + "PlannedFailoverCompleted", + "PlannedFailoverFailed", + "PlannedFailoverCompletionFailed", + "PlannedFailoverTransitionStatesEnd", + "UnplannedFailoverTransitionStatesBegin", + "UnplannedFailoverInitiated", + "UnplannedFailoverCompleting", + "UnplannedFailoverCompleted", + "UnplannedFailoverFailed", + "UnplannedFailoverCompletionFailed", + "UnplannedFailoverTransitionStatesEnd", + "CommitFailoverStatesBegin", + "CommitFailoverInProgressOnPrimary", + "CommitFailoverInProgressOnRecovery", + "CommitFailoverCompleted", + "CommitFailoverFailedOnPrimary", + "CommitFailoverFailedOnRecovery", + "CommitFailoverStatesEnd", + "CancelFailoverStatesBegin", + "CancelFailoverInProgressOnPrimary", + "CancelFailoverInProgressOnRecovery", + "CancelFailoverFailedOnPrimary", + "CancelFailoverFailedOnRecovery", + "CancelFailoverStatesEnd", + "ChangeRecoveryPointStatesBegin", + "ChangeRecoveryPointInitiated", + "ChangeRecoveryPointCompleted", + "ChangeRecoveryPointFailed", + "ChangeRecoveryPointStatesEnd", + "ReprotectStatesBegin", + "ReprotectInitiated", + "ReprotectFailed", + "ReprotectStatesEnd" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProtectionState", + "modelAsString": true + } + }, + "protectionStateDescription": { + "description": "Gets or sets the protection state description.", + "type": "string", + "readOnly": true + }, + "testFailoverState": { + "description": "Gets or sets the test failover state.", + "enum": [ + "None", + "TestFailoverInitiated", + "TestFailoverCompleting", + "TestFailoverCompleted", + "TestFailoverFailed", + "TestFailoverCompletionFailed", + "TestFailoverCleanupInitiated", + "TestFailoverCleanupCompleting", + "MarkedForDeletion" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "TestFailoverState", + "modelAsString": true + } + }, + "testFailoverStateDescription": { + "description": "Gets or sets the Test failover state description.", + "type": "string", + "readOnly": true + }, + "resynchronizationState": { + "description": "Gets or sets the resynchronization state.", + "enum": [ + "None", + "ResynchronizationInitiated", + "ResynchronizationCompleted", + "ResynchronizationFailed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ResynchronizationState", + "modelAsString": true + } + }, + "fabricObjectId": { + "description": "Gets or sets the fabric object Id.", + "type": "string", + "readOnly": true + }, + "fabricObjectName": { + "description": "Gets or sets the fabric object name.", + "type": "string", + "readOnly": true + }, + "sourceFabricProviderId": { + "description": "Gets or sets the source fabric provider Id.", + "type": "string", + "readOnly": true + }, + "targetFabricProviderId": { + "description": "Gets or sets the target fabric provider Id.", + "type": "string", + "readOnly": true + }, + "fabricId": { + "description": "Gets or sets the fabric Id.", + "type": "string", + "readOnly": true + }, + "targetFabricId": { + "description": "Gets or sets the target fabric Id.", + "type": "string", + "readOnly": true + }, + "draId": { + "description": "Gets or sets the DRA Id.", + "type": "string", + "readOnly": true + }, + "targetDraId": { + "description": "Gets or sets the target DRA Id.", + "type": "string", + "readOnly": true + }, + "resyncRequired": { + "description": "Gets or sets a value indicating whether resynchronization is required or not.", + "type": "boolean", + "readOnly": true + }, + "lastSuccessfulPlannedFailoverTime": { + "format": "date-time", + "description": "Gets or sets the Last successful planned failover time.", + "type": "string", + "readOnly": true + }, + "lastSuccessfulUnplannedFailoverTime": { + "format": "date-time", + "description": "Gets or sets the Last successful unplanned failover time.", + "type": "string", + "readOnly": true + }, + "lastSuccessfulTestFailoverTime": { + "format": "date-time", + "description": "Gets or sets the Last successful test failover time.", + "type": "string", + "readOnly": true + }, + "currentJob": { + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemJobProperties" + } + ], + "readOnly": true + }, + "allowedJobs": { + "description": "Gets or sets the allowed scenarios on the protected item.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "lastFailedEnableProtectionJob": { + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemJobProperties" + } + ], + "readOnly": true + }, + "lastFailedPlannedFailoverJob": { + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemJobProperties" + } + ], + "readOnly": true + }, + "lastTestFailoverJob": { + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemJobProperties" + } + ], + "readOnly": true + }, + "replicationHealth": { + "description": "Gets or sets protected item replication health.", + "enum": [ + "Normal", + "Warning", + "Critical" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "HealthStatus", + "modelAsString": true + } + }, + "healthErrors": { + "description": "Gets or sets the list of health errors.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "customProperties": { + "$ref": "#/definitions/ProtectedItemModelCustomProperties" + } + } + }, + "RecoveryPointModel": { + "description": "Recovery point model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/RecoveryPointModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "RecoveryPointModelCollection": { + "description": "Recovery point model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of recovery points.", + "type": "array", + "items": { + "$ref": "#/definitions/RecoveryPointModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "RecoveryPointModelCustomProperties": { + "description": "Recovery point model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "RecoveryPointModelProperties": { + "description": "Recovery point model properties.", + "required": [ + "customProperties", + "recoveryPointTime", + "recoveryPointType" + ], + "type": "object", + "properties": { + "recoveryPointTime": { + "format": "date-time", + "description": "Gets or sets the recovery point time.", + "type": "string" + }, + "recoveryPointType": { + "description": "Gets or sets the recovery point type.", + "enum": [ + "ApplicationConsistent", + "CrashConsistent" + ], + "type": "string", + "x-ms-enum": { + "name": "RecoveryPointType", + "modelAsString": true + } + }, + "customProperties": { + "$ref": "#/definitions/RecoveryPointModelCustomProperties" + } + } + }, + "ReplicationExtensionModel": { + "description": "Replication extension model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ReplicationExtensionModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ReplicationExtensionModelCollection": { + "description": "Replication extension model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of replication extensions.", + "type": "array", + "items": { + "$ref": "#/definitions/ReplicationExtensionModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "ReplicationExtensionModelCustomProperties": { + "description": "Replication extension model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "ReplicationExtensionModelProperties": { + "description": "Replication extension model properties.", + "required": [ + "customProperties" + ], + "type": "object", + "properties": { + "provisioningState": { + "description": "Gets or sets the provisioning state of the replication extension.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "customProperties": { + "$ref": "#/definitions/ReplicationExtensionModelCustomProperties" + } + } + }, + "StorageContainerProperties": { + "description": "Storage container properties.", + "required": [ + "clusterSharedVolumePath", + "name" + ], + "type": "object", + "properties": { + "name": { + "description": "Gets or sets the Name.", + "minLength": 1, + "type": "string" + }, + "clusterSharedVolumePath": { + "description": "Gets or sets the ClusterSharedVolumePath.", + "minLength": 1, + "type": "string" + } + } + }, + "SystemDataModel": { + "description": "System data required to be defined for Azure resources.", + "type": "object", + "properties": { + "createdBy": { + "description": "Gets or sets identity that created the resource.", + "type": "string" + }, + "createdByType": { + "description": "Gets or sets the type of identity that created the resource: user, application,\r\nmanagedIdentity.", + "type": "string" + }, + "createdAt": { + "format": "date-time", + "description": "Gets or sets the timestamp of resource creation (UTC).", + "type": "string" + }, + "lastModifiedBy": { + "description": "Gets or sets the identity that last modified the resource.", + "type": "string" + }, + "lastModifiedByType": { + "description": "Gets or sets the type of identity that last modified the resource: user, application,\r\nmanagedIdentity.", + "type": "string" + }, + "lastModifiedAt": { + "format": "date-time", + "description": "Gets or sets the timestamp of resource last modification (UTC).", + "type": "string" + } + } + }, + "TaskModel": { + "description": "Task model.", + "type": "object", + "properties": { + "taskName": { + "description": "Gets or sets the task name.", + "type": "string", + "readOnly": true + }, + "state": { + "description": "Gets or sets the task state.", + "enum": [ + "Pending", + "Started", + "Succeeded", + "Failed", + "Cancelled", + "Skipped" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "TaskState", + "modelAsString": true + } + }, + "startTime": { + "format": "date-time", + "description": "Gets or sets the start time.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Gets or sets the end time.", + "type": "string", + "readOnly": true + }, + "customProperties": { + "$ref": "#/definitions/TaskModelCustomProperties" + }, + "childrenWorkflows": { + "description": "Gets or sets the list of children workflow models.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkflowModel" + }, + "x-ms-identifiers": [] + } + } + }, + "TaskModelCustomProperties": { + "description": "Task model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + } + }, + "TestFailoverCleanupWorkflowModelCustomProperties": { + "description": "Test failover cleanup workflow model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkflowModelCustomProperties" + } + ], + "properties": { + "comments": { + "description": "Gets or sets the test failover cleanup comments.", + "type": "string", + "readOnly": true + } + } + }, + "TestFailoverWorkflowModelCustomProperties": { + "description": "Test failover workflow model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkflowModelCustomProperties" + } + ], + "properties": { + "protectedItemDetails": { + "description": "Gets or sets the test VM details.", + "type": "array", + "items": { + "$ref": "#/definitions/FailoverProtectedItemProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "VMwareDraModelCustomProperties": { + "description": "VMware DRA model custom properties.", + "required": [ + "biosId", + "marsAuthenticationIdentity" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DraModelCustomProperties" + } + ], + "properties": { + "biosId": { + "description": "Gets or sets the BIOS Id of the DRA machine.", + "minLength": 1, + "type": "string" + }, + "marsAuthenticationIdentity": { + "$ref": "#/definitions/IdentityModel" + } + } + }, + "VMwareMigrateFabricModelCustomProperties": { + "description": "VMware migrate fabric model custom properties.", + "required": [ + "migrationSolutionId", + "vmwareSiteId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FabricModelCustomProperties" + } + ], + "properties": { + "vmwareSiteId": { + "description": "Gets or sets the ARM Id of the VMware site.", + "minLength": 1, + "type": "string" + }, + "migrationSolutionId": { + "description": "Gets or sets the ARM Id of the migration solution.", + "minLength": 1, + "type": "string" + } + } + }, + "VMwareToAzStackHCIDiskInput": { + "description": "VMwareToAzStack disk input.", + "required": [ + "diskFileFormat", + "diskId", + "diskSizeGB", + "isOsDisk" + ], + "type": "object", + "properties": { + "diskId": { + "description": "Gets or sets the disk Id.", + "minLength": 1, + "type": "string" + }, + "storageContainerId": { + "description": "Gets or sets the target storage account ARM Id.", + "type": "string" + }, + "isDynamic": { + "description": "Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard\r\ndisk.", + "type": "boolean" + }, + "diskSizeGB": { + "format": "int64", + "description": "Gets or sets the disk size in GB.", + "type": "integer" + }, + "diskFileFormat": { + "description": "Gets or sets the type of the virtual hard disk, vhd or vhdx.", + "minLength": 1, + "type": "string" + }, + "isOsDisk": { + "description": "Gets or sets a value indicating whether disk is os disk.", + "type": "boolean" + } + } + }, + "VMwareToAzStackHCINicInput": { + "description": "VMwareToAzStackHCI NIC properties.", + "required": [ + "label", + "nicId", + "selectionTypeForFailover" + ], + "type": "object", + "properties": { + "nicId": { + "description": "Gets or sets the NIC Id.", + "minLength": 1, + "type": "string" + }, + "label": { + "description": "Gets or sets the NIC label.", + "minLength": 1, + "type": "string" + }, + "networkName": { + "description": "Gets or sets the network name.", + "type": "string", + "readOnly": true + }, + "targetNetworkId": { + "description": "Gets or sets the target network Id within AzStackHCI Cluster.", + "type": "string", + "readOnly": true + }, + "testNetworkId": { + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "type": "string", + "readOnly": true + }, + "selectionTypeForFailover": { + "description": "Gets or sets the selection type of the NIC.", + "enum": [ + "NotSelected", + "SelectedByUser", + "SelectedByDefault", + "SelectedByUserOverride" + ], + "type": "string", + "x-ms-enum": { + "name": "VMNicSelection", + "modelAsString": true + } + } + } + }, + "VMwareToAzStackHCIPlannedFailoverModelCustomProperties": { + "description": "VMware to AzStackHCI planned failover model custom properties.", + "required": [ + "shutdownSourceVM" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PlannedFailoverModelCustomProperties" + } + ], + "properties": { + "shutdownSourceVM": { + "description": "Gets or sets a value indicating whether VM needs to be shut down.", + "type": "boolean" + } + } + }, + "VMwareToAzStackHCIPolicyModelCustomProperties": { + "description": "VMware To AzStackHCI Policy model custom properties.", + "required": [ + "appConsistentFrequencyInMinutes", + "crashConsistentFrequencyInMinutes", + "recoveryPointHistoryInMinutes" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PolicyModelCustomProperties" + } + ], + "properties": { + "recoveryPointHistoryInMinutes": { + "format": "int32", + "description": "Gets or sets the duration in minutes until which the recovery points need to be\r\nstored.", + "type": "integer" + }, + "crashConsistentFrequencyInMinutes": { + "format": "int32", + "description": "Gets or sets the crash consistent snapshot frequency (in minutes).", + "type": "integer" + }, + "appConsistentFrequencyInMinutes": { + "format": "int32", + "description": "Gets or sets the app consistent snapshot frequency (in minutes).", + "type": "integer" + } + } + }, + "VMwareToAzStackHCIProtectedDiskProperties": { + "description": "VMwareToAzStackHCI protected disk properties.", + "type": "object", + "properties": { + "storageContainerId": { + "description": "Gets or sets the ARM Id of the storage container.", + "type": "string", + "readOnly": true + }, + "storageContainerLocalPath": { + "description": "Gets or sets the local path of the storage container.", + "type": "string", + "readOnly": true + }, + "sourceDiskId": { + "description": "Gets or sets the source disk Id.", + "type": "string", + "readOnly": true + }, + "sourceDiskName": { + "description": "Gets or sets the source disk Name.", + "type": "string", + "readOnly": true + }, + "seedDiskName": { + "description": "Gets or sets the seed disk name.", + "type": "string", + "readOnly": true + }, + "testMigrateDiskName": { + "description": "Gets or sets the test failover clone disk.", + "type": "string", + "readOnly": true + }, + "migrateDiskName": { + "description": "Gets or sets the failover clone disk.", + "type": "string", + "readOnly": true + }, + "isOsDisk": { + "description": "Gets or sets a value indicating whether the disk is the OS disk.", + "type": "boolean", + "readOnly": true + }, + "capacityInBytes": { + "format": "int64", + "description": "Gets or sets the disk capacity in bytes.", + "type": "integer", + "readOnly": true + }, + "isDynamic": { + "description": "Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard\r\ndisk.", + "type": "boolean", + "readOnly": true + }, + "diskType": { + "description": "Gets or sets the disk type.", + "type": "string", + "readOnly": true + } + } + }, + "VMwareToAzStackHCIProtectedItemModelCustomProperties": { + "description": "VMware to AzStackHCI Protected item model custom properties.", + "required": [ + "customLocationRegion", + "disksToInclude", + "fabricDiscoveryMachineId", + "hyperVGeneration", + "nicsToInclude", + "runAsAccountId", + "sourceDraName", + "storageContainerId", + "targetArcClusterCustomLocationId", + "targetDraName", + "targetHciClusterId", + "targetResourceGroupId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemModelCustomProperties" + } + ], + "properties": { + "activeLocation": { + "description": "Gets or sets the location of the protected item.", + "enum": [ + "Primary", + "Recovery" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProtectedItemActiveLocation", + "modelAsString": true + } + }, + "targetHciClusterId": { + "description": "Gets or sets the Target HCI Cluster ARM Id.", + "minLength": 1, + "type": "string" + }, + "targetArcClusterCustomLocationId": { + "description": "Gets or sets the Target Arc Cluster Custom Location ARM Id.", + "minLength": 1, + "type": "string" + }, + "targetAzStackHciClusterName": { + "description": "Gets or sets the Target AzStackHCI cluster name.", + "type": "string", + "readOnly": true + }, + "storageContainerId": { + "description": "Gets or sets the target storage container ARM Id.", + "minLength": 1, + "type": "string" + }, + "targetResourceGroupId": { + "description": "Gets or sets the target resource group ARM Id.", + "minLength": 1, + "type": "string" + }, + "targetLocation": { + "description": "Gets or sets the target location.", + "type": "string", + "readOnly": true + }, + "customLocationRegion": { + "description": "Gets or sets the location of Azure Arc HCI custom location resource.", + "minLength": 1, + "type": "string" + }, + "disksToInclude": { + "description": "Gets or sets the list of disks to replicate.", + "minItems": 1, + "type": "array", + "items": { + "$ref": "#/definitions/VMwareToAzStackHCIDiskInput" + }, + "x-ms-identifiers": [] + }, + "nicsToInclude": { + "description": "Gets or sets the list of VM NIC to replicate.", + "minItems": 1, + "type": "array", + "items": { + "$ref": "#/definitions/VMwareToAzStackHCINicInput" + }, + "x-ms-identifiers": [] + }, + "protectedDisks": { + "description": "Gets or sets the list of protected disks.", + "type": "array", + "items": { + "$ref": "#/definitions/VMwareToAzStackHCIProtectedDiskProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "protectedNics": { + "description": "Gets or sets the VM NIC details.", + "type": "array", + "items": { + "$ref": "#/definitions/VMwareToAzStackHCIProtectedNicProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "targetVmBiosId": { + "description": "Gets or sets the BIOS Id of the target AzStackHCI VM.", + "type": "string", + "readOnly": true + }, + "targetVmName": { + "description": "Gets or sets the target VM display name.", + "type": "string" + }, + "hyperVGeneration": { + "description": "Gets or sets the hypervisor generation of the virtual machine possible values are 1,2.", + "minLength": 1, + "type": "string" + }, + "targetNetworkId": { + "description": "Gets or sets the target network Id within AzStackHCI Cluster.", + "type": "string" + }, + "testNetworkId": { + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "type": "string" + }, + "targetCpuCores": { + "format": "int32", + "description": "Gets or sets the target CPU cores.", + "type": "integer" + }, + "isDynamicRam": { + "description": "Gets or sets a value indicating whether memory is dynamical.", + "type": "boolean" + }, + "dynamicMemoryConfig": { + "$ref": "#/definitions/ProtectedItemDynamicMemoryConfig" + }, + "targetMemoryInMegaBytes": { + "format": "int32", + "description": "Gets or sets the target memory in mega-bytes.", + "type": "integer" + }, + "osType": { + "description": "Gets or sets the type of the OS.", + "type": "string", + "readOnly": true + }, + "osName": { + "description": "Gets or sets the name of the OS.", + "type": "string", + "readOnly": true + }, + "firmwareType": { + "description": "Gets or sets the firmware type.", + "type": "string", + "readOnly": true + }, + "fabricDiscoveryMachineId": { + "description": "Gets or sets the ARM Id of the discovered machine.", + "minLength": 1, + "type": "string" + }, + "sourceVmName": { + "description": "Gets or sets the source VM display name.", + "type": "string", + "readOnly": true + }, + "sourceCpuCores": { + "format": "int32", + "description": "Gets or sets the source VM CPU cores.", + "type": "integer", + "readOnly": true + }, + "sourceMemoryInMegaBytes": { + "format": "double", + "description": "Gets or sets the source VM ram memory size in megabytes.", + "type": "number", + "readOnly": true + }, + "runAsAccountId": { + "description": "Gets or sets the run as account Id.", + "minLength": 1, + "type": "string" + }, + "sourceDraName": { + "description": "Gets or sets the source DRA name.", + "minLength": 1, + "type": "string" + }, + "targetDraName": { + "description": "Gets or sets the target DRA name.", + "minLength": 1, + "type": "string" + }, + "sourceApplianceName": { + "description": "Gets or sets the source appliance name.", + "type": "string", + "readOnly": true + }, + "targetApplianceName": { + "description": "Gets or sets the target appliance name.", + "type": "string", + "readOnly": true + }, + "failoverRecoveryPointId": { + "description": "Gets or sets the recovery point Id to which the VM was failed over.", + "type": "string", + "readOnly": true + }, + "lastRecoveryPointReceived": { + "format": "date-time", + "description": "Gets or sets the last recovery point received time.", + "type": "string", + "readOnly": true + }, + "lastRecoveryPointId": { + "description": "Gets or sets the last recovery point Id.", + "type": "string", + "readOnly": true + }, + "initialReplicationProgressPercentage": { + "format": "int32", + "description": "Gets or sets the initial replication progress percentage. This is calculated based on\r\ntotal bytes processed for all disks in the source VM.", + "type": "integer", + "readOnly": true + }, + "migrationProgressPercentage": { + "format": "int32", + "description": "Gets or sets the migration progress percentage.", + "type": "integer", + "readOnly": true + }, + "resumeProgressPercentage": { + "format": "int32", + "description": "Gets or sets the resume progress percentage.", + "type": "integer", + "readOnly": true + }, + "resyncProgressPercentage": { + "format": "int32", + "description": "Gets or sets the resync progress percentage. This is calculated based on total bytes\r\nprocessed for all disks in the source VM.", + "type": "integer", + "readOnly": true + }, + "resyncRetryCount": { + "format": "int64", + "description": "Gets or sets the resync retry count.", + "type": "integer", + "readOnly": true + }, + "resyncRequired": { + "description": "Gets or sets a value indicating whether resync is required.", + "type": "boolean", + "readOnly": true + }, + "resyncState": { + "description": "Gets or sets the resync state.", + "enum": [ + "None", + "PreparedForResynchronization", + "StartedResynchronization" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "VMwareToAzureMigrateResyncState", + "modelAsString": true + } + }, + "performAutoResync": { + "description": "Gets or sets a value indicating whether auto resync is to be done.", + "type": "boolean" + }, + "resumeRetryCount": { + "format": "int64", + "description": "Gets or sets the resume retry count.", + "type": "integer", + "readOnly": true + }, + "lastReplicationUpdateTime": { + "format": "date-time", + "description": "Gets or sets the latest timestamp that replication status is updated.", + "type": "string", + "readOnly": true + } } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/operations": { - "get": { - "tags": ["Tag1"], - "operationId": "OperationGroup_Get", - "x-ms-examples": { - "BatchAccountDelete": { "$ref": "./examples/OperationGroupGet.json" } + }, + "VMwareToAzStackHCIProtectedNicProperties": { + "description": "VMwareToAzStackHCI NIC properties.", + "type": "object", + "properties": { + "nicId": { + "description": "Gets or sets the NIC Id.", + "type": "string", + "readOnly": true }, - "description": "This is a sample get operation, please see guidelines in azure-rest-api-specs repository for more info", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" + "macAddress": { + "description": "Gets or sets the NIC mac address.", + "type": "string", + "readOnly": true + }, + "label": { + "description": "Gets or sets the NIC label.", + "type": "string", + "readOnly": true + }, + "isPrimaryNic": { + "description": "Gets or sets a value indicating whether this is the primary NIC.", + "type": "boolean" + }, + "networkName": { + "description": "Gets or sets the network name.", + "type": "string", + "readOnly": true + }, + "targetNetworkId": { + "description": "Gets or sets the target network Id within AzStackHCI Cluster.", + "type": "string", + "readOnly": true + }, + "testNetworkId": { + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "type": "string", + "readOnly": true + }, + "selectionTypeForFailover": { + "description": "Gets or sets the selection type of the NIC.", + "enum": [ + "NotSelected", + "SelectedByUser", + "SelectedByDefault", + "SelectedByUserOverride" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "VMNicSelection", + "modelAsString": true } - ], - "responses": { - "200": { - "description": "Describe the result of a successful operation.", - "schema": { - "$ref": "#/definitions/Result" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" + } + } + }, + "VMwareToAzStackHCIReplicationExtensionModelCustomProperties": { + "description": "VMware to AzStackHCI Replication extension model custom properties.", + "required": [ + "azStackHciFabricArmId", + "vmwareFabricArmId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ReplicationExtensionModelCustomProperties" + } + ], + "properties": { + "vmwareFabricArmId": { + "description": "Gets or sets the ARM Id of the source VMware fabric.", + "minLength": 1, + "type": "string" + }, + "vmwareSiteId": { + "description": "Gets or sets the ARM Id of the VMware site.", + "type": "string", + "readOnly": true + }, + "azStackHciFabricArmId": { + "description": "Gets or sets the ARM Id of the target AzStackHCI fabric.", + "minLength": 1, + "type": "string" + }, + "azStackHciSiteId": { + "description": "Gets or sets the ARM Id of the AzStackHCI site.", + "type": "string", + "readOnly": true + }, + "storageAccountId": { + "description": "Gets or sets the storage account Id.", + "type": "string" + }, + "storageAccountSasSecretName": { + "description": "Gets or sets the Sas Secret of storage account.", + "type": "string" + }, + "asrServiceUri": { + "description": "Gets or sets the Uri of ASR.", + "type": "string", + "readOnly": true + }, + "rcmServiceUri": { + "description": "Gets or sets the Uri of Rcm.", + "type": "string", + "readOnly": true + }, + "gatewayServiceUri": { + "description": "Gets or sets the Uri of Gateway.", + "type": "string", + "readOnly": true + }, + "sourceGatewayServiceId": { + "description": "Gets or sets the gateway service Id of source.", + "type": "string", + "readOnly": true + }, + "targetGatewayServiceId": { + "description": "Gets or sets the gateway service Id of target.", + "type": "string", + "readOnly": true + }, + "sourceStorageContainerName": { + "description": "Gets or sets the source storage container name.", + "type": "string", + "readOnly": true + }, + "targetStorageContainerName": { + "description": "Gets or sets the target storage container name.", + "type": "string", + "readOnly": true + }, + "resourceLocation": { + "description": "Gets or sets the resource location.", + "type": "string", + "readOnly": true + }, + "subscriptionId": { + "description": "Gets or sets the subscription.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "Gets or sets the resource group.", + "type": "string", + "readOnly": true + } + } + }, + "VaultModel": { + "description": "Vault model.", + "required": [ + "location" + ], + "type": "object", + "properties": { + "location": { + "description": "Gets or sets the location of the vault.", + "minLength": 1, + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "$ref": "#/definitions/VaultModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" } } + }, + "x-ms-azure-resource": true + }, + "VaultModelCollection": { + "description": "Vault model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of vaults.", + "type": "array", + "items": { + "$ref": "#/definitions/VaultModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } } - } - }, - "definitions": { - "Result": { - "description": "Sample result definition", + }, + "VaultModelProperties": { + "description": "Vault properties.", + "type": "object", "properties": { - "sampleProperty": { + "provisioningState": { + "description": "Gets or sets the provisioning state of the vault.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "serviceResourceId": { + "description": "Gets or sets the service resource Id.", + "type": "string", + "readOnly": true + }, + "vaultType": { + "description": "Gets or sets the type of vault.", + "enum": [ + "DisasterRecovery", + "Migrate" + ], "type": "string", - "description": "Sample property of type string" + "x-ms-enum": { + "name": "ReplicationVaultType", + "modelAsString": true + } } } }, - "ErrorResponse": { - "description": "Error response.", + "VaultModelUpdate": { + "description": "Vault model for update.", + "type": "object", "properties": { - "error": { - "$ref": "#/definitions/ErrorDefinition", - "description": "The error details." + "properties": { + "$ref": "#/definitions/VaultModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "WorkflowModel": { + "description": "Workflow model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/WorkflowModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "WorkflowModelCollection": { + "description": "Workflow model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of workflows.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkflowModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" } } }, - "ErrorDefinition": { - "description": "Error definition.", + "WorkflowModelCustomProperties": { + "description": "Workflow model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", "properties": { - "code": { - "description": "Service specific error code which serves as the substatus for the HTTP error code.", + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + }, + "affectedObjectDetails": { + "description": "Gets or sets any custom properties of the affected object.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "readOnly": true + } + }, + "discriminator": "instanceType" + }, + "WorkflowModelProperties": { + "description": "Workflow model properties.", + "required": [ + "customProperties" + ], + "type": "object", + "properties": { + "displayName": { + "description": "Gets or sets the friendly display name.", "type": "string", "readOnly": true }, - "message": { - "description": "Description of the error.", + "state": { + "description": "Gets or sets the workflow state.", + "enum": [ + "Pending", + "Started", + "Cancelling", + "Succeeded", + "Failed", + "Cancelled", + "CompletedWithInformation", + "CompletedWithWarnings", + "CompletedWithErrors" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "WorkflowState", + "modelAsString": true + } + }, + "startTime": { + "format": "date-time", + "description": "Gets or sets the start time.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Gets or sets the end time.", + "type": "string", + "readOnly": true + }, + "objectId": { + "description": "Gets or sets the affected object Id.", + "type": "string", + "readOnly": true + }, + "objectName": { + "description": "Gets or sets the affected object name.", + "type": "string", + "readOnly": true + }, + "objectInternalId": { + "description": "Gets or sets the affected object internal Id.", + "type": "string", + "readOnly": true + }, + "objectInternalName": { + "description": "Gets or sets the affected object internal name.", + "type": "string", + "readOnly": true + }, + "objectType": { + "description": "Gets or sets the object type.", + "enum": [ + "AvsDiskPool", + "Dra", + "Fabric", + "Policy", + "ProtectedItem", + "RecoveryPlan", + "ReplicationExtension", + "Vault" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "WorkflowObjectType", + "modelAsString": true + } + }, + "replicationProviderId": { + "description": "Gets or sets the replication provider.", + "type": "string", + "readOnly": true + }, + "sourceFabricProviderId": { + "description": "Gets or sets the source fabric provider.", + "type": "string", + "readOnly": true + }, + "targetFabricProviderId": { + "description": "Gets or sets the target fabric provider.", "type": "string", "readOnly": true }, - "details": { - "description": "Internal error details.", + "allowedActions": { + "description": "Gets or sets the list of allowed actions on the workflow.", "type": "array", "items": { - "$ref": "#/definitions/ErrorDefinition" + "type": "string" }, "readOnly": true + }, + "activityId": { + "description": "Gets or sets the workflow activity id.", + "type": "string", + "readOnly": true + }, + "tasks": { + "description": "Gets or sets the list of tasks.", + "type": "array", + "items": { + "$ref": "#/definitions/TaskModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "errors": { + "description": "Gets or sets the list of errors.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "customProperties": { + "$ref": "#/definitions/WorkflowModelCustomProperties" } } } }, "parameters": { "SubscriptionIdParameter": { - "name": "subscriptionId", "in": "path", + "name": "subscriptionId", + "description": "The subscription Id.", "required": true, "type": "string", - "description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)" + "x-ms-parameter-location": "method" }, "ResourceGroupNameParameter": { - "name": "resourceGroupName", "in": "path", + "name": "resourceGroupName", + "description": "Resource group name.", "required": true, "type": "string", - "description": "The name of the resource group.", + "maxLength": 90, + "minLength": 1, "x-ms-parameter-location": "method" }, "ApiVersionParameter": { - "name": "api-version", "in": "query", + "name": "api-version", + "description": "The client API version.", "required": true, "type": "string", - "description": "The API version to be used with the HTTP request." + "minLength": 1, + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow" + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "tags": [ + { + "name": "Dra", + "description": "Dra Controller." + }, + { + "name": "EmailConfiguration", + "description": "Email configuration Controller." + }, + { + "name": "Event", + "description": "Event Controller." + }, + { + "name": "Fabric", + "description": "Fabric Controller." + }, + { + "name": "Policy", + "description": "Policy Controller." + }, + { + "name": "ProtectedItem", + "description": "Protected items controller." + }, + { + "name": "RecoveryPoint", + "description": "Recovery points controller." + }, + { + "name": "ReplicationExtension", + "description": "Replication extension controller." + }, + { + "name": "Tenant", + "description": "Tenant controller." + }, + { + "name": "Vault", + "description": "Vault Controller." + }, + { + "name": "Workflow", + "description": "Workflow controller." } - } + ] } diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/CheckNameAvailability.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/CheckNameAvailability.json new file mode 100644 index 000000000000..e5bc87643e39 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/CheckNameAvailability.json @@ -0,0 +1,22 @@ +{ + "title": "Performs the resource name availability check.", + "operationId": "CheckNameAvailability", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "location": "rhphzrlthljfyepihivbbh", + "api-version": "2021-02-16-preview", + "body": { + "name": "spxiqxsnkothc", + "type": "msvmjolsdiixfohtrhvtrsyitqmhu" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true, + "reason": "snepnerbfydjehbrgyzdx", + "message": "xozugpymlpyx" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DeploymentPreflight.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DeploymentPreflight.json new file mode 100644 index 000000000000..c57edb686017 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DeploymentPreflight.json @@ -0,0 +1,34 @@ +{ + "title": "Performs resource deployment validation.", + "operationId": "DeploymentPreflight", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "deploymentId": "jxwoikmyckylbbg", + "api-version": "2021-02-16-preview", + "body": { + "resources": [ + { + "name": "xmoagfsudwmcptehyxmyjlcfztqxn", + "type": "ajyzszxgmxrsguznwmdbperbsn", + "location": "oqnvkoi", + "apiVersion": "xpwcnotkujocfkom" + } + ] + } + }, + "responses": { + "200": { + "body": { + "resources": [ + { + "name": "xmoagfsudwmcptehyxmyjlcfztqxn", + "type": "ajyzszxgmxrsguznwmdbperbsn", + "location": "oqnvkoi", + "apiVersion": "xpwcnotkujocfkom" + } + ] + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DraOperationStatus_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DraOperationStatus_Get.json new file mode 100644 index 000000000000..bc644fa6076d --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DraOperationStatus_Get.json @@ -0,0 +1,23 @@ +{ + "title": "Gets the Dra operation status.", + "operationId": "DraOperationStatus_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "fabricName": "asdaf", + "draName": "5Mx", + "operationId": "dnhsoeduafruapvlhmrpv", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "qwkfbfboembvjdfwygiwkkychjh", + "name": "jdediizb", + "status": "ywfsgfiddbtfeciurs", + "startTime": "uuyu", + "endTime": "z" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Create.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Create.json new file mode 100644 index 000000000000..e96e653f6b71 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Create.json @@ -0,0 +1,198 @@ +{ + "title": "Puts the Dra.", + "operationId": "Dra_Create", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "fabricName": "v8oR", + "draName": "sadawf", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "machineId": "qqbo", + "machineName": "nd", + "authenticationIdentity": { + "tenantId": "isxfkwqslysiuvtmimrthgqjs", + "applicationId": "ituidojcyyqmbdpts", + "objectId": "wcbtacnvxbdpravrezuckanp", + "audience": "ojobrkdozzjiukkbshaacxyw", + "aadAuthority": "dlddohzrwa" + }, + "resourceAccessIdentity": { + "tenantId": "isxfkwqslysiuvtmimrthgqjs", + "applicationId": "ituidojcyyqmbdpts", + "objectId": "wcbtacnvxbdpravrezuckanp", + "audience": "ojobrkdozzjiukkbshaacxyw", + "aadAuthority": "dlddohzrwa" + }, + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + }, + "tags": { + "key6615": "m" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "correlationId": "xqkyifnomjku", + "machineId": "qqbo", + "machineName": "nd", + "authenticationIdentity": { + "tenantId": "isxfkwqslysiuvtmimrthgqjs", + "applicationId": "ituidojcyyqmbdpts", + "objectId": "wcbtacnvxbdpravrezuckanp", + "audience": "ojobrkdozzjiukkbshaacxyw", + "aadAuthority": "dlddohzrwa" + }, + "resourceAccessIdentity": { + "tenantId": "isxfkwqslysiuvtmimrthgqjs", + "applicationId": "ituidojcyyqmbdpts", + "objectId": "wcbtacnvxbdpravrezuckanp", + "audience": "ojobrkdozzjiukkbshaacxyw", + "aadAuthority": "dlddohzrwa" + }, + "isResponsive": true, + "lastHeartbeat": "2023-07-19T23:15:49.975Z", + "versionNumber": "cwkoeffermrecuwqsyfpsgkvcgta", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + }, + "id": "hb", + "name": "slfptcvdkn", + "type": "ozti", + "systemData": { + "createdBy": "untcmhpauzwayagngtmogfwiqrqm", + "createdByType": "zvqenrntjerhfqpqwwoapmklf", + "createdAt": "2023-07-19T23:15:49.976Z", + "lastModifiedBy": "soysxrrdszuodymkufllz", + "lastModifiedByType": "gyqxkmdzvjbqfzkchmg", + "lastModifiedAt": "2023-07-19T23:15:49.976Z" + }, + "tags": { + "key6615": "m" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "correlationId": "xqkyifnomjku", + "machineId": "qqbo", + "machineName": "nd", + "authenticationIdentity": { + "tenantId": "isxfkwqslysiuvtmimrthgqjs", + "applicationId": "ituidojcyyqmbdpts", + "objectId": "wcbtacnvxbdpravrezuckanp", + "audience": "ojobrkdozzjiukkbshaacxyw", + "aadAuthority": "dlddohzrwa" + }, + "resourceAccessIdentity": { + "tenantId": "isxfkwqslysiuvtmimrthgqjs", + "applicationId": "ituidojcyyqmbdpts", + "objectId": "wcbtacnvxbdpravrezuckanp", + "audience": "ojobrkdozzjiukkbshaacxyw", + "aadAuthority": "dlddohzrwa" + }, + "isResponsive": true, + "lastHeartbeat": "2023-07-19T23:15:49.975Z", + "versionNumber": "cwkoeffermrecuwqsyfpsgkvcgta", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + }, + "id": "hb", + "name": "slfptcvdkn", + "type": "ozti", + "systemData": { + "createdBy": "untcmhpauzwayagngtmogfwiqrqm", + "createdByType": "zvqenrntjerhfqpqwwoapmklf", + "createdAt": "2023-07-19T23:15:49.976Z", + "lastModifiedBy": "soysxrrdszuodymkufllz", + "lastModifiedByType": "gyqxkmdzvjbqfzkchmg", + "lastModifiedAt": "2023-07-19T23:15:49.976Z" + }, + "tags": { + "key6615": "m" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Delete.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Delete.json new file mode 100644 index 000000000000..b43aa57ba206 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the Dra.", + "operationId": "Dra_Delete", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "fabricName": "8", + "draName": "mLn", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Get.json new file mode 100644 index 000000000000..cd15ade7062d --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Get.json @@ -0,0 +1,91 @@ +{ + "title": "Gets the Dra.", + "operationId": "Dra_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "fabricName": "n5k", + "draName": "hu", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "correlationId": "xqkyifnomjku", + "machineId": "qqbo", + "machineName": "nd", + "authenticationIdentity": { + "tenantId": "isxfkwqslysiuvtmimrthgqjs", + "applicationId": "ituidojcyyqmbdpts", + "objectId": "wcbtacnvxbdpravrezuckanp", + "audience": "ojobrkdozzjiukkbshaacxyw", + "aadAuthority": "dlddohzrwa" + }, + "resourceAccessIdentity": { + "tenantId": "isxfkwqslysiuvtmimrthgqjs", + "applicationId": "ituidojcyyqmbdpts", + "objectId": "wcbtacnvxbdpravrezuckanp", + "audience": "ojobrkdozzjiukkbshaacxyw", + "aadAuthority": "dlddohzrwa" + }, + "isResponsive": true, + "lastHeartbeat": "2023-07-19T23:15:49.975Z", + "versionNumber": "cwkoeffermrecuwqsyfpsgkvcgta", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + }, + "id": "hb", + "name": "slfptcvdkn", + "type": "ozti", + "systemData": { + "createdBy": "untcmhpauzwayagngtmogfwiqrqm", + "createdByType": "zvqenrntjerhfqpqwwoapmklf", + "createdAt": "2023-07-19T23:15:49.976Z", + "lastModifiedBy": "soysxrrdszuodymkufllz", + "lastModifiedByType": "gyqxkmdzvjbqfzkchmg", + "lastModifiedAt": "2023-07-19T23:15:49.976Z" + }, + "tags": { + "key6615": "m" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_List.json new file mode 100644 index 000000000000..53c7ef1508d2 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_List.json @@ -0,0 +1,95 @@ +{ + "title": "Lists the Dras.", + "operationId": "Dra_List", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "fabricName": "r", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "correlationId": "xqkyifnomjku", + "machineId": "qqbo", + "machineName": "nd", + "authenticationIdentity": { + "tenantId": "isxfkwqslysiuvtmimrthgqjs", + "applicationId": "ituidojcyyqmbdpts", + "objectId": "wcbtacnvxbdpravrezuckanp", + "audience": "ojobrkdozzjiukkbshaacxyw", + "aadAuthority": "dlddohzrwa" + }, + "resourceAccessIdentity": { + "tenantId": "isxfkwqslysiuvtmimrthgqjs", + "applicationId": "ituidojcyyqmbdpts", + "objectId": "wcbtacnvxbdpravrezuckanp", + "audience": "ojobrkdozzjiukkbshaacxyw", + "aadAuthority": "dlddohzrwa" + }, + "isResponsive": true, + "lastHeartbeat": "2023-07-19T23:15:49.975Z", + "versionNumber": "cwkoeffermrecuwqsyfpsgkvcgta", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + }, + "id": "hb", + "name": "slfptcvdkn", + "type": "ozti", + "systemData": { + "createdBy": "untcmhpauzwayagngtmogfwiqrqm", + "createdByType": "zvqenrntjerhfqpqwwoapmklf", + "createdAt": "2023-07-19T23:15:49.976Z", + "lastModifiedBy": "soysxrrdszuodymkufllz", + "lastModifiedByType": "gyqxkmdzvjbqfzkchmg", + "lastModifiedAt": "2023-07-19T23:15:49.976Z" + }, + "tags": { + "key6615": "m" + } + } + ], + "nextLink": "xfwesibkvbnvrjteacgarcr" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Create.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Create.json new file mode 100644 index 000000000000..426d90f111b9 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Create.json @@ -0,0 +1,75 @@ +{ + "title": "Creates email configuration settings.", + "operationId": "EmailConfiguration_Create", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "Q3", + "emailConfigurationName": "2gh1", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "fbohqgyk" + ], + "locale": "etpujjkmy" + }, + "tags": { + "key9048": "gmlxbdwtt" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "fbohqgyk" + ], + "locale": "etpujjkmy" + }, + "id": "ykapfbl", + "name": "im", + "type": "kaghuiwcowvytynarnumwdnqhmdo", + "systemData": { + "createdBy": "rxvvb", + "createdByType": "efqsxqqgztpz", + "createdAt": "2023-07-19T23:15:50.818Z", + "lastModifiedBy": "sapgnlyzdtmpnqkkvhhze", + "lastModifiedByType": "ddzzjcwf", + "lastModifiedAt": "2023-07-19T23:15:50.818Z" + }, + "tags": { + "key9048": "gmlxbdwtt" + } + } + }, + "201": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "fbohqgyk" + ], + "locale": "etpujjkmy" + }, + "id": "ykapfbl", + "name": "im", + "type": "kaghuiwcowvytynarnumwdnqhmdo", + "systemData": { + "createdBy": "rxvvb", + "createdByType": "efqsxqqgztpz", + "createdAt": "2023-07-19T23:15:50.818Z", + "lastModifiedBy": "sapgnlyzdtmpnqkkvhhze", + "lastModifiedByType": "ddzzjcwf", + "lastModifiedAt": "2023-07-19T23:15:50.818Z" + }, + "tags": { + "key9048": "gmlxbdwtt" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Get.json new file mode 100644 index 000000000000..a3d8424147fc --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Gets the email configuration setting.", + "operationId": "EmailConfiguration_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "DF", + "emailConfigurationName": "SB", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "fbohqgyk" + ], + "locale": "etpujjkmy" + }, + "id": "ykapfbl", + "name": "im", + "type": "kaghuiwcowvytynarnumwdnqhmdo", + "systemData": { + "createdBy": "rxvvb", + "createdByType": "efqsxqqgztpz", + "createdAt": "2023-07-19T23:15:50.818Z", + "lastModifiedBy": "sapgnlyzdtmpnqkkvhhze", + "lastModifiedByType": "ddzzjcwf", + "lastModifiedAt": "2023-07-19T23:15:50.818Z" + }, + "tags": { + "key9048": "gmlxbdwtt" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_List.json new file mode 100644 index 000000000000..c4dc02bf7912 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_List.json @@ -0,0 +1,42 @@ +{ + "title": "Lists the email configuration settings.", + "operationId": "EmailConfiguration_List", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "ud4B", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "fbohqgyk" + ], + "locale": "etpujjkmy" + }, + "id": "ykapfbl", + "name": "im", + "type": "kaghuiwcowvytynarnumwdnqhmdo", + "systemData": { + "createdBy": "rxvvb", + "createdByType": "efqsxqqgztpz", + "createdAt": "2023-07-19T23:15:50.818Z", + "lastModifiedBy": "sapgnlyzdtmpnqkkvhhze", + "lastModifiedByType": "ddzzjcwf", + "lastModifiedAt": "2023-07-19T23:15:50.818Z" + }, + "tags": { + "key9048": "gmlxbdwtt" + } + } + ], + "nextLink": "ccukfatejgmnvq" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_Get.json new file mode 100644 index 000000000000..055536d0c1d7 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_Get.json @@ -0,0 +1,78 @@ +{ + "title": "Gets the event.", + "operationId": "Event_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "PJm2J", + "eventName": "ZC", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceType": "u", + "resourceName": "gsneboksrlfoxd", + "eventType": "idwxd", + "eventName": "cpvza", + "timeOfOccurrence": "2023-07-19T23:15:51.190Z", + "severity": "voblxqhftfpavumrvqfbjsidylkf", + "description": "lligqvqytbiiqorf", + "correlationId": "rbsevnbxgoirqzh", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "EventModelCustomProperties" + } + }, + "id": "irvxfxplcztvjaorwn", + "name": "wcloiadgphaaoyxo", + "type": "xzqtrbe", + "systemData": { + "createdBy": "cealyeormjlvcgzwqv", + "createdByType": "nkkhqsdcrpxaqtusyeyla", + "createdAt": "2023-07-19T23:15:51.190Z", + "lastModifiedBy": "jfwoghdol", + "lastModifiedByType": "keqyqqsmbnriqbb", + "lastModifiedAt": "2023-07-19T23:15:51.190Z" + }, + "tags": { + "key5103": "dihdujzqy" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_List.json new file mode 100644 index 000000000000..9f4a4c973bee --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_List.json @@ -0,0 +1,84 @@ +{ + "title": "Lists the events.", + "operationId": "Event_List", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "grere", + "$filter": "xkwyxkbg", + "continuationToken": "ugozgayljveditcymceeg", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "resourceType": "u", + "resourceName": "gsneboksrlfoxd", + "eventType": "idwxd", + "eventName": "cpvza", + "timeOfOccurrence": "2023-07-19T23:15:51.190Z", + "severity": "voblxqhftfpavumrvqfbjsidylkf", + "description": "lligqvqytbiiqorf", + "correlationId": "rbsevnbxgoirqzh", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "EventModelCustomProperties" + } + }, + "id": "irvxfxplcztvjaorwn", + "name": "wcloiadgphaaoyxo", + "type": "xzqtrbe", + "systemData": { + "createdBy": "cealyeormjlvcgzwqv", + "createdByType": "nkkhqsdcrpxaqtusyeyla", + "createdAt": "2023-07-19T23:15:51.190Z", + "lastModifiedBy": "jfwoghdol", + "lastModifiedByType": "keqyqqsmbnriqbb", + "lastModifiedAt": "2023-07-19T23:15:51.190Z" + }, + "tags": { + "key5103": "dihdujzqy" + } + } + ], + "nextLink": "ndefzftz" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/FabricOperationsStatus_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/FabricOperationsStatus_Get.json new file mode 100644 index 000000000000..0ddb8ffe9fc4 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/FabricOperationsStatus_Get.json @@ -0,0 +1,22 @@ +{ + "title": "Gets the fabric operation status.", + "operationId": "FabricOperationsStatus_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "fabricName": "62", + "operationId": "moblapxwhgwqzdvbhfrhwplrufyhh", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "qwkfbfboembvjdfwygiwkkychjh", + "name": "jdediizb", + "status": "ywfsgfiddbtfeciurs", + "startTime": "uuyu", + "endTime": "z" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Create.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Create.json new file mode 100644 index 000000000000..dff0397e1bcd --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Create.json @@ -0,0 +1,150 @@ +{ + "title": "Puts the fabric.", + "operationId": "Fabric_Create", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "fabricName": "W7M", + "api-version": "2021-02-16-preview", + "body": { + "location": "uwaciaycylrtlyjvzmjhks", + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "tags": { + "key7525": "wwdtuqoqvilwq" + } + } + }, + "responses": { + "200": { + "body": { + "location": "uwaciaycylrtlyjvzmjhks", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "zlcueepjbyepeipjfjddpi", + "serviceResourceId": "hwxokgjqzfbhqgsgdkxvclrd", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "neskcwgdebqojwa", + "name": "fwsjw", + "type": "rfagbcytreouwvnpaedes", + "systemData": { + "createdBy": "spcjvfu", + "createdByType": "cdeigsxkgxqyulhesnkoihqarwh", + "createdAt": "2023-07-19T23:15:51.452Z", + "lastModifiedBy": "nryqrkhiisaoebzxdenwfevmf", + "lastModifiedByType": "fmrsyoolopzxgqquxoblxnthweka", + "lastModifiedAt": "2023-07-19T23:15:51.452Z" + }, + "tags": { + "key7525": "wwdtuqoqvilwq" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "location": "uwaciaycylrtlyjvzmjhks", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "zlcueepjbyepeipjfjddpi", + "serviceResourceId": "hwxokgjqzfbhqgsgdkxvclrd", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "neskcwgdebqojwa", + "name": "fwsjw", + "type": "rfagbcytreouwvnpaedes", + "systemData": { + "createdBy": "spcjvfu", + "createdByType": "cdeigsxkgxqyulhesnkoihqarwh", + "createdAt": "2023-07-19T23:15:51.452Z", + "lastModifiedBy": "nryqrkhiisaoebzxdenwfevmf", + "lastModifiedByType": "fmrsyoolopzxgqquxoblxnthweka", + "lastModifiedAt": "2023-07-19T23:15:51.452Z" + }, + "tags": { + "key7525": "wwdtuqoqvilwq" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Delete.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Delete.json new file mode 100644 index 000000000000..b3a911f35c55 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "Deletes the fabric.", + "operationId": "Fabric_Delete", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "fabricName": "u", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Get.json new file mode 100644 index 000000000000..e5caf470b546 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Get.json @@ -0,0 +1,74 @@ +{ + "title": "Gets the fabric.", + "operationId": "Fabric_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "fabricName": "F7y", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "location": "uwaciaycylrtlyjvzmjhks", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "zlcueepjbyepeipjfjddpi", + "serviceResourceId": "hwxokgjqzfbhqgsgdkxvclrd", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "neskcwgdebqojwa", + "name": "fwsjw", + "type": "rfagbcytreouwvnpaedes", + "systemData": { + "createdBy": "spcjvfu", + "createdByType": "cdeigsxkgxqyulhesnkoihqarwh", + "createdAt": "2023-07-19T23:15:51.452Z", + "lastModifiedBy": "nryqrkhiisaoebzxdenwfevmf", + "lastModifiedByType": "fmrsyoolopzxgqquxoblxnthweka", + "lastModifiedAt": "2023-07-19T23:15:51.452Z" + }, + "tags": { + "key7525": "wwdtuqoqvilwq" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_List.json new file mode 100644 index 000000000000..8860828bd4e4 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_List.json @@ -0,0 +1,79 @@ +{ + "title": "Lists the fabrics.", + "operationId": "Fabric_List", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "continuationToken": "pviznrezcqtxcvmlnoeafqzvzrtq", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "uwaciaycylrtlyjvzmjhks", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "zlcueepjbyepeipjfjddpi", + "serviceResourceId": "hwxokgjqzfbhqgsgdkxvclrd", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "neskcwgdebqojwa", + "name": "fwsjw", + "type": "rfagbcytreouwvnpaedes", + "systemData": { + "createdBy": "spcjvfu", + "createdByType": "cdeigsxkgxqyulhesnkoihqarwh", + "createdAt": "2023-07-19T23:15:51.452Z", + "lastModifiedBy": "nryqrkhiisaoebzxdenwfevmf", + "lastModifiedByType": "fmrsyoolopzxgqquxoblxnthweka", + "lastModifiedAt": "2023-07-19T23:15:51.452Z" + }, + "tags": { + "key7525": "wwdtuqoqvilwq" + } + } + ], + "nextLink": "bbnzfcjcuilebrrcwroorcpzc" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_ListBySubscription.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_ListBySubscription.json new file mode 100644 index 000000000000..83cf85f7923b --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_ListBySubscription.json @@ -0,0 +1,78 @@ +{ + "title": "Lists the fabrics.", + "operationId": "Fabric_ListBySubscription", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "continuationToken": "mafbtnakyeplzevlofspoomzok", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "uwaciaycylrtlyjvzmjhks", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "zlcueepjbyepeipjfjddpi", + "serviceResourceId": "hwxokgjqzfbhqgsgdkxvclrd", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "neskcwgdebqojwa", + "name": "fwsjw", + "type": "rfagbcytreouwvnpaedes", + "systemData": { + "createdBy": "spcjvfu", + "createdByType": "cdeigsxkgxqyulhesnkoihqarwh", + "createdAt": "2023-07-19T23:15:51.452Z", + "lastModifiedBy": "nryqrkhiisaoebzxdenwfevmf", + "lastModifiedByType": "fmrsyoolopzxgqquxoblxnthweka", + "lastModifiedAt": "2023-07-19T23:15:51.452Z" + }, + "tags": { + "key7525": "wwdtuqoqvilwq" + } + } + ], + "nextLink": "bbnzfcjcuilebrrcwroorcpzc" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Update.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Update.json new file mode 100644 index 000000000000..8e77d237c633 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Update.json @@ -0,0 +1,89 @@ +{ + "title": "Updates the fabric.", + "operationId": "Fabric_Update", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "fabricName": "7J3", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "tags": { + "key3608": "bplzuzydeidskbkgmal" + } + } + }, + "responses": { + "200": { + "body": { + "location": "uwaciaycylrtlyjvzmjhks", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "zlcueepjbyepeipjfjddpi", + "serviceResourceId": "hwxokgjqzfbhqgsgdkxvclrd", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "neskcwgdebqojwa", + "name": "fwsjw", + "type": "rfagbcytreouwvnpaedes", + "systemData": { + "createdBy": "spcjvfu", + "createdByType": "cdeigsxkgxqyulhesnkoihqarwh", + "createdAt": "2023-07-19T23:15:51.452Z", + "lastModifiedBy": "nryqrkhiisaoebzxdenwfevmf", + "lastModifiedByType": "fmrsyoolopzxgqquxoblxnthweka", + "lastModifiedAt": "2023-07-19T23:15:51.452Z" + }, + "tags": { + "key7525": "wwdtuqoqvilwq" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/OperationGroupGet.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/OperationGroupGet.json deleted file mode 100644 index 53dc6efe2819..000000000000 --- a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/OperationGroupGet.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "azuresiterecoveryClient", - "api-version": "2021-02-16-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "sampleProperty": "sampleProperty" - } - } - } -} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Operations_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Operations_List.json new file mode 100644 index 000000000000..bafc08f07ac8 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Operations_List.json @@ -0,0 +1,24 @@ +{ + "title": "Get a list of REST API operations supported by Microsoft.DataReplication.", + "operationId": "Operations_List", + "parameters": { + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": [ + { + "name": "odrygswnitskoo", + "isDataAction": true, + "origin": "tmb", + "display": { + "provider": "umas", + "resource": "cldmjkjqgxnzrkb", + "operation": "axfyixomwlnwclouymaomlcmduptll", + "description": "stjhdawpttw" + } + } + ] + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/PolicyOperationStatus_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/PolicyOperationStatus_Get.json new file mode 100644 index 000000000000..9ff49cecbd45 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/PolicyOperationStatus_Get.json @@ -0,0 +1,23 @@ +{ + "title": "Gets the policy operation status.", + "operationId": "PolicyOperationStatus_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "OIS", + "policyName": "l", + "operationId": "mgyprzdshtrfeciw", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "qwkfbfboembvjdfwygiwkkychjh", + "name": "jdediizb", + "status": "ywfsgfiddbtfeciurs", + "startTime": "uuyu", + "endTime": "z" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Create.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Create.json new file mode 100644 index 000000000000..5cab474c23ba --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Create.json @@ -0,0 +1,74 @@ +{ + "title": "Puts the policy.", + "operationId": "Policy_Create", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "2l", + "policyName": "8I5", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "tags": { + "key2293": "g" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "zqsbgpnvcglfdiypn", + "name": "b", + "type": "bxb", + "systemData": { + "createdBy": "olbrs", + "createdByType": "xmvxqnlnyqlry", + "createdAt": "2023-07-19T23:15:52.361Z", + "lastModifiedBy": "aomwghmkbvmukitulctyrgarl", + "lastModifiedByType": "aoqmspdhhddpzob", + "lastModifiedAt": "2023-07-19T23:15:52.361Z" + }, + "tags": { + "key2293": "g" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "zqsbgpnvcglfdiypn", + "name": "b", + "type": "bxb", + "systemData": { + "createdBy": "olbrs", + "createdByType": "xmvxqnlnyqlry", + "createdAt": "2023-07-19T23:15:52.361Z", + "lastModifiedBy": "aomwghmkbvmukitulctyrgarl", + "lastModifiedByType": "aoqmspdhhddpzob", + "lastModifiedAt": "2023-07-19T23:15:52.361Z" + }, + "tags": { + "key2293": "g" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Delete.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Delete.json new file mode 100644 index 000000000000..fbb172646f51 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the policy.", + "operationId": "Policy_Delete", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "3", + "policyName": "JuN2S", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Get.json new file mode 100644 index 000000000000..a5f8e30ecb87 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Get.json @@ -0,0 +1,37 @@ +{ + "title": "Gets the policy.", + "operationId": "Policy_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "n", + "policyName": "wgewg", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "zqsbgpnvcglfdiypn", + "name": "b", + "type": "bxb", + "systemData": { + "createdBy": "olbrs", + "createdByType": "xmvxqnlnyqlry", + "createdAt": "2023-07-19T23:15:52.361Z", + "lastModifiedBy": "aomwghmkbvmukitulctyrgarl", + "lastModifiedByType": "aoqmspdhhddpzob", + "lastModifiedAt": "2023-07-19T23:15:52.361Z" + }, + "tags": { + "key2293": "g" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_List.json new file mode 100644 index 000000000000..57e888be94f8 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_List.json @@ -0,0 +1,41 @@ +{ + "title": "Lists the policies.", + "operationId": "Policy_List", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "gregv", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "zqsbgpnvcglfdiypn", + "name": "b", + "type": "bxb", + "systemData": { + "createdBy": "olbrs", + "createdByType": "xmvxqnlnyqlry", + "createdAt": "2023-07-19T23:15:52.361Z", + "lastModifiedBy": "aomwghmkbvmukitulctyrgarl", + "lastModifiedByType": "aoqmspdhhddpzob", + "lastModifiedAt": "2023-07-19T23:15:52.361Z" + }, + "tags": { + "key2293": "g" + } + } + ], + "nextLink": "reyafjioqiijfnjembc" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItemOperationStatus_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItemOperationStatus_Get.json new file mode 100644 index 000000000000..4fe8f7819dcb --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItemOperationStatus_Get.json @@ -0,0 +1,23 @@ +{ + "title": "Gets the protected item operation status.", + "operationId": "ProtectedItemOperationStatus_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "Qb0o5", + "protectedItemName": "NO", + "operationId": "ryjiwtlbkzbmxutomlkmhyq", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "qwkfbfboembvjdfwygiwkkychjh", + "name": "jdediizb", + "status": "ywfsgfiddbtfeciurs", + "startTime": "uuyu", + "endTime": "z" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Create.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Create.json new file mode 100644 index 000000000000..3a346779d943 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Create.json @@ -0,0 +1,264 @@ +{ + "title": "Puts the protected item.", + "operationId": "ProtectedItem_Create", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "BhJ", + "protectedItemName": "LWP", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "policyName": "wkersxyscsdgzeqbwoukend", + "replicationExtensionName": "bgmmup", + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "tags": { + "key3715": "ulupgmruxmvincrvrtljfm" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "policyName": "wkersxyscsdgzeqbwoukend", + "replicationExtensionName": "bgmmup", + "correlationId": "zydqid", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "zteexxrvujjumthxxqjjla", + "testFailoverState": "None", + "testFailoverStateDescription": "wousszluaqvsuzadctfheasex", + "resynchronizationState": "None", + "fabricObjectId": "aoxitjzcxjpoifxhzpowfe", + "fabricObjectName": "bfg", + "sourceFabricProviderId": "vrnvv", + "targetFabricProviderId": "hzgpsmcktuyjdtqi", + "fabricId": "xathrvmabbzjvoxfkfyxifmaqfoi", + "targetFabricId": "xd", + "draId": "egbxtejysipwasthejzwepvnegtehc", + "targetDraId": "bvm", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-07-19T23:15:53.023Z", + "lastSuccessfulUnplannedFailoverTime": "2023-07-19T23:15:53.023Z", + "lastSuccessfulTestFailoverTime": "2023-07-19T23:15:53.023Z", + "currentJob": { + "scenarioName": "bxeszijwtojcukqsikxpdcwvvkdyrs", + "id": "calkbhstaxadrdnzjjgvxp", + "name": "jgwcgtokrsowbahhzkaojtlqlx", + "displayName": "lrkxejiuawhyjcavezcil", + "state": "hivnffczjadboptijvnc", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "allowedJobs": [ + "onozxmjzeydozakvbbmqk" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "bruzqi", + "id": "hxntvezfowcvydcwpdsaj", + "name": "cdrullouokx", + "displayName": "wu", + "state": "dkeowkkbgapopjfgaavptxcyweequs", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "oarkeqbjqurgltmfgkrxfm", + "id": "mzicbosfueoaiipjdysmcj", + "name": "bjinjurvbuxcworyrdhutjvnvjps", + "displayName": "bvhcn", + "state": "grbxboqeqgmgggndw", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "lastTestFailoverJob": { + "scenarioName": "elf", + "id": "ynetipcszijfocnvnmvebbpjjomae", + "name": "ldvd", + "displayName": "behvkuzjvijccyidoi", + "state": "nchfpabnoxajdwy", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "c", + "name": "w", + "type": "cbkrsvo", + "systemData": { + "createdBy": "xjcsfhjqr", + "createdByType": "cjwgnzcqmgi", + "createdAt": "2023-07-19T23:15:53.023Z", + "lastModifiedBy": "amnnmrvlr", + "lastModifiedByType": "jpeyzuog", + "lastModifiedAt": "2023-07-19T23:15:53.023Z" + }, + "tags": { + "key3715": "ulupgmruxmvincrvrtljfm" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "policyName": "wkersxyscsdgzeqbwoukend", + "replicationExtensionName": "bgmmup", + "correlationId": "zydqid", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "zteexxrvujjumthxxqjjla", + "testFailoverState": "None", + "testFailoverStateDescription": "wousszluaqvsuzadctfheasex", + "resynchronizationState": "None", + "fabricObjectId": "aoxitjzcxjpoifxhzpowfe", + "fabricObjectName": "bfg", + "sourceFabricProviderId": "vrnvv", + "targetFabricProviderId": "hzgpsmcktuyjdtqi", + "fabricId": "xathrvmabbzjvoxfkfyxifmaqfoi", + "targetFabricId": "xd", + "draId": "egbxtejysipwasthejzwepvnegtehc", + "targetDraId": "bvm", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-07-19T23:15:53.023Z", + "lastSuccessfulUnplannedFailoverTime": "2023-07-19T23:15:53.023Z", + "lastSuccessfulTestFailoverTime": "2023-07-19T23:15:53.023Z", + "currentJob": { + "scenarioName": "bxeszijwtojcukqsikxpdcwvvkdyrs", + "id": "calkbhstaxadrdnzjjgvxp", + "name": "jgwcgtokrsowbahhzkaojtlqlx", + "displayName": "lrkxejiuawhyjcavezcil", + "state": "hivnffczjadboptijvnc", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "allowedJobs": [ + "onozxmjzeydozakvbbmqk" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "bruzqi", + "id": "hxntvezfowcvydcwpdsaj", + "name": "cdrullouokx", + "displayName": "wu", + "state": "dkeowkkbgapopjfgaavptxcyweequs", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "oarkeqbjqurgltmfgkrxfm", + "id": "mzicbosfueoaiipjdysmcj", + "name": "bjinjurvbuxcworyrdhutjvnvjps", + "displayName": "bvhcn", + "state": "grbxboqeqgmgggndw", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "lastTestFailoverJob": { + "scenarioName": "elf", + "id": "ynetipcszijfocnvnmvebbpjjomae", + "name": "ldvd", + "displayName": "behvkuzjvijccyidoi", + "state": "nchfpabnoxajdwy", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "c", + "name": "w", + "type": "cbkrsvo", + "systemData": { + "createdBy": "xjcsfhjqr", + "createdByType": "cjwgnzcqmgi", + "createdAt": "2023-07-19T23:15:53.023Z", + "lastModifiedBy": "amnnmrvlr", + "lastModifiedByType": "jpeyzuog", + "lastModifiedAt": "2023-07-19T23:15:53.023Z" + }, + "tags": { + "key3715": "ulupgmruxmvincrvrtljfm" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Delete.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Delete.json new file mode 100644 index 000000000000..aa14e3c221a0 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Deletes the protected item.", + "operationId": "ProtectedItem_Delete", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "nQHH", + "protectedItemName": "Wo", + "forceDelete": true, + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Get.json new file mode 100644 index 000000000000..93d0da715be3 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Get.json @@ -0,0 +1,131 @@ +{ + "title": "Gets the protected item.", + "operationId": "ProtectedItem_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "pUS", + "protectedItemName": "1nn", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "policyName": "wkersxyscsdgzeqbwoukend", + "replicationExtensionName": "bgmmup", + "correlationId": "zydqid", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "zteexxrvujjumthxxqjjla", + "testFailoverState": "None", + "testFailoverStateDescription": "wousszluaqvsuzadctfheasex", + "resynchronizationState": "None", + "fabricObjectId": "aoxitjzcxjpoifxhzpowfe", + "fabricObjectName": "bfg", + "sourceFabricProviderId": "vrnvv", + "targetFabricProviderId": "hzgpsmcktuyjdtqi", + "fabricId": "xathrvmabbzjvoxfkfyxifmaqfoi", + "targetFabricId": "xd", + "draId": "egbxtejysipwasthejzwepvnegtehc", + "targetDraId": "bvm", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-07-19T23:15:53.023Z", + "lastSuccessfulUnplannedFailoverTime": "2023-07-19T23:15:53.023Z", + "lastSuccessfulTestFailoverTime": "2023-07-19T23:15:53.023Z", + "currentJob": { + "scenarioName": "bxeszijwtojcukqsikxpdcwvvkdyrs", + "id": "calkbhstaxadrdnzjjgvxp", + "name": "jgwcgtokrsowbahhzkaojtlqlx", + "displayName": "lrkxejiuawhyjcavezcil", + "state": "hivnffczjadboptijvnc", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "allowedJobs": [ + "onozxmjzeydozakvbbmqk" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "bruzqi", + "id": "hxntvezfowcvydcwpdsaj", + "name": "cdrullouokx", + "displayName": "wu", + "state": "dkeowkkbgapopjfgaavptxcyweequs", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "oarkeqbjqurgltmfgkrxfm", + "id": "mzicbosfueoaiipjdysmcj", + "name": "bjinjurvbuxcworyrdhutjvnvjps", + "displayName": "bvhcn", + "state": "grbxboqeqgmgggndw", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "lastTestFailoverJob": { + "scenarioName": "elf", + "id": "ynetipcszijfocnvnmvebbpjjomae", + "name": "ldvd", + "displayName": "behvkuzjvijccyidoi", + "state": "nchfpabnoxajdwy", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "c", + "name": "w", + "type": "cbkrsvo", + "systemData": { + "createdBy": "xjcsfhjqr", + "createdByType": "cjwgnzcqmgi", + "createdAt": "2023-07-19T23:15:53.023Z", + "lastModifiedBy": "amnnmrvlr", + "lastModifiedByType": "jpeyzuog", + "lastModifiedAt": "2023-07-19T23:15:53.023Z" + }, + "tags": { + "key3715": "ulupgmruxmvincrvrtljfm" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_List.json new file mode 100644 index 000000000000..c2f0d0f7c8ed --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_List.json @@ -0,0 +1,135 @@ +{ + "title": "Lists the protected items.", + "operationId": "ProtectedItem_List", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "6", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "policyName": "wkersxyscsdgzeqbwoukend", + "replicationExtensionName": "bgmmup", + "correlationId": "zydqid", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "zteexxrvujjumthxxqjjla", + "testFailoverState": "None", + "testFailoverStateDescription": "wousszluaqvsuzadctfheasex", + "resynchronizationState": "None", + "fabricObjectId": "aoxitjzcxjpoifxhzpowfe", + "fabricObjectName": "bfg", + "sourceFabricProviderId": "vrnvv", + "targetFabricProviderId": "hzgpsmcktuyjdtqi", + "fabricId": "xathrvmabbzjvoxfkfyxifmaqfoi", + "targetFabricId": "xd", + "draId": "egbxtejysipwasthejzwepvnegtehc", + "targetDraId": "bvm", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-07-19T23:15:53.023Z", + "lastSuccessfulUnplannedFailoverTime": "2023-07-19T23:15:53.023Z", + "lastSuccessfulTestFailoverTime": "2023-07-19T23:15:53.023Z", + "currentJob": { + "scenarioName": "bxeszijwtojcukqsikxpdcwvvkdyrs", + "id": "calkbhstaxadrdnzjjgvxp", + "name": "jgwcgtokrsowbahhzkaojtlqlx", + "displayName": "lrkxejiuawhyjcavezcil", + "state": "hivnffczjadboptijvnc", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "allowedJobs": [ + "onozxmjzeydozakvbbmqk" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "bruzqi", + "id": "hxntvezfowcvydcwpdsaj", + "name": "cdrullouokx", + "displayName": "wu", + "state": "dkeowkkbgapopjfgaavptxcyweequs", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "oarkeqbjqurgltmfgkrxfm", + "id": "mzicbosfueoaiipjdysmcj", + "name": "bjinjurvbuxcworyrdhutjvnvjps", + "displayName": "bvhcn", + "state": "grbxboqeqgmgggndw", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "lastTestFailoverJob": { + "scenarioName": "elf", + "id": "ynetipcszijfocnvnmvebbpjjomae", + "name": "ldvd", + "displayName": "behvkuzjvijccyidoi", + "state": "nchfpabnoxajdwy", + "startTime": "2023-07-19T23:15:53.023Z", + "endTime": "2023-07-19T23:15:53.023Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "aohhqcebotb", + "affectedResourceCorrelationIds": [ + "upmphjgaslgw" + ], + "childErrors": [ + { + "code": "ynlqtrjoaphzuuwmsdynnwjoswph", + "healthCategory": "qqnrcza", + "category": "qqyinhtpy", + "severity": "bvbrhvbpfnwxyotikvaeyaqtzvnu", + "source": "egzrldhthmjqmgu", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "sorlzbjpwripyqlosdfsoswwwzaj", + "message": "wnkqpavwgnrorcowlpew", + "causes": "mvjeqping", + "recommendation": "fivskitwapzdnimm" + } + ], + "code": "hvwfdrfjlhizznosxgbwgekv", + "healthCategory": "ikglgcyvsqulsgtjbkuupfazrtmplq", + "category": "kacefvwsaekvtjshbpuvsbugerauz", + "severity": "lamwikolvodzglesef", + "source": "vzcnlpgioblotfqsbie", + "creationTime": "2023-07-19T23:15:49.975Z", + "isCustomerResolvable": true, + "summary": "dvtcbpygvnhnlrpvafapa", + "message": "lggpeevqnwwjbffngi", + "causes": "owqyck", + "recommendation": "nqskbwtufqvenysiuhvhvcdroexw" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "c", + "name": "w", + "type": "cbkrsvo", + "systemData": { + "createdBy": "xjcsfhjqr", + "createdByType": "cjwgnzcqmgi", + "createdAt": "2023-07-19T23:15:53.023Z", + "lastModifiedBy": "amnnmrvlr", + "lastModifiedByType": "jpeyzuog", + "lastModifiedAt": "2023-07-19T23:15:53.023Z" + }, + "tags": { + "key3715": "ulupgmruxmvincrvrtljfm" + } + } + ], + "nextLink": "sdtvuxzppujecgaopmcasn" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_PlannedFailover.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_PlannedFailover.json new file mode 100644 index 000000000000..9bae1a2a5a92 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_PlannedFailover.json @@ -0,0 +1,34 @@ +{ + "title": "Performs planned failover.", + "operationId": "ProtectedItem_PlannedFailover", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "wefhs", + "protectedItemName": "B", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "customProperties": { + "instanceType": "PlannedFailoverModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "customProperties": { + "instanceType": "PlannedFailoverModelCustomProperties" + } + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_Get.json new file mode 100644 index 000000000000..c7c5c0a7465f --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_Get.json @@ -0,0 +1,39 @@ +{ + "title": "Gets the recovery point.", + "operationId": "RecoveryPoints_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "y0", + "protectedItemName": "Q", + "recoveryPointName": "7gc4X3", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "recoveryPointTime": "2023-07-19T23:15:53.869Z", + "recoveryPointType": "ApplicationConsistent", + "customProperties": { + "instanceType": "RecoveryPointModelCustomProperties" + } + }, + "id": "irbmbvsrf", + "name": "kbvebzzlkehieinndkweqp", + "type": "vgwibhzzgpsmgnchbjkxxwhsyyepv", + "systemData": { + "createdBy": "deivohlutrtbkdmigwxwks", + "createdByType": "vzfhwrauii", + "createdAt": "2023-07-19T23:15:53.869Z", + "lastModifiedBy": "ouk", + "lastModifiedByType": "a", + "lastModifiedAt": "2023-07-19T23:15:53.869Z" + }, + "tags": { + "key6725": "e" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_List.json new file mode 100644 index 000000000000..8ed7cbee99be --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_List.json @@ -0,0 +1,43 @@ +{ + "title": "Lists the recovery points.", + "operationId": "RecoveryPoints_List", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "OUy", + "protectedItemName": "JOW", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "recoveryPointTime": "2023-07-19T23:15:53.869Z", + "recoveryPointType": "ApplicationConsistent", + "customProperties": { + "instanceType": "RecoveryPointModelCustomProperties" + } + }, + "id": "irbmbvsrf", + "name": "kbvebzzlkehieinndkweqp", + "type": "vgwibhzzgpsmgnchbjkxxwhsyyepv", + "systemData": { + "createdBy": "deivohlutrtbkdmigwxwks", + "createdByType": "vzfhwrauii", + "createdAt": "2023-07-19T23:15:53.869Z", + "lastModifiedBy": "ouk", + "lastModifiedByType": "a", + "lastModifiedAt": "2023-07-19T23:15:53.869Z" + }, + "tags": { + "key6725": "e" + } + } + ], + "nextLink": "ep" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtensionOperationStatus_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtensionOperationStatus_Get.json new file mode 100644 index 000000000000..021ec252206b --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtensionOperationStatus_Get.json @@ -0,0 +1,23 @@ +{ + "title": "Gets the replication extension operation status.", + "operationId": "ReplicationExtensionOperationStatus_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "vY4S", + "replicationExtensionName": "LRZ6D", + "operationId": "agvkhcmqbhygtefyjewgnjer", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "qwkfbfboembvjdfwygiwkkychjh", + "name": "jdediizb", + "status": "ywfsgfiddbtfeciurs", + "startTime": "uuyu", + "endTime": "z" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Create.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Create.json new file mode 100644 index 000000000000..e166d1fa6073 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Create.json @@ -0,0 +1,74 @@ +{ + "title": "Puts the replication extension.", + "operationId": "ReplicationExtension_Create", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "h", + "replicationExtensionName": "VXP", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "tags": { + "key2930": "ut" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "zghkjcfrtocvueduh", + "name": "ydzss", + "type": "jrqjwpwjdm", + "systemData": { + "createdBy": "tajmtshqnhxwewpihiqxadhwunwzo", + "createdByType": "tbokxmhyihcuglxwyt", + "createdAt": "2023-07-19T23:15:54.149Z", + "lastModifiedBy": "bwuemsaooenvlwe", + "lastModifiedByType": "yidzkxxhumbumfrsqwfmsczgxrkgmz", + "lastModifiedAt": "2023-07-19T23:15:54.149Z" + }, + "tags": { + "key2930": "ut" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "zghkjcfrtocvueduh", + "name": "ydzss", + "type": "jrqjwpwjdm", + "systemData": { + "createdBy": "tajmtshqnhxwewpihiqxadhwunwzo", + "createdByType": "tbokxmhyihcuglxwyt", + "createdAt": "2023-07-19T23:15:54.149Z", + "lastModifiedBy": "bwuemsaooenvlwe", + "lastModifiedByType": "yidzkxxhumbumfrsqwfmsczgxrkgmz", + "lastModifiedAt": "2023-07-19T23:15:54.149Z" + }, + "tags": { + "key2930": "ut" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Delete.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Delete.json new file mode 100644 index 000000000000..d6ca3c1c420b --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the replication extension.", + "operationId": "ReplicationExtension_Delete", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "NT", + "replicationExtensionName": "t", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Get.json new file mode 100644 index 000000000000..50f602624555 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Get.json @@ -0,0 +1,37 @@ +{ + "title": "Gets the replication extension.", + "operationId": "ReplicationExtension_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "CFG", + "replicationExtensionName": "gewgsv", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "zghkjcfrtocvueduh", + "name": "ydzss", + "type": "jrqjwpwjdm", + "systemData": { + "createdBy": "tajmtshqnhxwewpihiqxadhwunwzo", + "createdByType": "tbokxmhyihcuglxwyt", + "createdAt": "2023-07-19T23:15:54.149Z", + "lastModifiedBy": "bwuemsaooenvlwe", + "lastModifiedByType": "yidzkxxhumbumfrsqwfmsczgxrkgmz", + "lastModifiedAt": "2023-07-19T23:15:54.149Z" + }, + "tags": { + "key2930": "ut" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_List.json new file mode 100644 index 000000000000..faf60f99cbef --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_List.json @@ -0,0 +1,41 @@ +{ + "title": "Lists the replication extensions.", + "operationId": "ReplicationExtension_List", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "V4", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "zghkjcfrtocvueduh", + "name": "ydzss", + "type": "jrqjwpwjdm", + "systemData": { + "createdBy": "tajmtshqnhxwewpihiqxadhwunwzo", + "createdByType": "tbokxmhyihcuglxwyt", + "createdAt": "2023-07-19T23:15:54.149Z", + "lastModifiedBy": "bwuemsaooenvlwe", + "lastModifiedByType": "yidzkxxhumbumfrsqwfmsczgxrkgmz", + "lastModifiedAt": "2023-07-19T23:15:54.149Z" + }, + "tags": { + "key2930": "ut" + } + } + ], + "nextLink": "nyfmpzzuqz" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/VaultOperationStatus_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/VaultOperationStatus_Get.json new file mode 100644 index 000000000000..d7d2d1176e57 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/VaultOperationStatus_Get.json @@ -0,0 +1,22 @@ +{ + "title": "Gets the vault operation status.", + "operationId": "VaultOperationStatus_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "fwefw", + "operationId": "daupxaufefhdhhukh", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "qwkfbfboembvjdfwygiwkkychjh", + "name": "jdediizb", + "status": "ywfsgfiddbtfeciurs", + "startTime": "uuyu", + "endTime": "z" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Create.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Create.json new file mode 100644 index 000000000000..61354ed187d6 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Create.json @@ -0,0 +1,72 @@ +{ + "title": "Puts the vault.", + "operationId": "Vault_Create", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "3tD5L", + "api-version": "2021-02-16-preview", + "body": { + "location": "zozkmgrbwqnhfoeugrerkutff", + "properties": { + "vaultType": "DisasterRecovery" + }, + "tags": { + "key3404": "hcmdeymkajpcezqqw" + } + } + }, + "responses": { + "200": { + "body": { + "location": "zozkmgrbwqnhfoeugrerkutff", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "lxbmifkcvlkqjgonpnym", + "vaultType": "DisasterRecovery" + }, + "id": "gtqpsvavxfgg", + "name": "xjnibbbmftydzviwmziyil", + "type": "zbcxpgpwfgfpvavlkpwtzexwutsbi", + "systemData": { + "createdBy": "fbt", + "createdByType": "yihmpcqgmtapwny", + "createdAt": "2023-07-19T23:15:55.335Z", + "lastModifiedBy": "bcyhsyoxd", + "lastModifiedByType": "lt", + "lastModifiedAt": "2023-07-19T23:15:55.335Z" + }, + "tags": { + "key3404": "hcmdeymkajpcezqqw" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "location": "zozkmgrbwqnhfoeugrerkutff", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "lxbmifkcvlkqjgonpnym", + "vaultType": "DisasterRecovery" + }, + "id": "gtqpsvavxfgg", + "name": "xjnibbbmftydzviwmziyil", + "type": "zbcxpgpwfgfpvavlkpwtzexwutsbi", + "systemData": { + "createdBy": "fbt", + "createdByType": "yihmpcqgmtapwny", + "createdAt": "2023-07-19T23:15:55.335Z", + "lastModifiedBy": "bcyhsyoxd", + "lastModifiedByType": "lt", + "lastModifiedAt": "2023-07-19T23:15:55.335Z" + }, + "tags": { + "key3404": "hcmdeymkajpcezqqw" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Delete.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Delete.json new file mode 100644 index 000000000000..1f662e71fda2 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "Deletes the vault.", + "operationId": "Vault_Delete", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "QC", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Get.json new file mode 100644 index 000000000000..d586c09602e1 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Get.json @@ -0,0 +1,36 @@ +{ + "title": "Gets the vault.", + "operationId": "Vault_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "myRN", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "location": "zozkmgrbwqnhfoeugrerkutff", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "lxbmifkcvlkqjgonpnym", + "vaultType": "DisasterRecovery" + }, + "id": "gtqpsvavxfgg", + "name": "xjnibbbmftydzviwmziyil", + "type": "zbcxpgpwfgfpvavlkpwtzexwutsbi", + "systemData": { + "createdBy": "fbt", + "createdByType": "yihmpcqgmtapwny", + "createdAt": "2023-07-19T23:15:55.335Z", + "lastModifiedBy": "bcyhsyoxd", + "lastModifiedByType": "lt", + "lastModifiedAt": "2023-07-19T23:15:55.335Z" + }, + "tags": { + "key3404": "hcmdeymkajpcezqqw" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_List.json new file mode 100644 index 000000000000..794b1e440d59 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_List.json @@ -0,0 +1,41 @@ +{ + "title": "Lists the vaults.", + "operationId": "Vault_List", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "continuationToken": "psjauvutqupvflsgopjcwbdmxcxiou", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "zozkmgrbwqnhfoeugrerkutff", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "lxbmifkcvlkqjgonpnym", + "vaultType": "DisasterRecovery" + }, + "id": "gtqpsvavxfgg", + "name": "xjnibbbmftydzviwmziyil", + "type": "zbcxpgpwfgfpvavlkpwtzexwutsbi", + "systemData": { + "createdBy": "fbt", + "createdByType": "yihmpcqgmtapwny", + "createdAt": "2023-07-19T23:15:55.335Z", + "lastModifiedBy": "bcyhsyoxd", + "lastModifiedByType": "lt", + "lastModifiedAt": "2023-07-19T23:15:55.335Z" + }, + "tags": { + "key3404": "hcmdeymkajpcezqqw" + } + } + ], + "nextLink": "lchaiqnafgnmg" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_ListBySubscription.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_ListBySubscription.json new file mode 100644 index 000000000000..f307b271fa99 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_ListBySubscription.json @@ -0,0 +1,40 @@ +{ + "title": "Lists the vaults.", + "operationId": "Vault_ListBySubscription", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "continuationToken": "zrlojqdscbslgbdtu", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "zozkmgrbwqnhfoeugrerkutff", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "lxbmifkcvlkqjgonpnym", + "vaultType": "DisasterRecovery" + }, + "id": "gtqpsvavxfgg", + "name": "xjnibbbmftydzviwmziyil", + "type": "zbcxpgpwfgfpvavlkpwtzexwutsbi", + "systemData": { + "createdBy": "fbt", + "createdByType": "yihmpcqgmtapwny", + "createdAt": "2023-07-19T23:15:55.335Z", + "lastModifiedBy": "bcyhsyoxd", + "lastModifiedByType": "lt", + "lastModifiedAt": "2023-07-19T23:15:55.335Z" + }, + "tags": { + "key3404": "hcmdeymkajpcezqqw" + } + } + ], + "nextLink": "lchaiqnafgnmg" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Update.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Update.json new file mode 100644 index 000000000000..64a479caadae --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Update.json @@ -0,0 +1,49 @@ +{ + "title": "Updates the vault.", + "operationId": "Vault_Update", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "rC", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "vaultType": "DisasterRecovery" + }, + "tags": { + "key1542": "xkfewapgnjpccymxyjolmmypiaodf" + } + } + }, + "responses": { + "200": { + "body": { + "location": "zozkmgrbwqnhfoeugrerkutff", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "lxbmifkcvlkqjgonpnym", + "vaultType": "DisasterRecovery" + }, + "id": "gtqpsvavxfgg", + "name": "xjnibbbmftydzviwmziyil", + "type": "zbcxpgpwfgfpvavlkpwtzexwutsbi", + "systemData": { + "createdBy": "fbt", + "createdByType": "yihmpcqgmtapwny", + "createdAt": "2023-07-19T23:15:55.335Z", + "lastModifiedBy": "bcyhsyoxd", + "lastModifiedByType": "lt", + "lastModifiedAt": "2023-07-19T23:15:55.335Z" + }, + "tags": { + "key3404": "hcmdeymkajpcezqqw" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/WorkflowOperationStatus_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/WorkflowOperationStatus_Get.json new file mode 100644 index 000000000000..1451b91dbd61 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/WorkflowOperationStatus_Get.json @@ -0,0 +1,23 @@ +{ + "title": "Gets the workflow operation status.", + "operationId": "WorkflowOperationStatus_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "VXx", + "workflowName": "mZspe", + "operationId": "jdebmev", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "qwkfbfboembvjdfwygiwkkychjh", + "name": "jdediizb", + "status": "ywfsgfiddbtfeciurs", + "startTime": "uuyu", + "endTime": "z" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_Get.json new file mode 100644 index 000000000000..6279762a8906 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_Get.json @@ -0,0 +1,78 @@ +{ + "title": "Gets the workflow.", + "operationId": "Workflow_Get", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "BXN", + "workflowName": "Sw6", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "dusrtipsires", + "state": "Pending", + "startTime": "2023-07-19T23:15:56.372Z", + "endTime": "2023-07-19T23:15:56.372Z", + "objectId": "xbcmz", + "objectName": "mvznlzehxwegrecmztavnohuu", + "objectInternalId": "roognnufuo", + "objectInternalName": "hsrzcldurscmldc", + "objectType": "AvsDiskPool", + "replicationProviderId": "kqbjlmyycfoigimsfyflvmmsk", + "sourceFabricProviderId": "uozjqolnmfimyr", + "targetFabricProviderId": "kiskgxcgb", + "allowedActions": [ + "utprdvxnlb" + ], + "activityId": "ssvseqqzafhdysgkozochgwpsdix", + "tasks": [ + { + "taskName": "gopbkqkqqv", + "state": "Pending", + "startTime": "2023-07-19T23:15:56.373Z", + "endTime": "2023-07-19T23:15:56.373Z", + "customProperties": { + "instanceType": "mc" + }, + "childrenWorkflows": [] + } + ], + "errors": [ + { + "code": "iwxhzrkqjegu", + "type": "opjxndgzyjvkaubdpfkjpitqjdedm", + "severity": "dvrpsvualdmmjsgbxod", + "creationTime": "2023-07-19T23:15:56.373Z", + "message": "bgxiwocpsujmg", + "causes": "ywxtpltvuudhn", + "recommendation": "rdrpgzjqrblsgrsdmcggxtg" + } + ], + "customProperties": { + "instanceType": "WorkflowModelCustomProperties", + "affectedObjectDetails": { + "key9002": "pkxwzofqjerimaprjiqsnexitgiy" + } + } + }, + "id": "fkgsprxgieeruu", + "name": "wbpeeflonxu", + "type": "wgtizfshxbbznjxvh", + "systemData": { + "createdBy": "heba", + "createdByType": "airkguzxspdjcwsbpjetdauq", + "createdAt": "2023-07-19T23:15:56.373Z", + "lastModifiedBy": "bfyolacnbajhdjejoglymgq", + "lastModifiedByType": "doxeqalwor", + "lastModifiedAt": "2023-07-19T23:15:56.373Z" + }, + "tags": { + "key910": "qfvud" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_List.json new file mode 100644 index 000000000000..2f035dbf5a35 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_List.json @@ -0,0 +1,84 @@ +{ + "title": "Lists the workflows.", + "operationId": "Workflow_List", + "parameters": { + "subscriptionId": "F54CB756-7975-47ED-801D-13022DECC2C4", + "resourceGroupName": "rgswagger", + "vaultName": "a", + "$filter": "dqzvfzgkbsxgrgbtkghinmwuedozwg", + "continuationToken": "uwxenmgzjzdpbtghaemvsif", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "displayName": "dusrtipsires", + "state": "Pending", + "startTime": "2023-07-19T23:15:56.372Z", + "endTime": "2023-07-19T23:15:56.372Z", + "objectId": "xbcmz", + "objectName": "mvznlzehxwegrecmztavnohuu", + "objectInternalId": "roognnufuo", + "objectInternalName": "hsrzcldurscmldc", + "objectType": "AvsDiskPool", + "replicationProviderId": "kqbjlmyycfoigimsfyflvmmsk", + "sourceFabricProviderId": "uozjqolnmfimyr", + "targetFabricProviderId": "kiskgxcgb", + "allowedActions": [ + "utprdvxnlb" + ], + "activityId": "ssvseqqzafhdysgkozochgwpsdix", + "tasks": [ + { + "taskName": "gopbkqkqqv", + "state": "Pending", + "startTime": "2023-07-19T23:15:56.373Z", + "endTime": "2023-07-19T23:15:56.373Z", + "customProperties": { + "instanceType": "mc" + }, + "childrenWorkflows": [] + } + ], + "errors": [ + { + "code": "iwxhzrkqjegu", + "type": "opjxndgzyjvkaubdpfkjpitqjdedm", + "severity": "dvrpsvualdmmjsgbxod", + "creationTime": "2023-07-19T23:15:56.373Z", + "message": "bgxiwocpsujmg", + "causes": "ywxtpltvuudhn", + "recommendation": "rdrpgzjqrblsgrsdmcggxtg" + } + ], + "customProperties": { + "instanceType": "WorkflowModelCustomProperties", + "affectedObjectDetails": { + "key9002": "pkxwzofqjerimaprjiqsnexitgiy" + } + } + }, + "id": "fkgsprxgieeruu", + "name": "wbpeeflonxu", + "type": "wgtizfshxbbznjxvh", + "systemData": { + "createdBy": "heba", + "createdByType": "airkguzxspdjcwsbpjetdauq", + "createdAt": "2023-07-19T23:15:56.373Z", + "lastModifiedBy": "bfyolacnbajhdjejoglymgq", + "lastModifiedByType": "doxeqalwor", + "lastModifiedAt": "2023-07-19T23:15:56.373Z" + }, + "tags": { + "key910": "qfvud" + } + } + ], + "nextLink": "itzqmjwmihyiwmwhaqime" + } + } + } +}