Skip to content

Commit

Permalink
Generated from a20537a953e03d3177877f92d7c1fc00d79ac635 (#3048)
Browse files Browse the repository at this point in the history
Fix documentation issues with metrics APIs
  • Loading branch information
AutorestCI authored Jul 31, 2018
1 parent 150561b commit 0375f0d
Show file tree
Hide file tree
Showing 16 changed files with 34 additions and 583 deletions.
10 changes: 0 additions & 10 deletions azure-mgmt-web/azure/mgmt/web/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
from .handler_mapping_py3 import HandlerMapping
from .site_machine_key_py3 import SiteMachineKey
from .conn_string_info_py3 import ConnStringInfo
from .azure_storage_info_value_py3 import AzureStorageInfoValue
from .name_value_pair_py3 import NameValuePair
from .site_config_py3 import SiteConfig
from .host_name_ssl_state_py3 import HostNameSslState
Expand Down Expand Up @@ -155,7 +154,6 @@
from .azure_blob_storage_application_logs_config_py3 import AzureBlobStorageApplicationLogsConfig
from .application_logs_config_py3 import ApplicationLogsConfig
from .azure_blob_storage_http_logs_config_py3 import AzureBlobStorageHttpLogsConfig
from .azure_storage_property_dictionary_resource_py3 import AzureStoragePropertyDictionaryResource
from .database_backup_setting_py3 import DatabaseBackupSetting
from .backup_item_py3 import BackupItem
from .backup_schedule_py3 import BackupSchedule
Expand Down Expand Up @@ -276,7 +274,6 @@
from .handler_mapping import HandlerMapping
from .site_machine_key import SiteMachineKey
from .conn_string_info import ConnStringInfo
from .azure_storage_info_value import AzureStorageInfoValue
from .name_value_pair import NameValuePair
from .site_config import SiteConfig
from .host_name_ssl_state import HostNameSslState
Expand Down Expand Up @@ -375,7 +372,6 @@
from .azure_blob_storage_application_logs_config import AzureBlobStorageApplicationLogsConfig
from .application_logs_config import ApplicationLogsConfig
from .azure_blob_storage_http_logs_config import AzureBlobStorageHttpLogsConfig
from .azure_storage_property_dictionary_resource import AzureStoragePropertyDictionaryResource
from .database_backup_setting import DatabaseBackupSetting
from .backup_item import BackupItem
from .backup_schedule import BackupSchedule
Expand Down Expand Up @@ -512,8 +508,6 @@
IpFilterTag,
AutoHealActionType,
ConnectionStringType,
AzureStorageType,
AzureStorageState,
ScmType,
ManagedPipelineMode,
SiteLoadBalancing,
Expand Down Expand Up @@ -614,7 +608,6 @@
'HandlerMapping',
'SiteMachineKey',
'ConnStringInfo',
'AzureStorageInfoValue',
'NameValuePair',
'SiteConfig',
'HostNameSslState',
Expand Down Expand Up @@ -713,7 +706,6 @@
'AzureBlobStorageApplicationLogsConfig',
'ApplicationLogsConfig',
'AzureBlobStorageHttpLogsConfig',
'AzureStoragePropertyDictionaryResource',
'DatabaseBackupSetting',
'BackupItem',
'BackupSchedule',
Expand Down Expand Up @@ -849,8 +841,6 @@
'IpFilterTag',
'AutoHealActionType',
'ConnectionStringType',
'AzureStorageType',
'AzureStorageState',
'ScmType',
'ManagedPipelineMode',
'SiteLoadBalancing',
Expand Down
53 changes: 0 additions & 53 deletions azure-mgmt-web/azure/mgmt/web/models/azure_storage_info_value.py

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions azure-mgmt-web/azure/mgmt/web/models/site_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ class SiteConfig(Model):
:type publishing_username: str
:param app_settings: Application settings.
:type app_settings: list[~azure.mgmt.web.models.NameValuePair]
:param azure_storage_accounts: User-provided Azure storage accounts.
:type azure_storage_accounts: dict[str,
~azure.mgmt.web.models.AzureStorageInfoValue]
:param connection_strings: Connection strings.
:type connection_strings: list[~azure.mgmt.web.models.ConnStringInfo]
:ivar machine_key: Site MachineKey.
Expand Down Expand Up @@ -170,7 +167,6 @@ class SiteConfig(Model):
'detailed_error_logging_enabled': {'key': 'detailedErrorLoggingEnabled', 'type': 'bool'},
'publishing_username': {'key': 'publishingUsername', 'type': 'str'},
'app_settings': {'key': 'appSettings', 'type': '[NameValuePair]'},
'azure_storage_accounts': {'key': 'azureStorageAccounts', 'type': '{AzureStorageInfoValue}'},
'connection_strings': {'key': 'connectionStrings', 'type': '[ConnStringInfo]'},
'machine_key': {'key': 'machineKey', 'type': 'SiteMachineKey'},
'handler_mappings': {'key': 'handlerMappings', 'type': '[HandlerMapping]'},
Expand Down Expand Up @@ -225,7 +221,6 @@ def __init__(self, **kwargs):
self.detailed_error_logging_enabled = kwargs.get('detailed_error_logging_enabled', None)
self.publishing_username = kwargs.get('publishing_username', None)
self.app_settings = kwargs.get('app_settings', None)
self.azure_storage_accounts = kwargs.get('azure_storage_accounts', None)
self.connection_strings = kwargs.get('connection_strings', None)
self.machine_key = None
self.handler_mappings = kwargs.get('handler_mappings', None)
Expand Down
7 changes: 1 addition & 6 deletions azure-mgmt-web/azure/mgmt/web/models/site_config_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ class SiteConfig(Model):
:type publishing_username: str
:param app_settings: Application settings.
:type app_settings: list[~azure.mgmt.web.models.NameValuePair]
:param azure_storage_accounts: User-provided Azure storage accounts.
:type azure_storage_accounts: dict[str,
~azure.mgmt.web.models.AzureStorageInfoValue]
:param connection_strings: Connection strings.
:type connection_strings: list[~azure.mgmt.web.models.ConnStringInfo]
:ivar machine_key: Site MachineKey.
Expand Down Expand Up @@ -170,7 +167,6 @@ class SiteConfig(Model):
'detailed_error_logging_enabled': {'key': 'detailedErrorLoggingEnabled', 'type': 'bool'},
'publishing_username': {'key': 'publishingUsername', 'type': 'str'},
'app_settings': {'key': 'appSettings', 'type': '[NameValuePair]'},
'azure_storage_accounts': {'key': 'azureStorageAccounts', 'type': '{AzureStorageInfoValue}'},
'connection_strings': {'key': 'connectionStrings', 'type': '[ConnStringInfo]'},
'machine_key': {'key': 'machineKey', 'type': 'SiteMachineKey'},
'handler_mappings': {'key': 'handlerMappings', 'type': '[HandlerMapping]'},
Expand Down Expand Up @@ -206,7 +202,7 @@ class SiteConfig(Model):
'reserved_instance_count': {'key': 'reservedInstanceCount', 'type': 'int'},
}

