Partilhar via


ClustersClient Interface

Implements

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 Type Method and Description
abstract SyncPoller<PollResult<ClusterInner>,ClusterInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters)

Creates or updates an instance of an Event Hubs Cluster.

abstract SyncPoller<PollResult<ClusterInner>,ClusterInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, Context context)

Creates or updates an instance of an Event Hubs Cluster.

abstract PollerFlux<PollResult<ClusterInner>,ClusterInner> beginCreateOrUpdateAsync(String resourceGroupName, String clusterName, ClusterInner parameters)

Creates or updates an instance of an Event Hubs Cluster.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName)

Deletes an existing Event Hubs Cluster.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName, Context context)

Deletes an existing Event Hubs Cluster.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String clusterName)

Deletes an existing Event Hubs Cluster.

abstract SyncPoller<PollResult<ClusterInner>,ClusterInner> beginUpdate(String resourceGroupName, String clusterName, ClusterInner parameters)

Modifies mutable properties on the Event Hubs Cluster.

abstract SyncPoller<PollResult<ClusterInner>,ClusterInner> beginUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, Context context)

Modifies mutable properties on the Event Hubs Cluster.

abstract PollerFlux<PollResult<ClusterInner>,ClusterInner> beginUpdateAsync(String resourceGroupName, String clusterName, ClusterInner parameters)

Modifies mutable properties on the Event Hubs Cluster.

abstract ClusterInner createOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters)

Creates or updates an instance of an Event Hubs Cluster.

abstract ClusterInner createOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, Context context)

Creates or updates an instance of an Event Hubs Cluster.

abstract Mono<ClusterInner> createOrUpdateAsync(String resourceGroupName, String clusterName, ClusterInner parameters)

Creates or updates an instance of an Event Hubs Cluster.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String clusterName, ClusterInner parameters)

Creates or updates an instance of an Event Hubs Cluster.

abstract void delete(String resourceGroupName, String clusterName)

Deletes an existing Event Hubs Cluster.

abstract void delete(String resourceGroupName, String clusterName, Context context)

Deletes an existing Event Hubs Cluster.

abstract Mono<Void> deleteAsync(String resourceGroupName, String clusterName)

Deletes an existing Event Hubs Cluster.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String clusterName)

Deletes an existing Event Hubs Cluster.

abstract ClusterInner getByResourceGroup(String resourceGroupName, String clusterName)

Gets the resource description of the specified Event Hubs Cluster.

abstract Mono<ClusterInner> getByResourceGroupAsync(String resourceGroupName, String clusterName)

Gets the resource description of the specified Event Hubs Cluster.

abstract Response<ClusterInner> getByResourceGroupWithResponse(String resourceGroupName, String clusterName, Context context)

Gets the resource description of the specified Event Hubs Cluster.

abstract Mono<Response<ClusterInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String clusterName)

Gets the resource description of the specified Event Hubs Cluster.

abstract PagedIterable<ClusterInner> list()

Lists the available Event Hubs Clusters within an ARM resource group.

abstract PagedIterable<ClusterInner> list(Context context)

Lists the available Event Hubs Clusters within an ARM resource group.

abstract PagedFlux<ClusterInner> listAsync()

Lists the available Event Hubs Clusters within an ARM resource group.

abstract AvailableClustersListInner listAvailableClusterRegion()

List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.

abstract Mono<AvailableClustersListInner> listAvailableClusterRegionAsync()

List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.

abstract Response<AvailableClustersListInner> listAvailableClusterRegionWithResponse(Context context)

List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.

abstract Mono<Response<AvailableClustersListInner>> listAvailableClusterRegionWithResponseAsync()

List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.

abstract PagedIterable<ClusterInner> listByResourceGroup(String resourceGroupName)

Lists the available Event Hubs Clusters within an ARM resource group.

abstract PagedIterable<ClusterInner> listByResourceGroup(String resourceGroupName, Context context)

