Interface EventHubNamespace
- All Superinterfaces:
GroupableResource<EventHubsManager,
,EHNamespaceInner> HasId
,HasInnerModel<EHNamespaceInner>
,HasManager<EventHubsManager>
,HasName
,HasResourceGroup
,Indexable
,Refreshable<EventHubNamespace>
,Resource
,Updatable<EventHubNamespace.Update>
public interface EventHubNamespace
extends GroupableResource<EventHubsManager,EHNamespaceInner>, Refreshable<EventHubNamespace>, Updatable<EventHubNamespace.Update>
Type representing an Azure EventHub namespace.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the event hub namespace definition.static interface
Grouping of event hub namespace definition stages.static interface
The template for a event hub namespace update operation, containing all the settings that can be modified.static interface
Grouping of all the event hub namespace update stages.Nested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T extends Object>, Resource.DefinitionWithTags<T extends Object>, Resource.UpdateWithTags<T extends Object>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
com.azure.core.http.rest.PagedIterable<EventHubNamespaceAuthorizationRule>
com.azure.core.http.rest.PagedFlux<EventHubNamespaceAuthorizationRule>
com.azure.core.http.rest.PagedIterable<EventHub>
com.azure.core.http.rest.PagedFlux<EventHub>
sku()
int
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
Method Details
-
sku
EventHubNamespaceSkuType sku()- Returns:
- namespace sku
-
azureInsightMetricId
String azureInsightMetricId()- Returns:
- resource id of the Azure Insights metrics associated with the namespace
-
serviceBusEndpoint
String serviceBusEndpoint()- Returns:
- the service bus endpoint associated with the namespace
-
createdAt
OffsetDateTime createdAt()- Returns:
- namespace created time
-
updatedAt
OffsetDateTime updatedAt()- Returns:
- namespace last modified time
-
provisioningState
String provisioningState()- Returns:
- provisioning state of the namespace
-
isAutoScaleEnabled
boolean isAutoScaleEnabled()- Returns:
- true if auto-scale is enabled for the namespace, false otherwise
-
currentThroughputUnits
int currentThroughputUnits()- Returns:
- current throughput units set for the namespace
-
throughputUnitsUpperLimit
int throughputUnitsUpperLimit()- Returns:
- maximum throughput unit that auto-scalar is allowed to set
-
listEventHubsAsync
com.azure.core.http.rest.PagedFlux<EventHub> listEventHubsAsync()- Returns:
- the event hubs in the namespace
-
listAuthorizationRulesAsync
com.azure.core.http.rest.PagedFlux<EventHubNamespaceAuthorizationRule> listAuthorizationRulesAsync()- Returns:
- the authorization rules for the event hub namespace
-
listEventHubs
com.azure.core.http.rest.PagedIterable<EventHub> listEventHubs()- Returns:
- list of event hubs in the namespace
-
listAuthorizationRules
com.azure.core.http.rest.PagedIterable<EventHubNamespaceAuthorizationRule> listAuthorizationRules()- Returns:
- list of authorization rules for the event hub namespace
-