Microsoft.CognitiveServices accounts/managedNetworks/outboundRules

Bicep resource definition

The accounts/managedNetworks/outboundRules 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.CognitiveServices/accounts/managedNetworks/outboundRules resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.CognitiveServices/accounts/managedNetworks/outboundRules@2026-03-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    category: 'string'
    status: 'string'
    type: 'string'
    // For remaining properties, see OutboundRule objects
  }
}

OutboundRule objects

Set the type property to specify the type of object.

For FQDN, use:

{
  destination: 'string'
  type: 'FQDN'
}

For PrivateEndpoint, use:

{
  destination: {
    serviceResourceId: 'string'
    subresourceTarget: 'string'
  }
  fqdns: [
    'string'
  ]
  type: 'PrivateEndpoint'
}

For ServiceTag, use:

{
  destination: {
    action: 'string'
    addressPrefixes: [
      'string'
    ]
    portRanges: 'string'
    protocol: 'string'
    serviceTag: 'string'
  }
  type: 'ServiceTag'
}

Property Values

Microsoft.CognitiveServices/accounts/managedNetworks/outboundRules

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$ (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: accounts/managedNetworks
properties Outbound Rule for the managed network of a cognitive services account. OutboundRule (required)

FqdnOutboundRule

Name Description Value
destination string
type Type of a managed network Outbound Rule of a cognitive services account. 'FQDN' (required)

OutboundRule

Name Description Value
category Category of a managed network Outbound Rule of a cognitive services account. 'Dependency'
'Recommended'
'Required'
'UserDefined'
status Type of a managed network Outbound Rule of a cognitive services account. 'Active'
'Deleting'
'Failed'
'Inactive'
'Provisioning'
type Set to 'FQDN' for type FqdnOutboundRule. Set to 'PrivateEndpoint' for type PrivateEndpointOutboundRule. Set to 'ServiceTag' for type ServiceTagOutboundRule. 'FQDN'
'PrivateEndpoint'
'ServiceTag' (required)

PrivateEndpointOutboundRule

Name Description Value
destination Private Endpoint destination. PrivateEndpointOutboundRuleDestination
fqdns List of FQDNs associated with the private endpoint outbound rule. string[]
type Type of a managed network Outbound Rule of a cognitive services account. 'PrivateEndpoint' (required)

PrivateEndpointOutboundRuleDestination

Name Description Value
serviceResourceId The Azure resource ID of the target private endpoint service. string
subresourceTarget The subresource of the target service to connect to. string

ServiceTagOutboundRule

Name Description Value
destination Service Tag destination. ServiceTagOutboundRuleDestination
type Type of a managed network Outbound Rule of a cognitive services account. 'ServiceTag' (required)

ServiceTagOutboundRuleDestination

Name Description Value
action The action for the service tag outbound rule. 'Allow'
'Deny'
addressPrefixes Optional address prefixes. If provided, the serviceTag property will be ignored. string[]
portRanges Destination port ranges. string
protocol Network protocol used by the service tag rule. string
serviceTag Name of the Azure service tag to target. string

ARM template resource definition

The accounts/managedNetworks/outboundRules 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.CognitiveServices/accounts/managedNetworks/outboundRules resource, add the following JSON to your template.

{
  "type": "Microsoft.CognitiveServices/accounts/managedNetworks/outboundRules",
  "apiVersion": "2026-03-01",
  "name": "string",
  "properties": {
    "category": "string",
    "status": "string",
    "type": "string"
    // For remaining properties, see OutboundRule objects
  }
}

OutboundRule objects

Set the type property to specify the type of object.

For FQDN, use:

{
  "destination": "string",
  "type": "FQDN"
}

For PrivateEndpoint, use:

{
  "destination": {
    "serviceResourceId": "string",
    "subresourceTarget": "string"
  },
  "fqdns": [ "string" ],
  "type": "PrivateEndpoint"
}

For ServiceTag, use:

{
  "destination": {
    "action": "string",
    "addressPrefixes": [ "string" ],
    "portRanges": "string",
    "protocol": "string",
    "serviceTag": "string"
  },
  "type": "ServiceTag"
}

Property Values

Microsoft.CognitiveServices/accounts/managedNetworks/outboundRules

Name Description Value
apiVersion The api version '2026-03-01'
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$ (required)
properties Outbound Rule for the managed network of a cognitive services account. OutboundRule (required)
type The resource type 'Microsoft.CognitiveServices/accounts/managedNetworks/outboundRules'

FqdnOutboundRule

Name Description Value
destination string
type Type of a managed network Outbound Rule of a cognitive services account. 'FQDN' (required)

OutboundRule

Name Description Value
category Category of a managed network Outbound Rule of a cognitive services account. 'Dependency'
'Recommended'
'Required'
'UserDefined'
status Type of a managed network Outbound Rule of a cognitive services account. 'Active'
'Deleting'
'Failed'
'Inactive'
'Provisioning'
type Set to 'FQDN' for type FqdnOutboundRule. Set to 'PrivateEndpoint' for type PrivateEndpointOutboundRule. Set to 'ServiceTag' for type ServiceTagOutboundRule. 'FQDN'
'PrivateEndpoint'
'ServiceTag' (required)

PrivateEndpointOutboundRule

Name Description Value
destination Private Endpoint destination. PrivateEndpointOutboundRuleDestination
fqdns List of FQDNs associated with the private endpoint outbound rule. string[]
type Type of a managed network Outbound Rule of a cognitive services account. 'PrivateEndpoint' (required)

PrivateEndpointOutboundRuleDestination

Name Description Value
serviceResourceId The Azure resource ID of the target private endpoint service. string
subresourceTarget The subresource of the target service to connect to. string

ServiceTagOutboundRule

Name Description Value
destination Service Tag destination. ServiceTagOutboundRuleDestination
type Type of a managed network Outbound Rule of a cognitive services account. 'ServiceTag' (required)

ServiceTagOutboundRuleDestination

Name Description Value
action The action for the service tag outbound rule. 'Allow'
'Deny'
addressPrefixes Optional address prefixes. If provided, the serviceTag property will be ignored. string[]
portRanges Destination port ranges. string
protocol Network protocol used by the service tag rule. string
serviceTag Name of the Azure service tag to target. string

Usage Examples

Terraform (AzAPI provider) resource definition

The accounts/managedNetworks/outboundRules 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.CognitiveServices/accounts/managedNetworks/outboundRules resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.CognitiveServices/accounts/managedNetworks/outboundRules@2026-03-01"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      category = "string"
      status = "string"
      type = "string"
      // For remaining properties, see OutboundRule objects
    }
  }
}

