Skip to content

Commit

Permalink
Azure site recovery Swagger for 2024-04-01 Api version (#29277)
Browse files Browse the repository at this point in the history
* Copy files from stable/2024-02-01

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to stable/2024-04-01

Updated the API version from stable/2024-02-01 to stable/2024-04-01.

* Added tag for 2024-04-01 in readme file

* Fixed style check

* Fixed style

* fixed prettier

---------

Co-authored-by: Roopesh Manda <rmanda@microsoft.com>
Co-authored-by: Himanshu Agarwal <hiaga@microsoft.com>
  • Loading branch information
3 people authored Jun 11, 2024
1 parent 0b17872 commit 6ab56f0
Show file tree
Hide file tree
Showing 155 changed files with 37,716 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"api-version": "2024-04-01",
"replicationProtectionClusterName": "testcluster",
"protectionContainerName": "pri-cloud-eastus",
"fabricName": "fabric-pri-eastus",
"resourceName": "vault1",
"resourceGroupName": "resourceGroupPS1",
"subscriptionId": "7c943c1b-5122-4097-90c8-861411bdd574",
"recoveryPointName": "06b9ae7f-f21d-4a76-9897-5cf5d6004d80"
},
"responses": {
"200": {
"body": {
"id": "/Subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/fabric-pri-eastus/replicationProtectionContainers/pri-cloud-eastus/replicationProtectionClusters/testcluster/recoveryPoints/06b9ae7f-f21d-4a76-9897-5cf5d6004d80",
"name": "06b9ae7f-f21d-4a76-9897-5cf5d6004d80",
"type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionClusters/recoveryPoints",
"properties": {
"recoveryPointTime": "2024-01-19T10:51:29.6329144Z",
"recoveryPointType": "CrashConsistent",
"providerSpecificDetails": {
"instanceType": "A2A",
"recoveryPointSyncType": "MultiVmSyncRecoveryPoint",
"nodes": [
"/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/fabric-pri-eastus/replicationProtectionContainers/pri-cloud-eastus/replicationProtectedItems/kdUdWvpVnm3QgOQPHoVMX8YAtAO8OC4kKNjt40ERSr4",
"/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/fabric-pri-eastus/replicationProtectionContainers/pri-cloud-eastus/replicationProtectedItems/yNdYnDYKZ7hYU7zyVeBychFBCyAbEkrJcJNUarDrXio"
]
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"api-version": "2024-04-01",
"replicationProtectionClusterName": "testcluster",
"protectionContainerName": "pri-cloud-eastus",
"fabricName": "fabric-pri-eastus",
"resourceName": "vault1",
"resourceGroupName": "resourceGroupPS1",
"subscriptionId": "7c943c1b-5122-4097-90c8-861411bdd574"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/Subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/fabric-pri-eastus/replicationProtectionContainers/pri-cloud-eastus/replicationProtectionClusters/testcluster/recoveryPoints/cc48b7f3-b267-432b-ad76-45528974dc62",
"name": "cc48b7f3-b267-432b-ad76-45528974dc62",
"type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionClusters/recoveryPoints",
"properties": {
"recoveryPointTime": "2024-01-19T08:55:51.1764251Z",
"recoveryPointType": "CrashConsistent",
"providerSpecificDetails": {
"instanceType": "A2A",
"recoveryPointSyncType": "MultiVmSyncRecoveryPoint",
"nodes": [
"/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/fabric-pri-eastus/replicationProtectionContainers/pri-cloud-eastus/replicationProtectedItems/kdUdWvpVnm3QgOQPHoVMX8YAtAO8OC4kKNjt40ERSr4",
"/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/fabric-pri-eastus/replicationProtectionContainers/pri-cloud-eastus/replicationProtectedItems/yNdYnDYKZ7hYU7zyVeBychFBCyAbEkrJcJNUarDrXio"
]
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2024-04-01",
"migrationRecoveryPointName": "b22134ea-620c-474b-9fa5-3c1cb47708e3",
"migrationItemName": "virtualmachine1",
"protectionContainerName": "vmwareContainer1",
"fabricName": "vmwarefabric1",
"resourceName": "migrationvault",
"resourceGroupName": "resourcegroup1",
"subscriptionId": "cb53d0c3-bd59-4721-89bc-06916a9147ef"
},
"responses": {
"200": {
"body": {
"name": "b22134ea-620c-474b-9fa5-3c1cb47708e3",
"type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems/migrationRecoveryPoints",
"id": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationProtectionContainers/vmwareContainer1/replicationMigrationItems/virtualmachine1/migrationRecoveryPoints/b22134ea-620c-474b-9fa5-3c1cb47708e3",
"properties": {
"recoveryPointTime": "2017-04-26T06:37:50.8082715Z",
"recoveryPointType": "CrashConsistent"
}
},
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationOperationStatus/a93f3cd5-9035-4b1e-a2c9-b16df6d5d34b?api-version=2024-04-01"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"api-version": "2024-04-01",
"migrationItemName": "virtualmachine1",
"protectionContainerName": "vmwareContainer1",
"fabricName": "vmwarefabric1",
"resourceName": "migrationvault",
"resourceGroupName": "resourcegroup1",
"subscriptionId": "cb53d0c3-bd59-4721-89bc-06916a9147ef"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "648336ef-2d70-4d98-b100-8c299f97cd41",
"type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems/migrationRecoveryPoints",
"id": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationProtectionContainers/vmwareContainer1/replicationMigrationItems/virtualmachine1/migrationRecoveryPoints/648336ef-2d70-4d98-b100-8c299f97cd41",
"properties": {
"recoveryPointTime": "2017-04-26T06:37:50.8082715Z",
"recoveryPointType": "CrashConsistent"
}
},
{
"name": "34cb2d05-e730-4d3f-b96b-a60a5e92acb2",
"type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems/migrationRecoveryPoints",
"id": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationProtectionContainers/vmwareContainer1/replicationMigrationItems/virtualmachine1/migrationRecoveryPoints/34cb2d05-e730-4d3f-b96b-a60a5e92acb2",
"properties": {
"recoveryPointTime": "2017-04-26T07:37:30.9722019Z",
"recoveryPointType": "CrashConsistent"
}
}
]
},
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationOperationStatus/a93f3cd5-9035-4b1e-a2c9-b16df6d5d34b?api-version=2024-04-01"
}
}
}
}
Loading

0 comments on commit 6ab56f0

Please sign in to comment.