Patch Schedules - Get
Gets the patching schedule of a redis cache.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/patchSchedules/default?api-version=2023-08-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
default
|
path | True |
Default string modeled as parameter for auto generation to work correctly. |
|
name
|
path | True |
string |
The name of the redis cache. |
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string |
The ID of the target subscription. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Response of get patch schedules. |
|
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
RedisCachePatchSchedulesGet
Sample Request
Sample Response
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/patchSchedules/default",
"location": "East US",
"name": "cache1/default",
"type": "Microsoft.Cache/Redis/PatchSchedules",
"properties": {
"scheduleEntries": [
{
"dayOfWeek": "Monday",
"startHourUtc": 12,
"maintenanceWindow": "PT5H"
},
{
"dayOfWeek": "Tuesday",
"startHourUtc": 12
}
]
}
}
Definitions
Name | Description |
---|---|
Day |
Day of the week when a cache can be patched. |
default |
Default string modeled as parameter for auto generation to work correctly. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Redis |
Response to put/get patch schedules for Redis cache. |
Schedule |
Patch schedule entry for a Premium Redis Cache. |
DayOfWeek
Day of the week when a cache can be patched.
Name | Type | Description |
---|---|---|
Everyday |
string |
|
Friday |
string |
|
Monday |
string |
|
Saturday |
string |
|
Sunday |
string |
|
Thursday |
string |
|
Tuesday |
string |
|
Wednesday |
string |
|
Weekend |
string |
defaultName
Default string modeled as parameter for auto generation to work correctly.
Name | Type | Description |
---|---|---|
default |
string |
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. |
RedisPatchSchedule
Response to put/get patch schedules for Redis cache.
Name | Type | Description |
---|---|---|
id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
location |
string |
The geo-location where the resource lives |
name |
string |
The name of the resource |
properties.scheduleEntries |
List of patch schedules for a Redis cache. |
|
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
ScheduleEntry
Patch schedule entry for a Premium Redis Cache.
Name | Type | Description |
---|---|---|
dayOfWeek |
Day of the week when a cache can be patched. |
|
maintenanceWindow |
string |
ISO8601 timespan specifying how much time cache patching can take. |
startHourUtc |
integer |
Start hour after which cache patching can start. |