Skip to main content

configuration_services

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

Overview

Nameconfiguration_services
TypeResource
Idazure.spring_apps.configuration_services

Fields

NameDatatypeDescription
configurationServiceNametextfield from the properties object
generationtextfield from the properties object
instancestextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resource_requeststextfield from the properties object
serviceNametextfield from the properties object
settingstextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTconfigurationServiceName, resourceGroupName, serviceName, subscriptionIdGet the Application Configuration Service and its properties.
listSELECTresourceGroupName, serviceName, subscriptionIdHandles requests to list all resources in a Service.
create_or_updateINSERTconfigurationServiceName, resourceGroupName, serviceName, subscriptionIdCreate the default Application Configuration Service or update the existing Application Configuration Service.
deleteDELETEconfigurationServiceName, resourceGroupName, serviceName, subscriptionIdDisable the default Application Configuration Service.
validateEXECconfigurationServiceName, resourceGroupName, serviceName, subscriptionIdCheck if the Application Configuration Service settings are valid.
validate_resourceEXECconfigurationServiceName, resourceGroupName, serviceName, subscriptionIdCheck if the Application Configuration Service resource is valid.

SELECT examples

Handles requests to list all resources in a Service.

SELECT
configurationServiceName,
generation,
instances,
provisioning_state,
resourceGroupName,
resource_requests,
serviceName,
settings,
subscriptionId
FROM azure.spring_apps.vw_configuration_services
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.spring_apps.configuration_services (
configurationServiceName,
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ configurationServiceName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified configuration_services resource.

/*+ delete */
DELETE FROM azure.spring_apps.configuration_services
WHERE configurationServiceName = '{{ configurationServiceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';