Skip to main content

springbootsites

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

Overview

Namespringbootsites
TypeResource
Idazure_extras.off_azure_springboot.springbootsites

Fields

NameDatatypeDescription
extended_locationtextfield from the properties object
locationtextThe geo-location where the resource lives
master_site_idtextfield from the properties object
migrate_project_idtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
springbootsitesNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, springbootsitesName, subscriptionIdGet a springbootsites resource.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList springbootsites resource by resourceGroup.
list_by_subscriptionSELECTsubscriptionIdList springbootsites resource by subscription
create_or_updateINSERTresourceGroupName, springbootsitesName, subscriptionId, data__locationCreate a springbootsites resource.
deleteDELETEresourceGroupName, springbootsitesName, subscriptionIdDelete a springbootsites resource.
updateUPDATEresourceGroupName, springbootsitesName, subscriptionIdUpdate a springbootsites resource.
trigger_refresh_siteEXECresourceGroupName, springbootsitesName, subscriptionIdTrigger refresh springbootsites action

SELECT examples

List springbootsites resource by subscription

SELECT
extended_location,
location,
master_site_id,
migrate_project_id,
provisioning_state,
resourceGroupName,
springbootsitesName,
subscriptionId,
tags
FROM azure_extras.off_azure_springboot.vw_springbootsites
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_extras.off_azure_springboot.springbootsites (
resourceGroupName,
springbootsitesName,
subscriptionId,
data__location,
tags,
location,
properties,
extendedLocation
)
SELECT
'{{ resourceGroupName }}',
'{{ springbootsitesName }}',
'{{ subscriptionId }}',
'{{ data__location }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}',
'{{ extendedLocation }}'
;

UPDATE example

Updates a springbootsites resource.

/*+ update */
UPDATE azure_extras.off_azure_springboot.springbootsites
SET
tags = '{{ tags }}',
location = '{{ location }}',
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND springbootsitesName = '{{ springbootsitesName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified springbootsites resource.

/*+ delete */
DELETE FROM azure_extras.off_azure_springboot.springbootsites
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND springbootsitesName = '{{ springbootsitesName }}'
AND subscriptionId = '{{ subscriptionId }}';