MaintenanceConfigurations interface
Interface representing a MaintenanceConfigurations.
Methods
create |
Creates or updates a maintenance configuration in the specified managed cluster. |
delete(string, string, string, Maintenance |
Deletes a maintenance configuration. |
get(string, string, string, Maintenance |
Gets the specified maintenance configuration of a managed cluster. |
list |
Gets a list of maintenance configurations in the specified managed cluster. |
Method Details
createOrUpdate(string, string, string, MaintenanceConfiguration, MaintenanceConfigurationsCreateOrUpdateOptionalParams)
Creates or updates a maintenance configuration in the specified managed cluster.
function createOrUpdate(resourceGroupName: string, resourceName: string, configName: string, parameters: MaintenanceConfiguration, options?: MaintenanceConfigurationsCreateOrUpdateOptionalParams): Promise<MaintenanceConfiguration>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the managed cluster resource.
- configName
-
string
The name of the maintenance configuration.
- parameters
- MaintenanceConfiguration
The maintenance configuration to create or update.
The options parameters.
Returns
Promise<MaintenanceConfiguration>
delete(string, string, string, MaintenanceConfigurationsDeleteOptionalParams)
Deletes a maintenance configuration.
function delete(resourceGroupName: string, resourceName: string, configName: string, options?: MaintenanceConfigurationsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the managed cluster resource.
- configName
-
string
The name of the maintenance configuration.
The options parameters.
Returns
Promise<void>
get(string, string, string, MaintenanceConfigurationsGetOptionalParams)
Gets the specified maintenance configuration of a managed cluster.
function get(resourceGroupName: string, resourceName: string, configName: string, options?: MaintenanceConfigurationsGetOptionalParams): Promise<MaintenanceConfiguration>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the managed cluster resource.
- configName
-
string
The name of the maintenance configuration.
The options parameters.
Returns
Promise<MaintenanceConfiguration>
listByManagedCluster(string, string, MaintenanceConfigurationsListByManagedClusterOptionalParams)
Gets a list of maintenance configurations in the specified managed cluster.
function listByManagedCluster(resourceGroupName: string, resourceName: string, options?: MaintenanceConfigurationsListByManagedClusterOptionalParams): PagedAsyncIterableIterator<MaintenanceConfiguration, MaintenanceConfiguration[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the managed cluster resource.
The options parameters.