sap_application_server_instances
Creates, updates, deletes, gets or lists a sap_application_server_instances
resource.
Overview
Name | sap_application_server_instances |
Type | Resource |
Id | azure_isv.sap_workloads.sap_application_server_instances |
Fields
- vw_sap_application_server_instances
- sap_application_server_instances
Name | Datatype | Description |
---|---|---|
applicationInstanceName | text | field from the properties object |
errors | text | field from the properties object |
gateway_port | text | field from the properties object |
health | text | field from the properties object |
hostname | text | field from the properties object |
icm_http_port | text | field from the properties object |
icm_https_port | text | field from the properties object |
instance_no | text | field from the properties object |
ip_address | text | field from the properties object |
kernel_patch | text | field from the properties object |
kernel_version | text | field from the properties object |
load_balancer_details | text | field from the properties object |
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
sapVirtualInstanceName | text | field from the properties object |
status | text | field from the properties object |
subnet | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
vm_details | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Defines the SAP Application Server instance properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | applicationInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionId | Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource. |
list | SELECT | resourceGroupName, sapVirtualInstanceName, subscriptionId | Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource. |
create | INSERT | applicationInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionId | Puts the SAP Application Server Instance resource. This will be used by service only. PUT by end user will return a Bad Request error. |
delete | DELETE | applicationInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionId | Deletes the SAP Application Server Instance resource. This operation will be used by service only. Delete by end user will return a Bad Request error. |
update | UPDATE | applicationInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionId | Puts the SAP Application Server Instance resource. |
start_instance | EXEC | applicationInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionId | Starts the SAP Application Server Instance. |
stop_instance | EXEC | applicationInstanceName, resourceGroupName, sapVirtualInstanceName, subscriptionId | Stops the SAP Application Server Instance. |
SELECT
examples
Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource.
- vw_sap_application_server_instances
- sap_application_server_instances
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 }}';
SELECT
location,
properties,
tags
FROM azure_isv.sap_workloads.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: instanceNo
value: string
- name: subnet
value: string
- name: hostname
value: string
- name: kernelVersion
value: string
- name: kernelPatch
value: string
- name: ipAddress
value: string
- name: gatewayPort
value: integer
- name: icmHttpPort
value: integer
- name: icmHttpsPort
value: integer
- name: loadBalancerDetails
value:
- name: id
value: string
- name: vmDetails
value:
- - name: type
value: []
- name: virtualMachineId
value: string
- name: storageDetails
value:
- - name: id
value: string
- name: status
value: []
- name: health
value: []
- name: provisioningState
value: []
- name: errors
value:
- name: properties
value:
- name: code
value: string
- name: message
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: details
value:
- []
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 }}';