ManagedClustersInner Class

  • java.lang.Object

public class ManagedClustersInner implements InnerSupportsGet,InnerSupportsDelete,InnerSupportsListing

An instance of this class provides access to all the operations defined in ManagedClusters.

Constructor Summary

Constructor Description
ManagedClustersInner(Retrofit retrofit, ContainerServiceManagementClientImpl client)

Initializes an instance of ManagedClustersInner.

Method Summary

Modifier and Type Method and Description
ManagedClusterInner beginCreateOrUpdate(String resourceGroupName, String resourceName, ManagedClusterInner parameters)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

Observable<ManagedClusterInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

ServiceFuture<ManagedClusterInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters, final ServiceCallback<ManagedClusterInner> serviceCallback)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

Observable<ServiceResponse<ManagedClusterInner>> beginCreateOrUpdateWithServiceResponseAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

void beginDelete(String resourceGroupName, String resourceName)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

Observable<Void> beginDeleteAsync(String resourceGroupName, String resourceName)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

ServiceFuture<Void> beginDeleteAsync(String resourceGroupName, String resourceName, final ServiceCallback<Void> serviceCallback)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

Observable<ServiceResponse<Void>> beginDeleteWithServiceResponseAsync(String resourceGroupName, String resourceName)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

void beginResetAADProfile(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

Observable<Void> beginResetAADProfileAsync(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

ServiceFuture<Void> beginResetAADProfileAsync(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters, final ServiceCallback<Void> serviceCallback)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

Observable<ServiceResponse<Void>> beginResetAADProfileWithServiceResponseAsync(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

void beginResetServicePrincipalProfile(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

Observable<Void> beginResetServicePrincipalProfileAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

ServiceFuture<Void> beginResetServicePrincipalProfileAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters, final ServiceCallback<Void> serviceCallback)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

Observable<ServiceResponse<Void>> beginResetServicePrincipalProfileWithServiceResponseAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

void beginRotateClusterCertificates(String resourceGroupName, String resourceName)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

Observable<Void> beginRotateClusterCertificatesAsync(String resourceGroupName, String resourceName)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

ServiceFuture<Void> beginRotateClusterCertificatesAsync(String resourceGroupName, String resourceName, final ServiceCallback<Void> serviceCallback)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

Observable<ServiceResponse<Void>> beginRotateClusterCertificatesWithServiceResponseAsync(String resourceGroupName, String resourceName)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

void beginStart(String resourceGroupName, String resourceName)

Start Managed Cluster. Starts a Stopped Managed Cluster.

Observable<Void> beginStartAsync(String resourceGroupName, String resourceName)

Start Managed Cluster. Starts a Stopped Managed Cluster.

ServiceFuture<Void> beginStartAsync(String resourceGroupName, String resourceName, final ServiceCallback<Void> serviceCallback)

Start Managed Cluster. Starts a Stopped Managed Cluster.

Observable<ServiceResponse<Void>> beginStartWithServiceResponseAsync(String resourceGroupName, String resourceName)

Start Managed Cluster. Starts a Stopped Managed Cluster.

void beginStop(String resourceGroupName, String resourceName)

Stop Managed Cluster. Stops a Running Managed Cluster.

Observable<Void> beginStopAsync(String resourceGroupName, String resourceName)

Stop Managed Cluster. Stops a Running Managed Cluster.

ServiceFuture<Void> beginStopAsync(String resourceGroupName, String resourceName, final ServiceCallback<Void> serviceCallback)

Stop Managed Cluster. Stops a Running Managed Cluster.

Observable<ServiceResponse<Void>> beginStopWithServiceResponseAsync(String resourceGroupName, String resourceName)

Stop Managed Cluster. Stops a Running Managed Cluster.

ManagedClusterInner beginUpdateTags(String resourceGroupName, String resourceName)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

ManagedClusterInner beginUpdateTags(String resourceGroupName, String resourceName, Map<String, String> tags)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Observable<ManagedClusterInner> beginUpdateTagsAsync(String resourceGroupName, String resourceName)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

ServiceFuture<ManagedClusterInner> beginUpdateTagsAsync(String resourceGroupName, String resourceName, final ServiceCallback<ManagedClusterInner> serviceCallback)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Observable<ManagedClusterInner> beginUpdateTagsAsync(String resourceGroupName, String resourceName, Map<String, String> tags)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

ServiceFuture<ManagedClusterInner> beginUpdateTagsAsync(String resourceGroupName, String resourceName, Map<String, String> tags, final ServiceCallback<ManagedClusterInner> serviceCallback)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Observable<ServiceResponse<ManagedClusterInner>> beginUpdateTagsWithServiceResponseAsync(String resourceGroupName, String resourceName)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Observable<ServiceResponse<ManagedClusterInner>> beginUpdateTagsWithServiceResponseAsync(String resourceGroupName, String resourceName, Map<String, String> tags)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

ManagedClusterInner createOrUpdate(String resourceGroupName, String resourceName, ManagedClusterInner parameters)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

Observable<ManagedClusterInner> createOrUpdateAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

ServiceFuture<ManagedClusterInner> createOrUpdateAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters, final ServiceCallback<ManagedClusterInner> serviceCallback)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

Observable<ServiceResponse<ManagedClusterInner>> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

void delete(String resourceGroupName, String resourceName)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

Observable<Void> deleteAsync(String resourceGroupName, String resourceName)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

ServiceFuture<Void> deleteAsync(String resourceGroupName, String resourceName, final ServiceCallback<Void> serviceCallback)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

Observable<ServiceResponse<Void>> deleteWithServiceResponseAsync(String resourceGroupName, String resourceName)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

ManagedClusterAccessProfileInner getAccessProfile(String resourceGroupName, String resourceName, String roleName)

Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusteradmincredentials) .

Observable<ManagedClusterAccessProfileInner> getAccessProfileAsync(String resourceGroupName, String resourceName, String roleName)

Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusteradmincredentials) .

