Azure Virtual Machines Cloud Service Operating Systems API

The CloudServiceOperatingSystems API from Azure Virtual Machines — 4 operation(s) for cloudserviceoperatingsystems.

GitHub OpenAPI

Operations 4

GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName} Cloud service operating systems get OS version #
GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions Cloud service operating systems list OS versions #
GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies/{osFamilyName} Cloud service operating systems get OS family #
GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies Cloud service operating systems list OS families #

Documentation

Specifications

SDKs

Schemas & Data

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/microsoft-azure-virtual-machines:microsoft-azure-virtual-machines-cloudserviceoperatingsystems-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

microsoft-azure-virtual-machines-cloudserviceoperatingsystems-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CloudServiceManagementClient Cloud Service Operating…
  description: The Cloud Service Management Client.
  version: '2024-11-04'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: CloudServiceOperatingSystems
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName}:
    get:
      tags:
      - CloudServiceOperatingSystems
      description: Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
      operationId: CloudServiceOperatingSystems_GetOSVersion
      parameters:
      - in: path
        name: location
        description: Name of the location that the OS version pertains to.
        required: true
        schema:
          type: string
      - in: path
        name: osVersionName
        description: Name of the OS version.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OSVersion'
      summary: Cloud service operating systems get OS version
      x-summary-source: derived
  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions:
    get:
      tags:
      - CloudServiceOperatingSystems
      description: Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions.
      operationId: CloudServiceOperatingSystems_ListOSVersions
      parameters:
      - in: path
        name: location
        description: Name of the location that the OS versions pertain to.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OSVersionListResult'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Cloud service operating systems list OS versions
      x-summary-source: derived
  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies/{osFamilyName}:
    get:
      tags:
      - CloudServiceOperatingSystems
      description: Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
      operationId: CloudServiceOperatingSystems_GetOSFamily
      parameters:
      - in: path
        name: location
        description: Name of the location that the OS family pertains to.
        required: true
        schema:
          type: string
      - in: path
        name: osFamilyName
        description: Name of the OS family.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OSFamily'
      summary: Cloud service operating systems get OS family
      x-summary-source: derived
  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies:
    get:
      tags:
      - CloudServiceOperatingSystems
      description: Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families.
      operationId: CloudServiceOperatingSystems_ListOSFamilies
      parameters:
      - in: path
        name: location
        description: Name of the location that the OS families pertain to.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OSFamilyListResult'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Cloud service operating systems list OS families
      x-summary-source: derived
components:
  schemas:
    OSFamilyListResult:
      description: The list operation result.
      type: object
      properties:
        value:
          description: The list of resources.
          type: array
          items:
            $ref: '#/components/schemas/OSFamily'
        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
    OSFamilyProperties:
      description: OS family properties.
      type: object
      properties:
        name:
          description: The OS family name.
          type: string
          readOnly: true
        label:
          description: The OS family label.
          type: string
          readOnly: true
        versions:
          description: List of OS versions belonging to this family.
          type: array
          items:
            $ref: '#/components/schemas/OSVersionPropertiesBase'
          x-ms-identifiers:
          - version
          readOnly: true
    OSVersionPropertiesBase:
      description: Configuration view of an OS version.
      type: object
      properties:
        version:
          description: The OS version.
          type: string
          readOnly: true
        label:
          description: The OS version label.
          type: string
          readOnly: true
        isDefault:
          description: Specifies whether this is the default OS version for its family.
          type: boolean
          readOnly: true
        isActive:
          description: Specifies whether this OS version is active.
          type: boolean
          readOnly: true
    OSFamily:
      description: Describes a cloud service OS family.
      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
        properties:
          $ref: '#/components/schemas/OSFamilyProperties'
    CloudError:
      type: object
      x-ms-external: true
      properties:
        error:
          $ref: '#/components/schemas/ApiError'
      description: An error response from the Compute service.
    OSVersionProperties:
      description: OS version properties.
      type: object
      properties:
        family:
          description: The family of this OS version.
          type: string
          readOnly: true
        familyLabel:
          description: The family label of this OS version.
          type: string
          readOnly: true
        version:
          description: The OS version.
          type: string
          readOnly: true
        label:
          description: The OS version label.
          type: string
          readOnly: true
        isDefault:
          description: Specifies whether this is the default OS version for its family.
          type: boolean
          readOnly: true
        isActive:
          description: Specifies whether this OS version is active.
          type: boolean
          readOnly: true
    OSVersion:
      description: Describes a cloud service OS version.
      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
        properties:
          $ref: '#/components/schemas/OSVersionProperties'
    OSVersionListResult:
      description: The list operation result.
      type: object
      properties:
        value:
          description: The list of resources.
          type: array
          items:
            $ref: '#/components/schemas/OSVersion'
        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
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      required: true
      description: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
      schema:
        type: string
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: Client Api Version.
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.