Lists the available Event Hubs Clusters within an ARM resource group.

abstract PagedFlux<ClusterInner> listByResourceGroupAsync(String resourceGroupName)

Lists the available Event Hubs Clusters within an ARM resource group.

abstract EHNamespaceIdListResultInner listNamespaces(String resourceGroupName, String clusterName)

List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.

abstract Mono<EHNamespaceIdListResultInner> listNamespacesAsync(String resourceGroupName, String clusterName)

List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.

abstract Response<EHNamespaceIdListResultInner> listNamespacesWithResponse(String resourceGroupName, String clusterName, Context context)

List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.

abstract Mono<Response<EHNamespaceIdListResultInner>> listNamespacesWithResponseAsync(String resourceGroupName, String clusterName)

List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.

abstract ClusterInner update(String resourceGroupName, String clusterName, ClusterInner parameters)

Modifies mutable properties on the Event Hubs Cluster.

abstract ClusterInner update(String resourceGroupName, String clusterName, ClusterInner parameters, Context context)

Modifies mutable properties on the Event Hubs Cluster.

abstract Mono<ClusterInner> updateAsync(String resourceGroupName, String clusterName, ClusterInner parameters)

Modifies mutable properties on the Event Hubs Cluster.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String clusterName, ClusterInner parameters)

Modifies mutable properties on the Event Hubs Cluster.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,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 SyncPoller<T,U> for polling of single Event Hubs Cluster resource in List or Get operations.

beginCreateOrUpdate

public abstract SyncPoller,ClusterInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, 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 SyncPoller<T,U> for polling of single Event Hubs Cluster resource in List or Get operations.

beginCreateOrUpdateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of single Event Hubs Cluster resource in List or Get operations.

beginDelete

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String clusterName, 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 SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,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 SyncPoller<T,U> for polling of single Event Hubs Cluster resource in List or Get operations.

beginUpdate

public abstract SyncPoller,ClusterInner> beginUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, 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 SyncPoller<T,U> for polling of single Event Hubs Cluster resource in List or Get operations.

beginUpdateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of single Event Hubs Cluster resource in List or Get operations.

createOrUpdate

public abstract ClusterInner createOrUpdate(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.

createOrUpdate

public abstract ClusterInner createOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, 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.

createOrUpdateAsync

public abstract Mono 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.

createOrUpdateWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

delete

public abstract void delete(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.

delete

public abstract void delete(String resourceGroupName, String clusterName, 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.

deleteAsync

public abstract Mono deleteAsync(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:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

getByResourceGroup

public abstract ClusterInner getByResourceGroup(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.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(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 on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String clusterName, 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<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Lists the available Event Hubs Clusters within an ARM resource group.

Returns:

the response of the List Event Hubs Clusters operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

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<T>.

listAsync

public abstract PagedFlux listAsync()

Lists the available Event Hubs Clusters within an ARM resource group.

Returns:

the response of the List Event Hubs Clusters operation as paginated response with PagedFlux<T>.

listAvailableClusterRegion

public abstract 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.

listAvailableClusterRegionAsync

public abstract Mono 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.

listAvailableClusterRegionWithResponse

public abstract Response listAvailableClusterRegionWithResponse(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<T>.

listAvailableClusterRegionWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists the available Event Hubs Clusters within an ARM resource group.

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<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, 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<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Lists the available Event Hubs Clusters within an ARM resource group.

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<T>.

listNamespaces

public abstract EHNamespaceIdListResultInner listNamespaces(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.

listNamespacesAsync

public abstract Mono 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.

listNamespacesWithResponse

public abstract Response listNamespacesWithResponse(String resourceGroupName, String clusterName, 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<T>.

listNamespacesWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

update

public abstract ClusterInner update(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.

update

public abstract ClusterInner update(String resourceGroupName, String clusterName, ClusterInner parameters, 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.

updateAsync

public abstract Mono 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.

updateWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

Applies to