Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HDInsight on AKS] New Module with api-version 2024-05-01-preview #7717

Merged
merged 5 commits into from
Jul 29, 2024
Merged
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
21 changes: 14 additions & 7 deletions src/hdinsightonaks/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,24 @@

Release History
===============
1.0.0b3
++++++
* `az hdinsight-on-aks clusterpool upgrade history`: Support list a list of upgrade history.
* `az hdinsight-on-aks cluster upgrade history`: Support list a list of upgrade history.
* `az hdinsight-on-aks cluster upgrade rollback`: Support manual rollback upgrade for a cluster.
* `az hdinsight-on-aks cluster library manage`: Support manage libraries on HDInsight on AKS cluster.
* `az hdinsight-on-aks cluster create`: Support for cluster creation using multiple identity above version 1.2.0 use --identity-list.

1.0.0b2
++++++
* [Breaking Change] 'az hdinsight-on-aks cluster show-instance-view': Modified to 'az hdinsight-on-aks cluster instance-view show'
* 'az hdinsight-on-aks clusterpool create': Support create cluster pool with user network profile with --subnet-id, --api-server-ip-ranges, --private-server-enabled, --outbound-type
* 'az hdinsight-on-aks clusterpool upgrade list': Support get cluster pool available upgrade versions
* 'az hdinsight-on-aks clusterpool upgrade run': Support upgrade cluster pool
* 'az hdinsight-on-aks cluster create': Support create cluster with internal ingress use --internal-ingress-enabled
* [Breaking Change] 'az hdinsight-on-aks cluster show-instance-view': Modified to 'az hdinsight-on-aks cluster instance-view show'.
* 'az hdinsight-on-aks clusterpool create': Support create cluster pool with user network profile with --subnet-id, --api-server-ip-ranges, --private-server-enabled, --outbound-type.
* 'az hdinsight-on-aks clusterpool upgrade list': Support get cluster pool available upgrade versions.
* 'az hdinsight-on-aks clusterpool upgrade run': Support upgrade cluster pool.
* 'az hdinsight-on-aks cluster create': Support create cluster with internal ingress use --internal-ingress-enabled.
* 'az hdinsight-on-aks cluster upgrade list': Support get cluster available upgrade versions.
* 'az hdinsight-on-aks cluster instance-view list': Support list a cluster instances
* 'az hdinsight-on-aks clusterpool update': Updated property options from ['--cluster-pool-version'] to ['--cluster-pool-version', '--version']
* 'az hdinsight-on-aks cluster instance-view list': Support list a cluster instances.
* 'az hdinsight-on-aks clusterpool update': Updated property options from ['--cluster-pool-version'] to ['--cluster-pool-version', '--version'].

1.0.0b1
++++++
Expand Down
20 changes: 0 additions & 20 deletions src/hdinsightonaks/azext_hdinsightonaks/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,3 @@
type: command
short-summary: Create a node profile with SKU and worker count.
"""

helps['hdinsight-on-aks cluster trino-hive-catalog'] = """
type: group
short-summary: Manage hive catalog config.
"""

helps['hdinsight-on-aks cluster trino-hive-catalog create'] = """
type: command
short-summary: Create a hive catalog configured as a Trino cluster.
"""

helps['hdinsight-on-aks cluster secret'] = """
type: group
short-summary: Manage secret reference.
"""

helps['hdinsight-on-aks cluster secret create'] = """
type: command
short-summary: Create a reference to provide a secret to store the password for accessing the database.
"""
21 changes: 0 additions & 21 deletions src/hdinsightonaks/azext_hdinsightonaks/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,10 @@


def load_arguments(self, _): # pylint: disable=unused-argument
with self.argument_context('hdinsight-on-aks cluster trino-hive-catalog create') as c:
c.argument('catalog_name',
help='Name of trino catalog which should use specified hive metastore.')
c.argument('metastore_db_connection_url', options_list=['--metastore-db-connection-url', '--url'],
help='Connection string for hive metastore database.', required=True)
c.argument('metastore_db_connection_user_name', options_list=['--metastore-db-connection-user-name', '--user'],
help='User name for hive metastore database.', required=True)
c.argument('metastore_db_connection_password_secret',
options_list=['--metastore-db-connection-password-secret', '--secret'],
help='Password secret for hive metastore database.', required=True)
c.argument('metastore_warehouse_dir', options_list=['--metastore-warehouse-dir', '--warehouse-dir'],
help='Warehouse directory for hive metastore database.')

with self.argument_context('hdinsight-on-aks cluster node-profile create') as c:
c.argument('count',
help='The number of virtual machines.', required=True)
c.argument('node_type',
help='The node type.', required=True)
c.argument('vm_size',
help='The virtual machine SKU.', required=True)

with self.argument_context('hdinsight-on-aks cluster secret create') as c:
c.argument('secret_name',
help='The secret name in the key vault.', required=True)
c.argument('reference_name',
help='The reference name of the secret to be used in service configs.', required=True)
c.argument('version',
help='The version of the secret in key vault.')
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class CheckNameAvailability(AAZCommand):
"""

_aaz_info = {
"version": "2023-11-01-preview",
"version": "2024-05-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.hdinsight/locations/{}/checknameavailability", "2023-11-01-preview"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.hdinsight/locations/{}/checknameavailability", "2024-05-01-preview"],
]
}

Expand Down Expand Up @@ -126,7 +126,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-11-01-preview",
"api-version", "2024-05-01-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class ListAvailableClusterPoolVersion(AAZCommand):
"""

_aaz_info = {
"version": "2023-11-01-preview",
"version": "2024-05-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.hdinsight/locations/{}/availableclusterpoolversions", "2023-11-01-preview"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.hdinsight/locations/{}/availableclusterpoolversions", "2024-05-01-preview"],
]
}

Expand Down Expand Up @@ -113,7 +113,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-11-01-preview",
"api-version", "2024-05-01-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class ListAvailableClusterVersion(AAZCommand):
"""

_aaz_info = {
"version": "2023-11-01-preview",
"version": "2024-05-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.hdinsight/locations/{}/availableclusterversions", "2023-11-01-preview"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.hdinsight/locations/{}/availableclusterversions", "2024-05-01-preview"],
]
}

Expand Down Expand Up @@ -113,7 +113,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-11-01-preview",
"api-version", "2024-05-01-preview",
required=True,
),
}
Expand Down
Loading
Loading