-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
1 parent
204f4e4
commit 155a4c4
Showing
9 changed files
with
665 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
azure-mgmt-web/azure/mgmt/web/models/resource_health_metadata.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
27 changes: 27 additions & 0 deletions
27
azure-mgmt-web/azure/mgmt/web/models/resource_health_metadata_paged.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
54 changes: 54 additions & 0 deletions
54
azure-mgmt-web/azure/mgmt/web/models/resource_health_metadata_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.