HanaInstances class

Class representing a HanaInstances.

Constructors

HanaInstances(HanaManagementClientContext)

Create a HanaInstances.

Methods

beginCreate(string, string, HanaInstance, RequestOptionsBase)

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

beginDeleteMethod(string, string, RequestOptionsBase)

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

beginRestart(string, string, RequestOptionsBase)

The operation to restart a SAP HANA instance.

beginShutdown(string, string, RequestOptionsBase)

The operation to shutdown a SAP HANA instance.

beginStart(string, string, RequestOptionsBase)

The operation to start a SAP HANA instance.

create(string, string, HanaInstance, RequestOptionsBase)

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

deleteMethod(string, string, RequestOptionsBase)

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

get(string, string, RequestOptionsBase)

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

get(string, string, RequestOptionsBase, ServiceCallback<HanaInstance>)
get(string, string, ServiceCallback<HanaInstance>)
list(RequestOptionsBase)

Gets a list of SAP HANA instances in the specified subscription. The operations returns various properties of each SAP HANA on Azure instance.

list(RequestOptionsBase, ServiceCallback<HanaInstancesListResult>)
list(ServiceCallback<HanaInstancesListResult>)
listByResourceGroup(string, RequestOptionsBase)

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.

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<HanaInstancesListResult>)
listByResourceGroup(string, ServiceCallback<HanaInstancesListResult>)
listByResourceGroupNext(string, RequestOptionsBase)

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.

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<HanaInstancesListResult>)
listByResourceGroupNext(string, ServiceCallback<HanaInstancesListResult>)
listNext(string, RequestOptionsBase)

Gets a list of SAP HANA instances in the specified subscription. The operations returns various properties of each SAP HANA on Azure instance.

listNext(string, RequestOptionsBase, ServiceCallback<HanaInstancesListResult>)
listNext(string, ServiceCallback<HanaInstancesListResult>)
restart(string, string, RequestOptionsBase)

The operation to restart a SAP HANA instance.

shutdown(string, string, RequestOptionsBase)

The operation to shutdown a SAP HANA instance.

start(string, string, RequestOptionsBase)

The operation to start a SAP HANA instance.

update(string, string, Tags, RequestOptionsBase)

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

update(string, string, Tags, RequestOptionsBase, ServiceCallback<HanaInstance>)
update(string, string, Tags, ServiceCallback<HanaInstance>)

Constructor Details

HanaInstances(HanaManagementClientContext)

Create a HanaInstances.

new HanaInstances(client: HanaManagementClientContext)

Parameters

client
HanaManagementClientContext

Reference to the service client.

Method Details

beginCreate(string, string, HanaInstance, RequestOptionsBase)

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

function beginCreate(resourceGroupName: string, hanaInstanceName: string, hanaInstanceParameter: HanaInstance, options?: RequestOptionsBase): Promise<LROPoller>

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

hanaInstanceParameter
HanaInstance

Request body representing a HanaInstance

options
RequestOptionsBase

The optional parameters

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

beginDeleteMethod(string, string, RequestOptionsBase)

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

function beginDeleteMethod(resourceGroupName: string, hanaInstanceName: string, options?: RequestOptionsBase): Promise<LROPoller>

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

options
RequestOptionsBase

The optional parameters

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

beginRestart(string, string, RequestOptionsBase)

The operation to restart a SAP HANA instance.

function beginRestart(resourceGroupName: string, hanaInstanceName: string, options?: RequestOptionsBase): Promise<LROPoller>

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

options
RequestOptionsBase

The optional parameters

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

beginShutdown(string, string, RequestOptionsBase)

The operation to shutdown a SAP HANA instance.

function beginShutdown(resourceGroupName: string, hanaInstanceName: string, options?: RequestOptionsBase): Promise<LROPoller>

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

options
RequestOptionsBase

The optional parameters

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

beginStart(string, string, RequestOptionsBase)

The operation to start a SAP HANA instance.

function beginStart(resourceGroupName: string, hanaInstanceName: string, options?: RequestOptionsBase): Promise<LROPoller>

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

options
RequestOptionsBase

The optional parameters

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

create(string, string, HanaInstance, RequestOptionsBase)

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

function create(resourceGroupName: string, hanaInstanceName: string, hanaInstanceParameter: HanaInstance, options?: RequestOptionsBase): Promise<HanaInstancesCreateResponse>

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

hanaInstanceParameter
HanaInstance

Request body representing a HanaInstance

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.HanaInstancesCreateResponse>

deleteMethod(string, string, RequestOptionsBase)

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

