Skip to content

Commit

Permalink
[AutoRelease] t2-web-2021-08-03-73015 (#20053)
Browse files Browse the repository at this point in the history
* CodeGen from PR 15488 in Azure/azure-rest-api-specs
Update web readme and readme.python (#15488)

* Update web readme and readme.python

* Update readme

* version,CHANGELOG

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
  • Loading branch information
2 people authored and iscai-msft committed Sep 29, 2021
1 parent d7db2e4 commit 4cb20ce
Show file tree
Hide file tree
Showing 83 changed files with 144,393 additions and 179 deletions.
16 changes: 16 additions & 0 deletions sdk/appservice/azure-mgmt-web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Release History

## 4.0.0 (2021-08-03)

**Features**

- Model AppServicePlan has a new parameter elastic_scale_enabled
- Added operation WebAppsOperations.update_swift_virtual_network_connection_with_check_slot
- Added operation WebAppsOperations.create_or_update_swift_virtual_network_connection_with_check_slot
- Added operation WebAppsOperations.update_swift_virtual_network_connection_with_check
- Added operation WebAppsOperations.list_basic_publishing_credentials_policies
- Added operation WebAppsOperations.list_basic_publishing_credentials_policies_slot

**Breaking changes**

- Removed operation WebAppsOperations.get_basic_publishing_credentials_policies_slot
- Removed operation WebAppsOperations.get_basic_publishing_credentials_policies

## 3.0.0 (2021-05-25)

**Features**
Expand Down
10 changes: 5 additions & 5 deletions sdk/appservice/azure-mgmt-web/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.4.2",
"autorest": "3.4.5",
"use": [
"@autorest/python@5.8.0",
"@autorest/modelerfour@4.19.1"
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
],
"commit": "6f3b0ae9e4a5367c910eb573049bf1a75de6e62e",
"commit": "bc4218cfb4178d8af43046080c0c86402d182c3f",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/web/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.0 --use=@autorest/modelerfour@4.19.1 --version=3.4.2",
"autorest_command": "autorest specification/web/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
"readme": "specification/web/resource-manager/readme.md"
}
82 changes: 58 additions & 24 deletions sdk/appservice/azure-mgmt-web/azure/mgmt/web/_operations_mixin.py

Large diffs are not rendered by default.

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 @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "3.0.0"
VERSION = "4.0.0"

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sdk/appservice/azure-mgmt-web/azure/mgmt/web/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# --------------------------------------------------------------------------
from .v2016_03_01.models import *
from .v2018_02_01.models import *
from .v2021_01_01.models import *
from .v2021_01_15.models import *
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "3.0.0"
VERSION = "4.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "3.0.0"
VERSION = "4.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "3.0.0"
VERSION = "4.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "3.0.0"
VERSION = "4.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "3.0.0"
VERSION = "4.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "3.0.0"
VERSION = "4.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "3.0.0"
VERSION = "4.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "3.0.0"
VERSION = "4.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,6 @@ def __init__(
class ApiKVReference(msrest.serialization.Model):
"""Description of site key vault references.

Variables are only populated by the server, and will be ignored when sending a request.

:param reference:
:type reference: str
:param status: Possible values include: "Initialized", "Resolved", "InvalidSyntax",
Expand All @@ -297,17 +295,14 @@ class ApiKVReference(msrest.serialization.Model):
:type identity_type: str or ~azure.mgmt.web.v2019_08_01.models.ManagedServiceIdentityType
:param details:
:type details: str
:ivar source: Default value: "KeyVault".
:vartype source: str
:ivar location: Default value: "ApplicationSetting".
:vartype location: str
:param source: The only acceptable values to pass in are None and "KeyVault". The default
value is None.
:type source: str
:param location: The only acceptable values to pass in are None and "ApplicationSetting". The
default value is None.
:type location: str
"""

_validation = {
'source': {'constant': True},
'location': {'constant': True},
}

_attribute_map = {
'reference': {'key': 'reference', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
Expand All @@ -320,9 +315,6 @@ class ApiKVReference(msrest.serialization.Model):
'location': {'key': 'location', 'type': 'str'},
}

source = "KeyVault"
location = "ApplicationSetting"

def __init__(
self,
**kwargs
Expand All @@ -335,6 +327,8 @@ def __init__(
self.secret_version = kwargs.get('secret_version', None)
self.identity_type = kwargs.get('identity_type', None)
self.details = kwargs.get('details', None)
self.source = kwargs.get('source', None)
self.location = kwargs.get('location', None)


class ApiManagementConfig(msrest.serialization.Model):
Expand Down Expand Up @@ -7262,18 +7256,18 @@ class KeyVaultReferenceResource(ProxyOnlyResource):
:type identity_type: str or ~azure.mgmt.web.v2019_08_01.models.ManagedServiceIdentityType
:param details:
:type details: str
:ivar source: Default value: "KeyVault".
:vartype source: str
:ivar location: Default value: "ApplicationSetting".
:vartype location: str
:param source: The only acceptable values to pass in are None and "KeyVault". The default
value is None.
:type source: str
:param location: The only acceptable values to pass in are None and "ApplicationSetting". The
default value is None.
:type location: str
"""

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'source': {'constant': True},
'location': {'constant': True},
}

_attribute_map = {
Expand All @@ -7292,9 +7286,6 @@ class KeyVaultReferenceResource(ProxyOnlyResource):
'location': {'key': 'properties.location', 'type': 'str'},
}

source = "KeyVault"
location = "ApplicationSetting"

def __init__(
self,
**kwargs
Expand All @@ -7307,6 +7298,8 @@ def __init__(
self.secret_version = kwargs.get('secret_version', None)
self.identity_type = kwargs.get('identity_type', None)
self.details = kwargs.get('details', None)
self.source = kwargs.get('source', None)
self.location = kwargs.get('location', None)


class LocalizableString(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,6 @@ def __init__(
class ApiKVReference(msrest.serialization.Model):
"""Description of site key vault references.

Variables are only populated by the server, and will be ignored when sending a request.

:param reference:
:type reference: str
:param status: Possible values include: "Initialized", "Resolved", "InvalidSyntax",
Expand All @@ -332,17 +330,14 @@ class ApiKVReference(msrest.serialization.Model):
:type identity_type: str or ~azure.mgmt.web.v2019_08_01.models.ManagedServiceIdentityType
:param details:
:type details: str
:ivar source: Default value: "KeyVault".
:vartype source: str
:ivar location: Default value: "ApplicationSetting".
:vartype location: str
:param source: The only acceptable values to pass in are None and "KeyVault". The default
value is None.
:type source: str
:param location: The only acceptable values to pass in are None and "ApplicationSetting". The
default value is None.
:type location: str
"""

_validation = {
'source': {'constant': True},
'location': {'constant': True},
}

_attribute_map = {
'reference': {'key': 'reference', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
Expand All @@ -355,9 +350,6 @@ class ApiKVReference(msrest.serialization.Model):
'location': {'key': 'location', 'type': 'str'},
}

source = "KeyVault"
location = "ApplicationSetting"

def __init__(
self,
*,
Expand All @@ -368,6 +360,8 @@ def __init__(
secret_version: Optional[str] = None,
identity_type: Optional[Union[str, "ManagedServiceIdentityType"]] = None,
details: Optional[str] = None,
source: Optional[str] = None,
location: Optional[str] = None,
**kwargs
):
super(ApiKVReference, self).__init__(**kwargs)
Expand All @@ -378,6 +372,8 @@ def __init__(
self.secret_version = secret_version
self.identity_type = identity_type
self.details = details
self.source = source
self.location = location


class ApiManagementConfig(msrest.serialization.Model):
Expand Down Expand Up @@ -8004,18 +8000,18 @@ class KeyVaultReferenceResource(ProxyOnlyResource):
:type identity_type: str or ~azure.mgmt.web.v2019_08_01.models.ManagedServiceIdentityType
:param details:
:type details: str
:ivar source: Default value: "KeyVault".
:vartype source: str
:ivar location: Default value: "ApplicationSetting".
:vartype location: str
:param source: The only acceptable values to pass in are None and "KeyVault". The default
value is None.
:type source: str
:param location: The only acceptable values to pass in are None and "ApplicationSetting". The
default value is None.
:type location: str
"""

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'source': {'constant': True},
'location': {'constant': True},
}

_attribute_map = {
Expand All @@ -8034,9 +8030,6 @@ class KeyVaultReferenceResource(ProxyOnlyResource):
'location': {'key': 'properties.location', 'type': 'str'},
}

source = "KeyVault"
location = "ApplicationSetting"

def __init__(
self,
*,
Expand All @@ -8048,6 +8041,8 @@ def __init__(
secret_version: Optional[str] = None,
identity_type: Optional[Union[str, "ManagedServiceIdentityType"]] = None,
details: Optional[str] = None,
source: Optional[str] = None,
location: Optional[str] = None,
**kwargs
):
super(KeyVaultReferenceResource, self).__init__(kind=kind, **kwargs)
Expand All @@ -8058,6 +8053,8 @@ def __init__(
self.secret_version = secret_version
self.identity_type = identity_type
self.details = details
self.source = source
self.location = location


class LocalizableString(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "3.0.0"
VERSION = "4.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -8991,8 +8991,9 @@ class OpenIdConnectClientCredential(ProxyOnlyResource):
:type kind: str
:ivar type: Resource type.
:vartype type: str
:ivar method: Default value: "ClientSecretPost".
:vartype method: str
:param method: The only acceptable values to pass in are None and "ClientSecretPost". The
default value is None.
:type method: str
:param client_secret_setting_name:
:type client_secret_setting_name: str
"""
Expand All @@ -9001,7 +9002,6 @@ class OpenIdConnectClientCredential(ProxyOnlyResource):
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'method': {'constant': True},
}

_attribute_map = {
Expand All @@ -9013,13 +9013,12 @@ class OpenIdConnectClientCredential(ProxyOnlyResource):
'client_secret_setting_name': {'key': 'properties.clientSecretSettingName', 'type': 'str'},
}

method = "ClientSecretPost"

def __init__(
self,
**kwargs
):
super(OpenIdConnectClientCredential, self).__init__(**kwargs)
self.method = kwargs.get('method', None)
self.client_secret_setting_name = kwargs.get('client_secret_setting_name', None)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9909,8 +9909,9 @@ class OpenIdConnectClientCredential(ProxyOnlyResource):
:type kind: str
:ivar type: Resource type.
:vartype type: str
:ivar method: Default value: "ClientSecretPost".
:vartype method: str
:param method: The only acceptable values to pass in are None and "ClientSecretPost". The
default value is None.
:type method: str
:param client_secret_setting_name:
:type client_secret_setting_name: str
"""
Expand All @@ -9919,7 +9920,6 @@ class OpenIdConnectClientCredential(ProxyOnlyResource):
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'method': {'constant': True},
}

_attribute_map = {
Expand All @@ -9931,16 +9931,16 @@ class OpenIdConnectClientCredential(ProxyOnlyResource):
'client_secret_setting_name': {'key': 'properties.clientSecretSettingName', 'type': 'str'},
}

method = "ClientSecretPost"

def __init__(
self,
*,
kind: Optional[str] = None,
method: Optional[str] = None,
client_secret_setting_name: Optional[str] = None,
**kwargs
):
super(OpenIdConnectClientCredential, self).__init__(kind=kind, **kwargs)
self.method = method
self.client_secret_setting_name = client_secret_setting_name


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "3.0.0"
VERSION = "4.0.0"
Loading

0 comments on commit 4cb20ce

Please sign in to comment.