Description | : Activates failover for the specified workspace. The specified replication location must match the location of the enabled replication for this workspace. The failover operation is asynchronous and can take up to 30 minutes to complete. The status of the operation can be checked using the operationId returned in the response. |
Reference | : Link ¶ |
⚼ Request
POST:
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/locations/{location}/workspaces/{workspaceName}/failover
{
subscriptionId:
string
,
resourceGroupName:
string
,
location:
string
,
workspaceName:
string
,
api-version:
string
,
}
⚐ Response (202)
{
location:
string
,
azure-asyncoperation:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}