Skip to content

Commit 40a2625

Browse files
[AutoRelease] t2-web-2024-06-07-57417(can only be merged by SDK owner) (#35963)
* code and test * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 698cd95 commit 40a2625

File tree

968 files changed

+361593
-261777
lines changed

Some content is hidden

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

968 files changed

+361593
-261777
lines changed

sdk/appservice/azure-mgmt-web/CHANGELOG.md

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

3+
## 7.3.0 (2024-06-17)
4+
5+
### Features Added
6+
7+
- Added operation WebAppsOperations.create_or_update_site_container
8+
- Added operation WebAppsOperations.create_or_update_site_container_slot
9+
- Added operation WebAppsOperations.delete_site_container
10+
- Added operation WebAppsOperations.delete_site_container_slot
11+
- Added operation WebAppsOperations.get_site_container
12+
- Added operation WebAppsOperations.get_site_container_slot
13+
- Added operation WebAppsOperations.list_site_containers
14+
- Added operation WebAppsOperations.list_site_containers_slot
15+
- Model AzureStorageInfoValue has a new parameter protocol
16+
- Model Site has a new parameter dns_configuration
17+
- Model Site has a new parameter function_app_config
18+
- Model Site has a new parameter vnet_backup_restore_enabled
19+
- Model SitePatchResource has a new parameter dns_configuration
20+
321
## 7.2.0 (2023-11-20)
422

523
### Features Added

sdk/appservice/azure-mgmt-web/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 Web Apps 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/appservice/azure-mgmt-web/_meta.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"commit": "00c060f44fcd93a6839a5aa7caa4af9a34d643d1",
2+
"commit": "b22c642b361e6d6e7d72a2347a09b0bcf6075d70",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4-
"autorest": "3.9.7",
4+
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.7.1",
7-
"@autorest/modelerfour@4.26.2"
6+
"@autorest/python@6.13.16",
7+
"@autorest/modelerfour@4.27.0"
88
],
9-
"autorest_command": "autorest specification/web/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/python@6.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False",
9+
"autorest_command": "autorest specification/web/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/python@6.13.16 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/web/resource-manager/readme.md",
1111
"package-2023-01": "fatal: invalid object name 'from'. from: WebApps.json",
1212
"package-2022-09": "fatal: invalid object name 'from'. from: WebApps.json",
@@ -23,5 +23,6 @@
2323
"package-2016-08-only": "fatal: invalid object name 'from'. from: AppServiceCertificateOrders.json",
2424
"package-2016-03-only": "2022-12-08 21:38:55 -0800 65106a17de1db38e076ea6f14c0b60305bd27ace Microsoft.Web/stable/2016-03-01/CommonDefinitions.json",
2525
"package-2015-08-only": "fatal: invalid object name 'from'. from: AppServiceCertificateOrders.json",
26-
"package-2015-04-only": "2021-03-07 21:09:45 -0500 19aa203acad715399745b9e2f125889b14934e84 Microsoft.DomainRegistration/stable/2015-04-01/Domains.json"
26+
"package-2015-04-only": "2021-03-07 21:09:45 -0500 19aa203acad715399745b9e2f125889b14934e84 Microsoft.DomainRegistration/stable/2015-04-01/Domains.json",
27+
"package-2023-12": "fatal: invalid object name 'from'. from: WebApps.json"
2728
}

sdk/appservice/azure-mgmt-web/azure/mgmt/web/_configuration.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# --------------------------------------------------------------------------
1111
from typing import Any, TYPE_CHECKING
1212

13-
from azure.core.configuration import Configuration
1413
from azure.core.pipeline import policies
1514
from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy
1615

@@ -20,7 +19,7 @@
2019
# pylint: disable=unused-import,ungrouped-imports
2120
from azure.core.credentials import TokenCredential
2221

23-
class WebSiteManagementClientConfiguration(Configuration):
22+
class WebSiteManagementClientConfiguration:
2423
"""Configuration for WebSiteManagementClient.
2524
2625
Note that all parameters used to create this instance are saved as instance
@@ -42,12 +41,12 @@ def __init__(
4241
raise ValueError("Parameter 'credential' must not be None.")
4342
if subscription_id is None:
4443
raise ValueError("Parameter 'subscription_id' must not be None.")
45-
super(WebSiteManagementClientConfiguration, self).__init__(**kwargs)
4644

4745
self.credential = credential
4846
self.subscription_id = subscription_id
4947
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5048
kwargs.setdefault('sdk_moniker', 'azure-mgmt-web/{}'.format(VERSION))
49+
self.polling_interval = kwargs.get("polling_interval", 30)
5150
self._configure(**kwargs)
5251

5352
def _configure(

0 commit comments

Comments
 (0)