function deleteMethod(resourceGroupName: string, hanaInstanceName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

get(string, string, RequestOptionsBase)

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

function get(resourceGroupName: string, hanaInstanceName: string, options?: RequestOptionsBase): Promise<HanaInstancesGetResponse>

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.HanaInstancesGetResponse>

get(string, string, RequestOptionsBase, ServiceCallback<HanaInstance>)

function get(resourceGroupName: string, hanaInstanceName: string, options: RequestOptionsBase, callback: ServiceCallback<HanaInstance>)

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<HanaInstance>

The callback

get(string, string, ServiceCallback<HanaInstance>)

function get(resourceGroupName: string, hanaInstanceName: string, callback: ServiceCallback<HanaInstance>)

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

callback

ServiceCallback<HanaInstance>

The callback

list(RequestOptionsBase)

Gets a list of SAP HANA instances in the specified subscription. The operations returns various properties of each SAP HANA on Azure instance.

function list(options?: RequestOptionsBase): Promise<HanaInstancesListResponse>

Parameters

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.HanaInstancesListResponse>

list(RequestOptionsBase, ServiceCallback<HanaInstancesListResult>)

function list(options: RequestOptionsBase, callback: ServiceCallback<HanaInstancesListResult>)

Parameters

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<HanaInstancesListResult>

The callback

list(ServiceCallback<HanaInstancesListResult>)

function list(callback: ServiceCallback<HanaInstancesListResult>)

Parameters

callback

ServiceCallback<HanaInstancesListResult>

The callback

listByResourceGroup(string, RequestOptionsBase)

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.

function listByResourceGroup(resourceGroupName: string, options?: RequestOptionsBase): Promise<HanaInstancesListByResourceGroupResponse>

Parameters

resourceGroupName

string

Name of the resource group.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.HanaInstancesListByResourceGroupResponse>

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<HanaInstancesListResult>)

function listByResourceGroup(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<HanaInstancesListResult>)

Parameters

resourceGroupName

string

Name of the resource group.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<HanaInstancesListResult>

The callback

listByResourceGroup(string, ServiceCallback<HanaInstancesListResult>)

function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<HanaInstancesListResult>)

Parameters

resourceGroupName

string

Name of the resource group.

callback

ServiceCallback<HanaInstancesListResult>

The callback

listByResourceGroupNext(string, RequestOptionsBase)

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.

function listByResourceGroupNext(nextPageLink: string, options?: RequestOptionsBase): Promise<HanaInstancesListByResourceGroupNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.HanaInstancesListByResourceGroupNextResponse>

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<HanaInstancesListResult>)

function listByResourceGroupNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<HanaInstancesListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<HanaInstancesListResult>

The callback

listByResourceGroupNext(string, ServiceCallback<HanaInstancesListResult>)

function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<HanaInstancesListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<HanaInstancesListResult>

The callback

listNext(string, RequestOptionsBase)

Gets a list of SAP HANA instances in the specified subscription. The operations returns various properties of each SAP HANA on Azure instance.

function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<HanaInstancesListNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.HanaInstancesListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<HanaInstancesListResult>)

function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<HanaInstancesListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<HanaInstancesListResult>

The callback

listNext(string, ServiceCallback<HanaInstancesListResult>)

function listNext(nextPageLink: string, callback: ServiceCallback<HanaInstancesListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<HanaInstancesListResult>

The callback

restart(string, string, RequestOptionsBase)

The operation to restart a SAP HANA instance.

function restart(resourceGroupName: string, hanaInstanceName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

shutdown(string, string, RequestOptionsBase)

The operation to shutdown a SAP HANA instance.

function shutdown(resourceGroupName: string, hanaInstanceName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

start(string, string, RequestOptionsBase)

The operation to start a SAP HANA instance.

function start(resourceGroupName: string, hanaInstanceName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

update(string, string, Tags, RequestOptionsBase)

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

function update(resourceGroupName: string, hanaInstanceName: string, tagsParameter: Tags, options?: RequestOptionsBase): Promise<HanaInstancesUpdateResponse>

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

tagsParameter
Tags

Request body that only contains the new Tags field

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.HanaInstancesUpdateResponse>

update(string, string, Tags, RequestOptionsBase, ServiceCallback<HanaInstance>)

function update(resourceGroupName: string, hanaInstanceName: string, tagsParameter: Tags, options: RequestOptionsBase, callback: ServiceCallback<HanaInstance>)

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

tagsParameter
Tags

Request body that only contains the new Tags field

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<HanaInstance>

The callback

update(string, string, Tags, ServiceCallback<HanaInstance>)

function update(resourceGroupName: string, hanaInstanceName: string, tagsParameter: Tags, callback: ServiceCallback<HanaInstance>)

Parameters

resourceGroupName

string

Name of the resource group.

hanaInstanceName

string

Name of the SAP HANA on Azure instance.

tagsParameter
Tags

Request body that only contains the new Tags field

callback

ServiceCallback<HanaInstance>

The callback