HanaInstancesClient Interface

public interface HanaInstancesClient

An instance of this class provides access to all the operations defined in HanaInstancesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<HanaInstanceInner>,HanaInstanceInner> beginCreate(String resourceGroupName, String hanaInstanceName, HanaInstanceInner hanaInstanceParameter)

Creates a SAP HANA instance.

abstract SyncPoller<PollResult<HanaInstanceInner>,HanaInstanceInner> beginCreate(String resourceGroupName, String hanaInstanceName, HanaInstanceInner hanaInstanceParameter, Context context)

Creates a SAP HANA instance.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String hanaInstanceName)

Deletes a SAP HANA instance.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String hanaInstanceName, Context context)

Deletes a SAP HANA instance.

abstract SyncPoller<PollResult<Void>,Void> beginRestart(String resourceGroupName, String hanaInstanceName)

The operation to restart a SAP HANA instance.

abstract SyncPoller<PollResult<Void>,Void> beginRestart(String resourceGroupName, String hanaInstanceName, Context context)

The operation to restart a SAP HANA instance.

abstract SyncPoller<PollResult<Void>,Void> beginShutdown(String resourceGroupName, String hanaInstanceName)

The operation to shutdown a SAP HANA instance.

abstract SyncPoller<PollResult<Void>,Void> beginShutdown(String resourceGroupName, String hanaInstanceName, Context context)

The operation to shutdown a SAP HANA instance.

abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String hanaInstanceName)

The operation to start a SAP HANA instance.

abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String hanaInstanceName, Context context)

The operation to start a SAP HANA instance.

abstract HanaInstanceInner create(String resourceGroupName, String hanaInstanceName, HanaInstanceInner hanaInstanceParameter)

Creates a SAP HANA instance.

abstract HanaInstanceInner create(String resourceGroupName, String hanaInstanceName, HanaInstanceInner hanaInstanceParameter, Context context)

Creates a SAP HANA instance.

abstract void delete(String resourceGroupName, String hanaInstanceName)

Deletes a SAP HANA instance.

abstract void delete(String resourceGroupName, String hanaInstanceName, Context context)

Deletes a SAP HANA instance.

abstract HanaInstanceInner getByResourceGroup(String resourceGroupName, String hanaInstanceName)

Gets properties of a SAP HANA instance.

abstract Response<HanaInstanceInner> getByResourceGroupWithResponse(String resourceGroupName, String hanaInstanceName, Context context)

Gets properties of a SAP HANA instance.

abstract PagedIterable<HanaInstanceInner> list()

Gets a list of SAP HANA instances in the specified subscription.

abstract PagedIterable<HanaInstanceInner> list(Context context)

Gets a list of SAP HANA instances in the specified subscription.

abstract PagedIterable<HanaInstanceInner> listByResourceGroup(String resourceGroupName)

Gets a list of SAP HANA instances in the specified subscription and the resource group.

abstract PagedIterable<HanaInstanceInner> listByResourceGroup(String resourceGroupName, Context context)

Gets a list of SAP HANA instances in the specified subscription and the resource group.

abstract void restart(String resourceGroupName, String hanaInstanceName)

The operation to restart a SAP HANA instance.

abstract void restart(String resourceGroupName, String hanaInstanceName, Context context)

The operation to restart a SAP HANA instance.

abstract void shutdown(String resourceGroupName, String hanaInstanceName)

The operation to shutdown a SAP HANA instance.

abstract void shutdown(String resourceGroupName, String hanaInstanceName, Context context)

The operation to shutdown a SAP HANA instance.

abstract void start(String resourceGroupName, String hanaInstanceName)

The operation to start a SAP HANA instance.

abstract void start(String resourceGroupName, String hanaInstanceName, Context context)

The operation to start a SAP HANA instance.

abstract HanaInstanceInner update(String resourceGroupName, String hanaInstanceName, Tags tagsParameter)

Patches the Tags field of a SAP HANA instance.

abstract Response<HanaInstanceInner> updateWithResponse(String resourceGroupName, String hanaInstanceName, Tags tagsParameter, Context context)

Patches the Tags field of a SAP HANA instance.

Method Details

beginCreate

public abstract SyncPoller<>,HanaInstanceInner> beginCreate(String resourceGroupName, String hanaInstanceName, HanaInstanceInner hanaInstanceParameter)

Creates a SAP HANA instance.

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

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
hanaInstanceParameter - Request body representing a HanaInstance.

Returns:

the SyncPoller<T,U> for polling of hANA instance info on Azure (ARM properties and HANA properties).

beginCreate

public abstract SyncPoller<>,HanaInstanceInner> beginCreate(String resourceGroupName, String hanaInstanceName, HanaInstanceInner hanaInstanceParameter, Context context)

