Interface OpenShiftManagedClustersClient

    • Method Detail

      • listAsync

        com.azure.core.http.rest.PagedFlux<OpenShiftManagedClusterInner> listAsync()
        Gets a list of OpenShift managed clusters in the specified subscription. The operation returns properties of each OpenShift managed cluster.
        Specified by:
        listAsync in interface InnerSupportsListing<OpenShiftManagedClusterInner>
        Returns:
        a list of OpenShift 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<OpenShiftManagedClusterInner> list()
        Gets a list of OpenShift managed clusters in the specified subscription. The operation returns properties of each OpenShift managed cluster.
        Specified by:
        list in interface InnerSupportsListing<OpenShiftManagedClusterInner>
        Returns:
        a list of OpenShift 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<OpenShiftManagedClusterInner> list​(com.azure.core.util.Context context)
        Gets a list of OpenShift managed clusters in the specified subscription. The operation returns properties of each OpenShift managed cluster.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        a list of OpenShift 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<OpenShiftManagedClusterInner> listByResourceGroupAsync​(String resourceGroupName)
        Lists OpenShift managed clusters in the specified subscription and resource group. The operation returns properties of each OpenShift managed cluster.
        Specified by:
        listByResourceGroupAsync in interface InnerSupportsListing<OpenShiftManagedClusterInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        the response from the List OpenShift 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<OpenShiftManagedClusterInner> listByResourceGroup​(String resourceGroupName)
        Lists OpenShift managed clusters in the specified subscription and resource group. The operation returns properties of each OpenShift managed cluster.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<OpenShiftManagedClusterInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        the response from the List OpenShift 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<OpenShiftManagedClusterInner> listByResourceGroup​(String resourceGroupName,
                                                                                                 com.azure.core.util.Context context)
        Lists OpenShift managed clusters in the specified subscription and resource group. The operation returns properties of each OpenShift managed cluster.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        the response from the List OpenShift 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.
      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<OpenShiftManagedClusterInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                                  String resourceName)
        Gets the details of the managed OpenShift cluster with a specified resource group and name.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        Returns:
        the details of the managed OpenShift cluster with a specified resource group and name 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<OpenShiftManagedClusterInner> getByResourceGroupAsync​(String resourceGroupName,
                                                                   String resourceName)
        Gets the details of the managed OpenShift cluster with a specified resource group and name.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<OpenShiftManagedClusterInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        Returns:
        the details of the managed OpenShift cluster with a specified resource group and name 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

        OpenShiftManagedClusterInner getByResourceGroup​(String resourceGroupName,
                                                        String resourceName)
        Gets the details of the managed OpenShift cluster with a specified resource group and name.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<OpenShiftManagedClusterInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        Returns:
        the details of the managed OpenShift cluster with a specified resource group and name.
        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<OpenShiftManagedClusterInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                                       String resourceName,
                                                                                                       com.azure.core.util.Context context)
        Gets the details of the managed OpenShift cluster with a specified resource group and name.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        context - The context to associate with this operation.
        Returns:
        the details of the managed OpenShift cluster with a specified resource group and name 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,
                                                                                                  OpenShiftManagedClusterInner parameters)
        Creates or updates a OpenShift managed cluster with the specified configuration for agents and OpenShift version.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        parameters - Parameters supplied to the Create or Update an OpenShift Managed Cluster operation.
        Returns:
        openShift 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<OpenShiftManagedClusterInner>,​OpenShiftManagedClusterInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                                       String resourceName,
                                                                                                                                                                                       OpenShiftManagedClusterInner parameters)
        Creates or updates a OpenShift managed cluster with the specified configuration for agents and OpenShift version.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        parameters - Parameters supplied to the Create or Update an OpenShift Managed Cluster operation.
        Returns:
        the PollerFlux for polling of openShift 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<OpenShiftManagedClusterInner>,​OpenShiftManagedClusterInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                  String resourceName,
                                                                                                                                                                                  OpenShiftManagedClusterInner parameters)
        Creates or updates a OpenShift managed cluster with the specified configuration for agents and OpenShift version.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        parameters - Parameters supplied to the Create or Update an OpenShift Managed Cluster operation.
        Returns:
        the SyncPoller for polling of openShift 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<OpenShiftManagedClusterInner>,​OpenShiftManagedClusterInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                  String resourceName,
                                                                                                                                                                                  OpenShiftManagedClusterInner parameters,
                                                                                                                                                                                  com.azure.core.util.Context context)
        Creates or updates a OpenShift managed cluster with the specified configuration for agents and OpenShift version.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        parameters - Parameters supplied to the Create or Update an OpenShift Managed Cluster operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of openShift 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<OpenShiftManagedClusterInner> createOrUpdateAsync​(String resourceGroupName,
                                                               String resourceName,
                                                               OpenShiftManagedClusterInner parameters)
        Creates or updates a OpenShift managed cluster with the specified configuration for agents and OpenShift version.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        parameters - Parameters supplied to the Create or Update an OpenShift Managed Cluster operation.
        Returns:
        openShift 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

        OpenShiftManagedClusterInner createOrUpdate​(String resourceGroupName,
                                                    String resourceName,
                                                    OpenShiftManagedClusterInner parameters)
        Creates or updates a OpenShift managed cluster with the specified configuration for agents and OpenShift version.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        parameters - Parameters supplied to the Create or Update an OpenShift Managed Cluster operation.
        Returns:
        openShift 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

        OpenShiftManagedClusterInner createOrUpdate​(String resourceGroupName,
                                                    String resourceName,
                                                    OpenShiftManagedClusterInner parameters,
                                                    com.azure.core.util.Context context)
        Creates or updates a OpenShift managed cluster with the specified configuration for agents and OpenShift version.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        parameters - Parameters supplied to the Create or Update an OpenShift Managed Cluster operation.
        context - The context to associate with this operation.
        Returns:
        openShift 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 an OpenShift managed cluster with the specified tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        parameters - Parameters supplied to the Update OpenShift Managed Cluster Tags operation.
        Returns:
        openShift 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<OpenShiftManagedClusterInner>,​OpenShiftManagedClusterInner> beginUpdateTagsAsync​(String resourceGroupName,
                                                                                                                                                                                   String resourceName,
                                                                                                                                                                                   TagsObject parameters)
        Updates an OpenShift managed cluster with the specified tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        parameters - Parameters supplied to the Update OpenShift Managed Cluster Tags operation.
        Returns:
        the PollerFlux for polling of openShift 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<OpenShiftManagedClusterInner>,​OpenShiftManagedClusterInner> beginUpdateTags​(String resourceGroupName,
                                                                                                                                                                              String resourceName,
                                                                                                                                                                              TagsObject parameters)
        Updates an OpenShift managed cluster with the specified tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        parameters - Parameters supplied to the Update OpenShift Managed Cluster Tags operation.
        Returns:
        the SyncPoller for polling of openShift 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<OpenShiftManagedClusterInner>,​OpenShiftManagedClusterInner> beginUpdateTags​(String resourceGroupName,
                                                                                                                                                                              String resourceName,
                                                                                                                                                                              TagsObject parameters,
                                                                                                                                                                              com.azure.core.util.Context context)
        Updates an OpenShift managed cluster with the specified tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        parameters - Parameters supplied to the Update OpenShift Managed Cluster Tags operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of openShift 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<OpenShiftManagedClusterInner> updateTagsAsync​(String resourceGroupName,
                                                           String resourceName,
                                                           TagsObject parameters)
        Updates an OpenShift managed cluster with the specified tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        parameters - Parameters supplied to the Update OpenShift Managed Cluster Tags operation.
        Returns:
        openShift 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

        OpenShiftManagedClusterInner updateTags​(String resourceGroupName,
                                                String resourceName,
                                                TagsObject parameters)
        Updates an OpenShift managed cluster with the specified tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        parameters - Parameters supplied to the Update OpenShift Managed Cluster Tags operation.
        Returns:
        openShift 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

        OpenShiftManagedClusterInner updateTags​(String resourceGroupName,
                                                String resourceName,
                                                TagsObject parameters,
                                                com.azure.core.util.Context context)
        Updates an OpenShift managed cluster with the specified tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift managed cluster resource.
        parameters - Parameters supplied to the Update OpenShift Managed Cluster Tags operation.
        context - The context to associate with this operation.
        Returns:
        openShift 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 the OpenShift managed cluster with a specified resource group and name.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift 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 the OpenShift managed cluster with a specified resource group and name.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift 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 the OpenShift managed cluster with a specified resource group and name.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift 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 the OpenShift managed cluster with a specified resource group and name.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift 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 the OpenShift managed cluster with a specified resource group and name.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift 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 the OpenShift managed cluster with a specified resource group and name.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift 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 the OpenShift managed cluster with a specified resource group and name.
        Parameters:
        resourceGroupName - The name of the resource group.
        resourceName - The name of the OpenShift 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.