Skip to content

Commit

Permalink
[HDInsigh on AKS] New Api version 2023-11-01-preview (#7383)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuc-Li committed Apr 2, 2024
1 parent f7b2014 commit ce39c3b
Show file tree
Hide file tree
Showing 55 changed files with 8,787 additions and 4,084 deletions.
11 changes: 11 additions & 0 deletions src/hdinsightonaks/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
Release History
===============

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
* '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']

1.0.0b1
++++++
* Initial release.
2 changes: 1 addition & 1 deletion src/hdinsightonaks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ az hdinsight-on-aks cluster show-instance-view --cluster-name testcluster --clus

```sh
az hdinsight-on-aks cluster update -n testpsspark --cluster-pool-name ps-test-pool \
-g yuchenPSGroup --service-configs-profiles @config.json
-g Group --service-configs-profiles @config.json
```

#### List jobs of HDInsight on AKS cluster ####
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
class CheckNameAvailability(AAZCommand):
"""Check the availability of the resource name.
:example: Check if the name clicluster is available in cluster pool cliclusterpool.
:example: Check if the name 'clicluster' is available in cluster pool 'cliclusterpool'.
az hdinsight-on-aks check-name-availability -l westus3 --name cliclusterpool/clicluster --type Microsoft.HDInsight/clusterPools/clusters
"""

_aaz_info = {
"version": "2023-06-01-preview",
"version": "2023-11-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.hdinsight/locations/{}/checknameavailability", "2023-06-01-preview"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.hdinsight/locations/{}/checknameavailability", "2023-11-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-06-01-preview",
"api-version", "2023-11-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-06-01-preview",
"version": "2023-11-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.hdinsight/locations/{}/availableclusterpoolversions", "2023-06-01-preview"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.hdinsight/locations/{}/availableclusterpoolversions", "2023-11-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-06-01-preview",
"api-version", "2023-11-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-06-01-preview",
"version": "2023-11-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.hdinsight/locations/{}/availableclusterversions", "2023-06-01-preview"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.hdinsight/locations/{}/availableclusterversions", "2023-11-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-06-01-preview",
"api-version", "2023-11-01-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@
from ._list_service_config import *
from ._resize import *
from ._show import *
from ._show_instance_view import *
from ._update import *
from ._wait import *
Loading

0 comments on commit ce39c3b

Please sign in to comment.