Microsoft.DevCenter networkConnections 2023-01-01-preview

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@2023-01-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    domainJoinType: 'string'
    domainName: 'string'
    domainPassword: 'string'
    domainUsername: 'string'
    networkingResourceGroupName: 'string'
    organizationUnit: 'string'
    subnetId: 'string'
  }
}

Property values

networkConnections

Name Description Value
name The resource name string (required)
location The geo-location where the resource lives string (required)
tags Resource tags. Dictionary of tag names and values. See Tags in templates
properties Properties of a Network Connection NetworkProperties

NetworkProperties

Name Description Value
domainJoinType AAD Join type. 'AzureADJoin'
'HybridAzureADJoin' (required)
domainName Active Directory domain name string
domainPassword The password for the account used to join domain string
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

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": "2023-01-01-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "domainJoinType": "string",
    "domainName": "string",
    "domainPassword": "string",
    "domainUsername": "string",
    "networkingResourceGroupName": "string",
    "organizationUnit": "string",
    "subnetId": "string"
  }
}

Property values

networkConnections

Name Description Value
type The resource type 'Microsoft.DevCenter/networkConnections'
apiVersion The resource api version '2023-01-01-preview'
name The resource name string (required)
location The geo-location where the resource lives string (required)
tags Resource tags. Dictionary of tag names and values. See Tags in templates
properties Properties of a Network Connection NetworkProperties

NetworkProperties

Name Description Value
domainJoinType AAD Join type. 'AzureADJoin'
'HybridAzureADJoin' (required)
domainName Active Directory domain name string
domainPassword The password for the account used to join domain string
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

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@2023-01-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      domainJoinType = "string"
      domainName = "string"
      domainPassword = "string"
      domainUsername = "string"
      networkingResourceGroupName = "string"
      organizationUnit = "string"
      subnetId = "string"
    }
  })
}

Property values

networkConnections

Name Description Value
type The resource type "Microsoft.DevCenter/networkConnections@2023-01-01-preview"
name The resource name string (required)
location The geo-location where the resource lives string (required)
parent_id To deploy to a resource group, use the ID of that resource group. string (required)
tags Resource tags. Dictionary of tag names and values.
properties Properties of a Network Connection NetworkProperties

NetworkProperties

Name Description Value
domainJoinType AAD Join type. "AzureADJoin"
"HybridAzureADJoin" (required)
domainName Active Directory domain name string
domainPassword The password for the account used to join domain string
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