azure.mgmt.hanaonazure.operations module

class azure.mgmt.hanaonazure.operations.Operations(client, config, serializer, deserializer)[source]

Bases: object

Operations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Client API version. Constant value: “2020-02-07-preview”.

list(custom_headers=None, raw=False, **operation_config)[source]

Gets a list of SAP HANA management operations.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of Operation

Return type

OperationPaged[Operation]

Raises

ErrorResponseException

models = <module 'azure.mgmt.hanaonazure.models' from '/home/vsts/work/1/s/sdk/hanaonazure/azure-mgmt-hanaonazure/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/hanaonazure/models/__init__.py'>
class azure.mgmt.hanaonazure.operations.SapMonitorsOperations(client, config, serializer, deserializer)[source]

Bases: object

SapMonitorsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Client API version. Constant value: “2020-02-07-preview”.

create(resource_group_name, sap_monitor_name, sap_monitor_parameter, custom_headers=None, raw=False, polling=True, **operation_config)[source]

Creates a SAP monitor.

Creates a SAP monitor for the specified subscription, resource group, and resource name.

Parameters
  • resource_group_name (str) – Name of the resource group.

  • sap_monitor_name (str) – Name of the SAP monitor resource.

  • sap_monitor_parameter (SapMonitor) – Request body representing a SAP Monitor

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns SapMonitor or ClientRawResponse<SapMonitor> if raw==True

Return type

AzureOperationPoller[SapMonitor] or AzureOperationPoller[ClientRawResponse[SapMonitor]]

Raises

ErrorResponseException

delete(resource_group_name, sap_monitor_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]

Deletes a SAP monitor.

Deletes a SAP monitor with the specified subscription, resource group, and monitor name.

Parameters
  • resource_group_name (str) – Name of the resource group.

  • sap_monitor_name (str) – Name of the SAP monitor resource.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True

Return type

AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]

Raises

ErrorResponseException

get(resource_group_name, sap_monitor_name, custom_headers=None, raw=False, **operation_config)[source]

Gets properties of a SAP monitor.

Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.

Parameters
  • resource_group_name (str) – Name of the resource group.

  • sap_monitor_name (str) – Name of the SAP monitor resource.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

SapMonitor or ClientRawResponse if raw=true

Return type

SapMonitor or ClientRawResponse

Raises

ErrorResponseException

list(custom_headers=None, raw=False, **operation_config)[source]

Gets a list of SAP monitors in the specified subscription.

Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of SapMonitor

Return type

SapMonitorPaged[SapMonitor]

Raises

ErrorResponseException

update(resource_group_name, sap_monitor_name, tags=None, custom_headers=None, raw=False, **operation_config)[source]

Patches the Tags field of a SAP monitor.

Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name.

Parameters
  • resource_group_name (str) – Name of the resource group.

  • sap_monitor_name (str) – Name of the SAP monitor resource.

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

SapMonitor or ClientRawResponse if raw=true

Return type

SapMonitor or ClientRawResponse

Raises

ErrorResponseException

models = <module 'azure.mgmt.hanaonazure.models' from '/home/vsts/work/1/s/sdk/hanaonazure/azure-mgmt-hanaonazure/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/hanaonazure/models/__init__.py'>
class azure.mgmt.hanaonazure.operations.ProviderInstancesOperations(client, config, serializer, deserializer)[source]

Bases: object

ProviderInstancesOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Client API version. Constant value: “2020-02-07-preview”.

create(resource_group_name, sap_monitor_name, provider_instance_name, provider_instance_parameter, custom_headers=None, raw=False, polling=True, **operation_config)[source]

Creates a provider instance.

Creates a provider instance for the specified subscription, resource group, SapMonitor name, and resource name.

Parameters
  • resource_group_name (str) – Name of the resource group.

  • sap_monitor_name (str) – Name of the SAP monitor resource.

  • provider_instance_name (str) – Name of the provider instance.

  • provider_instance_parameter (ProviderInstance) – Request body representing a provider instance

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns ProviderInstance or ClientRawResponse<ProviderInstance> if raw==True

Return type

AzureOperationPoller[ProviderInstance] or AzureOperationPoller[ClientRawResponse[ProviderInstance]]

Raises

ErrorResponseException

delete(resource_group_name, sap_monitor_name, provider_instance_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]

Deletes a provider instance.

Deletes a provider instance for the specified subscription, resource group, SapMonitor name, and resource name.

Parameters
  • resource_group_name (str) – Name of the resource group.

  • sap_monitor_name (str) – Name of the SAP monitor resource.

  • provider_instance_name (str) – Name of the provider instance.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True

Return type

AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]

Raises

ErrorResponseException

get(resource_group_name, sap_monitor_name, provider_instance_name, custom_headers=None, raw=False, **operation_config)[source]

Gets properties of a provider instance.

Gets properties of a provider instance for the specified subscription, resource group, SapMonitor name, and resource name.

Parameters
  • resource_group_name (str) – Name of the resource group.

  • sap_monitor_name (str) – Name of the SAP monitor resource.

  • provider_instance_name (str) – Name of the provider instance.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

ProviderInstance or ClientRawResponse if raw=true

Return type

ProviderInstance or ClientRawResponse

Raises

ErrorResponseException

list(resource_group_name, sap_monitor_name, custom_headers=None, raw=False, **operation_config)[source]

Gets a list of provider instances in the specified SAP monitor.

Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances.

Parameters
  • resource_group_name (str) – Name of the resource group.

  • sap_monitor_name (str) – Name of the SAP monitor resource.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of ProviderInstance

Return type

ProviderInstancePaged[ProviderInstance]

Raises

ErrorResponseException

models = <module 'azure.mgmt.hanaonazure.models' from '/home/vsts/work/1/s/sdk/hanaonazure/azure-mgmt-hanaonazure/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/hanaonazure/models/__init__.py'>