Skip to content

Commit c981123

Browse files
author
Your Name
committed
Remove azure-mgmt-Eventhub azure-mgmt-servicebus multiapi references'
1 parent 88dcb4f commit c981123

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

src/azure-cli-core/azure/cli/core/profiles/_shared.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ def default_api_version(self):
219219
ResourceType.DATA_STORAGE_QUEUE: '2018-03-28',
220220
ResourceType.DATA_COSMOS_TABLE: '2017-04-17',
221221
ResourceType.DATA_STORAGE_TABLE: None,
222-
ResourceType.MGMT_SERVICEBUS: '2022-10-01-preview',
223-
ResourceType.MGMT_EVENTHUB: '2022-01-01-preview',
222+
ResourceType.MGMT_SERVICEBUS: None,
223+
ResourceType.MGMT_EVENTHUB: None,
224224
ResourceType.MGMT_MONITOR: None,
225225
ResourceType.MGMT_MSI: '2023-01-31',
226226
ResourceType.MGMT_APPSERVICE: '2023-01-01',

src/azure-cli/azure/cli/command_modules/eventhubs/_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def load_arguments_eh(self, _):
2828
with self.argument_context('eventhubs namespace exists') as c:
2929
c.argument('name', arg_type=name_type, help='Namespace name. Name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number.')
3030

31-
with self.argument_context('eventhubs namespace', min_api='2021-06-01-preview') as c:
31+
with self.argument_context('eventhubs namespace' ) as c:
3232
c.argument('namespace_name', arg_type=name_type, id_part='name', completer=get_resource_name_completion_list('Microsoft.eventhubs/namespaces'), help='Name of Namespace')
3333
c.argument('is_kafka_enabled', options_list=['--enable-kafka'], arg_type=get_three_state_flag(),
3434
help='A boolean value that indicates whether Kafka is enabled for eventhub namespace.')
@@ -58,7 +58,7 @@ def load_arguments_eh(self, _):
5858
c.argument('alternate_name', help='Alternate name specified when alias and namespace names are same.')
5959
c.argument('max_replication_lag_duration_in_seconds', type=int, options_list=['--max-replication-lag-duration-in-seconds', '--max-lag'], help='The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas')
6060

61-
with self.argument_context('eventhubs namespace create', min_api='2021-06-01-preview') as c:
61+
with self.argument_context('eventhubs namespace create') as c:
6262
c.argument('cluster_arm_id', options_list=['--cluster-arm-id'], help='Cluster ARM ID of the Namespace')
6363

6464
# region - Eventhub Create

src/azure-cli/requirements.py3.Darwin.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ azure-mgmt-datalake-nspkg==3.0.1
4040
azure-mgmt-datalake-store==1.1.0b1
4141
azure-mgmt-datamigration==10.0.0
4242
azure-mgmt-eventgrid==10.2.0b2
43-
azure-mgmt-eventhub==10.1.0
43+
azure-mgmt-eventhub==11.2.0
4444
azure-mgmt-extendedlocation==1.0.0b2
4545
azure-mgmt-hdinsight==9.0.0b3
4646
azure-mgmt-imagebuilder==1.3.0

src/azure-cli/requirements.py3.Linux.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ azure-mgmt-datalake-nspkg==3.0.1
4040
azure-mgmt-datalake-store==1.1.0b1
4141
azure-mgmt-datamigration==10.0.0
4242
azure-mgmt-eventgrid==10.2.0b2
43-
azure-mgmt-eventhub==10.1.0
43+
azure-mgmt-eventhub==11.2.0
4444
azure-mgmt-extendedlocation==1.0.0b2
4545
azure-mgmt-hdinsight==9.0.0b3
4646
azure-mgmt-imagebuilder==1.3.0

src/azure-cli/requirements.py3.windows.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ azure-mgmt-datalake-nspkg==3.0.1
4040
azure-mgmt-datalake-store==1.1.0b1
4141
azure-mgmt-datamigration==10.0.0
4242
azure-mgmt-eventgrid==10.2.0b2
43-
azure-mgmt-eventhub==10.1.0
43+
azure-mgmt-eventhub==11.2.0
4444
azure-mgmt-extendedlocation==1.0.0b2
4545
azure-mgmt-hdinsight==9.0.0b3
4646
azure-mgmt-imagebuilder==1.3.0

src/azure-cli/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
'azure-mgmt-datalake-store~=1.1.0b1',
8484
'azure-mgmt-datamigration~=10.0.0',
8585
'azure-mgmt-eventgrid==10.2.0b2',
86-
'azure-mgmt-eventhub~=10.1.0',
86+
'azure-mgmt-eventhub~=11.2.0',
8787
'azure-mgmt-extendedlocation==1.0.0b2',
8888
'azure-mgmt-hdinsight==9.0.0b3',
8989
'azure-mgmt-imagebuilder~=1.3.0',

0 commit comments

Comments
 (0)