Skip to main content

config_servers

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

Overview

Nameconfig_servers
TypeResource
Idazure_extras.app_platform.config_servers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource Id for the resource.
namestringThe name of the resource.
configServerobjectSettings of config server.
errorobjectError when apply config server settings.
provisioningStatestringState of the config server. Known values are: "NotAvailable", "Deleted", "Failed", "Succeeded", and "Updating".
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, service_name, subscription_idGet the config server and its properties.
update_putexecresource_group_name, service_name, subscription_idUpdate the config server.
update_patchexecresource_group_name, service_name, subscription_idUpdate the config server.
validateexecresource_group_name, service_name, subscription_idCheck if the config server settings are valid.

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 that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.
service_namestringThe name of the Service resource. Required.
subscription_idstring

SELECT examples

Get the config server and its properties.

SELECT
id,
name,
configServer,
error,
provisioningState,
systemData,
type
FROM azure_extras.app_platform.config_servers
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND service_name = '{{ service_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

Lifecycle Methods

Update the config server.

EXEC azure_extras.app_platform.config_servers.update_put 
@resource_group_name='{{ resource_group_name }}' --required,
@service_name='{{ service_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;