Skip to content

Commit 6169d2f

Browse files
[AutoRelease] t2-servicefabric-2024-02-02-27725(can only be merged by SDK owner) (#34109)
* code and test * Update assets.json * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent fd11a98 commit 6169d2f

File tree

62 files changed

+908
-124
lines changed

Some content is hidden

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

62 files changed

+908
-124
lines changed

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

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

3+
## 2.2.0b1 (2024-02-22)
4+
5+
### Features Added
6+
7+
- Added operation group UnsupportedVmSizesOperations
8+
- Model Cluster has a new parameter enable_http_gateway_exclusive_auth_mode
9+
- Model ClusterUpdateParameters has a new parameter enable_http_gateway_exclusive_auth_mode
10+
- Model NodeTypeDescription has a new parameter http_gateway_token_auth_endpoint_port
11+
- Model StatelessServiceProperties has a new parameter min_instance_count
12+
- Model StatelessServiceProperties has a new parameter min_instance_percentage
13+
314
## 2.1.0 (2023-12-18)
415

516
### Features Added

sdk/servicefabric/azure-mgmt-servicefabric/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 Service Fabric 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
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "164375e67a1bffb207bcf603772c289dbe42d7b5",
2+
"commit": "73d1e6522dfdedb795f46cf997921c623011caa6",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.7",
55
"use": [
66
"@autorest/[email protected]",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/servicefabric/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
9+
"autorest_command": "autorest specification/servicefabric/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --tag=package-2023-11-preview --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
1010
"readme": "specification/servicefabric/resource-manager/readme.md"
1111
}

sdk/servicefabric/azure-mgmt-servicefabric/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "python",
44
"TagPrefix": "python/servicefabric/azure-mgmt-servicefabric",
5-
"Tag": "python/servicefabric/azure-mgmt-servicefabric_8c7d5b0b3d"
5+
"Tag": "python/servicefabric/azure-mgmt-servicefabric_883b326ed5"
66
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ class ServiceFabricManagementClientConfiguration(Configuration): # pylint: disa
2929
:type credential: ~azure.core.credentials.TokenCredential
3030
:param subscription_id: The customer subscription identifier. Required.
3131
:type subscription_id: str
32-
:keyword api_version: Api Version. Default value is "2021-06-01". Note that overriding this
33-
default value may result in unsupported behavior.
32+
:keyword api_version: Api Version. Default value is "2023-11-01-preview". Note that overriding
33+
this 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(ServiceFabricManagementClientConfiguration, self).__init__(**kwargs)
39-
api_version: str = kwargs.pop("api_version", "2021-06-01")
39+
api_version: str = kwargs.pop("api_version", "2023-11-01-preview")
4040

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

sdk/servicefabric/azure-mgmt-servicefabric/azure/mgmt/servicefabric/_service_fabric_management_client.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
ClustersOperations,
2424
Operations,
2525
ServicesOperations,
26+
UnsupportedVmSizesOperations,
2627
)
2728

2829
if TYPE_CHECKING:
@@ -39,6 +40,8 @@ class ServiceFabricManagementClient: # pylint: disable=client-accepts-api-versi
3940
:vartype cluster_versions: azure.mgmt.servicefabric.operations.ClusterVersionsOperations
4041
:ivar operations: Operations operations
4142
:vartype operations: azure.mgmt.servicefabric.operations.Operations
43+
:ivar unsupported_vm_sizes: UnsupportedVmSizesOperations operations
44+
:vartype unsupported_vm_sizes: azure.mgmt.servicefabric.operations.UnsupportedVmSizesOperations
4245
:ivar application_types: ApplicationTypesOperations operations
4346
:vartype application_types: azure.mgmt.servicefabric.operations.ApplicationTypesOperations
4447
:ivar application_type_versions: ApplicationTypeVersionsOperations operations
@@ -54,8 +57,8 @@ class ServiceFabricManagementClient: # pylint: disable=client-accepts-api-versi
5457
:type subscription_id: str
5558
:param base_url: Service URL. Default value is "https://management.azure.com".
5659
:type base_url: str
57-
:keyword api_version: Api Version. Default value is "2021-06-01". Note that overriding this
58-
default value may result in unsupported behavior.
60+
:keyword api_version: Api Version. Default value is "2023-11-01-preview". Note that overriding
61+
this default value may result in unsupported behavior.
5962
:paramtype api_version: str
6063
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
6164
Retry-After header is present.
@@ -82,6 +85,9 @@ def __init__(
8285
self._client, self._config, self._serialize, self._deserialize
8386
)
8487
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
88+
self.unsupported_vm_sizes = UnsupportedVmSizesOperations(
89+
self._client, self._config, self._serialize, self._deserialize
90+
)
8591
self.application_types = ApplicationTypesOperations(
8692
self._client, self._config, self._serialize, self._deserialize
8793
)

