springbootsites
Creates, updates, deletes, gets or lists a springbootsites
resource.
Overview
Name | springbootsites |
Type | Resource |
Id | azure_extras.off_azure_springboot.springbootsites |
Fields
- vw_springbootsites
- springbootsites
Name | Datatype | Description |
---|---|---|
extended_location | text | field from the properties object |
location | text | The geo-location where the resource lives |
master_site_id | text | field from the properties object |
migrate_project_id | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
springbootsitesName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
extendedLocation | object | The extended location definition. |
location | string | The geo-location where the resource lives |
properties | object | The springbootsites resource definition. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, springbootsitesName, subscriptionId | Get a springbootsites resource. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List springbootsites resource by resourceGroup. |
list_by_subscription | SELECT | subscriptionId | List springbootsites resource by subscription |
create_or_update | INSERT | resourceGroupName, springbootsitesName, subscriptionId, data__location | Create a springbootsites resource. |
delete | DELETE | resourceGroupName, springbootsitesName, subscriptionId | Delete a springbootsites resource. |
update | UPDATE | resourceGroupName, springbootsitesName, subscriptionId | Update a springbootsites resource. |
trigger_refresh_site | EXEC | resourceGroupName, springbootsitesName, subscriptionId | Trigger refresh springbootsites action |
SELECT
examples
List springbootsites resource by subscription
- vw_springbootsites
- springbootsites
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 }}';
SELECT
extendedLocation,
location,
properties,
tags
FROM azure_extras.off_azure_springboot.springbootsites
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new springbootsites
resource.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: masterSiteId
value: string
- name: migrateProjectId
value: string
- name: provisioningState
value: string
- name: extendedLocation
value:
- name: type
value: string
- name: name
value: string
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 }}';