OutboundRule objects

Set the type property to specify the type of object.

For FQDN, use:

{
  destination = "string"
  type = "FQDN"
}

For PrivateEndpoint, use:

{
  destination = {
    serviceResourceId = "string"
    subresourceTarget = "string"
  }
  fqdns = [
    "string"
  ]
  type = "PrivateEndpoint"
}

For ServiceTag, use:

{
  destination = {
    action = "string"
    addressPrefixes = [
      "string"
    ]
    portRanges = "string"
    protocol = "string"
    serviceTag = "string"
  }
  type = "ServiceTag"
}

Property Values

Microsoft.CognitiveServices/accounts/managedNetworks/outboundRules

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: accounts/managedNetworks
properties Outbound Rule for the managed network of a cognitive services account. OutboundRule (required)
type The resource type "Microsoft.CognitiveServices/accounts/managedNetworks/outboundRules@2026-03-01"

FqdnOutboundRule

Name Description Value
destination string
type Type of a managed network Outbound Rule of a cognitive services account. 'FQDN' (required)

OutboundRule

Name Description Value
category Category of a managed network Outbound Rule of a cognitive services account. 'Dependency'
'Recommended'
'Required'
'UserDefined'
status Type of a managed network Outbound Rule of a cognitive services account. 'Active'
'Deleting'
'Failed'
'Inactive'
'Provisioning'
type Set to 'FQDN' for type FqdnOutboundRule. Set to 'PrivateEndpoint' for type PrivateEndpointOutboundRule. Set to 'ServiceTag' for type ServiceTagOutboundRule. 'FQDN'
'PrivateEndpoint'
'ServiceTag' (required)

PrivateEndpointOutboundRule

Name Description Value
destination Private Endpoint destination. PrivateEndpointOutboundRuleDestination
fqdns List of FQDNs associated with the private endpoint outbound rule. string[]
type Type of a managed network Outbound Rule of a cognitive services account. 'PrivateEndpoint' (required)

PrivateEndpointOutboundRuleDestination

Name Description Value
serviceResourceId The Azure resource ID of the target private endpoint service. string
subresourceTarget The subresource of the target service to connect to. string

ServiceTagOutboundRule

Name Description Value
destination Service Tag destination. ServiceTagOutboundRuleDestination
type Type of a managed network Outbound Rule of a cognitive services account. 'ServiceTag' (required)

ServiceTagOutboundRuleDestination

Name Description Value
action The action for the service tag outbound rule. 'Allow'
'Deny'
addressPrefixes Optional address prefixes. If provided, the serviceTag property will be ignored. string[]
portRanges Destination port ranges. string
protocol Network protocol used by the service tag rule. string
serviceTag Name of the Azure service tag to target. string