azure.mgmt.hanaonazure.operations module

class azure.mgmt.hanaonazure.operations.Operations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through HanaManagementClient’s operations attribute.

list(**kwargs: Any)Iterable[azure.mgmt.hanaonazure.models._models_py3.Operation][source]

Gets a list of SAP HANA management operations.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

An iterator like instance of either Operation or the result of cls(response)

Return type

ItemPaged[Operation]

Raises

HttpResponseError

models = <module 'azure.mgmt.hanaonazure.models' from '/mnt/vss/_work/1/s/sdk/hanaonazure/azure-mgmt-hanaonazure/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/hanaonazure/models/__init__.py'>
class azure.mgmt.hanaonazure.operations.ProviderInstancesOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through HanaManagementClient’s provider_instances attribute.

begin_create(resource_group_name: str, sap_monitor_name: str, provider_instance_name: str, provider_instance_parameter: _models.ProviderInstance, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.ProviderInstance][source]
begin_create(resource_group_name: str, sap_monitor_name: str, provider_instance_name: str, provider_instance_parameter: IO, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.ProviderInstance]

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

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

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

  • provider_instance_parameter (ProviderInstance or IO) – Request body representing a provider instance. Is either a model type or a IO type. Required.

Keyword Arguments
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • cls (callable) – A custom type or function that will be passed the direct response

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either ProviderInstance or the result of cls(response)

Return type

LROPoller[ProviderInstance]

Raises

HttpResponseError

begin_delete(resource_group_name: str, sap_monitor_name: str, provider_instance_name: str, **kwargs: Any)azure.core.polling._poller.LROPoller[None][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. Required.

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

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

Keyword Arguments
  • cls (callable) – A custom type or function that will be passed the direct response

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either None or the result of cls(response)

Return type

LROPoller[None]

Raises

HttpResponseError

get(resource_group_name: str, sap_monitor_name: str, provider_instance_name: str, **kwargs: Any)azure.mgmt.hanaonazure.models._models_py3.ProviderInstance[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. Required.

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

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

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

ProviderInstance or the result of cls(response)

Return type

ProviderInstance

Raises

HttpResponseError

list(resource_group_name: str, sap_monitor_name: str, **kwargs: Any)Iterable[azure.mgmt.hanaonazure.models._models_py3.ProviderInstance][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. Required.

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

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

An iterator like instance of either ProviderInstance or the result of cls(response)

Return type

ItemPaged[ProviderInstance]

Raises

HttpResponseError

models = <module 'azure.mgmt.hanaonazure.models' from '/mnt/vss/_work/1/s/sdk/hanaonazure/azure-mgmt-hanaonazure/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/hanaonazure/models/__init__.py'>
class azure.mgmt.hanaonazure.operations.SapMonitorsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through HanaManagementClient’s sap_monitors attribute.

begin_create(resource_group_name: str, sap_monitor_name: str, sap_monitor_parameter: _models.SapMonitor, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.SapMonitor][source]
begin_create(resource_group_name: str, sap_monitor_name: str, sap_monitor_parameter: IO, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.SapMonitor]

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

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

  • sap_monitor_parameter (SapMonitor or IO) – Request body representing a SAP Monitor. Is either a model type or a IO type. Required.

Keyword Arguments
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • cls (callable) – A custom type or function that will be passed the direct response

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either SapMonitor or the result of cls(response)

Return type

LROPoller[SapMonitor]

Raises

HttpResponseError

begin_delete(resource_group_name: str, sap_monitor_name: str, **kwargs: Any)azure.core.polling._poller.LROPoller[None][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. Required.

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

Keyword Arguments
  • cls (callable) – A custom type or function that will be passed the direct response

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either None or the result of cls(response)

Return type

LROPoller[None]

Raises

HttpResponseError

get(resource_group_name: str, sap_monitor_name: str, **kwargs: Any)azure.mgmt.hanaonazure.models._models_py3.SapMonitor[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. Required.

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

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

SapMonitor or the result of cls(response)

Return type

SapMonitor

Raises

HttpResponseError

list(**kwargs: Any)Iterable[azure.mgmt.hanaonazure.models._models_py3.SapMonitor][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.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

An iterator like instance of either SapMonitor or the result of cls(response)

Return type

ItemPaged[SapMonitor]

Raises

HttpResponseError

update(resource_group_name: str, sap_monitor_name: str, tags_parameter: _models.Tags, *, content_type: str = "'application/json'", **kwargs: Any)_models.SapMonitor[source]
update(resource_group_name: str, sap_monitor_name: str, tags_parameter: IO, *, content_type: str = "'application/json'", **kwargs: Any)_models.SapMonitor

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

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

  • tags_parameter (Tags or IO) – Request body that only contains the new Tags field. Is either a model type or a IO type. Required.

Keyword Arguments
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • cls (callable) – A custom type or function that will be passed the direct response

Returns

SapMonitor or the result of cls(response)

Return type

SapMonitor

Raises

HttpResponseError

models = <module 'azure.mgmt.hanaonazure.models' from '/mnt/vss/_work/1/s/sdk/hanaonazure/azure-mgmt-hanaonazure/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/hanaonazure/models/__init__.py'>