ServiceFuture<ManagedClusterAccessProfileInner> getAccessProfileAsync(String resourceGroupName, String resourceName, String roleName, final ServiceCallback<ManagedClusterAccessProfileInner> serviceCallback)

Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusteradmincredentials) .

Observable<ServiceResponse<ManagedClusterAccessProfileInner>> getAccessProfileWithServiceResponseAsync(String resourceGroupName, String resourceName, String roleName)

Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusteradmincredentials) .

ManagedClusterInner getByResourceGroup(String resourceGroupName, String resourceName)

Gets a managed cluster. Gets the details of the managed cluster with a specified resource group and name.

Observable<ManagedClusterInner> getByResourceGroupAsync(String resourceGroupName, String resourceName)

Gets a managed cluster. Gets the details of the managed cluster with a specified resource group and name.

ServiceFuture<ManagedClusterInner> getByResourceGroupAsync(String resourceGroupName, String resourceName, final ServiceCallback<ManagedClusterInner> serviceCallback)

Gets a managed cluster. Gets the details of the managed cluster with a specified resource group and name.

Observable<ServiceResponse<ManagedClusterInner>> getByResourceGroupWithServiceResponseAsync(String resourceGroupName, String resourceName)

Gets a managed cluster. Gets the details of the managed cluster with a specified resource group and name.

ManagedClusterUpgradeProfileInner getUpgradeProfile(String resourceGroupName, String resourceName)

Gets upgrade profile for a managed cluster. Gets the details of the upgrade profile for a managed cluster with a specified resource group and name.

Observable<ManagedClusterUpgradeProfileInner> getUpgradeProfileAsync(String resourceGroupName, String resourceName)

Gets upgrade profile for a managed cluster. Gets the details of the upgrade profile for a managed cluster with a specified resource group and name.

ServiceFuture<ManagedClusterUpgradeProfileInner> getUpgradeProfileAsync(String resourceGroupName, String resourceName, final ServiceCallback<ManagedClusterUpgradeProfileInner> serviceCallback)

Gets upgrade profile for a managed cluster. Gets the details of the upgrade profile for a managed cluster with a specified resource group and name.

Observable<ServiceResponse<ManagedClusterUpgradeProfileInner>> getUpgradeProfileWithServiceResponseAsync(String resourceGroupName, String resourceName)

Gets upgrade profile for a managed cluster. Gets the details of the upgrade profile for a managed cluster with a specified resource group and name.

PagedList<ManagedClusterInner> list()

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Observable<Page<ManagedClusterInner>> listAsync()

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

ServiceFuture<List<ManagedClusterInner>> listAsync(final ListOperationCallback<ManagedClusterInner> serviceCallback)

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

PagedList<ManagedClusterInner> listByResourceGroup(final String resourceGroupName)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

Observable<Page<ManagedClusterInner>> listByResourceGroupAsync(final String resourceGroupName)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

ServiceFuture<List<ManagedClusterInner>> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback<ManagedClusterInner> serviceCallback)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

PagedList<ManagedClusterInner> listByResourceGroupNext(final String nextPageLink)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

Observable<Page<ManagedClusterInner>> listByResourceGroupNextAsync(final String nextPageLink)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

ServiceFuture<List<ManagedClusterInner>> listByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture<List<ManagedClusterInner>> serviceFuture, final ListOperationCallback<ManagedClusterInner> serviceCallback)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

