Skip to content

Commit 530f715

Browse files
[AutoRelease] t2-hybridcontainerservice-2024-01-23-53251(can only be merged by SDK owner) (#33961)
* code and test * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent cedfb41 commit 530f715

File tree

60 files changed

+1786
-2126
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1786
-2126
lines changed

sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/CHANGELOG.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,77 @@
11
# Release History
22

3+
## 1.0.0 (2024-01-25)
4+
5+
### Features Added
6+
7+
- Model AgentPool has a new parameter properties
8+
- Model AgentPoolProfile has a new parameter enable_auto_scaling
9+
- Model AgentPoolProfile has a new parameter max_count
10+
- Model AgentPoolProfile has a new parameter max_pods
11+
- Model AgentPoolProfile has a new parameter min_count
12+
- Model AgentPoolProfile has a new parameter node_labels
13+
- Model AgentPoolProfile has a new parameter node_taints
14+
- Model AgentPoolProperties has a new parameter enable_auto_scaling
15+
- Model AgentPoolProperties has a new parameter kubernetes_version
16+
- Model AgentPoolProperties has a new parameter max_count
17+
- Model AgentPoolProperties has a new parameter max_pods
18+
- Model AgentPoolProperties has a new parameter min_count
19+
- Model AgentPoolProperties has a new parameter node_labels
20+
- Model AgentPoolProperties has a new parameter node_taints
21+
- Model AgentPoolProvisioningStatusStatus has a new parameter current_state
22+
- Model AgentPoolUpdateProfile has a new parameter kubernetes_version
23+
- Model NamedAgentPoolProfile has a new parameter enable_auto_scaling
24+
- Model NamedAgentPoolProfile has a new parameter kubernetes_version
25+
- Model NamedAgentPoolProfile has a new parameter max_count
26+
- Model NamedAgentPoolProfile has a new parameter max_pods
27+
- Model NamedAgentPoolProfile has a new parameter min_count
28+
- Model NamedAgentPoolProfile has a new parameter node_labels
29+
- Model NamedAgentPoolProfile has a new parameter node_taints
30+
- Model ProvisionedClusterProperties has a new parameter auto_scaler_profile
31+
- Model ProvisionedClusterProperties has a new parameter cluster_vm_access_profile
32+
- Model ProvisionedClusterProperties has a new parameter storage_profile
33+
- Model ProvisionedClusterPropertiesStatus has a new parameter current_state
34+
35+
### Breaking Changes
36+
37+
- Model AgentPool no longer has parameter availability_zones
38+
- Model AgentPool no longer has parameter count
39+
- Model AgentPool no longer has parameter location
40+
- Model AgentPool no longer has parameter node_image_version
41+
- Model AgentPool no longer has parameter os_sku
42+
- Model AgentPool no longer has parameter os_type
43+
- Model AgentPool no longer has parameter provisioning_state
44+
- Model AgentPool no longer has parameter status
45+
- Model AgentPool no longer has parameter vm_size
46+
- Model AgentPoolProfile no longer has parameter availability_zones
47+
- Model AgentPoolProfile no longer has parameter node_image_version
48+
- Model AgentPoolProperties no longer has parameter availability_zones
49+
- Model AgentPoolProperties no longer has parameter node_image_version
50+
- Model AgentPoolProvisioningStatusStatus no longer has parameter operation_status
51+
- Model ControlPlaneProfile no longer has parameter availability_zones
52+
- Model ControlPlaneProfile no longer has parameter linux_profile
53+
- Model ControlPlaneProfile no longer has parameter name
54+
- Model ControlPlaneProfile no longer has parameter node_image_version
55+
- Model ControlPlaneProfile no longer has parameter os_sku
56+
- Model ControlPlaneProfile no longer has parameter os_type
57+
- Model HybridIdentityMetadata has a new required parameter properties
58+
- Model HybridIdentityMetadata no longer has parameter provisioning_state
59+
- Model HybridIdentityMetadata no longer has parameter public_key
60+
- Model HybridIdentityMetadata no longer has parameter resource_uid
61+
- Model KubernetesVersionProperties no longer has parameter capabilities
62+
- Model NamedAgentPoolProfile no longer has parameter availability_zones
63+
- Model NamedAgentPoolProfile no longer has parameter node_image_version
64+
- Model ProvisionedClusterPoolUpgradeProfile no longer has parameter name
65+
- Model ProvisionedClusterPropertiesStatus no longer has parameter operation_status
66+
- Model ProvisionedClusterUpgradeProfile has a new required parameter properties
67+
- Model ProvisionedClusterUpgradeProfile no longer has parameter agent_pool_profiles
68+
- Model ProvisionedClusterUpgradeProfile no longer has parameter control_plane_profile
69+
- Model ProvisionedClusterUpgradeProfile no longer has parameter provisioning_state
70+
- Model VirtualNetworkProperties no longer has parameter dhcp_servers
71+
- Model VirtualNetworkPropertiesInfraVnetProfile no longer has parameter vmware
72+
- Model VirtualNetworkPropertiesStatusOperationStatus no longer has parameter phase
73+
- Removed operation AgentPoolOperations.begin_update
74+
375
## 1.0.0b2 (2023-11-20)
476

577
### Features Added

sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Hybridcontainerservice Management Client Library.
4-
This package has been tested with Python 3.7+.
4+
This package has been tested with Python 3.8+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.7+ is required to use this package.
15+
- Python 3.8+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package

sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"commit": "c1ba9df47907f9012ae14ca4616aed9e5665f9e5",
2+
"commit": "51a6e410cf9752dfdaad71f0f9778645d737d8c4",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.7",
55
"use": [

sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/azure/mgmt/hybridcontainerservice/_configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ class HybridContainerServiceMgmtClientConfiguration(Configuration): # pylint: d
2929
:type credential: ~azure.core.credentials.TokenCredential
3030
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3131
:type subscription_id: str
32-
:keyword api_version: Api Version. Default value is "2023-11-15-preview". Note that overriding
33-
this default value may result in unsupported behavior.
32+
:keyword api_version: Api Version. Default value is "2024-01-01". Note that overriding this
33+
default value may result in unsupported behavior.
3434
:paramtype api_version: str
3535
"""
3636

3737
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
3838
super(HybridContainerServiceMgmtClientConfiguration, self).__init__(**kwargs)
39-
api_version: str = kwargs.pop("api_version", "2023-11-15-preview")
39+
api_version: str = kwargs.pop("api_version", "2024-01-01")
4040

4141
if credential is None:
4242
raise ValueError("Parameter 'credential' must not be None.")

sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/azure/mgmt/hybridcontainerservice/_hybrid_container_service_mgmt_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ class HybridContainerServiceMgmtClient(
6060
:type subscription_id: str
6161
:param base_url: Service URL. Default value is "https://management.azure.com".
6262
:type base_url: str
63-
:keyword api_version: Api Version. Default value is "2023-11-15-preview". Note that overriding
64-
this default value may result in unsupported behavior.
63+
:keyword api_version: Api Version. Default value is "2024-01-01". Note that overriding this
64+
default value may result in unsupported behavior.
6565
:paramtype api_version: str
6666
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
6767
Retry-After header is present.

sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/azure/mgmt/hybridcontainerservice/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "1.0.0b2"
9+
VERSION = "1.0.0"

sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/azure/mgmt/hybridcontainerservice/aio/_configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ class HybridContainerServiceMgmtClientConfiguration(Configuration): # pylint: d
2929
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
3030
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3131
:type subscription_id: str
32-
:keyword api_version: Api Version. Default value is "2023-11-15-preview". Note that overriding
33-
this default value may result in unsupported behavior.
32+
:keyword api_version: Api Version. Default value is "2024-01-01". Note that overriding this
33+
default value may result in unsupported behavior.
3434
:paramtype api_version: str
3535
"""
3636

3737
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
3838
super(HybridContainerServiceMgmtClientConfiguration, self).__init__(**kwargs)
39-
api_version: str = kwargs.pop("api_version", "2023-11-15-preview")
39+
api_version: str = kwargs.pop("api_version", "2024-01-01")
4040

4141
if credential is None:
4242
raise ValueError("Parameter 'credential' must not be None.")

sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/azure/mgmt/hybridcontainerservice/aio/_hybrid_container_service_mgmt_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ class HybridContainerServiceMgmtClient(
6060
:type subscription_id: str
6161
:param base_url: Service URL. Default value is "https://management.azure.com".
6262
:type base_url: str
63-
:keyword api_version: Api Version. Default value is "2023-11-15-preview". Note that overriding
64-
this default value may result in unsupported behavior.
63+
:keyword api_version: Api Version. Default value is "2024-01-01". Note that overriding this
64+
default value may result in unsupported behavior.
6565
:paramtype api_version: str
6666
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
6767
Retry-After header is present.

0 commit comments

Comments
 (0)