Skip to main content

server_configuration_options

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

Overview

Nameserver_configuration_options
TypeResource
Idazure.sql.server_configuration_options

Fields

NameDatatypeDescription
managedInstanceNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
serverConfigurationOptionNametextfield from the properties object
server_configuration_option_valuetextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTmanagedInstanceName, resourceGroupName, serverConfigurationOptionName, subscriptionIdGets managed instance server configuration option.
create_or_updateINSERTmanagedInstanceName, resourceGroupName, serverConfigurationOptionName, subscriptionIdUpdates managed instance server configuration option.

SELECT examples

Gets managed instance server configuration option.

SELECT
managedInstanceName,
provisioning_state,
resourceGroupName,
serverConfigurationOptionName,
server_configuration_option_value,
subscriptionId
FROM azure.sql.vw_server_configuration_options
WHERE managedInstanceName = '{{ managedInstanceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serverConfigurationOptionName = '{{ serverConfigurationOptionName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.sql.server_configuration_options (
managedInstanceName,
resourceGroupName,
serverConfigurationOptionName,
subscriptionId,
properties
)
SELECT
'{{ managedInstanceName }}',
'{{ resourceGroupName }}',
'{{ serverConfigurationOptionName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;