Creates a SAP HANA instance.

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

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
hanaInstanceParameter - Request body representing a HanaInstance.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of hANA instance info on Azure (ARM properties and HANA properties).

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String hanaInstanceName)

Deletes a SAP HANA instance.

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

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String hanaInstanceName, Context context)

Deletes a SAP HANA instance.

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

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRestart

public abstract SyncPoller<>,Void> beginRestart(String resourceGroupName, String hanaInstanceName)

The operation to restart a SAP HANA instance.

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRestart

public abstract SyncPoller<>,Void> beginRestart(String resourceGroupName, String hanaInstanceName, Context context)

The operation to restart a SAP HANA instance.

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginShutdown

public abstract SyncPoller<>,Void> beginShutdown(String resourceGroupName, String hanaInstanceName)

The operation to shutdown a SAP HANA instance.

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginShutdown

public abstract SyncPoller<>,Void> beginShutdown(String resourceGroupName, String hanaInstanceName, Context context)

The operation to shutdown a SAP HANA instance.

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStart

public abstract SyncPoller<>,Void> beginStart(String resourceGroupName, String hanaInstanceName)

The operation to start a SAP HANA instance.

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStart

public abstract SyncPoller<>,Void> beginStart(String resourceGroupName, String hanaInstanceName, Context context)

The operation to start a SAP HANA instance.

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

create

public abstract HanaInstanceInner create(String resourceGroupName, String hanaInstanceName, HanaInstanceInner hanaInstanceParameter)

Creates a SAP HANA instance.

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

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
hanaInstanceParameter - Request body representing a HanaInstance.

Returns:

hANA instance info on Azure (ARM properties and HANA properties).

create

public abstract HanaInstanceInner create(String resourceGroupName, String hanaInstanceName, HanaInstanceInner hanaInstanceParameter, Context context)

Creates a SAP HANA instance.

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

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
hanaInstanceParameter - Request body representing a HanaInstance.
context - The context to associate with this operation.

Returns:

hANA instance info on Azure (ARM properties and HANA properties).

delete

public abstract void delete(String resourceGroupName, String hanaInstanceName)

Deletes a SAP HANA instance.

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

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.

delete

public abstract void delete(String resourceGroupName, String hanaInstanceName, Context context)

Deletes a SAP HANA instance.

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

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
context - The context to associate with this operation.

getByResourceGroup

public abstract HanaInstanceInner getByResourceGroup(String resourceGroupName, String hanaInstanceName)

Gets properties of a SAP HANA instance.

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

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.

Returns:

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

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String hanaInstanceName, Context context)

Gets properties of a SAP HANA instance.

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

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
context - The context to associate with this operation.

Returns:

properties of a SAP HANA instance for the specified subscription, resource group, and instance name along with Response<T>.

list

public abstract PagedIterable list()

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.

Returns:

a list of SAP HANA instances in the specified subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

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:

context - The context to associate with this operation.

Returns:

a list of SAP HANA instances in the specified subscription as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

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:

resourceGroupName - Name of the resource group.

Returns:

a list of SAP HANA instances in the specified subscription and the resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

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:

resourceGroupName - Name of the resource group.
context - The context to associate with this operation.

Returns:

a list of SAP HANA instances in the specified subscription and the resource group as paginated response with PagedIterable<T>.

restart

public abstract void restart(String resourceGroupName, String hanaInstanceName)

The operation to restart a SAP HANA instance.

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.

restart

public abstract void restart(String resourceGroupName, String hanaInstanceName, Context context)

The operation to restart a SAP HANA instance.

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
context - The context to associate with this operation.

shutdown

public abstract void shutdown(String resourceGroupName, String hanaInstanceName)

The operation to shutdown a SAP HANA instance.

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.

shutdown

public abstract void shutdown(String resourceGroupName, String hanaInstanceName, Context context)

The operation to shutdown a SAP HANA instance.

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
context - The context to associate with this operation.

start

public abstract void start(String resourceGroupName, String hanaInstanceName)

The operation to start a SAP HANA instance.

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.

start

public abstract void start(String resourceGroupName, String hanaInstanceName, Context context)

The operation to start a SAP HANA instance.

Parameters:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
context - The context to associate with this operation.

update

public abstract HanaInstanceInner update(String resourceGroupName, String hanaInstanceName, Tags tagsParameter)

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:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
tagsParameter - Request body that only contains the new Tags field.

Returns:

hANA instance info on Azure (ARM properties and HANA properties).

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String hanaInstanceName, Tags tagsParameter, Context context)

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:

resourceGroupName - Name of the resource group.
hanaInstanceName - Name of the SAP HANA on Azure instance.
tagsParameter - Request body that only contains the new Tags field.
context - The context to associate with this operation.

Returns:

hANA instance info on Azure (ARM properties and HANA properties) along with Response<T>.

Applies to