Skip to content

Commit

Permalink
[Eventhubs] Adding schema for status code 201 for Disaster-recovery (#…
Browse files Browse the repository at this point in the history
…23474)

* UPdates

* UPdates2
  • Loading branch information
schaudhari6254888 authored Apr 13, 2023
1 parent 9bc5a13 commit 0a5ed10
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,10 @@
}
},
"201": {
"description": "Alias(Disaster Recovery configuration) creation request received"
"description": "Alias(Disaster Recovery configuration) creation request received",
"schema": {
"$ref": "#/definitions/ArmDisasterRecovery"
}
},
"default": {
"description": "Eventhub error response describing why the operation failed.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@
}
}
},
"201": {}
"201": {
"body": {
"id": "/subscriptions/exampleResourceGroup/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-8859/disasterRecoveryConfig/sdk-DisasterRecovery-3814",
"name": "sdk-DisasterRecovery-3814",
"type": "Microsoft.EventHub/Namespaces/DisasterRecoveryConfig",
"properties": {
"provisioningState": "Accepted",
"partnerNamespace": "sdk-Namespace-37",
"role": "Primary"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,10 @@
}
},
"201": {
"description": "Alias(Disaster Recovery configuration) creation request received"
"description": "Alias(Disaster Recovery configuration) creation request received",
"schema": {
"$ref": "#/definitions/ArmDisasterRecovery"
}
},
"default": {
"description": "Eventhub error response describing why the operation failed.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@
}
}
},
"201": {}
"201": {
"body": {
"id": "/subscriptions/exampleResourceGroup/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-8859/disasterRecoveryConfig/sdk-DisasterRecovery-3814",
"name": "sdk-DisasterRecovery-3814",
"type": "Microsoft.EventHub/Namespaces/DisasterRecoveryConfig",
"properties": {
"provisioningState": "Accepted",
"partnerNamespace": "sdk-Namespace-37",
"role": "Primary"
}
}
}
}
}

0 comments on commit 0a5ed10

Please sign in to comment.