Microsoft.DevCenter networkConnections

Bicep resource definition

The networkConnections 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.DevCenter/networkConnections resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.DevCenter/networkConnections@2024-10-01-preview' = {
  location: 'string'
  name: 'string'
  properties: {
    domainJoinType: 'string'
    domainName: 'string'
    domainPassword: 'string'
    domainUsername: 'string'
    networkingResourceGroupName: 'string'
    organizationUnit: 'string'
    subnetId: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.DevCenter/networkConnections

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 63
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$ (required)
properties Properties of a Network Connection NetworkProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

NetworkProperties

Name Description Value
domainJoinType AAD Join type. 'AzureADJoin'
'HybridAzureADJoin'
'None' (required)
domainName Active Directory domain name string
domainPassword The password for the account used to join domain string

Constraints:
Sensitive value. Pass in as a secure parameter.
domainUsername The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. string
networkingResourceGroupName The name for resource group where NICs will be placed. string
organizationUnit Active Directory domain Organization Unit (OU) string
subnetId The subnet to attach Virtual Machines to string

TrackedResourceTags

Name Description Value

Usage Examples

Azure Quickstart Samples

The following Azure Quickstart templates contain Bicep samples for deploying this resource type.

Bicep File Description
Configure Dev Box service This template would create all Dev Box admin resources as per Dev Box quick start guide (/azure/dev-box/quickstart-create-dev-box). You can view all resources created, or directly go to DevPortal.microsoft.com to create your first Dev Box.
Deploy Dev Box Service with built-in image This template provides a way to deploy an Dev Box service with built-in image.

ARM template resource definition

The networkConnections 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.DevCenter/networkConnections resource, add the following JSON to your template.

{
  "type": "Microsoft.DevCenter/networkConnections",
  "apiVersion": "2024-10-01-preview",
  "name": "string",
  "location": "string",
  "properties": {
    "domainJoinType": "string",
    "domainName": "string",
    "domainPassword": "string",
    "domainUsername": "string",
    "networkingResourceGroupName": "string",
    "organizationUnit": "string",
    "subnetId": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.DevCenter/networkConnections

Name Description Value
apiVersion The api version '2024-10-01-preview'
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 63
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$ (required)
properties Properties of a Network Connection NetworkProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.DevCenter/networkConnections'

NetworkProperties

Name Description Value
domainJoinType AAD Join type. 'AzureADJoin'
'HybridAzureADJoin'
'None' (required)
domainName Active Directory domain name string
domainPassword The password for the account used to join domain string

Constraints:
Sensitive value. Pass in as a secure parameter.
domainUsername The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. string
networkingResourceGroupName The name for resource group where NICs will be placed. string
organizationUnit Active Directory domain Organization Unit (OU) string
subnetId The subnet to attach Virtual Machines to string

TrackedResourceTags

Name Description Value

Usage Examples

Azure Quickstart Templates

The following Azure Quickstart templates deploy this resource type.

Template Description
Configure Dev Box service

Deploy to Azure
This template would create all Dev Box admin resources as per Dev Box quick start guide (/azure/dev-box/quickstart-create-dev-box). You can view all resources created, or directly go to DevPortal.microsoft.com to create your first Dev Box.
Deploy Dev Box Service with built-in image

Deploy to Azure
This template provides a way to deploy an Dev Box service with built-in image.

Terraform (AzAPI provider) resource definition

The networkConnections 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.DevCenter/networkConnections resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DevCenter/networkConnections@2024-10-01-preview"
  name = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      domainJoinType = "string"
      domainName = "string"
      domainPassword = "string"
      domainUsername = "string"
      networkingResourceGroupName = "string"
      organizationUnit = "string"
      subnetId = "string"
    }
  })
}

Property Values

Microsoft.DevCenter/networkConnections

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 63
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$ (required)
properties Properties of a Network Connection NetworkProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.DevCenter/networkConnections@2024-10-01-preview"

NetworkProperties

Name Description Value
domainJoinType AAD Join type. 'AzureADJoin'
'HybridAzureADJoin'
'None' (required)
domainName Active Directory domain name string
domainPassword The password for the account used to join domain string

Constraints:
Sensitive value. Pass in as a secure parameter.
domainUsername The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. string
networkingResourceGroupName The name for resource group where NICs will be placed. string
organizationUnit Active Directory domain Organization Unit (OU) string
subnetId The subnet to attach Virtual Machines to string

TrackedResourceTags

Name Description Value