Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The monitors/openAIIntegrations resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Elastic/monitors/openAIIntegrations resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Elastic/monitors/openAIIntegrations@2026-03-15-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
key: 'string'
openAIConnectorId: 'string'
openAIResourceEndpoint: 'string'
openAIResourceId: 'string'
}
}
Property Values
Microsoft.Elastic/monitors/openAIIntegrations
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Pattern = ^[a-z][a-z0-9]*$ (required) |
| parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: monitors |
| properties | Open AI Integration details. | OpenAIIntegrationProperties |
OpenAIIntegrationProperties
| Name | Description | Value |
|---|---|---|
| key | Value of API key for Open AI resource | string Constraints: Sensitive value. Pass in as a secure parameter. |
| openAIConnectorId | The connector id of Open AI resource | string |
| openAIResourceEndpoint | The API endpoint for Open AI resource | string |
| openAIResourceId | The resource name of Open AI resource | string |
ARM template resource definition
The monitors/openAIIntegrations resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands For a list of changed properties in each API version, see change log.
Usage Examples
Resource format
To create a Microsoft.Elastic/monitors/openAIIntegrations resource, add the following JSON to your template.
{
"type": "Microsoft.Elastic/monitors/openAIIntegrations",
"apiVersion": "2026-03-15-preview",
"name": "string",
"properties": {
"key": "string",
"openAIConnectorId": "string",
"openAIResourceEndpoint": "string",
"openAIResourceId": "string"
}
}
Property Values
Microsoft.Elastic/monitors/openAIIntegrations
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2026-03-15-preview' |
| name | The resource name | string Constraints: Pattern = ^[a-z][a-z0-9]*$ (required) |
| properties | Open AI Integration details. | OpenAIIntegrationProperties |
| type | The resource type | 'Microsoft.Elastic/monitors/openAIIntegrations' |
OpenAIIntegrationProperties
| Name | Description | Value |
|---|---|---|
| key | Value of API key for Open AI resource | string Constraints: Sensitive value. Pass in as a secure parameter. |
| openAIConnectorId | The connector id of Open AI resource | string |
| openAIResourceEndpoint | The API endpoint for Open AI resource | string |
| openAIResourceId | The resource name of Open AI resource | string |
Terraform (AzAPI provider) resource definition
The monitors/openAIIntegrations resource type can be deployed with operations that target:
- Resource groups For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Elastic/monitors/openAIIntegrations resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Elastic/monitors/openAIIntegrations@2026-03-15-preview"
name = "string"
parent_id = "string"
body = {
properties = {
key = "string"
openAIConnectorId = "string"
openAIResourceEndpoint = "string"
openAIResourceId = "string"
}
}
}
Property Values
Microsoft.Elastic/monitors/openAIIntegrations
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Pattern = ^[a-z][a-z0-9]*$ (required) |
| parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: monitors |
| properties | Open AI Integration details. | OpenAIIntegrationProperties |
| type | The resource type | "Microsoft.Elastic/monitors/openAIIntegrations@2026-03-15-preview" |
OpenAIIntegrationProperties
| Name | Description | Value |
|---|---|---|
| key | Value of API key for Open AI resource | string Constraints: Sensitive value. Pass in as a secure parameter. |
| openAIConnectorId | The connector id of Open AI resource | string |
| openAIResourceEndpoint | The API endpoint for Open AI resource | string |
| openAIResourceId | The resource name of Open AI resource | string |