diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/CheckNameAvailability.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/CheckNameAvailability.json new file mode 100644 index 000000000000..655089902daf --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/CheckNameAvailability.json @@ -0,0 +1,22 @@ +{ + "title": "Performs the resource name availability check.", + "operationId": "CheckNameAvailability", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "location": "jghfowal", + "api-version": "2021-02-16-preview", + "body": { + "name": "zxnaadmaqvix", + "type": "enpnroh" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true, + "reason": "zp", + "message": "epvdwcxjeuil" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DeploymentPreflight.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DeploymentPreflight.json new file mode 100644 index 000000000000..ca3287051b75 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DeploymentPreflight.json @@ -0,0 +1,34 @@ +{ + "title": "Performs resource deployment validation.", + "operationId": "DeploymentPreflight", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "deploymentId": "dumaytcxthufozasxtpflvrynpva", + "api-version": "2021-02-16-preview", + "body": { + "resources": [ + { + "name": "flhdriwkbrcnmxxhbhrjdixvunb", + "type": "ldgmwdqqwpgf", + "location": "scovjrsmyenvrgzakjvlvwy", + "apiVersion": "kbtx" + } + ] + } + }, + "responses": { + "200": { + "body": { + "resources": [ + { + "name": "flhdriwkbrcnmxxhbhrjdixvunb", + "type": "ldgmwdqqwpgf", + "location": "scovjrsmyenvrgzakjvlvwy", + "apiVersion": "kbtx" + } + ] + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DraOperationStatus_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DraOperationStatus_Get.json new file mode 100644 index 000000000000..fbb50fbeefc2 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DraOperationStatus_Get.json @@ -0,0 +1,23 @@ +{ + "title": "Gets the Dra operation status.", + "operationId": "DraOperationStatus_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "fabricName": "uB", + "draName": "5O59", + "operationId": "qejhkmdzimolzfkmhrc", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "bvgjisstxwwyvdjerelfmkcfdtubs", + "name": "wvslpgcujlmdvniseoaxvgxtw", + "status": "itm", + "startTime": "elwimc", + "endTime": "svjjwjwygxojwrtqsslovag" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Create.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Create.json new file mode 100644 index 000000000000..f7034cf42629 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Create.json @@ -0,0 +1,198 @@ +{ + "title": "Puts the Dra.", + "operationId": "Dra_Create", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "fabricName": "9OPI", + "draName": "p", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "machineId": "wbxmsvwdtvmxvutjzgkupbmhct", + "machineName": "iwvvotcpmqvclxxuyo", + "authenticationIdentity": { + "tenantId": "ojwadtjgwqzsb", + "applicationId": "qvexkcnwe", + "objectId": "mkdtimw", + "audience": "k", + "aadAuthority": "mjaxt" + }, + "resourceAccessIdentity": { + "tenantId": "ojwadtjgwqzsb", + "applicationId": "qvexkcnwe", + "objectId": "mkdtimw", + "audience": "k", + "aadAuthority": "mjaxt" + }, + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + }, + "tags": { + "key6281": "fkavcocwmfrlmgjizawuh" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "correlationId": "ovafwhadzleippfhskzd", + "machineId": "wbxmsvwdtvmxvutjzgkupbmhct", + "machineName": "iwvvotcpmqvclxxuyo", + "authenticationIdentity": { + "tenantId": "ojwadtjgwqzsb", + "applicationId": "qvexkcnwe", + "objectId": "mkdtimw", + "audience": "k", + "aadAuthority": "mjaxt" + }, + "resourceAccessIdentity": { + "tenantId": "ojwadtjgwqzsb", + "applicationId": "qvexkcnwe", + "objectId": "mkdtimw", + "audience": "k", + "aadAuthority": "mjaxt" + }, + "isResponsive": true, + "lastHeartbeat": "2023-07-17T23:57:55.961Z", + "versionNumber": "tsbqdniapqxuenpvamsacdjuvmtk", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + }, + "id": "hfiakhg", + "name": "vcndgdosqjzdzpuunvezivyjkafp", + "type": "baorzaukoubnoqkkehtjftb", + "systemData": { + "createdBy": "vwb", + "createdByType": "qyjnzjhaj", + "createdAt": "2023-07-17T23:57:55.962Z", + "lastModifiedBy": "jutsoepbqtiguzbpulkqqxdx", + "lastModifiedByType": "qtwqllvznmnnmjezanyw", + "lastModifiedAt": "2023-07-17T23:57:55.962Z" + }, + "tags": { + "key6281": "fkavcocwmfrlmgjizawuh" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "correlationId": "ovafwhadzleippfhskzd", + "machineId": "wbxmsvwdtvmxvutjzgkupbmhct", + "machineName": "iwvvotcpmqvclxxuyo", + "authenticationIdentity": { + "tenantId": "ojwadtjgwqzsb", + "applicationId": "qvexkcnwe", + "objectId": "mkdtimw", + "audience": "k", + "aadAuthority": "mjaxt" + }, + "resourceAccessIdentity": { + "tenantId": "ojwadtjgwqzsb", + "applicationId": "qvexkcnwe", + "objectId": "mkdtimw", + "audience": "k", + "aadAuthority": "mjaxt" + }, + "isResponsive": true, + "lastHeartbeat": "2023-07-17T23:57:55.961Z", + "versionNumber": "tsbqdniapqxuenpvamsacdjuvmtk", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + }, + "id": "hfiakhg", + "name": "vcndgdosqjzdzpuunvezivyjkafp", + "type": "baorzaukoubnoqkkehtjftb", + "systemData": { + "createdBy": "vwb", + "createdByType": "qyjnzjhaj", + "createdAt": "2023-07-17T23:57:55.962Z", + "lastModifiedBy": "jutsoepbqtiguzbpulkqqxdx", + "lastModifiedByType": "qtwqllvznmnnmjezanyw", + "lastModifiedAt": "2023-07-17T23:57:55.962Z" + }, + "tags": { + "key6281": "fkavcocwmfrlmgjizawuh" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Delete.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Delete.json new file mode 100644 index 000000000000..e65ea32cee35 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the Dra.", + "operationId": "Dra_Delete", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "fabricName": "2IV2", + "draName": "dfsfas", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Get.json new file mode 100644 index 000000000000..662ac17bab5e --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Get.json @@ -0,0 +1,91 @@ +{ + "title": "Gets the Dra.", + "operationId": "Dra_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "fabricName": "F7O", + "draName": "E", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "correlationId": "ovafwhadzleippfhskzd", + "machineId": "wbxmsvwdtvmxvutjzgkupbmhct", + "machineName": "iwvvotcpmqvclxxuyo", + "authenticationIdentity": { + "tenantId": "ojwadtjgwqzsb", + "applicationId": "qvexkcnwe", + "objectId": "mkdtimw", + "audience": "k", + "aadAuthority": "mjaxt" + }, + "resourceAccessIdentity": { + "tenantId": "ojwadtjgwqzsb", + "applicationId": "qvexkcnwe", + "objectId": "mkdtimw", + "audience": "k", + "aadAuthority": "mjaxt" + }, + "isResponsive": true, + "lastHeartbeat": "2023-07-17T23:57:55.961Z", + "versionNumber": "tsbqdniapqxuenpvamsacdjuvmtk", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + }, + "id": "hfiakhg", + "name": "vcndgdosqjzdzpuunvezivyjkafp", + "type": "baorzaukoubnoqkkehtjftb", + "systemData": { + "createdBy": "vwb", + "createdByType": "qyjnzjhaj", + "createdAt": "2023-07-17T23:57:55.962Z", + "lastModifiedBy": "jutsoepbqtiguzbpulkqqxdx", + "lastModifiedByType": "qtwqllvznmnnmjezanyw", + "lastModifiedAt": "2023-07-17T23:57:55.962Z" + }, + "tags": { + "key6281": "fkavcocwmfrlmgjizawuh" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_List.json new file mode 100644 index 000000000000..c7b3f37b9bb6 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_List.json @@ -0,0 +1,95 @@ +{ + "title": "Lists the Dras.", + "operationId": "Dra_List", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "fabricName": "S6X", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "correlationId": "ovafwhadzleippfhskzd", + "machineId": "wbxmsvwdtvmxvutjzgkupbmhct", + "machineName": "iwvvotcpmqvclxxuyo", + "authenticationIdentity": { + "tenantId": "ojwadtjgwqzsb", + "applicationId": "qvexkcnwe", + "objectId": "mkdtimw", + "audience": "k", + "aadAuthority": "mjaxt" + }, + "resourceAccessIdentity": { + "tenantId": "ojwadtjgwqzsb", + "applicationId": "qvexkcnwe", + "objectId": "mkdtimw", + "audience": "k", + "aadAuthority": "mjaxt" + }, + "isResponsive": true, + "lastHeartbeat": "2023-07-17T23:57:55.961Z", + "versionNumber": "tsbqdniapqxuenpvamsacdjuvmtk", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "DraModelCustomProperties" + } + }, + "id": "hfiakhg", + "name": "vcndgdosqjzdzpuunvezivyjkafp", + "type": "baorzaukoubnoqkkehtjftb", + "systemData": { + "createdBy": "vwb", + "createdByType": "qyjnzjhaj", + "createdAt": "2023-07-17T23:57:55.962Z", + "lastModifiedBy": "jutsoepbqtiguzbpulkqqxdx", + "lastModifiedByType": "qtwqllvznmnnmjezanyw", + "lastModifiedAt": "2023-07-17T23:57:55.962Z" + }, + "tags": { + "key6281": "fkavcocwmfrlmgjizawuh" + } + } + ], + "nextLink": "jnffiikqycprcdbceihdyamopsnc" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Create.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Create.json new file mode 100644 index 000000000000..3c3c6d9a66b0 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Create.json @@ -0,0 +1,75 @@ +{ + "title": "Creates email configuration settings.", + "operationId": "EmailConfiguration_Create", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "asdav", + "emailConfigurationName": "WV", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "t" + ], + "locale": "qhtkqfjgmuzyveurzerdaenpbbrffl" + }, + "tags": { + "key2813": "xte" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "t" + ], + "locale": "qhtkqfjgmuzyveurzerdaenpbbrffl" + }, + "id": "tnfejfmpr", + "name": "wcwbzpouiafbzbetnqyhlumdro", + "type": "cyylt", + "systemData": { + "createdBy": "yykiqedhxxjvilzrapeskasvzz", + "createdByType": "icnretpfu", + "createdAt": "2023-07-17T23:57:56.805Z", + "lastModifiedBy": "hxygd", + "lastModifiedByType": "iopsxyhkxrevwd", + "lastModifiedAt": "2023-07-17T23:57:56.805Z" + }, + "tags": { + "key2813": "xte" + } + } + }, + "201": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "t" + ], + "locale": "qhtkqfjgmuzyveurzerdaenpbbrffl" + }, + "id": "tnfejfmpr", + "name": "wcwbzpouiafbzbetnqyhlumdro", + "type": "cyylt", + "systemData": { + "createdBy": "yykiqedhxxjvilzrapeskasvzz", + "createdByType": "icnretpfu", + "createdAt": "2023-07-17T23:57:56.805Z", + "lastModifiedBy": "hxygd", + "lastModifiedByType": "iopsxyhkxrevwd", + "lastModifiedAt": "2023-07-17T23:57:56.805Z" + }, + "tags": { + "key2813": "xte" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Get.json new file mode 100644 index 000000000000..5c82d5ad9c11 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Gets the email configuration setting.", + "operationId": "EmailConfiguration_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "sdafqw", + "emailConfigurationName": "ccaewf", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "t" + ], + "locale": "qhtkqfjgmuzyveurzerdaenpbbrffl" + }, + "id": "tnfejfmpr", + "name": "wcwbzpouiafbzbetnqyhlumdro", + "type": "cyylt", + "systemData": { + "createdBy": "yykiqedhxxjvilzrapeskasvzz", + "createdByType": "icnretpfu", + "createdAt": "2023-07-17T23:57:56.805Z", + "lastModifiedBy": "hxygd", + "lastModifiedByType": "iopsxyhkxrevwd", + "lastModifiedAt": "2023-07-17T23:57:56.805Z" + }, + "tags": { + "key2813": "xte" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_List.json new file mode 100644 index 000000000000..619de598c562 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_List.json @@ -0,0 +1,42 @@ +{ + "title": "Lists the email configuration settings.", + "operationId": "EmailConfiguration_List", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "3KaJ", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "t" + ], + "locale": "qhtkqfjgmuzyveurzerdaenpbbrffl" + }, + "id": "tnfejfmpr", + "name": "wcwbzpouiafbzbetnqyhlumdro", + "type": "cyylt", + "systemData": { + "createdBy": "yykiqedhxxjvilzrapeskasvzz", + "createdByType": "icnretpfu", + "createdAt": "2023-07-17T23:57:56.805Z", + "lastModifiedBy": "hxygd", + "lastModifiedByType": "iopsxyhkxrevwd", + "lastModifiedAt": "2023-07-17T23:57:56.805Z" + }, + "tags": { + "key2813": "xte" + } + } + ], + "nextLink": "v" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Update.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Update.json new file mode 100644 index 000000000000..d74c9308e811 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Update.json @@ -0,0 +1,50 @@ +{ + "title": "Updates email configuration settings.", + "operationId": "EmailConfiguration_Update", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "s", + "emailConfigurationName": "Jp", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "t" + ], + "locale": "qhtkqfjgmuzyveurzerdaenpbbrffl" + }, + "tags": { + "key4137": "ubdnniwdwoi" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "t" + ], + "locale": "qhtkqfjgmuzyveurzerdaenpbbrffl" + }, + "id": "tnfejfmpr", + "name": "wcwbzpouiafbzbetnqyhlumdro", + "type": "cyylt", + "systemData": { + "createdBy": "yykiqedhxxjvilzrapeskasvzz", + "createdByType": "icnretpfu", + "createdAt": "2023-07-17T23:57:56.805Z", + "lastModifiedBy": "hxygd", + "lastModifiedByType": "iopsxyhkxrevwd", + "lastModifiedAt": "2023-07-17T23:57:56.805Z" + }, + "tags": { + "key2813": "xte" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_Get.json new file mode 100644 index 000000000000..eb0b7ef1a010 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_Get.json @@ -0,0 +1,78 @@ +{ + "title": "Gets the event.", + "operationId": "Event_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "GZ50", + "eventName": "M", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceType": "qegdqenourqhmzqkmniadskjhhwj", + "resourceName": "lslpflwoewmyxsdgmnz", + "eventType": "jelqvddq", + "eventName": "dqmnhqvyigjdqbrhkbciyqlow", + "timeOfOccurrence": "2023-07-17T23:57:57.334Z", + "severity": "fxma", + "description": "cnp", + "correlationId": "mcofpcszmeb", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "EventModelCustomProperties" + } + }, + "id": "lfxhqczftleuqkcbexdaojbf", + "name": "yzvc", + "type": "udsuaiymqyuwctcxeshvtrfcz", + "systemData": { + "createdBy": "ndtduuodjn", + "createdByType": "hdbqymnhkajqbpspiwss", + "createdAt": "2023-07-17T23:57:57.334Z", + "lastModifiedBy": "onwsvqaxajzradvhqy", + "lastModifiedByType": "hdhvkqosskgwdfsxlwccsiwidj", + "lastModifiedAt": "2023-07-17T23:57:57.334Z" + }, + "tags": { + "key6662": "ifpeiywybqhba" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_List.json new file mode 100644 index 000000000000..ace5ed52a31a --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_List.json @@ -0,0 +1,84 @@ +{ + "title": "Lists the events.", + "operationId": "Event_List", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "3", + "$filter": "tkszrq", + "continuationToken": "azes", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "resourceType": "qegdqenourqhmzqkmniadskjhhwj", + "resourceName": "lslpflwoewmyxsdgmnz", + "eventType": "jelqvddq", + "eventName": "dqmnhqvyigjdqbrhkbciyqlow", + "timeOfOccurrence": "2023-07-17T23:57:57.334Z", + "severity": "fxma", + "description": "cnp", + "correlationId": "mcofpcszmeb", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "EventModelCustomProperties" + } + }, + "id": "lfxhqczftleuqkcbexdaojbf", + "name": "yzvc", + "type": "udsuaiymqyuwctcxeshvtrfcz", + "systemData": { + "createdBy": "ndtduuodjn", + "createdByType": "hdbqymnhkajqbpspiwss", + "createdAt": "2023-07-17T23:57:57.334Z", + "lastModifiedBy": "onwsvqaxajzradvhqy", + "lastModifiedByType": "hdhvkqosskgwdfsxlwccsiwidj", + "lastModifiedAt": "2023-07-17T23:57:57.334Z" + }, + "tags": { + "key6662": "ifpeiywybqhba" + } + } + ], + "nextLink": "wbxnejwjvmdnjsmjheoknu" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/FabricOperationsStatus_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/FabricOperationsStatus_Get.json new file mode 100644 index 000000000000..c5e6dc573c51 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/FabricOperationsStatus_Get.json @@ -0,0 +1,22 @@ +{ + "title": "Gets the fabric operation status.", + "operationId": "FabricOperationsStatus_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "fabricName": "u1Jq", + "operationId": "zfu", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "bvgjisstxwwyvdjerelfmkcfdtubs", + "name": "wvslpgcujlmdvniseoaxvgxtw", + "status": "itm", + "startTime": "elwimc", + "endTime": "svjjwjwygxojwrtqsslovag" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Create.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Create.json new file mode 100644 index 000000000000..a3a97d842108 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Create.json @@ -0,0 +1,150 @@ +{ + "title": "Puts the fabric.", + "operationId": "Fabric_Create", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "fabricName": "7", + "api-version": "2021-02-16-preview", + "body": { + "location": "yxjhhxycbmr", + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "tags": { + "key3179": "cbjueysdelabfx" + } + } + }, + "responses": { + "200": { + "body": { + "location": "yxjhhxycbmr", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "t", + "serviceResourceId": "bcbch", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "fomxmdpyawvzilwxkjznvfayuhiuv", + "name": "edgkoai", + "type": "hminnvsndw", + "systemData": { + "createdBy": "sufwvncetltycfkfwk", + "createdByType": "hfjksoktnne", + "createdAt": "2023-07-17T23:57:57.610Z", + "lastModifiedBy": "wngnzapgxtszkzuhdsbvsesbewi", + "lastModifiedByType": "aefsbshnzuvpzaczfqmjxlaaf", + "lastModifiedAt": "2023-07-17T23:57:57.610Z" + }, + "tags": { + "key3179": "cbjueysdelabfx" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "location": "yxjhhxycbmr", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "t", + "serviceResourceId": "bcbch", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "fomxmdpyawvzilwxkjznvfayuhiuv", + "name": "edgkoai", + "type": "hminnvsndw", + "systemData": { + "createdBy": "sufwvncetltycfkfwk", + "createdByType": "hfjksoktnne", + "createdAt": "2023-07-17T23:57:57.610Z", + "lastModifiedBy": "wngnzapgxtszkzuhdsbvsesbewi", + "lastModifiedByType": "aefsbshnzuvpzaczfqmjxlaaf", + "lastModifiedAt": "2023-07-17T23:57:57.610Z" + }, + "tags": { + "key3179": "cbjueysdelabfx" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Delete.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Delete.json new file mode 100644 index 000000000000..e2e4ba730138 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "Deletes the fabric.", + "operationId": "Fabric_Delete", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "fabricName": "QO6U", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Get.json new file mode 100644 index 000000000000..00e07aefde56 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Get.json @@ -0,0 +1,74 @@ +{ + "title": "Gets the fabric.", + "operationId": "Fabric_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "fabricName": "CpYCUg", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "location": "yxjhhxycbmr", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "t", + "serviceResourceId": "bcbch", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "fomxmdpyawvzilwxkjznvfayuhiuv", + "name": "edgkoai", + "type": "hminnvsndw", + "systemData": { + "createdBy": "sufwvncetltycfkfwk", + "createdByType": "hfjksoktnne", + "createdAt": "2023-07-17T23:57:57.610Z", + "lastModifiedBy": "wngnzapgxtszkzuhdsbvsesbewi", + "lastModifiedByType": "aefsbshnzuvpzaczfqmjxlaaf", + "lastModifiedAt": "2023-07-17T23:57:57.610Z" + }, + "tags": { + "key3179": "cbjueysdelabfx" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_List.json new file mode 100644 index 000000000000..d73438e5e198 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_List.json @@ -0,0 +1,79 @@ +{ + "title": "Lists the fabrics.", + "operationId": "Fabric_List", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "continuationToken": "kmjroxoqtubxmndkclkdz", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "yxjhhxycbmr", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "t", + "serviceResourceId": "bcbch", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "fomxmdpyawvzilwxkjznvfayuhiuv", + "name": "edgkoai", + "type": "hminnvsndw", + "systemData": { + "createdBy": "sufwvncetltycfkfwk", + "createdByType": "hfjksoktnne", + "createdAt": "2023-07-17T23:57:57.610Z", + "lastModifiedBy": "wngnzapgxtszkzuhdsbvsesbewi", + "lastModifiedByType": "aefsbshnzuvpzaczfqmjxlaaf", + "lastModifiedAt": "2023-07-17T23:57:57.610Z" + }, + "tags": { + "key3179": "cbjueysdelabfx" + } + } + ], + "nextLink": "fe" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_ListBySubscription.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_ListBySubscription.json new file mode 100644 index 000000000000..3fecd9b2f2a8 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_ListBySubscription.json @@ -0,0 +1,78 @@ +{ + "title": "Lists the fabrics.", + "operationId": "Fabric_ListBySubscription", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "continuationToken": "glmwgicgtdacoomawqymd", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "yxjhhxycbmr", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "t", + "serviceResourceId": "bcbch", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "fomxmdpyawvzilwxkjznvfayuhiuv", + "name": "edgkoai", + "type": "hminnvsndw", + "systemData": { + "createdBy": "sufwvncetltycfkfwk", + "createdByType": "hfjksoktnne", + "createdAt": "2023-07-17T23:57:57.610Z", + "lastModifiedBy": "wngnzapgxtszkzuhdsbvsesbewi", + "lastModifiedByType": "aefsbshnzuvpzaczfqmjxlaaf", + "lastModifiedAt": "2023-07-17T23:57:57.610Z" + }, + "tags": { + "key3179": "cbjueysdelabfx" + } + } + ], + "nextLink": "fe" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Update.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Update.json new file mode 100644 index 000000000000..06011d2d1d39 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Update.json @@ -0,0 +1,89 @@ +{ + "title": "Updates the fabric.", + "operationId": "Fabric_Update", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "fabricName": "YB", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "tags": { + "key2843": "fkqbhgsaeyizpwym" + } + } + }, + "responses": { + "200": { + "body": { + "location": "yxjhhxycbmr", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "t", + "serviceResourceId": "bcbch", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "fomxmdpyawvzilwxkjznvfayuhiuv", + "name": "edgkoai", + "type": "hminnvsndw", + "systemData": { + "createdBy": "sufwvncetltycfkfwk", + "createdByType": "hfjksoktnne", + "createdAt": "2023-07-17T23:57:57.610Z", + "lastModifiedBy": "wngnzapgxtszkzuhdsbvsesbewi", + "lastModifiedByType": "aefsbshnzuvpzaczfqmjxlaaf", + "lastModifiedAt": "2023-07-17T23:57:57.610Z" + }, + "tags": { + "key3179": "cbjueysdelabfx" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Operations_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Operations_List.json new file mode 100644 index 000000000000..182a3d0464a9 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Operations_List.json @@ -0,0 +1,27 @@ +{ + "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": "bqlpvjxxdzgbtlo", + "isDataAction": true, + "origin": "pudnr", + "display": { + "provider": "apxgvzsceelltvtohrvigdvv", + "resource": "vwzfptassemoqjelyxnzxmub", + "operation": "dxonahjvwaepfydafi", + "description": "akccswssilzwy" + } + } + ], + "nextLink": "b" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/PolicyOperationStatus_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/PolicyOperationStatus_Get.json new file mode 100644 index 000000000000..0e4c4a8acfe9 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/PolicyOperationStatus_Get.json @@ -0,0 +1,23 @@ +{ + "title": "Gets the policy operation status.", + "operationId": "PolicyOperationStatus_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "B5", + "policyName": "5", + "operationId": "qms", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "bvgjisstxwwyvdjerelfmkcfdtubs", + "name": "wvslpgcujlmdvniseoaxvgxtw", + "status": "itm", + "startTime": "elwimc", + "endTime": "svjjwjwygxojwrtqsslovag" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Create.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Create.json new file mode 100644 index 000000000000..c4351b0406c5 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Create.json @@ -0,0 +1,74 @@ +{ + "title": "Puts the policy.", + "operationId": "Policy_Create", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "sdafgew", + "policyName": "CXQNI", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "tags": { + "key5455": "rkoulybjefwejej" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "aegohw", + "name": "rhvlkznnnydbhhefdresktnwd", + "type": "kzmxixiheusd", + "systemData": { + "createdBy": "rxkplqrlglvugzy", + "createdByType": "x", + "createdAt": "2023-07-17T23:57:58.571Z", + "lastModifiedBy": "lkbgxnzxzidq", + "lastModifiedByType": "hmpvcephyufqurufruq", + "lastModifiedAt": "2023-07-17T23:57:58.571Z" + }, + "tags": { + "key5455": "rkoulybjefwejej" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "aegohw", + "name": "rhvlkznnnydbhhefdresktnwd", + "type": "kzmxixiheusd", + "systemData": { + "createdBy": "rxkplqrlglvugzy", + "createdByType": "x", + "createdAt": "2023-07-17T23:57:58.571Z", + "lastModifiedBy": "lkbgxnzxzidq", + "lastModifiedByType": "hmpvcephyufqurufruq", + "lastModifiedAt": "2023-07-17T23:57:58.571Z" + }, + "tags": { + "key5455": "rkoulybjefwejej" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Delete.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Delete.json new file mode 100644 index 000000000000..4405e4244d50 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the policy.", + "operationId": "Policy_Delete", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "V", + "policyName": "cSF", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Get.json new file mode 100644 index 000000000000..31ca7a55c248 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Get.json @@ -0,0 +1,37 @@ +{ + "title": "Gets the policy.", + "operationId": "Policy_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "8b", + "policyName": "9SYa", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "aegohw", + "name": "rhvlkznnnydbhhefdresktnwd", + "type": "kzmxixiheusd", + "systemData": { + "createdBy": "rxkplqrlglvugzy", + "createdByType": "x", + "createdAt": "2023-07-17T23:57:58.571Z", + "lastModifiedBy": "lkbgxnzxzidq", + "lastModifiedByType": "hmpvcephyufqurufruq", + "lastModifiedAt": "2023-07-17T23:57:58.571Z" + }, + "tags": { + "key5455": "rkoulybjefwejej" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_List.json new file mode 100644 index 000000000000..725c3b517699 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_List.json @@ -0,0 +1,41 @@ +{ + "title": "Lists the policies.", + "operationId": "Policy_List", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "yfqr", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "aegohw", + "name": "rhvlkznnnydbhhefdresktnwd", + "type": "kzmxixiheusd", + "systemData": { + "createdBy": "rxkplqrlglvugzy", + "createdByType": "x", + "createdAt": "2023-07-17T23:57:58.571Z", + "lastModifiedBy": "lkbgxnzxzidq", + "lastModifiedByType": "hmpvcephyufqurufruq", + "lastModifiedAt": "2023-07-17T23:57:58.571Z" + }, + "tags": { + "key5455": "rkoulybjefwejej" + } + } + ], + "nextLink": "oiwzqvubviwyjm" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Update.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Update.json new file mode 100644 index 000000000000..a5e8acdc3ff2 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Update.json @@ -0,0 +1,52 @@ +{ + "title": "Updates the policy.", + "operationId": "Policy_Update", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "WNmFU", + "policyName": "s0O", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "tags": { + "key4685": "hzpwlzrebelursu" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "aegohw", + "name": "rhvlkznnnydbhhefdresktnwd", + "type": "kzmxixiheusd", + "systemData": { + "createdBy": "rxkplqrlglvugzy", + "createdByType": "x", + "createdAt": "2023-07-17T23:57:58.571Z", + "lastModifiedBy": "lkbgxnzxzidq", + "lastModifiedByType": "hmpvcephyufqurufruq", + "lastModifiedAt": "2023-07-17T23:57:58.571Z" + }, + "tags": { + "key5455": "rkoulybjefwejej" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItemOperationStatus_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItemOperationStatus_Get.json new file mode 100644 index 000000000000..d496bd0d932b --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItemOperationStatus_Get.json @@ -0,0 +1,23 @@ +{ + "title": "Gets the protected item operation status.", + "operationId": "ProtectedItemOperationStatus_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "Jkh", + "protectedItemName": "s8W1", + "operationId": "ygpsejjtj", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "bvgjisstxwwyvdjerelfmkcfdtubs", + "name": "wvslpgcujlmdvniseoaxvgxtw", + "status": "itm", + "startTime": "elwimc", + "endTime": "svjjwjwygxojwrtqsslovag" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Create.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Create.json new file mode 100644 index 000000000000..433b39b47b10 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Create.json @@ -0,0 +1,264 @@ +{ + "title": "Puts the protected item.", + "operationId": "ProtectedItem_Create", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "N", + "protectedItemName": "5UD3n", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "policyName": "dyeemrkvkecjkgdmpxh", + "replicationExtensionName": "hmmtipmwpnrpzzetbulyrqnu", + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "tags": { + "key8732": "fpbwooxeygmtdmnffaph" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "policyName": "dyeemrkvkecjkgdmpxh", + "replicationExtensionName": "hmmtipmwpnrpzzetbulyrqnu", + "correlationId": "xsvbuqpdzzloenx", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "ngrgocztklbhqzqjca", + "testFailoverState": "None", + "testFailoverStateDescription": "tapobkemsxfvnhcfralefht", + "resynchronizationState": "None", + "fabricObjectId": "yxyfseefvcxzuwqyfrvmpjydbvhxo", + "fabricObjectName": "xysfbxeasdykvlzue", + "sourceFabricProviderId": "rel", + "targetFabricProviderId": "znvmezdttnobrkfp", + "fabricId": "tfkukvizhbzjiifjlfp", + "targetFabricId": "rxrsihxxwtpbcrfkda", + "draId": "htffttzmnanrpfoqogfaci", + "targetDraId": "rq", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-07-17T23:57:59.409Z", + "lastSuccessfulUnplannedFailoverTime": "2023-07-17T23:57:59.409Z", + "lastSuccessfulTestFailoverTime": "2023-07-17T23:57:59.409Z", + "currentJob": { + "scenarioName": "tbgjbdtotlcxjuqlwfrqcydrscm", + "id": "yigzpgjxvdi", + "name": "lagyc", + "displayName": "keoykyrpqtfubktu", + "state": "kazhtqsvvgtgilcvaopvrbpxxhw", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "allowedJobs": [ + "eg" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "eaonqjglyjbi", + "id": "emkdfn", + "name": "gpuoxqvhtdutojsqsttnq", + "displayName": "fiqrkqf", + "state": "jtrjkxeuqgdccejha", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "rhbumgxtsadqewqctacyhkundfb", + "id": "s", + "name": "zdyksidocrduhobaehrcetgnpyv", + "displayName": "atcucctsxefjiqyhgoapnewewlxhi", + "state": "qgyfmqodnwnjatqjucruy", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "lastTestFailoverJob": { + "scenarioName": "duutuszdcstdxbaxui", + "id": "ajgnrfbdzx", + "name": "csxepyzxzm", + "displayName": "umuhjvopadjsgjqjtfpmwks", + "state": "anmbuxuumvhus", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "bndgomltj", + "name": "hrihohcjtk", + "type": "kbyhihviaoezxgoudjzinxf", + "systemData": { + "createdBy": "fykwdmtykzfmsafnrfescjbsxvr", + "createdByType": "pirhalzhfuixqlyjyhx", + "createdAt": "2023-07-17T23:57:59.409Z", + "lastModifiedBy": "awheabkoje", + "lastModifiedByType": "zvknrcx", + "lastModifiedAt": "2023-07-17T23:57:59.409Z" + }, + "tags": { + "key8732": "fpbwooxeygmtdmnffaph" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "policyName": "dyeemrkvkecjkgdmpxh", + "replicationExtensionName": "hmmtipmwpnrpzzetbulyrqnu", + "correlationId": "xsvbuqpdzzloenx", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "ngrgocztklbhqzqjca", + "testFailoverState": "None", + "testFailoverStateDescription": "tapobkemsxfvnhcfralefht", + "resynchronizationState": "None", + "fabricObjectId": "yxyfseefvcxzuwqyfrvmpjydbvhxo", + "fabricObjectName": "xysfbxeasdykvlzue", + "sourceFabricProviderId": "rel", + "targetFabricProviderId": "znvmezdttnobrkfp", + "fabricId": "tfkukvizhbzjiifjlfp", + "targetFabricId": "rxrsihxxwtpbcrfkda", + "draId": "htffttzmnanrpfoqogfaci", + "targetDraId": "rq", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-07-17T23:57:59.409Z", + "lastSuccessfulUnplannedFailoverTime": "2023-07-17T23:57:59.409Z", + "lastSuccessfulTestFailoverTime": "2023-07-17T23:57:59.409Z", + "currentJob": { + "scenarioName": "tbgjbdtotlcxjuqlwfrqcydrscm", + "id": "yigzpgjxvdi", + "name": "lagyc", + "displayName": "keoykyrpqtfubktu", + "state": "kazhtqsvvgtgilcvaopvrbpxxhw", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "allowedJobs": [ + "eg" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "eaonqjglyjbi", + "id": "emkdfn", + "name": "gpuoxqvhtdutojsqsttnq", + "displayName": "fiqrkqf", + "state": "jtrjkxeuqgdccejha", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "rhbumgxtsadqewqctacyhkundfb", + "id": "s", + "name": "zdyksidocrduhobaehrcetgnpyv", + "displayName": "atcucctsxefjiqyhgoapnewewlxhi", + "state": "qgyfmqodnwnjatqjucruy", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "lastTestFailoverJob": { + "scenarioName": "duutuszdcstdxbaxui", + "id": "ajgnrfbdzx", + "name": "csxepyzxzm", + "displayName": "umuhjvopadjsgjqjtfpmwks", + "state": "anmbuxuumvhus", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "bndgomltj", + "name": "hrihohcjtk", + "type": "kbyhihviaoezxgoudjzinxf", + "systemData": { + "createdBy": "fykwdmtykzfmsafnrfescjbsxvr", + "createdByType": "pirhalzhfuixqlyjyhx", + "createdAt": "2023-07-17T23:57:59.409Z", + "lastModifiedBy": "awheabkoje", + "lastModifiedByType": "zvknrcx", + "lastModifiedAt": "2023-07-17T23:57:59.409Z" + }, + "tags": { + "key8732": "fpbwooxeygmtdmnffaph" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Delete.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Delete.json new file mode 100644 index 000000000000..ea365c04f360 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Deletes the protected item.", + "operationId": "ProtectedItem_Delete", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "VY8s", + "protectedItemName": "4VVD", + "forceDelete": true, + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Get.json new file mode 100644 index 000000000000..d3303b3972dd --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Get.json @@ -0,0 +1,131 @@ +{ + "title": "Gets the protected item.", + "operationId": "ProtectedItem_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "mLAQz", + "protectedItemName": "5H", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "policyName": "dyeemrkvkecjkgdmpxh", + "replicationExtensionName": "hmmtipmwpnrpzzetbulyrqnu", + "correlationId": "xsvbuqpdzzloenx", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "ngrgocztklbhqzqjca", + "testFailoverState": "None", + "testFailoverStateDescription": "tapobkemsxfvnhcfralefht", + "resynchronizationState": "None", + "fabricObjectId": "yxyfseefvcxzuwqyfrvmpjydbvhxo", + "fabricObjectName": "xysfbxeasdykvlzue", + "sourceFabricProviderId": "rel", + "targetFabricProviderId": "znvmezdttnobrkfp", + "fabricId": "tfkukvizhbzjiifjlfp", + "targetFabricId": "rxrsihxxwtpbcrfkda", + "draId": "htffttzmnanrpfoqogfaci", + "targetDraId": "rq", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-07-17T23:57:59.409Z", + "lastSuccessfulUnplannedFailoverTime": "2023-07-17T23:57:59.409Z", + "lastSuccessfulTestFailoverTime": "2023-07-17T23:57:59.409Z", + "currentJob": { + "scenarioName": "tbgjbdtotlcxjuqlwfrqcydrscm", + "id": "yigzpgjxvdi", + "name": "lagyc", + "displayName": "keoykyrpqtfubktu", + "state": "kazhtqsvvgtgilcvaopvrbpxxhw", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "allowedJobs": [ + "eg" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "eaonqjglyjbi", + "id": "emkdfn", + "name": "gpuoxqvhtdutojsqsttnq", + "displayName": "fiqrkqf", + "state": "jtrjkxeuqgdccejha", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "rhbumgxtsadqewqctacyhkundfb", + "id": "s", + "name": "zdyksidocrduhobaehrcetgnpyv", + "displayName": "atcucctsxefjiqyhgoapnewewlxhi", + "state": "qgyfmqodnwnjatqjucruy", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "lastTestFailoverJob": { + "scenarioName": "duutuszdcstdxbaxui", + "id": "ajgnrfbdzx", + "name": "csxepyzxzm", + "displayName": "umuhjvopadjsgjqjtfpmwks", + "state": "anmbuxuumvhus", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "bndgomltj", + "name": "hrihohcjtk", + "type": "kbyhihviaoezxgoudjzinxf", + "systemData": { + "createdBy": "fykwdmtykzfmsafnrfescjbsxvr", + "createdByType": "pirhalzhfuixqlyjyhx", + "createdAt": "2023-07-17T23:57:59.409Z", + "lastModifiedBy": "awheabkoje", + "lastModifiedByType": "zvknrcx", + "lastModifiedAt": "2023-07-17T23:57:59.409Z" + }, + "tags": { + "key8732": "fpbwooxeygmtdmnffaph" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_List.json new file mode 100644 index 000000000000..0632d1f15ac6 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_List.json @@ -0,0 +1,135 @@ +{ + "title": "Lists the protected items.", + "operationId": "ProtectedItem_List", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "s", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "policyName": "dyeemrkvkecjkgdmpxh", + "replicationExtensionName": "hmmtipmwpnrpzzetbulyrqnu", + "correlationId": "xsvbuqpdzzloenx", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "ngrgocztklbhqzqjca", + "testFailoverState": "None", + "testFailoverStateDescription": "tapobkemsxfvnhcfralefht", + "resynchronizationState": "None", + "fabricObjectId": "yxyfseefvcxzuwqyfrvmpjydbvhxo", + "fabricObjectName": "xysfbxeasdykvlzue", + "sourceFabricProviderId": "rel", + "targetFabricProviderId": "znvmezdttnobrkfp", + "fabricId": "tfkukvizhbzjiifjlfp", + "targetFabricId": "rxrsihxxwtpbcrfkda", + "draId": "htffttzmnanrpfoqogfaci", + "targetDraId": "rq", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-07-17T23:57:59.409Z", + "lastSuccessfulUnplannedFailoverTime": "2023-07-17T23:57:59.409Z", + "lastSuccessfulTestFailoverTime": "2023-07-17T23:57:59.409Z", + "currentJob": { + "scenarioName": "tbgjbdtotlcxjuqlwfrqcydrscm", + "id": "yigzpgjxvdi", + "name": "lagyc", + "displayName": "keoykyrpqtfubktu", + "state": "kazhtqsvvgtgilcvaopvrbpxxhw", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "allowedJobs": [ + "eg" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "eaonqjglyjbi", + "id": "emkdfn", + "name": "gpuoxqvhtdutojsqsttnq", + "displayName": "fiqrkqf", + "state": "jtrjkxeuqgdccejha", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "rhbumgxtsadqewqctacyhkundfb", + "id": "s", + "name": "zdyksidocrduhobaehrcetgnpyv", + "displayName": "atcucctsxefjiqyhgoapnewewlxhi", + "state": "qgyfmqodnwnjatqjucruy", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "lastTestFailoverJob": { + "scenarioName": "duutuszdcstdxbaxui", + "id": "ajgnrfbdzx", + "name": "csxepyzxzm", + "displayName": "umuhjvopadjsgjqjtfpmwks", + "state": "anmbuxuumvhus", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "bndgomltj", + "name": "hrihohcjtk", + "type": "kbyhihviaoezxgoudjzinxf", + "systemData": { + "createdBy": "fykwdmtykzfmsafnrfescjbsxvr", + "createdByType": "pirhalzhfuixqlyjyhx", + "createdAt": "2023-07-17T23:57:59.409Z", + "lastModifiedBy": "awheabkoje", + "lastModifiedByType": "zvknrcx", + "lastModifiedAt": "2023-07-17T23:57:59.409Z" + }, + "tags": { + "key8732": "fpbwooxeygmtdmnffaph" + } + } + ], + "nextLink": "m" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_PlannedFailover.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_PlannedFailover.json new file mode 100644 index 000000000000..84d6e18cf88d --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_PlannedFailover.json @@ -0,0 +1,34 @@ +{ + "title": "Performs planned failover.", + "operationId": "ProtectedItem_PlannedFailover", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "Q", + "protectedItemName": "fK", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "customProperties": { + "instanceType": "PlannedFailoverModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "customProperties": { + "instanceType": "PlannedFailoverModelCustomProperties" + } + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Update.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Update.json new file mode 100644 index 000000000000..d5650f3beb79 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Update.json @@ -0,0 +1,148 @@ +{ + "title": "Updates the protected item.", + "operationId": "ProtectedItem_Update", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "sdawq", + "protectedItemName": "6C", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "policyName": "dyeemrkvkecjkgdmpxh", + "replicationExtensionName": "hmmtipmwpnrpzzetbulyrqnu", + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "tags": { + "key5174": "uyqcecljqmghdrrxeplpbcwfykwhfi" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "policyName": "dyeemrkvkecjkgdmpxh", + "replicationExtensionName": "hmmtipmwpnrpzzetbulyrqnu", + "correlationId": "xsvbuqpdzzloenx", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "ngrgocztklbhqzqjca", + "testFailoverState": "None", + "testFailoverStateDescription": "tapobkemsxfvnhcfralefht", + "resynchronizationState": "None", + "fabricObjectId": "yxyfseefvcxzuwqyfrvmpjydbvhxo", + "fabricObjectName": "xysfbxeasdykvlzue", + "sourceFabricProviderId": "rel", + "targetFabricProviderId": "znvmezdttnobrkfp", + "fabricId": "tfkukvizhbzjiifjlfp", + "targetFabricId": "rxrsihxxwtpbcrfkda", + "draId": "htffttzmnanrpfoqogfaci", + "targetDraId": "rq", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-07-17T23:57:59.409Z", + "lastSuccessfulUnplannedFailoverTime": "2023-07-17T23:57:59.409Z", + "lastSuccessfulTestFailoverTime": "2023-07-17T23:57:59.409Z", + "currentJob": { + "scenarioName": "tbgjbdtotlcxjuqlwfrqcydrscm", + "id": "yigzpgjxvdi", + "name": "lagyc", + "displayName": "keoykyrpqtfubktu", + "state": "kazhtqsvvgtgilcvaopvrbpxxhw", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "allowedJobs": [ + "eg" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "eaonqjglyjbi", + "id": "emkdfn", + "name": "gpuoxqvhtdutojsqsttnq", + "displayName": "fiqrkqf", + "state": "jtrjkxeuqgdccejha", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "rhbumgxtsadqewqctacyhkundfb", + "id": "s", + "name": "zdyksidocrduhobaehrcetgnpyv", + "displayName": "atcucctsxefjiqyhgoapnewewlxhi", + "state": "qgyfmqodnwnjatqjucruy", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "lastTestFailoverJob": { + "scenarioName": "duutuszdcstdxbaxui", + "id": "ajgnrfbdzx", + "name": "csxepyzxzm", + "displayName": "umuhjvopadjsgjqjtfpmwks", + "state": "anmbuxuumvhus", + "startTime": "2023-07-17T23:57:59.409Z", + "endTime": "2023-07-17T23:57:59.409Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "dctrlkkzengnmaotcuymfsfhyrf", + "affectedResourceCorrelationIds": [ + "ea" + ], + "childErrors": [ + { + "code": "vvagcpbngybqgd", + "healthCategory": "fleydailcfpduoli", + "category": "icv", + "severity": "wxnmxggls", + "source": "rgiyviido", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "jkuytwjoekhzrtmozd", + "message": "humzvwhptarkvzwzgrtvzdjd", + "causes": "iuazzxofg", + "recommendation": "vylxgekaoivi" + } + ], + "code": "miyjvoqwyjydtsljghqavbdvumeb", + "healthCategory": "etxfnnzeotnawwgj", + "category": "nrnagazdvdswtavalfoetj", + "severity": "izx", + "source": "igqlfwkzgatumzg", + "creationTime": "2023-07-17T23:57:55.961Z", + "isCustomerResolvable": true, + "summary": "apsztdc", + "message": "iqisnjaidrwtjdlmyyttfiwo", + "causes": "slnygxs", + "recommendation": "cymoozkxjhowpre" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "bndgomltj", + "name": "hrihohcjtk", + "type": "kbyhihviaoezxgoudjzinxf", + "systemData": { + "createdBy": "fykwdmtykzfmsafnrfescjbsxvr", + "createdByType": "pirhalzhfuixqlyjyhx", + "createdAt": "2023-07-17T23:57:59.409Z", + "lastModifiedBy": "awheabkoje", + "lastModifiedByType": "zvknrcx", + "lastModifiedAt": "2023-07-17T23:57:59.409Z" + }, + "tags": { + "key8732": "fpbwooxeygmtdmnffaph" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_Get.json new file mode 100644 index 000000000000..02d322880ebd --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_Get.json @@ -0,0 +1,39 @@ +{ + "title": "Gets the recovery point.", + "operationId": "RecoveryPoints_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "EC", + "protectedItemName": "P1HQ7X", + "recoveryPointName": "1FWcd1", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "recoveryPointTime": "2023-07-17T23:58:00.457Z", + "recoveryPointType": "ApplicationConsistent", + "customProperties": { + "instanceType": "RecoveryPointModelCustomProperties" + } + }, + "id": "xtitqkaskaemhvfbapulayrtyyqz", + "name": "ttroq", + "type": "cemahghlc", + "systemData": { + "createdBy": "pfagsmwsfqegx", + "createdByType": "vsojxekzyhenullokekhwkl", + "createdAt": "2023-07-17T23:58:00.457Z", + "lastModifiedBy": "vwmf", + "lastModifiedByType": "wanixnhdeixhapvznrsjgozaammr", + "lastModifiedAt": "2023-07-17T23:58:00.457Z" + }, + "tags": { + "key8270": "duhptpwv" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_List.json new file mode 100644 index 000000000000..beb39d1ad6cd --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_List.json @@ -0,0 +1,43 @@ +{ + "title": "Lists the recovery points.", + "operationId": "RecoveryPoints_List", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "EP", + "protectedItemName": "w74nF8x", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "recoveryPointTime": "2023-07-17T23:58:00.457Z", + "recoveryPointType": "ApplicationConsistent", + "customProperties": { + "instanceType": "RecoveryPointModelCustomProperties" + } + }, + "id": "xtitqkaskaemhvfbapulayrtyyqz", + "name": "ttroq", + "type": "cemahghlc", + "systemData": { + "createdBy": "pfagsmwsfqegx", + "createdByType": "vsojxekzyhenullokekhwkl", + "createdAt": "2023-07-17T23:58:00.457Z", + "lastModifiedBy": "vwmf", + "lastModifiedByType": "wanixnhdeixhapvznrsjgozaammr", + "lastModifiedAt": "2023-07-17T23:58:00.457Z" + }, + "tags": { + "key8270": "duhptpwv" + } + } + ], + "nextLink": "wwnkybcxfxlypwgsr" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtensionOperationStatus_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtensionOperationStatus_Get.json new file mode 100644 index 000000000000..678ffe336e17 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtensionOperationStatus_Get.json @@ -0,0 +1,23 @@ +{ + "title": "Gets the replication extension operation status.", + "operationId": "ReplicationExtensionOperationStatus_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "Qn", + "replicationExtensionName": "l0EZKj", + "operationId": "pktcnsdgdbgowuwlljspksah", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "bvgjisstxwwyvdjerelfmkcfdtubs", + "name": "wvslpgcujlmdvniseoaxvgxtw", + "status": "itm", + "startTime": "elwimc", + "endTime": "svjjwjwygxojwrtqsslovag" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Create.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Create.json new file mode 100644 index 000000000000..126ff1a0d8bb --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Create.json @@ -0,0 +1,74 @@ +{ + "title": "Puts the replication extension.", + "operationId": "ReplicationExtension_Create", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "Rjp", + "replicationExtensionName": "c", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "tags": { + "key4315": "dqjgzvzf" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "jayleukccxkidtlubzeapdxqpffl", + "name": "njhzpdmdnbyfrdoumeqis", + "type": "nbsednbgg", + "systemData": { + "createdBy": "methktgklxbsyhboebjshbyo", + "createdByType": "svhkcpflsizjkhkzuusebqsz", + "createdAt": "2023-07-17T23:58:00.762Z", + "lastModifiedBy": "agjcdqcmxplb", + "lastModifiedByType": "stzuqkybkgkkyapcwgsrarz", + "lastModifiedAt": "2023-07-17T23:58:00.762Z" + }, + "tags": { + "key4315": "dqjgzvzf" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "jayleukccxkidtlubzeapdxqpffl", + "name": "njhzpdmdnbyfrdoumeqis", + "type": "nbsednbgg", + "systemData": { + "createdBy": "methktgklxbsyhboebjshbyo", + "createdByType": "svhkcpflsizjkhkzuusebqsz", + "createdAt": "2023-07-17T23:58:00.762Z", + "lastModifiedBy": "agjcdqcmxplb", + "lastModifiedByType": "stzuqkybkgkkyapcwgsrarz", + "lastModifiedAt": "2023-07-17T23:58:00.762Z" + }, + "tags": { + "key4315": "dqjgzvzf" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Delete.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Delete.json new file mode 100644 index 000000000000..17a89364e0bb --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the replication extension.", + "operationId": "ReplicationExtension_Delete", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "dsfsgfw", + "replicationExtensionName": "Pf4", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Get.json new file mode 100644 index 000000000000..5e891576499a --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Get.json @@ -0,0 +1,37 @@ +{ + "title": "Gets the replication extension.", + "operationId": "ReplicationExtension_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "5iT", + "replicationExtensionName": "v", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "jayleukccxkidtlubzeapdxqpffl", + "name": "njhzpdmdnbyfrdoumeqis", + "type": "nbsednbgg", + "systemData": { + "createdBy": "methktgklxbsyhboebjshbyo", + "createdByType": "svhkcpflsizjkhkzuusebqsz", + "createdAt": "2023-07-17T23:58:00.762Z", + "lastModifiedBy": "agjcdqcmxplb", + "lastModifiedByType": "stzuqkybkgkkyapcwgsrarz", + "lastModifiedAt": "2023-07-17T23:58:00.762Z" + }, + "tags": { + "key4315": "dqjgzvzf" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_List.json new file mode 100644 index 000000000000..3095db6b21c4 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_List.json @@ -0,0 +1,41 @@ +{ + "title": "Lists the replication extensions.", + "operationId": "ReplicationExtension_List", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "B", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "jayleukccxkidtlubzeapdxqpffl", + "name": "njhzpdmdnbyfrdoumeqis", + "type": "nbsednbgg", + "systemData": { + "createdBy": "methktgklxbsyhboebjshbyo", + "createdByType": "svhkcpflsizjkhkzuusebqsz", + "createdAt": "2023-07-17T23:58:00.762Z", + "lastModifiedBy": "agjcdqcmxplb", + "lastModifiedByType": "stzuqkybkgkkyapcwgsrarz", + "lastModifiedAt": "2023-07-17T23:58:00.762Z" + }, + "tags": { + "key4315": "dqjgzvzf" + } + } + ], + "nextLink": "cbwypbvoodkwbs" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/VaultOperationStatus_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/VaultOperationStatus_Get.json new file mode 100644 index 000000000000..6b28ee8977e6 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/VaultOperationStatus_Get.json @@ -0,0 +1,22 @@ +{ + "title": "Gets the vault operation status.", + "operationId": "VaultOperationStatus_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "3", + "operationId": "cusyjavei", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "bvgjisstxwwyvdjerelfmkcfdtubs", + "name": "wvslpgcujlmdvniseoaxvgxtw", + "status": "itm", + "startTime": "elwimc", + "endTime": "svjjwjwygxojwrtqsslovag" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Create.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Create.json new file mode 100644 index 000000000000..9ae9dbab94d1 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Create.json @@ -0,0 +1,72 @@ +{ + "title": "Puts the vault.", + "operationId": "Vault_Create", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "J", + "api-version": "2021-02-16-preview", + "body": { + "location": "sgkofsjtpxuywkdlgdidzvrolbvycr", + "properties": { + "vaultType": "DisasterRecovery" + }, + "tags": { + "key3899": "hmvmzclapsubvpotwvenzie" + } + } + }, + "responses": { + "200": { + "body": { + "location": "sgkofsjtpxuywkdlgdidzvrolbvycr", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "n", + "vaultType": "DisasterRecovery" + }, + "id": "unubsosyynbur", + "name": "opngprpctshc", + "type": "yjyjikkenyp", + "systemData": { + "createdBy": "clobmlpzexjbsaanh", + "createdByType": "umhqmvkslbhymvyfcdgctzuml", + "createdAt": "2023-07-17T23:58:02.058Z", + "lastModifiedBy": "uizbyykbneqck", + "lastModifiedByType": "xqgnoxwytmynqcyqifjlnxahdeqf", + "lastModifiedAt": "2023-07-17T23:58:02.058Z" + }, + "tags": { + "key3899": "hmvmzclapsubvpotwvenzie" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "location": "sgkofsjtpxuywkdlgdidzvrolbvycr", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "n", + "vaultType": "DisasterRecovery" + }, + "id": "unubsosyynbur", + "name": "opngprpctshc", + "type": "yjyjikkenyp", + "systemData": { + "createdBy": "clobmlpzexjbsaanh", + "createdByType": "umhqmvkslbhymvyfcdgctzuml", + "createdAt": "2023-07-17T23:58:02.058Z", + "lastModifiedBy": "uizbyykbneqck", + "lastModifiedByType": "xqgnoxwytmynqcyqifjlnxahdeqf", + "lastModifiedAt": "2023-07-17T23:58:02.058Z" + }, + "tags": { + "key3899": "hmvmzclapsubvpotwvenzie" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Delete.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Delete.json new file mode 100644 index 000000000000..b68ddb850b85 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "Deletes the vault.", + "operationId": "Vault_Delete", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "CfB", + "api-version": "2021-02-16-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Get.json new file mode 100644 index 000000000000..da1faff95e0e --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Get.json @@ -0,0 +1,36 @@ +{ + "title": "Gets the vault.", + "operationId": "Vault_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "wPi", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "location": "sgkofsjtpxuywkdlgdidzvrolbvycr", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "n", + "vaultType": "DisasterRecovery" + }, + "id": "unubsosyynbur", + "name": "opngprpctshc", + "type": "yjyjikkenyp", + "systemData": { + "createdBy": "clobmlpzexjbsaanh", + "createdByType": "umhqmvkslbhymvyfcdgctzuml", + "createdAt": "2023-07-17T23:58:02.058Z", + "lastModifiedBy": "uizbyykbneqck", + "lastModifiedByType": "xqgnoxwytmynqcyqifjlnxahdeqf", + "lastModifiedAt": "2023-07-17T23:58:02.058Z" + }, + "tags": { + "key3899": "hmvmzclapsubvpotwvenzie" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_List.json new file mode 100644 index 000000000000..0b235d9cdd7f --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_List.json @@ -0,0 +1,41 @@ +{ + "title": "Lists the vaults.", + "operationId": "Vault_List", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "continuationToken": "ltfrkrveiju", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "sgkofsjtpxuywkdlgdidzvrolbvycr", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "n", + "vaultType": "DisasterRecovery" + }, + "id": "unubsosyynbur", + "name": "opngprpctshc", + "type": "yjyjikkenyp", + "systemData": { + "createdBy": "clobmlpzexjbsaanh", + "createdByType": "umhqmvkslbhymvyfcdgctzuml", + "createdAt": "2023-07-17T23:58:02.058Z", + "lastModifiedBy": "uizbyykbneqck", + "lastModifiedByType": "xqgnoxwytmynqcyqifjlnxahdeqf", + "lastModifiedAt": "2023-07-17T23:58:02.058Z" + }, + "tags": { + "key3899": "hmvmzclapsubvpotwvenzie" + } + } + ], + "nextLink": "jwghmdseq" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_ListBySubscription.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_ListBySubscription.json new file mode 100644 index 000000000000..01810c098775 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_ListBySubscription.json @@ -0,0 +1,40 @@ +{ + "title": "Lists the vaults.", + "operationId": "Vault_ListBySubscription", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "continuationToken": "gxvzzrjn", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "sgkofsjtpxuywkdlgdidzvrolbvycr", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "n", + "vaultType": "DisasterRecovery" + }, + "id": "unubsosyynbur", + "name": "opngprpctshc", + "type": "yjyjikkenyp", + "systemData": { + "createdBy": "clobmlpzexjbsaanh", + "createdByType": "umhqmvkslbhymvyfcdgctzuml", + "createdAt": "2023-07-17T23:58:02.058Z", + "lastModifiedBy": "uizbyykbneqck", + "lastModifiedByType": "xqgnoxwytmynqcyqifjlnxahdeqf", + "lastModifiedAt": "2023-07-17T23:58:02.058Z" + }, + "tags": { + "key3899": "hmvmzclapsubvpotwvenzie" + } + } + ], + "nextLink": "jwghmdseq" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Update.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Update.json new file mode 100644 index 000000000000..1ed6bfbc001b --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Update.json @@ -0,0 +1,49 @@ +{ + "title": "Updates the vault.", + "operationId": "Vault_Update", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "k", + "api-version": "2021-02-16-preview", + "body": { + "properties": { + "vaultType": "DisasterRecovery" + }, + "tags": { + "key1869": "pksbdydvh" + } + } + }, + "responses": { + "200": { + "body": { + "location": "sgkofsjtpxuywkdlgdidzvrolbvycr", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "n", + "vaultType": "DisasterRecovery" + }, + "id": "unubsosyynbur", + "name": "opngprpctshc", + "type": "yjyjikkenyp", + "systemData": { + "createdBy": "clobmlpzexjbsaanh", + "createdByType": "umhqmvkslbhymvyfcdgctzuml", + "createdAt": "2023-07-17T23:58:02.058Z", + "lastModifiedBy": "uizbyykbneqck", + "lastModifiedByType": "xqgnoxwytmynqcyqifjlnxahdeqf", + "lastModifiedAt": "2023-07-17T23:58:02.058Z" + }, + "tags": { + "key3899": "hmvmzclapsubvpotwvenzie" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/WorkflowOperationStatus_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/WorkflowOperationStatus_Get.json new file mode 100644 index 000000000000..894afc467d7c --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/WorkflowOperationStatus_Get.json @@ -0,0 +1,23 @@ +{ + "title": "Gets the workflow operation status.", + "operationId": "WorkflowOperationStatus_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "1tQ", + "workflowName": "2Z", + "operationId": "mnkvmkuadoanvxejzedz", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "bvgjisstxwwyvdjerelfmkcfdtubs", + "name": "wvslpgcujlmdvniseoaxvgxtw", + "status": "itm", + "startTime": "elwimc", + "endTime": "svjjwjwygxojwrtqsslovag" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_Get.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_Get.json new file mode 100644 index 000000000000..bdb521ee8fa9 --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_Get.json @@ -0,0 +1,78 @@ +{ + "title": "Gets the workflow.", + "operationId": "Workflow_Get", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "ujjW57", + "workflowName": "03", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "xp", + "state": "Pending", + "startTime": "2023-07-17T23:58:03.156Z", + "endTime": "2023-07-17T23:58:03.156Z", + "objectId": "qqogl", + "objectName": "oyozhhycrmrgxtbxrgtqqfvgghb", + "objectInternalId": "vkmretzyo", + "objectInternalName": "xaqskwhoswfqnyuyawws", + "objectType": "AvsDiskPool", + "replicationProviderId": "bpjlmiwvqymiurck", + "sourceFabricProviderId": "whlawf", + "targetFabricProviderId": "sukqvvbmfntpwdbgcscgqy", + "allowedActions": [ + "wydkjneeqcwegpbljgzflxhghtmsp" + ], + "activityId": "zc", + "tasks": [ + { + "taskName": "bggydpqrbhni", + "state": "Pending", + "startTime": "2023-07-17T23:58:03.156Z", + "endTime": "2023-07-17T23:58:03.156Z", + "customProperties": { + "instanceType": "tljrrsmdncbnlqrmtmcsrwqh" + }, + "childrenWorkflows": [] + } + ], + "errors": [ + { + "code": "nhkqjifyibuikntdsjp", + "type": "jocsphmrgblehmovijbvkqiicnkn", + "severity": "buyxjdquhdwdscixdexapum", + "creationTime": "2023-07-17T23:58:03.157Z", + "message": "iwnwpqqywbrb", + "causes": "lhglgqjmllucyaizzbzakfjvdo", + "recommendation": "kckgusyyxshcdlqzfdoloy" + } + ], + "customProperties": { + "instanceType": "WorkflowModelCustomProperties", + "affectedObjectDetails": { + "key4415": "wqxvjixhkvmvka" + } + } + }, + "id": "lpi", + "name": "chbpdbfennwoysxmkpsthxzcdjn", + "type": "wrwlcbktl", + "systemData": { + "createdBy": "zehuazws", + "createdByType": "mxmqwpegjlfwwdxfmtfgthgt", + "createdAt": "2023-07-17T23:58:03.157Z", + "lastModifiedBy": "rjmmsszbqxp", + "lastModifiedByType": "gmffapdlxijvgwmp", + "lastModifiedAt": "2023-07-17T23:58:03.157Z" + }, + "tags": { + "key2184": "f" + } + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_List.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_List.json new file mode 100644 index 000000000000..02414c10d5ad --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_List.json @@ -0,0 +1,84 @@ +{ + "title": "Lists the workflows.", + "operationId": "Workflow_List", + "parameters": { + "subscriptionId": "A590CAC5-5BE0-401A-A521-AD1F4229A858", + "resourceGroupName": "rgswagger", + "vaultName": "4Lu83F", + "$filter": "yqhuy", + "continuationToken": "vhtqqkwsvgdcmsgcyqfrokyke", + "api-version": "2021-02-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "displayName": "xp", + "state": "Pending", + "startTime": "2023-07-17T23:58:03.156Z", + "endTime": "2023-07-17T23:58:03.156Z", + "objectId": "qqogl", + "objectName": "oyozhhycrmrgxtbxrgtqqfvgghb", + "objectInternalId": "vkmretzyo", + "objectInternalName": "xaqskwhoswfqnyuyawws", + "objectType": "AvsDiskPool", + "replicationProviderId": "bpjlmiwvqymiurck", + "sourceFabricProviderId": "whlawf", + "targetFabricProviderId": "sukqvvbmfntpwdbgcscgqy", + "allowedActions": [ + "wydkjneeqcwegpbljgzflxhghtmsp" + ], + "activityId": "zc", + "tasks": [ + { + "taskName": "bggydpqrbhni", + "state": "Pending", + "startTime": "2023-07-17T23:58:03.156Z", + "endTime": "2023-07-17T23:58:03.156Z", + "customProperties": { + "instanceType": "tljrrsmdncbnlqrmtmcsrwqh" + }, + "childrenWorkflows": [] + } + ], + "errors": [ + { + "code": "nhkqjifyibuikntdsjp", + "type": "jocsphmrgblehmovijbvkqiicnkn", + "severity": "buyxjdquhdwdscixdexapum", + "creationTime": "2023-07-17T23:58:03.157Z", + "message": "iwnwpqqywbrb", + "causes": "lhglgqjmllucyaizzbzakfjvdo", + "recommendation": "kckgusyyxshcdlqzfdoloy" + } + ], + "customProperties": { + "instanceType": "WorkflowModelCustomProperties", + "affectedObjectDetails": { + "key4415": "wqxvjixhkvmvka" + } + } + }, + "id": "lpi", + "name": "chbpdbfennwoysxmkpsthxzcdjn", + "type": "wrwlcbktl", + "systemData": { + "createdBy": "zehuazws", + "createdByType": "mxmqwpegjlfwwdxfmtfgthgt", + "createdAt": "2023-07-17T23:58:03.157Z", + "lastModifiedBy": "rjmmsszbqxp", + "lastModifiedByType": "gmffapdlxijvgwmp", + "lastModifiedAt": "2023-07-17T23:58:03.157Z" + }, + "tags": { + "key2184": "f" + } + } + ], + "nextLink": "ykn" + } + } + } +} diff --git a/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/swagger.json b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/swagger.json new file mode 100644 index 000000000000..d9325890a5ab --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/swagger.json @@ -0,0 +1,7291 @@ +{ + "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/{draName}": { + "get": { + "tags": [ + "Dra" + ], + "summary": "Gets the Dra.", + "description": "Gets the details of the fabric agent.", + "operationId": "Dra_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "draName", + "description": "Dra name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Dra Model on success.", + "schema": { + "$ref": "#/definitions/DraModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "Dra_Get": { + "$ref": "./examples/Dra_Get.json" + } + } + }, + "put": { + "tags": [ + "Dra" + ], + "summary": "Puts the Dra.", + "description": "Creates the fabric agent.", + "operationId": "Dra_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "draName", + "description": "Dra name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Dra model.", + "schema": { + "$ref": "#/definitions/DraModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DraModel" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/DraModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Dra_Create": { + "$ref": "./examples/Dra_Create.json" + } + } + }, + "delete": { + "tags": [ + "Dra" + ], + "summary": "Deletes the Dra.", + "description": "Deletes the fabric agent.", + "operationId": "Dra_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "draName", + "description": "Dra Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Returns success on deletion.", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Dra_Delete": { + "$ref": "./examples/Dra_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}/fabricAgents": { + "get": { + "tags": [ + "Dra" + ], + "summary": "Lists the Dras.", + "description": "Gets the list of fabric agents in the given fabric.", + "operationId": "Dra_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Dra Model Collection on success.", + "schema": { + "$ref": "#/definitions/DraModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Dra_List": { + "$ref": "./examples/Dra_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}/fabricAgents/{draName}/operations/{operationId}": { + "get": { + "tags": [ + "Dra" + ], + "summary": "Gets the Dra operation status.", + "description": "Tracks the results of an asynchronous operation on the fabric agent.", + "operationId": "DraOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "draName", + "description": "Dra name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "DraOperationStatus_Get": { + "$ref": "./examples/DraOperationStatus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/alertSettings/{emailConfigurationName}": { + "get": { + "tags": [ + "EmailConfiguration" + ], + "summary": "Gets the email configuration setting.", + "description": "Gets the details of the alert configuration setting.", + "operationId": "EmailConfiguration_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "emailConfigurationName", + "description": "Email configuration name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns EmailConfiguration Model on success.", + "schema": { + "$ref": "#/definitions/EmailConfigurationModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "EmailConfiguration_Get": { + "$ref": "./examples/EmailConfiguration_Get.json" + } + } + }, + "put": { + "tags": [ + "EmailConfiguration" + ], + "summary": "Creates email configuration settings.", + "description": "Creates an alert configuration setting for the given vault.", + "operationId": "EmailConfiguration_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "emailConfigurationName", + "description": "Email configuration name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "EmailConfiguration model.", + "schema": { + "$ref": "#/definitions/EmailConfigurationModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/EmailConfigurationModel" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/EmailConfigurationModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "EmailConfiguration_Create": { + "$ref": "./examples/EmailConfiguration_Create.json" + } + } + }, + "patch": { + "tags": [ + "EmailConfiguration" + ], + "summary": "Updates email configuration settings.", + "description": "Updates the alert configuration setting for the given vault.", + "operationId": "EmailConfiguration_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "emailConfigurationName", + "description": "Email configuration name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "EmailConfiguration model.", + "schema": { + "$ref": "#/definitions/EmailConfigurationModelUpdate" + } + } + ], + "responses": { + "200": { + "description": "Returns EmailConfiguration Model Collection on success.", + "schema": { + "$ref": "#/definitions/EmailConfigurationModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "EmailConfiguration_Update": { + "$ref": "./examples/EmailConfiguration_Update.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/alertSettings": { + "get": { + "tags": [ + "EmailConfiguration" + ], + "summary": "Lists the email configuration settings.", + "description": "Gets the list of alert configuration settings for the given vault.", + "operationId": "EmailConfiguration_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns EmailConfiguration Model Collection on success.", + "schema": { + "$ref": "#/definitions/EmailConfigurationModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "EmailConfiguration_List": { + "$ref": "./examples/EmailConfiguration_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/events/{eventName}": { + "get": { + "tags": [ + "Event" + ], + "summary": "Gets the event.", + "description": "Gets the details of the event.", + "operationId": "Event_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "eventName", + "description": "Event name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Event Model on success.", + "schema": { + "$ref": "#/definitions/EventModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "Event_Get": { + "$ref": "./examples/Event_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/events": { + "get": { + "tags": [ + "Event" + ], + "summary": "Lists the events.", + "description": "Gets the list of events in the given vault.", + "operationId": "Event_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "query", + "name": "$filter", + "description": "Filter string.", + "type": "string" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token.", + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Event Model Collection on success.", + "schema": { + "$ref": "#/definitions/EventModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Event_List": { + "$ref": "./examples/Event_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}": { + "get": { + "tags": [ + "Fabric" + ], + "summary": "Gets the fabric.", + "description": "Gets the details of the fabric.", + "operationId": "Fabric_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Fabric Model on success.", + "schema": { + "$ref": "#/definitions/FabricModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "Fabric_Get": { + "$ref": "./examples/Fabric_Get.json" + } + } + }, + "put": { + "tags": [ + "Fabric" + ], + "summary": "Puts the fabric.", + "description": "Creates the fabric.", + "operationId": "Fabric_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Fabric properties.", + "schema": { + "$ref": "#/definitions/FabricModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/FabricModel" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/FabricModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Fabric_Create": { + "$ref": "./examples/Fabric_Create.json" + } + } + }, + "patch": { + "tags": [ + "Fabric" + ], + "summary": "Updates the fabric.", + "description": "Performs update on the fabric.", + "operationId": "Fabric_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Fabric properties.", + "schema": { + "$ref": "#/definitions/FabricModelUpdate" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/FabricModel" + } + }, + "202": { + "description": "Returns success on update.", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Fabric_Update": { + "$ref": "./examples/Fabric_Update.json" + } + } + }, + "delete": { + "tags": [ + "Fabric" + ], + "summary": "Deletes the fabric.", + "description": "Removes the fabric.", + "operationId": "Fabric_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Returns success on deletion.", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Fabric_Delete": { + "$ref": "./examples/Fabric_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/replicationFabrics": { + "get": { + "tags": [ + "Fabric" + ], + "summary": "Lists the fabrics.", + "description": "Gets the list of fabrics in the given subscription.", + "operationId": "Fabric_ListBySubscription", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token from the previous call.", + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Fabric Model Collection on success.", + "schema": { + "$ref": "#/definitions/FabricModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Fabric_ListBySubscription": { + "$ref": "./examples/Fabric_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics": { + "get": { + "tags": [ + "Fabric" + ], + "summary": "Lists the fabrics.", + "description": "Gets the list of fabrics in the given subscription and resource group.", + "operationId": "Fabric_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token from the previous call.", + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Fabric Model Collection on success.", + "schema": { + "$ref": "#/definitions/FabricModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Fabric_List": { + "$ref": "./examples/Fabric_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}/operations/{operationId}": { + "get": { + "tags": [ + "Fabric" + ], + "summary": "Gets the fabric operation status.", + "description": "Tracks the results of an asynchronous operation on the fabric.", + "operationId": "FabricOperationsStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "fabricName", + "description": "Fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "FabricOperationsStatus_Get": { + "$ref": "./examples/FabricOperationsStatus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationPolicies/{policyName}": { + "get": { + "tags": [ + "Policy" + ], + "summary": "Gets the policy.", + "description": "Gets the details of the policy.", + "operationId": "Policy_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "policyName", + "description": "Policy name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Policy Model on success.", + "schema": { + "$ref": "#/definitions/PolicyModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "Policy_Get": { + "$ref": "./examples/Policy_Get.json" + } + } + }, + "put": { + "tags": [ + "Policy" + ], + "summary": "Puts the policy.", + "description": "Creates the policy.", + "operationId": "Policy_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "policyName", + "description": "Policy name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Policy model.", + "schema": { + "$ref": "#/definitions/PolicyModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/PolicyModel" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/PolicyModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Policy_Create": { + "$ref": "./examples/Policy_Create.json" + } + } + }, + "patch": { + "tags": [ + "Policy" + ], + "summary": "Updates the policy.", + "description": "Performs update on the policy.", + "operationId": "Policy_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "policyName", + "description": "Policy name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Policy model.", + "schema": { + "$ref": "#/definitions/PolicyModelUpdate" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/PolicyModel" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Policy_Update": { + "$ref": "./examples/Policy_Update.json" + } + } + }, + "delete": { + "tags": [ + "Policy" + ], + "summary": "Deletes the policy.", + "description": "Removes the policy.", + "operationId": "Policy_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "policyName", + "description": "Policy Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Returns success on deletion.", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Policy_Delete": { + "$ref": "./examples/Policy_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationPolicies": { + "get": { + "tags": [ + "Policy" + ], + "summary": "Lists the policies.", + "description": "Gets the list of policies in the given vault.", + "operationId": "Policy_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Policy Model Collection on success.", + "schema": { + "$ref": "#/definitions/PolicyModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Policy_List": { + "$ref": "./examples/Policy_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationPolicies/{policyName}/operations/{operationId}": { + "get": { + "tags": [ + "Policy" + ], + "summary": "Gets the policy operation status.", + "description": "Tracks the results of an asynchronous operation on the policy.", + "operationId": "PolicyOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "policyName", + "description": "Policy name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "PolicyOperationStatus_Get": { + "$ref": "./examples/PolicyOperationStatus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}": { + "get": { + "tags": [ + "ProtectedItem" + ], + "summary": "Gets the protected item.", + "description": "Gets the details of the protected item.", + "operationId": "ProtectedItem_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns ProtectedItem Model on success.", + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "ProtectedItem_Get": { + "$ref": "./examples/ProtectedItem_Get.json" + } + } + }, + "put": { + "tags": [ + "ProtectedItem" + ], + "summary": "Puts the protected item.", + "description": "Creates the protected item.", + "operationId": "ProtectedItem_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Protected item model.", + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ProtectedItem_Create": { + "$ref": "./examples/ProtectedItem_Create.json" + } + } + }, + "patch": { + "tags": [ + "ProtectedItem" + ], + "summary": "Updates the protected item.", + "description": "Performs update on the protected item.", + "operationId": "ProtectedItem_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Protected item model.", + "schema": { + "$ref": "#/definitions/ProtectedItemModelUpdate" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ProtectedItem_Update": { + "$ref": "./examples/ProtectedItem_Update.json" + } + } + }, + "delete": { + "tags": [ + "ProtectedItem" + ], + "summary": "Deletes the protected item.", + "description": "Removes the protected item.", + "operationId": "ProtectedItem_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "query", + "name": "forceDelete", + "description": "A flag indicating whether to do force delete or not.", + "type": "boolean" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ProtectedItem_Delete": { + "$ref": "./examples/ProtectedItem_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems": { + "get": { + "tags": [ + "ProtectedItem" + ], + "summary": "Lists the protected items.", + "description": "Gets the list of protected items in the given vault.", + "operationId": "ProtectedItem_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns ProtectedItem Model Collection on success.", + "schema": { + "$ref": "#/definitions/ProtectedItemModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ProtectedItem_List": { + "$ref": "./examples/ProtectedItem_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/plannedFailover": { + "post": { + "tags": [ + "ProtectedItem" + ], + "summary": "Performs planned failover.", + "description": "Performs the planned failover on the protected item.", + "operationId": "ProtectedItem_PlannedFailover", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Planned failover model.", + "schema": { + "$ref": "#/definitions/PlannedFailoverModel" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/PlannedFailoverModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ProtectedItem_PlannedFailover": { + "$ref": "./examples/ProtectedItem_PlannedFailover.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/operations/{operationId}": { + "get": { + "tags": [ + "ProtectedItem" + ], + "summary": "Gets the protected item operation status.", + "description": "Tracks the results of an asynchronous operation on the protected item.", + "operationId": "ProtectedItemOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected Item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "ProtectedItemOperationStatus_Get": { + "$ref": "./examples/ProtectedItemOperationStatus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointName}": { + "get": { + "tags": [ + "RecoveryPoint" + ], + "summary": "Gets the recovery point.", + "description": "Gets the details of the recovery point of a protected item.", + "operationId": "RecoveryPoints_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "recoveryPointName", + "description": "Recovery point name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/RecoveryPointModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "RecoveryPoints_Get": { + "$ref": "./examples/RecoveryPoints_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/recoveryPoints": { + "get": { + "tags": [ + "RecoveryPoint" + ], + "summary": "Lists the recovery points.", + "description": "Gets the list of recovery points of the given protected item.", + "operationId": "RecoveryPoints_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "protectedItemName", + "description": "Protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/RecoveryPointModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "RecoveryPoints_List": { + "$ref": "./examples/RecoveryPoints_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationExtensions/{replicationExtensionName}": { + "get": { + "tags": [ + "ReplicationExtension" + ], + "summary": "Gets the replication extension.", + "description": "Gets the details of the replication extension.", + "operationId": "ReplicationExtension_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "replicationExtensionName", + "description": "Replication extension name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Replication extension Model on success.", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "ReplicationExtension_Get": { + "$ref": "./examples/ReplicationExtension_Get.json" + } + } + }, + "put": { + "tags": [ + "ReplicationExtension" + ], + "summary": "Puts the replication extension.", + "description": "Creates the replication extension in the given vault.", + "operationId": "ReplicationExtension_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "replicationExtensionName", + "description": "Replication extension name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Replication extension model.", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModel" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ReplicationExtension_Create": { + "$ref": "./examples/ReplicationExtension_Create.json" + } + } + }, + "delete": { + "tags": [ + "ReplicationExtension" + ], + "summary": "Deletes the replication extension.", + "description": "Deletes the replication extension in the given vault.", + "operationId": "ReplicationExtension_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "replicationExtensionName", + "description": "Replication extension name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Returns success on deletion.", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ReplicationExtension_Delete": { + "$ref": "./examples/ReplicationExtension_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationExtensions": { + "get": { + "tags": [ + "ReplicationExtension" + ], + "summary": "Lists the replication extensions.", + "description": "Gets the list of replication extensions in the given vault.", + "operationId": "ReplicationExtension_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Replication extension Model Collection on success.", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ReplicationExtension_List": { + "$ref": "./examples/ReplicationExtension_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationExtensions/{replicationExtensionName}/operations/{operationId}": { + "get": { + "tags": [ + "ReplicationExtension" + ], + "summary": "Gets the replication extension operation status.", + "description": "Tracks the results of an asynchronous operation on the replication extension.", + "operationId": "ReplicationExtensionOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "replicationExtensionName", + "description": "Replication extension name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "ReplicationExtensionOperationStatus_Get": { + "$ref": "./examples/ReplicationExtensionOperationStatus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/locations/{location}/checkNameAvailability": { + "post": { + "tags": [ + "Tenant" + ], + "summary": "Performs the resource name availability check.", + "description": "Checks the resource name availability.", + "operationId": "CheckNameAvailability", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "path", + "name": "location", + "description": "Resource location.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Resource details.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityModel" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResponseModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "CheckNameAvailability": { + "$ref": "./examples/CheckNameAvailability.json" + } + } + } + }, + "/providers/Microsoft.DataReplication/operations": { + "get": { + "tags": [ + "Tenant" + ], + "summary": "Get a list of REST API operations supported by Microsoft.DataReplication.", + "description": "Gets the operations.", + "operationId": "Operations_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "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": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "deploymentId", + "description": "Deployment Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Deployment preflight model.", + "schema": { + "$ref": "#/definitions/DeploymentPreflightModel" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DeploymentPreflightModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "DeploymentPreflight": { + "$ref": "./examples/DeploymentPreflight.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}": { + "get": { + "tags": [ + "Vault" + ], + "summary": "Gets the vault.", + "description": "Gets the details of the vault.", + "operationId": "Vault_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Vault Model on success.", + "schema": { + "$ref": "#/definitions/VaultModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "Vault_Get": { + "$ref": "./examples/Vault_Get.json" + } + } + }, + "put": { + "tags": [ + "Vault" + ], + "summary": "Puts the vault.", + "description": "Creates the vault.", + "operationId": "Vault_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Vault properties.", + "schema": { + "$ref": "#/definitions/VaultModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/VaultModel" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/VaultModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Vault_Create": { + "$ref": "./examples/Vault_Create.json" + } + } + }, + "patch": { + "tags": [ + "Vault" + ], + "summary": "Updates the vault.", + "description": "Performs update on the vault.", + "operationId": "Vault_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Vault properties.", + "schema": { + "$ref": "#/definitions/VaultModelUpdate" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/VaultModel" + } + }, + "202": { + "description": "Returns success on update.", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Vault_Update": { + "$ref": "./examples/Vault_Update.json" + } + } + }, + "delete": { + "tags": [ + "Vault" + ], + "summary": "Deletes the vault.", + "description": "Removes the vault.", + "operationId": "Vault_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault Name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Returns success on deletion.", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Vault_Delete": { + "$ref": "./examples/Vault_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/replicationVaults": { + "get": { + "tags": [ + "Vault" + ], + "summary": "Lists the vaults.", + "description": "Gets the list of vaults in the given subscription.", + "operationId": "Vault_ListBySubscription", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token from the previous call.", + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Vault Model Collection on success.", + "schema": { + "$ref": "#/definitions/VaultModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Vault_ListBySubscription": { + "$ref": "./examples/Vault_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults": { + "get": { + "tags": [ + "Vault" + ], + "summary": "Lists the vaults.", + "description": "Gets the list of vaults in the given subscription and resource group.", + "operationId": "Vault_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token from the previous call.", + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Vault Model Collection on success.", + "schema": { + "$ref": "#/definitions/VaultModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Vault_List": { + "$ref": "./examples/Vault_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/operations/{operationId}": { + "get": { + "tags": [ + "Vault" + ], + "summary": "Gets the vault operation status.", + "description": "Tracks the results of an asynchronous operation on the vault.", + "operationId": "VaultOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "VaultOperationStatus_Get": { + "$ref": "./examples/VaultOperationStatus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/jobs/{workflowName}": { + "get": { + "tags": [ + "Workflow" + ], + "summary": "Gets the workflow.", + "description": "Gets the details of the job.", + "operationId": "Workflow_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "workflowName", + "description": "Workflow name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Workflow Model on success.", + "schema": { + "$ref": "#/definitions/WorkflowModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "Workflow_Get": { + "$ref": "./examples/Workflow_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/jobs": { + "get": { + "tags": [ + "Workflow" + ], + "summary": "Lists the workflows.", + "description": "Gets the list of jobs in the given vault.", + "operationId": "Workflow_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "query", + "name": "$filter", + "description": "Filter string.", + "type": "string" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token.", + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns Workflow Model Collection on success.", + "schema": { + "$ref": "#/definitions/WorkflowModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Workflow_List": { + "$ref": "./examples/Workflow_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/jobs/{workflowName}/operations/{operationId}": { + "get": { + "tags": [ + "Workflow" + ], + "summary": "Gets the workflow operation status.", + "description": "Tracks the results of an asynchronous operation on the job.", + "operationId": "WorkflowOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vaultName", + "description": "Vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "workflowName", + "description": "Workflow name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "WorkflowOperationStatus_Get": { + "$ref": "./examples/WorkflowOperationStatus_Get.json" + } + } + } + } + }, + "definitions": { + "ArmError": { + "description": "ARM error resembling ErrorResponse.", + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ArmErrorInfo" + } + } + }, + "ArmErrorInfo": { + "description": "Arm error info resembling ErrorDetail.", + "type": "object", + "properties": { + "code": { + "description": "Gets the error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Gets the error message.", + "type": "string", + "readOnly": true + } + } + }, + "AzStackHCIClusterProperties": { + "description": "AzStackHCI cluster properties.", + "required": [ + "clusterName", + "resourceName", + "storageAccountName", + "storageContainers" + ], + "type": "object", + "properties": { + "clusterName": { + "description": "Gets or sets the AzStackHCICluster FQDN name.", + "minLength": 1, + "type": "string" + }, + "resourceName": { + "description": "Gets or sets the AzStackHCICluster resource name.", + "minLength": 1, + "type": "string" + }, + "storageAccountName": { + "description": "Gets or sets the Storage account name.", + "minLength": 1, + "type": "string" + }, + "storageContainers": { + "description": "Gets or sets the list of AzStackHCICluster Storage Container.", + "type": "array", + "items": { + "$ref": "#/definitions/StorageContainerProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "AzStackHCIFabricModelCustomProperties": { + "description": "AzStackHCI fabric model custom properties.", + "required": [ + "azStackHciSiteId", + "cluster", + "migrationSolutionId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FabricModelCustomProperties" + } + ], + "properties": { + "azStackHciSiteId": { + "description": "Gets or sets the ARM Id of the AzStackHCI site.", + "minLength": 1, + "type": "string" + }, + "applianceName": { + "description": "Gets or sets the Appliance name.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "cluster": { + "$ref": "#/definitions/AzStackHCIClusterProperties" + }, + "fabricResourceId": { + "description": "Gets or sets the fabric resource Id.", + "type": "string", + "readOnly": true + }, + "fabricContainerId": { + "description": "Gets or sets the fabric container Id.", + "type": "string", + "readOnly": true + }, + "migrationSolutionId": { + "description": "Gets or sets the Migration solution ARM Id.", + "minLength": 1, + "type": "string" + }, + "migrationHubUri": { + "description": "Gets or sets the migration hub Uri.", + "type": "string", + "readOnly": true + } + } + }, + "CheckNameAvailabilityModel": { + "description": "Check name availability model.", + "type": "object", + "properties": { + "name": { + "description": "Gets or sets the resource name.", + "type": "string" + }, + "type": { + "description": "Gets or sets the resource type.", + "type": "string" + } + } + }, + "CheckNameAvailabilityResponseModel": { + "description": "Check name availability response model.", + "type": "object", + "properties": { + "nameAvailable": { + "description": "Gets or sets a value indicating whether resource name is available or not.", + "type": "boolean" + }, + "reason": { + "description": "Gets or sets the reason for resource name unavailability.", + "type": "string" + }, + "message": { + "description": "Gets or sets the message for resource name unavailability.", + "type": "string" + } + } + }, + "DeploymentPreflightModel": { + "description": "Deployment preflight model.", + "type": "object", + "properties": { + "resources": { + "description": "Gets or sets the list of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/DeploymentPreflightResource" + }, + "x-ms-identifiers": [] + } + } + }, + "DeploymentPreflightResource": { + "description": "Deployment preflight resource.", + "type": "object", + "properties": { + "name": { + "description": "Gets or sets the resource name.", + "type": "string" + }, + "type": { + "description": "Gets or sets the resource type.", + "type": "string" + }, + "location": { + "description": "Gets or sets the location of the resource.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "apiVersion": { + "description": "Gets or sets the Api version.", + "type": "string" + } + } + }, + "DraModel": { + "description": "Dra model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DraModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "DraModelCollection": { + "description": "Dra model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of Dras.", + "type": "array", + "items": { + "$ref": "#/definitions/DraModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "DraModelCustomProperties": { + "description": "Dra model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "DraModelProperties": { + "description": "Dra model properties.", + "required": [ + "authenticationIdentity", + "customProperties", + "machineId", + "machineName", + "resourceAccessIdentity" + ], + "type": "object", + "properties": { + "correlationId": { + "description": "Gets or sets the Dra correlation Id.", + "type": "string", + "readOnly": true + }, + "machineId": { + "description": "Gets or sets the machine Id where Dra is running.", + "minLength": 1, + "type": "string" + }, + "machineName": { + "description": "Gets or sets the machine name where Dra is running.", + "minLength": 1, + "type": "string" + }, + "authenticationIdentity": { + "$ref": "#/definitions/IdentityModel" + }, + "resourceAccessIdentity": { + "$ref": "#/definitions/IdentityModel" + }, + "isResponsive": { + "description": "Gets or sets a value indicating whether Dra is responsive.", + "type": "boolean", + "readOnly": true + }, + "lastHeartbeat": { + "format": "date-time", + "description": "Gets or sets the time when last heartbeat was sent by the Dra.", + "type": "string", + "readOnly": true + }, + "versionNumber": { + "description": "Gets or sets the Dra version.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Gets or sets the provisioning state of the Dra.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "healthErrors": { + "description": "Gets or sets the list of health errors.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "customProperties": { + "$ref": "#/definitions/DraModelCustomProperties" + } + } + }, + "EmailConfigurationModel": { + "description": "Email configuration model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/EmailConfigurationModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "EmailConfigurationModelCollection": { + "description": "Email configuration model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of email configurations.", + "type": "array", + "items": { + "$ref": "#/definitions/EmailConfigurationModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "EmailConfigurationModelProperties": { + "description": "Email configuration model properties.", + "required": [ + "sendToOwners" + ], + "type": "object", + "properties": { + "sendToOwners": { + "description": "Gets or sets a value indicating whether to send email to subscription administrator.", + "type": "boolean" + }, + "customEmailAddresses": { + "description": "Gets or sets the custom email address for sending emails.", + "type": "array", + "items": { + "type": "string" + } + }, + "locale": { + "description": "Gets or sets the locale for the email notification.", + "type": "string" + } + } + }, + "EmailConfigurationModelUpdate": { + "description": "Email configuration model for update.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/EmailConfigurationModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ErrorModel": { + "description": "Error model.", + "type": "object", + "properties": { + "code": { + "description": "Gets or sets the error code.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the error type.", + "type": "string", + "readOnly": true + }, + "severity": { + "description": "Gets or sets the error severity.", + "type": "string", + "readOnly": true + }, + "creationTime": { + "format": "date-time", + "description": "Gets or sets the creation time of error.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Gets or sets the error message.", + "type": "string", + "readOnly": true + }, + "causes": { + "description": "Gets or sets the possible causes of error.", + "type": "string", + "readOnly": true + }, + "recommendation": { + "description": "Gets or sets the recommended action to resolve error.", + "type": "string", + "readOnly": true + } + } + }, + "EventModel": { + "description": "Event model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/EventModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "EventModelCollection": { + "description": "Event model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of events.", + "type": "array", + "items": { + "$ref": "#/definitions/EventModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "EventModelCustomProperties": { + "description": "Event model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "EventModelProperties": { + "description": "Event model properties.", + "required": [ + "customProperties" + ], + "type": "object", + "properties": { + "resourceType": { + "description": "Gets or sets the resource type.", + "type": "string", + "readOnly": true + }, + "resourceName": { + "description": "Gets or sets the resource name.", + "type": "string", + "readOnly": true + }, + "eventType": { + "description": "Gets or sets the event type.", + "type": "string", + "readOnly": true + }, + "eventName": { + "description": "Gets or sets the event name.", + "type": "string", + "readOnly": true + }, + "timeOfOccurrence": { + "format": "date-time", + "description": "Gets or sets the time at which the event occurred at source.", + "type": "string", + "readOnly": true + }, + "severity": { + "description": "Gets or sets the event severity.", + "type": "string", + "readOnly": true + }, + "description": { + "description": "Gets or sets the event description.", + "type": "string", + "readOnly": true + }, + "correlationId": { + "description": "Gets or sets the event correlation Id.", + "type": "string", + "readOnly": true + }, + "healthErrors": { + "description": "Gets or sets the errors associated with this event.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "customProperties": { + "$ref": "#/definitions/EventModelCustomProperties" + } + } + }, + "FabricModel": { + "description": "Fabric model.", + "required": [ + "location", + "properties" + ], + "type": "object", + "properties": { + "location": { + "description": "Gets or sets the location of the fabric.", + "minLength": 1, + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "$ref": "#/definitions/FabricModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "FabricModelCollection": { + "description": "Fabric model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of fabrics.", + "type": "array", + "items": { + "$ref": "#/definitions/FabricModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "FabricModelCustomProperties": { + "description": "Fabric model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "FabricModelProperties": { + "description": "Fabric model properties.", + "required": [ + "customProperties" + ], + "type": "object", + "properties": { + "provisioningState": { + "description": "Gets or sets the provisioning state of the fabric.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "serviceEndpoint": { + "description": "Gets or sets the service endpoint.", + "type": "string", + "readOnly": true + }, + "serviceResourceId": { + "description": "Gets or sets the service resource Id.", + "type": "string", + "readOnly": true + }, + "health": { + "description": "Gets or sets the fabric health.", + "enum": [ + "Normal", + "Warning", + "Critical" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "HealthStatus", + "modelAsString": true + } + }, + "healthErrors": { + "description": "Gets or sets the list of health errors.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "customProperties": { + "$ref": "#/definitions/FabricModelCustomProperties" + } + } + }, + "FabricModelUpdate": { + "description": "Fabric model for update.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/FabricModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "FailoverProtectedItemProperties": { + "description": "Failover properties of the protected item.", + "type": "object", + "properties": { + "protectedItemName": { + "description": "Gets or sets the protected item name.", + "type": "string", + "readOnly": true + }, + "vmName": { + "description": "Gets or sets the VM name.", + "type": "string", + "readOnly": true + }, + "testVmName": { + "description": "Gets or sets the test VM name.", + "type": "string", + "readOnly": true + }, + "recoveryPointId": { + "description": "Gets or sets the recovery point Id.", + "type": "string", + "readOnly": true + }, + "recoveryPointTime": { + "format": "date-time", + "description": "Gets or sets the recovery point time.", + "type": "string", + "readOnly": true + }, + "networkName": { + "description": "Gets or sets the network name.", + "type": "string", + "readOnly": true + }, + "subnet": { + "description": "Gets or sets the network subnet.", + "type": "string", + "readOnly": true + } + } + }, + "FailoverWorkflowModelCustomProperties": { + "description": "Failover workflow model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkflowModelCustomProperties" + } + ], + "properties": { + "protectedItemDetails": { + "description": "Gets or sets the failed over protected item details.", + "type": "array", + "items": { + "$ref": "#/definitions/FailoverProtectedItemProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "HealthErrorModel": { + "description": "Health error model.", + "type": "object", + "properties": { + "affectedResourceType": { + "description": "Gets or sets the type of affected resource type.", + "type": "string" + }, + "affectedResourceCorrelationIds": { + "description": "Gets or sets the list of affected resource correlation Ids. This can be used to\r\nuniquely identify the count of items affected by a specific category and severity\r\nas well as count of item affected by an specific issue.", + "type": "array", + "items": { + "type": "string" + } + }, + "childErrors": { + "description": "Gets or sets a list of child health errors associated with this error.", + "type": "array", + "items": { + "$ref": "#/definitions/InnerHealthErrorModel" + }, + "x-ms-identifiers": [] + }, + "code": { + "description": "Gets or sets the error code.", + "type": "string", + "readOnly": true + }, + "healthCategory": { + "description": "Gets or sets the health category.", + "type": "string", + "readOnly": true + }, + "category": { + "description": "Gets or sets the error category.", + "type": "string", + "readOnly": true + }, + "severity": { + "description": "Gets or sets the error severity.", + "type": "string", + "readOnly": true + }, + "source": { + "description": "Gets or sets the error source.", + "type": "string", + "readOnly": true + }, + "creationTime": { + "format": "date-time", + "description": "Gets or sets the error creation time.", + "type": "string", + "readOnly": true + }, + "isCustomerResolvable": { + "description": "Gets or sets a value indicating whether the error is customer resolvable.", + "type": "boolean", + "readOnly": true + }, + "summary": { + "description": "Gets or sets the error summary.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Gets or sets the error message.", + "type": "string", + "readOnly": true + }, + "causes": { + "description": "Gets or sets possible causes of the error.", + "type": "string", + "readOnly": true + }, + "recommendation": { + "description": "Gets or sets recommended action to resolve the error.", + "type": "string", + "readOnly": true + } + } + }, + "HyperVMigrateFabricModelCustomProperties": { + "description": "HyperV migrate fabric model custom properties.", + "required": [ + "hyperVSiteId", + "migrationSolutionId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FabricModelCustomProperties" + } + ], + "properties": { + "hyperVSiteId": { + "description": "Gets or sets the ARM Id of the HyperV site.", + "minLength": 1, + "type": "string" + }, + "fabricResourceId": { + "description": "Gets or sets the fabric resource Id.", + "type": "string", + "readOnly": true + }, + "fabricContainerId": { + "description": "Gets or sets the fabric container Id.", + "type": "string", + "readOnly": true + }, + "migrationSolutionId": { + "description": "Gets or sets the migration solution ARM Id.", + "minLength": 1, + "type": "string" + }, + "migrationHubUri": { + "description": "Gets or sets the migration hub Uri.", + "type": "string", + "readOnly": true + } + } + }, + "HyperVToAzStackHCIDiskInput": { + "description": "HyperVToAzStack disk input.", + "required": [ + "diskFileFormat", + "diskId", + "diskSizeGB", + "isOsDisk" + ], + "type": "object", + "properties": { + "diskId": { + "description": "Gets or sets the disk Id.", + "minLength": 1, + "type": "string" + }, + "storageContainerId": { + "description": "Gets or sets the target storage account ARM Id.", + "type": "string" + }, + "isDynamic": { + "description": "Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard\r\ndisk.", + "type": "boolean" + }, + "diskSizeGB": { + "format": "int64", + "description": "Gets or sets the disk size in GB.", + "type": "integer" + }, + "diskFileFormat": { + "description": "Gets or sets the type of the virtual hard disk, vhd or vhdx.", + "minLength": 1, + "type": "string" + }, + "isOsDisk": { + "description": "Gets or sets a value indicating whether disk is os disk.", + "type": "boolean" + } + } + }, + "HyperVToAzStackHCIEventModelCustomProperties": { + "description": "HyperV to AzStackHCI event model custom properties. This class provides provider specific\r\ndetails for events of type DataContract.HealthEvents.HealthEventType.ProtectedItemHealth and\r\nDataContract.HealthEvents.HealthEventType.AgentHealth.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EventModelCustomProperties" + } + ], + "properties": { + "eventSourceFriendlyName": { + "description": "Gets or sets the friendly name of the source which has raised this health event.", + "type": "string", + "readOnly": true + }, + "protectedItemFriendlyName": { + "description": "Gets or sets the protected item friendly name.", + "type": "string", + "readOnly": true + }, + "sourceApplianceName": { + "description": "Gets or sets the source appliance name.", + "type": "string", + "readOnly": true + }, + "targetApplianceName": { + "description": "Gets or sets the source target name.", + "type": "string", + "readOnly": true + }, + "serverType": { + "description": "Gets or sets the server type.", + "type": "string", + "readOnly": true + } + } + }, + "HyperVToAzStackHCINicInput": { + "description": "HyperVToAzStackHCI NIC properties.", + "required": [ + "nicId", + "selectionTypeForFailover" + ], + "type": "object", + "properties": { + "nicId": { + "description": "Gets or sets the NIC Id.", + "minLength": 1, + "type": "string" + }, + "networkName": { + "description": "Gets or sets the network name.", + "type": "string", + "readOnly": true + }, + "targetNetworkId": { + "description": "Gets or sets the target network Id within AzStackHCI Cluster.", + "type": "string", + "readOnly": true + }, + "testNetworkId": { + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "type": "string", + "readOnly": true + }, + "selectionTypeForFailover": { + "description": "Gets or sets the selection type of the NIC.", + "enum": [ + "NotSelected", + "SelectedByUser", + "SelectedByDefault", + "SelectedByUserOverride" + ], + "type": "string", + "x-ms-enum": { + "name": "VMNicSelection", + "modelAsString": true + } + } + } + }, + "HyperVToAzStackHCIPlannedFailoverModelCustomProperties": { + "description": "HyperV to AzStackHCI planned failover model custom properties.", + "required": [ + "shutdownSourceVM" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PlannedFailoverModelCustomProperties" + } + ], + "properties": { + "shutdownSourceVM": { + "description": "Gets or sets a value indicating whether VM needs to be shut down.", + "type": "boolean" + } + } + }, + "HyperVToAzStackHCIPolicyModelCustomProperties": { + "description": "HyperV To AzStackHCI Policy model custom properties.", + "required": [ + "appConsistentFrequencyInMinutes", + "crashConsistentFrequencyInMinutes", + "recoveryPointHistoryInMinutes" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PolicyModelCustomProperties" + } + ], + "properties": { + "recoveryPointHistoryInMinutes": { + "format": "int32", + "description": "Gets or sets the duration in minutes until which the recovery points need to be\r\nstored.", + "type": "integer" + }, + "crashConsistentFrequencyInMinutes": { + "format": "int32", + "description": "Gets or sets the crash consistent snapshot frequency (in minutes).", + "type": "integer" + }, + "appConsistentFrequencyInMinutes": { + "format": "int32", + "description": "Gets or sets the app consistent snapshot frequency (in minutes).", + "type": "integer" + } + } + }, + "HyperVToAzStackHCIProtectedDiskProperties": { + "description": "HyperVToAzStackHCI protected disk properties.", + "type": "object", + "properties": { + "storageContainerId": { + "description": "Gets or sets the ARM Id of the storage container.", + "type": "string", + "readOnly": true + }, + "storageContainerLocalPath": { + "description": "Gets or sets the local path of the storage container.", + "type": "string", + "readOnly": true + }, + "sourceDiskId": { + "description": "Gets or sets the source disk Id.", + "type": "string", + "readOnly": true + }, + "sourceDiskName": { + "description": "Gets or sets the source disk Name.", + "type": "string", + "readOnly": true + }, + "seedDiskName": { + "description": "Gets or sets the seed disk name.", + "type": "string", + "readOnly": true + }, + "testMigrateDiskName": { + "description": "Gets or sets the test failover clone disk.", + "type": "string", + "readOnly": true + }, + "migrateDiskName": { + "description": "Gets or sets the failover clone disk.", + "type": "string", + "readOnly": true + }, + "isOsDisk": { + "description": "Gets or sets a value indicating whether the disk is the OS disk.", + "type": "boolean", + "readOnly": true + }, + "capacityInBytes": { + "format": "int64", + "description": "Gets or sets the disk capacity in bytes.", + "type": "integer", + "readOnly": true + }, + "isDynamic": { + "description": "Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard\r\ndisk.", + "type": "boolean", + "readOnly": true + }, + "diskType": { + "description": "Gets or sets the disk type.", + "type": "string", + "readOnly": true + } + } + }, + "HyperVToAzStackHCIProtectedItemModelCustomProperties": { + "description": "HyperV to AzStackHCI Protected item model custom properties.", + "required": [ + "customLocationRegion", + "disksToInclude", + "fabricDiscoveryMachineId", + "hyperVGeneration", + "nicsToInclude", + "runAsAccountId", + "sourceDraName", + "storageContainerId", + "targetArcClusterCustomLocationId", + "targetDraName", + "targetHciClusterId", + "targetResourceGroupId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemModelCustomProperties" + } + ], + "properties": { + "activeLocation": { + "description": "Gets or sets the location of the protected item.", + "enum": [ + "Primary", + "Recovery" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProtectedItemActiveLocation", + "modelAsString": true + } + }, + "targetHciClusterId": { + "description": "Gets or sets the Target HCI Cluster ARM Id.", + "minLength": 1, + "type": "string" + }, + "targetArcClusterCustomLocationId": { + "description": "Gets or sets the Target Arc Cluster Custom Location ARM Id.", + "minLength": 1, + "type": "string" + }, + "targetAzStackHciClusterName": { + "description": "Gets or sets the Target AzStackHCI cluster name.", + "type": "string", + "readOnly": true + }, + "fabricDiscoveryMachineId": { + "description": "Gets or sets the ARM Id of the discovered machine.", + "minLength": 1, + "type": "string" + }, + "disksToInclude": { + "description": "Gets or sets the list of disks to replicate.", + "minItems": 1, + "type": "array", + "items": { + "$ref": "#/definitions/HyperVToAzStackHCIDiskInput" + }, + "x-ms-identifiers": [] + }, + "nicsToInclude": { + "description": "Gets or sets the list of VM NIC to replicate.", + "minItems": 1, + "type": "array", + "items": { + "$ref": "#/definitions/HyperVToAzStackHCINicInput" + }, + "x-ms-identifiers": [] + }, + "sourceVmName": { + "description": "Gets or sets the source VM display name.", + "type": "string", + "readOnly": true + }, + "sourceCpuCores": { + "format": "int32", + "description": "Gets or sets the source VM CPU cores.", + "type": "integer", + "readOnly": true + }, + "sourceMemoryInMegaBytes": { + "format": "double", + "description": "Gets or sets the source VM ram memory size in megabytes.", + "type": "number", + "readOnly": true + }, + "targetVmName": { + "description": "Gets or sets the target VM display name.", + "type": "string" + }, + "targetResourceGroupId": { + "description": "Gets or sets the target resource group ARM Id.", + "minLength": 1, + "type": "string" + }, + "storageContainerId": { + "description": "Gets or sets the target storage container ARM Id.", + "minLength": 1, + "type": "string" + }, + "hyperVGeneration": { + "description": "Gets or sets the hypervisor generation of the virtual machine.", + "minLength": 1, + "type": "string" + }, + "targetNetworkId": { + "description": "Gets or sets the target network Id within AzStackHCI Cluster.", + "type": "string" + }, + "testNetworkId": { + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "type": "string" + }, + "targetCpuCores": { + "format": "int32", + "description": "Gets or sets the target CPU cores.", + "type": "integer" + }, + "isDynamicRam": { + "description": "Gets or sets a value indicating whether memory is dynamical.", + "type": "boolean" + }, + "dynamicMemoryConfig": { + "$ref": "#/definitions/ProtectedItemDynamicMemoryConfig" + }, + "targetMemoryInMegaBytes": { + "format": "int32", + "description": "Gets or sets the target memory in mega-bytes.", + "type": "integer" + }, + "runAsAccountId": { + "description": "Gets or sets the Run As account Id.", + "minLength": 1, + "type": "string" + }, + "sourceDraName": { + "description": "Gets or sets the source DRA name.", + "minLength": 1, + "type": "string" + }, + "targetDraName": { + "description": "Gets or sets the target DRA name.", + "minLength": 1, + "type": "string" + }, + "sourceApplianceName": { + "description": "Gets or sets the source appliance name.", + "type": "string", + "readOnly": true + }, + "targetApplianceName": { + "description": "Gets or sets the target appliance name.", + "type": "string", + "readOnly": true + }, + "osType": { + "description": "Gets or sets the type of the OS.", + "type": "string", + "readOnly": true + }, + "osName": { + "description": "Gets or sets the name of the OS.", + "type": "string", + "readOnly": true + }, + "firmwareType": { + "description": "Gets or sets the firmware type.", + "type": "string", + "readOnly": true + }, + "targetLocation": { + "description": "Gets or sets the target location.", + "type": "string", + "readOnly": true + }, + "customLocationRegion": { + "description": "Gets or sets the location of Azure Arc HCI custom location resource.", + "minLength": 1, + "type": "string" + }, + "failoverRecoveryPointId": { + "description": "Gets or sets the recovery point Id to which the VM was failed over.", + "type": "string", + "readOnly": true + }, + "lastRecoveryPointReceived": { + "format": "date-time", + "description": "Gets or sets the last recovery point received time.", + "type": "string", + "readOnly": true + }, + "lastRecoveryPointId": { + "description": "Gets or sets the last recovery point Id.", + "type": "string", + "readOnly": true + }, + "initialReplicationProgressPercentage": { + "format": "int32", + "description": "Gets or sets the initial replication progress percentage. This is calculated based on\r\ntotal bytes processed for all disks in the source VM.", + "type": "integer", + "readOnly": true + }, + "resyncProgressPercentage": { + "format": "int32", + "description": "Gets or sets the resync progress percentage. This is calculated based on total bytes\r\nprocessed for all disks in the source VM.", + "type": "integer", + "readOnly": true + }, + "protectedDisks": { + "description": "Gets or sets the list of protected disks.", + "type": "array", + "items": { + "$ref": "#/definitions/HyperVToAzStackHCIProtectedDiskProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "protectedNics": { + "description": "Gets or sets the VM NIC details.", + "type": "array", + "items": { + "$ref": "#/definitions/HyperVToAzStackHCIProtectedNicProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "targetVmBiosId": { + "description": "Gets or sets the BIOS Id of the target AzStackHCI VM.", + "type": "string", + "readOnly": true + }, + "lastReplicationUpdateTime": { + "format": "date-time", + "description": "Gets or sets the latest timestamp that replication status is updated.", + "type": "string", + "readOnly": true + } + } + }, + "HyperVToAzStackHCIProtectedNicProperties": { + "description": "HyperVToAzStackHCI NIC properties.", + "type": "object", + "properties": { + "nicId": { + "description": "Gets or sets the NIC Id.", + "type": "string", + "readOnly": true + }, + "macAddress": { + "description": "Gets or sets the NIC mac address.", + "type": "string", + "readOnly": true + }, + "networkName": { + "description": "Gets or sets the network name.", + "type": "string", + "readOnly": true + }, + "targetNetworkId": { + "description": "Gets or sets the target network Id within AzStackHCI Cluster.", + "type": "string", + "readOnly": true + }, + "testNetworkId": { + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "type": "string", + "readOnly": true + }, + "selectionTypeForFailover": { + "description": "Gets or sets the selection type of the NIC.", + "enum": [ + "NotSelected", + "SelectedByUser", + "SelectedByDefault", + "SelectedByUserOverride" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "VMNicSelection", + "modelAsString": true + } + } + } + }, + "HyperVToAzStackHCIRecoveryPointModelCustomProperties": { + "description": "HyperV to AzStackHCI recovery point model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/RecoveryPointModelCustomProperties" + } + ], + "properties": { + "diskIds": { + "description": "Gets or sets the list of the disk Ids.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "HyperVToAzStackHCIReplicationExtensionModelCustomProperties": { + "description": "HyperV to AzStackHCI Replication extension model custom properties.", + "required": [ + "azStackHciFabricArmId", + "hyperVFabricArmId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ReplicationExtensionModelCustomProperties" + } + ], + "properties": { + "hyperVFabricArmId": { + "description": "Gets or sets the ARM Id of the source HyperV fabric.", + "minLength": 1, + "type": "string" + }, + "hyperVSiteId": { + "description": "Gets or sets the ARM Id of the HyperV site.", + "type": "string", + "readOnly": true + }, + "azStackHciFabricArmId": { + "description": "Gets or sets the ARM Id of the target AzStackHCI fabric.", + "minLength": 1, + "type": "string" + }, + "azStackHciSiteId": { + "description": "Gets or sets the ARM Id of the AzStackHCI site.", + "type": "string", + "readOnly": true + }, + "storageAccountId": { + "description": "Gets or sets the storage account Id.", + "type": "string" + }, + "storageAccountSasSecretName": { + "description": "Gets or sets the Sas Secret of storage account.", + "type": "string" + }, + "asrServiceUri": { + "description": "Gets or sets the Uri of ASR.", + "type": "string", + "readOnly": true + }, + "rcmServiceUri": { + "description": "Gets or sets the Uri of Rcm.", + "type": "string", + "readOnly": true + }, + "gatewayServiceUri": { + "description": "Gets or sets the Uri of Gateway.", + "type": "string", + "readOnly": true + }, + "sourceGatewayServiceId": { + "description": "Gets or sets the gateway service Id of source.", + "type": "string", + "readOnly": true + }, + "targetGatewayServiceId": { + "description": "Gets or sets the gateway service Id of target.", + "type": "string", + "readOnly": true + }, + "sourceStorageContainerName": { + "description": "Gets or sets the source storage container name.", + "type": "string", + "readOnly": true + }, + "targetStorageContainerName": { + "description": "Gets or sets the target storage container name.", + "type": "string", + "readOnly": true + }, + "resourceLocation": { + "description": "Gets or sets the resource location.", + "type": "string", + "readOnly": true + }, + "subscriptionId": { + "description": "Gets or sets the subscription.", + "type": "string", + "readOnly": true + }, + "resourceGroup": { + "description": "Gets or sets the resource group.", + "type": "string", + "readOnly": true + } + } + }, + "IdentityModel": { + "description": "Identity model.", + "required": [ + "aadAuthority", + "applicationId", + "audience", + "objectId", + "tenantId" + ], + "type": "object", + "properties": { + "tenantId": { + "description": "Gets or sets the tenant Id of the SPN with which Dra communicates to service.", + "minLength": 1, + "type": "string" + }, + "applicationId": { + "description": "Gets or sets the client/application Id of the SPN with which Dra communicates to\r\nservice.", + "minLength": 1, + "type": "string" + }, + "objectId": { + "description": "Gets or sets the object Id of the SPN with which Dra communicates to service.", + "minLength": 1, + "type": "string" + }, + "audience": { + "description": "Gets or sets the audience of the SPN with which Dra communicates to service.", + "minLength": 1, + "type": "string" + }, + "aadAuthority": { + "description": "Gets or sets the authority of the SPN with which Dra communicates to service.", + "minLength": 1, + "type": "string" + } + } + }, + "InnerHealthErrorModel": { + "description": "Inner health error model.", + "type": "object", + "properties": { + "code": { + "description": "Gets or sets the error code.", + "type": "string", + "readOnly": true + }, + "healthCategory": { + "description": "Gets or sets the health category.", + "type": "string", + "readOnly": true + }, + "category": { + "description": "Gets or sets the error category.", + "type": "string", + "readOnly": true + }, + "severity": { + "description": "Gets or sets the error severity.", + "type": "string", + "readOnly": true + }, + "source": { + "description": "Gets or sets the error source.", + "type": "string", + "readOnly": true + }, + "creationTime": { + "format": "date-time", + "description": "Gets or sets the error creation time.", + "type": "string", + "readOnly": true + }, + "isCustomerResolvable": { + "description": "Gets or sets a value indicating whether the error is customer resolvable.", + "type": "boolean", + "readOnly": true + }, + "summary": { + "description": "Gets or sets the error summary.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Gets or sets the error message.", + "type": "string", + "readOnly": true + }, + "causes": { + "description": "Gets or sets possible causes of the error.", + "type": "string", + "readOnly": true + }, + "recommendation": { + "description": "Gets or sets recommended action to resolve the error.", + "type": "string", + "readOnly": true + } + } + }, + "OperationModel": { + "description": "Operation model.", + "type": "object", + "properties": { + "name": { + "description": "Gets or sets the name of the operation.", + "type": "string" + }, + "isDataAction": { + "description": "Gets or sets a value indicating whether the action is specific to data plane or\r\ncontrol plane.", + "type": "boolean" + }, + "origin": { + "description": "Gets or sets the executor of the operation.", + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationModelProperties" + } + } + }, + "OperationModelCollection": { + "description": "Operation model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of protected items.", + "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 + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "PolicyModelCollection": { + "description": "Policy model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of policies.", + "type": "array", + "items": { + "$ref": "#/definitions/PolicyModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "PolicyModelCustomProperties": { + "description": "Policy model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "PolicyModelProperties": { + "description": "Policy model properties.", + "required": [ + "customProperties" + ], + "type": "object", + "properties": { + "provisioningState": { + "description": "Gets or sets the provisioning state of the policy.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "customProperties": { + "$ref": "#/definitions/PolicyModelCustomProperties" + } + } + }, + "PolicyModelUpdate": { + "description": "Policy model for update.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PolicyModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ProtectedItemDynamicMemoryConfig": { + "description": "Protected item dynamic memory config.", + "type": "object", + "properties": { + "maximumMemoryInMegaBytes": { + "format": "int64", + "description": "Gets or sets maximum memory in MB.", + "type": "integer", + "readOnly": true + }, + "minimumMemoryInMegaBytes": { + "format": "int64", + "description": "Gets or sets minimum memory in MB.", + "type": "integer", + "readOnly": true + }, + "targetMemoryBufferPercentage": { + "format": "int32", + "description": "Gets or sets target memory buffer in %.", + "type": "integer", + "readOnly": true + } + } + }, + "ProtectedItemJobProperties": { + "description": "Protected item job properties.", + "type": "object", + "properties": { + "scenarioName": { + "description": "Gets or sets protection scenario name.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Gets or sets workflow Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets workflow name.", + "type": "string", + "readOnly": true + }, + "displayName": { + "description": "Gets or sets the workflow friendly display name.", + "type": "string", + "readOnly": true + }, + "state": { + "description": "Gets or sets workflow state.", + "type": "string", + "readOnly": true + }, + "startTime": { + "format": "date-time", + "description": "Gets or sets start time of the workflow.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Gets or sets end time of the workflow.", + "type": "string", + "readOnly": true + } + } + }, + "ProtectedItemModel": { + "description": "Protected item model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ProtectedItemModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ProtectedItemModelCollection": { + "description": "Protected item model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of protected items.", + "type": "array", + "items": { + "$ref": "#/definitions/ProtectedItemModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "ProtectedItemModelCustomProperties": { + "description": "Protected item model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "ProtectedItemModelProperties": { + "description": "Protected item model properties.", + "required": [ + "customProperties", + "policyName", + "replicationExtensionName" + ], + "type": "object", + "properties": { + "policyName": { + "description": "Gets or sets the policy name.", + "minLength": 1, + "type": "string" + }, + "replicationExtensionName": { + "description": "Gets or sets the replication extension name.", + "minLength": 1, + "type": "string" + }, + "correlationId": { + "description": "Gets or sets the protected item correlation Id.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Gets or sets the provisioning state of the Dra.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "protectionState": { + "description": "Gets or sets the protection state.", + "enum": [ + "UnprotectedStatesBegin", + "EnablingProtection", + "EnablingFailed", + "DisablingProtection", + "MarkedForDeletion", + "DisablingFailed", + "UnprotectedStatesEnd", + "InitialReplicationStatesBegin", + "InitialReplicationInProgress", + "InitialReplicationCompletedOnPrimary", + "InitialReplicationCompletedOnRecovery", + "InitialReplicationFailed", + "InitialReplicationStatesEnd", + "ProtectedStatesBegin", + "Protected", + "ProtectedStatesEnd", + "PlannedFailoverTransitionStatesBegin", + "PlannedFailoverInitiated", + "PlannedFailoverCompleting", + "PlannedFailoverCompleted", + "PlannedFailoverFailed", + "PlannedFailoverCompletionFailed", + "PlannedFailoverTransitionStatesEnd", + "UnplannedFailoverTransitionStatesBegin", + "UnplannedFailoverInitiated", + "UnplannedFailoverCompleting", + "UnplannedFailoverCompleted", + "UnplannedFailoverFailed", + "UnplannedFailoverCompletionFailed", + "UnplannedFailoverTransitionStatesEnd", + "CommitFailoverStatesBegin", + "CommitFailoverInProgressOnPrimary", + "CommitFailoverInProgressOnRecovery", + "CommitFailoverCompleted", + "CommitFailoverFailedOnPrimary", + "CommitFailoverFailedOnRecovery", + "CommitFailoverStatesEnd", + "CancelFailoverStatesBegin", + "CancelFailoverInProgressOnPrimary", + "CancelFailoverInProgressOnRecovery", + "CancelFailoverFailedOnPrimary", + "CancelFailoverFailedOnRecovery", + "CancelFailoverStatesEnd", + "ChangeRecoveryPointStatesBegin", + "ChangeRecoveryPointInitiated", + "ChangeRecoveryPointCompleted", + "ChangeRecoveryPointFailed", + "ChangeRecoveryPointStatesEnd", + "ReprotectStatesBegin", + "ReprotectInitiated", + "ReprotectFailed", + "ReprotectStatesEnd" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProtectionState", + "modelAsString": true + } + }, + "protectionStateDescription": { + "description": "Gets or sets the protection state description.", + "type": "string", + "readOnly": true + }, + "testFailoverState": { + "description": "Gets or sets the test failover state.", + "enum": [ + "None", + "TestFailoverInitiated", + "TestFailoverCompleting", + "TestFailoverCompleted", + "TestFailoverFailed", + "TestFailoverCompletionFailed", + "TestFailoverCleanupInitiated", + "TestFailoverCleanupCompleting", + "MarkedForDeletion" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "TestFailoverState", + "modelAsString": true + } + }, + "testFailoverStateDescription": { + "description": "Gets or sets the Test failover state description.", + "type": "string", + "readOnly": true + }, + "resynchronizationState": { + "description": "Gets or sets the resynchronization state.", + "enum": [ + "None", + "ResynchronizationInitiated", + "ResynchronizationCompleted", + "ResynchronizationFailed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ResynchronizationState", + "modelAsString": true + } + }, + "fabricObjectId": { + "description": "Gets or sets the fabric object Id.", + "type": "string", + "readOnly": true + }, + "fabricObjectName": { + "description": "Gets or sets the fabric object name.", + "type": "string", + "readOnly": true + }, + "sourceFabricProviderId": { + "description": "Gets or sets the source fabric provider Id.", + "type": "string", + "readOnly": true + }, + "targetFabricProviderId": { + "description": "Gets or sets the target fabric provider Id.", + "type": "string", + "readOnly": true + }, + "fabricId": { + "description": "Gets or sets the fabric Id.", + "type": "string", + "readOnly": true + }, + "targetFabricId": { + "description": "Gets or sets the target fabric Id.", + "type": "string", + "readOnly": true + }, + "draId": { + "description": "Gets or sets the DRA Id.", + "type": "string", + "readOnly": true + }, + "targetDraId": { + "description": "Gets or sets the target DRA Id.", + "type": "string", + "readOnly": true + }, + "resyncRequired": { + "description": "Gets or sets a value indicating whether resynchronization is required or not.", + "type": "boolean", + "readOnly": true + }, + "lastSuccessfulPlannedFailoverTime": { + "format": "date-time", + "description": "Gets or sets the Last successful planned failover time.", + "type": "string", + "readOnly": true + }, + "lastSuccessfulUnplannedFailoverTime": { + "format": "date-time", + "description": "Gets or sets the Last successful unplanned failover time.", + "type": "string", + "readOnly": true + }, + "lastSuccessfulTestFailoverTime": { + "format": "date-time", + "description": "Gets or sets the Last successful test failover time.", + "type": "string", + "readOnly": true + }, + "currentJob": { + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemJobProperties" + } + ], + "readOnly": true + }, + "allowedJobs": { + "description": "Gets or sets the allowed scenarios on the protected item.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "lastFailedEnableProtectionJob": { + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemJobProperties" + } + ], + "readOnly": true + }, + "lastFailedPlannedFailoverJob": { + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemJobProperties" + } + ], + "readOnly": true + }, + "lastTestFailoverJob": { + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemJobProperties" + } + ], + "readOnly": true + }, + "replicationHealth": { + "description": "Gets or sets protected item replication health.", + "enum": [ + "Normal", + "Warning", + "Critical" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "HealthStatus", + "modelAsString": true + } + }, + "healthErrors": { + "description": "Gets or sets the list of health errors.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "customProperties": { + "$ref": "#/definitions/ProtectedItemModelCustomProperties" + } + } + }, + "ProtectedItemModelUpdate": { + "description": "Protected item model for update.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ProtectedItemModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "RecoveryPointModel": { + "description": "Recovery point model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/RecoveryPointModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "RecoveryPointModelCollection": { + "description": "Recovery point model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of recovery points.", + "type": "array", + "items": { + "$ref": "#/definitions/RecoveryPointModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "RecoveryPointModelCustomProperties": { + "description": "Recovery point model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "RecoveryPointModelProperties": { + "description": "Recovery point model properties.", + "required": [ + "customProperties", + "recoveryPointTime", + "recoveryPointType" + ], + "type": "object", + "properties": { + "recoveryPointTime": { + "format": "date-time", + "description": "Gets or sets the recovery point time.", + "type": "string" + }, + "recoveryPointType": { + "description": "Gets or sets the recovery point type.", + "enum": [ + "ApplicationConsistent", + "CrashConsistent" + ], + "type": "string", + "x-ms-enum": { + "name": "RecoveryPointType", + "modelAsString": true + } + }, + "customProperties": { + "$ref": "#/definitions/RecoveryPointModelCustomProperties" + } + } + }, + "ReplicationExtensionModel": { + "description": "Replication extension model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ReplicationExtensionModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ReplicationExtensionModelCollection": { + "description": "Replication extension model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of replication extensions.", + "type": "array", + "items": { + "$ref": "#/definitions/ReplicationExtensionModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "ReplicationExtensionModelCustomProperties": { + "description": "Replication extension model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + }, + "discriminator": "instanceType" + }, + "ReplicationExtensionModelProperties": { + "description": "Replication extension model properties.", + "required": [ + "customProperties" + ], + "type": "object", + "properties": { + "provisioningState": { + "description": "Gets or sets the provisioning state of the replication extension.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "customProperties": { + "$ref": "#/definitions/ReplicationExtensionModelCustomProperties" + } + } + }, + "StorageContainerProperties": { + "description": "Storage container properties.", + "required": [ + "clusterSharedVolumePath", + "name" + ], + "type": "object", + "properties": { + "name": { + "description": "Gets or sets the Name.", + "minLength": 1, + "type": "string" + }, + "clusterSharedVolumePath": { + "description": "Gets or sets the ClusterSharedVolumePath.", + "minLength": 1, + "type": "string" + } + } + }, + "SystemDataModel": { + "description": "System data required to be defined for Azure resources.", + "type": "object", + "properties": { + "createdBy": { + "description": "Gets or sets identity that created the resource.", + "type": "string" + }, + "createdByType": { + "description": "Gets or sets the type of identity that created the resource: user, application,\r\nmanagedIdentity.", + "type": "string" + }, + "createdAt": { + "format": "date-time", + "description": "Gets or sets the timestamp of resource creation (UTC).", + "type": "string" + }, + "lastModifiedBy": { + "description": "Gets or sets the identity that last modified the resource.", + "type": "string" + }, + "lastModifiedByType": { + "description": "Gets or sets the type of identity that last modified the resource: user, application,\r\nmanagedIdentity.", + "type": "string" + }, + "lastModifiedAt": { + "format": "date-time", + "description": "Gets or sets the timestamp of resource last modification (UTC).", + "type": "string" + } + } + }, + "TaskModel": { + "description": "Task model.", + "type": "object", + "properties": { + "taskName": { + "description": "Gets or sets the task name.", + "type": "string", + "readOnly": true + }, + "state": { + "description": "Gets or sets the task state.", + "enum": [ + "Pending", + "Started", + "Succeeded", + "Failed", + "Cancelled", + "Skipped" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "TaskState", + "modelAsString": true + } + }, + "startTime": { + "format": "date-time", + "description": "Gets or sets the start time.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Gets or sets the end time.", + "type": "string", + "readOnly": true + }, + "customProperties": { + "$ref": "#/definitions/TaskModelCustomProperties" + }, + "childrenWorkflows": { + "description": "Gets or sets the list of children workflow models.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkflowModel" + }, + "x-ms-identifiers": [] + } + } + }, + "TaskModelCustomProperties": { + "description": "Task model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "minLength": 1, + "type": "string" + } + } + }, + "TestFailoverCleanupWorkflowModelCustomProperties": { + "description": "Test failover cleanup workflow model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkflowModelCustomProperties" + } + ], + "properties": { + "comments": { + "description": "Gets or sets the test failover cleanup comments.", + "type": "string", + "readOnly": true + } + } + }, + "TestFailoverWorkflowModelCustomProperties": { + "description": "Test failover workflow model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkflowModelCustomProperties" + } + ], + "properties": { + "protectedItemDetails": { + "description": "Gets or sets the test VM details.", + "type": "array", + "items": { + "$ref": "#/definitions/FailoverProtectedItemProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "VMwareDraModelCustomProperties": { + "description": "VMware DRA model custom properties.", + "required": [ + "biosId", + "marsAuthenticationIdentity" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DraModelCustomProperties" + } + ], + "properties": { + "biosId": { + "description": "Gets or sets the BIOS Id of the DRA machine.", + "minLength": 1, + "type": "string" + }, + "marsAuthenticationIdentity": { + "$ref": "#/definitions/IdentityModel" + } + } + }, + "VMwareMigrateFabricModelCustomProperties": { + "description": "VMware migrate fabric model custom properties.", + "required": [ + "migrationSolutionId", + "vmwareSiteId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FabricModelCustomProperties" + } + ], + "properties": { + "vmwareSiteId": { + "description": "Gets or sets the ARM Id of the VMware site.", + "minLength": 1, + "type": "string" + }, + "migrationSolutionId": { + "description": "Gets or sets the ARM Id of the migration solution.", + "minLength": 1, + "type": "string" + } + } + }, + "VMwareToAzStackHCIDiskInput": { + "description": "VMwareToAzStack disk input.", + "required": [ + "diskFileFormat", + "diskId", + "diskSizeGB", + "isOsDisk" + ], + "type": "object", + "properties": { + "diskId": { + "description": "Gets or sets the disk Id.", + "minLength": 1, + "type": "string" + }, + "storageContainerId": { + "description": "Gets or sets the target storage account ARM Id.", + "type": "string" + }, + "isDynamic": { + "description": "Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard\r\ndisk.", + "type": "boolean" + }, + "diskSizeGB": { + "format": "int64", + "description": "Gets or sets the disk size in GB.", + "type": "integer" + }, + "diskFileFormat": { + "description": "Gets or sets the type of the virtual hard disk, vhd or vhdx.", + "minLength": 1, + "type": "string" + }, + "isOsDisk": { + "description": "Gets or sets a value indicating whether disk is os disk.", + "type": "boolean" + } + } + }, + "VMwareToAzStackHCINicInput": { + "description": "VMwareToAzStackHCI NIC properties.", + "required": [ + "label", + "nicId", + "selectionTypeForFailover" + ], + "type": "object", + "properties": { + "nicId": { + "description": "Gets or sets the NIC Id.", + "minLength": 1, + "type": "string" + }, + "label": { + "description": "Gets or sets the NIC label.", + "minLength": 1, + "type": "string" + }, + "networkName": { + "description": "Gets or sets the network name.", + "type": "string", + "readOnly": true + }, + "targetNetworkId": { + "description": "Gets or sets the target network Id within AzStackHCI Cluster.", + "type": "string", + "readOnly": true + }, + "testNetworkId": { + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "type": "string", + "readOnly": true + }, + "selectionTypeForFailover": { + "description": "Gets or sets the selection type of the NIC.", + "enum": [ + "NotSelected", + "SelectedByUser", + "SelectedByDefault", + "SelectedByUserOverride" + ], + "type": "string", + "x-ms-enum": { + "name": "VMNicSelection", + "modelAsString": true + } + } + } + }, + "VMwareToAzStackHCIPlannedFailoverModelCustomProperties": { + "description": "VMware to AzStackHCI planned failover model custom properties.", + "required": [ + "shutdownSourceVM" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PlannedFailoverModelCustomProperties" + } + ], + "properties": { + "shutdownSourceVM": { + "description": "Gets or sets a value indicating whether VM needs to be shut down.", + "type": "boolean" + } + } + }, + "VMwareToAzStackHCIPolicyModelCustomProperties": { + "description": "VMware To AzStackHCI Policy model custom properties.", + "required": [ + "appConsistentFrequencyInMinutes", + "crashConsistentFrequencyInMinutes", + "recoveryPointHistoryInMinutes" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PolicyModelCustomProperties" + } + ], + "properties": { + "recoveryPointHistoryInMinutes": { + "format": "int32", + "description": "Gets or sets the duration in minutes until which the recovery points need to be\r\nstored.", + "type": "integer" + }, + "crashConsistentFrequencyInMinutes": { + "format": "int32", + "description": "Gets or sets the crash consistent snapshot frequency (in minutes).", + "type": "integer" + }, + "appConsistentFrequencyInMinutes": { + "format": "int32", + "description": "Gets or sets the app consistent snapshot frequency (in minutes).", + "type": "integer" + } + } + }, + "VMwareToAzStackHCIProtectedDiskProperties": { + "description": "VMwareToAzStackHCI protected disk properties.", + "type": "object", + "properties": { + "storageContainerId": { + "description": "Gets or sets the ARM Id of the storage container.", + "type": "string", + "readOnly": true + }, + "storageContainerLocalPath": { + "description": "Gets or sets the local path of the storage container.", + "type": "string", + "readOnly": true + }, + "sourceDiskId": { + "description": "Gets or sets the source disk Id.", + "type": "string", + "readOnly": true + }, + "sourceDiskName": { + "description": "Gets or sets the source disk Name.", + "type": "string", + "readOnly": true + }, + "seedDiskName": { + "description": "Gets or sets the seed disk name.", + "type": "string", + "readOnly": true + }, + "testMigrateDiskName": { + "description": "Gets or sets the test failover clone disk.", + "type": "string", + "readOnly": true + }, + "migrateDiskName": { + "description": "Gets or sets the failover clone disk.", + "type": "string", + "readOnly": true + }, + "isOsDisk": { + "description": "Gets or sets a value indicating whether the disk is the OS disk.", + "type": "boolean", + "readOnly": true + }, + "capacityInBytes": { + "format": "int64", + "description": "Gets or sets the disk capacity in bytes.", + "type": "integer", + "readOnly": true + }, + "isDynamic": { + "description": "Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard\r\ndisk.", + "type": "boolean", + "readOnly": true + }, + "diskType": { + "description": "Gets or sets the disk type.", + "type": "string", + "readOnly": true + } + } + }, + "VMwareToAzStackHCIProtectedItemModelCustomProperties": { + "description": "VMware to AzStackHCI Protected item model custom properties.", + "required": [ + "customLocationRegion", + "disksToInclude", + "fabricDiscoveryMachineId", + "hyperVGeneration", + "nicsToInclude", + "runAsAccountId", + "sourceDraName", + "storageContainerId", + "targetArcClusterCustomLocationId", + "targetDraName", + "targetHciClusterId", + "targetResourceGroupId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemModelCustomProperties" + } + ], + "properties": { + "activeLocation": { + "description": "Gets or sets the location of the protected item.", + "enum": [ + "Primary", + "Recovery" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProtectedItemActiveLocation", + "modelAsString": true + } + }, + "targetHciClusterId": { + "description": "Gets or sets the Target HCI Cluster ARM Id.", + "minLength": 1, + "type": "string" + }, + "targetArcClusterCustomLocationId": { + "description": "Gets or sets the Target Arc Cluster Custom Location ARM Id.", + "minLength": 1, + "type": "string" + }, + "targetAzStackHciClusterName": { + "description": "Gets or sets the Target AzStackHCI cluster name.", + "type": "string", + "readOnly": true + }, + "storageContainerId": { + "description": "Gets or sets the target storage container ARM Id.", + "minLength": 1, + "type": "string" + }, + "targetResourceGroupId": { + "description": "Gets or sets the target resource group ARM Id.", + "minLength": 1, + "type": "string" + }, + "targetLocation": { + "description": "Gets or sets the target location.", + "type": "string", + "readOnly": true + }, + "customLocationRegion": { + "description": "Gets or sets the location of Azure Arc HCI custom location resource.", + "minLength": 1, + "type": "string" + }, + "disksToInclude": { + "description": "Gets or sets the list of disks to replicate.", + "minItems": 1, + "type": "array", + "items": { + "$ref": "#/definitions/VMwareToAzStackHCIDiskInput" + }, + "x-ms-identifiers": [] + }, + "nicsToInclude": { + "description": "Gets or sets the list of VM NIC to replicate.", + "minItems": 1, + "type": "array", + "items": { + "$ref": "#/definitions/VMwareToAzStackHCINicInput" + }, + "x-ms-identifiers": [] + }, + "protectedDisks": { + "description": "Gets or sets the list of protected disks.", + "type": "array", + "items": { + "$ref": "#/definitions/VMwareToAzStackHCIProtectedDiskProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "protectedNics": { + "description": "Gets or sets the VM NIC details.", + "type": "array", + "items": { + "$ref": "#/definitions/VMwareToAzStackHCIProtectedNicProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "targetVmBiosId": { + "description": "Gets or sets the BIOS Id of the target AzStackHCI VM.", + "type": "string", + "readOnly": true + }, + "targetVmName": { + "description": "Gets or sets the target VM display name.", + "type": "string" + }, + "hyperVGeneration": { + "description": "Gets or sets the hypervisor generation of the virtual machine possible values are 1,2.", + "minLength": 1, + "type": "string" + }, + "targetNetworkId": { + "description": "Gets or sets the target network Id within AzStackHCI Cluster.", + "type": "string" + }, + "testNetworkId": { + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "type": "string" + }, + "targetCpuCores": { + "format": "int32", + "description": "Gets or sets the target CPU cores.", + "type": "integer" + }, + "isDynamicRam": { + "description": "Gets or sets a value indicating whether memory is dynamical.", + "type": "boolean" + }, + "dynamicMemoryConfig": { + "$ref": "#/definitions/ProtectedItemDynamicMemoryConfig" + }, + "targetMemoryInMegaBytes": { + "format": "int32", + "description": "Gets or sets the target memory in mega-bytes.", + "type": "integer" + }, + "osType": { + "description": "Gets or sets the type of the OS.", + "type": "string", + "readOnly": true + }, + "osName": { + "description": "Gets or sets the name of the OS.", + "type": "string", + "readOnly": true + }, + "firmwareType": { + "description": "Gets or sets the firmware type.", + "type": "string", + "readOnly": true + }, + "fabricDiscoveryMachineId": { + "description": "Gets or sets the ARM Id of the discovered machine.", + "minLength": 1, + "type": "string" + }, + "sourceVmName": { + "description": "Gets or sets the source VM display name.", + "type": "string", + "readOnly": true + }, + "sourceCpuCores": { + "format": "int32", + "description": "Gets or sets the source VM CPU cores.", + "type": "integer", + "readOnly": true + }, + "sourceMemoryInMegaBytes": { + "format": "double", + "description": "Gets or sets the source VM ram memory size in megabytes.", + "type": "number", + "readOnly": true + }, + "runAsAccountId": { + "description": "Gets or sets the run as account Id.", + "minLength": 1, + "type": "string" + }, + "sourceDraName": { + "description": "Gets or sets the source DRA name.", + "minLength": 1, + "type": "string" + }, + "targetDraName": { + "description": "Gets or sets the target DRA name.", + "minLength": 1, + "type": "string" + }, + "sourceApplianceName": { + "description": "Gets or sets the source appliance name.", + "type": "string", + "readOnly": true + }, + "targetApplianceName": { + "description": "Gets or sets the target appliance name.", + "type": "string", + "readOnly": true + }, + "failoverRecoveryPointId": { + "description": "Gets or sets the recovery point Id to which the VM was failed over.", + "type": "string", + "readOnly": true + }, + "lastRecoveryPointReceived": { + "format": "date-time", + "description": "Gets or sets the last recovery point received time.", + "type": "string", + "readOnly": true + }, + "lastRecoveryPointId": { + "description": "Gets or sets the last recovery point Id.", + "type": "string", + "readOnly": true + }, + "initialReplicationProgressPercentage": { + "format": "int32", + "description": "Gets or sets the initial replication progress percentage. This is calculated based on\r\ntotal bytes processed for all disks in the source VM.", + "type": "integer", + "readOnly": true + }, + "migrationProgressPercentage": { + "format": "int32", + "description": "Gets or sets the migration progress percentage.", + "type": "integer", + "readOnly": true + }, + "resumeProgressPercentage": { + "format": "int32", + "description": "Gets or sets the resume progress percentage.", + "type": "integer", + "readOnly": true + }, + "resyncProgressPercentage": { + "format": "int32", + "description": "Gets or sets the resync progress percentage. This is calculated based on total bytes\r\nprocessed for all disks in the source VM.", + "type": "integer", + "readOnly": true + }, + "resyncRetryCount": { + "format": "int64", + "description": "Gets or sets the resync retry count.", + "type": "integer", + "readOnly": true + }, + "resyncRequired": { + "description": "Gets or sets a value indicating whether resync is required.", + "type": "boolean", + "readOnly": true + }, + "resyncState": { + "description": "Gets or sets the resync state.", + "enum": [ + "None", + "PreparedForResynchronization", + "StartedResynchronization" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "VMwareToAzureMigrateResyncState", + "modelAsString": true + } + }, + "performAutoResync": { + "description": "Gets or sets a value indicating whether auto resync is to be done.", + "type": "boolean" + }, + "resumeRetryCount": { + "format": "int64", + "description": "Gets or sets the resume retry count.", + "type": "integer", + "readOnly": true + }, + "lastReplicationUpdateTime": { + "format": "date-time", + "description": "Gets or sets the latest timestamp that replication status is updated.", + "type": "string", + "readOnly": true + } + } + }, + "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 + } + } + }, + "VaultModel": { + "description": "Vault model.", + "required": [ + "location" + ], + "type": "object", + "properties": { + "location": { + "description": "Gets or sets the location of the vault.", + "minLength": 1, + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "$ref": "#/definitions/VaultModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "VaultModelCollection": { + "description": "Vault model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of vaults.", + "type": "array", + "items": { + "$ref": "#/definitions/VaultModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "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": { + "properties": { + "$ref": "#/definitions/VaultModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "WorkflowModel": { + "description": "Workflow model.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/WorkflowModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "maxLength": 15, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "WorkflowModelCollection": { + "description": "Workflow model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of workflows.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkflowModel" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "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": { + "SubscriptionIdParameter": { + "in": "path", + "name": "subscriptionId", + "description": "The subscription Id.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ResourceGroupNameParameter": { + "in": "path", + "name": "resourceGroupName", + "description": "Resource group name.", + "required": true, + "type": "string", + "maxLength": 90, + "minLength": 1, + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "in": "query", + "name": "api-version", + "description": "The client API version.", + "required": true, + "type": "string", + "minLength": 1, + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow" + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "tags": [ + { + "name": "Dra", + "description": "Dra Controller." + }, + { + "name": "EmailConfiguration", + "description": "Email configuration Controller." + }, + { + "name": "Event", + "description": "Event Controller." + }, + { + "name": "Fabric", + "description": "Fabric Controller." + }, + { + "name": "Policy", + "description": "Policy Controller." + }, + { + "name": "ProtectedItem", + "description": "Protected items controller." + }, + { + "name": "RecoveryPoint", + "description": "Recovery points controller." + }, + { + "name": "ReplicationExtension", + "description": "Replication extension controller." + }, + { + "name": "Tenant", + "description": "Tenant controller." + }, + { + "name": "Vault", + "description": "Vault Controller." + }, + { + "name": "Workflow", + "description": "Workflow controller." + } + ] +} diff --git a/specification/azuresiterecovery/resource-manager/readme.md b/specification/azuresiterecovery/resource-manager/readme.md new file mode 100644 index 000000000000..994c6b7f78da --- /dev/null +++ b/specification/azuresiterecovery/resource-manager/readme.md @@ -0,0 +1,57 @@ +# Azure Site Recovery + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Azure Site Recovery (azuresiterecovery). + +## Getting Started + +To build the SDK for Azure Site Recovery, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` + +--- + +## Configuration + +### Basic Information + +These are the global settings for the azuresiterecovery. + +``` yaml +openapi-type: arm +tag: package-2021-02-16-preview +``` + +### Tag: package-2021-02-16-preview + +These settings apply only when `--tag=package-2021-02-16-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2021-02-16-preview' +input-file: +- Microsoft.DataReplication/preview/2021-02-16-preview/swagger.json +``` + +## Suppression + +--- + +# 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-net + - repo: azure-resource-manager-schemas +``` + + + diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/LocationBasedOperationResults_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/LocationBasedOperationResults_Get.json new file mode 100644 index 000000000000..ea56f0d04f03 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/LocationBasedOperationResults_Get.json @@ -0,0 +1,22 @@ +{ + "title": "Gets the location based operation result status", + "operationId": "LocationBasedOperationResults_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "location": "Central US EUAP", + "operationId": "lghle", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "id": "inhnjrxtqtyumflbzdne", + "name": "eawsgzqm", + "status": "jjijbsrjfqvqzriekxfvynb", + "startTime": "slmhzgrfzkkrxdalacmidyxijq", + "endTime": "ixkalnbiajfpjtur" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/routes.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/routes.tsp index 6fccaea7abac..4155ae46303d 100644 --- a/specification/recoveryservicesdatareplication/DataReplication.Management/routes.tsp +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/routes.tsp @@ -77,3 +77,21 @@ interface OperationResults { ...Foundations.OperationIdParameter, ): ArmResponse | ErrorResponse; } + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "Cannot use @armResourceOperations decorator here, the auto-generated routes do not match feature requirements" +interface LocationBasedOperationResults { + /** + * Gets the location based operation result. + */ + @summary("Gets the location based operation result status.") + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/locations/{location}/operationResults/{operationId}") + @armResourceRead(ArmResponse) + @get + get( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...LocationResourceParameter, + ...Foundations.OperationIdParameter, + ): ArmResponse | ErrorResponse; +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/LocationBasedOperationResults_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/LocationBasedOperationResults_Get.json new file mode 100644 index 000000000000..ea56f0d04f03 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/LocationBasedOperationResults_Get.json @@ -0,0 +1,22 @@ +{ + "title": "Gets the location based operation result status", + "operationId": "LocationBasedOperationResults_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "location": "Central US EUAP", + "operationId": "lghle", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "id": "inhnjrxtqtyumflbzdne", + "name": "eawsgzqm", + "status": "jjijbsrjfqvqzriekxfvynb", + "startTime": "slmhzgrfzkkrxdalacmidyxijq", + "endTime": "ixkalnbiajfpjtur" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/recoveryservicesdatareplication.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/recoveryservicesdatareplication.json index 9c3f2adff4d4..796e78fa5a28 100644 --- a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/recoveryservicesdatareplication.json +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/recoveryservicesdatareplication.json @@ -299,6 +299,49 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/locations/{location}/operationResults/{operationId}": { + "get": { + "operationId": "LocationBasedOperationResults_Get", + "summary": "Gets the location based operation result status.", + "description": "Gets the location based operation result.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/OperationIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the location based operation result status": { + "$ref": "./examples/LocationBasedOperationResults_Get.json" + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/operationResults/{operationId}/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/{operationId}": { "get": { "operationId": "OperationResults_Get", diff --git a/specification/recoveryservicesdatareplication/resource-manager/readme.md b/specification/recoveryservicesdatareplication/resource-manager/readme.md index 2ee1518a5c0c..c7607a9eef60 100644 --- a/specification/recoveryservicesdatareplication/resource-manager/readme.md +++ b/specification/recoveryservicesdatareplication/resource-manager/readme.md @@ -75,6 +75,11 @@ suppressions: - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}"].patch.parameters[4].schema.properties.properties - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}"].patch.parameters[4].schema.properties.identity - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}"].patch.parameters[5].schema.properties.properties + + - code: BodyTopLevelProperties + reason: These properties have already shipped in the previous API version. + where: + - $.definitions.OperationStatus ```