Compartilhar via


EventHubsClient Interface

public interface EventHubsClient

An instance of this class provides access to all the operations defined in EventHubsClient.

Method Summary

Modifier and Type Method and Description
abstract EventhubInner createOrUpdate(String resourceGroupName, String namespaceName, String eventHubName, EventhubInner parameters)

Creates or updates a new Event Hub as a nested resource within a Namespace.

abstract Mono<EventhubInner> createOrUpdateAsync(String resourceGroupName, String namespaceName, String eventHubName, EventhubInner parameters)

Creates or updates a new Event Hub as a nested resource within a Namespace.

abstract AuthorizationRuleInner createOrUpdateAuthorizationRule(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, AuthorizationRuleInner parameters)

Creates or updates an AuthorizationRule for the specified Event Hub.

abstract Mono<AuthorizationRuleInner> createOrUpdateAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, AuthorizationRuleInner parameters)

Creates or updates an AuthorizationRule for the specified Event Hub.

abstract Response<AuthorizationRuleInner> createOrUpdateAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, AuthorizationRuleInner parameters, Context context)

Creates or updates an AuthorizationRule for the specified Event Hub.

abstract Mono<Response<AuthorizationRuleInner>> createOrUpdateAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, AuthorizationRuleInner parameters)

Creates or updates an AuthorizationRule for the specified Event Hub.

abstract Response<EventhubInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String eventHubName, EventhubInner parameters, Context context)

Creates or updates a new Event Hub as a nested resource within a Namespace.

abstract Mono<Response<EventhubInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName, EventhubInner parameters)

Creates or updates a new Event Hub as a nested resource within a Namespace.

abstract void delete(String resourceGroupName, String namespaceName, String eventHubName)

Deletes an Event Hub from the specified Namespace and resource group.

abstract Mono<Void> deleteAsync(String resourceGroupName, String namespaceName, String eventHubName)

Deletes an Event Hub from the specified Namespace and resource group.

abstract void deleteAuthorizationRule(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Deletes an Event Hub AuthorizationRule.

abstract Mono<Void> deleteAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Deletes an Event Hub AuthorizationRule.

abstract Response<Void> deleteAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, Context context)

Deletes an Event Hub AuthorizationRule.

abstract Mono<Response<Void>> deleteAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Deletes an Event Hub AuthorizationRule.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, String eventHubName, Context context)

Deletes an Event Hub from the specified Namespace and resource group.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName)

Deletes an Event Hub from the specified Namespace and resource group.

abstract EventhubInner get(String resourceGroupName, String namespaceName, String eventHubName)

Gets an Event Hubs description for the specified Event Hub.

abstract Mono<EventhubInner> getAsync(String resourceGroupName, String namespaceName, String eventHubName)

Gets an Event Hubs description for the specified Event Hub.

abstract AuthorizationRuleInner getAuthorizationRule(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Gets an AuthorizationRule for an Event Hub by rule name.

abstract Mono<AuthorizationRuleInner> getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Gets an AuthorizationRule for an Event Hub by rule name.

abstract Response<AuthorizationRuleInner> getAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, Context context)

Gets an AuthorizationRule for an Event Hub by rule name.

abstract Mono<Response<AuthorizationRuleInner>> getAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Gets an AuthorizationRule for an Event Hub by rule name.

abstract Response<EventhubInner> getWithResponse(String resourceGroupName, String namespaceName, String eventHubName, Context context)

Gets an Event Hubs description for the specified Event Hub.

abstract Mono<Response<EventhubInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName)

Gets an Event Hubs description for the specified Event Hub.

abstract PagedIterable<AuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String eventHubName)

Gets the authorization rules for an Event Hub.

abstract PagedIterable<AuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String eventHubName, Context context)

Gets the authorization rules for an Event Hub.

abstract PagedFlux<AuthorizationRuleInner> listAuthorizationRulesAsync(String resourceGroupName, String namespaceName, String eventHubName)

Gets the authorization rules for an Event Hub.

abstract PagedIterable<EventhubInner> listByNamespace(String resourceGroupName, String namespaceName)