sdk/servicefabric/azure-mgmt-servicefabric/azure/mgmt/servicefabric/_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 = "2.1.0"
9+
VERSION = "2.2.0b1"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ class ServiceFabricManagementClientConfiguration(Configuration): # pylint: disa
2929
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
3030
:param subscription_id: The customer subscription identifier. Required.
3131
:type subscription_id: str
32-
:keyword api_version: Api Version. Default value is "2021-06-01". Note that overriding this
33-
default value may result in unsupported behavior.
32+
:keyword api_version: Api Version. Default value is "2023-11-01-preview". Note that overriding
33+
this 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(ServiceFabricManagementClientConfiguration, self).__init__(**kwargs)
39-
api_version: str = kwargs.pop("api_version", "2021-06-01")
39+
api_version: str = kwargs.pop("api_version", "2023-11-01-preview")
4040

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

sdk/servicefabric/azure-mgmt-servicefabric/azure/mgmt/servicefabric/aio/_service_fabric_management_client.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
ClustersOperations,
2424
Operations,
2525
ServicesOperations,
26+
UnsupportedVmSizesOperations,
2627
)
2728

2829
if TYPE_CHECKING:
@@ -39,6 +40,9 @@ class ServiceFabricManagementClient: # pylint: disable=client-accepts-api-versi
3940
:vartype cluster_versions: azure.mgmt.servicefabric.aio.operations.ClusterVersionsOperations
4041
:ivar operations: Operations operations
4142
:vartype operations: azure.mgmt.servicefabric.aio.operations.Operations
43+
:ivar unsupported_vm_sizes: UnsupportedVmSizesOperations operations
44+
:vartype unsupported_vm_sizes:
45+
azure.mgmt.servicefabric.aio.operations.UnsupportedVmSizesOperations
4246
:ivar application_types: ApplicationTypesOperations operations
4347
:vartype application_types: azure.mgmt.servicefabric.aio.operations.ApplicationTypesOperations
4448
:ivar application_type_versions: ApplicationTypeVersionsOperations operations
@@ -54,8 +58,8 @@ class ServiceFabricManagementClient: # pylint: disable=client-accepts-api-versi
5458
:type subscription_id: str
5559
:param base_url: Service URL. Default value is "https://management.azure.com".
5660
:type base_url: str
57-
:keyword api_version: Api Version. Default value is "2021-06-01". Note that overriding this
58-
default value may result in unsupported behavior.
61+
:keyword api_version: Api Version. Default value is "2023-11-01-preview". Note that overriding
62+
this default value may result in unsupported behavior.
5963
:paramtype api_version: str
6064
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
6165
Retry-After header is present.
@@ -82,6 +86,9 @@ def __init__(
8286
self._client, self._config, self._serialize, self._deserialize
8387
)
8488
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
89+
self.unsupported_vm_sizes = UnsupportedVmSizesOperations(
90+
self._client, self._config, self._serialize, self._deserialize
91+
)
8592
self.application_types = ApplicationTypesOperations(
8693
self._client, self._config, self._serialize, self._deserialize
8794
)

sdk/servicefabric/azure-mgmt-servicefabric/azure/mgmt/servicefabric/aio/operations/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from ._clusters_operations import ClustersOperations
1010
from ._cluster_versions_operations import ClusterVersionsOperations
1111
from ._operations import Operations
12+
from ._unsupported_vm_sizes_operations import UnsupportedVmSizesOperations
1213
from ._application_types_operations import ApplicationTypesOperations
1314
from ._application_type_versions_operations import ApplicationTypeVersionsOperations
1415
from ._applications_operations import ApplicationsOperations
@@ -22,6 +23,7 @@
2223
"ClustersOperations",
2324
"ClusterVersionsOperations",
2425
"Operations",
26+
"UnsupportedVmSizesOperations",
2527
"ApplicationTypesOperations",
2628
"ApplicationTypeVersionsOperations",
2729
"ApplicationsOperations",

0 commit comments

Comments
 (0)