azure.mgmt.hanaonazure.models module

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

Bases: azure.mgmt.hanaonazure._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(*, error: Optional[_models.ErrorResponseError] = None, **kwargs)[source]

Bases: azure.mgmt.hanaonazure._serialization.Model

Describes the format of Error response.

Variables

error (ErrorResponseError) – Describes the error object.

Keyword Arguments

error (ErrorResponseError) – Describes the error object.

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

Bases: azure.mgmt.hanaonazure._serialization.Model

Describes the error object.

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

Variables
  • code (str) – Error code.

  • message (str) – Error message indicating why the operation failed.

class azure.mgmt.hanaonazure.models.HanaProvisioningStatesEnum(value)[source]

Bases: str, enum.Enum

State of provisioning of the HanaInstance.

ACCEPTED = 'Accepted'
CREATING = 'Creating'
DELETING = 'Deleting'
FAILED = 'Failed'
MIGRATING = 'Migrating'
SUCCEEDED = 'Succeeded'
UPDATING = 'Updating'
class azure.mgmt.hanaonazure.models.Operation(*, display: Optional[_models.Display] = None, **kwargs)[source]

Bases: azure.mgmt.hanaonazure._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.

  • display (Display) – Displayed HANA operation information.

Keyword Arguments

display (Display) – Displayed HANA operation information.

class azure.mgmt.hanaonazure.models.OperationList(*, value: Optional[List[_models.Operation]] = None, **kwargs)[source]

Bases: azure.mgmt.hanaonazure._serialization.Model

List of HANA operations.

Variables

value (list[Operation]) – List of HANA operations.

Keyword Arguments

value (list[Operation]) – List of HANA operations.

class azure.mgmt.hanaonazure.models.ProviderInstance(*, type_properties_type: Optional[str] = None, properties: Optional[str] = None, metadata: Optional[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/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • type_properties_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.

  • provisioning_state (str or HanaProvisioningStatesEnum) – State of provisioning of the provider instance. Known values are: “Accepted”, “Creating”, “Updating”, “Failed”, “Succeeded”, “Deleting”, and “Migrating”.

Keyword Arguments
  • type_properties_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.ProviderInstanceListResult(*, value: Optional[List[_models.ProviderInstance]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.hanaonazure._serialization.Model

The response from the List provider instances operation.

Variables
  • value (list[ProviderInstance]) – The list of provider instances.

  • next_link (str) – The URL to get the next set of provider instances.

Keyword Arguments
  • value (list[ProviderInstance]) – The list of provider instances.

  • next_link (str) – The URL to get the next set of provider instances.

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

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

The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location.

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/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

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

Bases: azure.mgmt.hanaonazure._serialization.Model

Common fields that are returned in the response for all Azure Resource Manager 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/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

class azure.mgmt.hanaonazure.models.SapMonitor(*, location: str, tags: Optional[Dict[str, str]] = None, log_analytics_workspace_arm_id: Optional[str] = None, enable_customer_analytics: Optional[bool] = None, log_analytics_workspace_id: Optional[str] = None, log_analytics_workspace_shared_key: Optional[str] = None, monitor_subnet: Optional[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.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

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

  • location (str) – The geo-location where the resource lives. Required.

  • provisioning_state (str or HanaProvisioningStatesEnum) – State of provisioning of the HanaInstance. Known values are: “Accepted”, “Creating”, “Updating”, “Failed”, “Succeeded”, “Deleting”, and “Migrating”.

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

  • 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.

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

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

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

  • location (str) – The geo-location where the resource lives. Required.

  • 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.SapMonitorListResult(*, value: Optional[List[_models.SapMonitor]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.hanaonazure._serialization.Model

The response from the List SAP monitors operation.

Variables
  • value (list[SapMonitor]) – The list of SAP monitors.

  • next_link (str) – The URL to get the next set of SAP monitors.

Keyword Arguments
  • value (list[SapMonitor]) – The list of SAP monitors.

  • next_link (str) – The URL to get the next set of SAP monitors.

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

Bases: azure.mgmt.hanaonazure._serialization.Model

Tags field of the resource.

Variables

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

Keyword Arguments

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

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

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

The resource model definition for an Azure Resource Manager tracked top level resource which has ‘tags’ and a ‘location’.

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

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

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

  • location (str) – The geo-location where the resource lives. Required.

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

  • location (str) – The geo-location where the resource lives. Required.