Skip to content

Commit

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

* UPdates

* UPdates2
  • Loading branch information
schaudhari6254888 authored and JoshLove-msft committed Apr 25, 2023
1 parent 0e9d88e commit 33d14fb
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 33d14fb

Please sign in to comment.