Skip to content

Commit

Permalink
[Servicebus] Adding schema for status code 201 for Disaster-recovery …
Browse files Browse the repository at this point in the history
…and Migration (Azure#23466)

* Updates

* UPdates

* Updates
  • Loading branch information
schaudhari6254888 authored and JoshLove-msft committed Apr 25, 2023
1 parent 4c8669d commit 0e9d88e
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@
}
},
"201": {
"description": "Alias(Disaster Recovery configuration) creation request received"
"description": "Alias(Disaster Recovery configuration) creation request received",
"schema": {
"$ref": "#/definitions/ArmDisasterRecovery"
}
},
"default": {
"description": "ServiceBus error response describing why the operation failed.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@
}
}
},
"201": {}
"201": {
"body": {
"id": "/subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-41/migrationConfigs/$default",
"name": "sdk-Namespace-41",
"type": "Microsoft.ServiceBus/Namespaces/disasterrecoveryconfigs",
"properties": {
"provisioningState": "Accepted",
"targetNamespace": "/subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-4028",
"postMigrationName": "sdk-PostMigration-5919",
"migrationState": "Initiating"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@
}
}
},
"201": {}
"201": {
"body": {
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ardsouzatestRG/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-8860/disasterRecoveryConfig/sdk-Namespace-8860",
"name": "sdk-Namespace-8860",
"type": "Microsoft.ServiceBus/Namespaces/DisasterRecoveryConfig",
"properties": {
"provisioningState": "Accepted",
"partnerNamespace": "sdk-Namespace-37",
"alternateName": "alternameforAlias-Namespace-8860",
"role": "Primary"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@
}
},
"201": {
"description": "Migration Config creation request received"
"description": "Migration Config creation request received",
"schema": {
"$ref": "#/definitions/MigrationConfigProperties"
}
},
"default": {
"description": "ServiceBus error response describing why the operation failed.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@
}
},
"201": {
"description": "Alias(Disaster Recovery configuration) creation request received"
"description": "Alias(Disaster Recovery configuration) creation request received",
"schema": {
"$ref": "#/definitions/ArmDisasterRecovery"
}
},
"default": {
"description": "ServiceBus error response describing why the operation failed.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@
}
}
},
"201": {}
"201": {
"body": {
"id": "/subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-41/migrationConfigs/$default",
"name": "sdk-Namespace-41",
"type": "Microsoft.ServiceBus/Namespaces/disasterrecoveryconfigs",
"properties": {
"provisioningState": "Accepted",
"targetNamespace": "/subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-4028",
"postMigrationName": "sdk-PostMigration-5919",
"migrationState": "Initiating"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@
}
}
},
"201": {}
"201": {
"body": {
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ardsouzatestRG/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-8860/disasterRecoveryConfig/sdk-Namespace-8860",
"name": "sdk-Namespace-8860",
"type": "Microsoft.ServiceBus/Namespaces/DisasterRecoveryConfig",
"properties": {
"provisioningState": "Accepted",
"partnerNamespace": "sdk-Namespace-37",
"alternateName": "alternameforAlias-Namespace-8860",
"role": "Primary"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@
}
},
"201": {
"description": "Migration Config creation request received"
"description": "Migration Config creation request received",
"schema": {
"$ref": "#/definitions/MigrationConfigProperties"
}
},
"default": {
"description": "ServiceBus error response describing why the operation failed.",
Expand Down

0 comments on commit 0e9d88e

Please sign in to comment.