Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release-for-hanaonazure-mgmt #11441

Merged
merged 3 commits into from
May 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
23 changes: 23 additions & 0 deletions sdk/hanaonazure/azure-mgmt-hanaonazure/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Release History

## 0.14.0 (2020-05-14)

**Features**

- Model SapMonitor has a new parameter sap_monitor_collector_version
- Model SapMonitor has a new parameter monitor_subnet
- Added operation group ProviderInstancesOperations

**Breaking changes**

- Model Resource no longer has parameter tags
- Model Resource no longer has parameter location
- Model SapMonitor no longer has parameter key_vault_id
- Model SapMonitor no longer has parameter hana_db_password_key_vault_url
- Model SapMonitor no longer has parameter hana_db_name
- Model SapMonitor no longer has parameter hana_db_credentials_msi_id
- Model SapMonitor no longer has parameter hana_hostname
- Model SapMonitor no longer has parameter hana_db_username
- Model SapMonitor no longer has parameter hana_db_password
- Model SapMonitor no longer has parameter hana_subnet
- Model SapMonitor no longer has parameter hana_db_sql_port
- Removed operation group HanaInstancesOperations

## 0.13.0 (2020-02-13)

**Features**
Expand Down
2 changes: 1 addition & 1 deletion sdk/hanaonazure/azure-mgmt-hanaonazure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is the Microsoft Azure SAP Hana on Azure Management Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see the [Github repo](https://github.com/Azure/azure-sdk-for-python/sdk)
For a more complete view of Azure libraries, see the [Github repo](https://github.com/Azure/azure-sdk-for-python/)


# Usage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

from ._configuration import HanaManagementClientConfiguration
from .operations import Operations
from .operations import HanaInstancesOperations
from .operations import SapMonitorsOperations
from .operations import ProviderInstancesOperations
from . import models


Expand All @@ -27,10 +27,10 @@ class HanaManagementClient(SDKClient):

:ivar operations: Operations operations
:vartype operations: azure.mgmt.hanaonazure.operations.Operations
:ivar hana_instances: HanaInstances operations
:vartype hana_instances: azure.mgmt.hanaonazure.operations.HanaInstancesOperations
:ivar sap_monitors: SapMonitors operations
:vartype sap_monitors: azure.mgmt.hanaonazure.operations.SapMonitorsOperations
:ivar provider_instances: ProviderInstances operations
:vartype provider_instances: azure.mgmt.hanaonazure.operations.ProviderInstancesOperations

:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -49,13 +49,13 @@ def __init__(
super(HanaManagementClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2017-11-03-preview'
self.api_version = '2020-02-07-preview'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.hana_instances = HanaInstancesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.sap_monitors = SapMonitorsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.provider_instances = ProviderInstancesOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -10,65 +10,44 @@
# --------------------------------------------------------------------------

try:
from ._models_py3 import Disk
from ._models_py3 import Display
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import HanaInstance
from ._models_py3 import HardwareProfile
from ._models_py3 import IpAddress
from ._models_py3 import MonitoringDetails
from ._models_py3 import NetworkProfile
from ._models_py3 import Operation
from ._models_py3 import OSProfile
from ._models_py3 import ProviderInstance
from ._models_py3 import ProxyResource
from ._models_py3 import Resource
from ._models_py3 import SapMonitor
from ._models_py3 import StorageProfile
from ._models_py3 import Tags
from ._models_py3 import TrackedResource
except (SyntaxError, ImportError):
from ._models import Disk
from ._models import Display
from ._models import ErrorResponse, ErrorResponseException
from ._models import HanaInstance
from ._models import HardwareProfile
from ._models import IpAddress
from ._models import MonitoringDetails
from ._models import NetworkProfile
from ._models import Operation
from ._models import OSProfile
from ._models import ProviderInstance
from ._models import ProxyResource
from ._models import Resource
from ._models import SapMonitor
from ._models import StorageProfile
from ._models import Tags
from ._paged_models import HanaInstancePaged
from ._models import TrackedResource
from ._paged_models import OperationPaged
from ._paged_models import ProviderInstancePaged
from ._paged_models import SapMonitorPaged
from ._hana_management_client_enums import (
HanaHardwareTypeNamesEnum,
HanaInstanceSizeNamesEnum,
HanaInstancePowerStateEnum,
HanaProvisioningStatesEnum,
)

__all__ = [
'Disk',
'Display',
'ErrorResponse', 'ErrorResponseException',
'HanaInstance',
'HardwareProfile',
'IpAddress',
'MonitoringDetails',
'NetworkProfile',
'Operation',
'OSProfile',
'ProviderInstance',
'ProxyResource',
'Resource',
'SapMonitor',
'StorageProfile',
'Tags',
'TrackedResource',
'OperationPaged',
'HanaInstancePaged',
'SapMonitorPaged',
'HanaHardwareTypeNamesEnum',
'HanaInstanceSizeNamesEnum',
'HanaInstancePowerStateEnum',
'ProviderInstancePaged',
'HanaProvisioningStatesEnum',
]
Original file line number Diff line number Diff line change
Expand Up @@ -12,69 +12,6 @@
from enum import Enum


class HanaHardwareTypeNamesEnum(str, Enum):

cisco_ucs = "Cisco_UCS"
hpe = "HPE"


class HanaInstanceSizeNamesEnum(str, Enum):

s72m = "S72m"
s144m = "S144m"
s72 = "S72"
s144 = "S144"
s192 = "S192"
s192m = "S192m"
s192xm = "S192xm"
s96 = "S96"
s112 = "S112"
s224 = "S224"
s224m = "S224m"
s224om = "S224om"
s224oo = "S224oo"
s224oom = "S224oom"
s224ooo = "S224ooo"
s384 = "S384"
s384m = "S384m"
s384xm = "S384xm"
s384xxm = "S384xxm"
s448 = "S448"
s448m = "S448m"
s448om = "S448om"
s448oo = "S448oo"
s448oom = "S448oom"
s448ooo = "S448ooo"
s576m = "S576m"
s576xm = "S576xm"
s672 = "S672"
s672m = "S672m"
s672om = "S672om"
s672oo = "S672oo"
s672oom = "S672oom"
s672ooo = "S672ooo"
s768 = "S768"
s768m = "S768m"
s768xm = "S768xm"
s896 = "S896"
s896m = "S896m"
s896om = "S896om"
s896oo = "S896oo"
s896oom = "S896oom"
s896ooo = "S896ooo"
s960m = "S960m"


class HanaInstancePowerStateEnum(str, Enum):

starting = "starting"
started = "started"
stopping = "stopping"
stopped = "stopped"
restarting = "restarting"
unknown = "unknown"


class HanaProvisioningStatesEnum(str, Enum):

accepted = "Accepted"
Expand Down
Loading