Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
9da1897
Generated from 38e4303e047f81ab46e00d32d6356c4db74ddce1 (#2064)
AutorestCI Feb 27, 2018
4d58ae7
[AutoPR web/resource-manager] Fix recommendation resource properties,…
AutorestCI Feb 28, 2018
bc382da
Generated from 6b4f8a041355f71703ff968f9a7209ab27d93605 (#2090)
AutorestCI Mar 2, 2018
fcfe218
Generated from 2cfd4201a8ac6728ed176142e879fa13c9aff776 (#2177)
AutorestCI Mar 23, 2018
0a8ffbe
[AutoPR web/resource-manager] Update logicAppsManagementClient.json t…
AutorestCI Mar 29, 2018
749691a
[AutoPR web/resource-manager] Adding BillingMeters API (#2271)
AutorestCI Apr 2, 2018
3c8eb4a
[AutoPR web/resource-manager] Adding new API version for Microsoft.We…
AutorestCI Apr 12, 2018
3617561
Generated from 78c1d019bfd4816ca21ad4f3cbebe6b9aed3175d (#2436)
AutorestCI May 1, 2018
2feef0c
Generated from 803aa2f0154403f9b82544013d0f108a5f0781d2 (#2533)
AutorestCI May 4, 2018
4eb5eea
Rebuild by https://github.com/Azure/azure-sdk-for-python/pull/2065
AutorestCI May 29, 2018
1d38c2a
Generated from 0ba75505cddaddce442eb2172170ccd408e6cfd5 (#2925)
AutorestCI Jul 18, 2018
150561b
Generated from 783f10df76a37c1a43432530a30deb10d7aceb50 (#2955)
AutorestCI Jul 19, 2018
0375f0d
Generated from a20537a953e03d3177877f92d7c1fc00d79ac635 (#3048)
AutorestCI Jul 31, 2018
5ac171b
Generated from 45ce1882ee5af7ce8fa4f25cf5f871bc7aa9821b (#3116)
AutorestCI Aug 9, 2018
7f6cf48
[AutoPR web/resource-manager] WebApps - Add BackupName to backup API …
AutorestCI Aug 20, 2018
204f4e4
[AutoPR web/resource-manager] Add HyperV property for AppServicePlan …
AutorestCI Aug 23, 2018
155a4c4
[AutoPR web/resource-manager] WebApps - Add ResourceHealthMetadata.js…
AutorestCI Aug 28, 2018
112a4b7
Merge remote-tracking branch 'upstream/master' into restapi_auto_web/…
lmazuel Aug 28, 2018
9934436
WebApp packaging
lmazuel Aug 28, 2018
be6e90c
Web 0.40.0
lmazuel Aug 28, 2018
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
Prev Previous commit
Next Next commit
[AutoPR web/resource-manager] WebApps - Add ResourceHealthMetadata.js…
…on to readme.md for SDK generation (#3178)

* Generated from 1c9e1028cea9b1119b0fb396906d412c6d228c8e

WebApps - Add ResourceHealthMetadata.json to readme.md for SDK generation

* Generated from 4038e1418fea2b1092005a07b4ff72442d0038a1

Change deleted site model to be proxy only resource
  • Loading branch information
AutorestCI authored Aug 28, 2018
commit 155a4c45cd4b73e5b368fbe960c2a6e264f08d9f
11 changes: 8 additions & 3 deletions azure-mgmt-web/azure/mgmt/web/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
from .identifier_py3 import Identifier
from .hybrid_connection_key_py3 import HybridConnectionKey
from .hybrid_connection_py3 import HybridConnection
from .deleted_site_py3 import DeletedSite
from .proxy_only_resource_py3 import ProxyOnlyResource
from .managed_service_identity_py3 import ManagedServiceIdentity
from .slot_swap_status_py3 import SlotSwapStatus
Expand Down Expand Up @@ -101,7 +102,6 @@
from .app_service_environment_py3 import AppServiceEnvironment
from .localizable_string_py3 import LocalizableString
from .csm_usage_quota_py3 import CsmUsageQuota
from .deleted_site_py3 import DeletedSite
from .error_entity_py3 import ErrorEntity
from .operation_py3 import Operation
from .resource_metric_name_py3 import ResourceMetricName
Expand Down Expand Up @@ -229,6 +229,7 @@
from .worker_pool_resource_py3 import WorkerPoolResource
from .app_service_plan_patch_resource_py3 import AppServicePlanPatchResource
from .hybrid_connection_limits_py3 import HybridConnectionLimits
from .resource_health_metadata_py3 import ResourceHealthMetadata
except (SyntaxError, ImportError):
from .app_service_certificate import AppServiceCertificate
from .app_service_certificate_resource import AppServiceCertificateResource
Expand All @@ -253,6 +254,7 @@
from .identifier import Identifier
from .hybrid_connection_key import HybridConnectionKey
from .hybrid_connection import HybridConnection
from .deleted_site import DeletedSite
from .proxy_only_resource import ProxyOnlyResource
from .managed_service_identity import ManagedServiceIdentity
from .slot_swap_status import SlotSwapStatus
Expand Down Expand Up @@ -321,7 +323,6 @@
from .app_service_environment import AppServiceEnvironment
from .localizable_string import LocalizableString
from .csm_usage_quota import CsmUsageQuota
from .deleted_site import DeletedSite
from .error_entity import ErrorEntity
from .operation import Operation
from .resource_metric_name import ResourceMetricName
Expand Down Expand Up @@ -449,6 +450,7 @@
from .worker_pool_resource import WorkerPoolResource
from .app_service_plan_patch_resource import AppServicePlanPatchResource
from .hybrid_connection_limits import HybridConnectionLimits
from .resource_health_metadata import ResourceHealthMetadata
from .app_service_certificate_order_paged import AppServiceCertificateOrderPaged
from .app_service_certificate_resource_paged import AppServiceCertificateResourcePaged
from .csm_operation_description_paged import CsmOperationDescriptionPaged
Expand Down Expand Up @@ -501,6 +503,7 @@
from .app_service_plan_paged import AppServicePlanPaged
from .str_paged import StrPaged
from .hybrid_connection_paged import HybridConnectionPaged
from .resource_health_metadata_paged import ResourceHealthMetadataPaged
from .web_site_management_client_enums import (
KeyVaultSecretStatus,
CertificateProductType,
Expand Down Expand Up @@ -591,6 +594,7 @@
'Identifier',
'HybridConnectionKey',
'HybridConnection',
'DeletedSite',
'ProxyOnlyResource',
'ManagedServiceIdentity',
'SlotSwapStatus',
Expand Down Expand Up @@ -659,7 +663,6 @@
'AppServiceEnvironment',
'LocalizableString',
'CsmUsageQuota',
'DeletedSite',
'ErrorEntity',
'Operation',
'ResourceMetricName',
Expand Down Expand Up @@ -787,6 +790,7 @@
'WorkerPoolResource',
'AppServicePlanPatchResource',
'HybridConnectionLimits',
'ResourceHealthMetadata',
'AppServiceCertificateOrderPaged',
'AppServiceCertificateResourcePaged',
'CsmOperationDescriptionPaged',
Expand Down Expand Up @@ -839,6 +843,7 @@
'AppServicePlanPaged',
'StrPaged',
'HybridConnectionPaged',
'ResourceHealthMetadataPaged',
'KeyVaultSecretStatus',
'CertificateProductType',
'ProvisioningState',
Expand Down
36 changes: 28 additions & 8 deletions azure-mgmt-web/azure/mgmt/web/models/deleted_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,23 @@
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model
from .proxy_only_resource import ProxyOnlyResource


class DeletedSite(Model):
class DeletedSite(ProxyOnlyResource):
"""A deleted app.

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

:ivar id: Resource Id.
:vartype id: str
:ivar name: Resource Name.
:vartype name: str
:param kind: Kind of resource.
:type kind: str
:ivar type: Resource type.
:vartype type: str
:ivar deleted_site_id: Numeric id for the deleted site
:vartype deleted_site_id: int
:ivar deleted_timestamp: Time in UTC when the app was deleted.
Expand All @@ -30,24 +38,35 @@ class DeletedSite(Model):
:vartype deleted_site_name: str
:ivar slot: Slot of the deleted site
:vartype slot: str
:ivar deleted_site_kind: Kind of site that was deleted
:vartype deleted_site_kind: str
"""

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'deleted_site_id': {'readonly': True},
'deleted_timestamp': {'readonly': True},
'subscription': {'readonly': True},
'resource_group': {'readonly': True},
'deleted_site_name': {'readonly': True},
'slot': {'readonly': True},
'deleted_site_kind': {'readonly': True},
}

_attribute_map = {
'deleted_site_id': {'key': 'deletedSiteId', 'type': 'int'},
'deleted_timestamp': {'key': 'deletedTimestamp', 'type': 'str'},
'subscription': {'key': 'subscription', 'type': 'str'},
'resource_group': {'key': 'resourceGroup', 'type': 'str'},
'deleted_site_name': {'key': 'deletedSiteName', 'type': 'str'},
'slot': {'key': 'slot', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'deleted_site_id': {'key': 'properties.deletedSiteId', 'type': 'int'},
'deleted_timestamp': {'key': 'properties.deletedTimestamp', 'type': 'str'},
'subscription': {'key': 'properties.subscription', 'type': 'str'},
'resource_group': {'key': 'properties.resourceGroup', 'type': 'str'},
'deleted_site_name': {'key': 'properties.deletedSiteName', 'type': 'str'},
'slot': {'key': 'properties.slot', 'type': 'str'},
'deleted_site_kind': {'key': 'properties.kind', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -58,3 +77,4 @@ def __init__(self, **kwargs):
self.resource_group = None
self.deleted_site_name = None
self.slot = None
self.deleted_site_kind = None
40 changes: 30 additions & 10 deletions azure-mgmt-web/azure/mgmt/web/models/deleted_site_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,23 @@
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model
from .proxy_only_resource_py3 import ProxyOnlyResource


class DeletedSite(Model):
class DeletedSite(ProxyOnlyResource):
"""A deleted app.

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

:ivar id: Resource Id.
:vartype id: str
:ivar name: Resource Name.
:vartype name: str
:param kind: Kind of resource.
:type kind: str
:ivar type: Resource type.
:vartype type: str
:ivar deleted_site_id: Numeric id for the deleted site
:vartype deleted_site_id: int
:ivar deleted_timestamp: Time in UTC when the app was deleted.
Expand All @@ -30,31 +38,43 @@ class DeletedSite(Model):
:vartype deleted_site_name: str
:ivar slot: Slot of the deleted site
:vartype slot: str
:ivar deleted_site_kind: Kind of site that was deleted
:vartype deleted_site_kind: str
"""

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'deleted_site_id': {'readonly': True},
'deleted_timestamp': {'readonly': True},
'subscription': {'readonly': True},
'resource_group': {'readonly': True},
'deleted_site_name': {'readonly': True},
'slot': {'readonly': True},
'deleted_site_kind': {'readonly': True},
}

_attribute_map = {
'deleted_site_id': {'key': 'deletedSiteId', 'type': 'int'},
'deleted_timestamp': {'key': 'deletedTimestamp', 'type': 'str'},
'subscription': {'key': 'subscription', 'type': 'str'},
'resource_group': {'key': 'resourceGroup', 'type': 'str'},
'deleted_site_name': {'key': 'deletedSiteName', 'type': 'str'},
'slot': {'key': 'slot', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'deleted_site_id': {'key': 'properties.deletedSiteId', 'type': 'int'},
'deleted_timestamp': {'key': 'properties.deletedTimestamp', 'type': 'str'},
'subscription': {'key': 'properties.subscription', 'type': 'str'},
'resource_group': {'key': 'properties.resourceGroup', 'type': 'str'},
'deleted_site_name': {'key': 'properties.deletedSiteName', 'type': 'str'},
'slot': {'key': 'properties.slot', 'type': 'str'},
'deleted_site_kind': {'key': 'properties.kind', 'type': 'str'},
}

def __init__(self, **kwargs) -> None:
super(DeletedSite, self).__init__(**kwargs)
def __init__(self, *, kind: str=None, **kwargs) -> None:
super(DeletedSite, self).__init__(kind=kind, **kwargs)
self.deleted_site_id = None
self.deleted_timestamp = None
self.subscription = None
self.resource_group = None
self.deleted_site_name = None
self.slot = None
self.deleted_site_kind = None
54 changes: 54 additions & 0 deletions azure-mgmt-web/azure/mgmt/web/models/resource_health_metadata.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# 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 .proxy_only_resource import ProxyOnlyResource


class ResourceHealthMetadata(ProxyOnlyResource):
"""Used for getting ResourceHealthCheck settings.

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

:ivar id: Resource Id.
:vartype id: str
:ivar name: Resource Name.
:vartype name: str
:param kind: Kind of resource.
:type kind: str
:ivar type: Resource type.
:vartype type: str
:param category: The category that the resource matches in the RHC Policy
File
:type category: str
:param signal_availability: Is there a health signal for the resource
:type signal_availability: bool
"""

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

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'category': {'key': 'properties.category', 'type': 'str'},
'signal_availability': {'key': 'properties.signalAvailability', 'type': 'bool'},
}

def __init__(self, **kwargs):
super(ResourceHealthMetadata, self).__init__(**kwargs)
self.category = kwargs.get('category', None)
self.signal_availability = kwargs.get('signal_availability', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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.paging import Paged


class ResourceHealthMetadataPaged(Paged):
"""
A paging container for iterating over a list of :class:`ResourceHealthMetadata <azure.mgmt.web.models.ResourceHealthMetadata>` object
"""

_attribute_map = {
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[ResourceHealthMetadata]'}
}

def __init__(self, *args, **kwargs):

super(ResourceHealthMetadataPaged, self).__init__(*args, **kwargs)
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# 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 .proxy_only_resource_py3 import ProxyOnlyResource


class ResourceHealthMetadata(ProxyOnlyResource):
"""Used for getting ResourceHealthCheck settings.

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

:ivar id: Resource Id.
:vartype id: str
:ivar name: Resource Name.
:vartype name: str
:param kind: Kind of resource.
:type kind: str
:ivar type: Resource type.
:vartype type: str
:param category: The category that the resource matches in the RHC Policy
File
:type category: str
:param signal_availability: Is there a health signal for the resource
:type signal_availability: bool
"""

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

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'category': {'key': 'properties.category', 'type': 'str'},
'signal_availability': {'key': 'properties.signalAvailability', 'type': 'bool'},
}

def __init__(self, *, kind: str=None, category: str=None, signal_availability: bool=None, **kwargs) -> None:
super(ResourceHealthMetadata, self).__init__(kind=kind, **kwargs)
self.category = category
self.signal_availability = signal_availability
2 changes: 2 additions & 0 deletions azure-mgmt-web/azure/mgmt/web/operations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from .web_apps_operations import WebAppsOperations
from .app_service_environments_operations import AppServiceEnvironmentsOperations
from .app_service_plans_operations import AppServicePlansOperations
from .resource_health_metadata_operations import ResourceHealthMetadataOperations

__all__ = [
'AppServiceCertificateOrdersOperations',
Expand All @@ -37,4 +38,5 @@
'WebAppsOperations',
'AppServiceEnvironmentsOperations',
'AppServicePlansOperations',
'ResourceHealthMetadataOperations',
]
Loading