sql_pool_connection_policies
Creates, updates, deletes, gets or lists a sql_pool_connection_policies resource.
Overview
| Name | sql_pool_connection_policies |
| Type | Resource |
| Id | azure.synapse.sql_pool_connection_policies |
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. |
kind | string | Resource kind. |
location | string | Resource location. |
proxyDnsName | string | The fully qualified host name of the auditing proxy. |
proxyPort | string | The port number of the auditing proxy. |
redirectionState | string | The state of proxy redirection. |
securityEnabledAccess | string | The state of security access. |
state | string | The connection policy state. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
useServerDefault | string | Whether server default is enabled or disabled. |
visibility | string | The visibility of the auditing proxy. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, workspace_name, sql_pool_name, connection_policy_name, subscription_id | Get a Sql pool's connection policy, which is used with table auditing. Get a Sql pool's connection policy, which is used with table auditing. |
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 |
|---|---|---|
connection_policy_name | string | The name of the connection policy. "default" Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
sql_pool_name | string | SQL pool name. Required. |
subscription_id | string | |
workspace_name | string | The name of the workspace. Required. |
SELECT examples
- get
Get a Sql pool's connection policy, which is used with table auditing. Get a Sql pool's connection policy, which is used with table auditing.
SELECT
id,
name,
kind,
location,
proxyDnsName,
proxyPort,
redirectionState,
securityEnabledAccess,
state,
type,
useServerDefault,
visibility
FROM azure.synapse.sql_pool_connection_policies
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND sql_pool_name = '{{ sql_pool_name }}' -- required
AND connection_policy_name = '{{ connection_policy_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;