config_servers
Creates, updates, deletes, gets or lists a config_servers
resource.
Overview
Name | config_servers |
Type | Resource |
Id | azure.spring_apps.config_servers |
Fields
- vw_config_servers
- config_servers
Name | Datatype | Description |
---|---|---|
config_server | text | field from the properties object |
enabled_state | text | field from the properties object |
error | text | field from the properties object |
instances | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resource_requests | text | field from the properties object |
serviceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Config server git properties payload |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, serviceName, subscriptionId | Get the config server and its properties. |
list | SELECT | resourceGroupName, serviceName, subscriptionId | Handles requests to list all config server resources in a Service. |
delete | DELETE | resourceGroupName, serviceName, subscriptionId | Disable the default Config Server, only available in Enterprise Plan. |
update_patch | EXEC | resourceGroupName, serviceName, subscriptionId | Update the config server. |
update_put | EXEC | resourceGroupName, serviceName, subscriptionId | Update the config server. |
validate | EXEC | resourceGroupName, serviceName, subscriptionId | Check if the config server settings are valid. |
SELECT
examples
Get the config server and its properties.
- vw_config_servers
- config_servers
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 }}';
SELECT
properties
FROM azure.spring_apps.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 }}';