Skip to main content

sap_central_server_instances

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

Overview

Namesap_central_server_instances
TypeResource
Idazure_isv.workloadssapvirtualinstance.sap_central_server_instances

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
enqueueReplicationServerPropertiesobjectDefines the SAP Enqueue Replication Server (ERS) properties.
enqueueServerPropertiesobjectDefines the SAP Enqueue Server properties.
errorsobjectDefines the errors related to SAP Central Services Instance resource.
gatewayServerPropertiesobjectDefines the SAP Gateway Server properties.
healthstringDefines the health of SAP Instances. Known values are: "Unknown", "Healthy", "Unhealthy", and "Degraded". (Unknown, Healthy, Unhealthy, Degraded)
instanceNostringThe central services instance number.
kernelPatchstringThe central services instance Kernel Patch level.
kernelVersionstringThe central services instance Kernel Version.
loadBalancerDetailsobjectThe Load Balancer details such as LoadBalancer ID attached to ASCS Virtual Machines.
locationstringThe geo-location where the resource lives. Required.
messageServerPropertiesobjectDefines the SAP message server properties.
provisioningStatestringDefines the provisioning states. Known values are: "Succeeded", "Updating", "Creating", "Failed", "Deleting", and "Canceled". (Succeeded, Updating, Creating, Failed, Deleting, Canceled)
statusstringDefines the SAP Instance status. Known values are: "Starting", "Running", "Stopping", "Offline", "PartiallyRunning", "Unavailable", and "SoftShutdown". (Starting, Running, Stopping, Offline, PartiallyRunning, Unavailable, SoftShutdown)
subnetstringThe central services instance subnet.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
vmDetailsarrayThe list of virtual machines corresponding to the Central Services instance.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, sap_virtual_instance_name, central_instance_name, subscription_idGets the SAP Central Services Instance resource.
listselectresource_group_name, sap_virtual_instance_name, subscription_idLists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource.
createinsertresource_group_name, sap_virtual_instance_name, central_instance_name, subscription_id, locationCreates the SAP Central Services Instance resource. <br />``<br />This will be used by service only. PUT operation on this resource by end user will return a Bad Request error.
updateupdateresource_group_name, sap_virtual_instance_name, central_instance_name, subscription_idUpdates the SAP Central Services Instance resource. <br />``<br />This can be used to update tags on the resource.
deletedeleteresource_group_name, sap_virtual_instance_name, central_instance_name, subscription_idDeletes the SAP Central Services Instance resource. <br />``<br />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.
startexecresource_group_name, sap_virtual_instance_name, central_instance_name, subscription_idStarts the SAP Central Services Instance.
stopexecresource_group_name, sap_virtual_instance_name, central_instance_name, subscription_idStops the SAP Central Services Instance.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
central_instance_namestringCentral Services Instance resource name string modeled as parameter for auto generation to work correctly. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
sap_virtual_instance_namestringThe name of the Virtual Instances for SAP solutions resource. Required.
subscription_idstring

SELECT examples

Gets the SAP Central Services Instance resource.

SELECT
id,
name,
enqueueReplicationServerProperties,
enqueueServerProperties,
errors,
gatewayServerProperties,
health,
instanceNo,
kernelPatch,
kernelVersion,
loadBalancerDetails,
location,
messageServerProperties,
provisioningState,
status,
subnet,
systemData,
tags,
type,
vmDetails
FROM azure_isv.workloadssapvirtualinstance.sap_central_server_instances
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND sap_virtual_instance_name = '{{ sap_virtual_instance_name }}' -- required
AND central_instance_name = '{{ central_instance_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates the SAP Central Services Instance resource. <br />``<br />This will be used by service only. PUT operation on this resource by end user will return a Bad Request error.

INSERT INTO azure_isv.workloadssapvirtualinstance.sap_central_server_instances (
tags,
location,
properties,
resource_group_name,
sap_virtual_instance_name,
central_instance_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}',
'{{ resource_group_name }}',
'{{ sap_virtual_instance_name }}',
'{{ central_instance_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Updates the SAP Central Services Instance resource. <br />``<br />This can be used to update tags on the resource.

UPDATE azure_isv.workloadssapvirtualinstance.sap_central_server_instances
SET
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND sap_virtual_instance_name = '{{ sap_virtual_instance_name }}' --required
AND central_instance_name = '{{ central_instance_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

DELETE examples

Deletes the SAP Central Services Instance resource. <br />``<br />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.

DELETE FROM azure_isv.workloadssapvirtualinstance.sap_central_server_instances
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND sap_virtual_instance_name = '{{ sap_virtual_instance_name }}' --required
AND central_instance_name = '{{ central_instance_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Starts the SAP Central Services Instance.

EXEC azure_isv.workloadssapvirtualinstance.sap_central_server_instances.start 
@resource_group_name='{{ resource_group_name }}' --required,
@sap_virtual_instance_name='{{ sap_virtual_instance_name }}' --required,
@central_instance_name='{{ central_instance_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"startVm": {{ startVm }}
}'
;