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: “2017-11-03-preview”.
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ Gets a list of SAP HANA management operations.
- Parameters
- Returns
An iterator like instance of Operation
- Return type
- Raises
-
models
= <module 'azure.mgmt.hanaonazure.models' from '/usr/lib/python3/dist-packages/azure/mgmt/hanaonazure/models/__init__.py'>¶
-
class
azure.mgmt.hanaonazure.operations.
HanaInstancesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
HanaInstancesOperations 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: “2017-11-03-preview”.
-
create
(resource_group_name, hana_instance_name, hana_instance_parameter, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates a SAP HANA instance.
Creates a SAP HANA instance for the specified subscription, resource group, and instance name.
- Parameters
resource_group_name (str) – Name of the resource group.
hana_instance_name (str) – Name of the SAP HANA on Azure instance.
hana_instance_parameter (HanaInstance) – Request body representing a HanaInstance
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 HanaInstance or ClientRawResponse<HanaInstance> if raw==True
- Return type
AzureOperationPoller[HanaInstance] or AzureOperationPoller[ClientRawResponse[HanaInstance]]
- Raises
-
delete
(resource_group_name, hana_instance_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes a SAP HANA instance.
Deletes a SAP HANA instance with the specified subscription, resource group, and instance name.
- Parameters
resource_group_name (str) – Name of the resource group.
hana_instance_name (str) – Name of the SAP HANA on Azure 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
-
get
(resource_group_name, hana_instance_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets properties of a SAP HANA instance.
Gets properties of a SAP HANA instance for the specified subscription, resource group, and instance name.
- Parameters
resource_group_name (str) – Name of the resource group.
hana_instance_name (str) – Name of the SAP HANA on Azure instance.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
HanaInstance or ClientRawResponse if raw=true
- Return type
HanaInstance or ClientRawResponse
- Raises
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ Gets a list of SAP HANA instances in the specified subscription.
Gets a list of SAP HANA instances in the specified subscription. The operations returns various properties of each SAP HANA on Azure instance.
- Parameters
- Returns
An iterator like instance of HanaInstance
- Return type
- Raises
-
list_by_resource_group
(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a list of SAP HANA instances in the specified subscription and the resource group.
Gets a list of SAP HANA instances in the specified subscription and the resource group. The operations returns various properties of each SAP HANA on Azure instance.
- Parameters
- Returns
An iterator like instance of HanaInstance
- Return type
- Raises
-
restart
(resource_group_name, hana_instance_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ The operation to restart a SAP HANA instance.
- Parameters
resource_group_name (str) – Name of the resource group.
hana_instance_name (str) – Name of the SAP HANA on Azure 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
-
shutdown
(resource_group_name, hana_instance_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ The operation to shutdown a SAP HANA instance.
- Parameters
resource_group_name (str) – Name of the resource group.
hana_instance_name (str) – Name of the SAP HANA on Azure 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
-
start
(resource_group_name, hana_instance_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ The operation to start a SAP HANA instance.
- Parameters
resource_group_name (str) – Name of the resource group.
hana_instance_name (str) – Name of the SAP HANA on Azure 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
-
update
(resource_group_name, hana_instance_name, tags=None, custom_headers=None, raw=False, **operation_config)[source]¶ Patches the Tags field of a SAP HANA instance.
Patches the Tags field of a SAP HANA instance for the specified subscription, resource group, and instance name.
- Parameters
resource_group_name (str) – Name of the resource group.
hana_instance_name (str) – Name of the SAP HANA on Azure instance.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
HanaInstance or ClientRawResponse if raw=true
- Return type
HanaInstance or ClientRawResponse
- Raises
-
models
= <module 'azure.mgmt.hanaonazure.models' from '/usr/lib/python3/dist-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: “2017-11-03-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
-
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
-
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_config – Operation configuration overrides.
- Returns
SapMonitor or ClientRawResponse if raw=true
- Return type
SapMonitor or ClientRawResponse
- Raises
-
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
- Returns
An iterator like instance of SapMonitor
- Return type
- Raises
-
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.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
SapMonitor or ClientRawResponse if raw=true
- Return type
SapMonitor or ClientRawResponse
- Raises
-
models
= <module 'azure.mgmt.hanaonazure.models' from '/usr/lib/python3/dist-packages/azure/mgmt/hanaonazure/models/__init__.py'>¶