{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-cloud-service-role-list-result-schema.json",
  "title": "CloudServiceRoleListResult",
  "description": "The list operation result.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-virtual-machines-cloudserviceroles-api-openapi.yml#/components/schemas/CloudServiceRoleListResult",
  "type": "object",
  "properties": {
    "value": {
      "description": "The list of resources.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/CloudServiceRole"
      }
    },
    "nextLink": {
      "description": "The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.",
      "type": "string"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "CloudServiceRole": {
      "description": "Describes a role of the cloud service.",
      "type": "object",
      "properties": {
        "id": {
          "description": "Resource id",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Resource name",
          "type": "string",
          "readOnly": true
        },
        "type": {
          "description": "Resource type",
          "type": "string",
          "readOnly": true
        },
        "location": {
          "description": "Resource location",
          "type": "string",
          "readOnly": true
        },
        "sku": {
          "$ref": "#/$defs/CloudServiceRoleSku"
        },
        "properties": {
          "$ref": "#/$defs/CloudServiceRoleProperties"
        }
      }
    },
    "CloudServiceRoleProperties": {
      "description": "The cloud service role properties.",
      "type": "object",
      "properties": {
        "uniqueId": {
          "description": "Specifies the ID which uniquely identifies a cloud service role.",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "CloudServiceRoleSku": {
      "description": "Describes the cloud service role sku.",
      "type": "object",
      "properties": {
        "name": {
          "description": "The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.",
          "type": "string"
        },
        "tier": {
          "description": "Specifies the tier of the cloud service. Possible Values are <br /><br /> **Standard** <br /><br /> **Basic**",
          "type": "string"
        },
        "capacity": {
          "format": "int64",
          "description": "Specifies the number of role instances in the cloud service.",
          "type": "integer"
        }
      }
    }
  }
}