Skip to content
26 changes: 26 additions & 0 deletions azure-mgmt-web/azure/mgmt/web/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@
from .localizable_string import LocalizableString
from .csm_usage_quota import CsmUsageQuota
from .error_entity import ErrorEntity
from .default_error_response_error_details_item import DefaultErrorResponseErrorDetailsItem
from .default_error_response_error import DefaultErrorResponseError
from .default_error_response import DefaultErrorResponse, DefaultErrorResponseException
from .operation import Operation
from .resource_metric_property import ResourceMetricProperty
from .resource_metric_value import ResourceMetricValue
Expand All @@ -115,6 +118,12 @@
from .response_meta_data import ResponseMetaData
from .analysis_data import AnalysisData
from .analysis_definition import AnalysisDefinition
from .data_table_response_column import DataTableResponseColumn
from .data_table_response_object import DataTableResponseObject
from .detector_info import DetectorInfo
from .rendering import Rendering
from .diagnostic_data import DiagnosticData
from .detector_response import DetectorResponse
from .diagnostic_analysis import DiagnosticAnalysis
from .diagnostic_category import DiagnosticCategory
from .diagnostic_detector_response import DiagnosticDetectorResponse
Expand All @@ -123,6 +132,7 @@
from .application_stack import ApplicationStack
from .recommendation import Recommendation
from .recommendation_rule import RecommendationRule
from .resource_health_metadata import ResourceHealthMetadata
from .csm_move_resource_envelope import CsmMoveResourceEnvelope
from .geo_region import GeoRegion
from .hosting_environment_deployment_info import HostingEnvironmentDeploymentInfo
Expand Down Expand Up @@ -221,11 +231,13 @@
from .tld_legal_agreement_paged import TldLegalAgreementPaged
from .certificate_paged import CertificatePaged
from .deleted_site_paged import DeletedSitePaged
from .detector_response_paged import DetectorResponsePaged
from .diagnostic_category_paged import DiagnosticCategoryPaged
from .analysis_definition_paged import AnalysisDefinitionPaged
from .detector_definition_paged import DetectorDefinitionPaged
from .application_stack_paged import ApplicationStackPaged
from .recommendation_paged import RecommendationPaged
from .resource_health_metadata_paged import ResourceHealthMetadataPaged
from .source_control_paged import SourceControlPaged
from .geo_region_paged import GeoRegionPaged
from .identifier_paged import IdentifierPaged
Expand Down Expand Up @@ -294,6 +306,7 @@
OperationStatus,
IssueType,
SolutionType,
RenderingType,
ResourceScopeType,
NotificationLevel,
Channels,
Expand Down Expand Up @@ -413,6 +426,9 @@
'LocalizableString',
'CsmUsageQuota',
'ErrorEntity',
'DefaultErrorResponseErrorDetailsItem',
'DefaultErrorResponseError',
'DefaultErrorResponse', 'DefaultErrorResponseException',
'Operation',
'ResourceMetricProperty',
'ResourceMetricValue',
Expand All @@ -429,6 +445,12 @@
'ResponseMetaData',
'AnalysisData',
'AnalysisDefinition',
'DataTableResponseColumn',
'DataTableResponseObject',
'DetectorInfo',
'Rendering',
'DiagnosticData',
'DetectorResponse',
'DiagnosticAnalysis',
'DiagnosticCategory',
'DiagnosticDetectorResponse',
Expand All @@ -437,6 +459,7 @@
'ApplicationStack',
'Recommendation',
'RecommendationRule',
'ResourceHealthMetadata',
'CsmMoveResourceEnvelope',
'GeoRegion',
'HostingEnvironmentDeploymentInfo',
Expand Down Expand Up @@ -535,11 +558,13 @@
'TldLegalAgreementPaged',
'CertificatePaged',
'DeletedSitePaged',
'DetectorResponsePaged',
'DiagnosticCategoryPaged',
'AnalysisDefinitionPaged',
'DetectorDefinitionPaged',
'ApplicationStackPaged',
'RecommendationPaged',
'ResourceHealthMetadataPaged',
'SourceControlPaged',
'GeoRegionPaged',
'IdentifierPaged',
Expand Down Expand Up @@ -607,6 +632,7 @@
'OperationStatus',
'IssueType',
'SolutionType',
'RenderingType',
'ResourceScopeType',
'NotificationLevel',
'Channels',
Expand Down
36 changes: 36 additions & 0 deletions azure-mgmt-web/azure/mgmt/web/models/data_table_response_column.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class DataTableResponseColumn(Model):
"""Column definition.

:param column_name: Name of the column
:type column_name: str
:param data_type: Data type which looks like 'String' or 'Int32'.
:type data_type: str
:param column_type: Column Type
:type column_type: str
"""

_attribute_map = {
'column_name': {'key': 'columnName', 'type': 'str'},
'data_type': {'key': 'dataType', 'type': 'str'},
'column_type': {'key': 'columnType', 'type': 'str'},
}

