PatchSchedules interface
Interface representing a PatchSchedules.
Methods
create |
Create or replace the patching schedule for Redis cache. |
delete(string, string, string, Patch |
Deletes the patching schedule of a redis cache. |
get(string, string, string, Patch |
Gets the patching schedule of a redis cache. |
list |
Gets all patch schedules in the specified redis cache (there is only one). |
Method Details
createOrUpdate(string, string, string, RedisPatchSchedule, PatchSchedulesCreateOrUpdateOptionalParams)
Create or replace the patching schedule for Redis cache.
function createOrUpdate(resourceGroupName: string, name: string, defaultParam: string, parameters: RedisPatchSchedule, options?: PatchSchedulesCreateOrUpdateOptionalParams): Promise<RedisPatchSchedule>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- name
-
string
The name of the Redis cache.
- defaultParam
-
string
Default string modeled as parameter for auto generation to work correctly.
- parameters
- RedisPatchSchedule
Parameters to set the patching schedule for Redis cache.
The options parameters.
Returns
Promise<RedisPatchSchedule>
delete(string, string, string, PatchSchedulesDeleteOptionalParams)
Deletes the patching schedule of a redis cache.
function delete(resourceGroupName: string, name: string, defaultParam: string, options?: PatchSchedulesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- name
-
string
The name of the redis cache.
- defaultParam
-
string
Default string modeled as parameter for auto generation to work correctly.
The options parameters.
Returns
Promise<void>
get(string, string, string, PatchSchedulesGetOptionalParams)
Gets the patching schedule of a redis cache.
function get(resourceGroupName: string, name: string, defaultParam: string, options?: PatchSchedulesGetOptionalParams): Promise<RedisPatchSchedule>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- name
-
string
The name of the redis cache.
- defaultParam
-
string
Default string modeled as parameter for auto generation to work correctly.
- options
- PatchSchedulesGetOptionalParams
The options parameters.
Returns
Promise<RedisPatchSchedule>
listByRedisResource(string, string, PatchSchedulesListByRedisResourceOptionalParams)
Gets all patch schedules in the specified redis cache (there is only one).
function listByRedisResource(resourceGroupName: string, cacheName: string, options?: PatchSchedulesListByRedisResourceOptionalParams): PagedAsyncIterableIterator<RedisPatchSchedule, RedisPatchSchedule[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- cacheName
-
string
The name of the Redis cache.
The options parameters.