PatchSchedules interface

Interface representing a PatchSchedules.

Methods

createOrUpdate(string, string, string, RedisPatchSchedule, PatchSchedulesCreateOrUpdateOptionalParams)

Create or replace the patching schedule for Redis cache.

delete(string, string, string, PatchSchedulesDeleteOptionalParams)

Deletes the patching schedule of a redis cache.

get(string, string, string, PatchSchedulesGetOptionalParams)

Gets the patching schedule of a redis cache.

listByRedisResource(string, string, PatchSchedulesListByRedisResourceOptionalParams)

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.

options
PatchSchedulesCreateOrUpdateOptionalParams

The options parameters.

Returns

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.

options
PatchSchedulesDeleteOptionalParams

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

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.

options
PatchSchedulesListByRedisResourceOptionalParams

The options parameters.

Returns