def __init__(self, column_name=None, data_type=None, column_type=None):
super(DataTableResponseColumn, self).__init__()
self.column_name = column_name
self.data_type = data_type
self.column_type = column_type
36 changes: 36 additions & 0 deletions azure-mgmt-web/azure/mgmt/web/models/data_table_response_object.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class DataTableResponseObject(Model):
"""Data Table which defines columns and raw row values.

:param table_name: Name of the table
:type table_name: str
:param columns: List of columns with data types
:type columns: list[~azure.mgmt.web.models.DataTableResponseColumn]
:param rows: Raw row values
:type rows: list[list[str]]
"""

_attribute_map = {
'table_name': {'key': 'tableName', 'type': 'str'},
'columns': {'key': 'columns', 'type': '[DataTableResponseColumn]'},
'rows': {'key': 'rows', 'type': '[[str]]'},
}

def __init__(self, table_name=None, columns=None, rows=None):
super(DataTableResponseObject, self).__init__()
self.table_name = table_name
self.columns = columns
self.rows = rows
48 changes: 48 additions & 0 deletions azure-mgmt-web/azure/mgmt/web/models/default_error_response.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model
from msrest.exceptions import HttpOperationError


class DefaultErrorResponse(Model):
"""App Service error response.

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

:ivar error: Error model.
:vartype error: ~azure.mgmt.web.models.DefaultErrorResponseError
"""

_validation = {
'error': {'readonly': True},
}

_attribute_map = {
'error': {'key': 'error', 'type': 'DefaultErrorResponseError'},
}

def __init__(self):
super(DefaultErrorResponse, self).__init__()
self.error = None


class DefaultErrorResponseException(HttpOperationError):
"""Server responsed with exception of type: 'DefaultErrorResponse'.

:param deserialize: A deserializer
:param response: Server response to be deserialized.
"""

def __init__(self, deserialize, response, *args):

super(DefaultErrorResponseException, self).__init__(deserialize, response, 'DefaultErrorResponse', *args)
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class DefaultErrorResponseError(Model):
"""Error model.

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

:ivar code: Standardized string to programmatically identify the error.
:vartype code: str
:ivar message: Detailed error description and debugging information.
:vartype message: str
:ivar target: Detailed error description and debugging information.
:vartype target: str
:param details:
:type details:
list[~azure.mgmt.web.models.DefaultErrorResponseErrorDetailsItem]
:ivar innererror: More information to debug error.
:vartype innererror: str
"""

_validation = {
'code': {'required': True, 'readonly': True},
'message': {'required': True, 'readonly': True},
'target': {'readonly': True},
'innererror': {'readonly': True},
}

_attribute_map = {
'code': {'key': 'code', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
'target': {'key': 'target', 'type': 'str'},
'details': {'key': 'details', 'type': '[DefaultErrorResponseErrorDetailsItem]'},
'innererror': {'key': 'innererror', 'type': 'str'},
}

def __init__(self, details=None):
super(DefaultErrorResponseError, self).__init__()
self.code = None
self.message = None
self.target = None
self.details = details
self.innererror = None
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class DefaultErrorResponseErrorDetailsItem(Model):
"""Detailed errors.

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

:ivar code: Standardized string to programmatically identify the error.
:vartype code: str
:ivar message: Detailed error description and debugging information.
:vartype message: str
:ivar target: Detailed error description and debugging information.
:vartype target: str
"""

_validation = {
'code': {'required': True, 'readonly': True},
'message': {'required': True, 'readonly': True},
'target': {'readonly': True},
}

_attribute_map = {
'code': {'key': 'code', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
'target': {'key': 'target', 'type': 'str'},
}

def __init__(self):
super(DefaultErrorResponseErrorDetailsItem, self).__init__()
self.code = None
self.message = None
self.target = None
50 changes: 50 additions & 0 deletions azure-mgmt-web/azure/mgmt/web/models/detector_info.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class DetectorInfo(Model):
"""Definition of Detector.

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

:ivar description: Short description of the detector and its purpose
:vartype description: str
:ivar category: Support Category
:vartype category: str
:ivar sub_category: Support Sub Category
:vartype sub_category: str
:ivar support_topic_id: Support Topic Id
:vartype support_topic_id: str
"""

_validation = {
'description': {'readonly': True},
'category': {'readonly': True},
'sub_category': {'readonly': True},
'support_topic_id': {'readonly': True},
}

_attribute_map = {
'description': {'key': 'description', 'type': 'str'},
'category': {'key': 'category', 'type': 'str'},
'sub_category': {'key': 'subCategory', 'type': 'str'},
'support_topic_id': {'key': 'supportTopicId', 'type': 'str'},
}

def __init__(self):
super(DetectorInfo, self).__init__()
self.description = None
self.category = None
self.sub_category = None
self.support_topic_id = None
Loading