Interface ClustersClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<ClusterInner>,InnerSupportsListing<ClusterInner>
public interface ClustersClient
extends InnerSupportsGet<ClusterInner>, InnerSupportsListing<ClusterInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ClustersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters) Creates or updates an instance of an Event Hubs Cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, com.azure.core.util.Context context) Creates or updates an instance of an Event Hubs Cluster.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginCreateOrUpdateAsync(String resourceGroupName, String clusterName, ClusterInner parameters) Creates or updates an instance of an Event Hubs Cluster.beginDelete(String resourceGroupName, String clusterName) Deletes an existing Event Hubs Cluster.beginDelete(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Deletes an existing Event Hubs Cluster.beginDeleteAsync(String resourceGroupName, String clusterName) Deletes an existing Event Hubs Cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpdate(String resourceGroupName, String clusterName, ClusterInner parameters) Modifies mutable properties on the Event Hubs Cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, com.azure.core.util.Context context) Modifies mutable properties on the Event Hubs Cluster.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpdateAsync(String resourceGroupName, String clusterName, ClusterInner parameters) Modifies mutable properties on the Event Hubs Cluster.createOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters) Creates or updates an instance of an Event Hubs Cluster.createOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, com.azure.core.util.Context context) Creates or updates an instance of an Event Hubs Cluster.createOrUpdateAsync(String resourceGroupName, String clusterName, ClusterInner parameters) Creates or updates an instance of an Event Hubs Cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String clusterName, ClusterInner parameters) Creates or updates an instance of an Event Hubs Cluster.voidDeletes an existing Event Hubs Cluster.voidDeletes an existing Event Hubs Cluster.deleteAsync(String resourceGroupName, String clusterName) Deletes an existing Event Hubs Cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String clusterName) Deletes an existing Event Hubs Cluster.getByResourceGroup(String resourceGroupName, String clusterName) Gets the resource description of the specified Event Hubs Cluster.getByResourceGroupAsync(String resourceGroupName, String clusterName) Gets the resource description of the specified Event Hubs Cluster.com.azure.core.http.rest.Response<ClusterInner> getByResourceGroupWithResponse(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Gets the resource description of the specified Event Hubs Cluster.Mono<com.azure.core.http.rest.Response<ClusterInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String clusterName) Gets the resource description of the specified Event Hubs Cluster.com.azure.core.http.rest.PagedIterable<ClusterInner> list()Lists the available Event Hubs Clusters within an ARM resource group.com.azure.core.http.rest.PagedIterable<ClusterInner> list(com.azure.core.util.Context context) Lists the available Event Hubs Clusters within an ARM resource group.com.azure.core.http.rest.PagedFlux<ClusterInner> Lists the available Event Hubs Clusters within an ARM resource group.List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.com.azure.core.http.rest.Response<AvailableClustersListInner> listAvailableClusterRegionWithResponse(com.azure.core.util.Context context) List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.Mono<com.azure.core.http.rest.Response<AvailableClustersListInner>> List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.com.azure.core.http.rest.PagedIterable<ClusterInner> listByResourceGroup(String resourceGroupName) Lists the available Event Hubs Clusters within an ARM resource group.com.azure.core.http.rest.PagedIterable<ClusterInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists the available Event Hubs Clusters within an ARM resource group.com.azure.core.http.rest.PagedFlux<ClusterInner> listByResourceGroupAsync(String resourceGroupName) Lists the available Event Hubs Clusters within an ARM resource group.listNamespaces(String resourceGroupName, String clusterName) List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.listNamespacesAsync(String resourceGroupName, String clusterName) List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.com.azure.core.http.rest.Response<EHNamespaceIdListResultInner> listNamespacesWithResponse(String resourceGroupName, String clusterName, com.azure.core.util.Context context) List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.Mono<com.azure.core.http.rest.Response<EHNamespaceIdListResultInner>> listNamespacesWithResponseAsync(String resourceGroupName, String clusterName) List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.update(String resourceGroupName, String clusterName, ClusterInner parameters) Modifies mutable properties on the Event Hubs Cluster.update(String resourceGroupName, String clusterName, ClusterInner parameters, com.azure.core.util.Context context) Modifies mutable properties on the Event Hubs Cluster.updateAsync(String resourceGroupName, String clusterName, ClusterInner parameters) Modifies mutable properties on the Event Hubs Cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String clusterName, ClusterInner parameters) Modifies mutable properties on the Event Hubs Cluster.
-
Method Details
-
listAvailableClusterRegionWithResponseAsync
Mono<com.azure.core.http.rest.Response<AvailableClustersListInner>> listAvailableClusterRegionWithResponseAsync()List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.- Returns:
- the response of the List Available Clusters operation along with
Responseon successful completion ofMono. - 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.
-
listAvailableClusterRegionAsync
Mono<AvailableClustersListInner> listAvailableClusterRegionAsync()List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.- Returns:
- the response of the List Available Clusters operation on successful completion of
Mono. - 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.
-
listAvailableClusterRegionWithResponse
com.azure.core.http.rest.Response<AvailableClustersListInner> listAvailableClusterRegionWithResponse(com.azure.core.util.Context context) List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.- Parameters:
context- The context to associate with this operation.- Returns:
- the response of the List Available Clusters operation 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.
-
listAvailableClusterRegion
AvailableClustersListInner listAvailableClusterRegion()List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.- Returns:
- the response of the List Available Clusters operation.
- 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<ClusterInner> listAsync()Lists the available Event Hubs Clusters within an ARM resource group.- Specified by:
listAsyncin interfaceInnerSupportsListing<ClusterInner>- Returns:
- the response of the List Event Hubs Clusters operation 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<ClusterInner> list()Lists the available Event Hubs Clusters within an ARM resource group.- Specified by:
listin interfaceInnerSupportsListing<ClusterInner>- Returns:
- the response of the List Event Hubs Clusters operation 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
Lists the available Event Hubs Clusters within an ARM resource group.- Parameters:
context- The context to associate with this operation.- Returns:
- the response of the List Event Hubs 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.
-
listByResourceGroupAsync
Lists the available Event Hubs Clusters within an ARM resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<ClusterInner>- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.- Returns:
- the response of the List Event Hubs 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
Lists the available Event Hubs Clusters within an ARM resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<ClusterInner>- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.- Returns:
- the response of the List Event Hubs 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<ClusterInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists the available Event Hubs Clusters within an ARM resource group.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.context- The context to associate with this operation.- Returns:
- the response of the List Event Hubs 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<ClusterInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String clusterName) Gets the resource description of the specified Event Hubs Cluster.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.- Returns:
- the resource description of the specified Event Hubs 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.
-
getByResourceGroupAsync
Gets the resource description of the specified Event Hubs Cluster.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<ClusterInner>- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.- Returns:
- the resource description of the specified Event Hubs 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ClusterInner> getByResourceGroupWithResponse(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Gets the resource description of the specified Event Hubs Cluster.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.context- The context to associate with this operation.- Returns:
- the resource description of the specified Event Hubs 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.
-
getByResourceGroup
Gets the resource description of the specified Event Hubs Cluster.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<ClusterInner>- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.- Returns:
- the resource description of the specified Event Hubs 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String clusterName, ClusterInner parameters) Creates or updates an instance of an Event Hubs Cluster.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.parameters- Parameters for creating a eventhub cluster resource.- Returns:
- single Event Hubs Cluster resource in List or Get operations 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<ClusterInner>,ClusterInner> beginCreateOrUpdateAsync(String resourceGroupName, String clusterName, ClusterInner parameters) Creates or updates an instance of an Event Hubs Cluster.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.parameters- Parameters for creating a eventhub cluster resource.- Returns:
- the
PollerFluxfor polling of single Event Hubs Cluster resource in List or Get operations. - 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<ClusterInner>,ClusterInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters) Creates or updates an instance of an Event Hubs Cluster.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.parameters- Parameters for creating a eventhub cluster resource.- Returns:
- the
SyncPollerfor polling of single Event Hubs Cluster resource in List or Get operations. - 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<ClusterInner>,ClusterInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, com.azure.core.util.Context context) Creates or updates an instance of an Event Hubs Cluster.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.parameters- Parameters for creating a eventhub cluster resource.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of single Event Hubs Cluster resource in List or Get operations. - 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<ClusterInner> createOrUpdateAsync(String resourceGroupName, String clusterName, ClusterInner parameters) Creates or updates an instance of an Event Hubs Cluster.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.parameters- Parameters for creating a eventhub cluster resource.- Returns:
- single Event Hubs Cluster resource in List or Get operations 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
Creates or updates an instance of an Event Hubs Cluster.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.parameters- Parameters for creating a eventhub cluster resource.- Returns:
- single Event Hubs Cluster resource in List or Get operations.
- 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
ClusterInner createOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, com.azure.core.util.Context context) Creates or updates an instance of an Event Hubs Cluster.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.parameters- Parameters for creating a eventhub cluster resource.context- The context to associate with this operation.- Returns:
- single Event Hubs Cluster resource in List or Get operations.
- 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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String clusterName, ClusterInner parameters) Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.parameters- The properties of the Event Hubs Cluster which should be updated.- Returns:
- single Event Hubs Cluster resource in List or Get operations 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.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ClusterInner>,ClusterInner> beginUpdateAsync(String resourceGroupName, String clusterName, ClusterInner parameters) Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.parameters- The properties of the Event Hubs Cluster which should be updated.- Returns:
- the
PollerFluxfor polling of single Event Hubs Cluster resource in List or Get operations. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>,ClusterInner> beginUpdate(String resourceGroupName, String clusterName, ClusterInner parameters) Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.parameters- The properties of the Event Hubs Cluster which should be updated.- Returns:
- the
SyncPollerfor polling of single Event Hubs Cluster resource in List or Get operations. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>,ClusterInner> beginUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, com.azure.core.util.Context context) Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.parameters- The properties of the Event Hubs Cluster which should be updated.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of single Event Hubs Cluster resource in List or Get operations. - 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.
-
updateAsync
Mono<ClusterInner> updateAsync(String resourceGroupName, String clusterName, ClusterInner parameters) Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.parameters- The properties of the Event Hubs Cluster which should be updated.- Returns:
- single Event Hubs Cluster resource in List or Get operations 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.
-
update
Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.parameters- The properties of the Event Hubs Cluster which should be updated.- Returns:
- single Event Hubs Cluster resource in List or Get operations.
- 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.
-
update
ClusterInner update(String resourceGroupName, String clusterName, ClusterInner parameters, com.azure.core.util.Context context) Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.parameters- The properties of the Event Hubs Cluster which should be updated.context- The context to associate with this operation.- Returns:
- single Event Hubs Cluster resource in List or Get operations.
- 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 clusterName) Deletes an existing Event Hubs Cluster. This operation is idempotent.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.- 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 clusterName) Deletes an existing Event Hubs Cluster. This operation is idempotent.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.- 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 clusterName) Deletes an existing Event Hubs Cluster. This operation is idempotent.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.- 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 clusterName, com.azure.core.util.Context context) Deletes an existing Event Hubs Cluster. This operation is idempotent.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.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 existing Event Hubs Cluster. This operation is idempotent.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.- 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 existing Event Hubs Cluster. This operation is idempotent.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs 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.
-
delete
Deletes an existing Event Hubs Cluster. This operation is idempotent.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs 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.
-
listNamespacesWithResponseAsync
Mono<com.azure.core.http.rest.Response<EHNamespaceIdListResultInner>> listNamespacesWithResponseAsync(String resourceGroupName, String clusterName) List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.- Returns:
- the response of the List Namespace IDs operation 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.
-
listNamespacesAsync
Mono<EHNamespaceIdListResultInner> listNamespacesAsync(String resourceGroupName, String clusterName) List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.- Returns:
- the response of the List Namespace IDs operation 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.
-
listNamespacesWithResponse
com.azure.core.http.rest.Response<EHNamespaceIdListResultInner> listNamespacesWithResponse(String resourceGroupName, String clusterName, com.azure.core.util.Context context) List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.context- The context to associate with this operation.- Returns:
- the response of the List Namespace IDs operation 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.
-
listNamespaces
List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.clusterName- The name of the Event Hubs Cluster.- Returns:
- the response of the List Namespace IDs 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.
-