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

[AutoRelease] t2-web-2024-06-07-57417(can only be merged by SDK owner) #35963

Merged
merged 2 commits into from
Jun 17, 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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 18 additions & 0 deletions sdk/appservice/azure-mgmt-web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Release History

## 7.3.0 (2024-06-17)

### Features Added

- Added operation WebAppsOperations.create_or_update_site_container
- Added operation WebAppsOperations.create_or_update_site_container_slot
- Added operation WebAppsOperations.delete_site_container
- Added operation WebAppsOperations.delete_site_container_slot
- Added operation WebAppsOperations.get_site_container
- Added operation WebAppsOperations.get_site_container_slot
- Added operation WebAppsOperations.list_site_containers
- Added operation WebAppsOperations.list_site_containers_slot
- Model AzureStorageInfoValue has a new parameter protocol
- Model Site has a new parameter dns_configuration
- Model Site has a new parameter function_app_config
- Model Site has a new parameter vnet_backup_restore_enabled
- Model SitePatchResource has a new parameter dns_configuration

## 7.2.0 (2023-11-20)

### Features Added
Expand Down
4 changes: 2 additions & 2 deletions sdk/appservice/azure-mgmt-web/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

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

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

### Prerequisites

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

### Install the package
Expand Down
13 changes: 7 additions & 6 deletions sdk/appservice/azure-mgmt-web/_meta.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"commit": "00c060f44fcd93a6839a5aa7caa4af9a34d643d1",
"commit": "b22c642b361e6d6e7d72a2347a09b0bcf6075d70",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.7",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.7.1",
"@autorest/modelerfour@4.26.2"
"@autorest/python@6.13.16",
"@autorest/modelerfour@4.27.0"
],
"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",
"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",
"readme": "specification/web/resource-manager/readme.md",
"package-2023-01": "fatal: invalid object name 'from'. from: WebApps.json",
"package-2022-09": "fatal: invalid object name 'from'. from: WebApps.json",
Expand All @@ -23,5 +23,6 @@
"package-2016-08-only": "fatal: invalid object name 'from'. from: AppServiceCertificateOrders.json",
"package-2016-03-only": "2022-12-08 21:38:55 -0800 65106a17de1db38e076ea6f14c0b60305bd27ace Microsoft.Web/stable/2016-03-01/CommonDefinitions.json",
"package-2015-08-only": "fatal: invalid object name 'from'. from: AppServiceCertificateOrders.json",
"package-2015-04-only": "2021-03-07 21:09:45 -0500 19aa203acad715399745b9e2f125889b14934e84 Microsoft.DomainRegistration/stable/2015-04-01/Domains.json"
"package-2015-04-only": "2021-03-07 21:09:45 -0500 19aa203acad715399745b9e2f125889b14934e84 Microsoft.DomainRegistration/stable/2015-04-01/Domains.json",
"package-2023-12": "fatal: invalid object name 'from'. from: WebApps.json"
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
# --------------------------------------------------------------------------
from typing import Any, TYPE_CHECKING

from azure.core.configuration import Configuration
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy

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

class WebSiteManagementClientConfiguration(Configuration):
class WebSiteManagementClientConfiguration:
"""Configuration for WebSiteManagementClient.

Note that all parameters used to create this instance are saved as instance
Expand All @@ -42,12 +41,12 @@ def __init__(
raise ValueError("Parameter 'credential' must not be None.")
if subscription_id is None:
raise ValueError("Parameter 'subscription_id' must not be None.")
super(WebSiteManagementClientConfiguration, self).__init__(**kwargs)

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

def _configure(
Expand Down
Loading