def __init__(self, *, number_of_workers: int=None, default_documents=None, net_framework_version: str="v4.6", php_version: str=None, python_version: str=None, node_version: str=None, linux_fx_version: str=None, windows_fx_version: str=None, request_tracing_enabled: bool=None, request_tracing_expiration_time=None, remote_debugging_enabled: bool=None, remote_debugging_version: str=None, http_logging_enabled: bool=None, logs_directory_size_limit: int=None, detailed_error_logging_enabled: bool=None, publishing_username: str=None, app_settings=None, azure_storage_accounts=None, connection_strings=None, handler_mappings=None, document_root: str=None, scm_type=None, use32_bit_worker_process: bool=None, web_sockets_enabled: bool=None, always_on: bool=None, java_version: str=None, java_container: str=None, java_container_version: str=None, app_command_line: str=None, managed_pipeline_mode=None, virtual_applications=None, load_balancing=None, experiments=None, limits=None, auto_heal_enabled: bool=None, auto_heal_rules=None, tracing_options: str=None, vnet_name: str=None, cors=None, push=None, api_definition=None, auto_swap_slot_name: str=None, local_my_sql_enabled: bool=False, managed_service_identity_id: int=None, x_managed_service_identity_id: int=None, ip_security_restrictions=None, http20_enabled: bool=True, min_tls_version=None, ftps_state=None, reserved_instance_count: int=None, **kwargs) -> None:
def __init__(self, *, number_of_workers: int=None, default_documents=None, net_framework_version: str="v4.6", php_version: str=None, python_version: str=None, node_version: str=None, linux_fx_version: str=None, windows_fx_version: str=None, request_tracing_enabled: bool=None, request_tracing_expiration_time=None, remote_debugging_enabled: bool=None, remote_debugging_version: str=None, http_logging_enabled: bool=None, logs_directory_size_limit: int=None, detailed_error_logging_enabled: bool=None, publishing_username: str=None, app_settings=None, connection_strings=None, handler_mappings=None, document_root: str=None, scm_type=None, use32_bit_worker_process: bool=None, web_sockets_enabled: bool=None, always_on: bool=None, java_version: str=None, java_container: str=None, java_container_version: str=None, app_command_line: str=None, managed_pipeline_mode=None, virtual_applications=None, load_balancing=None, experiments=None, limits=None, auto_heal_enabled: bool=None, auto_heal_rules=None, tracing_options: str=None, vnet_name: str=None, cors=None, push=None, api_definition=None, auto_swap_slot_name: str=None, local_my_sql_enabled: bool=False, managed_service_identity_id: int=None, x_managed_service_identity_id: int=None, ip_security_restrictions=None, http20_enabled: bool=True, min_tls_version=None, ftps_state=None, reserved_instance_count: int=None, **kwargs) -> None:
super(SiteConfig, self).__init__(**kwargs)
self.number_of_workers = number_of_workers
self.default_documents = default_documents
Expand All @@ -225,7 +221,6 @@ def __init__(self, *, number_of_workers: int=None, default_documents=None, net_f
self.detailed_error_logging_enabled = detailed_error_logging_enabled
self.publishing_username = publishing_username
self.app_settings = app_settings
self.azure_storage_accounts = azure_storage_accounts
self.connection_strings = connection_strings
self.machine_key = None
self.handler_mappings = handler_mappings
Expand Down
5 changes: 0 additions & 5 deletions azure-mgmt-web/azure/mgmt/web/models/site_config_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ class SiteConfigResource(ProxyOnlyResource):
:type publishing_username: str
:param app_settings: Application settings.
:type app_settings: list[~azure.mgmt.web.models.NameValuePair]
:param azure_storage_accounts: User-provided Azure storage accounts.
:type azure_storage_accounts: dict[str,
~azure.mgmt.web.models.AzureStorageInfoValue]
:param connection_strings: Connection strings.
:type connection_strings: list[~azure.mgmt.web.models.ConnStringInfo]
:ivar machine_key: Site MachineKey.
Expand Down Expand Up @@ -185,7 +182,6 @@ class SiteConfigResource(ProxyOnlyResource):
'detailed_error_logging_enabled': {'key': 'properties.detailedErrorLoggingEnabled', 'type': 'bool'},
'publishing_username': {'key': 'properties.publishingUsername', 'type': 'str'},
'app_settings': {'key': 'properties.appSettings', 'type': '[NameValuePair]'},
'azure_storage_accounts': {'key': 'properties.azureStorageAccounts', 'type': '{AzureStorageInfoValue}'},
'connection_strings': {'key': 'properties.connectionStrings', 'type': '[ConnStringInfo]'},
'machine_key': {'key': 'properties.machineKey', 'type': 'SiteMachineKey'},
'handler_mappings': {'key': 'properties.handlerMappings', 'type': '[HandlerMapping]'},
Expand Down Expand Up @@ -240,7 +236,6 @@ def __init__(self, **kwargs):
self.detailed_error_logging_enabled = kwargs.get('detailed_error_logging_enabled', None)
self.publishing_username = kwargs.get('publishing_username', None)
self.app_settings = kwargs.get('app_settings', None)
self.azure_storage_accounts = kwargs.get('azure_storage_accounts', None)
self.connection_strings = kwargs.get('connection_strings', None)
self.machine_key = None
self.handler_mappings = kwargs.get('handler_mappings', None)
Expand Down
Loading

0 comments on commit 0375f0d

Please sign in to comment.