Microsoft.EventHub (preview:2024-05-01)

2025/02/12 • 1 updated methods

Namespaces_Failover (updated)
Description GeoDR Failover
Reference Link ¶

⚶ Changes

{
  "#id": "Namespaces_Failover",
  "$responses": {
    "default": {
      "Description": {
        "new": "Error response indicates Event Hub service is not able to process the incoming request. The reason is provided in the error message.",
        "old": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)."
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/failover
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
parameters:
{
properties:
{
primaryLocation: string ,
force: boolean ,
}
,
}
,
}

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}