azure.mgmt.hanaonazure.models module

exception azure.mgmt.hanaonazure.models.ErrorResponseException(deserialize, response, *args)[source]

Bases: msrest.exceptions.HttpOperationError

Server responsed with exception of type: ‘ErrorResponse’.

Parameters:
  • deserialize – A deserializer
  • response – Server response to be deserialized.
class azure.mgmt.hanaonazure.models.Resource(**kwargs)[source]

Bases: msrest.serialization.Model

The resource model definition.

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

Variables:
  • id (str) – Resource ID
  • name (str) – Resource name
  • type (str) – Resource type
  • location (str) – Resource location
  • tags (dict[str, str]) – Resource tags
class azure.mgmt.hanaonazure.models.HardwareProfile(**kwargs)[source]

Bases: msrest.serialization.Model

Specifies the hardware settings for the HANA instance.

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

Variables:
  • hardware_type (str or HanaHardwareTypeNamesEnum) – Name of the hardware type (vendor and/or their product name). Possible values include: ‘Cisco_UCS’, ‘HPE’
  • hana_instance_size (str or HanaInstanceSizeNamesEnum) – Specifies the HANA instance SKU. Possible values include: ‘S72m’, ‘S144m’, ‘S72’, ‘S144’, ‘S192’, ‘S192m’, ‘S192xm’, ‘S384’, ‘S384m’, ‘S384xm’, ‘S384xxm’, ‘S576m’, ‘S576xm’, ‘S768’, ‘S768m’, ‘S768xm’, ‘S960m’
class azure.mgmt.hanaonazure.models.Disk(*, name: str = None, disk_size_gb: int = None, **kwargs)[source]

Bases: msrest.serialization.Model

Specifies the disk information fo the HANA instance.

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

Parameters:
  • name (str) – The disk name.
  • disk_size_gb (int) – Specifies the size of an empty data disk in gigabytes.
Variables:

lun (int) – Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.

class azure.mgmt.hanaonazure.models.StorageProfile(*, os_disks=None, **kwargs)[source]

Bases: msrest.serialization.Model

Specifies the storage settings for the HANA instance disks.

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

Variables:nfs_ip_address (str) – IP Address to connect to storage.
Parameters:os_disks (list[Disk]) – Specifies information about the operating system disk used by the hana instance.
class azure.mgmt.hanaonazure.models.OSProfile(**kwargs)[source]

Bases: msrest.serialization.Model

Specifies the operating system settings for the HANA instance.

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

Variables:
  • computer_name (str) – Specifies the host OS name of the HANA instance.
  • os_type (str) – This property allows you to specify the type of the OS.
  • version (str) – Specifies version of operating system.
class azure.mgmt.hanaonazure.models.IpAddress(**kwargs)[source]

Bases: msrest.serialization.Model

Specifies the IP address of the network interaface.

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

Variables:ip_address (str) – Specifies the IP address of the network interface.
class azure.mgmt.hanaonazure.models.NetworkProfile(*, network_interfaces=None, **kwargs)[source]

Bases: msrest.serialization.Model

Specifies the network settings for the HANA instance disks.

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

Parameters:network_interfaces (list[IpAddress]) – Specifies the network interfaces for the HANA instance.
Variables:circuit_id (str) – Specifies the circuit id for connecting to express route.
class azure.mgmt.hanaonazure.models.HanaInstance(*, hardware_profile=None, storage_profile=None, os_profile=None, network_profile=None, **kwargs)[source]

Bases: azure.mgmt.hanaonazure.models.resource_py3.Resource

HANA instance info on Azure (ARM properties and HANA properties).

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

Variables:
  • id (str) – Resource ID
  • name (str) – Resource name
  • type (str) – Resource type
  • location (str) – Resource location
  • tags (dict[str, str]) – Resource tags
  • hana_instance_id (str) – Specifies the HANA instance unique ID.
  • power_state (str or HanaInstancePowerStateEnum) – Resource power state. Possible values include: ‘starting’, ‘started’, ‘stopping’, ‘stopped’, ‘restarting’, ‘unknown’
Parameters:
  • hardware_profile (HardwareProfile) – Specifies the hardware settings for the HANA instance.
  • storage_profile (StorageProfile) – Specifies the storage settings for the HANA instance disks.
  • os_profile (OSProfile) – Specifies the operating system settings for the HANA instance.
  • network_profile (NetworkProfile) – Specifies the network settings for the HANA instance.
class azure.mgmt.hanaonazure.models.Display(**kwargs)[source]

Bases: msrest.serialization.Model

Detailed HANA operation information.

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

Variables:
  • provider (str) – The localized friendly form of the resource provider name. This form is also expected to include the publisher/company responsible. Use Title Casing. Begin with “Microsoft” for 1st party services.
  • resource (str) – The localized friendly form of the resource type related to this action/operation. This form should match the public documentation for the resource provider. Use Title Casing. For examples, refer to the “name” section.
  • operation (str) – The localized friendly name for the operation as shown to the user. This name should be concise (to fit in drop downs), but clear (self-documenting). Use Title Casing and include the entity/resource to which it applies.
  • description (str) – The localized friendly description for the operation as shown to the user. This description should be thorough, yet concise. It will be used in tool-tips and detailed views.
  • origin (str) – The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. Default value is ‘user,system’
class azure.mgmt.hanaonazure.models.Operation(*, display=None, **kwargs)[source]

Bases: msrest.serialization.Model

HANA operation information.

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

Variables:name (str) – The name of the operation being performed on this particular object. This name should match the action name that appears in RBAC / the event service.
Parameters:display (Display) – Displayed HANA operation information
class azure.mgmt.hanaonazure.models.ErrorResponse(*, code: str = None, message: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Describes the format of Error response.

Parameters:
  • code (str) – Error code
  • message (str) – Error message indicating why the operation failed.
class azure.mgmt.hanaonazure.models.OperationPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Operation object

class azure.mgmt.hanaonazure.models.HanaInstancePaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of HanaInstance object

class azure.mgmt.hanaonazure.models.HanaHardwareTypeNamesEnum[source]

Bases: str, enum.Enum

An enumeration.

cisco_ucs = 'Cisco_UCS'
hpe = 'HPE'
class azure.mgmt.hanaonazure.models.HanaInstanceSizeNamesEnum[source]

Bases: str, enum.Enum

An enumeration.

s144 = 'S144'
s144m = 'S144m'
s192 = 'S192'
s192m = 'S192m'
s192xm = 'S192xm'
s384 = 'S384'
s384m = 'S384m'
s384xm = 'S384xm'
s384xxm = 'S384xxm'
s576m = 'S576m'
s576xm = 'S576xm'
s72 = 'S72'
s72m = 'S72m'
s768 = 'S768'
s768m = 'S768m'
s768xm = 'S768xm'
s960m = 'S960m'
class azure.mgmt.hanaonazure.models.HanaInstancePowerStateEnum[source]

Bases: str, enum.Enum

An enumeration.

restarting = 'restarting'
started = 'started'
starting = 'starting'
stopped = 'stopped'
stopping = 'stopping'
unknown = 'unknown'