MaintenanceConfigurations interface

Interface representing a MaintenanceConfigurations.

Methods

createOrUpdate(string, string, MaintenanceConfiguration, MaintenanceConfigurationsCreateOrUpdateOptionalParams)

Create or Update configuration record

delete(string, string, MaintenanceConfigurationsDeleteOptionalParams)

Delete Configuration record

get(string, string, MaintenanceConfigurationsGetOptionalParams)

Get Configuration record

list(MaintenanceConfigurationsListOptionalParams)

Get Configuration records within a subscription

update(string, string, MaintenanceConfiguration, MaintenanceConfigurationsUpdateOptionalParams)

Patch configuration record

Method Details

createOrUpdate(string, string, MaintenanceConfiguration, MaintenanceConfigurationsCreateOrUpdateOptionalParams)

Create or Update configuration record

function createOrUpdate(resourceGroupName: string, resourceName: string, configuration: MaintenanceConfiguration, options?: MaintenanceConfigurationsCreateOrUpdateOptionalParams): Promise<MaintenanceConfiguration>

Parameters

resourceGroupName

string

Resource Group Name

resourceName

string

Maintenance Configuration Name

configuration
MaintenanceConfiguration

The configuration

Returns

delete(string, string, MaintenanceConfigurationsDeleteOptionalParams)

Delete Configuration record

function delete(resourceGroupName: string, resourceName: string, options?: MaintenanceConfigurationsDeleteOptionalParams): Promise<MaintenanceConfiguration>

Parameters

resourceGroupName

string

Resource Group Name

resourceName

string

Maintenance Configuration Name

options
MaintenanceConfigurationsDeleteOptionalParams

The options parameters.

Returns

get(string, string, MaintenanceConfigurationsGetOptionalParams)

Get Configuration record

function get(resourceGroupName: string, resourceName: string, options?: MaintenanceConfigurationsGetOptionalParams): Promise<MaintenanceConfiguration>

Parameters

resourceGroupName

string

Resource Group Name

resourceName

string

Maintenance Configuration Name

options
MaintenanceConfigurationsGetOptionalParams

The options parameters.

Returns

list(MaintenanceConfigurationsListOptionalParams)

Get Configuration records within a subscription

function list(options?: MaintenanceConfigurationsListOptionalParams): PagedAsyncIterableIterator<MaintenanceConfiguration, MaintenanceConfiguration[], PageSettings>

Parameters

options
MaintenanceConfigurationsListOptionalParams

The options parameters.

Returns

update(string, string, MaintenanceConfiguration, MaintenanceConfigurationsUpdateOptionalParams)

Patch configuration record

function update(resourceGroupName: string, resourceName: string, configuration: MaintenanceConfiguration, options?: MaintenanceConfigurationsUpdateOptionalParams): Promise<MaintenanceConfiguration>

Parameters

resourceGroupName

string

Resource Group Name

resourceName

string

Maintenance Configuration Name

configuration
MaintenanceConfiguration

The configuration

options
MaintenanceConfigurationsUpdateOptionalParams

The options parameters.

Returns