Skip to content

Commit

Permalink
Generated from b1da08951a0828c7f9e0678549b54d137e15961a (#8011)
Browse files Browse the repository at this point in the history
Removing contentions APIs from spec
  • Loading branch information
AutorestCI authored Oct 18, 2019
1 parent 62d6dbe commit c37e32d
Show file tree
Hide file tree
Showing 32 changed files with 69,969 additions and 2,525 deletions.
140 changes: 87 additions & 53 deletions sdk/appservice/azure-mgmt-web/azure/mgmt/web/_operations_mixin.py

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 .v2018_11_01.models import *
from .v2019_08_01.models import *
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
from ._models_py3 import HostingEnvironmentDeploymentInfo
from ._models_py3 import HostingEnvironmentDiagnostics
from ._models_py3 import HostingEnvironmentProfile
from ._models_py3 import HostKeys
from ._models_py3 import HostName
from ._models_py3 import HostNameBinding
from ._models_py3 import HostNameSslState
Expand All @@ -117,6 +118,7 @@
from ._models_py3 import Identifier
from ._models_py3 import InboundEnvironmentEndpoint
from ._models_py3 import IpSecurityRestriction
from ._models_py3 import KeyInfo
from ._models_py3 import LocalizableString
from ._models_py3 import LogSpecification
from ._models_py3 import ManagedServiceIdentity
Expand Down Expand Up @@ -336,6 +338,7 @@
from ._models import HostingEnvironmentDeploymentInfo
from ._models import HostingEnvironmentDiagnostics
from ._models import HostingEnvironmentProfile
from ._models import HostKeys
from ._models import HostName
from ._models import HostNameBinding
from ._models import HostNameSslState
Expand All @@ -346,6 +349,7 @@
from ._models import Identifier
from ._models import InboundEnvironmentEndpoint
from ._models import IpSecurityRestriction
from ._models import KeyInfo
from ._models import LocalizableString
from ._models import LogSpecification
from ._models import ManagedServiceIdentity
Expand Down Expand Up @@ -687,6 +691,7 @@
'HostingEnvironmentDeploymentInfo',
'HostingEnvironmentDiagnostics',
'HostingEnvironmentProfile',
'HostKeys',
'HostName',
'HostNameBinding',
'HostNameSslState',
Expand All @@ -697,6 +702,7 @@
'Identifier',
'InboundEnvironmentEndpoint',
'IpSecurityRestriction',
'KeyInfo',
'LocalizableString',
'LogSpecification',
'ManagedServiceIdentity',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5015,7 +5015,7 @@ def __init__(self, **kwargs):


class FunctionEnvelope(ProxyOnlyResource):
"""Web Job Information.
"""Function information.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -5036,6 +5036,8 @@ class FunctionEnvelope(ProxyOnlyResource):
:type script_href: str
:param config_href: Config URI.
:type config_href: str
:param test_data_href: Test data URI.
:type test_data_href: str
:param secrets_file_href: Secrets file URI.
:type secrets_file_href: str
:param href: Function URI.
Expand All @@ -5046,6 +5048,12 @@ class FunctionEnvelope(ProxyOnlyResource):
:type files: dict[str, str]
:param test_data: Test data used when testing via the Azure Portal.
:type test_data: str
:param invoke_url_template: The invocation URL
:type invoke_url_template: str
:param language: The function language
:type language: str
:param is_disabled: Value indicating whether the function is disabled
:type is_disabled: bool
"""

_validation = {
Expand All @@ -5063,11 +5071,15 @@ class FunctionEnvelope(ProxyOnlyResource):
'script_root_path_href': {'key': 'properties.script_root_path_href', 'type': 'str'},
'script_href': {'key': 'properties.script_href', 'type': 'str'},
'config_href': {'key': 'properties.config_href', 'type': 'str'},
'test_data_href': {'key': 'properties.test_data_href', 'type': 'str'},
'secrets_file_href': {'key': 'properties.secrets_file_href', 'type': 'str'},
'href': {'key': 'properties.href', 'type': 'str'},
'config': {'key': 'properties.config', 'type': 'object'},
'files': {'key': 'properties.files', 'type': '{str}'},
'test_data': {'key': 'properties.test_data', 'type': 'str'},
'invoke_url_template': {'key': 'properties.invoke_url_template', 'type': 'str'},
'language': {'key': 'properties.language', 'type': 'str'},
'is_disabled': {'key': 'properties.isDisabled', 'type': 'bool'},
}

def __init__(self, **kwargs):
Expand All @@ -5076,11 +5088,15 @@ def __init__(self, **kwargs):
self.script_root_path_href = kwargs.get('script_root_path_href', None)
self.script_href = kwargs.get('script_href', None)
self.config_href = kwargs.get('config_href', None)
self.test_data_href = kwargs.get('test_data_href', None)
self.secrets_file_href = kwargs.get('secrets_file_href', None)
self.href = kwargs.get('href', None)
self.config = kwargs.get('config', None)
self.files = kwargs.get('files', None)
self.test_data = kwargs.get('test_data', None)
self.invoke_url_template = kwargs.get('invoke_url_template', None)
self.language = kwargs.get('language', None)
self.is_disabled = kwargs.get('is_disabled', None)


class FunctionSecrets(ProxyOnlyResource):
Expand Down Expand Up @@ -5329,6 +5345,30 @@ def __init__(self, **kwargs):
self.type = None


class HostKeys(Model):
"""Functions host level keys.

:param master_key: Secret key.
:type master_key: str
:param function_keys: Host level function keys.
:type function_keys: dict[str, str]
:param system_keys: System keys.
:type system_keys: dict[str, str]
"""

_attribute_map = {
'master_key': {'key': 'masterKey', 'type': 'str'},
'function_keys': {'key': 'functionKeys', 'type': '{str}'},
'system_keys': {'key': 'systemKeys', 'type': '{str}'},
}

def __init__(self, **kwargs):
super(HostKeys, self).__init__(**kwargs)
self.master_key = kwargs.get('master_key', None)
self.function_keys = kwargs.get('function_keys', None)
self.system_keys = kwargs.get('system_keys', None)


class HostName(Model):
"""Details of a hostname derived from a domain.

Expand Down Expand Up @@ -5794,6 +5834,26 @@ def __init__(self, **kwargs):
self.description = kwargs.get('description', None)


class KeyInfo(Model):
"""Function key info.

:param name: Key name
:type name: str
:param value: Key value
:type value: str
"""

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
}

