Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sdk/appservice/azure-mgmt-web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History

## 0.0.0 (2025-11-24)

change log generation was timeout!!! You need to write it manually!!!

## 10.1.0 (2025-11-17)

### Features Added
Expand Down
4 changes: 2 additions & 2 deletions sdk/appservice/azure-mgmt-web/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "b50fa8e117938fd72cbb3e66bb49324661dd1dcc",
"commit": "660e0cdfd6f5f84f31abeb40acb11d0b11a4a8ea",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.42.0",
"@autorest/modelerfour@4.27.0"
],
"autorest_command": "autorest specification/web/resource-manager/Microsoft.Web/AppService/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --package-mode=azure-mgmt --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-2025-03-python --use=@autorest/python@6.42.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"autorest_command": "autorest specification/web/resource-manager/Microsoft.Web/AppService/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --package-mode=azure-mgmt --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-2025-03 --use=@autorest/python@6.42.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"readme": "specification/web/resource-manager/Microsoft.Web/AppService/readme.md"
}
130 changes: 2 additions & 128 deletions sdk/appservice/azure-mgmt-web/apiview-properties.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ class WebSiteManagementClientConfiguration: # pylint: disable=too-many-instance
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
:type cloud_setting: ~azure.core.AzureClouds
:keyword api_version: Api Version. Default value is "2025-03-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(
Expand All @@ -41,6 +44,8 @@ def __init__(
cloud_setting: Optional["AzureClouds"] = None,
**kwargs: Any
) -> None:
api_version: str = kwargs.pop("api_version", "2025-03-01")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
if subscription_id is None:
Expand All @@ -49,6 +54,7 @@ def __init__(
self.credential = credential
self.subscription_id = subscription_id
self.cloud_setting = cloud_setting
self.api_version = api_version
self.credential_scopes = kwargs.pop("credential_scopes", ["https://management.azure.com/.default"])
kwargs.setdefault("sdk_moniker", "mgmt-web/{}".format(VERSION))
self.polling_interval = kwargs.get("polling_interval", 30)
Expand Down
2 changes: 1 addition & 1 deletion sdk/appservice/azure-mgmt-web/azure/mgmt/web/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "10.1.0"
VERSION = "0.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,11 @@
from ._configuration import WebSiteManagementClientConfiguration
from ._utils.serialization import Deserializer, Serializer
from .operations import (
AppServiceCertificateOrdersOperations,
AppServiceEnvironmentsOperations,
AppServicePlansOperations,
CertificateOrdersDiagnosticsOperations,
CertificateRegistrationProviderOperations,
CertificatesOperations,
DeletedWebAppsOperations,
DiagnosticsOperations,
DomainRegistrationProviderOperations,
DomainsOperations,
GetUsagesInLocationOperations,
GlobalOperations,
KubeEnvironmentsOperations,
Expand All @@ -39,7 +34,6 @@
ResourceHealthMetadataOperations,
SiteCertificatesOperations,
StaticSitesOperations,
TopLevelDomainsOperations,
WebAppsOperations,
WorkflowRunActionRepetitionsOperations,
WorkflowRunActionRepetitionsRequestHistoriesOperations,
Expand All @@ -58,9 +52,7 @@
from azure.core.credentials import TokenCredential


class WebSiteManagementClient(
_WebSiteManagementClientOperationsMixin
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
class WebSiteManagementClient(_WebSiteManagementClientOperationsMixin): # pylint: disable=too-many-instance-attributes
"""AppService Management Client.

:ivar app_service_environments: AppServiceEnvironmentsOperations operations
Expand Down Expand Up @@ -115,22 +107,6 @@ class WebSiteManagementClient(
azure.mgmt.web.operations.WorkflowTriggerHistoriesOperations
:ivar workflow_versions: WorkflowVersionsOperations operations
:vartype workflow_versions: azure.mgmt.web.operations.WorkflowVersionsOperations
:ivar app_service_certificate_orders: AppServiceCertificateOrdersOperations operations
:vartype app_service_certificate_orders:
azure.mgmt.web.operations.AppServiceCertificateOrdersOperations
:ivar certificate_orders_diagnostics: CertificateOrdersDiagnosticsOperations operations
:vartype certificate_orders_diagnostics:
azure.mgmt.web.operations.CertificateOrdersDiagnosticsOperations
:ivar certificate_registration_provider: CertificateRegistrationProviderOperations operations
:vartype certificate_registration_provider:
azure.mgmt.web.operations.CertificateRegistrationProviderOperations
:ivar domain_registration_provider: DomainRegistrationProviderOperations operations
:vartype domain_registration_provider:
azure.mgmt.web.operations.DomainRegistrationProviderOperations
:ivar domains: DomainsOperations operations
:vartype domains: azure.mgmt.web.operations.DomainsOperations
:ivar top_level_domains: TopLevelDomainsOperations operations
:vartype top_level_domains: azure.mgmt.web.operations.TopLevelDomainsOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: Your Azure subscription ID. This is a GUID-formatted string (e.g.
Expand All @@ -141,6 +117,9 @@ class WebSiteManagementClient(
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
:keyword api_version: Api Version. Default value is "2025-03-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Retry-After header is present.
"""
Expand Down Expand Up @@ -240,22 +219,6 @@ def __init__(
self.workflow_versions = WorkflowVersionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.app_service_certificate_orders = AppServiceCertificateOrdersOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.certificate_orders_diagnostics = CertificateOrdersDiagnosticsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.certificate_registration_provider = CertificateRegistrationProviderOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.domain_registration_provider = DomainRegistrationProviderOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.domains = DomainsOperations(self._client, self._config, self._serialize, self._deserialize)
self.top_level_domains = TopLevelDomainsOperations(
self._client, self._config, self._serialize, self._deserialize
)

def _send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: Any) -> HttpResponse:
"""Runs the network request through the client's chained policies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ class WebSiteManagementClientConfiguration: # pylint: disable=too-many-instance
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
:type cloud_setting: ~azure.core.AzureClouds
:keyword api_version: Api Version. Default value is "2025-03-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(
Expand All @@ -41,6 +44,8 @@ def __init__(
cloud_setting: Optional["AzureClouds"] = None,
**kwargs: Any
) -> None:
api_version: str = kwargs.pop("api_version", "2025-03-01")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
if subscription_id is None:
Expand All @@ -49,6 +54,7 @@ def __init__(
self.credential = credential
self.subscription_id = subscription_id
self.cloud_setting = cloud_setting
self.api_version = api_version
self.credential_scopes = kwargs.pop("credential_scopes", ["https://management.azure.com/.default"])
kwargs.setdefault("sdk_moniker", "mgmt-web/{}".format(VERSION))
self.polling_interval = kwargs.get("polling_interval", 30)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,11 @@
from .._utils.serialization import Deserializer, Serializer
from ._configuration import WebSiteManagementClientConfiguration
from .operations import (
AppServiceCertificateOrdersOperations,
AppServiceEnvironmentsOperations,
AppServicePlansOperations,
CertificateOrdersDiagnosticsOperations,
CertificateRegistrationProviderOperations,
CertificatesOperations,
DeletedWebAppsOperations,
DiagnosticsOperations,
DomainRegistrationProviderOperations,
DomainsOperations,
GetUsagesInLocationOperations,
GlobalOperations,
KubeEnvironmentsOperations,
Expand All @@ -39,7 +34,6 @@
ResourceHealthMetadataOperations,
SiteCertificatesOperations,
StaticSitesOperations,
TopLevelDomainsOperations,
WebAppsOperations,
WorkflowRunActionRepetitionsOperations,
WorkflowRunActionRepetitionsRequestHistoriesOperations,
Expand All @@ -58,9 +52,7 @@
from azure.core.credentials_async import AsyncTokenCredential


class WebSiteManagementClient(
_WebSiteManagementClientOperationsMixin
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
class WebSiteManagementClient(_WebSiteManagementClientOperationsMixin): # pylint: disable=too-many-instance-attributes
"""AppService Management Client.

:ivar app_service_environments: AppServiceEnvironmentsOperations operations
Expand Down Expand Up @@ -117,22 +109,6 @@ class WebSiteManagementClient(
azure.mgmt.web.aio.operations.WorkflowTriggerHistoriesOperations
:ivar workflow_versions: WorkflowVersionsOperations operations
:vartype workflow_versions: azure.mgmt.web.aio.operations.WorkflowVersionsOperations
:ivar app_service_certificate_orders: AppServiceCertificateOrdersOperations operations
:vartype app_service_certificate_orders:
azure.mgmt.web.aio.operations.AppServiceCertificateOrdersOperations
:ivar certificate_orders_diagnostics: CertificateOrdersDiagnosticsOperations operations
:vartype certificate_orders_diagnostics:
azure.mgmt.web.aio.operations.CertificateOrdersDiagnosticsOperations
:ivar certificate_registration_provider: CertificateRegistrationProviderOperations operations
:vartype certificate_registration_provider:
azure.mgmt.web.aio.operations.CertificateRegistrationProviderOperations
:ivar domain_registration_provider: DomainRegistrationProviderOperations operations
:vartype domain_registration_provider:
azure.mgmt.web.aio.operations.DomainRegistrationProviderOperations
:ivar domains: DomainsOperations operations
:vartype domains: azure.mgmt.web.aio.operations.DomainsOperations
:ivar top_level_domains: TopLevelDomainsOperations operations
:vartype top_level_domains: azure.mgmt.web.aio.operations.TopLevelDomainsOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: Your Azure subscription ID. This is a GUID-formatted string (e.g.
Expand All @@ -143,6 +119,9 @@ class WebSiteManagementClient(
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
:keyword api_version: Api Version. Default value is "2025-03-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Retry-After header is present.
"""
Expand Down Expand Up @@ -244,22 +223,6 @@ def __init__(
self.workflow_versions = WorkflowVersionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.app_service_certificate_orders = AppServiceCertificateOrdersOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.certificate_orders_diagnostics = CertificateOrdersDiagnosticsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.certificate_registration_provider = CertificateRegistrationProviderOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.domain_registration_provider = DomainRegistrationProviderOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.domains = DomainsOperations(self._client, self._config, self._serialize, self._deserialize)
self.top_level_domains = TopLevelDomainsOperations(
self._client, self._config, self._serialize, self._deserialize
)

def _send_request(
self, request: HttpRequest, *, stream: bool = False, **kwargs: Any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@
from ._workflow_triggers_operations import WorkflowTriggersOperations # type: ignore
from ._workflow_trigger_histories_operations import WorkflowTriggerHistoriesOperations # type: ignore
from ._workflow_versions_operations import WorkflowVersionsOperations # type: ignore
from ._app_service_certificate_orders_operations import AppServiceCertificateOrdersOperations # type: ignore
from ._certificate_orders_diagnostics_operations import CertificateOrdersDiagnosticsOperations # type: ignore
from ._certificate_registration_provider_operations import CertificateRegistrationProviderOperations # type: ignore
from ._domain_registration_provider_operations import DomainRegistrationProviderOperations # type: ignore
from ._domains_operations import DomainsOperations # type: ignore
from ._top_level_domains_operations import TopLevelDomainsOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down Expand Up @@ -72,12 +66,6 @@
"WorkflowTriggersOperations",
"WorkflowTriggerHistoriesOperations",
"WorkflowVersionsOperations",
"AppServiceCertificateOrdersOperations",
"CertificateOrdersDiagnosticsOperations",
"CertificateRegistrationProviderOperations",
"DomainRegistrationProviderOperations",
"DomainsOperations",
"TopLevelDomainsOperations",
]
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
_patch_sdk()
Loading
Loading