Redis - Force Reboot
Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/forceReboot?api-version=2022-06-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
name
|
path | True |
string |
The name of the Redis cache. |
resource
|
path | True |
string |
The name of the resource group. |
subscription
|
path | True |
string |
Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
api-version
|
query | True |
string |
Client Api Version. |
Request Body
Name | Type | Description |
---|---|---|
ports |
integer[] |
A list of redis instances to reboot, specified by per-instance SSL ports or non-SSL ports. |
rebootType |
Which Redis node(s) to reboot. Depending on this value data loss is possible. |
|
shardId |
integer |
If clustering is enabled, the ID of the shard to be rebooted. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Reboot operation successfully enqueued |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
RedisCacheForceReboot
Sample Request
Sample Response
{
"message": "reboot operation enqueued"
}
Definitions
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Reboot |
Which Redis node(s) to reboot. Depending on this value data loss is possible. |
Redis |
Response to force reboot for Redis cache. |
Redis |
Specifies which Redis node(s) to reboot. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
RebootType
Which Redis node(s) to reboot. Depending on this value data loss is possible.
Name | Type | Description |
---|---|---|
AllNodes |
string |
|
PrimaryNode |
string |
|
SecondaryNode |
string |
RedisForceRebootResponse
Response to force reboot for Redis cache.
Name | Type | Description |
---|---|---|
message |
string |
Status message |
RedisRebootParameters
Specifies which Redis node(s) to reboot.
Name | Type | Description |
---|---|---|
ports |
integer[] |
A list of redis instances to reboot, specified by per-instance SSL ports or non-SSL ports. |
rebootType |
Which Redis node(s) to reboot. Depending on this value data loss is possible. |
|
shardId |
integer |
If clustering is enabled, the ID of the shard to be rebooted. |