def __init__(self, **kwargs):
super(KeyInfo, self).__init__(**kwargs)
self.name = kwargs.get('name', None)
self.value = kwargs.get('value', None)


class LocalizableString(Model):
"""Localizable string object containing the name and a localized value.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5015,7 +5015,7 @@ def __init__(self, *, retention_in_mb: int=None, retention_in_days: int=None, en


class FunctionEnvelope(ProxyOnlyResource):
"""Web Job Information.
"""Function information.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -5036,6 +5036,8 @@ class FunctionEnvelope(ProxyOnlyResource):
:type script_href: str
:param config_href: Config URI.
:type config_href: str
:param test_data_href: Test data URI.
:type test_data_href: str
:param secrets_file_href: Secrets file URI.
:type secrets_file_href: str
:param href: Function URI.
Expand All @@ -5046,6 +5048,12 @@ class FunctionEnvelope(ProxyOnlyResource):
:type files: dict[str, str]
:param test_data: Test data used when testing via the Azure Portal.
:type test_data: str
:param invoke_url_template: The invocation URL
:type invoke_url_template: str
:param language: The function language
:type language: str
:param is_disabled: Value indicating whether the function is disabled
:type is_disabled: bool
"""

_validation = {
Expand All @@ -5063,24 +5071,32 @@ class FunctionEnvelope(ProxyOnlyResource):
'script_root_path_href': {'key': 'properties.script_root_path_href', 'type': 'str'},
'script_href': {'key': 'properties.script_href', 'type': 'str'},
'config_href': {'key': 'properties.config_href', 'type': 'str'},
'test_data_href': {'key': 'properties.test_data_href', 'type': 'str'},
'secrets_file_href': {'key': 'properties.secrets_file_href', 'type': 'str'},
'href': {'key': 'properties.href', 'type': 'str'},
'config': {'key': 'properties.config', 'type': 'object'},
'files': {'key': 'properties.files', 'type': '{str}'},
'test_data': {'key': 'properties.test_data', 'type': 'str'},
'invoke_url_template': {'key': 'properties.invoke_url_template', 'type': 'str'},
'language': {'key': 'properties.language', 'type': 'str'},
'is_disabled': {'key': 'properties.isDisabled', 'type': 'bool'},
}

def __init__(self, *, kind: str=None, function_app_id: str=None, script_root_path_href: str=None, script_href: str=None, config_href: str=None, secrets_file_href: str=None, href: str=None, config=None, files=None, test_data: str=None, **kwargs) -> None:
def __init__(self, *, kind: str=None, function_app_id: str=None, script_root_path_href: str=None, script_href: str=None, config_href: str=None, test_data_href: str=None, secrets_file_href: str=None, href: str=None, config=None, files=None, test_data: str=None, invoke_url_template: str=None, language: str=None, is_disabled: bool=None, **kwargs) -> None:
super(FunctionEnvelope, self).__init__(kind=kind, **kwargs)
self.function_app_id = function_app_id
self.script_root_path_href = script_root_path_href
self.script_href = script_href
self.config_href = config_href
self.test_data_href = test_data_href
self.secrets_file_href = secrets_file_href
self.href = href
self.config = config
self.files = files
self.test_data = test_data
self.invoke_url_template = invoke_url_template
self.language = language
self.is_disabled = is_disabled


class FunctionSecrets(ProxyOnlyResource):
Expand Down Expand Up @@ -5329,6 +5345,30 @@ def __init__(self, *, id: str=None, **kwargs) -> None:
self.type = None


class HostKeys(Model):
"""Functions host level keys.

:param master_key: Secret key.
:type master_key: str
:param function_keys: Host level function keys.
:type function_keys: dict[str, str]
:param system_keys: System keys.
:type system_keys: dict[str, str]
"""

_attribute_map = {
'master_key': {'key': 'masterKey', 'type': 'str'},
'function_keys': {'key': 'functionKeys', 'type': '{str}'},
'system_keys': {'key': 'systemKeys', 'type': '{str}'},
}

def __init__(self, *, master_key: str=None, function_keys=None, system_keys=None, **kwargs) -> None:
super(HostKeys, self).__init__(**kwargs)
self.master_key = master_key
self.function_keys = function_keys
self.system_keys = system_keys


class HostName(Model):
"""Details of a hostname derived from a domain.

Expand Down Expand Up @@ -5794,6 +5834,26 @@ def __init__(self, *, ip_address: str=None, subnet_mask: str=None, vnet_subnet_r
self.description = description


class KeyInfo(Model):
"""Function key info.

:param name: Key name
:type name: str
:param value: Key value
:type value: str
"""

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
}

def __init__(self, *, name: str=None, value: str=None, **kwargs) -> None:
super(KeyInfo, self).__init__(**kwargs)
self.name = name
self.value = value


class LocalizableString(Model):
"""Localizable string object containing the name and a localized value.

Expand Down
Loading

0 comments on commit c37e32d

Please sign in to comment.