Interface MaintenanceConfigurationsClient
-
public interface MaintenanceConfigurationsClientAn instance of this class provides access to all the operations defined in MaintenanceConfigurationsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MaintenanceConfigurationInnercreateOrUpdate(String resourceGroupName, String resourceName, String configName, MaintenanceConfigurationInner parameters)Creates or updates a maintenance configuration in the specified managed cluster.Mono<MaintenanceConfigurationInner>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.voiddelete(String resourceGroupName, String resourceName, String configName)Deletes a maintenance configuration.Mono<Void>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.Mono<com.azure.core.http.rest.Response<Void>>deleteWithResponseAsync(String resourceGroupName, String resourceName, String configName)Deletes a maintenance configuration.MaintenanceConfigurationInnerget(String resourceGroupName, String resourceName, String configName)Gets the specified maintenance configuration of a managed cluster.Mono<MaintenanceConfigurationInner>getAsync(String resourceGroupName, String resourceName, String configName)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 Detail
-
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.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.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.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.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.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
MaintenanceConfigurationInner get(String resourceGroupName, String resourceName, String configName)
Gets the specified maintenance configuration of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group.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.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.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.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.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.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.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
Mono<Void> deleteAsync(String resourceGroupName, String resourceName, String configName)
Deletes a maintenance configuration.- Parameters:
resourceGroupName- The name of the resource group.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
void delete(String resourceGroupName, String resourceName, String configName)
Deletes a maintenance configuration.- Parameters:
resourceGroupName- The name of the resource group.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.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.
-
-