Microsoft.ContainerService fleets/clusterMeshProfiles

Bicep resource definition

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

resource symbolicname 'Microsoft.ContainerService/fleets/clusterMeshProfiles@2026-06-02-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    memberSelector: {
      byLabel: 'string'
    }
  }
}

Property Values

Microsoft.ContainerService/fleets/clusterMeshProfiles

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 63
Pattern = ^[a-z0-9]([-a-z0-9]*[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: fleets
properties The resource-specific properties for this resource. ClusterMeshProfileProperties

ClusterMeshProfileProperties

Name Description Value
memberSelector Select the members of the mesh.
* Only key/value pairs with the = operator are accepted in the label selector.
* If empty or not specified, no Fleet members will be selected to join the mesh.
MemberSelector

MemberSelector

Name Description Value
byLabel Kubernetes-style label selector for selecting Fleet members, e.g. env=production. string

Constraints:
Max length = 512 (required)

ARM template resource definition

The fleets/clusterMeshProfiles resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.ContainerService/fleets/clusterMeshProfiles resource, add the following JSON to your template.

{
  "type": "Microsoft.ContainerService/fleets/clusterMeshProfiles",
  "apiVersion": "2026-06-02-preview",
  "name": "string",
  "properties": {
    "memberSelector": {
      "byLabel": "string"
    }
  }
}

Property Values

Microsoft.ContainerService/fleets/clusterMeshProfiles

Name Description Value
apiVersion The api version '2026-06-02-preview'
name The resource name string

Constraints:
Min length = 1
Max length = 63
Pattern = ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ (required)
properties The resource-specific properties for this resource. ClusterMeshProfileProperties
type The resource type 'Microsoft.ContainerService/fleets/clusterMeshProfiles'

ClusterMeshProfileProperties

Name Description Value
memberSelector Select the members of the mesh.
* Only key/value pairs with the = operator are accepted in the label selector.
* If empty or not specified, no Fleet members will be selected to join the mesh.
MemberSelector

MemberSelector

Name Description Value
byLabel Kubernetes-style label selector for selecting Fleet members, e.g. env=production. string

Constraints:
Max length = 512 (required)

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ContainerService/fleets/clusterMeshProfiles@2026-06-02-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      memberSelector = {
        byLabel = "string"
      }
    }
  }
}

Property Values

Microsoft.ContainerService/fleets/clusterMeshProfiles

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 63
Pattern = ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: fleets
properties The resource-specific properties for this resource. ClusterMeshProfileProperties
type The resource type "Microsoft.ContainerService/fleets/clusterMeshProfiles@2026-06-02-preview"

ClusterMeshProfileProperties

Name Description Value
memberSelector Select the members of the mesh.
* Only key/value pairs with the = operator are accepted in the label selector.
* If empty or not specified, no Fleet members will be selected to join the mesh.
MemberSelector

MemberSelector

Name Description Value
byLabel Kubernetes-style label selector for selecting Fleet members, e.g. env=production. string

Constraints:
Max length = 512 (required)