Skip to main content

springbootapps

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

Overview

Namespringbootapps
TypeResource
Idazure_extras.spring_app_discovery.springbootapps

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
appNamestringThe name of SpringBootApp.
appPortintegerThe application port.
appTypestringThe application type, whether it is a SpringBoot app.
applicationConfigurationsarrayThe application configuration file list.
artifactNamestringThe artifact name of SpringBootApp.
bindingPortsarrayThe application binding port list.
buildJdkVersionstringThe jdk version in build.
certificatesarrayThe certificate file list.
checksumstringThe checksum of jar file.
connectionStringsarrayThe connection string list.
dependenciesarrayThe dependency list.
environmentsarrayThe environment variable list.
errorsarrayThe list of errors.
instanceCountintegerThe total instance count the app deployed.
instancesarrayThe breakdown info for app instances on all the servers.
jarFileLocationstringThe jar file location on the server.
jvmMemoryInMBintegerThe jvm heap memory allocated.
jvmOptionsarrayThe jvm options.
lastModifiedTimestring (date-time)Time when this springbootapps jar file was last modified.
lastUpdatedTimestring (date-time)Time when this springbootapps instance was last refreshed.
machineArmIdsarrayThe machine ARM id list the app belongs to.
miscsarrayThe other types of date collected.
provisioningStatestringThe resource provisioning state. Known values are: "Unknown", "Succeeded", "Failed", "Canceled", "Accepted", "Provisioning", and "Deleting".
runtimeJdkVersionstringThe jdk version installed on server.
serversarrayThe server list the app installed.
siteNamestringThe site name.
springBootVersionstringThe spring boot version.
staticContentLocationsarrayThe static content location list.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, site_name, springbootapps_name, subscription_idGet a springbootapps resource.
list_by_resource_groupselectresource_group_name, site_name, subscription_idList springbootapps resource by resourceGroup.
list_by_subscriptionselectsite_name, subscription_idList springbootapps resource by subscription.
updateupdateresource_group_name, site_name, springbootapps_name, subscription_idUpdate a springbootapps resource.

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
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
site_namestringThe springbootsites name. Required.
springbootapps_namestringThe springbootapps name. Required.
subscription_idstring

SELECT examples

Get a springbootapps resource.

SELECT
id,
name,
appName,
appPort,
appType,
applicationConfigurations,
artifactName,
bindingPorts,
buildJdkVersion,
certificates,
checksum,
connectionStrings,
dependencies,
environments,
errors,
instanceCount,
instances,
jarFileLocation,
jvmMemoryInMB,
jvmOptions,
lastModifiedTime,
lastUpdatedTime,
machineArmIds,
miscs,
provisioningState,
runtimeJdkVersion,
servers,
siteName,
springBootVersion,
staticContentLocations,
systemData,
tags,
type
FROM azure_extras.spring_app_discovery.springbootapps
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND site_name = '{{ site_name }}' -- required
AND springbootapps_name = '{{ springbootapps_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

UPDATE examples

Update a springbootapps resource.

UPDATE azure_extras.spring_app_discovery.springbootapps
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND site_name = '{{ site_name }}' --required
AND springbootapps_name = '{{ springbootapps_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
tags,
type;