Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
)
class AvailableRegion(AAZCommand):
"""List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.

:example: ListAvailableClusters
az eventhubs cluster available-region
"""

_aaz_info = {
"version": "2026-01-01",
"version": "2026-07-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.eventhub/availableclusterregions", "2026-01-01"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.eventhub/availableclusterregions", "2026-07-01-preview"],
]
}

Expand Down Expand Up @@ -98,7 +101,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-01-01",
"api-version", "2026-07-01-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
)
class Create(AAZCommand):
"""Create an instance of an Event Hubs Cluster.

:example: ClusterPut
az eventhubs cluster create --resource-group myResourceGroup --cluster-name testCluster --location South Central US --sku Dedicated --capacity 1 --tags "{tag1:value1,tag2:value2}"
"""

_aaz_info = {
"version": "2026-01-01",
"version": "2026-07-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/clusters/{}", "2026-01-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/clusters/{}", "2026-07-01-preview"],
]
}

Expand Down Expand Up @@ -205,7 +208,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-01-01",
"api-version", "2026-07-01-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@
)
class Delete(AAZCommand):
"""Delete an existing Event Hubs Cluster. This operation is idempotent.

:example: ClusterDelete
az eventhubs cluster delete --resource-group myResourceGroup --cluster-name testCluster
"""

_aaz_info = {
"version": "2026-01-01",
"version": "2026-07-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/clusters/{}", "2026-01-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/clusters/{}", "2026-07-01-preview"],
]
}

Expand Down Expand Up @@ -144,7 +147,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-01-01",
"api-version", "2026-07-01-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,19 @@
)
class List(AAZCommand):
"""List the available Event Hubs Clusters within an ARM resource group

:example: ClustersListBySubscription
az eventhubs cluster list

:example: ClustersListByResourceGroup
az eventhubs cluster list --resource-group myResourceGroup
"""

_aaz_info = {
"version": "2026-01-01",
"version": "2026-07-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.eventhub/clusters", "2026-01-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/clusters", "2026-01-01"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.eventhub/clusters", "2026-07-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/clusters", "2026-07-01-preview"],
]
}

Expand Down Expand Up @@ -109,7 +115,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-01-01",
"api-version", "2026-07-01-preview",
required=True,
),
}
Expand Down Expand Up @@ -286,7 +292,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-01-01",
"api-version", "2026-07-01-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
)
class Show(AAZCommand):
"""Get the resource description of the specified Event Hubs Cluster.

:example: ClusterGet
az eventhubs cluster show --resource-group myResourceGroup --cluster-name testCluster
"""

_aaz_info = {
"version": "2026-01-01",
"version": "2026-07-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/clusters/{}", "2026-01-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/clusters/{}", "2026-07-01-preview"],
]
}

Expand Down Expand Up @@ -121,7 +124,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-01-01",
"api-version", "2026-07-01-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
)
class Update(AAZCommand):
"""Update an instance of an Event Hubs Cluster.

:example: ClusterPut
az eventhubs cluster update --resource-group myResourceGroup --cluster-name testCluster
"""

_aaz_info = {
"version": "2026-01-01",
"version": "2026-07-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/clusters/{}", "2026-01-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/clusters/{}", "2026-07-01-preview"],
]
}

Expand Down Expand Up @@ -92,7 +95,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
arg_group="Properties",
help="Provisioning state of the Cluster.",
)

_args_schema.supports_scaling = AAZBoolArg(
options=["--supports-scaling"],
arg_group="Properties",
Expand Down Expand Up @@ -204,7 +206,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-01-01",
"api-version", "2026-07-01-preview",
required=True,
),
}
Expand Down Expand Up @@ -303,7 +305,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-01-01",
"api-version", "2026-07-01-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand):

_aaz_info = {
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/clusters/{}", "2026-01-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/clusters/{}", "2026-07-01-preview"],
]
}

Expand Down Expand Up @@ -120,7 +120,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-01-01",
"api-version", "2026-07-01-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
)
class List(AAZCommand):
"""List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.

:example: ListNamespacesInCluster
az eventhubs cluster namespace list --resource-group myResourceGroup --cluster-name testCluster
"""

_aaz_info = {
"version": "2026-01-01",
"version": "2026-07-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/clusters/{}/namespaces", "2026-01-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/clusters/{}/namespaces", "2026-07-01-preview"],
]
}

Expand Down Expand Up @@ -120,7 +123,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-01-01",
"api-version", "2026-07-01-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from azure.cli.core.aaz import *


@register_command_group(
"eventhubs cluster quota-configuration",
)
class __CMDGroup(AAZCommandGroup):
"""Manage quota and settings configuration of an Event Hubs Dedicated Cluster.
"""
pass


__all__ = ["__CMDGroup"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from .__cmd_group import *
from ._show import *
from ._update import *
Loading
Loading