Observable<ServiceResponse<Page<ManagedClusterInner>>> listByResourceGroupNextSinglePageAsync(final String nextPageLink)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

ServiceResponse<PageImpl<ManagedClusterInner>> *

Observable<ServiceResponse<Page<ManagedClusterInner>>> listByResourceGroupNextWithServiceResponseAsync(final String nextPageLink)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

Observable<ServiceResponse<Page<ManagedClusterInner>>> listByResourceGroupSinglePageAsync(final String resourceGroupName)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

ServiceResponse<PageImpl<ManagedClusterInner>> *

Observable<ServiceResponse<Page<ManagedClusterInner>>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

CredentialResultsInner listClusterAdminCredentials(String resourceGroupName, String resourceName)

Gets cluster admin credential of a managed cluster. Gets cluster admin credential of the managed cluster with a specified resource group and name.

Observable<CredentialResultsInner> listClusterAdminCredentialsAsync(String resourceGroupName, String resourceName)

Gets cluster admin credential of a managed cluster. Gets cluster admin credential of the managed cluster with a specified resource group and name.

ServiceFuture<CredentialResultsInner> listClusterAdminCredentialsAsync(String resourceGroupName, String resourceName, final ServiceCallback<CredentialResultsInner> serviceCallback)

Gets cluster admin credential of a managed cluster. Gets cluster admin credential of the managed cluster with a specified resource group and name.

Observable<ServiceResponse<CredentialResultsInner>> listClusterAdminCredentialsWithServiceResponseAsync(String resourceGroupName, String resourceName)

Gets cluster admin credential of a managed cluster. Gets cluster admin credential of the managed cluster with a specified resource group and name.

CredentialResultsInner listClusterMonitoringUserCredentials(String resourceGroupName, String resourceName)

Gets cluster monitoring user credential of a managed cluster. Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.

Observable<CredentialResultsInner> listClusterMonitoringUserCredentialsAsync(String resourceGroupName, String resourceName)

Gets cluster monitoring user credential of a managed cluster. Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.

ServiceFuture<CredentialResultsInner> listClusterMonitoringUserCredentialsAsync(String resourceGroupName, String resourceName, final ServiceCallback<CredentialResultsInner> serviceCallback)

Gets cluster monitoring user credential of a managed cluster. Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.

Observable<ServiceResponse<CredentialResultsInner>> listClusterMonitoringUserCredentialsWithServiceResponseAsync(String resourceGroupName, String resourceName)

Gets cluster monitoring user credential of a managed cluster. Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.

CredentialResultsInner listClusterUserCredentials(String resourceGroupName, String resourceName)

Gets cluster user credential of a managed cluster. Gets cluster user credential of the managed cluster with a specified resource group and name.

Observable<CredentialResultsInner> listClusterUserCredentialsAsync(String resourceGroupName, String resourceName)

Gets cluster user credential of a managed cluster. Gets cluster user credential of the managed cluster with a specified resource group and name.

ServiceFuture<CredentialResultsInner> listClusterUserCredentialsAsync(String resourceGroupName, String resourceName, final ServiceCallback<CredentialResultsInner> serviceCallback)

Gets cluster user credential of a managed cluster. Gets cluster user credential of the managed cluster with a specified resource group and name.

Observable<ServiceResponse<CredentialResultsInner>> listClusterUserCredentialsWithServiceResponseAsync(String resourceGroupName, String resourceName)

Gets cluster user credential of a managed cluster. Gets cluster user credential of the managed cluster with a specified resource group and name.

PagedList<ManagedClusterInner> listNext(final String nextPageLink)

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Observable<Page<ManagedClusterInner>> listNextAsync(final String nextPageLink)

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

ServiceFuture<List<ManagedClusterInner>> listNextAsync(final String nextPageLink, final ServiceFuture<List<ManagedClusterInner>> serviceFuture, final ListOperationCallback<ManagedClusterInner> serviceCallback)

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Observable<ServiceResponse<Page<ManagedClusterInner>>> listNextSinglePageAsync(final String nextPageLink)

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

ServiceResponse<PageImpl<ManagedClusterInner>> *

Observable<ServiceResponse<Page<ManagedClusterInner>>> listNextWithServiceResponseAsync(final String nextPageLink)

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Observable<ServiceResponse<Page<ManagedClusterInner>>> listSinglePageAsync()

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Observable<ServiceResponse<Page<ManagedClusterInner>>> listWithServiceResponseAsync()

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

