-
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] hanaonazure/resource-manager (#4725)
* [AutoPR hanaonazure/resource-manager] [Hub Generated] Review request for Microsoft.HanaOnAzure to add version 2017-11-03-preview (#4673) * Generated from 92fad58f912382b44669e53ffca8431095245aed Added to the monitoring examples file * Packaging update of azure-mgmt-hanaonazure * Generated from 63387d3bf8b494abaa639cbfab1265a161c02195 Fixing copy-pasta issue * Generated from 034e18b310f183e5369dd257d36a1ea40a9e5546 Adding monitoring fields to hanaonazure.json * Generated from 688cc869f214b2a425d55885b4d93249917246fd Adding monitoring fields to hanaonazure.json * Generated from 0106ae19b0c74b848b5d12db6034690be430759a Adding monitoring fields to hanaonazure.json * Packaging update of azure-mgmt-hanaonazure * updated versioning and change log * Generated from f96fc02af1b1c2e4192e3ab6080f83e778bcdf3f (#4862) Fixing the parameters because they should not be readonly * Generated from a2fd1bdd9003acdbe77080a379efed2461665d89 (#4872) Fixing operation id to be named consistently * Update version.py * Update HISTORY.rst
- Loading branch information
1 parent
dfbc340
commit 92293a4
Showing
9 changed files
with
230 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
recursive-include tests *.py *.yaml | ||
include *.rst | ||
include azure/__init__.py | ||
include azure/mgmt/__init__.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
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
60 changes: 60 additions & 0 deletions
60
azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/monitoring_details.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,60 @@ | ||
# 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 MonitoringDetails(Model): | ||
"""Details needed to monitor a Hana Instance. | ||
:param hana_vnet: ARM ID of an Azure Vnet with access to the HANA | ||
instance. | ||
:type hana_vnet: str | ||
:param hana_hostname: Hostname of the HANA Instance blade. | ||
:type hana_hostname: str | ||
:param hana_instance_num: A number between 00 and 99, stored as a string | ||
to maintain leading zero. | ||
:type hana_instance_num: str | ||
:param db_container: Either single or multiple depending on the use of | ||
MDC(Multiple Database Containers). Possible values include: 'single', | ||
'multiple'. Default value: "single" . | ||
:type db_container: str or | ||
~azure.mgmt.hanaonazure.models.HanaDatabaseContainersEnum | ||
:param hana_database: Name of the database itself. It only needs to be | ||
specified if using MDC | ||
:type hana_database: str | ||
:param hana_db_username: Username for the HANA database to login to for | ||
monitoring | ||
:type hana_db_username: str | ||
:param hana_db_password: Password for the HANA database to login for | ||
monitoring | ||
:type hana_db_password: str | ||
""" | ||
|
||
_attribute_map = { | ||
'hana_vnet': {'key': 'hanaVnet', 'type': 'str'}, | ||
'hana_hostname': {'key': 'hanaHostname', 'type': 'str'}, | ||
'hana_instance_num': {'key': 'hanaInstanceNum', 'type': 'str'}, | ||
'db_container': {'key': 'dbContainer', 'type': 'str'}, | ||
'hana_database': {'key': 'hanaDatabase', 'type': 'str'}, | ||
'hana_db_username': {'key': 'hanaDbUsername', 'type': 'str'}, | ||
'hana_db_password': {'key': 'hanaDbPassword', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(MonitoringDetails, self).__init__(**kwargs) | ||
self.hana_vnet = kwargs.get('hana_vnet', None) | ||
self.hana_hostname = kwargs.get('hana_hostname', None) | ||
self.hana_instance_num = kwargs.get('hana_instance_num', None) | ||
self.db_container = kwargs.get('db_container', "single") | ||
self.hana_database = kwargs.get('hana_database', None) | ||
self.hana_db_username = kwargs.get('hana_db_username', None) | ||
self.hana_db_password = kwargs.get('hana_db_password', None) |
60 changes: 60 additions & 0 deletions
60
azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/monitoring_details_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,60 @@ | ||
# 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 MonitoringDetails(Model): | ||
"""Details needed to monitor a Hana Instance. | ||
:param hana_vnet: ARM ID of an Azure Vnet with access to the HANA | ||
instance. | ||
:type hana_vnet: str | ||
:param hana_hostname: Hostname of the HANA Instance blade. | ||
:type hana_hostname: str | ||
:param hana_instance_num: A number between 00 and 99, stored as a string | ||
to maintain leading zero. | ||
:type hana_instance_num: str | ||
:param db_container: Either single or multiple depending on the use of | ||
MDC(Multiple Database Containers). Possible values include: 'single', | ||
'multiple'. Default value: "single" . | ||
:type db_container: str or | ||
~azure.mgmt.hanaonazure.models.HanaDatabaseContainersEnum | ||
:param hana_database: Name of the database itself. It only needs to be | ||
specified if using MDC | ||
:type hana_database: str | ||
:param hana_db_username: Username for the HANA database to login to for | ||
monitoring | ||
:type hana_db_username: str | ||
:param hana_db_password: Password for the HANA database to login for | ||
monitoring | ||
:type hana_db_password: str | ||
""" | ||
|
||
_attribute_map = { | ||
'hana_vnet': {'key': 'hanaVnet', 'type': 'str'}, | ||
'hana_hostname': {'key': 'hanaHostname', 'type': 'str'}, | ||
'hana_instance_num': {'key': 'hanaInstanceNum', 'type': 'str'}, | ||
'db_container': {'key': 'dbContainer', 'type': 'str'}, | ||
'hana_database': {'key': 'hanaDatabase', 'type': 'str'}, | ||
'hana_db_username': {'key': 'hanaDbUsername', 'type': 'str'}, | ||
'hana_db_password': {'key': 'hanaDbPassword', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, hana_vnet: str=None, hana_hostname: str=None, hana_instance_num: str=None, db_container="single", hana_database: str=None, hana_db_username: str=None, hana_db_password: str=None, **kwargs) -> None: | ||
super(MonitoringDetails, self).__init__(**kwargs) | ||
self.hana_vnet = hana_vnet | ||
self.hana_hostname = hana_hostname | ||
self.hana_instance_num = hana_instance_num | ||
self.db_container = db_container | ||
self.hana_database = hana_database | ||
self.hana_db_username = hana_db_username | ||
self.hana_db_password = hana_db_password |
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