Gets all the Event Hubs in a Namespace.

abstract PagedIterable<EventhubInner> listByNamespace(String resourceGroupName, String namespaceName, Integer skip, Integer top, Context context)

Gets all the Event Hubs in a Namespace.

abstract PagedFlux<EventhubInner> listByNamespaceAsync(String resourceGroupName, String namespaceName)

Gets all the Event Hubs in a Namespace.

abstract PagedFlux<EventhubInner> listByNamespaceAsync(String resourceGroupName, String namespaceName, Integer skip, Integer top)

Gets all the Event Hubs in a Namespace.

abstract AccessKeysInner listKeys(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Gets the ACS and SAS connection strings for the Event Hub.

abstract Mono<AccessKeysInner> listKeysAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Gets the ACS and SAS connection strings for the Event Hub.

abstract Response<AccessKeysInner> listKeysWithResponse(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, Context context)

Gets the ACS and SAS connection strings for the Event Hub.

abstract Mono<Response<AccessKeysInner>> listKeysWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Gets the ACS and SAS connection strings for the Event Hub.

abstract AccessKeysInner regenerateKeys(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, RegenerateAccessKeyParameters parameters)

Regenerates the ACS and SAS connection strings for the Event Hub.

abstract Mono<AccessKeysInner> regenerateKeysAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, RegenerateAccessKeyParameters parameters)

Regenerates the ACS and SAS connection strings for the Event Hub.

abstract Response<AccessKeysInner> regenerateKeysWithResponse(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, RegenerateAccessKeyParameters parameters, Context context)

Regenerates the ACS and SAS connection strings for the Event Hub.

abstract Mono<Response<AccessKeysInner>> regenerateKeysWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, RegenerateAccessKeyParameters parameters)

Regenerates the ACS and SAS connection strings for the Event Hub.

Method Details

createOrUpdate

public abstract EventhubInner createOrUpdate(String resourceGroupName, String namespaceName, String eventHubName, EventhubInner parameters)

Creates or updates a new Event Hub as a nested resource within a Namespace.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
parameters - Parameters supplied to create an Event Hub resource.

Returns:

single item in List or Get Event Hub operation.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String namespaceName, String eventHubName, EventhubInner parameters)

Creates or updates a new Event Hub as a nested resource within a Namespace.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
parameters - Parameters supplied to create an Event Hub resource.

Returns:

single item in List or Get Event Hub operation on successful completion of Mono.

createOrUpdateAuthorizationRule

public abstract AuthorizationRuleInner createOrUpdateAuthorizationRule(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, AuthorizationRuleInner parameters)

Creates or updates an AuthorizationRule for the specified Event Hub. Creation/update of the AuthorizationRule will take a few seconds to take effect.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.
parameters - The shared access AuthorizationRule.

Returns:

single item in a List or Get AuthorizationRule operation.

createOrUpdateAuthorizationRuleAsync

public abstract Mono createOrUpdateAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, AuthorizationRuleInner parameters)

Creates or updates an AuthorizationRule for the specified Event Hub. Creation/update of the AuthorizationRule will take a few seconds to take effect.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.
parameters - The shared access AuthorizationRule.

Returns:

single item in a List or Get AuthorizationRule operation on successful completion of Mono.

createOrUpdateAuthorizationRuleWithResponse

public abstract Response createOrUpdateAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, AuthorizationRuleInner parameters, Context context)

Creates or updates an AuthorizationRule for the specified Event Hub. Creation/update of the AuthorizationRule will take a few seconds to take effect.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.
parameters - The shared access AuthorizationRule.
context - The context to associate with this operation.

Returns:

single item in a List or Get AuthorizationRule operation along with Response<T>.

createOrUpdateAuthorizationRuleWithResponseAsync

public abstract Mono> createOrUpdateAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, AuthorizationRuleInner parameters)

Creates or updates an AuthorizationRule for the specified Event Hub. Creation/update of the AuthorizationRule will take a few seconds to take effect.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.
parameters - The shared access AuthorizationRule.

Returns:

