Interface MaintenanceConfigurationsClient
public interface MaintenanceConfigurationsClient
An instance of this class provides access to all the operations defined in MaintenanceConfigurationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String resourceName, String configName, MaintenanceConfigurationInner parameters) Creates or updates a maintenance configuration in the specified managed cluster.createOrUpdateAsync(String resourceGroupName, String resourceName, String configName, MaintenanceConfigurationInner parameters) Creates or updates a maintenance configuration in the specified managed cluster.com.azure.core.http.rest.Response<MaintenanceConfigurationInner>createOrUpdateWithResponse(String resourceGroupName, String resourceName, String configName, MaintenanceConfigurationInner parameters, com.azure.core.util.Context context) Creates or updates a maintenance configuration in the specified managed cluster.Mono<com.azure.core.http.rest.Response<MaintenanceConfigurationInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, String configName, MaintenanceConfigurationInner parameters) Creates or updates a maintenance configuration in the specified managed cluster.voidDeletes a maintenance configuration.deleteAsync(String resourceGroupName, String resourceName, String configName) Deletes a maintenance configuration.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String resourceName, String configName, com.azure.core.util.Context context) Deletes a maintenance configuration.deleteWithResponseAsync(String resourceGroupName, String resourceName, String configName) Deletes a maintenance configuration.Gets the specified maintenance configuration of a managed cluster.Gets the specified maintenance configuration of a managed cluster.com.azure.core.http.rest.Response<MaintenanceConfigurationInner>getWithResponse(String resourceGroupName, String resourceName, String configName, com.azure.core.util.Context context) Gets the specified maintenance configuration of a managed cluster.Mono<com.azure.core.http.rest.Response<MaintenanceConfigurationInner>>getWithResponseAsync(String resourceGroupName, String resourceName, String configName) Gets the specified maintenance configuration of a managed cluster.com.azure.core.http.rest.PagedIterable<MaintenanceConfigurationInner>listByManagedCluster(String resourceGroupName, String resourceName) Gets a list of maintenance configurations in the specified managed cluster.com.azure.core.http.rest.PagedIterable<MaintenanceConfigurationInner>listByManagedCluster(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a list of maintenance configurations in the specified managed cluster.com.azure.core.http.rest.PagedFlux<MaintenanceConfigurationInner>listByManagedClusterAsync(String resourceGroupName, String resourceName) Gets a list of maintenance configurations in the specified managed cluster.
-
Method Details
-
listByManagedClusterAsync
com.azure.core.http.rest.PagedFlux<MaintenanceConfigurationInner> listByManagedClusterAsync(String resourceGroupName, String resourceName) Gets a list of maintenance configurations in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- a list of maintenance configurations in the specified managed cluster as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByManagedCluster
com.azure.core.http.rest.PagedIterable<MaintenanceConfigurationInner> listByManagedCluster(String resourceGroupName, String resourceName) Gets a list of maintenance configurations in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- a list of maintenance configurations in the specified managed cluster as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByManagedCluster
com.azure.core.http.rest.PagedIterable<MaintenanceConfigurationInner> listByManagedCluster(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a list of maintenance configurations in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Returns:
- a list of maintenance configurations in the specified managed cluster as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<MaintenanceConfigurationInner>> getWithResponseAsync(String resourceGroupName, String resourceName, String configName) Gets the specified maintenance configuration of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.configName- The name of the maintenance configuration.- Returns:
- the specified maintenance configuration of a managed cluster along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<MaintenanceConfigurationInner> getAsync(String resourceGroupName, String resourceName, String configName) Gets the specified maintenance configuration of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.configName- The name of the maintenance configuration.- Returns:
- the specified maintenance configuration of a managed cluster on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
Gets the specified maintenance configuration of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.configName- The name of the maintenance configuration.- Returns:
- the specified maintenance configuration of a managed cluster.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<MaintenanceConfigurationInner> getWithResponse(String resourceGroupName, String resourceName, String configName, com.azure.core.util.Context context) Gets the specified maintenance configuration of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.configName- The name of the maintenance configuration.context- The context to associate with this operation.- Returns:
- the specified maintenance configuration of a managed cluster along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<MaintenanceConfigurationInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, String configName, MaintenanceConfigurationInner parameters) Creates or updates a maintenance configuration in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.configName- The name of the maintenance configuration.parameters- The maintenance configuration to create or update.- Returns:
- planned maintenance configuration, used to configure when updates can be deployed to a Managed Cluster
along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<MaintenanceConfigurationInner> createOrUpdateAsync(String resourceGroupName, String resourceName, String configName, MaintenanceConfigurationInner parameters) Creates or updates a maintenance configuration in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.configName- The name of the maintenance configuration.parameters- The maintenance configuration to create or update.- Returns:
- planned maintenance configuration, used to configure when updates can be deployed to a Managed Cluster on
successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
MaintenanceConfigurationInner createOrUpdate(String resourceGroupName, String resourceName, String configName, MaintenanceConfigurationInner parameters) Creates or updates a maintenance configuration in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.configName- The name of the maintenance configuration.parameters- The maintenance configuration to create or update.- Returns:
- planned maintenance configuration, used to configure when updates can be deployed to a Managed Cluster.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<MaintenanceConfigurationInner> createOrUpdateWithResponse(String resourceGroupName, String resourceName, String configName, MaintenanceConfigurationInner parameters, com.azure.core.util.Context context) Creates or updates a maintenance configuration in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.configName- The name of the maintenance configuration.parameters- The maintenance configuration to create or update.context- The context to associate with this operation.- Returns:
- planned maintenance configuration, used to configure when updates can be deployed to a Managed Cluster
along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String resourceName, String configName) Deletes a maintenance configuration.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.configName- The name of the maintenance configuration.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes a maintenance configuration.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.configName- The name of the maintenance configuration.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes a maintenance configuration.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.configName- The name of the maintenance configuration.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String resourceName, String configName, com.azure.core.util.Context context) Deletes a maintenance configuration.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.configName- The name of the maintenance configuration.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-