void resetAADProfile(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

Observable<Void> resetAADProfileAsync(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

ServiceFuture<Void> resetAADProfileAsync(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters, final ServiceCallback<Void> serviceCallback)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

Observable<ServiceResponse<Void>> resetAADProfileWithServiceResponseAsync(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

void resetServicePrincipalProfile(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

Observable<Void> resetServicePrincipalProfileAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

ServiceFuture<Void> resetServicePrincipalProfileAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters, final ServiceCallback<Void> serviceCallback)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

Observable<ServiceResponse<Void>> resetServicePrincipalProfileWithServiceResponseAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

void rotateClusterCertificates(String resourceGroupName, String resourceName)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

Observable<Void> rotateClusterCertificatesAsync(String resourceGroupName, String resourceName)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

ServiceFuture<Void> rotateClusterCertificatesAsync(String resourceGroupName, String resourceName, final ServiceCallback<Void> serviceCallback)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

Observable<ServiceResponse<Void>> rotateClusterCertificatesWithServiceResponseAsync(String resourceGroupName, String resourceName)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

void start(String resourceGroupName, String resourceName)

Start Managed Cluster. Starts a Stopped Managed Cluster.

Observable<Void> startAsync(String resourceGroupName, String resourceName)

Start Managed Cluster. Starts a Stopped Managed Cluster.

ServiceFuture<Void> startAsync(String resourceGroupName, String resourceName, final ServiceCallback<Void> serviceCallback)

Start Managed Cluster. Starts a Stopped Managed Cluster.

Observable<ServiceResponse<Void>> startWithServiceResponseAsync(String resourceGroupName, String resourceName)

Start Managed Cluster. Starts a Stopped Managed Cluster.

void stop(String resourceGroupName, String resourceName)

Stop Managed Cluster. Stops a Running Managed Cluster.

Observable<Void> stopAsync(String resourceGroupName, String resourceName)

Stop Managed Cluster. Stops a Running Managed Cluster.

ServiceFuture<Void> stopAsync(String resourceGroupName, String resourceName, final ServiceCallback<Void> serviceCallback)

Stop Managed Cluster. Stops a Running Managed Cluster.

Observable<ServiceResponse<Void>> stopWithServiceResponseAsync(String resourceGroupName, String resourceName)

Stop Managed Cluster. Stops a Running Managed Cluster.

ManagedClusterInner updateTags(String resourceGroupName, String resourceName)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

ManagedClusterInner updateTags(String resourceGroupName, String resourceName, Map<String, String> tags)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Observable<ManagedClusterInner> updateTagsAsync(String resourceGroupName, String resourceName)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

ServiceFuture<ManagedClusterInner> updateTagsAsync(String resourceGroupName, String resourceName, final ServiceCallback<ManagedClusterInner> serviceCallback)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Observable<ManagedClusterInner> updateTagsAsync(String resourceGroupName, String resourceName, Map<String, String> tags)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

ServiceFuture<ManagedClusterInner> updateTagsAsync(String resourceGroupName, String resourceName, Map<String, String> tags, final ServiceCallback<ManagedClusterInner> serviceCallback)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Observable<ServiceResponse<ManagedClusterInner>> updateTagsWithServiceResponseAsync(String resourceGroupName, String resourceName)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Observable<ServiceResponse<ManagedClusterInner>> updateTagsWithServiceResponseAsync(String resourceGroupName, String resourceName, Map<String, String> tags)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Inherited Members

Constructor Details

ManagedClustersInner

public ManagedClustersInner(Retrofit retrofit, ContainerServiceManagementClientImpl client)

Initializes an instance of ManagedClustersInner.

Parameters:

retrofit - the Retrofit instance built from a Retrofit Builder.
client - the instance of the service client containing this operation class.

Method Details

beginCreateOrUpdate

public ManagedClusterInner beginCreateOrUpdate(String resourceGroupName, String resourceName, ManagedClusterInner parameters)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Create or Update a Managed Cluster operation.

Returns:

the ManagedClusterInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginCreateOrUpdateAsync

public Observable beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Create or Update a Managed Cluster operation.

Returns:

the observable to the ManagedClusterInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginCreateOrUpdateAsync

public ServiceFuture beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters, final ServiceCallback serviceCallback)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Create or Update a Managed Cluster operation.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginCreateOrUpdateWithServiceResponseAsync

public Observable<>> beginCreateOrUpdateWithServiceResponseAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Create or Update a Managed Cluster operation.

Returns:

the observable to the ManagedClusterInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginDelete

public void beginDelete(String resourceGroupName, String resourceName)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginDeleteAsync

public Observable beginDeleteAsync(String resourceGroupName, String resourceName)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginDeleteAsync

public ServiceFuture beginDeleteAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginDeleteWithServiceResponseAsync

public Observable<>> beginDeleteWithServiceResponseAsync(String resourceGroupName, String resourceName)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginResetAADProfile

public void beginResetAADProfile(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset AAD Profile operation for a Managed Cluster.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginResetAADProfileAsync

public Observable beginResetAADProfileAsync(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset AAD Profile operation for a Managed Cluster.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginResetAADProfileAsync

public ServiceFuture beginResetAADProfileAsync(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters, final ServiceCallback serviceCallback)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset AAD Profile operation for a Managed Cluster.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginResetAADProfileWithServiceResponseAsync

public Observable<>> beginResetAADProfileWithServiceResponseAsync(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset AAD Profile operation for a Managed Cluster.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginResetServicePrincipalProfile

public void beginResetServicePrincipalProfile(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginResetServicePrincipalProfileAsync

public Observable beginResetServicePrincipalProfileAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginResetServicePrincipalProfileAsync

public ServiceFuture beginResetServicePrincipalProfileAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters, final ServiceCallback serviceCallback)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginResetServicePrincipalProfileWithServiceResponseAsync

public Observable<>> beginResetServicePrincipalProfileWithServiceResponseAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginRotateClusterCertificates

public void beginRotateClusterCertificates(String resourceGroupName, String resourceName)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginRotateClusterCertificatesAsync

public Observable beginRotateClusterCertificatesAsync(String resourceGroupName, String resourceName)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginRotateClusterCertificatesAsync

public ServiceFuture beginRotateClusterCertificatesAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginRotateClusterCertificatesWithServiceResponseAsync

public Observable<>> beginRotateClusterCertificatesWithServiceResponseAsync(String resourceGroupName, String resourceName)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginStart

public void beginStart(String resourceGroupName, String resourceName)

Start Managed Cluster. Starts a Stopped Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginStartAsync

public Observable beginStartAsync(String resourceGroupName, String resourceName)

Start Managed Cluster. Starts a Stopped Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginStartAsync

public ServiceFuture beginStartAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Start Managed Cluster. Starts a Stopped Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginStartWithServiceResponseAsync

public Observable<>> beginStartWithServiceResponseAsync(String resourceGroupName, String resourceName)

Start Managed Cluster. Starts a Stopped Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginStop

public void beginStop(String resourceGroupName, String resourceName)

Stop Managed Cluster. Stops a Running Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginStopAsync

public Observable beginStopAsync(String resourceGroupName, String resourceName)

Stop Managed Cluster. Stops a Running Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginStopAsync

public ServiceFuture beginStopAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Stop Managed Cluster. Stops a Running Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginStopWithServiceResponseAsync

public Observable<>> beginStopWithServiceResponseAsync(String resourceGroupName, String resourceName)

Stop Managed Cluster. Stops a Running Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateTags

public ManagedClusterInner beginUpdateTags(String resourceGroupName, String resourceName)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the ManagedClusterInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginUpdateTags

public ManagedClusterInner beginUpdateTags(String resourceGroupName, String resourceName, Map tags)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
tags - Resource tags.

Returns:

the ManagedClusterInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginUpdateTagsAsync

public Observable beginUpdateTagsAsync(String resourceGroupName, String resourceName)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable to the ManagedClusterInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateTagsAsync

public ServiceFuture beginUpdateTagsAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateTagsAsync

public Observable beginUpdateTagsAsync(String resourceGroupName, String resourceName, Map tags)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
tags - Resource tags.

Returns:

the observable to the ManagedClusterInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateTagsAsync

public ServiceFuture beginUpdateTagsAsync(String resourceGroupName, String resourceName, Map tags, final ServiceCallback serviceCallback)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
tags - Resource tags.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateTagsWithServiceResponseAsync

public Observable<>> beginUpdateTagsWithServiceResponseAsync(String resourceGroupName, String resourceName)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable to the ManagedClusterInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateTagsWithServiceResponseAsync

public Observable<>> beginUpdateTagsWithServiceResponseAsync(String resourceGroupName, String resourceName, Map tags)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
tags - Resource tags.

Returns:

the observable to the ManagedClusterInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

createOrUpdate

public ManagedClusterInner createOrUpdate(String resourceGroupName, String resourceName, ManagedClusterInner parameters)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Create or Update a Managed Cluster operation.

Returns:

the ManagedClusterInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

createOrUpdateAsync

public Observable createOrUpdateAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Create or Update a Managed Cluster operation.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

createOrUpdateAsync

public ServiceFuture createOrUpdateAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters, final ServiceCallback serviceCallback)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Create or Update a Managed Cluster operation.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

createOrUpdateWithServiceResponseAsync

public Observable<>> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters)

Creates or updates a managed cluster. Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Create or Update a Managed Cluster operation.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

delete

public void delete(String resourceGroupName, String resourceName)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

deleteAsync

public Observable deleteAsync(String resourceGroupName, String resourceName)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

Overrides:

ManagedClustersInner.deleteAsync(String resourceGroupName, String resourceName)

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteAsync

public ServiceFuture deleteAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteWithServiceResponseAsync

public Observable<>> deleteWithServiceResponseAsync(String resourceGroupName, String resourceName)

Deletes a managed cluster. Deletes the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAccessProfile

public ManagedClusterAccessProfileInner getAccessProfile(String resourceGroupName, String resourceName, String roleName)

Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusteradmincredentials) .

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
roleName - The name of the role for managed cluster accessProfile resource.

Returns:

the ManagedClusterAccessProfileInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getAccessProfileAsync

public Observable getAccessProfileAsync(String resourceGroupName, String resourceName, String roleName)

Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusteradmincredentials) .

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
roleName - The name of the role for managed cluster accessProfile resource.

Returns:

the observable to the ManagedClusterAccessProfileInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAccessProfileAsync

public ServiceFuture getAccessProfileAsync(String resourceGroupName, String resourceName, String roleName, final ServiceCallback serviceCallback)

Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusteradmincredentials) .

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
roleName - The name of the role for managed cluster accessProfile resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAccessProfileWithServiceResponseAsync

public Observable<>> getAccessProfileWithServiceResponseAsync(String resourceGroupName, String resourceName, String roleName)

Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusteradmincredentials) .

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
roleName - The name of the role for managed cluster accessProfile resource.

Returns:

the observable to the ManagedClusterAccessProfileInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getByResourceGroup

public ManagedClusterInner getByResourceGroup(String resourceGroupName, String resourceName)

Gets a managed cluster. Gets the details of the managed cluster with a specified resource group and name.

Overrides:

ManagedClustersInner.getByResourceGroup(String resourceGroupName, String resourceName)

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the ManagedClusterInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getByResourceGroupAsync

public Observable getByResourceGroupAsync(String resourceGroupName, String resourceName)

Gets a managed cluster. Gets the details of the managed cluster with a specified resource group and name.

Overrides:

ManagedClustersInner.getByResourceGroupAsync(String resourceGroupName, String resourceName)

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable to the ManagedClusterInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getByResourceGroupAsync

public ServiceFuture getByResourceGroupAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Gets a managed cluster. Gets the details of the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getByResourceGroupWithServiceResponseAsync

public Observable<>> getByResourceGroupWithServiceResponseAsync(String resourceGroupName, String resourceName)

Gets a managed cluster. Gets the details of the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable to the ManagedClusterInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getUpgradeProfile