single item in a List or Get AuthorizationRule operation along with Response<T> on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String eventHubName, EventhubInner parameters, Context context)

Creates or updates a new Event Hub as a nested resource within a Namespace.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
parameters - Parameters supplied to create an Event Hub resource.
context - The context to associate with this operation.

Returns:

single item in List or Get Event Hub operation along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName, EventhubInner parameters)

Creates or updates a new Event Hub as a nested resource within a Namespace.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
parameters - Parameters supplied to create an Event Hub resource.

Returns:

single item in List or Get Event Hub operation along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String namespaceName, String eventHubName)

Deletes an Event Hub from the specified Namespace and resource group.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String namespaceName, String eventHubName)

Deletes an Event Hub from the specified Namespace and resource group.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.

Returns:

A Mono that completes when a successful response is received.

deleteAuthorizationRule

public abstract void deleteAuthorizationRule(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Deletes an Event Hub AuthorizationRule.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.

deleteAuthorizationRuleAsync

public abstract Mono deleteAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Deletes an Event Hub AuthorizationRule.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.

Returns:

A Mono that completes when a successful response is received.

deleteAuthorizationRuleWithResponse

public abstract Response deleteAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, Context context)

Deletes an Event Hub AuthorizationRule.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.
context - The context to associate with this operation.

Returns:

deleteAuthorizationRuleWithResponseAsync

public abstract Mono> deleteAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Deletes an Event Hub AuthorizationRule.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.

Returns:

the Response<T> on successful completion of Mono.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String namespaceName, String eventHubName, Context context)

Deletes an Event Hub from the specified Namespace and resource group.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName)

Deletes an Event Hub from the specified Namespace and resource group.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract EventhubInner get(String resourceGroupName, String namespaceName, String eventHubName)

Gets an Event Hubs description for the specified Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.

Returns:

an Event Hubs description for the specified Event Hub.

getAsync

public abstract Mono getAsync(String resourceGroupName, String namespaceName, String eventHubName)

Gets an Event Hubs description for the specified Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.

Returns:

an Event Hubs description for the specified Event Hub on successful completion of Mono.

getAuthorizationRule

public abstract AuthorizationRuleInner getAuthorizationRule(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Gets an AuthorizationRule for an Event Hub by rule name.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.

Returns:

an AuthorizationRule for an Event Hub by rule name.

getAuthorizationRuleAsync

public abstract Mono getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Gets an AuthorizationRule for an Event Hub by rule name.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.

Returns:

an AuthorizationRule for an Event Hub by rule name on successful completion of Mono.

getAuthorizationRuleWithResponse

public abstract Response getAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, Context context)

Gets an AuthorizationRule for an Event Hub by rule name.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.
context - The context to associate with this operation.

Returns:

an AuthorizationRule for an Event Hub by rule name along with Response<T>.

getAuthorizationRuleWithResponseAsync

public abstract Mono> getAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Gets an AuthorizationRule for an Event Hub by rule name.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.

Returns:

an AuthorizationRule for an Event Hub by rule name along with Response<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String namespaceName, String eventHubName, Context context)

Gets an Event Hubs description for the specified Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
context - The context to associate with this operation.

Returns:

an Event Hubs description for the specified Event Hub along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName)

Gets an Event Hubs description for the specified Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.

Returns:

an Event Hubs description for the specified Event Hub along with Response<T> on successful completion of Mono.

listAuthorizationRules

public abstract PagedIterable listAuthorizationRules(String resourceGroupName, String namespaceName, String eventHubName)

Gets the authorization rules for an Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.

Returns:

the authorization rules for an Event Hub as paginated response with PagedIterable<T>.

listAuthorizationRules

public abstract PagedIterable listAuthorizationRules(String resourceGroupName, String namespaceName, String eventHubName, Context context)

Gets the authorization rules for an Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
context - The context to associate with this operation.

Returns:

the authorization rules for an Event Hub as paginated response with PagedIterable<T>.

listAuthorizationRulesAsync

public abstract PagedFlux listAuthorizationRulesAsync(String resourceGroupName, String namespaceName, String eventHubName)

