-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mgmt, update AKS to 2021-03 (#20493)
- Loading branch information
1 parent
3affdfb
commit 738a1b6
Showing
48 changed files
with
4,318 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
## 2.4.0-beta.1 (Unreleased) | ||
|
||
- Updated `api-version` to `2021-03-01` | ||
|
||
## 2.3.0 (2021-03-30) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
246 changes: 246 additions & 0 deletions
246
...va/com/azure/resourcemanager/containerservice/fluent/MaintenanceConfigurationsClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,246 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.containerservice.fluent; | ||
|
||
import com.azure.core.annotation.ReturnType; | ||
import com.azure.core.annotation.ServiceMethod; | ||
import com.azure.core.http.rest.PagedFlux; | ||
import com.azure.core.http.rest.PagedIterable; | ||
import com.azure.core.http.rest.Response; | ||
import com.azure.core.util.Context; | ||
import com.azure.resourcemanager.containerservice.fluent.models.MaintenanceConfigurationInner; | ||
import reactor.core.publisher.Mono; | ||
|
||
/** An instance of this class provides access to all the operations defined in MaintenanceConfigurationsClient. */ | ||
public interface MaintenanceConfigurationsClient { | ||
/** | ||
* Gets a list of maintenance configurations in the specified managed cluster. The operation returns properties of | ||
* each maintenance configuration. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return a list of maintenance configurations in the specified managed cluster. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedFlux<MaintenanceConfigurationInner> listByManagedClusterAsync(String resourceGroupName, String resourceName); | ||
|
||
/** | ||
* Gets a list of maintenance configurations in the specified managed cluster. The operation returns properties of | ||
* each maintenance configuration. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return a list of maintenance configurations in the specified managed cluster. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<MaintenanceConfigurationInner> listByManagedCluster(String resourceGroupName, String resourceName); | ||
|
||
/** | ||
* Gets a list of maintenance configurations in the specified managed cluster. The operation returns properties of | ||
* each maintenance configuration. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @param context The context to associate with this operation. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return a list of maintenance configurations in the specified managed cluster. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<MaintenanceConfigurationInner> listByManagedCluster( | ||
String resourceGroupName, String resourceName, Context context); | ||
|
||
/** | ||
* Gets the details of maintenance configurations by managed cluster and resource group. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @param configName The name of the maintenance configuration. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return the details of maintenance configurations by managed cluster and resource group. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Mono<Response<MaintenanceConfigurationInner>> getWithResponseAsync( | ||
String resourceGroupName, String resourceName, String configName); | ||
|
||
/** | ||
* Gets the details of maintenance configurations by managed cluster and resource group. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @param configName The name of the maintenance configuration. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return the details of maintenance configurations by managed cluster and resource group. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Mono<MaintenanceConfigurationInner> getAsync(String resourceGroupName, String resourceName, String configName); | ||
|
||
/** | ||
* Gets the details of maintenance configurations by managed cluster and resource group. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @param configName The name of the maintenance configuration. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return the details of maintenance configurations by managed cluster and resource group. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
MaintenanceConfigurationInner get(String resourceGroupName, String resourceName, String configName); | ||
|
||
/** | ||
* Gets the details of maintenance configurations by managed cluster and resource group. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @param configName The name of the maintenance configuration. | ||
* @param context The context to associate with this operation. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return the details of maintenance configurations by managed cluster and resource group. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Response<MaintenanceConfigurationInner> getWithResponse( | ||
String resourceGroupName, String resourceName, String configName, Context context); | ||
|
||
/** | ||
* Creates or updates a maintenance configuration in the specified managed cluster. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @param configName The name of the maintenance configuration. | ||
* @param parameters Parameters supplied to the Create or Update a default maintenance configuration. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return maintenance configuration. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Mono<Response<MaintenanceConfigurationInner>> createOrUpdateWithResponseAsync( | ||
String resourceGroupName, String resourceName, String configName, MaintenanceConfigurationInner parameters); | ||
|
||
/** | ||
* Creates or updates a maintenance configuration in the specified managed cluster. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @param configName The name of the maintenance configuration. | ||
* @param parameters Parameters supplied to the Create or Update a default maintenance configuration. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return maintenance configuration. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Mono<MaintenanceConfigurationInner> createOrUpdateAsync( | ||
String resourceGroupName, String resourceName, String configName, MaintenanceConfigurationInner parameters); | ||
|
||
/** | ||
* Creates or updates a maintenance configuration in the specified managed cluster. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @param configName The name of the maintenance configuration. | ||
* @param parameters Parameters supplied to the Create or Update a default maintenance configuration. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return maintenance configuration. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
MaintenanceConfigurationInner createOrUpdate( | ||
String resourceGroupName, String resourceName, String configName, MaintenanceConfigurationInner parameters); | ||
|
||
/** | ||
* Creates or updates a maintenance configuration in the specified managed cluster. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @param configName The name of the maintenance configuration. | ||
* @param parameters Parameters supplied to the Create or Update a default maintenance configuration. | ||
* @param context The context to associate with this operation. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return maintenance configuration. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Response<MaintenanceConfigurationInner> createOrUpdateWithResponse( | ||
String resourceGroupName, | ||
String resourceName, | ||
String configName, | ||
MaintenanceConfigurationInner parameters, | ||
Context context); | ||
|
||
/** | ||
* Deletes the maintenance configuration in the specified managed cluster. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @param configName The name of the maintenance configuration. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return the completion. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String resourceName, String configName); | ||
|
||
/** | ||
* Deletes the maintenance configuration in the specified managed cluster. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @param configName The name of the maintenance configuration. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return the completion. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Mono<Void> deleteAsync(String resourceGroupName, String resourceName, String configName); | ||
|
||
/** | ||
* Deletes the maintenance configuration in the specified managed cluster. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @param configName The name of the maintenance configuration. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
void delete(String resourceGroupName, String resourceName, String configName); | ||
|
||
/** | ||
* Deletes the maintenance configuration in the specified managed cluster. | ||
* | ||
* @param resourceGroupName The name of the resource group. | ||
* @param resourceName The name of the managed cluster resource. | ||
* @param configName The name of the maintenance configuration. | ||
* @param context The context to associate with this operation. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return the response. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Response<Void> deleteWithResponse( | ||
String resourceGroupName, String resourceName, String configName, Context context); | ||
} |
Oops, something went wrong.