public ManagedClusterUpgradeProfileInner getUpgradeProfile(String resourceGroupName, String resourceName)

Gets upgrade profile for a managed cluster. Gets the details of the upgrade profile for a managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the ManagedClusterUpgradeProfileInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getUpgradeProfileAsync

public Observable getUpgradeProfileAsync(String resourceGroupName, String resourceName)

Gets upgrade profile for a managed cluster. Gets the details of the upgrade profile for a managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable to the ManagedClusterUpgradeProfileInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getUpgradeProfileAsync

public ServiceFuture getUpgradeProfileAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Gets upgrade profile for a managed cluster. Gets the details of the upgrade profile for a managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getUpgradeProfileWithServiceResponseAsync

public Observable<>> getUpgradeProfileWithServiceResponseAsync(String resourceGroupName, String resourceName)

Gets upgrade profile for a managed cluster. Gets the details of the upgrade profile for a managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable to the ManagedClusterUpgradeProfileInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

list

public PagedList list()

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Overrides:

ManagedClustersInner.list()

Returns:

the PagedList<ManagedClusterInner> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listAsync

public Observable<>> listAsync()

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Overrides:

ManagedClustersInner.listAsync()

Returns:

the observable to the PagedList<ManagedClusterInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public ServiceFuture<>> listAsync(final ListOperationCallback serviceCallback)

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Parameters:

serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroup

public PagedList listByResourceGroup(final String resourceGroupName)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

Overrides:

ManagedClustersInner.listByResourceGroup(final String resourceGroupName)

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the PagedList<ManagedClusterInner> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listByResourceGroupAsync

public Observable<>> listByResourceGroupAsync(final String resourceGroupName)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

Overrides:

ManagedClustersInner.listByResourceGroupAsync(final String resourceGroupName)

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the observable to the PagedList<ManagedClusterInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroupAsync

public ServiceFuture<>> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback serviceCallback)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroupNext

public PagedList listByResourceGroupNext(final String nextPageLink)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<ManagedClusterInner> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listByResourceGroupNextAsync

public Observable<>> listByResourceGroupNextAsync(final String nextPageLink)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<ManagedClusterInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroupNextAsync

public ServiceFuture<>> listByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture<>> serviceFuture, final ListOperationCallback serviceCallback)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroupNextSinglePageAsync

public Observable<><>>> listByResourceGroupNextSinglePageAsync(final String nextPageLink)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

ServiceResponse<PageImpl<ManagedClusterInner>> *

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<ManagedClusterInner> object wrapped in ServiceResponse if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroupNextWithServiceResponseAsync

public Observable<><>>> listByResourceGroupNextWithServiceResponseAsync(final String nextPageLink)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<ManagedClusterInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroupSinglePageAsync

public Observable<><>>> listByResourceGroupSinglePageAsync(final String resourceGroupName)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

ServiceResponse<PageImpl<ManagedClusterInner>> *

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the PagedList<ManagedClusterInner> object wrapped in ServiceResponse if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroupWithServiceResponseAsync

public Observable<><>>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName)

Lists managed clusters in the specified subscription and resource group. Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the observable to the PagedList<ManagedClusterInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listClusterAdminCredentials

public CredentialResultsInner listClusterAdminCredentials(String resourceGroupName, String resourceName)

Gets cluster admin credential of a managed cluster. Gets cluster admin credential of the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the CredentialResultsInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listClusterAdminCredentialsAsync

public Observable listClusterAdminCredentialsAsync(String resourceGroupName, String resourceName)

Gets cluster admin credential of a managed cluster. Gets cluster admin credential of the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable to the CredentialResultsInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listClusterAdminCredentialsAsync

public ServiceFuture listClusterAdminCredentialsAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Gets cluster admin credential of a managed cluster. Gets cluster admin credential of the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listClusterAdminCredentialsWithServiceResponseAsync

public Observable<>> listClusterAdminCredentialsWithServiceResponseAsync(String resourceGroupName, String resourceName)

Gets cluster admin credential of a managed cluster. Gets cluster admin credential of the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable to the CredentialResultsInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listClusterMonitoringUserCredentials

public CredentialResultsInner listClusterMonitoringUserCredentials(String resourceGroupName, String resourceName)

Gets cluster monitoring user credential of a managed cluster. Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the CredentialResultsInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listClusterMonitoringUserCredentialsAsync

public Observable listClusterMonitoringUserCredentialsAsync(String resourceGroupName, String resourceName)

Gets cluster monitoring user credential of a managed cluster. Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable to the CredentialResultsInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listClusterMonitoringUserCredentialsAsync

public ServiceFuture listClusterMonitoringUserCredentialsAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Gets cluster monitoring user credential of a managed cluster. Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listClusterMonitoringUserCredentialsWithServiceResponseAsync

public Observable<>> listClusterMonitoringUserCredentialsWithServiceResponseAsync(String resourceGroupName, String resourceName)

Gets cluster monitoring user credential of a managed cluster. Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable to the CredentialResultsInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listClusterUserCredentials

public CredentialResultsInner listClusterUserCredentials(String resourceGroupName, String resourceName)

Gets cluster user credential of a managed cluster. Gets cluster user credential of the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the CredentialResultsInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listClusterUserCredentialsAsync

public Observable listClusterUserCredentialsAsync(String resourceGroupName, String resourceName)

Gets cluster user credential of a managed cluster. Gets cluster user credential of the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable to the CredentialResultsInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listClusterUserCredentialsAsync

public ServiceFuture listClusterUserCredentialsAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Gets cluster user credential of a managed cluster. Gets cluster user credential of the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listClusterUserCredentialsWithServiceResponseAsync

public Observable<>> listClusterUserCredentialsWithServiceResponseAsync(String resourceGroupName, String resourceName)

Gets cluster user credential of a managed cluster. Gets cluster user credential of the managed cluster with a specified resource group and name.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable to the CredentialResultsInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNext

public PagedList listNext(final String nextPageLink)

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<ManagedClusterInner> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listNextAsync

public Observable<>> listNextAsync(final String nextPageLink)

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<ManagedClusterInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextAsync

public ServiceFuture<>> listNextAsync(final String nextPageLink, final ServiceFuture<>> serviceFuture, final ListOperationCallback serviceCallback)

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextSinglePageAsync

public Observable<><>>> listNextSinglePageAsync(final String nextPageLink)

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

ServiceResponse<PageImpl<ManagedClusterInner>> *

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<ManagedClusterInner> object wrapped in ServiceResponse if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextWithServiceResponseAsync

