HanaInstances class
Class representing a HanaInstances.
Constructors
Hana |
Create a HanaInstances. |
Methods
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<HanaInstancesCreateResponse>
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<HanaInstancesGetResponse>
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
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
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<HanaInstancesListResponse>
Promise<Models.HanaInstancesListResponse>
list(RequestOptionsBase, ServiceCallback<HanaInstancesListResult>)
function list(options: RequestOptionsBase, callback: ServiceCallback<HanaInstancesListResult>)
Parameters
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
list(ServiceCallback<HanaInstancesListResult>)
function list(callback: ServiceCallback<HanaInstancesListResult>)
Parameters
- callback
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
The callback
listByResourceGroup(string, ServiceCallback<HanaInstancesListResult>)
function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<HanaInstancesListResult>)
Parameters
- resourceGroupName
-
string
Name of the resource group.
- callback
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
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
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<HanaInstancesListNextResponse>
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
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
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<HanaInstancesUpdateResponse>
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
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
The callback