{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-kubernetes-service/json-schema/microsoft-azure-kubernetes-service-fleet-member-list-result-schema.json",
  "title": "FleetMemberListResult",
  "description": "The response of a FleetMember list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-kubernetes-service-fleetmembers-api-openapi.yml#/components/schemas/FleetMemberListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The FleetMember items on this page",
      "items": {
        "$ref": "#/$defs/FleetMember"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "CiliumProperties": {
      "type": "object",
      "description": "The Cilium specific properties of the member cluster.",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32",
          "description": "Cilium requires each cluster to be assigned a unique numeric cluster id from 1 - 255. The id is managed by Fleet and cannot be set by the user.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Cilium requires each cluster to be assigned a unique human-readable name. The name is managed by Fleet, based on the Fleet Member name, and cannot be set by the user.",
          "readOnly": true
        }
      },
      "required": [
        "id",
        "name"
      ]
    },
    "ClusterMeshProfileResourceId": {
      "type": "string",
      "format": "arm-id",
      "description": "A type definition that refers the id to an Azure Resource Manager resource.",
      "x-ms-arm-id-details": {
        "allowedResources": [
          {
            "type": "Microsoft.ContainerService/fleets/clusterMeshProfiles"
          }
        ]
      }
    },
    "ClusterResourceId": {
      "type": "string",
      "format": "arm-id",
      "description": "A type definition that refers the id to an Azure Resource Manager resource.",
      "x-ms-arm-id-details": {
        "allowedResources": [
          {
            "type": "Microsoft.ContainerService/managedClusters"
          }
        ]
      }
    },
    "FleetMember": {
      "type": "object",
      "description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/FleetMemberProperties",
          "description": "The resource-specific properties for this resource.",
          "x-ms-client-flatten": true
        },
        "eTag": {
          "type": "string",
          "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "FleetMemberProperties": {
      "type": "object",
      "description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.",
      "properties": {
        "clusterResourceId": {
          "$ref": "#/$defs/ClusterResourceId",
          "description": "The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "group": {
          "type": "string",
          "description": "The group this member belongs to for multi-cluster update management.",
          "minLength": 1,
          "maxLength": 50,
          "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
        },
        "provisioningState": {
          "$ref": "#/$defs/FleetMemberProvisioningState",
          "description": "The status of the last operation.",
          "readOnly": true
        },
        "labels": {
          "type": "object",
          "description": "The labels for the fleet member.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "status": {
          "$ref": "#/$defs/FleetMemberStatus",
          "description": "Status information of the last operation for fleet member.",
          "readOnly": true
        },
        "meshProperties": {
          "$ref": "#/$defs/MeshProperties",
          "description": "The Mesh Member Properties associated with this Fleet Member.",
          "readOnly": true
        }
      },
      "required": [
        "clusterResourceId"
      ]
    },
    "FleetMemberProvisioningState": {
      "type": "string",
      "description": "The provisioning state of the last accepted operation.",
      "enum": [
        "Succeeded",
        "Failed",
        "Canceled",
        "Joining",
        "Leaving",
        "Updating"
      ],
      "x-ms-enum": {
        "name": "FleetMemberProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Resource has been created."
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Resource creation failed."
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Resource creation was canceled."
          },
          {
            "name": "Joining",
            "value": "Joining",
            "description": "The provisioning state of a member joining a fleet."
          },
          {
            "name": "Leaving",
            "value": "Leaving",
            "description": "The provisioning state of a member leaving a fleet."
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "The provisioning state of a member being updated."
          }
        ]
      },
      "readOnly": true
    },
    "FleetMemberStatus": {
      "type": "object",
      "description": "Status information for the fleet member",
      "properties": {
        "lastOperationId": {
          "type": "string",
          "description": "The last operation ID for the fleet member",
          "readOnly": true
        },
        "lastOperationError": {
          "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail",
          "description": "The last operation error of the fleet member",
          "readOnly": true
        }
      }
    },
    "MeshMemberState": {
      "type": "string",
      "description": "Mesh member state.",
      "enum": [
        "Connecting",
        "Connected",
        "Disconnecting",
        "Failed"
      ],
      "x-ms-enum": {
        "name": "MeshMemberState",
        "modelAsString": true,
        "values": [
          {
            "name": "Connecting",
            "value": "Connecting",
            "description": "The member is connecting to the mesh."
          },
          {
            "name": "Connected",
            "value": "Connected",
            "description": "The member is connected to the mesh."
          },
          {
            "name": "Disconnecting",
            "value": "Disconnecting",
            "description": "The member is disconnecting from the mesh."
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "The member failed to connect due to an error."
          }
        ]
      }
    },
    "MeshMemberStatus": {
      "type": "object",
      "description": "Status of the mesh member.",
      "properties": {
        "state": {
          "$ref": "#/$defs/MeshMemberState",
          "description": "The mesh member state.",
          "readOnly": true
        },
        "lastUpdatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "When the status was last updated.",
          "readOnly": true
        },
        "lastOperationId": {
          "type": "string",
          "description": "The last operation ID that affected the mesh properties of the fleet member.",
          "readOnly": true
        },
        "error": {
          "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail",
          "description": "The error affecting this member.",
          "readOnly": true
        }
      },
      "required": [
        "state"
      ]
    },
    "MeshProperties": {
      "type": "object",
      "description": "The Mesh Member data for a Fleet Member resource.",
      "properties": {
        "ciliumProperties": {
          "$ref": "#/$defs/CiliumProperties",
          "description": "The Cilium cluster properties.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/MeshMemberStatus",
          "description": "The status of the mesh member.",
          "readOnly": true
        },
        "clusterMeshProfileResourceId": {
          "$ref": "#/$defs/ClusterMeshProfileResourceId",
          "description": "Resource id of the cluster mesh profile associated with this mesh member.",
          "readOnly": true
        }
      },
      "required": [
        "ciliumProperties",
        "status",
        "clusterMeshProfileResourceId"
      ]
    }
  }
}