workspace_managed_identity_sql_control_settings
Creates, updates, deletes, gets or lists a workspace_managed_identity_sql_control_settings resource.
Overview
| Name | workspace_managed_identity_sql_control_settings |
| Type | Resource |
| Id | azure.synapse.workspace_managed_identity_sql_control_settings |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
grantSqlControlToManagedIdentity | object | Grant sql control to managed identity. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, workspace_name, subscription_id | Get Managed Identity Sql Control Settings. Get Managed Identity Sql Control Settings. | |
create_or_update | insert | resource_group_name, workspace_name, subscription_id | Create or update Managed Identity Sql Control Settings. Create or update Managed Identity Sql Control Settings. | |
create_or_update | replace | resource_group_name, workspace_name, subscription_id | Create 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.
| Name | Datatype | Description |
|---|---|---|
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
workspace_name | string | The name of the workspace. Required. |
SELECT examples
- get
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
- Manifest
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
;
# Description fields are for documentation purposes
- name: workspace_managed_identity_sql_control_settings
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the workspace_managed_identity_sql_control_settings resource.
- name: workspace_name
value: "{{ workspace_name }}"
description: Required parameter for the workspace_managed_identity_sql_control_settings resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the workspace_managed_identity_sql_control_settings resource.
- name: properties
value:
grantSqlControlToManagedIdentity:
desiredState: "{{ desiredState }}"
actualState: "{{ actualState }}"
REPLACE examples
- create_or_update
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;