Interface KubeEnvironmentsClient

    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<KubeEnvironmentInner> list​(com.azure.core.util.Context context)
        Description for Get all Kubernetes Environments for a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        collection of Kubernetes Environments.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<KubeEnvironmentInner> listByResourceGroup​(String resourceGroupName,
                                                                                         com.azure.core.util.Context context)
        Description for Get all the Kubernetes Environments in a resource group.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        context - The context to associate with this operation.
        Returns:
        collection of Kubernetes Environments.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<KubeEnvironmentInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                          String name)
        Description for Get the properties of a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        Returns:
        a Kubernetes cluster specialized for web workloads by Azure App Service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<KubeEnvironmentInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                               String name,
                                                                                               com.azure.core.util.Context context)
        Description for Get the properties of a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        context - The context to associate with this operation.
        Returns:
        a Kubernetes cluster specialized for web workloads by Azure App Service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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 name,
                                                                                                  KubeEnvironmentInner kubeEnvironmentEnvelope)
        Description for Creates or updates a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        kubeEnvironmentEnvelope - Configuration details of the Kubernetes Environment.
        Returns:
        a Kubernetes cluster specialized for web workloads by Azure App Service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<KubeEnvironmentInner>,​KubeEnvironmentInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                       String name,
                                                                                                                                                                       KubeEnvironmentInner kubeEnvironmentEnvelope)
        Description for Creates or updates a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        kubeEnvironmentEnvelope - Configuration details of the Kubernetes Environment.
        Returns:
        a Kubernetes cluster specialized for web workloads by Azure App Service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<KubeEnvironmentInner>,​KubeEnvironmentInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                  String name,
                                                                                                                                                                  KubeEnvironmentInner kubeEnvironmentEnvelope)
        Description for Creates or updates a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        kubeEnvironmentEnvelope - Configuration details of the Kubernetes Environment.
        Returns:
        a Kubernetes cluster specialized for web workloads by Azure App Service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<KubeEnvironmentInner>,​KubeEnvironmentInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                  String name,
                                                                                                                                                                  KubeEnvironmentInner kubeEnvironmentEnvelope,
                                                                                                                                                                  com.azure.core.util.Context context)
        Description for Creates or updates a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        kubeEnvironmentEnvelope - Configuration details of the Kubernetes Environment.
        context - The context to associate with this operation.
        Returns:
        a Kubernetes cluster specialized for web workloads by Azure App Service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateAsync

        Mono<KubeEnvironmentInner> createOrUpdateAsync​(String resourceGroupName,
                                                       String name,
                                                       KubeEnvironmentInner kubeEnvironmentEnvelope)
        Description for Creates or updates a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        kubeEnvironmentEnvelope - Configuration details of the Kubernetes Environment.
        Returns:
        a Kubernetes cluster specialized for web workloads by Azure App Service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        KubeEnvironmentInner createOrUpdate​(String resourceGroupName,
                                            String name,
                                            KubeEnvironmentInner kubeEnvironmentEnvelope)
        Description for Creates or updates a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        kubeEnvironmentEnvelope - Configuration details of the Kubernetes Environment.
        Returns:
        a Kubernetes cluster specialized for web workloads by Azure App Service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        KubeEnvironmentInner createOrUpdate​(String resourceGroupName,
                                            String name,
                                            KubeEnvironmentInner kubeEnvironmentEnvelope,
                                            com.azure.core.util.Context context)
        Description for Creates or updates a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        kubeEnvironmentEnvelope - Configuration details of the Kubernetes Environment.
        context - The context to associate with this operation.
        Returns:
        a Kubernetes cluster specialized for web workloads by Azure App Service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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 name)
        Description for Delete a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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 name)
        Description for Delete a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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 name)
        Description for Delete a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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 name,
                                                                                                                          com.azure.core.util.Context context)
        Description for Delete a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        context - The context to associate with this operation.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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 name)
        Description for Delete a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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 name,
                    com.azure.core.util.Context context)
        Description for Delete a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<KubeEnvironmentInner>> updateWithResponseAsync​(String resourceGroupName,
                                                                                              String name,
                                                                                              KubeEnvironmentPatchResource kubeEnvironmentEnvelope)
        Description for Creates or updates a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        kubeEnvironmentEnvelope - Configuration details of the Kubernetes Environment.
        Returns:
        a Kubernetes cluster specialized for web workloads by Azure App Service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateAsync

        Mono<KubeEnvironmentInner> updateAsync​(String resourceGroupName,
                                               String name,
                                               KubeEnvironmentPatchResource kubeEnvironmentEnvelope)
        Description for Creates or updates a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        kubeEnvironmentEnvelope - Configuration details of the Kubernetes Environment.
        Returns:
        a Kubernetes cluster specialized for web workloads by Azure App Service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • update

        KubeEnvironmentInner update​(String resourceGroupName,
                                    String name,
                                    KubeEnvironmentPatchResource kubeEnvironmentEnvelope)
        Description for Creates or updates a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        kubeEnvironmentEnvelope - Configuration details of the Kubernetes Environment.
        Returns:
        a Kubernetes cluster specialized for web workloads by Azure App Service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateWithResponse

        com.azure.core.http.rest.Response<KubeEnvironmentInner> updateWithResponse​(String resourceGroupName,
                                                                                   String name,
                                                                                   KubeEnvironmentPatchResource kubeEnvironmentEnvelope,
                                                                                   com.azure.core.util.Context context)
        Description for Creates or updates a Kubernetes Environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the Kubernetes Environment.
        kubeEnvironmentEnvelope - Configuration details of the Kubernetes Environment.
        context - The context to associate with this operation.
        Returns:
        a Kubernetes cluster specialized for web workloads by Azure App Service.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.