Skip to main content

sap_application_server_instances

Creates, updates, deletes, gets or lists a sap_application_server_instances resource.

Overview

Namesap_application_server_instances
TypeResource
Idazure_isv.sap_workloads.sap_application_server_instances

Fields

NameDatatypeDescription
applicationInstanceNametextfield from the properties object
errorstextfield from the properties object
gateway_porttextfield from the properties object
healthtextfield from the properties object
hostnametextfield from the properties object
icm_http_porttextfield from the properties object
icm_https_porttextfield from the properties object
instance_notextfield from the properties object
ip_addresstextfield from the properties object
kernel_patchtextfield from the properties object
kernel_versiontextfield from the properties object
load_balancer_detailstextfield from the properties object
locationtextThe geo-location where the resource lives
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
sapVirtualInstanceNametextfield from the properties object
statustextfield from the properties object
subnettextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
vm_detailstextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionIdGets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.
listSELECTresourceGroupName, sapVirtualInstanceName, subscriptionIdLists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource.
createINSERTapplicationInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionIdPuts the SAP Application Server Instance resource. This will be used by service only. PUT by end user will return a Bad Request error.
deleteDELETEapplicationInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionIdDeletes the SAP Application Server Instance resource. This operation will be used by service only. Delete by end user will return a Bad Request error.
updateUPDATEapplicationInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionIdPuts the SAP Application Server Instance resource.
start_instanceEXECapplicationInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionIdStarts the SAP Application Server Instance.
stop_instanceEXECapplicationInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionIdStops the SAP Application Server Instance.

SELECT examples

Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource.

SELECT
applicationInstanceName,
errors,
gateway_port,
health,
hostname,
icm_http_port,
icm_https_port,
instance_no,
ip_address,
kernel_patch,
kernel_version,
load_balancer_details,
location,
provisioning_state,
resourceGroupName,
sapVirtualInstanceName,
status,
subnet,
subscriptionId,
tags,
vm_details
FROM azure_isv.sap_workloads.vw_sap_application_server_instances
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND sapVirtualInstanceName = '{{ sapVirtualInstanceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new sap_application_server_instances resource.

/*+ create */
INSERT INTO azure_isv.sap_workloads.sap_application_server_instances (
applicationInstanceName,
resourceGroupName,
sapVirtualInstanceName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ applicationInstanceName }}',
'{{ resourceGroupName }}',
'{{ sapVirtualInstanceName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;

UPDATE example

Updates a sap_application_server_instances resource.

/*+ update */
UPDATE azure_isv.sap_workloads.sap_application_server_instances
SET
tags = '{{ tags }}'
WHERE
applicationInstanceName = '{{ applicationInstanceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND sapVirtualInstanceName = '{{ sapVirtualInstanceName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified sap_application_server_instances resource.

/*+ delete */
DELETE FROM azure_isv.sap_workloads.sap_application_server_instances
WHERE applicationInstanceName = '{{ applicationInstanceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND sapVirtualInstanceName = '{{ sapVirtualInstanceName }}'
AND subscriptionId = '{{ subscriptionId }}';