springbootservers
Creates, updates, deletes, gets or lists a springbootservers
resource.
Overview
Name | springbootservers |
Type | Resource |
Id | azure_extras.off_azure_springboot.springbootservers |
Fields
- vw_springbootservers
- springbootservers
Name | Datatype | Description |
---|---|---|
errors | text | field from the properties object |
fqdn_and_ip_address_list | text | field from the properties object |
labels | text | field from the properties object |
machine_arm_id | text | field from the properties object |
port | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
server | text | field from the properties object |
siteName | text | field from the properties object |
spring_boot_apps | text | field from the properties object |
springbootserversName | text | field from the properties object |
subscriptionId | text | field from the properties object |
total_apps | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The springbootservers resource definition. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, siteName, springbootserversName, subscriptionId | List springbootservers resource. |
list_by_resource_group | SELECT | resourceGroupName, siteName, subscriptionId | List springbootservers resource by resourceGroup |
list_by_subscription | SELECT | siteName, subscriptionId | List springbootservers resource by subscription |
create_or_update | INSERT | resourceGroupName, siteName, springbootserversName, subscriptionId | Create springbootservers resource. |
delete | DELETE | resourceGroupName, siteName, springbootserversName, subscriptionId | Delete springbootservers resource. |
update | UPDATE | resourceGroupName, siteName, springbootserversName, subscriptionId | Update springbootservers resource. |
SELECT
examples
List springbootservers resource by subscription
- vw_springbootservers
- springbootservers
SELECT
errors,
fqdn_and_ip_address_list,
labels,
machine_arm_id,
port,
provisioning_state,
resourceGroupName,
server,
siteName,
spring_boot_apps,
springbootserversName,
subscriptionId,
total_apps
FROM azure_extras.off_azure_springboot.vw_springbootservers
WHERE siteName = '{{ siteName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure_extras.off_azure_springboot.springbootservers
WHERE siteName = '{{ siteName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new springbootservers
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.off_azure_springboot.springbootservers (
resourceGroupName,
siteName,
springbootserversName,
subscriptionId,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ siteName }}',
'{{ springbootserversName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: port
value: integer
- name: server
value: string
- name: fqdnAndIpAddressList
value:
- string
- name: machineArmId
value: string
- name: totalApps
value: integer
- name: springBootApps
value: integer
- name: errors
value:
- - name: id
value: integer
- name: code
value: string
- name: summaryMessage
value: string
- name: runAsAccountId
value: string
- name: message
value: string
- name: possibleCauses
value: string
- name: recommendedAction
value: string
- name: severity
value: string
- name: updatedTimeStamp
value: string
- name: provisioningState
value: string
- name: labels
value: object
UPDATE
example
Updates a springbootservers
resource.
/*+ update */
UPDATE azure_extras.off_azure_springboot.springbootservers
SET
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND siteName = '{{ siteName }}'
AND springbootserversName = '{{ springbootserversName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified springbootservers
resource.
/*+ delete */
DELETE FROM azure_extras.off_azure_springboot.springbootservers
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND siteName = '{{ siteName }}'
AND springbootserversName = '{{ springbootserversName }}'
AND subscriptionId = '{{ subscriptionId }}';