RoleInstance

Describes the cloud service role instance.

Cloud ComputingComputeInfrastructure-as-a-ServiceInfrastructureVirtual Machines

Properties

Name Type Description
id string Resource Id
name string Resource Name.
type string Resource Type.
location string Resource Location.
tags object Resource tags.
sku object
properties object
View JSON Schema on GitHub

JSON Schema

microsoft-azure-virtual-machines-role-instance-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-role-instance-schema.json",
  "title": "RoleInstance",
  "description": "Describes the cloud service role instance.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-virtual-machines-cloudserviceroleinstances-api-openapi.yml#/components/schemas/RoleInstance",
  "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
    },
    "tags": {
      "description": "Resource tags.",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "readOnly": true
    },
    "sku": {
      "$ref": "#/$defs/InstanceSku"
    },
    "properties": {
      "$ref": "#/$defs/RoleInstanceProperties"
    }
  },
  "$defs": {
    "InstanceSku": {
      "description": "The role instance SKU.",
      "type": "object",
      "properties": {
        "name": {
          "description": "The sku name.",
          "type": "string",
          "readOnly": true
        },
        "tier": {
          "description": "The tier of the cloud service role instance.",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "ResourceInstanceViewStatus": {
      "description": "Instance view status.",
      "type": "object",
      "properties": {
        "code": {
          "description": "The status code.",
          "type": "string",
          "readOnly": true
        },
        "displayStatus": {
          "description": "The short localizable label for the status.",
          "type": "string",
          "readOnly": true
        },
        "message": {
          "description": "The detailed status message, including for alerts and error messages.",
          "type": "string",
          "readOnly": true
        },
        "time": {
          "format": "date-time",
          "description": "The time of the status.",
          "type": "string",
          "readOnly": true
        },
        "level": {
          "description": "The level code.",
          "enum": [
            "Info",
            "Warning",
            "Error"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "StatusLevelTypes",
            "modelAsString": false
          }
        }
      }
    },
    "RoleInstanceInstanceView": {
      "description": "The instance view of the role instance.",
      "type": "object",
      "properties": {
        "platformUpdateDomain": {
          "format": "int32",
          "description": "The Update Domain.",
          "type": "integer",
          "readOnly": true
        },
        "platformFaultDomain": {
          "format": "int32",
          "description": "The Fault Domain.",
          "type": "integer",
          "readOnly": true
        },
        "privateId": {
          "description": "Specifies a unique identifier generated internally for the cloud service associated with this role instance. <br /><br /> NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details.",
          "type": "string",
          "readOnly": true
        },
        "statuses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResourceInstanceViewStatus"
          },
          "x-ms-identifiers": [],
          "readOnly": true
        }
      }
    },
    "RoleInstanceNetworkProfile": {
      "description": "Describes the network profile for the role instance.",
      "type": "object",
      "properties": {
        "networkInterfaces": {
          "description": "Specifies the list of resource Ids for the network interfaces associated with the role instance.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/SubResource"
          },
          "readOnly": true
        }
      }
    },
    "RoleInstanceProperties": {
      "description": "Role instance properties.",
      "type": "object",
      "properties": {
        "networkProfile": {
          "$ref": "#/$defs/RoleInstanceNetworkProfile"
        },
        "instanceView": {
          "$ref": "#/$defs/RoleInstanceInstanceView"
        }
      }
    },
    "SubResource": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource Id"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-virtual-machines-role-instance"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.