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.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.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.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.ProviderInstance(*, provider_instance_type: str = None, properties: str = None, metadata: str = None, **kwargs)[source]

Bases: azure.mgmt.hanaonazure.models._models_py3.ProxyResource

A provider instance associated with a SAP monitor.

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

Variables
  • id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.

  • provisioning_state (str or HanaProvisioningStatesEnum) – State of provisioning of the provider instance. Possible values include: ‘Accepted’, ‘Creating’, ‘Updating’, ‘Failed’, ‘Succeeded’, ‘Deleting’, ‘Migrating’

Parameters
  • provider_instance_type (str) – The type of provider instance.

  • properties (str) – A JSON string containing the properties of the provider instance.

  • metadata (str) – A JSON string containing metadata of the provider instance.

class azure.mgmt.hanaonazure.models.ProxyResource(**kwargs)[source]

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

The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.

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

Variables
  • id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.

class azure.mgmt.hanaonazure.models.Resource(**kwargs)[source]

Bases: msrest.serialization.Model

The core properties of ARM resources.

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

Variables
  • id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.

class azure.mgmt.hanaonazure.models.SapMonitor(*, tags=None, location: str = None, log_analytics_workspace_arm_id: str = None, enable_customer_analytics: bool = None, log_analytics_workspace_id: str = None, log_analytics_workspace_shared_key: str = None, monitor_subnet: str = None, **kwargs)[source]

Bases: azure.mgmt.hanaonazure.models._models_py3.TrackedResource

SAP monitor info on Azure (ARM properties and SAP monitor properties).

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

Variables
  • id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.

  • provisioning_state (str or HanaProvisioningStatesEnum) – State of provisioning of the HanaInstance. Possible values include: ‘Accepted’, ‘Creating’, ‘Updating’, ‘Failed’, ‘Succeeded’, ‘Deleting’, ‘Migrating’

  • managed_resource_group_name (str) – The name of the resource group the SAP Monitor resources get deployed into.

  • sap_monitor_collector_version (str) – The version of the payload running in the Collector VM

Parameters
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The Azure Region where the resource lives

  • log_analytics_workspace_arm_id (str) – The ARM ID of the Log Analytics Workspace that is used for monitoring

  • enable_customer_analytics (bool) – The value indicating whether to send analytics to Microsoft

  • log_analytics_workspace_id (str) – The workspace ID of the log analytics workspace to be used for monitoring

  • log_analytics_workspace_shared_key (str) – The shared key of the log analytics workspace that is used for monitoring

  • monitor_subnet (str) – The subnet which the SAP monitor will be deployed in

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

Bases: msrest.serialization.Model

Tags field of the resource.

Parameters

tags (dict[str, str]) – Tags field of the resource.

class azure.mgmt.hanaonazure.models.TrackedResource(*, tags=None, location: str = None, **kwargs)[source]

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

The resource model definition for a ARM tracked top level resource.

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

Variables
  • id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.

Parameters
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The Azure Region where the resource lives

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

Bases: msrest.paging.Paged

A paging container for iterating over a list of Operation object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

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

Bases: msrest.paging.Paged

A paging container for iterating over a list of SapMonitor object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

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

Bases: msrest.paging.Paged

A paging container for iterating over a list of ProviderInstance object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

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

Bases: str, enum.Enum

An enumeration.

accepted = 'Accepted'
creating = 'Creating'
deleting = 'Deleting'
failed = 'Failed'
migrating = 'Migrating'
succeeded = 'Succeeded'
updating = 'Updating'