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 sandboxGroups 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.ContainerInstance/sandboxGroups resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.ContainerInstance/sandboxGroups@2026-06-01-preview' = {
identity: {
type: 'string'
userAssignedIdentities: {
{customized property}: {}
}
}
location: 'string'
name: 'string'
properties: {
networkProfile: {
subnets: [
{
id: 'string'
}
]
}
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.ContainerInstance/sandboxGroups
| Name | Description | Value |
|---|---|---|
| identity | The managed service identities assigned to this resource. | ManagedServiceIdentity |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Min length = 1 Max length = 63 Pattern = ^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$ (required) |
| properties | The resource-specific properties for this resource. | SandboxGroupProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
ManagedServiceIdentity
| Name | Description | Value |
|---|---|---|
| type | Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). | 'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' (required) |
| userAssignedIdentities | The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. | UserAssignedIdentities |
SandboxGroupNetworkProfile
| Name | Description | Value |
|---|---|---|
| subnets | The list of subnets associated with the SandboxGroup. | SubnetReference[] |
SandboxGroupProperties
| Name | Description | Value |
|---|---|---|
| networkProfile | The network profile of the SandboxGroup. | SandboxGroupNetworkProfile |
SubnetReference
| Name | Description | Value |
|---|---|---|
| id | The ARM resource ID of the subnet. The caller must have Microsoft.Network/virtualNetworks/subnets/join/action permission on this subnet (enforced via a linked access check at create/update time). |
string (required) |
TrackedResourceTags
| Name | Description | Value |
|---|
UserAssignedIdentities
| Name | Description | Value |
|---|
UserAssignedIdentity
| Name | Description | Value |
|---|
ARM template resource definition
The sandboxGroups 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.ContainerInstance/sandboxGroups resource, add the following JSON to your template.
{
"type": "Microsoft.ContainerInstance/sandboxGroups",
"apiVersion": "2026-06-01-preview",
"name": "string",
"identity": {
"type": "string",
"userAssignedIdentities": {
"{customized property}": {
}
}
},
"location": "string",
"properties": {
"networkProfile": {
"subnets": [
{
"id": "string"
}
]
}
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.ContainerInstance/sandboxGroups
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2026-06-01-preview' |
| identity | The managed service identities assigned to this resource. | ManagedServiceIdentity |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Min length = 1 Max length = 63 Pattern = ^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$ (required) |
| properties | The resource-specific properties for this resource. | SandboxGroupProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.ContainerInstance/sandboxGroups' |
ManagedServiceIdentity
| Name | Description | Value |
|---|---|---|
| type | Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). | 'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' (required) |
| userAssignedIdentities | The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. | UserAssignedIdentities |
SandboxGroupNetworkProfile
| Name | Description | Value |
|---|---|---|
| subnets | The list of subnets associated with the SandboxGroup. | SubnetReference[] |
SandboxGroupProperties
| Name | Description | Value |
|---|---|---|
| networkProfile | The network profile of the SandboxGroup. | SandboxGroupNetworkProfile |
SubnetReference
| Name | Description | Value |
|---|---|---|
| id | The ARM resource ID of the subnet. The caller must have Microsoft.Network/virtualNetworks/subnets/join/action permission on this subnet (enforced via a linked access check at create/update time). |
string (required) |
TrackedResourceTags
| Name | Description | Value |
|---|
UserAssignedIdentities
| Name | Description | Value |
|---|
UserAssignedIdentity
| Name | Description | Value |
|---|
Usage Examples
Terraform (AzAPI provider) resource definition
The sandboxGroups 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.ContainerInstance/sandboxGroups resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ContainerInstance/sandboxGroups@2026-06-01-preview"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
networkProfile = {
subnets = [
{
id = "string"
}
]
}
}
}
}
Property Values
Microsoft.ContainerInstance/sandboxGroups
| Name | Description | Value |
|---|---|---|
| identity | The managed service identities assigned to this resource. | ManagedServiceIdentity |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Min length = 1 Max length = 63 Pattern = ^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$ (required) |
| properties | The resource-specific properties for this resource. | SandboxGroupProperties |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.ContainerInstance/sandboxGroups@2026-06-01-preview" |
ManagedServiceIdentity
| Name | Description | Value |
|---|---|---|
| type | Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). | 'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' (required) |
| userAssignedIdentities | The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. | UserAssignedIdentities |
SandboxGroupNetworkProfile
| Name | Description | Value |
|---|---|---|
| subnets | The list of subnets associated with the SandboxGroup. | SubnetReference[] |
SandboxGroupProperties
| Name | Description | Value |
|---|---|---|
| networkProfile | The network profile of the SandboxGroup. | SandboxGroupNetworkProfile |
SubnetReference
| Name | Description | Value |
|---|---|---|
| id | The ARM resource ID of the subnet. The caller must have Microsoft.Network/virtualNetworks/subnets/join/action permission on this subnet (enforced via a linked access check at create/update time). |
string (required) |
TrackedResourceTags
| Name | Description | Value |
|---|
UserAssignedIdentities
| Name | Description | Value |
|---|
UserAssignedIdentity
| Name | Description | Value |
|---|