public Observable<><>>> listNextWithServiceResponseAsync(final String nextPageLink)

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<ManagedClusterInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listSinglePageAsync

public Observable<><>>> listSinglePageAsync()

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Returns:

the PagedList<ManagedClusterInner> object wrapped in ServiceResponse if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listWithServiceResponseAsync

public Observable<><>>> listWithServiceResponseAsync()

Gets a list of managed clusters in the specified subscription. Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Returns:

the observable to the PagedList<ManagedClusterInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

resetAADProfile

public void resetAADProfile(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset AAD Profile operation for a Managed Cluster.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

resetAADProfileAsync

public Observable resetAADProfileAsync(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset AAD Profile operation for a Managed Cluster.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

resetAADProfileAsync

public ServiceFuture resetAADProfileAsync(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters, final ServiceCallback serviceCallback)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset AAD Profile operation for a Managed Cluster.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

resetAADProfileWithServiceResponseAsync

public Observable<>> resetAADProfileWithServiceResponseAsync(String resourceGroupName, String resourceName, ManagedClusterAADProfile parameters)

Reset AAD Profile of a managed cluster. Update the AAD Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset AAD Profile operation for a Managed Cluster.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

resetServicePrincipalProfile

public void resetServicePrincipalProfile(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

resetServicePrincipalProfileAsync

public Observable resetServicePrincipalProfileAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

resetServicePrincipalProfileAsync

public ServiceFuture resetServicePrincipalProfileAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters, final ServiceCallback serviceCallback)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

resetServicePrincipalProfileWithServiceResponseAsync

public Observable<>> resetServicePrincipalProfileWithServiceResponseAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters)

Reset Service Principal Profile of a managed cluster. Update the service principal Profile for a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

rotateClusterCertificates

public void rotateClusterCertificates(String resourceGroupName, String resourceName)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

rotateClusterCertificatesAsync

public Observable rotateClusterCertificatesAsync(String resourceGroupName, String resourceName)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

rotateClusterCertificatesAsync

public ServiceFuture rotateClusterCertificatesAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

rotateClusterCertificatesWithServiceResponseAsync

public Observable<>> rotateClusterCertificatesWithServiceResponseAsync(String resourceGroupName, String resourceName)

Rotate certificates of a managed cluster. Rotate certificates of a managed cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

start

public void start(String resourceGroupName, String resourceName)

Start Managed Cluster. Starts a Stopped Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

startAsync

public Observable startAsync(String resourceGroupName, String resourceName)

Start Managed Cluster. Starts a Stopped Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

startAsync

public ServiceFuture startAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Start Managed Cluster. Starts a Stopped Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

startWithServiceResponseAsync

public Observable<>> startWithServiceResponseAsync(String resourceGroupName, String resourceName)

Start Managed Cluster. Starts a Stopped Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

stop

public void stop(String resourceGroupName, String resourceName)

Stop Managed Cluster. Stops a Running Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

stopAsync

public Observable stopAsync(String resourceGroupName, String resourceName)

Stop Managed Cluster. Stops a Running Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

stopAsync

public ServiceFuture stopAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Stop Managed Cluster. Stops a Running Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

stopWithServiceResponseAsync

public Observable<>> stopWithServiceResponseAsync(String resourceGroupName, String resourceName)

Stop Managed Cluster. Stops a Running Managed Cluster.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateTags

public ManagedClusterInner updateTags(String resourceGroupName, String resourceName)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the ManagedClusterInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

updateTags

public ManagedClusterInner updateTags(String resourceGroupName, String resourceName, Map tags)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
tags - Resource tags.

Returns:

the ManagedClusterInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

updateTagsAsync

public Observable updateTagsAsync(String resourceGroupName, String resourceName)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateTagsAsync

public ServiceFuture updateTagsAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateTagsAsync

public Observable updateTagsAsync(String resourceGroupName, String resourceName, Map tags)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
tags - Resource tags.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateTagsAsync

public ServiceFuture updateTagsAsync(String resourceGroupName, String resourceName, Map tags, final ServiceCallback serviceCallback)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
tags - Resource tags.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateTagsWithServiceResponseAsync

public Observable<>> updateTagsWithServiceResponseAsync(String resourceGroupName, String resourceName)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateTagsWithServiceResponseAsync

public Observable<>> updateTagsWithServiceResponseAsync(String resourceGroupName, String resourceName, Map tags)

Updates tags on a managed cluster. Updates a managed cluster with the specified tags.

Parameters:

resourceGroupName - The name of the resource group.
resourceName - The name of the managed cluster resource.
tags - Resource tags.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to