diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/CheckNameAvailability.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/CheckNameAvailability.json new file mode 100644 index 000000000000..6af13d182d29 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "location": "trfqtbtmusswpibw", + "api-version": "2021-02-16-preview", + "body": { + "name": "updkdcixs", + "type": "gngmcancdauwhdixjjvqnfkvqc" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true, + "reason": "wwbvswyrmghbmv", + "message": "gddmrunlrhtuhm" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DeploymentPreflight.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DeploymentPreflight.json new file mode 100644 index 000000000000..f504ce8177ca --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "deploymentId": "kjoiahxljomjcmvabaobumg", + "api-version": "2021-02-16-preview", + "body": { + "resources": [ + { + "name": "xtgugoflfc", + "type": "nsnaptduolqcxsikrewvgjbxqpt", + "location": "cbsgtxkjdzwbyp", + "apiVersion": "otihymhvzblycdoxo" + } + ] + } + }, + "responses": { + "200": { + "body": { + "resources": [ + { + "name": "xtgugoflfc", + "type": "nsnaptduolqcxsikrewvgjbxqpt", + "location": "cbsgtxkjdzwbyp", + "apiVersion": "otihymhvzblycdoxo" + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DraOperationStatus_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DraOperationStatus_Get.json new file mode 100644 index 000000000000..401664854084 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DraOperationStatus_Get.json @@ -0,0 +1,23 @@ +{ + "title": "Gets the fabric agent (Dra) operation status.", + "operationId": "DraOperationStatus_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "fabricAgentName": "M", + "operationId": "dadsqwcq", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "sf", + "name": "wzdasptnwlxgobklayoqapjcgcf", + "status": "plbnngzfppdram", + "startTime": "xuzwmfrhluafmwwsmzqxsytyehsh", + "endTime": "nauyrfh" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Create.json new file mode 100644 index 000000000000..fef9b637f9a8 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Create.json @@ -0,0 +1,189 @@ +{ + "title": "Puts the fabric agent (Dra).", + "operationId": "Dra_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "fabricAgentName": "M", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "correlationId": "t", + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "isResponsive": true, + "lastHeartbeat": "2023-08-25T00:28:52.127Z", + "versionNumber": "wnksfnisrhs", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + }, + "id": "anp", + "name": "ioxmwhzrzdilxivkvhpvzexl", + "type": "ptgmahzsyv", + "systemData": { + "createdBy": "fazidmklka", + "createdByType": "obpndgkaeyklqzmpjh", + "createdAt": "2023-08-25T00:28:52.128Z", + "lastModifiedBy": "cfoopkrisaroztncgss", + "lastModifiedByType": "dysxbvohxhrpl", + "lastModifiedAt": "2023-08-25T00:28:52.128Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "correlationId": "t", + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "isResponsive": true, + "lastHeartbeat": "2023-08-25T00:28:52.127Z", + "versionNumber": "wnksfnisrhs", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + }, + "id": "anp", + "name": "ioxmwhzrzdilxivkvhpvzexl", + "type": "ptgmahzsyv", + "systemData": { + "createdBy": "fazidmklka", + "createdByType": "obpndgkaeyklqzmpjh", + "createdAt": "2023-08-25T00:28:52.128Z", + "lastModifiedBy": "cfoopkrisaroztncgss", + "lastModifiedByType": "dysxbvohxhrpl", + "lastModifiedAt": "2023-08-25T00:28:52.128Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Delete.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Delete.json new file mode 100644 index 000000000000..2898cf1df620 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the fabric agent (Dra).", + "operationId": "Dra_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "fabricAgentName": "M", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Get.json new file mode 100644 index 000000000000..f2072c95f3f0 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Get.json @@ -0,0 +1,88 @@ +{ + "title": "Gets the fabric agent (Dra).", + "operationId": "Dra_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "fabricAgentName": "M", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "correlationId": "t", + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "isResponsive": true, + "lastHeartbeat": "2023-08-25T00:28:52.127Z", + "versionNumber": "wnksfnisrhs", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + }, + "id": "anp", + "name": "ioxmwhzrzdilxivkvhpvzexl", + "type": "ptgmahzsyv", + "systemData": { + "createdBy": "fazidmklka", + "createdByType": "obpndgkaeyklqzmpjh", + "createdAt": "2023-08-25T00:28:52.128Z", + "lastModifiedBy": "cfoopkrisaroztncgss", + "lastModifiedByType": "dysxbvohxhrpl", + "lastModifiedAt": "2023-08-25T00:28:52.128Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_List.json new file mode 100644 index 000000000000..0696fdc20f5f --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_List.json @@ -0,0 +1,92 @@ +{ + "title": "Lists the fabric agents (Dras).", + "operationId": "Dra_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "correlationId": "t", + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "isResponsive": true, + "lastHeartbeat": "2023-08-25T00:28:52.127Z", + "versionNumber": "wnksfnisrhs", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + }, + "id": "anp", + "name": "ioxmwhzrzdilxivkvhpvzexl", + "type": "ptgmahzsyv", + "systemData": { + "createdBy": "fazidmklka", + "createdByType": "obpndgkaeyklqzmpjh", + "createdAt": "2023-08-25T00:28:52.128Z", + "lastModifiedBy": "cfoopkrisaroztncgss", + "lastModifiedByType": "dysxbvohxhrpl", + "lastModifiedAt": "2023-08-25T00:28:52.128Z" + } + } + ], + "nextLink": "orh" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Create.json new file mode 100644 index 000000000000..6ae9245fd3a0 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Create.json @@ -0,0 +1,66 @@ +{ + "title": "Creates email configuration settings.", + "operationId": "EmailConfiguration_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "emailConfigurationName": "0", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko" + }, + "id": "bvbfy", + "name": "ywjplnjzaeu", + "type": "bkaq", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + }, + "201": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko" + }, + "id": "bvbfy", + "name": "ywjplnjzaeu", + "type": "bkaq", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Get.json new file mode 100644 index 000000000000..946bbe114ba0 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Get.json @@ -0,0 +1,35 @@ +{ + "title": "Gets the email configuration setting.", + "operationId": "EmailConfiguration_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "emailConfigurationName": "0", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko" + }, + "id": "bvbfy", + "name": "ywjplnjzaeu", + "type": "bkaq", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_List.json new file mode 100644 index 000000000000..103fdebcff10 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_List.json @@ -0,0 +1,39 @@ +{ + "title": "Lists the email configuration settings.", + "operationId": "EmailConfiguration_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko" + }, + "id": "bvbfy", + "name": "ywjplnjzaeu", + "type": "bkaq", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + ], + "nextLink": "ityfjzcjldq" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_Get.json new file mode 100644 index 000000000000..55934f25f466 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_Get.json @@ -0,0 +1,75 @@ +{ + "title": "Gets the event.", + "operationId": "Event_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "eventName": "231CIG", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceType": "surgdzezskgregozynvlinfutyh", + "resourceName": "yhpkowkbvtqnbiklnjzc", + "eventType": "npumqmvspm", + "eventName": "s", + "timeOfOccurrence": "2023-08-25T00:28:53.432Z", + "severity": "sjous", + "description": "hkeiogebluvfpdgxogwesjmtbbok", + "correlationId": "lwfsxforxnhvpmheujutjicflmxv", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "EventModelCustomProperties" + } + }, + "id": "fgbppsytxctsrsxlfugyohhu", + "name": "j", + "type": "lgk", + "systemData": { + "createdBy": "uske", + "createdByType": "luzowppyxjalugkef", + "createdAt": "2023-08-25T00:28:53.432Z", + "lastModifiedBy": "ufrixpmhben", + "lastModifiedByType": "aubgraubkuaeipwzvbcgnlpseobx", + "lastModifiedAt": "2023-08-25T00:28:53.432Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_List.json new file mode 100644 index 000000000000..cdb59e966d1b --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_List.json @@ -0,0 +1,81 @@ +{ + "title": "Lists the events.", + "operationId": "Event_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "$filter": "wbglupjzvkirtgnnyasxom", + "continuationToken": "cxtufi", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "resourceType": "surgdzezskgregozynvlinfutyh", + "resourceName": "yhpkowkbvtqnbiklnjzc", + "eventType": "npumqmvspm", + "eventName": "s", + "timeOfOccurrence": "2023-08-25T00:28:53.432Z", + "severity": "sjous", + "description": "hkeiogebluvfpdgxogwesjmtbbok", + "correlationId": "lwfsxforxnhvpmheujutjicflmxv", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "EventModelCustomProperties" + } + }, + "id": "fgbppsytxctsrsxlfugyohhu", + "name": "j", + "type": "lgk", + "systemData": { + "createdBy": "uske", + "createdByType": "luzowppyxjalugkef", + "createdAt": "2023-08-25T00:28:53.432Z", + "lastModifiedBy": "ufrixpmhben", + "lastModifiedByType": "aubgraubkuaeipwzvbcgnlpseobx", + "lastModifiedAt": "2023-08-25T00:28:53.432Z" + } + } + ], + "nextLink": "pzo" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/FabricOperationsStatus_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/FabricOperationsStatus_Get.json new file mode 100644 index 000000000000..128b0498c1e4 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "operationId": "dvfwerv", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "sf", + "name": "wzdasptnwlxgobklayoqapjcgcf", + "status": "plbnngzfppdram", + "startTime": "xuzwmfrhluafmwwsmzqxsytyehsh", + "endTime": "nauyrfh" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Create.json new file mode 100644 index 000000000000..6a3d13ca41f4 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "api-version": "2021-02-16-preview", + "body": { + "location": "tqygutlpob", + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "tags": { + "key3917": "vgralu" + } + } + }, + "responses": { + "200": { + "body": { + "location": "tqygutlpob", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "ycaxtshcmldt", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "yhdmbqrsgimuucexvpas", + "createdByType": "brnojz", + "createdAt": "2023-08-25T00:28:53.716Z", + "lastModifiedBy": "balecqnwu", + "lastModifiedByType": "ukvqlncihf", + "lastModifiedAt": "2023-08-25T00:28:53.716Z" + }, + "tags": { + "key3917": "vgralu" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "location": "tqygutlpob", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "ycaxtshcmldt", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "yhdmbqrsgimuucexvpas", + "createdByType": "brnojz", + "createdAt": "2023-08-25T00:28:53.716Z", + "lastModifiedBy": "balecqnwu", + "lastModifiedByType": "ukvqlncihf", + "lastModifiedAt": "2023-08-25T00:28:53.716Z" + }, + "tags": { + "key3917": "vgralu" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Delete.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Delete.json new file mode 100644 index 000000000000..d271405f5eb8 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Get.json new file mode 100644 index 000000000000..20c9b7c67a7a --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "location": "tqygutlpob", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "ycaxtshcmldt", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "yhdmbqrsgimuucexvpas", + "createdByType": "brnojz", + "createdAt": "2023-08-25T00:28:53.716Z", + "lastModifiedBy": "balecqnwu", + "lastModifiedByType": "ukvqlncihf", + "lastModifiedAt": "2023-08-25T00:28:53.716Z" + }, + "tags": { + "key3917": "vgralu" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_List.json new file mode 100644 index 000000000000..927c6e1cdfa6 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "continuationToken": "mjzsxwwmtvd", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "tqygutlpob", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "ycaxtshcmldt", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "yhdmbqrsgimuucexvpas", + "createdByType": "brnojz", + "createdAt": "2023-08-25T00:28:53.716Z", + "lastModifiedBy": "balecqnwu", + "lastModifiedByType": "ukvqlncihf", + "lastModifiedAt": "2023-08-25T00:28:53.716Z" + }, + "tags": { + "key3917": "vgralu" + } + } + ], + "nextLink": "nyrnwuxo" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_ListBySubscription.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_ListBySubscription.json new file mode 100644 index 000000000000..fcc4adec1d77 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "continuationToken": "rmgqrpzucsizbyjscxzockbiyg", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "tqygutlpob", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "ycaxtshcmldt", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "yhdmbqrsgimuucexvpas", + "createdByType": "brnojz", + "createdAt": "2023-08-25T00:28:53.716Z", + "lastModifiedBy": "balecqnwu", + "lastModifiedByType": "ukvqlncihf", + "lastModifiedAt": "2023-08-25T00:28:53.716Z" + }, + "tags": { + "key3917": "vgralu" + } + } + ], + "nextLink": "nyrnwuxo" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Update.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Update.json new file mode 100644 index 000000000000..7bb2b7164577 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "tags": { + "key6664": "def" + } + } + }, + "responses": { + "200": { + "body": { + "location": "tqygutlpob", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "ycaxtshcmldt", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "yhdmbqrsgimuucexvpas", + "createdByType": "brnojz", + "createdAt": "2023-08-25T00:28:53.716Z", + "lastModifiedBy": "balecqnwu", + "lastModifiedByType": "ukvqlncihf", + "lastModifiedAt": "2023-08-25T00:28:53.716Z" + }, + "tags": { + "key3917": "vgralu" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Operations_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Operations_List.json new file mode 100644 index 000000000000..8cdfe4b52d7b --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Operations_List.json @@ -0,0 +1,28 @@ +{ + "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": { + "value": [ + { + "name": "chktcqashuxscvbp", + "isDataAction": true, + "display": { + "provider": "yembewkfmaq", + "resource": "epyscqvmqhxbwgyqhzeaumpor", + "operation": "dfal", + "description": "bjdvnagzxjandxcbcrf" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/PolicyOperationStatus_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/PolicyOperationStatus_Get.json new file mode 100644 index 000000000000..6ca44b1120fc --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "policyName": "xczxcwec", + "operationId": "wdqfsdxv", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "sf", + "name": "wzdasptnwlxgobklayoqapjcgcf", + "status": "plbnngzfppdram", + "startTime": "xuzwmfrhluafmwwsmzqxsytyehsh", + "endTime": "nauyrfh" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Create.json new file mode 100644 index 000000000000..9c6153a7c198 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Create.json @@ -0,0 +1,65 @@ +{ + "title": "Puts the policy.", + "operationId": "Policy_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "policyName": "fafqwc", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "ffivjzdtqgguqlenedikvdilazliwm", + "name": "ocmty", + "type": "pvltqld", + "systemData": { + "createdBy": "yiaelkrpuzsfumovsxeb", + "createdByType": "qwzrkjsfloruegijrfnfpn", + "createdAt": "2023-08-25T00:28:54.713Z", + "lastModifiedBy": "xy", + "lastModifiedByType": "rnc", + "lastModifiedAt": "2023-08-25T00:28:54.713Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "ffivjzdtqgguqlenedikvdilazliwm", + "name": "ocmty", + "type": "pvltqld", + "systemData": { + "createdBy": "yiaelkrpuzsfumovsxeb", + "createdByType": "qwzrkjsfloruegijrfnfpn", + "createdAt": "2023-08-25T00:28:54.713Z", + "lastModifiedBy": "xy", + "lastModifiedByType": "rnc", + "lastModifiedAt": "2023-08-25T00:28:54.713Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Delete.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Delete.json new file mode 100644 index 000000000000..9f7ee7acafc6 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "policyName": "wqfscsdv", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Get.json new file mode 100644 index 000000000000..76c1b6f990ab --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Get.json @@ -0,0 +1,34 @@ +{ + "title": "Gets the policy.", + "operationId": "Policy_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "policyName": "wdqsacasc", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "ffivjzdtqgguqlenedikvdilazliwm", + "name": "ocmty", + "type": "pvltqld", + "systemData": { + "createdBy": "yiaelkrpuzsfumovsxeb", + "createdByType": "qwzrkjsfloruegijrfnfpn", + "createdAt": "2023-08-25T00:28:54.713Z", + "lastModifiedBy": "xy", + "lastModifiedByType": "rnc", + "lastModifiedAt": "2023-08-25T00:28:54.713Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_List.json new file mode 100644 index 000000000000..378934619590 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_List.json @@ -0,0 +1,38 @@ +{ + "title": "Lists the policies.", + "operationId": "Policy_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "ffivjzdtqgguqlenedikvdilazliwm", + "name": "ocmty", + "type": "pvltqld", + "systemData": { + "createdBy": "yiaelkrpuzsfumovsxeb", + "createdByType": "qwzrkjsfloruegijrfnfpn", + "createdAt": "2023-08-25T00:28:54.713Z", + "lastModifiedBy": "xy", + "lastModifiedByType": "rnc", + "lastModifiedAt": "2023-08-25T00:28:54.713Z" + } + } + ], + "nextLink": "ovzdscxkyaeiohxqpwfngrtistowu" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItemOperationStatus_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItemOperationStatus_Get.json new file mode 100644 index 000000000000..af58cb1eac65 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "operationId": "wdqacsc", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "sf", + "name": "wzdasptnwlxgobklayoqapjcgcf", + "status": "plbnngzfppdram", + "startTime": "xuzwmfrhluafmwwsmzqxsytyehsh", + "endTime": "nauyrfh" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Create.json new file mode 100644 index 000000000000..f4071fb7357e --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Create.json @@ -0,0 +1,255 @@ +{ + "title": "Puts the protected item.", + "operationId": "ProtectedItem_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "correlationId": "mvxvtcqwgp", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "lp", + "testFailoverState": "None", + "testFailoverStateDescription": "msjz", + "resynchronizationState": "None", + "fabricObjectId": "kjcizdpahzqsrwyiywbhyzdxsufj", + "fabricObjectName": "glrjwtvmejxuagjepcwaxhih", + "sourceFabricProviderId": "srggkxaruzlegtpdalscio", + "targetFabricProviderId": "sutiqezfbeiewwjezflvcitqj", + "fabricId": "ebsxoblmhlhqjzzjzdwo", + "targetFabricId": "fb", + "draId": "vxrmsufvxothxauhvqdowascmy", + "targetDraId": "oscnhreunbyibimlpvsesu", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulUnplannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulTestFailoverTime": "2023-08-25T00:28:55.456Z", + "currentJob": { + "scenarioName": "ljbnhbdmreowdqnlcqycvaramwuii", + "id": "bnmbzxzyfgwh", + "name": "kqtvbrfmqaxdgpttkbmzpwafjp", + "displayName": "awutlqrisstqb", + "state": "ztlpngveoqcdejpwaiudhrioskauqv", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "allowedJobs": [ + "guryeoocjbvqvalfkrxecpxwynpxs" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "fhz", + "id": "hjzgyxgdy", + "name": "hvvolptulpcxwbnjdzky", + "displayName": "zrqjbcozwiuypjjnvy", + "state": "ljsixxmmcaq", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "ceksuyfiplxj", + "id": "ndjurplurnkguwfxx", + "name": "ofblltxwhwzhyr", + "displayName": "whxsvbrzdhqsepbocfzsfx", + "state": "wpur", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastTestFailoverJob": { + "scenarioName": "dfuovvz", + "id": "cta", + "name": "cedjijdtnznsnigghrxnsaz", + "displayName": "lhkjfbonwdtxckwzfebfwdyu", + "state": "nhbzw", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "egmhsfbgkarlobrgybkz", + "name": "t", + "type": "xlyjashandpfwivuipoplgkgsnwoh", + "systemData": { + "createdBy": "ghut", + "createdByType": "tzczp", + "createdAt": "2023-08-25T00:28:55.456Z", + "lastModifiedBy": "epo", + "lastModifiedByType": "ekzmwexhjttb", + "lastModifiedAt": "2023-08-25T00:28:55.456Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "correlationId": "mvxvtcqwgp", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "lp", + "testFailoverState": "None", + "testFailoverStateDescription": "msjz", + "resynchronizationState": "None", + "fabricObjectId": "kjcizdpahzqsrwyiywbhyzdxsufj", + "fabricObjectName": "glrjwtvmejxuagjepcwaxhih", + "sourceFabricProviderId": "srggkxaruzlegtpdalscio", + "targetFabricProviderId": "sutiqezfbeiewwjezflvcitqj", + "fabricId": "ebsxoblmhlhqjzzjzdwo", + "targetFabricId": "fb", + "draId": "vxrmsufvxothxauhvqdowascmy", + "targetDraId": "oscnhreunbyibimlpvsesu", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulUnplannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulTestFailoverTime": "2023-08-25T00:28:55.456Z", + "currentJob": { + "scenarioName": "ljbnhbdmreowdqnlcqycvaramwuii", + "id": "bnmbzxzyfgwh", + "name": "kqtvbrfmqaxdgpttkbmzpwafjp", + "displayName": "awutlqrisstqb", + "state": "ztlpngveoqcdejpwaiudhrioskauqv", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "allowedJobs": [ + "guryeoocjbvqvalfkrxecpxwynpxs" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "fhz", + "id": "hjzgyxgdy", + "name": "hvvolptulpcxwbnjdzky", + "displayName": "zrqjbcozwiuypjjnvy", + "state": "ljsixxmmcaq", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "ceksuyfiplxj", + "id": "ndjurplurnkguwfxx", + "name": "ofblltxwhwzhyr", + "displayName": "whxsvbrzdhqsepbocfzsfx", + "state": "wpur", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastTestFailoverJob": { + "scenarioName": "dfuovvz", + "id": "cta", + "name": "cedjijdtnznsnigghrxnsaz", + "displayName": "lhkjfbonwdtxckwzfebfwdyu", + "state": "nhbzw", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "egmhsfbgkarlobrgybkz", + "name": "t", + "type": "xlyjashandpfwivuipoplgkgsnwoh", + "systemData": { + "createdBy": "ghut", + "createdByType": "tzczp", + "createdAt": "2023-08-25T00:28:55.456Z", + "lastModifiedBy": "epo", + "lastModifiedByType": "ekzmwexhjttb", + "lastModifiedAt": "2023-08-25T00:28:55.456Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Delete.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Delete.json new file mode 100644 index 000000000000..f60f9e5ff3bb --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "forceDelete": true, + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Get.json new file mode 100644 index 000000000000..d66b1e297d8e --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Get.json @@ -0,0 +1,128 @@ +{ + "title": "Gets the protected item.", + "operationId": "ProtectedItem_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "correlationId": "mvxvtcqwgp", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "lp", + "testFailoverState": "None", + "testFailoverStateDescription": "msjz", + "resynchronizationState": "None", + "fabricObjectId": "kjcizdpahzqsrwyiywbhyzdxsufj", + "fabricObjectName": "glrjwtvmejxuagjepcwaxhih", + "sourceFabricProviderId": "srggkxaruzlegtpdalscio", + "targetFabricProviderId": "sutiqezfbeiewwjezflvcitqj", + "fabricId": "ebsxoblmhlhqjzzjzdwo", + "targetFabricId": "fb", + "draId": "vxrmsufvxothxauhvqdowascmy", + "targetDraId": "oscnhreunbyibimlpvsesu", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulUnplannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulTestFailoverTime": "2023-08-25T00:28:55.456Z", + "currentJob": { + "scenarioName": "ljbnhbdmreowdqnlcqycvaramwuii", + "id": "bnmbzxzyfgwh", + "name": "kqtvbrfmqaxdgpttkbmzpwafjp", + "displayName": "awutlqrisstqb", + "state": "ztlpngveoqcdejpwaiudhrioskauqv", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "allowedJobs": [ + "guryeoocjbvqvalfkrxecpxwynpxs" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "fhz", + "id": "hjzgyxgdy", + "name": "hvvolptulpcxwbnjdzky", + "displayName": "zrqjbcozwiuypjjnvy", + "state": "ljsixxmmcaq", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "ceksuyfiplxj", + "id": "ndjurplurnkguwfxx", + "name": "ofblltxwhwzhyr", + "displayName": "whxsvbrzdhqsepbocfzsfx", + "state": "wpur", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastTestFailoverJob": { + "scenarioName": "dfuovvz", + "id": "cta", + "name": "cedjijdtnznsnigghrxnsaz", + "displayName": "lhkjfbonwdtxckwzfebfwdyu", + "state": "nhbzw", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "egmhsfbgkarlobrgybkz", + "name": "t", + "type": "xlyjashandpfwivuipoplgkgsnwoh", + "systemData": { + "createdBy": "ghut", + "createdByType": "tzczp", + "createdAt": "2023-08-25T00:28:55.456Z", + "lastModifiedBy": "epo", + "lastModifiedByType": "ekzmwexhjttb", + "lastModifiedAt": "2023-08-25T00:28:55.456Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_List.json new file mode 100644 index 000000000000..06336ba0c3cd --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_List.json @@ -0,0 +1,132 @@ +{ + "title": "Lists the protected items.", + "operationId": "ProtectedItem_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "correlationId": "mvxvtcqwgp", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "lp", + "testFailoverState": "None", + "testFailoverStateDescription": "msjz", + "resynchronizationState": "None", + "fabricObjectId": "kjcizdpahzqsrwyiywbhyzdxsufj", + "fabricObjectName": "glrjwtvmejxuagjepcwaxhih", + "sourceFabricProviderId": "srggkxaruzlegtpdalscio", + "targetFabricProviderId": "sutiqezfbeiewwjezflvcitqj", + "fabricId": "ebsxoblmhlhqjzzjzdwo", + "targetFabricId": "fb", + "draId": "vxrmsufvxothxauhvqdowascmy", + "targetDraId": "oscnhreunbyibimlpvsesu", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulUnplannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulTestFailoverTime": "2023-08-25T00:28:55.456Z", + "currentJob": { + "scenarioName": "ljbnhbdmreowdqnlcqycvaramwuii", + "id": "bnmbzxzyfgwh", + "name": "kqtvbrfmqaxdgpttkbmzpwafjp", + "displayName": "awutlqrisstqb", + "state": "ztlpngveoqcdejpwaiudhrioskauqv", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "allowedJobs": [ + "guryeoocjbvqvalfkrxecpxwynpxs" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "fhz", + "id": "hjzgyxgdy", + "name": "hvvolptulpcxwbnjdzky", + "displayName": "zrqjbcozwiuypjjnvy", + "state": "ljsixxmmcaq", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "ceksuyfiplxj", + "id": "ndjurplurnkguwfxx", + "name": "ofblltxwhwzhyr", + "displayName": "whxsvbrzdhqsepbocfzsfx", + "state": "wpur", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastTestFailoverJob": { + "scenarioName": "dfuovvz", + "id": "cta", + "name": "cedjijdtnznsnigghrxnsaz", + "displayName": "lhkjfbonwdtxckwzfebfwdyu", + "state": "nhbzw", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "egmhsfbgkarlobrgybkz", + "name": "t", + "type": "xlyjashandpfwivuipoplgkgsnwoh", + "systemData": { + "createdBy": "ghut", + "createdByType": "tzczp", + "createdAt": "2023-08-25T00:28:55.456Z", + "lastModifiedBy": "epo", + "lastModifiedByType": "ekzmwexhjttb", + "lastModifiedAt": "2023-08-25T00:28:55.456Z" + } + } + ], + "nextLink": "ij" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_PlannedFailover.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_PlannedFailover.json new file mode 100644 index 000000000000..0c24e49b7bdf --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "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/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_Get.json new file mode 100644 index 000000000000..e18dbdc04f9b --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_Get.json @@ -0,0 +1,36 @@ +{ + "title": "Gets the recovery point.", + "operationId": "RecoveryPoints_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "recoveryPointName": "1X", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "recoveryPointTime": "2023-08-25T00:28:56.403Z", + "recoveryPointType": "ApplicationConsistent", + "customProperties": { + "instanceType": "RecoveryPointModelCustomProperties" + } + }, + "id": "yrnzjckvljjffam", + "name": "mfnjlwvvfnrsllcyyeslxxcchhvld", + "type": "zoeadplqxtonvqgwfqmeblh", + "systemData": { + "createdBy": "nykpygxolffv", + "createdByType": "agdgovroryjiwioytnnps", + "createdAt": "2023-08-25T00:28:56.403Z", + "lastModifiedBy": "tipxxgz", + "lastModifiedByType": "v", + "lastModifiedAt": "2023-08-25T00:28:56.404Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_List.json new file mode 100644 index 000000000000..9e5776b86bf1 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_List.json @@ -0,0 +1,40 @@ +{ + "title": "Lists the recovery points.", + "operationId": "RecoveryPoints_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "recoveryPointTime": "2023-08-25T00:28:56.403Z", + "recoveryPointType": "ApplicationConsistent", + "customProperties": { + "instanceType": "RecoveryPointModelCustomProperties" + } + }, + "id": "yrnzjckvljjffam", + "name": "mfnjlwvvfnrsllcyyeslxxcchhvld", + "type": "zoeadplqxtonvqgwfqmeblh", + "systemData": { + "createdBy": "nykpygxolffv", + "createdByType": "agdgovroryjiwioytnnps", + "createdAt": "2023-08-25T00:28:56.403Z", + "lastModifiedBy": "tipxxgz", + "lastModifiedByType": "v", + "lastModifiedAt": "2023-08-25T00:28:56.404Z" + } + } + ], + "nextLink": "aukmvgug" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtensionOperationStatus_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtensionOperationStatus_Get.json new file mode 100644 index 000000000000..da821d8d8689 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "replicationExtensionName": "g16yjJ", + "operationId": "wqdqc", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "sf", + "name": "wzdasptnwlxgobklayoqapjcgcf", + "status": "plbnngzfppdram", + "startTime": "xuzwmfrhluafmwwsmzqxsytyehsh", + "endTime": "nauyrfh" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Create.json new file mode 100644 index 000000000000..6c2a94c4b01d --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Create.json @@ -0,0 +1,65 @@ +{ + "title": "Puts the replication extension.", + "operationId": "ReplicationExtension_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "replicationExtensionName": "g16yjJ", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "awu", + "name": "xvjffbiecsd", + "type": "miadbgilpheilzfoonveznybthgdwh", + "systemData": { + "createdBy": "lagtinqhksctfdxmfbpf", + "createdByType": "dsqllpglanwztdmisrknjtqz", + "createdAt": "2023-08-25T00:28:56.732Z", + "lastModifiedBy": "suwjpejlaya", + "lastModifiedByType": "nrfjuyghtbivwihr", + "lastModifiedAt": "2023-08-25T00:28:56.732Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "awu", + "name": "xvjffbiecsd", + "type": "miadbgilpheilzfoonveznybthgdwh", + "systemData": { + "createdBy": "lagtinqhksctfdxmfbpf", + "createdByType": "dsqllpglanwztdmisrknjtqz", + "createdAt": "2023-08-25T00:28:56.732Z", + "lastModifiedBy": "suwjpejlaya", + "lastModifiedByType": "nrfjuyghtbivwihr", + "lastModifiedAt": "2023-08-25T00:28:56.732Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Delete.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Delete.json new file mode 100644 index 000000000000..210512dc29a9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "replicationExtensionName": "g16yjJ", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Get.json new file mode 100644 index 000000000000..0ea505a0b4ab --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Get.json @@ -0,0 +1,34 @@ +{ + "title": "Gets the replication extension.", + "operationId": "ReplicationExtension_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "replicationExtensionName": "g16yjJ", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "awu", + "name": "xvjffbiecsd", + "type": "miadbgilpheilzfoonveznybthgdwh", + "systemData": { + "createdBy": "lagtinqhksctfdxmfbpf", + "createdByType": "dsqllpglanwztdmisrknjtqz", + "createdAt": "2023-08-25T00:28:56.732Z", + "lastModifiedBy": "suwjpejlaya", + "lastModifiedByType": "nrfjuyghtbivwihr", + "lastModifiedAt": "2023-08-25T00:28:56.732Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_List.json new file mode 100644 index 000000000000..2b7554e4e49d --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_List.json @@ -0,0 +1,38 @@ +{ + "title": "Lists the replication extensions.", + "operationId": "ReplicationExtension_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "awu", + "name": "xvjffbiecsd", + "type": "miadbgilpheilzfoonveznybthgdwh", + "systemData": { + "createdBy": "lagtinqhksctfdxmfbpf", + "createdByType": "dsqllpglanwztdmisrknjtqz", + "createdAt": "2023-08-25T00:28:56.732Z", + "lastModifiedBy": "suwjpejlaya", + "lastModifiedByType": "nrfjuyghtbivwihr", + "lastModifiedAt": "2023-08-25T00:28:56.732Z" + } + } + ], + "nextLink": "gcrxhxitgnzdzgoufgxouab" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/VaultOperationStatus_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/VaultOperationStatus_Get.json new file mode 100644 index 000000000000..7b61955d9059 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "operationId": "vsdvwe", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "sf", + "name": "wzdasptnwlxgobklayoqapjcgcf", + "status": "plbnngzfppdram", + "startTime": "xuzwmfrhluafmwwsmzqxsytyehsh", + "endTime": "nauyrfh" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Create.json new file mode 100644 index 000000000000..fe087cb3353a --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2021-02-16-preview", + "body": { + "location": "eck", + "properties": { + "vaultType": "DisasterRecovery" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + }, + "responses": { + "200": { + "body": { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "hbccseewgiagaxsjozxgwydjgy", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "hbccseewgiagaxsjozxgwydjgy", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Delete.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Delete.json new file mode 100644 index 000000000000..2b5645a6d695 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Get.json new file mode 100644 index 000000000000..1e51875cd118 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "hbccseewgiagaxsjozxgwydjgy", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_List.json new file mode 100644 index 000000000000..05fd5e88adc4 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "continuationToken": "mwculdaqndp", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "hbccseewgiagaxsjozxgwydjgy", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + ], + "nextLink": "bfjqkwhu" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_ListBySubscription.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_ListBySubscription.json new file mode 100644 index 000000000000..d21c62696952 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "continuationToken": "dqsjhseyugyexxrlrln", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "hbccseewgiagaxsjozxgwydjgy", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + ], + "nextLink": "bfjqkwhu" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Update.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Update.json new file mode 100644 index 000000000000..847fbcd37d05 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "vaultType": "DisasterRecovery" + }, + "tags": { + "key8872": "pvtc" + } + } + }, + "responses": { + "200": { + "body": { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "hbccseewgiagaxsjozxgwydjgy", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/WorkflowOperationStatus_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/WorkflowOperationStatus_Get.json new file mode 100644 index 000000000000..1cae93931d19 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/WorkflowOperationStatus_Get.json @@ -0,0 +1,23 @@ +{ + "title": "Gets the job (workflow) operation status.", + "operationId": "WorkflowOperationStatus_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "jobName": "ZGH4y", + "operationId": "wdqcxc", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "sf", + "name": "wzdasptnwlxgobklayoqapjcgcf", + "status": "plbnngzfppdram", + "startTime": "xuzwmfrhluafmwwsmzqxsytyehsh", + "endTime": "nauyrfh" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_Get.json new file mode 100644 index 000000000000..394092b5a7d9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_Get.json @@ -0,0 +1,75 @@ +{ + "title": "Gets the job (workflow).", + "operationId": "Workflow_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "jobName": "ZGH4y", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "dhopzytkd", + "state": "Pending", + "startTime": "2023-08-25T00:28:59.269Z", + "endTime": "2023-08-25T00:28:59.269Z", + "objectId": "wvtmwiyxqrpqvljzn", + "objectName": "ieieqaw", + "objectInternalId": "ahbtlwmbeivmlbj", + "objectInternalName": "mxikyrinkeyj", + "objectType": "AvsDiskPool", + "replicationProviderId": "ghxsbnvdkx", + "sourceFabricProviderId": "yqlertkmzdsgsplzgkmwcttsiagsa", + "targetFabricProviderId": "stjlmqzpgnrug", + "allowedActions": [ + "mfsyvxzgmcpgdzfbbhoxrzhya" + ], + "activityId": "esjvxsa", + "tasks": [ + { + "taskName": "flkzfbbpngqbbjsdqysqfon", + "state": "Pending", + "startTime": "2023-08-25T00:28:59.269Z", + "endTime": "2023-08-25T00:28:59.269Z", + "customProperties": { + "instanceType": "aaqgqvnhskxpsbnrdekxaghweon" + }, + "childrenWorkflows": [] + } + ], + "errors": [ + { + "code": "ndcxzieiuwoxoklilcvjmglml", + "type": "iyktxohrtrkshbjdhboscsu", + "severity": "ldgmfmbzmjtqjg", + "creationTime": "2023-08-25T00:28:59.269Z", + "message": "ltuufmxomfecqeyvzrfjqlelytkdwr", + "causes": "iffxig", + "recommendation": "brridkskflo" + } + ], + "customProperties": { + "instanceType": "WorkflowModelCustomProperties", + "affectedObjectDetails": { + "key7245": "yllr" + } + } + }, + "id": "zsyhbwznbkaia", + "name": "ukii", + "type": "cswros", + "systemData": { + "createdBy": "jurgsdagntjg", + "createdByType": "zowfl", + "createdAt": "2023-08-25T00:28:59.270Z", + "lastModifiedBy": "vuw", + "lastModifiedByType": "h", + "lastModifiedAt": "2023-08-25T00:28:59.270Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_List.json new file mode 100644 index 000000000000..4874b168f80c --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_List.json @@ -0,0 +1,81 @@ +{ + "title": "Lists the jobs (workflows).", + "operationId": "Workflow_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "$filter": "mnebpgmjcitjleipnttx", + "continuationToken": "rdavrzbethhslmkqgajontnxsue", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "displayName": "dhopzytkd", + "state": "Pending", + "startTime": "2023-08-25T00:28:59.269Z", + "endTime": "2023-08-25T00:28:59.269Z", + "objectId": "wvtmwiyxqrpqvljzn", + "objectName": "ieieqaw", + "objectInternalId": "ahbtlwmbeivmlbj", + "objectInternalName": "mxikyrinkeyj", + "objectType": "AvsDiskPool", + "replicationProviderId": "ghxsbnvdkx", + "sourceFabricProviderId": "yqlertkmzdsgsplzgkmwcttsiagsa", + "targetFabricProviderId": "stjlmqzpgnrug", + "allowedActions": [ + "mfsyvxzgmcpgdzfbbhoxrzhya" + ], + "activityId": "esjvxsa", + "tasks": [ + { + "taskName": "flkzfbbpngqbbjsdqysqfon", + "state": "Pending", + "startTime": "2023-08-25T00:28:59.269Z", + "endTime": "2023-08-25T00:28:59.269Z", + "customProperties": { + "instanceType": "aaqgqvnhskxpsbnrdekxaghweon" + }, + "childrenWorkflows": [] + } + ], + "errors": [ + { + "code": "ndcxzieiuwoxoklilcvjmglml", + "type": "iyktxohrtrkshbjdhboscsu", + "severity": "ldgmfmbzmjtqjg", + "creationTime": "2023-08-25T00:28:59.269Z", + "message": "ltuufmxomfecqeyvzrfjqlelytkdwr", + "causes": "iffxig", + "recommendation": "brridkskflo" + } + ], + "customProperties": { + "instanceType": "WorkflowModelCustomProperties", + "affectedObjectDetails": { + "key7245": "yllr" + } + } + }, + "id": "zsyhbwznbkaia", + "name": "ukii", + "type": "cswros", + "systemData": { + "createdBy": "jurgsdagntjg", + "createdByType": "zowfl", + "createdAt": "2023-08-25T00:28:59.270Z", + "lastModifiedBy": "vuw", + "lastModifiedByType": "h", + "lastModifiedAt": "2023-08-25T00:28:59.270Z" + } + } + ], + "nextLink": "yyefqrturowfkjbbhzkcdyw" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/recoveryservicesdatareplication.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/recoveryservicesdatareplication.json new file mode 100644 index 000000000000..afb284fbcc5f --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/recoveryservicesdatareplication.json @@ -0,0 +1,6567 @@ +{ + "swagger": "2.0", + "info": { + "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" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}/fabricAgents/{fabricAgentName}": { + "get": { + "tags": [ + "Dra" + ], + "summary": "Gets the fabric agent (Dra).", + "description": "Gets the details of the fabric agent.", + "operationId": "Dra_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/FabricNameParameter" + }, + { + "$ref": "#/parameters/FabricAgentNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Dra Model on success.", + "schema": { + "$ref": "#/definitions/DraModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Dra_Get": { + "$ref": "./examples/Dra_Get.json" + } + } + }, + "put": { + "tags": [ + "Dra" + ], + "summary": "Puts the fabric agent (Dra).", + "description": "Creates the fabric agent.", + "operationId": "Dra_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/FabricNameParameter" + }, + { + "$ref": "#/parameters/FabricAgentNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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 fabric agent (Dra).", + "description": "Deletes the fabric agent.", + "operationId": "Dra_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/FabricNameParameter" + }, + { + "$ref": "#/parameters/FabricAgentNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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 fabric agents (Dras).", + "description": "Gets the list of fabric agents in the given fabric.", + "operationId": "Dra_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/FabricNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Dra Model Collection on success.", + "schema": { + "$ref": "#/definitions/DraModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/{fabricAgentName}/operations/{operationId}": { + "get": { + "tags": [ + "Dra" + ], + "summary": "Gets the fabric agent (Dra) operation status.", + "description": "Tracks the results of an asynchronous operation on the fabric agent.", + "operationId": "DraOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/FabricNameParameter" + }, + { + "$ref": "#/parameters/FabricAgentNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/OperationIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/EmailConfigurationNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns EmailConfiguration Model on success.", + "schema": { + "$ref": "#/definitions/EmailConfigurationModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/EmailConfigurationNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns EmailConfiguration Model Collection on success.", + "schema": { + "$ref": "#/definitions/EmailConfigurationModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/EventNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Event Model on success.", + "schema": { + "$ref": "#/definitions/EventModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "in": "query", + "name": "$filter", + "description": "Filter string.", + "type": "string" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token.", + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Event Model Collection on success.", + "schema": { + "$ref": "#/definitions/EventModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/FabricNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Fabric Model on success.", + "schema": { + "$ref": "#/definitions/FabricModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/FabricNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/FabricNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/FabricNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token from the previous call.", + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Fabric Model Collection on success.", + "schema": { + "$ref": "#/definitions/FabricModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token from the previous call.", + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Fabric Model Collection on success.", + "schema": { + "$ref": "#/definitions/FabricModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/FabricNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/OperationIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/PolicyNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Policy Model on success.", + "schema": { + "$ref": "#/definitions/PolicyModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/PolicyNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/PolicyNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Policy Model Collection on success.", + "schema": { + "$ref": "#/definitions/PolicyModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/PolicyNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/OperationIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/ProtectedItemNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns ProtectedItem Model on success.", + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/ProtectedItemNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/ProtectedItemNameParameter" + }, + { + "in": "query", + "name": "forceDelete", + "description": "A flag indicating whether to do force delete or not.", + "type": "boolean" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns ProtectedItem Model Collection on success.", + "schema": { + "$ref": "#/definitions/ProtectedItemModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/ProtectedItemNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/ProtectedItemNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/OperationIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/ProtectedItemNameParameter" + }, + { + "$ref": "#/parameters/RecoveryPointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/RecoveryPointModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/ProtectedItemNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/RecoveryPointModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/ReplicationExtensionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Replication extension Model on success.", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/ReplicationExtensionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/ReplicationExtensionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Replication extension Model Collection on success.", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/ReplicationExtensionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/OperationIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "deploymentId", + "description": "Deployment Id.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Vault Model on success.", + "schema": { + "$ref": "#/definitions/VaultModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token from the previous call.", + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Vault Model Collection on success.", + "schema": { + "$ref": "#/definitions/VaultModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token from the previous call.", + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Vault Model Collection on success.", + "schema": { + "$ref": "#/definitions/VaultModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/OperationIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VaultOperationStatus_Get": { + "$ref": "./examples/VaultOperationStatus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/jobs/{jobName}": { + "get": { + "tags": [ + "Workflow" + ], + "summary": "Gets the job (workflow).", + "description": "Gets the details of the job.", + "operationId": "Workflow_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/JobNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Workflow Model on success.", + "schema": { + "$ref": "#/definitions/WorkflowModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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 jobs (workflows).", + "description": "Gets the list of jobs in the given vault.", + "operationId": "Workflow_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "in": "query", + "name": "$filter", + "description": "Filter string.", + "type": "string" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token.", + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Workflow Model Collection on success.", + "schema": { + "$ref": "#/definitions/WorkflowModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/{jobName}/operations/{operationId}": { + "get": { + "tags": [ + "Workflow" + ], + "summary": "Gets the job (workflow) operation status.", + "description": "Tracks the results of an asynchronous operation on the job.", + "operationId": "WorkflowOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VaultNameParameter" + }, + { + "$ref": "#/parameters/JobNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/OperationIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkflowOperationStatus_Get": { + "$ref": "./examples/WorkflowOperationStatus_Get.json" + } + } + } + } + }, + "definitions": { + "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 + } + }, + "x-ms-discriminator-value": "AzStackHCI" + }, + "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 + } + }, + "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 + } + }, + "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 + } + } + }, + "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" + ] + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "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 + } + }, + "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": { + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "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 + } + }, + "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": [] + } + }, + "x-ms-discriminator-value": "FailoverWorkflowDetails" + }, + "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 + } + }, + "x-ms-discriminator-value": "HyperVMigrate" + }, + "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 + } + }, + "x-ms-discriminator-value": "HyperVToAzStackHCI" + }, + "HyperVToAzStackHCINicInput": { + "description": "HyperVToAzStackHCI NIC properties.", + "required": [ + "nicId", + "selectionTypeForFailover", + "targetNetworkId", + "testNetworkId" + ], + "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.", + "minLength": 1, + "type": "string" + }, + "testNetworkId": { + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "minLength": 1, + "type": "string" + }, + "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" + } + }, + "x-ms-discriminator-value": "HyperVToAzStackHCI" + }, + "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" + } + }, + "x-ms-discriminator-value": "HyperVToAzStackHCI" + }, + "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 + } + }, + "x-ms-discriminator-value": "HyperVToAzStackHCI" + }, + "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 + } + }, + "x-ms-discriminator-value": "HyperVToAzStackHCI" + }, + "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 + } + }, + "x-ms-discriminator-value": "HyperVToAzStackHCI" + }, + "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" + } + } + }, + "OperationModelCollection": { + "description": "Available operations of the service.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of operations.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "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 + } + }, + "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.", + "required": [ + "maximumMemoryInMegaBytes", + "minimumMemoryInMegaBytes", + "targetMemoryBufferPercentage" + ], + "type": "object", + "properties": { + "maximumMemoryInMegaBytes": { + "format": "int64", + "description": "Gets or sets maximum memory in MB.", + "type": "integer" + }, + "minimumMemoryInMegaBytes": { + "format": "int64", + "description": "Gets or sets minimum memory in MB.", + "type": "integer" + }, + "targetMemoryBufferPercentage": { + "format": "int32", + "description": "Gets or sets target memory buffer in %.", + "type": "integer" + } + } + }, + "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 + } + }, + "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 + } + } + }, + "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 + } + }, + "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 + } + }, + "x-ms-discriminator-value": "TestFailoverCleanupWorkflowDetails" + }, + "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": [] + } + }, + "x-ms-discriminator-value": "TestFailoverWorkflowDetails" + }, + "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" + } + }, + "x-ms-discriminator-value": "VMware" + }, + "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" + } + }, + "x-ms-discriminator-value": "VMwareMigrate" + }, + "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", + "targetNetworkId", + "testNetworkId" + ], + "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.", + "minLength": 1, + "type": "string" + }, + "testNetworkId": { + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "minLength": 1, + "type": "string" + }, + "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" + } + }, + "x-ms-discriminator-value": "VMwareToAzStackHCI" + }, + "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" + } + }, + "x-ms-discriminator-value": "VMwareToAzStackHCI" + }, + "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 + } + }, + "x-ms-discriminator-value": "VMwareToAzStackHCI" + }, + "VMwareToAzStackHCIProtectedNicProperties": { + "description": "VMwareToAzStackHCI 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 + }, + "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 + } + } + } + }, + "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 + } + }, + "x-ms-discriminator-value": "VMwareToAzStackHCI" + }, + "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" + ] + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "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 + } + }, + "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" + } + } + }, + "VaultModelProperties": { + "description": "Vault properties.", + "type": "object", + "properties": { + "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", + "x-ms-enum": { + "name": "ReplicationVaultType", + "modelAsString": true + } + } + } + }, + "VaultModelUpdate": { + "description": "Vault model for update.", + "type": "object", + "properties": { + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "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 + } + }, + "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 + } + }, + "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" + } + } + }, + "WorkflowModelCustomProperties": { + "description": "Workflow model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "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 + }, + "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 + }, + "allowedActions": { + "description": "Gets or sets the list of allowed actions on the workflow.", + "type": "array", + "items": { + "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": { + "FabricNameParameter": { + "in": "path", + "name": "fabricName", + "description": "The fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "FabricAgentNameParameter": { + "in": "path", + "name": "fabricAgentName", + "description": "The fabric agent (Dra) name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "VaultNameParameter": { + "in": "path", + "name": "vaultName", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "PolicyNameParameter": { + "in": "path", + "name": "policyName", + "description": "The policy name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "ProtectedItemNameParameter": { + "in": "path", + "name": "protectedItemName", + "description": "The protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "ReplicationExtensionNameParameter": { + "in": "path", + "name": "replicationExtensionName", + "description": "The replication extension name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "JobNameParameter": { + "in": "path", + "name": "jobName", + "description": "The job (workflow) name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "EmailConfigurationNameParameter": { + "in": "path", + "name": "emailConfigurationName", + "description": "The email configuration name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "EventNameParameter": { + "in": "path", + "name": "eventName", + "description": "The event name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "RecoveryPointNameParameter": { + "in": "path", + "name": "recoveryPointName", + "description": "The recovery point name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "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": "Data replication agent (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/recoveryservicesdatareplication/resource-manager/readme.az.md b/specification/recoveryservicesdatareplication/resource-manager/readme.az.md new file mode 100644 index 000000000000..7c212e64fdc2 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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: recoveryservicesdatareplication + namespace: azure.mgmt.recoveryservicesdatareplication + package-name: azure-mgmt-recoveryservicesdatareplication +az-output-folder: $(azure-cli-extension-folder)/src/recoveryservicesdatareplication +python-sdk-output-folder: "$(az-output-folder)/azext_recoveryservicesdatareplication/vendored_sdks/recoveryservicesdatareplication" +# 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: recoveryservicesdatareplication + namespace: azure.mgmt.recoveryservicesdatareplication + package-name: azure-mgmt-recoveryservicesdatareplication +az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/recoveryservicesdatareplication +python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/recoveryservicesdatareplication" +``` \ No newline at end of file diff --git a/specification/recoveryservicesdatareplication/resource-manager/readme.cli.md b/specification/recoveryservicesdatareplication/resource-manager/readme.cli.md new file mode 100644 index 000000000000..c6cf6ad37ea4 --- /dev/null +++ b/specification/recoveryservicesdatareplication/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/recoveryservicesdatareplication/resource-manager/readme.csharp.md b/specification/recoveryservicesdatareplication/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..e17637500e5f --- /dev/null +++ b/specification/recoveryservicesdatareplication/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)/recoveryservicesdatareplication/management/Microsoft.DataReplication/GeneratedProtocol +``` diff --git a/specification/recoveryservicesdatareplication/resource-manager/readme.go.md b/specification/recoveryservicesdatareplication/resource-manager/readme.go.md new file mode 100644 index 000000000000..de2b2090fbde --- /dev/null +++ b/specification/recoveryservicesdatareplication/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/recoveryservicesdatareplication/armrecoveryservicesdatareplication +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +``` diff --git a/specification/recoveryservicesdatareplication/resource-manager/readme.md b/specification/recoveryservicesdatareplication/resource-manager/readme.md new file mode 100644 index 000000000000..9c291b98b92c --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/readme.md @@ -0,0 +1,78 @@ +# recoveryservicesdatareplication + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for recoveryservicesdatareplication. + +## 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 recoveryservicesdatareplication. + +```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/recoveryservicesdatareplication.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-sdk-for-net-track2 +``` +## 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/recoveryservicesdatareplication/resource-manager/readme.python.md b/specification/recoveryservicesdatareplication/resource-manager/readme.python.md new file mode 100644 index 000000000000..0cf1de169d1e --- /dev/null +++ b/specification/recoveryservicesdatareplication/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-recoveryservicesdatareplication +namespace: azure.mgmt.recoveryservicesdatareplication +package-version: 1.0.0b1 +clear-output-folder: true +``` + +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/recoveryservicesdatareplication/azure-mgmt-recoveryservicesdatareplication/azure/mgmt/recoveryservicesdatareplication +``` diff --git a/specification/recoveryservicesdatareplication/resource-manager/readme.typescript.md b/specification/recoveryservicesdatareplication/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..ed5b9da5f7da --- /dev/null +++ b/specification/recoveryservicesdatareplication/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-recoveryservicesdatareplication" + output-folder: "$(typescript-sdks-folder)/sdk/recoveryservicesdatareplication/arm-recoveryservicesdatareplication" + payload-flattening-threshold: 1 + clear-output-folder: true + generate-metadata: true +```