project_connections
Creates, updates, deletes, gets or lists a project_connections resource.
Overview
| Name | project_connections |
| Type | Resource |
| Id | azure.cognitive_services.project_connections |
Fields
The following fields are returned by SELECT queries:
- get
- list
| 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. |
authType | string | Authentication type of the connection target. Required. Known values are: "PAT", "ManagedIdentity", "UsernamePassword", "None", "SAS", "AccountKey", "ServicePrincipal", "AccessKey", "ApiKey", "CustomKeys", "OAuth2", "AAD", "DelegatedSAS", "ProjectManagedIdentity", "AccountManagedIdentity", "UserEntraToken", "AgentUserImpersonation", "AgenticIdentityToken", and "AgenticUser". |
category | string | Category of the connection. Known values are: "PythonFeed", "ContainerRegistry", "Git", "S3", "Snowflake", "AzureKeyVault", "AzureSqlDb", "AzureSynapseAnalytics", "AzureMySqlDb", "AzurePostgresDb", "ADLSGen2", "AzureContainerAppEnvironment", "Redis", "ApiKey", "AzureOpenAI", "AIServices", "CognitiveSearch", "CognitiveService", "CustomKeys", "AzureBlob", "AzureStorageAccount", "AzureOneLake", "CosmosDb", "CosmosDbMongoDbApi", "AzureDataExplorer", "AzureMariaDb", "AzureDatabricksDeltaLake", "AzureSqlMi", "AzureTableStorage", "AmazonRdsForOracle", "AmazonRdsForSqlServer", "AmazonRedshift", "Db2", "Drill", "GoogleBigQuery", "Greenplum", "Hbase", "Hive", "Impala", "Informix", "MariaDb", "MicrosoftAccess", "MySql", "Netezza", "Oracle", "Phoenix", "PostgreSql", "Presto", "SapOpenHub", "SapBw", "SapHana", "SapTable", "Spark", "SqlServer", "Sybase", "Teradata", "Vertica", "Pinecone", "Databricks", "Cassandra", "Couchbase", "MongoDbV2", "MongoDbAtlas", "AmazonS3Compatible", "FileServer", "FtpServer", "GoogleCloudStorage", "Hdfs", "OracleCloudStorage", "Sftp", "GenericHttp", "ODataRest", "Odbc", "GenericRest", "RemoteTool", "AmazonMws", "Concur", "Dynamics", "DynamicsAx", "DynamicsCrm", "GoogleAdWords", "Hubspot", "Jira", "Magento", "Marketo", "Office365", "Eloqua", "Responsys", "OracleServiceCloud", "PayPal", "QuickBooks", "Salesforce", "SalesforceServiceCloud", "SalesforceMarketingCloud", "SapCloudForCustomer", "SapEcc", "ServiceNow", "SharePointOnlineList", "Shopify", "Square", "WebTable", "Xero", "Zoho", "GenericContainerRegistry", "Elasticsearch", "AppInsights", "AppConfig", "OpenAI", "Serp", "BingLLMSearch", "Serverless", "ManagedOnlineEndpoint", "ApiManagement", "ModelGateway", "GroundingWithBingSearch", "GroundingWithCustomSearch", "Sharepoint", "MicrosoftFabric", "PowerPlatformEnvironment", and "RemoteA2A". (PythonFeed, ContainerRegistry, Git, S3, Snowflake, AzureKeyVault, AzureSqlDb, AzureSynapseAnalytics, AzureMySqlDb, AzurePostgresDb, ADLSGen2, AzureContainerAppEnvironment, Redis, ApiKey, AzureOpenAI, AIServices, CognitiveSearch, CognitiveService, CustomKeys, AzureBlob, AzureStorageAccount, AzureOneLake, CosmosDb, CosmosDbMongoDbApi, AzureDataExplorer, AzureMariaDb, AzureDatabricksDeltaLake, AzureSqlMi, AzureTableStorage, AmazonRdsForOracle, AmazonRdsForSqlServer, AmazonRedshift, Db2, Drill, GoogleBigQuery, Greenplum, Hbase, Hive, Impala, Informix, MariaDb, MicrosoftAccess, MySql, Netezza, Oracle, Phoenix, PostgreSql, Presto, SapOpenHub, SapBw, SapHana, SapTable, Spark, SqlServer, Sybase, Teradata, Vertica, Pinecone, Databricks, Cassandra, Couchbase, MongoDbV2, MongoDbAtlas, AmazonS3Compatible, FileServer, FtpServer, GoogleCloudStorage, Hdfs, OracleCloudStorage, Sftp, GenericHttp, ODataRest, Odbc, GenericRest, RemoteTool, AmazonMws, Concur, Dynamics, DynamicsAx, DynamicsCrm, GoogleAdWords, Hubspot, Jira, Magento, Marketo, Office365, Eloqua, Responsys, OracleServiceCloud, PayPal, QuickBooks, Salesforce, SalesforceServiceCloud, SalesforceMarketingCloud, SapCloudForCustomer, SapEcc, ServiceNow, SharePointOnlineList, Shopify, Square, WebTable, Xero, Zoho, GenericContainerRegistry, Elasticsearch, AppInsights, AppConfig, OpenAI, Serp, BingLLMSearch, Serverless, ManagedOnlineEndpoint, ApiManagement, ModelGateway, GroundingWithBingSearch, GroundingWithCustomSearch, Sharepoint, MicrosoftFabric, PowerPlatformEnvironment, RemoteA2A) |
createdByWorkspaceArmId | string | :vartype created_by_workspace_arm_id: str |
error | string | Provides the error message if the connection fails. |
expiryTime | string (date-time) | :vartype expiry_time: ~datetime.datetime |
group | string | Group based on connection category. Known values are: "Azure", "AzureAI", "Database", "NoSQL", "File", "GenericProtocol", and "ServicesAndApps". (Azure, AzureAI, Database, NoSQL, File, GenericProtocol, ServicesAndApps) |
isSharedToAll | boolean | :vartype is_shared_to_all: bool |
metadata | object | Store user metadata for this connection. |
peRequirement | string | Specifies how private endpoints are used with this connection: 'Required', 'NotRequired', or 'NotApplicable'. Known values are: "Required", "NotRequired", and "NotApplicable". (Required, NotRequired, NotApplicable) |
peStatus | string | Specifies the status of private endpoints for this connection: 'Inactive', 'Active', or 'NotApplicable'. Known values are: "Inactive", "Active", and "NotApplicable". (Inactive, Active, NotApplicable) |
sharedUserList | array | :vartype shared_user_list: list[str] |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
target | string | The connection URL to be used. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
useWorkspaceManagedIdentity | boolean | :vartype use_workspace_managed_identity: bool |
| 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. |
authType | string | Authentication type of the connection target. Required. Known values are: "PAT", "ManagedIdentity", "UsernamePassword", "None", "SAS", "AccountKey", "ServicePrincipal", "AccessKey", "ApiKey", "CustomKeys", "OAuth2", "AAD", "DelegatedSAS", "ProjectManagedIdentity", "AccountManagedIdentity", "UserEntraToken", "AgentUserImpersonation", "AgenticIdentityToken", and "AgenticUser". |
category | string | Category of the connection. Known values are: "PythonFeed", "ContainerRegistry", "Git", "S3", "Snowflake", "AzureKeyVault", "AzureSqlDb", "AzureSynapseAnalytics", "AzureMySqlDb", "AzurePostgresDb", "ADLSGen2", "AzureContainerAppEnvironment", "Redis", "ApiKey", "AzureOpenAI", "AIServices", "CognitiveSearch", "CognitiveService", "CustomKeys", "AzureBlob", "AzureStorageAccount", "AzureOneLake", "CosmosDb", "CosmosDbMongoDbApi", "AzureDataExplorer", "AzureMariaDb", "AzureDatabricksDeltaLake", "AzureSqlMi", "AzureTableStorage", "AmazonRdsForOracle", "AmazonRdsForSqlServer", "AmazonRedshift", "Db2", "Drill", "GoogleBigQuery", "Greenplum", "Hbase", "Hive", "Impala", "Informix", "MariaDb", "MicrosoftAccess", "MySql", "Netezza", "Oracle", "Phoenix", "PostgreSql", "Presto", "SapOpenHub", "SapBw", "SapHana", "SapTable", "Spark", "SqlServer", "Sybase", "Teradata", "Vertica", "Pinecone", "Databricks", "Cassandra", "Couchbase", "MongoDbV2", "MongoDbAtlas", "AmazonS3Compatible", "FileServer", "FtpServer", "GoogleCloudStorage", "Hdfs", "OracleCloudStorage", "Sftp", "GenericHttp", "ODataRest", "Odbc", "GenericRest", "RemoteTool", "AmazonMws", "Concur", "Dynamics", "DynamicsAx", "DynamicsCrm", "GoogleAdWords", "Hubspot", "Jira", "Magento", "Marketo", "Office365", "Eloqua", "Responsys", "OracleServiceCloud", "PayPal", "QuickBooks", "Salesforce", "SalesforceServiceCloud", "SalesforceMarketingCloud", "SapCloudForCustomer", "SapEcc", "ServiceNow", "SharePointOnlineList", "Shopify", "Square", "WebTable", "Xero", "Zoho", "GenericContainerRegistry", "Elasticsearch", "AppInsights", "AppConfig", "OpenAI", "Serp", "BingLLMSearch", "Serverless", "ManagedOnlineEndpoint", "ApiManagement", "ModelGateway", "GroundingWithBingSearch", "GroundingWithCustomSearch", "Sharepoint", "MicrosoftFabric", "PowerPlatformEnvironment", and "RemoteA2A". (PythonFeed, ContainerRegistry, Git, S3, Snowflake, AzureKeyVault, AzureSqlDb, AzureSynapseAnalytics, AzureMySqlDb, AzurePostgresDb, ADLSGen2, AzureContainerAppEnvironment, Redis, ApiKey, AzureOpenAI, AIServices, CognitiveSearch, CognitiveService, CustomKeys, AzureBlob, AzureStorageAccount, AzureOneLake, CosmosDb, CosmosDbMongoDbApi, AzureDataExplorer, AzureMariaDb, AzureDatabricksDeltaLake, AzureSqlMi, AzureTableStorage, AmazonRdsForOracle, AmazonRdsForSqlServer, AmazonRedshift, Db2, Drill, GoogleBigQuery, Greenplum, Hbase, Hive, Impala, Informix, MariaDb, MicrosoftAccess, MySql, Netezza, Oracle, Phoenix, PostgreSql, Presto, SapOpenHub, SapBw, SapHana, SapTable, Spark, SqlServer, Sybase, Teradata, Vertica, Pinecone, Databricks, Cassandra, Couchbase, MongoDbV2, MongoDbAtlas, AmazonS3Compatible, FileServer, FtpServer, GoogleCloudStorage, Hdfs, OracleCloudStorage, Sftp, GenericHttp, ODataRest, Odbc, GenericRest, RemoteTool, AmazonMws, Concur, Dynamics, DynamicsAx, DynamicsCrm, GoogleAdWords, Hubspot, Jira, Magento, Marketo, Office365, Eloqua, Responsys, OracleServiceCloud, PayPal, QuickBooks, Salesforce, SalesforceServiceCloud, SalesforceMarketingCloud, SapCloudForCustomer, SapEcc, ServiceNow, SharePointOnlineList, Shopify, Square, WebTable, Xero, Zoho, GenericContainerRegistry, Elasticsearch, AppInsights, AppConfig, OpenAI, Serp, BingLLMSearch, Serverless, ManagedOnlineEndpoint, ApiManagement, ModelGateway, GroundingWithBingSearch, GroundingWithCustomSearch, Sharepoint, MicrosoftFabric, PowerPlatformEnvironment, RemoteA2A) |
createdByWorkspaceArmId | string | :vartype created_by_workspace_arm_id: str |
error | string | Provides the error message if the connection fails. |
expiryTime | string (date-time) | :vartype expiry_time: ~datetime.datetime |
group | string | Group based on connection category. Known values are: "Azure", "AzureAI", "Database", "NoSQL", "File", "GenericProtocol", and "ServicesAndApps". (Azure, AzureAI, Database, NoSQL, File, GenericProtocol, ServicesAndApps) |
isSharedToAll | boolean | :vartype is_shared_to_all: bool |
metadata | object | Store user metadata for this connection. |
peRequirement | string | Specifies how private endpoints are used with this connection: 'Required', 'NotRequired', or 'NotApplicable'. Known values are: "Required", "NotRequired", and "NotApplicable". (Required, NotRequired, NotApplicable) |
peStatus | string | Specifies the status of private endpoints for this connection: 'Inactive', 'Active', or 'NotApplicable'. Known values are: "Inactive", "Active", and "NotApplicable". (Inactive, Active, NotApplicable) |
sharedUserList | array | :vartype shared_user_list: list[str] |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
target | string | The connection URL to be used. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
useWorkspaceManagedIdentity | boolean | :vartype use_workspace_managed_identity: bool |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, account_name, project_name, connection_name, subscription_id | Lists Cognitive Services project connection by name. Lists Cognitive Services project connection by name. | |
list | select | resource_group_name, account_name, project_name, subscription_id | target, category, includeAll | Lists all the available Cognitive Services project connections under the specified project. Lists all the available Cognitive Services project connections under the specified project. |
create | insert | resource_group_name, account_name, project_name, connection_name, subscription_id, properties | Create or update Cognitive Services project connection under the specified project. Create or update Cognitive Services project connection under the specified project. | |
update | update | resource_group_name, account_name, project_name, connection_name, subscription_id | Update Cognitive Services project connection under the specified project. Update Cognitive Services project connection under the specified project. | |
delete | delete | resource_group_name, account_name, project_name, connection_name, subscription_id | Delete Cognitive Services project connection by name. Delete Cognitive Services project connection by name. |
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 |
|---|---|---|
account_name | string | The name of Cognitive Services account. Required. |
connection_name | string | Friendly name of the connection. Required. |
project_name | string | The name of Cognitive Services account's project. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
category | string | Category of the connection. Default value is None. |
includeAll | boolean | query parameter that indicates if get connection call should return both connections and datastores. Default value is False. |
target | string | Target of the connection. Default value is None. |
SELECT examples
- get
- list
Lists Cognitive Services project connection by name. Lists Cognitive Services project connection by name.
SELECT
id,
name,
authType,
category,
createdByWorkspaceArmId,
error,
expiryTime,
group,
isSharedToAll,
metadata,
peRequirement,
peStatus,
sharedUserList,
systemData,
target,
type,
useWorkspaceManagedIdentity
FROM azure.cognitive_services.project_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND project_name = '{{ project_name }}' -- required
AND connection_name = '{{ connection_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Lists all the available Cognitive Services project connections under the specified project. Lists all the available Cognitive Services project connections under the specified project.
SELECT
id,
name,
authType,
category,
createdByWorkspaceArmId,
error,
expiryTime,
group,
isSharedToAll,
metadata,
peRequirement,
peStatus,
sharedUserList,
systemData,
target,
type,
useWorkspaceManagedIdentity
FROM azure.cognitive_services.project_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND project_name = '{{ project_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND target = '{{ target }}'
AND category = '{{ category }}'
AND includeAll = '{{ includeAll }}'
;
INSERT examples
- create
- Manifest
Create or update Cognitive Services project connection under the specified project. Create or update Cognitive Services project connection under the specified project.
INSERT INTO azure.cognitive_services.project_connections (
properties,
resource_group_name,
account_name,
project_name,
connection_name,
subscription_id
)
SELECT
'{{ properties }}' /* required */,
'{{ resource_group_name }}',
'{{ account_name }}',
'{{ project_name }}',
'{{ connection_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: project_connections
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the project_connections resource.
- name: account_name
value: "{{ account_name }}"
description: Required parameter for the project_connections resource.
- name: project_name
value: "{{ project_name }}"
description: Required parameter for the project_connections resource.
- name: connection_name
value: "{{ connection_name }}"
description: Required parameter for the project_connections resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the project_connections resource.
- name: properties
description: |
Connection property base schema. Required.
value:
authType: "{{ authType }}"
category: "{{ category }}"
createdByWorkspaceArmId: "{{ createdByWorkspaceArmId }}"
error: "{{ error }}"
expiryTime: "{{ expiryTime }}"
group: "{{ group }}"
isSharedToAll: {{ isSharedToAll }}
metadata: "{{ metadata }}"
peRequirement: "{{ peRequirement }}"
peStatus: "{{ peStatus }}"
sharedUserList:
- "{{ sharedUserList }}"
target: "{{ target }}"
useWorkspaceManagedIdentity: {{ useWorkspaceManagedIdentity }}
UPDATE examples
- update
Update Cognitive Services project connection under the specified project. Update Cognitive Services project connection under the specified project.
UPDATE azure.cognitive_services.project_connections
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND project_name = '{{ project_name }}' --required
AND connection_name = '{{ connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
type;
DELETE examples
- delete
Delete Cognitive Services project connection by name. Delete Cognitive Services project connection by name.
DELETE FROM azure.cognitive_services.project_connections
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND project_name = '{{ project_name }}' --required
AND connection_name = '{{ connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;