Interface OpenShiftManagedClustersClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<OpenShiftManagedClusterInner>,InnerSupportsListing<OpenShiftManagedClusterInner>
public interface OpenShiftManagedClustersClient
extends InnerSupportsGet<OpenShiftManagedClusterInner>, InnerSupportsListing<OpenShiftManagedClusterInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in OpenShiftManagedClustersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OpenShiftManagedClusterInner>,OpenShiftManagedClusterInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, OpenShiftManagedClusterInner parameters) Creates or updates an OpenShift managed cluster.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 an OpenShift managed cluster.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<OpenShiftManagedClusterInner>,OpenShiftManagedClusterInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, OpenShiftManagedClusterInner parameters) Creates or updates an OpenShift managed cluster.beginDelete(String resourceGroupName, String resourceName) Deletes an OpenShift managed cluster.beginDelete(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Deletes an OpenShift managed cluster.beginDeleteAsync(String resourceGroupName, String resourceName) Deletes an OpenShift managed cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OpenShiftManagedClusterInner>,OpenShiftManagedClusterInner> beginUpdateTags(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on an OpenShift managed cluster.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 tags on an OpenShift managed cluster.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<OpenShiftManagedClusterInner>,OpenShiftManagedClusterInner> beginUpdateTagsAsync(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on an OpenShift managed cluster.createOrUpdate(String resourceGroupName, String resourceName, OpenShiftManagedClusterInner parameters) Creates or updates an OpenShift managed cluster.createOrUpdate(String resourceGroupName, String resourceName, OpenShiftManagedClusterInner parameters, com.azure.core.util.Context context) Creates or updates an OpenShift managed cluster.createOrUpdateAsync(String resourceGroupName, String resourceName, OpenShiftManagedClusterInner parameters) Creates or updates an OpenShift managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, OpenShiftManagedClusterInner parameters) Creates or updates an OpenShift managed cluster.voidDeletes an OpenShift managed cluster.voidDeletes an OpenShift managed cluster.deleteAsync(String resourceGroupName, String resourceName) Deletes an OpenShift managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String resourceName) Deletes an OpenShift managed cluster.getByResourceGroup(String resourceGroupName, String resourceName) Gets a OpenShift managed cluster.getByResourceGroupAsync(String resourceGroupName, String resourceName) Gets a OpenShift managed cluster.com.azure.core.http.rest.Response<OpenShiftManagedClusterInner>getByResourceGroupWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a OpenShift managed cluster.Mono<com.azure.core.http.rest.Response<OpenShiftManagedClusterInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String resourceName) Gets a OpenShift managed cluster.com.azure.core.http.rest.PagedIterable<OpenShiftManagedClusterInner>list()Gets a list of OpenShift managed clusters in the specified subscription.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.com.azure.core.http.rest.PagedFlux<OpenShiftManagedClusterInner>Gets a list of OpenShift managed clusters in the specified subscription.com.azure.core.http.rest.PagedIterable<OpenShiftManagedClusterInner>listByResourceGroup(String resourceGroupName) Lists OpenShift managed clusters in the specified subscription and resource group.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.com.azure.core.http.rest.PagedFlux<OpenShiftManagedClusterInner>listByResourceGroupAsync(String resourceGroupName) Lists OpenShift managed clusters in the specified subscription and resource group.updateTags(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on an OpenShift managed cluster.updateTags(String resourceGroupName, String resourceName, TagsObject parameters, com.azure.core.util.Context context) Updates tags on an OpenShift managed cluster.updateTagsAsync(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on an OpenShift managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>updateTagsWithResponseAsync(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on an OpenShift managed cluster.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<OpenShiftManagedClusterInner> listAsync()Gets a list of OpenShift managed clusters in the specified subscription. Gets a list of OpenShift managed clusters in the specified subscription. The operation returns properties of each OpenShift managed cluster.- Specified by:
listAsyncin interfaceInnerSupportsListing<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. Gets a list of OpenShift managed clusters in the specified subscription. The operation returns properties of each OpenShift managed cluster.- Specified by:
listin interfaceInnerSupportsListing<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. 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. Lists OpenShift managed clusters in the specified subscription and resource group. The operation returns properties of each OpenShift managed cluster.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<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. Lists OpenShift managed clusters in the specified subscription and resource group. The operation returns properties of each OpenShift managed cluster.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<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. 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 a OpenShift managed cluster. 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
Responseon successful completion ofMono. - 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 a OpenShift managed cluster. Gets the details of the managed OpenShift cluster with a specified resource group and name.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<OpenShiftManagedClusterInner> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a OpenShift managed cluster. 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.
-
getByResourceGroup
Gets a OpenShift managed cluster. Gets the details of the managed OpenShift cluster with a specified resource group and name.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, OpenShiftManagedClusterInner parameters) Creates or updates an OpenShift managed cluster. 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
Responseon successful completion ofMono. - 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 an OpenShift managed cluster. 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
PollerFluxfor 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 an OpenShift managed cluster. 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
SyncPollerfor 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 an OpenShift managed cluster. 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
SyncPollerfor 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 an OpenShift managed cluster. 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 an OpenShift managed cluster. 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 an OpenShift managed cluster. 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 tags on an OpenShift managed cluster. 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
Responseon successful completion ofMono. - 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 tags on an OpenShift managed cluster. 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
PollerFluxfor 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 tags on an OpenShift managed cluster. 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
SyncPollerfor 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 tags on an OpenShift managed cluster. 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
SyncPollerfor 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 tags on an OpenShift managed cluster. 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 tags on an OpenShift managed cluster. 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 tags on an OpenShift managed cluster. 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 an OpenShift managed cluster. 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
Responseon successful completion ofMono. - 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 an OpenShift managed cluster. 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
PollerFluxfor 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 an OpenShift managed cluster. 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
SyncPollerfor 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 an OpenShift managed cluster. 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
SyncPollerfor 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
Deletes an OpenShift managed cluster. Deletes the OpenShift managed cluster with a specified resource group and name.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.resourceName- The name of the OpenShift managed cluster resource.- Returns:
- A
Monothat 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
Deletes an OpenShift managed cluster. 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
Deletes an OpenShift managed cluster. 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.
-