Skip to main content

sap_central_instances

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

Overview

Namesap_central_instances
TypeResource
Idazure_isv.sap_workloads.sap_central_instances

Fields

NameDatatypeDescription
centralInstanceNametextfield from the properties object
enqueue_replication_server_propertiestextfield from the properties object
enqueue_server_propertiestextfield from the properties object
errorstextfield from the properties object
gateway_server_propertiestextfield from the properties object
healthtextfield from the properties object
instance_notextfield 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
message_server_propertiestextfield from the properties object
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
getSELECTcentralInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionIdGets the SAP Central Services Instance resource.
listSELECTresourceGroupName, sapVirtualInstanceName, subscriptionIdLists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource.
createINSERTcentralInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionIdCreates the SAP Central Services Instance resource. This will be used by service only. PUT operation on this resource by end user will return a Bad Request error.
deleteDELETEcentralInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionIdDeletes the SAP Central Services Instance resource. This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the Virtual Instance for SAP solutions resource, using the delete operation on it.
updateUPDATEcentralInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionIdUpdates the SAP Central Services Instance resource. This can be used to update tags on the resource.
start_instanceEXECcentralInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionIdStarts the SAP Central Services Instance.
stop_instanceEXECcentralInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionIdStops the SAP Central Services Instance.

SELECT examples

Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource.

SELECT
centralInstanceName,
enqueue_replication_server_properties,
enqueue_server_properties,
errors,
gateway_server_properties,
health,
instance_no,
kernel_patch,
kernel_version,
load_balancer_details,
location,
message_server_properties,
provisioning_state,
resourceGroupName,
sapVirtualInstanceName,
status,
subnet,
subscriptionId,
tags,
vm_details
FROM azure_isv.sap_workloads.vw_sap_central_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_central_instances resource.

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

UPDATE example

Updates a sap_central_instances resource.

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

DELETE example

Deletes the specified sap_central_instances resource.

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