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

[ReleasePR track2_azure-mgmt-web] {azure-rest-api-specs} Add possible values for DomainValidationMethod #19425

Closed
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 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",
"use": [
"@autorest/python@5.8.0",
"@autorest/modelerfour@4.19.1"
"@autorest/python@5.8.1",
"@autorest/modelerfour@4.19.2"
],
"commit": "6f3b0ae9e4a5367c910eb573049bf1a75de6e62e",
"commit": "d9249ed91d16c8ff8bf81e2df13e54bd0439bb64",
"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.1 --use=@autorest/modelerfour@4.19.2 --version=3.4.2",
"readme": "specification/web/resource-manager/readme.md"
}
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 = "0.42.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 = "0.42.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 = "0.42.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 = "0.42.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 = "0.42.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 = "0.42.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 = "0.42.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 = "0.42.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 = "0.42.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 = "0.42.0"
Original file line number Diff line number Diff line change
Expand Up @@ -9360,8 +9360,9 @@ class OpenIdConnectClientCredential(ProxyOnlyResource):
:vartype type: str
:ivar system_data: The system metadata relating to this resource.
:vartype system_data: ~azure.mgmt.web.v2020_09_01.models.SystemData
: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 @@ -9371,7 +9372,6 @@ class OpenIdConnectClientCredential(ProxyOnlyResource):
'name': {'readonly': True},
'type': {'readonly': True},
'system_data': {'readonly': True},
'method': {'constant': True},
}

_attribute_map = {
Expand All @@ -9384,13 +9384,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
Loading