Skip to main content

config_servers

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

Overview

Nameconfig_servers
TypeResource
Idazure.spring_apps.config_servers

Fields

NameDatatypeDescription
config_servertextfield from the properties object
enabled_statetextfield from the properties object
errortextfield 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
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, serviceName, subscriptionIdGet the config server and its properties.
listSELECTresourceGroupName, serviceName, subscriptionIdHandles requests to list all config server resources in a Service.
deleteDELETEresourceGroupName, serviceName, subscriptionIdDisable the default Config Server, only available in Enterprise Plan.
update_patchEXECresourceGroupName, serviceName, subscriptionIdUpdate the config server.
update_putEXECresourceGroupName, serviceName, subscriptionIdUpdate the config server.
validateEXECresourceGroupName, serviceName, subscriptionIdCheck if the config server settings are valid.

SELECT examples

Get the config server and its properties.

SELECT
config_server,
enabled_state,
error,
instances,
provisioning_state,
resourceGroupName,
resource_requests,
serviceName,
subscriptionId
FROM azure.spring_apps.vw_config_servers
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified config_servers resource.

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