Skip to main content

springbootsites

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

Overview

Namespringbootsites
TypeResource
Idazure_extras.off_azure_springboot.springbootsites

Fields

The following fields are returned by SELECT queries:

Retrieves the springbootsites resource.

NameDatatypeDescription
extendedLocationobjectThe extended location definition.
locationstringThe geo-location where the resource lives
propertiesobjectThe springbootsites resource definition.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, springbootsitesNameGet a springbootsites resource.
list_by_resource_groupselectsubscriptionId, resourceGroupNameList springbootsites resource by resourceGroup.
list_by_subscriptionselectsubscriptionIdList springbootsites resource by subscription
create_or_updateinsertsubscriptionId, resourceGroupName, springbootsitesName, data__locationCreate a springbootsites resource.
updateupdatesubscriptionId, resourceGroupName, springbootsitesNameUpdate a springbootsites resource.
deletedeletesubscriptionId, resourceGroupName, springbootsitesNameDelete a springbootsites resource.
trigger_refresh_siteexecsubscriptionId, resourceGroupName, springbootsitesNameTrigger refresh springbootsites action

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
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
springbootsitesNamestringThe springbootsites name.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Get a springbootsites resource.

SELECT
extendedLocation,
location,
properties,
tags
FROM azure_extras.off_azure_springboot.springbootsites
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND springbootsitesName = '{{ springbootsitesName }}' -- required
;

INSERT examples

Create a springbootsites resource.

INSERT INTO azure_extras.off_azure_springboot.springbootsites (
data__tags,
data__location,
data__properties,
data__extendedLocation,
subscriptionId,
resourceGroupName,
springbootsitesName
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}',
'{{ extendedLocation }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ springbootsitesName }}'
RETURNING
extendedLocation,
location,
properties,
tags
;

UPDATE examples

Update a springbootsites resource.

UPDATE azure_extras.off_azure_springboot.springbootsites
SET
data__tags = '{{ tags }}',
data__location = '{{ location }}',
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND springbootsitesName = '{{ springbootsitesName }}' --required
RETURNING
extendedLocation,
location,
properties,
tags;

DELETE examples

Delete a springbootsites resource.

DELETE FROM azure_extras.off_azure_springboot.springbootsites
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND springbootsitesName = '{{ springbootsitesName }}' --required
;

Lifecycle Methods

Trigger refresh springbootsites action

EXEC azure_extras.off_azure_springboot.springbootsites.trigger_refresh_site 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@springbootsitesName='{{ springbootsitesName }}' --required
;