Interface ManagedClustersClient

    • Method Detail

      • getOSOptionsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<OSOptionProfileInner>> getOSOptionsWithResponseAsync​(String location,
                                                                                                    String resourceType)
        Gets supported OS options in the specified subscription.
        Parameters:
        location - The name of a supported Azure region.
        resourceType - The resource type for which the OS options needs to be returned.
        Returns:
        supported OS options in the specified subscription along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getOSOptionsAsync

        Mono<OSOptionProfileInner> getOSOptionsAsync​(String location,
                                                     String resourceType)
        Gets supported OS options in the specified subscription.
        Parameters:
        location - The name of a supported Azure region.
        resourceType - The resource type for which the OS options needs to be returned.
        Returns:
        supported OS options in the specified subscription on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getOSOptionsAsync

        Mono<OSOptionProfileInner> getOSOptionsAsync​(String location)
        Gets supported OS options in the specified subscription.
        Parameters:
        location - The name of a supported Azure region.
        Returns:
        supported OS options in the specified subscription on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getOSOptions

        OSOptionProfileInner getOSOptions​(String location)
        Gets supported OS options in the specified subscription.
        Parameters:
        location - The name of a supported Azure region.
        Returns:
        supported OS options in the specified subscription.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getOSOptionsWithResponse

        com.azure.core.http.rest.Response<OSOptionProfileInner> getOSOptionsWithResponse​(String location,
                                                                                         String resourceType,
                                                                                         com.azure.core.util.Context context)
        Gets supported OS options in the specified subscription.
        Parameters:
        location - The name of a supported Azure region.
        resourceType - The resource type for which the OS options needs to be returned.
        context - The context to associate with this operation.
        Returns:
        supported OS options in the specified subscription along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listAsync

        com.azure.core.http.rest.PagedFlux<ManagedClusterInner> listAsync()
        Gets a list of managed clusters in the specified subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<ManagedClusterInner>
        Returns:
        a list of managed clusters in the specified subscription as paginated response with PagedFlux.
        Throws:
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<ManagedClusterInner> list()
        Gets a list of managed clusters in the specified subscription.
        Specified by:
        list in interface InnerSupportsListing<ManagedClusterInner>
        Returns:
        a list of managed clusters in the specified subscription as paginated response with PagedIterable.
        Throws:
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<ManagedClusterInner> list​(com.azure.core.util.Context context)
        Gets a list of managed clusters in the specified subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        a list of managed clusters in the specified subscription as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listByResourceGroupAsync

        com.azure.core.http.rest.PagedFlux<ManagedClusterInner> listByResourceGroupAsync​(String resourceGroupName)
        Lists managed clusters in the specified subscription and resource group.
        Specified by:
        listByResourceGroupAsync in interface InnerSupportsListing<ManagedClusterInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        the response from the List Managed Clusters operation as paginated response with PagedFlux.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<ManagedClusterInner> listByResourceGroup​(String resourceGroupName)
        Lists managed clusters in the specified subscription and resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<ManagedClusterInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        the response from the List Managed Clusters operation as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<ManagedClusterInner> listByResourceGroup​(String resourceGroupName,
                                                                                        com.azure.core.util.Context context)
        Lists managed clusters in the specified subscription and resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        the response from the List Managed Clusters operation as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getUpgradeProfileWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ManagedClusterUpgradeProfileInner>> getUpgradeProfileWithResponseAsync​(String resourceGroupName,
                                                                                                                      String resourceName)
        Gets the upgrade profile of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the upgrade profile of a managed cluster along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getUpgradeProfileAsync

        Mono<ManagedClusterUpgradeProfileInner> getUpgradeProfileAsync​(String resourceGroupName,
                                                                       String resourceName)
        Gets the upgrade profile of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the upgrade profile of a managed cluster on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getUpgradeProfile

        ManagedClusterUpgradeProfileInner getUpgradeProfile​(String resourceGroupName,
                                                            String resourceName)
        Gets the upgrade profile of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the upgrade profile of a managed cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getUpgradeProfileWithResponse

        com.azure.core.http.rest.Response<ManagedClusterUpgradeProfileInner> getUpgradeProfileWithResponse​(String resourceGroupName,
                                                                                                           String resourceName,
                                                                                                           com.azure.core.util.Context context)
        Gets the upgrade profile of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        context - The context to associate with this operation.
        Returns:
        the upgrade profile of a managed cluster along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAccessProfileWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ManagedClusterAccessProfileInner>> getAccessProfileWithResponseAsync​(String resourceGroupName,
                                                                                                                    String resourceName,
                                                                                                                    String roleName)
        **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/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:
        managed cluster Access Profile along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAccessProfileAsync

        Mono<ManagedClusterAccessProfileInner> getAccessProfileAsync​(String resourceGroupName,
                                                                     String resourceName,
                                                                     String roleName)
        **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/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:
        managed cluster Access Profile on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAccessProfile

        ManagedClusterAccessProfileInner getAccessProfile​(String resourceGroupName,
                                                          String resourceName,
                                                          String roleName)
        **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/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:
        managed cluster Access Profile.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAccessProfileWithResponse

        com.azure.core.http.rest.Response<ManagedClusterAccessProfileInner> getAccessProfileWithResponse​(String resourceGroupName,
                                                                                                         String resourceName,
                                                                                                         String roleName,
                                                                                                         com.azure.core.util.Context context)
        **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/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.
        context - The context to associate with this operation.
        Returns:
        managed cluster Access Profile along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterAdminCredentialsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<CredentialResultsInner>> listClusterAdminCredentialsWithResponseAsync​(String resourceGroupName,
                                                                                                                     String resourceName,
                                                                                                                     String serverFqdn)
        Lists the admin credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        serverFqdn - server fqdn type for credentials to be returned.
        Returns:
        the list credential result response along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterAdminCredentialsAsync

        Mono<CredentialResultsInner> listClusterAdminCredentialsAsync​(String resourceGroupName,
                                                                      String resourceName,
                                                                      String serverFqdn)
        Lists the admin credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        serverFqdn - server fqdn type for credentials to be returned.
        Returns:
        the list credential result response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterAdminCredentialsAsync

        Mono<CredentialResultsInner> listClusterAdminCredentialsAsync​(String resourceGroupName,
                                                                      String resourceName)
        Lists the admin credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the list credential result response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterAdminCredentials

        CredentialResultsInner listClusterAdminCredentials​(String resourceGroupName,
                                                           String resourceName)
        Lists the admin credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the list credential result response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterAdminCredentialsWithResponse

        com.azure.core.http.rest.Response<CredentialResultsInner> listClusterAdminCredentialsWithResponse​(String resourceGroupName,
                                                                                                          String resourceName,
                                                                                                          String serverFqdn,
                                                                                                          com.azure.core.util.Context context)
        Lists the admin credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        serverFqdn - server fqdn type for credentials to be returned.
        context - The context to associate with this operation.
        Returns:
        the list credential result response along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterUserCredentialsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<CredentialResultsInner>> listClusterUserCredentialsWithResponseAsync​(String resourceGroupName,
                                                                                                                    String resourceName,
                                                                                                                    String serverFqdn,
                                                                                                                    Format format)
        Lists the user credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        serverFqdn - server fqdn type for credentials to be returned.
        format - Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.
        Returns:
        the list credential result response along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterUserCredentialsAsync

        Mono<CredentialResultsInner> listClusterUserCredentialsAsync​(String resourceGroupName,
                                                                     String resourceName,
                                                                     String serverFqdn,
                                                                     Format format)
        Lists the user credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        serverFqdn - server fqdn type for credentials to be returned.
        format - Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.
        Returns:
        the list credential result response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterUserCredentialsAsync

        Mono<CredentialResultsInner> listClusterUserCredentialsAsync​(String resourceGroupName,
                                                                     String resourceName)
        Lists the user credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the list credential result response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterUserCredentials

        CredentialResultsInner listClusterUserCredentials​(String resourceGroupName,
                                                          String resourceName)
        Lists the user credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the list credential result response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterUserCredentialsWithResponse

        com.azure.core.http.rest.Response<CredentialResultsInner> listClusterUserCredentialsWithResponse​(String resourceGroupName,
                                                                                                         String resourceName,
                                                                                                         String serverFqdn,
                                                                                                         Format format,
                                                                                                         com.azure.core.util.Context context)
        Lists the user credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        serverFqdn - server fqdn type for credentials to be returned.
        format - Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.
        context - The context to associate with this operation.
        Returns:
        the list credential result response along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterMonitoringUserCredentialsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<CredentialResultsInner>> listClusterMonitoringUserCredentialsWithResponseAsync​(String resourceGroupName,
                                                                                                                              String resourceName,
                                                                                                                              String serverFqdn)
        Lists the cluster monitoring user credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        serverFqdn - server fqdn type for credentials to be returned.
        Returns:
        the list credential result response along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterMonitoringUserCredentialsAsync

        Mono<CredentialResultsInner> listClusterMonitoringUserCredentialsAsync​(String resourceGroupName,
                                                                               String resourceName,
                                                                               String serverFqdn)
        Lists the cluster monitoring user credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        serverFqdn - server fqdn type for credentials to be returned.
        Returns:
        the list credential result response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterMonitoringUserCredentialsAsync

        Mono<CredentialResultsInner> listClusterMonitoringUserCredentialsAsync​(String resourceGroupName,
                                                                               String resourceName)
        Lists the cluster monitoring user credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the list credential result response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterMonitoringUserCredentials

        CredentialResultsInner listClusterMonitoringUserCredentials​(String resourceGroupName,
                                                                    String resourceName)
        Lists the cluster monitoring user credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the list credential result response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClusterMonitoringUserCredentialsWithResponse

        com.azure.core.http.rest.Response<CredentialResultsInner> listClusterMonitoringUserCredentialsWithResponse​(String resourceGroupName,
                                                                                                                   String resourceName,
                                                                                                                   String serverFqdn,
                                                                                                                   com.azure.core.util.Context context)
        Lists the cluster monitoring user credentials of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        serverFqdn - server fqdn type for credentials to be returned.
        context - The context to associate with this operation.
        Returns:
        the list credential result response along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ManagedClusterInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                         String resourceName)
        Gets a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        a managed cluster along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getByResourceGroupAsync

        Mono<ManagedClusterInner> getByResourceGroupAsync​(String resourceGroupName,
                                                          String resourceName)
        Gets a managed cluster.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<ManagedClusterInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        a managed cluster on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getByResourceGroup

        ManagedClusterInner getByResourceGroup​(String resourceGroupName,
                                               String resourceName)
        Gets a managed cluster.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<ManagedClusterInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        a managed cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<ManagedClusterInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                              String resourceName,
                                                                                              com.azure.core.util.Context context)
        Gets a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        context - The context to associate with this operation.
        Returns:
        a managed cluster along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String resourceName,
                                                                                                  ManagedClusterInner parameters)
        Creates or updates a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The managed cluster to create or update.
        Returns:
        managed cluster along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedClusterInner>,​ManagedClusterInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                     String resourceName,
                                                                                                                                                                     ManagedClusterInner parameters)
        Creates or updates a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The managed cluster to create or update.
        Returns:
        the PollerFlux for polling of managed cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedClusterInner>,​ManagedClusterInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                String resourceName,
                                                                                                                                                                ManagedClusterInner parameters)
        Creates or updates a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The managed cluster to create or update.
        Returns:
        the SyncPoller for polling of managed cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedClusterInner>,​ManagedClusterInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                String resourceName,
                                                                                                                                                                ManagedClusterInner parameters,
                                                                                                                                                                com.azure.core.util.Context context)
        Creates or updates a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The managed cluster to create or update.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of managed cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateAsync

        Mono<ManagedClusterInner> createOrUpdateAsync​(String resourceGroupName,
                                                      String resourceName,
                                                      ManagedClusterInner parameters)
        Creates or updates a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The managed cluster to create or update.
        Returns:
        managed cluster on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        ManagedClusterInner createOrUpdate​(String resourceGroupName,
                                           String resourceName,
                                           ManagedClusterInner parameters)
        Creates or updates a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The managed cluster to create or update.
        Returns:
        managed cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        ManagedClusterInner createOrUpdate​(String resourceGroupName,
                                           String resourceName,
                                           ManagedClusterInner parameters,
                                           com.azure.core.util.Context context)
        Creates or updates a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The managed cluster to create or update.
        context - The context to associate with this operation.
        Returns:
        managed cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateTagsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync​(String resourceGroupName,
                                                                                              String resourceName,
                                                                                              TagsObject parameters)
        Updates tags on a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - Parameters supplied to the Update Managed Cluster Tags operation.
        Returns:
        managed cluster along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginUpdateTagsAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedClusterInner>,​ManagedClusterInner> beginUpdateTagsAsync​(String resourceGroupName,
                                                                                                                                                                 String resourceName,
                                                                                                                                                                 TagsObject parameters)
        Updates tags on a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - Parameters supplied to the Update Managed Cluster Tags operation.
        Returns:
        the PollerFlux for polling of managed cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginUpdateTags

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedClusterInner>,​ManagedClusterInner> beginUpdateTags​(String resourceGroupName,
                                                                                                                                                            String resourceName,
                                                                                                                                                            TagsObject parameters)
        Updates tags on a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - Parameters supplied to the Update Managed Cluster Tags operation.
        Returns:
        the SyncPoller for polling of managed cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginUpdateTags

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedClusterInner>,​ManagedClusterInner> beginUpdateTags​(String resourceGroupName,
                                                                                                                                                            String resourceName,
                                                                                                                                                            TagsObject parameters,
                                                                                                                                                            com.azure.core.util.Context context)
        Updates tags on a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - Parameters supplied to the Update Managed Cluster Tags operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of managed cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateTagsAsync

        Mono<ManagedClusterInner> updateTagsAsync​(String resourceGroupName,
                                                  String resourceName,
                                                  TagsObject parameters)
        Updates tags on a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - Parameters supplied to the Update Managed Cluster Tags operation.
        Returns:
        managed cluster on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateTags

        ManagedClusterInner updateTags​(String resourceGroupName,
                                       String resourceName,
                                       TagsObject parameters)
        Updates tags on a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - Parameters supplied to the Update Managed Cluster Tags operation.
        Returns:
        managed cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateTags

        ManagedClusterInner updateTags​(String resourceGroupName,
                                       String resourceName,
                                       TagsObject parameters,
                                       com.azure.core.util.Context context)
        Updates tags on a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - Parameters supplied to the Update Managed Cluster Tags operation.
        context - The context to associate with this operation.
        Returns:
        managed cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String resourceName)
        Deletes a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDeleteAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteAsync​(String resourceGroupName,
                                                                                                                               String resourceName)
        Deletes a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the PollerFlux for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String resourceName)
        Deletes a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String resourceName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteAsync

        Mono<Void> deleteAsync​(String resourceGroupName,
                               String resourceName)
        Deletes a managed cluster.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        A Mono that completes when a successful response is received.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String resourceName)
        Deletes 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.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String resourceName,
                    com.azure.core.util.Context context)
        Deletes a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetServicePrincipalProfileWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetServicePrincipalProfileWithResponseAsync​(String resourceGroupName,
                                                                                                                String resourceName,
                                                                                                                ManagedClusterServicePrincipalProfile parameters)
        This action cannot be performed on a cluster that is not using a service principal.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The service principal profile to set on the managed cluster.
        Returns:
        the Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginResetServicePrincipalProfileAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginResetServicePrincipalProfileAsync​(String resourceGroupName,
                                                                                                                                                     String resourceName,
                                                                                                                                                     ManagedClusterServicePrincipalProfile parameters)
        This action cannot be performed on a cluster that is not using a service principal.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The service principal profile to set on the managed cluster.
        Returns:
        the PollerFlux for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginResetServicePrincipalProfile

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginResetServicePrincipalProfile​(String resourceGroupName,
                                                                                                                                                String resourceName,
                                                                                                                                                ManagedClusterServicePrincipalProfile parameters)
        This action cannot be performed on a cluster that is not using a service principal.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The service principal profile to set on the managed cluster.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginResetServicePrincipalProfile

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginResetServicePrincipalProfile​(String resourceGroupName,
                                                                                                                                                String resourceName,
                                                                                                                                                ManagedClusterServicePrincipalProfile parameters,
                                                                                                                                                com.azure.core.util.Context context)
        This action cannot be performed on a cluster that is not using a service principal.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The service principal profile to set on the managed cluster.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetServicePrincipalProfileAsync

        Mono<Void> resetServicePrincipalProfileAsync​(String resourceGroupName,
                                                     String resourceName,
                                                     ManagedClusterServicePrincipalProfile parameters)
        This action cannot be performed on a cluster that is not using a service principal.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The service principal profile to set on the managed cluster.
        Returns:
        A Mono that completes when a successful response is received.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetServicePrincipalProfile

        void resetServicePrincipalProfile​(String resourceGroupName,
                                          String resourceName,
                                          ManagedClusterServicePrincipalProfile parameters)
        This action cannot be performed on a cluster that is not using a service principal.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The service principal profile to set on the managed cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetServicePrincipalProfile

        void resetServicePrincipalProfile​(String resourceGroupName,
                                          String resourceName,
                                          ManagedClusterServicePrincipalProfile parameters,
                                          com.azure.core.util.Context context)
        This action cannot be performed on a cluster that is not using a service principal.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The service principal profile to set on the managed cluster.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAadProfileWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetAadProfileWithResponseAsync​(String resourceGroupName,
                                                                                                   String resourceName,
                                                                                                   ManagedClusterAadProfile parameters)
        Reset the AAD Profile of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The AAD profile to set on the Managed Cluster.
        Returns:
        the Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginResetAadProfileAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginResetAadProfileAsync​(String resourceGroupName,
                                                                                                                                        String resourceName,
                                                                                                                                        ManagedClusterAadProfile parameters)
        Reset the AAD Profile of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The AAD profile to set on the Managed Cluster.
        Returns:
        the PollerFlux for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginResetAadProfile

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginResetAadProfile​(String resourceGroupName,
                                                                                                                                   String resourceName,
                                                                                                                                   ManagedClusterAadProfile parameters)
        Reset the AAD Profile of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The AAD profile to set on the Managed Cluster.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginResetAadProfile

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginResetAadProfile​(String resourceGroupName,
                                                                                                                                   String resourceName,
                                                                                                                                   ManagedClusterAadProfile parameters,
                                                                                                                                   com.azure.core.util.Context context)
        Reset the AAD Profile of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The AAD profile to set on the Managed Cluster.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAadProfileAsync

        Mono<Void> resetAadProfileAsync​(String resourceGroupName,
                                        String resourceName,
                                        ManagedClusterAadProfile parameters)
        Reset the AAD Profile of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The AAD profile to set on the Managed Cluster.
        Returns:
        A Mono that completes when a successful response is received.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAadProfile

        void resetAadProfile​(String resourceGroupName,
                             String resourceName,
                             ManagedClusterAadProfile parameters)
        Reset the AAD Profile of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The AAD profile to set on the Managed Cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAadProfile

        void resetAadProfile​(String resourceGroupName,
                             String resourceName,
                             ManagedClusterAadProfile parameters,
                             com.azure.core.util.Context context)
        Reset the AAD Profile of a managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        parameters - The AAD profile to set on the Managed Cluster.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • rotateClusterCertificatesWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> rotateClusterCertificatesWithResponseAsync​(String resourceGroupName,
                                                                                                             String resourceName)
        See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginRotateClusterCertificatesAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginRotateClusterCertificatesAsync​(String resourceGroupName,
                                                                                                                                                  String resourceName)
        See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the PollerFlux for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginRotateClusterCertificates

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginRotateClusterCertificates​(String resourceGroupName,
                                                                                                                                             String resourceName)
        See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginRotateClusterCertificates

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginRotateClusterCertificates​(String resourceGroupName,
                                                                                                                                             String resourceName,
                                                                                                                                             com.azure.core.util.Context context)
        See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • rotateClusterCertificatesAsync

        Mono<Void> rotateClusterCertificatesAsync​(String resourceGroupName,
                                                  String resourceName)
        See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        A Mono that completes when a successful response is received.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • rotateClusterCertificates

        void rotateClusterCertificates​(String resourceGroupName,
                                       String resourceName)
        See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • rotateClusterCertificates

        void rotateClusterCertificates​(String resourceGroupName,
                                       String resourceName,
                                       com.azure.core.util.Context context)
        See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • stopWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopWithResponseAsync​(String resourceGroupName,
                                                                                        String resourceName)
        This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginStopAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginStopAsync​(String resourceGroupName,
                                                                                                                             String resourceName)
        This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the PollerFlux for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginStop

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginStop​(String resourceGroupName,
                                                                                                                        String resourceName)
        This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginStop

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginStop​(String resourceGroupName,
                                                                                                                        String resourceName,
                                                                                                                        com.azure.core.util.Context context)
        This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • stopAsync

        Mono<Void> stopAsync​(String resourceGroupName,
                             String resourceName)
        This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        A Mono that completes when a successful response is received.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • stop

        void stop​(String resourceGroupName,
                  String resourceName)
        This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a 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.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • stop

        void stop​(String resourceGroupName,
                  String resourceName,
                  com.azure.core.util.Context context)
        This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • startWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startWithResponseAsync​(String resourceGroupName,
                                                                                         String resourceName)
        See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginStartAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginStartAsync​(String resourceGroupName,
                                                                                                                              String resourceName)
        See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the PollerFlux for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginStart

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginStart​(String resourceGroupName,
                                                                                                                         String resourceName)
        See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginStart

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginStart​(String resourceGroupName,
                                                                                                                         String resourceName,
                                                                                                                         com.azure.core.util.Context context)
        See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • startAsync

        Mono<Void> startAsync​(String resourceGroupName,
                              String resourceName)
        See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        A Mono that completes when a successful response is received.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • start

        void start​(String resourceGroupName,
                   String resourceName)
        See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a 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.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • start

        void start​(String resourceGroupName,
                   String resourceName,
                   com.azure.core.util.Context context)
        See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • runCommandWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> runCommandWithResponseAsync​(String resourceGroupName,
                                                                                              String resourceName,
                                                                                              RunCommandRequest requestPayload)
        AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        requestPayload - The run command request.
        Returns:
        run command result along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginRunCommandAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RunCommandResultInner>,​RunCommandResultInner> beginRunCommandAsync​(String resourceGroupName,
                                                                                                                                                                     String resourceName,
                                                                                                                                                                     RunCommandRequest requestPayload)
        AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        requestPayload - The run command request.
        Returns:
        the PollerFlux for polling of run command result.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginRunCommand

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RunCommandResultInner>,​RunCommandResultInner> beginRunCommand​(String resourceGroupName,
                                                                                                                                                                String resourceName,
                                                                                                                                                                RunCommandRequest requestPayload)
        AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        requestPayload - The run command request.
        Returns:
        the SyncPoller for polling of run command result.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginRunCommand

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RunCommandResultInner>,​RunCommandResultInner> beginRunCommand​(String resourceGroupName,
                                                                                                                                                                String resourceName,
                                                                                                                                                                RunCommandRequest requestPayload,
                                                                                                                                                                com.azure.core.util.Context context)
        AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        requestPayload - The run command request.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of run command result.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • runCommandAsync

        Mono<RunCommandResultInner> runCommandAsync​(String resourceGroupName,
                                                    String resourceName,
                                                    RunCommandRequest requestPayload)
        AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        requestPayload - The run command request.
        Returns:
        run command result on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • runCommand

        RunCommandResultInner runCommand​(String resourceGroupName,
                                         String resourceName,
                                         RunCommandRequest requestPayload)
        AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        requestPayload - The run command request.
        Returns:
        run command result.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • runCommand

        RunCommandResultInner runCommand​(String resourceGroupName,
                                         String resourceName,
                                         RunCommandRequest requestPayload,
                                         com.azure.core.util.Context context)
        AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        requestPayload - The run command request.
        context - The context to associate with this operation.
        Returns:
        run command result.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getCommandResultWithResponseAsync

        Mono<com.azure.core.http.rest.Response<RunCommandResultInner>> getCommandResultWithResponseAsync​(String resourceGroupName,
                                                                                                         String resourceName,
                                                                                                         String commandId)
        Gets the results of a command which has been run on the Managed Cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        commandId - Id of the command.
        Returns:
        the results of a command which has been run on the Managed Cluster along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getCommandResultAsync

        Mono<RunCommandResultInner> getCommandResultAsync​(String resourceGroupName,
                                                          String resourceName,
                                                          String commandId)
        Gets the results of a command which has been run on the Managed Cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        commandId - Id of the command.
        Returns:
        the results of a command which has been run on the Managed Cluster on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getCommandResult

        RunCommandResultInner getCommandResult​(String resourceGroupName,
                                               String resourceName,
                                               String commandId)
        Gets the results of a command which has been run on the Managed Cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        commandId - Id of the command.
        Returns:
        the results of a command which has been run on the Managed Cluster.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getCommandResultWithResponse

        com.azure.core.http.rest.Response<RunCommandResultInner> getCommandResultWithResponse​(String resourceGroupName,
                                                                                              String resourceName,
                                                                                              String commandId,
                                                                                              com.azure.core.util.Context context)
        Gets the results of a command which has been run on the Managed Cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        commandId - Id of the command.
        context - The context to associate with this operation.
        Returns:
        the results of a command which has been run on the Managed Cluster along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOutboundNetworkDependenciesEndpointsAsync

        com.azure.core.http.rest.PagedFlux<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpointsAsync​(String resourceGroupName,
                                                                                                                           String resourceName)
        Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster as paginated response with PagedFlux.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOutboundNetworkDependenciesEndpoints

        com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpoints​(String resourceGroupName,
                                                                                                                          String resourceName)
        Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        Returns:
        a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOutboundNetworkDependenciesEndpoints

        com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpoints​(String resourceGroupName,
                                                                                                                          String resourceName,
                                                                                                                          com.azure.core.util.Context context)
        Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the managed cluster resource.
        context - The context to associate with this operation.
        Returns:
        a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.