Gets the authorization rules for an Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.

Returns:

the authorization rules for an Event Hub as paginated response with PagedFlux<T>.

listByNamespace

public abstract PagedIterable listByNamespace(String resourceGroupName, String namespaceName)

Gets all the Event Hubs in a Namespace.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.

Returns:

all the Event Hubs in a Namespace as paginated response with PagedIterable<T>.

listByNamespace

public abstract PagedIterable listByNamespace(String resourceGroupName, String namespaceName, Integer skip, Integer top, Context context)

Gets all the Event Hubs in a Namespace.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
skip - Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls.
top - May be used to limit the number of results to the most recent N usageDetails.
context - The context to associate with this operation.

Returns:

all the Event Hubs in a Namespace as paginated response with PagedIterable<T>.

listByNamespaceAsync

public abstract PagedFlux listByNamespaceAsync(String resourceGroupName, String namespaceName)

Gets all the Event Hubs in a Namespace.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.

Returns:

all the Event Hubs in a Namespace as paginated response with PagedFlux<T>.

listByNamespaceAsync

public abstract PagedFlux listByNamespaceAsync(String resourceGroupName, String namespaceName, Integer skip, Integer top)

Gets all the Event Hubs in a Namespace.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
skip - Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls.
top - May be used to limit the number of results to the most recent N usageDetails.

Returns:

all the Event Hubs in a Namespace as paginated response with PagedFlux<T>.

listKeys

public abstract AccessKeysInner listKeys(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Gets the ACS and SAS connection strings for the Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.

Returns:

the ACS and SAS connection strings for the Event Hub.

listKeysAsync

public abstract Mono listKeysAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Gets the ACS and SAS connection strings for the Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.

Returns:

the ACS and SAS connection strings for the Event Hub on successful completion of Mono.

listKeysWithResponse

public abstract Response listKeysWithResponse(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, Context context)

Gets the ACS and SAS connection strings for the Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.
context - The context to associate with this operation.

Returns:

the ACS and SAS connection strings for the Event Hub along with Response<T>.

listKeysWithResponseAsync

public abstract Mono> listKeysWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName)

Gets the ACS and SAS connection strings for the Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.

Returns:

the ACS and SAS connection strings for the Event Hub along with Response<T> on successful completion of Mono.

regenerateKeys

public abstract AccessKeysInner regenerateKeys(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, RegenerateAccessKeyParameters parameters)

Regenerates the ACS and SAS connection strings for the Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.
parameters - Parameters supplied to regenerate the AuthorizationRule Keys (PrimaryKey/SecondaryKey).

Returns:

namespace/EventHub Connection String.

regenerateKeysAsync

public abstract Mono regenerateKeysAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, RegenerateAccessKeyParameters parameters)

Regenerates the ACS and SAS connection strings for the Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.
parameters - Parameters supplied to regenerate the AuthorizationRule Keys (PrimaryKey/SecondaryKey).

Returns:

namespace/EventHub Connection String on successful completion of Mono.

regenerateKeysWithResponse

public abstract Response regenerateKeysWithResponse(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, RegenerateAccessKeyParameters parameters, Context context)

Regenerates the ACS and SAS connection strings for the Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.
parameters - Parameters supplied to regenerate the AuthorizationRule Keys (PrimaryKey/SecondaryKey).
context - The context to associate with this operation.

Returns:

namespace/EventHub Connection String along with Response<T>.

regenerateKeysWithResponseAsync

public abstract Mono> regenerateKeysWithResponseAsync(String resourceGroupName, String namespaceName, String eventHubName, String authorizationRuleName, RegenerateAccessKeyParameters parameters)

Regenerates the ACS and SAS connection strings for the Event Hub.

Parameters:

resourceGroupName - Name of the resource group within the azure subscription.
namespaceName - The Namespace name.
eventHubName - The Event Hub name.
authorizationRuleName - The authorization rule name.
parameters - Parameters supplied to regenerate the AuthorizationRule Keys (PrimaryKey/SecondaryKey).

Returns:

namespace/EventHub Connection String along with Response<T> on successful completion of Mono.

Applies to