CognitiveservicesFunctions

Functions

Link copied to clipboard

Returns a Cognitive Services account specified by the parameters. Uses Azure REST API version 2024-10-01. Other available API versions: 2023-05-01, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cognitiveservices [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getAccount(argument: suspend GetAccountPlainArgsBuilder.() -> Unit): GetAccountResult
suspend fun getAccount(accountName: String, resourceGroupName: String): GetAccountResult
Link copied to clipboard

Azure Resource Manager resource envelope. Uses Azure REST API version 2025-04-01-preview.

suspend fun getAccountCapabilityHost(accountName: String, capabilityHostName: String, resourceGroupName: String): GetAccountCapabilityHostResult
Link copied to clipboard

Connection base resource schema. Uses Azure REST API version 2025-04-01-preview.

suspend fun getAccountConnection(accountName: String, connectionName: String, resourceGroupName: String): GetAccountConnectionResult
Link copied to clipboard

Gets the specified commitmentPlans associated with the Cognitive Services account. Uses Azure REST API version 2024-10-01. Other available API versions: 2023-05-01, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cognitiveservices [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getCommitmentPlan(accountName: String, commitmentPlanName: String, resourceGroupName: String): GetCommitmentPlanResult
Link copied to clipboard

Gets the association of the Cognitive Services commitment plan. Uses Azure REST API version 2024-10-01. Other available API versions: 2023-05-01, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cognitiveservices [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getCommitmentPlanAssociation(commitmentPlanAssociationName: String, commitmentPlanName: String, resourceGroupName: String): GetCommitmentPlanAssociationResult
Link copied to clipboard

Gets the specified deployments associated with the Cognitive Services account. Uses Azure REST API version 2024-10-01. Other available API versions: 2023-05-01, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cognitiveservices [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getDeployment(accountName: String, deploymentName: String, resourceGroupName: String): GetDeploymentResult
Link copied to clipboard

Gets the specified EncryptionScope associated with the Cognitive Services account. Uses Azure REST API version 2024-10-01. Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cognitiveservices [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getEncryptionScope(accountName: String, encryptionScopeName: String, resourceGroupName: String): GetEncryptionScopeResult
Link copied to clipboard

Gets the specified private endpoint connection associated with the Cognitive Services account. Uses Azure REST API version 2024-10-01. Other available API versions: 2023-05-01, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cognitiveservices [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getPrivateEndpointConnection(accountName: String, privateEndpointConnectionName: String, resourceGroupName: String): GetPrivateEndpointConnectionResult
Link copied to clipboard

Returns a Cognitive Services project specified by the parameters. Uses Azure REST API version 2025-04-01-preview.

suspend fun getProject(argument: suspend GetProjectPlainArgsBuilder.() -> Unit): GetProjectResult
suspend fun getProject(accountName: String, projectName: String, resourceGroupName: String): GetProjectResult
Link copied to clipboard

Azure Resource Manager resource envelope. Uses Azure REST API version 2025-04-01-preview.

suspend fun getProjectCapabilityHost(accountName: String, capabilityHostName: String, projectName: String, resourceGroupName: String): GetProjectCapabilityHostResult
Link copied to clipboard

Connection base resource schema. Uses Azure REST API version 2025-04-01-preview.

suspend fun getProjectConnection(accountName: String, connectionName: String, projectName: String, resourceGroupName: String): GetProjectConnectionResult
Link copied to clipboard

Gets the specified custom blocklist associated with the Azure OpenAI account. Uses Azure REST API version 2024-10-01. Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cognitiveservices [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getRaiBlocklist(accountName: String, raiBlocklistName: String, resourceGroupName: String): GetRaiBlocklistResult
Link copied to clipboard

Gets the specified custom blocklist Item associated with the custom blocklist. Uses Azure REST API version 2024-10-01. Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cognitiveservices [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getRaiBlocklistItem(accountName: String, raiBlocklistItemName: String, raiBlocklistName: String, resourceGroupName: String): GetRaiBlocklistItemResult
Link copied to clipboard

Gets the specified Content Filters associated with the Azure OpenAI account. Uses Azure REST API version 2024-10-01. Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cognitiveservices [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getRaiPolicy(accountName: String, raiPolicyName: String, resourceGroupName: String): GetRaiPolicyResult
Link copied to clipboard

Returns a Cognitive Services commitment plan specified by the parameters. Uses Azure REST API version 2024-10-01. Other available API versions: 2023-05-01, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cognitiveservices [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getSharedCommitmentPlan(commitmentPlanName: String, resourceGroupName: String): GetSharedCommitmentPlanResult
Link copied to clipboard

Lists the account keys for the specified Cognitive Services account. Uses Azure REST API version 2024-10-01. Other available API versions: 2023-05-01, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cognitiveservices [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun listAccountKeys(accountName: String, resourceGroupName: String): ListAccountKeysResult