Skip to main content

workspace_managed_identity_sql_control_settings

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

Overview

Nameworkspace_managed_identity_sql_control_settings
TypeResource
Idazure.synapse.workspace_managed_identity_sql_control_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
grantSqlControlToManagedIdentityobjectGrant sql control to managed identity.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, workspace_name, subscription_idGet Managed Identity Sql Control Settings. Get Managed Identity Sql Control Settings.
create_or_updateinsertresource_group_name, workspace_name, subscription_idCreate or update Managed Identity Sql Control Settings. Create or update Managed Identity Sql Control Settings.
create_or_updatereplaceresource_group_name, workspace_name, subscription_idCreate or update Managed Identity Sql Control Settings. Create or update Managed Identity Sql Control Settings.

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. The name is case insensitive. Required.
subscription_idstring
workspace_namestringThe name of the workspace. Required.

SELECT examples

Get Managed Identity Sql Control Settings. Get Managed Identity Sql Control Settings.

SELECT
id,
name,
grantSqlControlToManagedIdentity,
type
FROM azure.synapse.workspace_managed_identity_sql_control_settings
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create or update Managed Identity Sql Control Settings. Create or update Managed Identity Sql Control Settings.

INSERT INTO azure.synapse.workspace_managed_identity_sql_control_settings (
properties,
resource_group_name,
workspace_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ workspace_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
type
;

REPLACE examples

Create or update Managed Identity Sql Control Settings. Create or update Managed Identity Sql Control Settings.

REPLACE azure.synapse.workspace_managed_identity_sql_control_settings
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND workspace_name = '{{ workspace_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
type;