Microsoft.Elastic monitors/openAIIntegrations 2024-03-01

Bicep resource definition

The monitors/openAIIntegrations resource type can be deployed with operations that target:

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@2024-03-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    key: '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.
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:

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": "2024-03-01",
  "name": "string",
  "properties": {
    "key": "string",
    "openAIResourceEndpoint": "string",
    "openAIResourceId": "string"
  }
}

Property Values

Microsoft.Elastic/monitors/openAIIntegrations

Name Description Value
apiVersion The api version '2024-03-01'
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.
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@2024-03-01"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      key = "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@2024-03-01"

OpenAIIntegrationProperties

Name Description Value
key Value of API key for Open AI resource string

Constraints:
Sensitive value. Pass in as a secure parameter.
openAIResourceEndpoint The API endpoint for Open AI resource string
openAIResourceId The resource name of Open AI resource string