Microsoft Azure Guest Agents API

The GuestAgents API from Microsoft Azure, for guestagents.

GitHub OpenAPI

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachines/{virtualMachineName}/guestAgents/{name} Install a guest agent on a VMware vSphere VM · Microsoft Azure Implements Guestagent Put Method #
Ask an LLM
“How do I enable guest management on an Arc-enabled VMware VM?”
“Can I create or update the guest agent on a vSphere virtual machine?”
Tell an agent
Create guest agent {agent} on vSphere VM {vm} in resource group {resource_group}, subscription {subscription} with {properties}.
Enable VMware guest management on VM {vm} as agent {agent}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachines/{virtualMachineName}/guestAgents/{name} Get the guest agent on a VMware vSphere VM · Microsoft Azure Gets Guestagent #
Ask an LLM
“How do I check the guest agent status on an Arc-enabled VMware vSphere VM?”
“What does the guest agent record for a vSphere virtual machine show?”
Tell an agent
Get guest agent {agent} on vSphere VM {vm} in resource group {resource_group}, subscription {subscription}.
Show VMware guest agent {agent} details for virtual machine {vm}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachines/{virtualMachineName}/guestAgents/{name} Remove the guest agent from a VMware vSphere VM · Microsoft Azure Deletes An Guestagent #
Ask an LLM
“How do I remove the guest agent from an Arc-enabled VMware VM?”
“Can I turn off guest management on a vSphere virtual machine?”
Tell an agent destructive · confirm first
Delete guest agent {agent} from vSphere VM {vm} in resource group {resource_group}, subscription {subscription}.
Disable VMware guest management by removing agent {agent} on VM {vm}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachines/{virtualMachineName}/guestAgents List guest agents on a VMware vSphere VM · Microsoft Azure Implements Get Guestagent In A Vm #
Ask an LLM
“Which guest agents are installed on my Arc-enabled vSphere VM?”
“Can I list guest agents for a VMware virtual machine?”
Tell an agent
List guest agents on vSphere VM {vm} in resource group {resource_group}, subscription {subscription}.
Show all VMware guest agents for virtual machine {vm}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/guestAgents/{guestAgentName} Install a guest agent on an SCVMM VM · Microsoft Azure Implements Guestagent Put Method #
Ask an LLM
“How do I enable guest management on an Arc-enabled SCVMM virtual machine?”
“Can I create or update a System Center VMM guest agent?”
Tell an agent
Create guest agent {agent} on SCVMM VM {vm} in resource group {resource_group}, subscription {subscription} with {properties}.
Enable System Center VMM guest management on VM {vm} as agent {agent}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/guestAgents/{guestAgentName} Get the guest agent on an SCVMM VM · Microsoft Azure Gets Guestagent #
Ask an LLM
“How do I check the guest agent on an Arc-enabled System Center VMM virtual machine?”
“What provisioning state does my SCVMM VM guest agent report?”
Tell an agent
Get guest agent {agent} on SCVMM VM {vm} in resource group {resource_group}, subscription {subscription}.
Show System Center VMM guest agent {agent} for VM {vm}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/guestAgents/{guestAgentName} Remove the guest agent from an SCVMM VM · Microsoft Azure Deletes An Guestagent #
Ask an LLM
“What is the way to uninstall the guest agent from a System Center VMM machine in Azure Arc?”
“Can I disable guest management on a System Center VMM machine?”
Tell an agent destructive · confirm first
Delete guest agent {agent} from SCVMM VM {vm} in resource group {resource_group}, subscription {subscription}.
Turn off System Center VMM guest management by removing agent {agent} on VM {vm}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/guestAgents List guest agents on an SCVMM VM · Microsoft Azure Implements Get Guestagent In A Vm #
Ask an LLM
“Which guest agents exist on my Arc-enabled SCVMM virtual machine?”
“Can I list the System Center VMM guest agents for one VM?”
Tell an agent
List guest agents on SCVMM VM {vm} in resource group {resource_group}, subscription {subscription}.
Show all System Center VMM guest agents for machine {vm}.

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:microsoft-azure-guestagents-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-guestagents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Azure Arc VMware Management Service Guest…
  description: Self service experience for VMware.
  version: 2023-03-01-preview
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: GuestAgents
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachines/{virtualMachineName}/guestAgents/{name}
  : put:
      tags:
      - GuestAgents
      operationId: microsoftAzureGuestagentsCreate
      description: Create Or Update GuestAgent.
      summary: Microsoft Azure Implements Guestagent Put Method
      x-ms-examples:
        CreateGuestAgent:
          $ref: ./examples/CreateGuestAgent.json
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - in: path
        name: virtualMachineName
        required: true
        description: Name of the vm.
        schema:
          type: string
      - in: path
        name: name
        required: true
        description: Name of the guestAgents.
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Arm resource update successful.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GuestAgent'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GuestAgent'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GuestAgent'
        description: Request payload.
    get:
      tags:
      - GuestAgents
      operationId: microsoftAzureGuestagentsGet
      summary: Microsoft Azure Gets Guestagent
      description: Implements GuestAgent GET method.
      x-ms-examples:
        GetGuestAgent:
          $ref: ./examples/GetGuestAgent.json
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - in: path
        name: virtualMachineName
        required: true
        description: Name of the vm.
        schema:
          type: string
      - in: path
        name: name
        required: true
        description: Name of the GuestAgent.
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GuestAgent'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
    delete:
      tags:
      - GuestAgents
      operationId: microsoftAzureGuestagentsDelete
      summary: Microsoft Azure Deletes An Guestagent
      description: Implements GuestAgent DELETE method.
      x-ms-examples:
        DeleteGuestAgent:
          $ref: ./examples/DeleteGuestAgent.json
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - in: path
        name: virtualMachineName
        required: true
        description: Name of the vm.
        schema:
          type: string
      - in: path
        name: name
        required: true
        description: Name of the GuestAgent.
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
        '202':
          description: Accepted
          headers:
            Location:
              schema:
                type: string
        '204':
          description: No Content
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachines/{virtualMachineName}/guestAgents
  : get:
      tags:
      - GuestAgents
      operationId: microsoftAzureGuestagentsList
      summary: Microsoft Azure Implements Get Guestagent In A Vm
      description: Returns the list of GuestAgent of the given vm.
      x-ms-examples:
        GuestAgentListByVm:
          $ref: ./examples/GuestAgent_ListByVm.json
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - in: path
        name: virtualMachineName
        required: true
        description: Name of the vm.
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GuestAgentList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/guestAgents/{guestAgentName}
  : put:
      tags:
      - GuestAgents
      operationId: microsoftAzureGuestagentsCreate
      description: Create Or Update GuestAgent.
      summary: Microsoft Azure Implements Guestagent Put Method
      x-ms-examples:
        CreateGuestAgent:
          $ref: ./examples/CreateGuestAgent.json
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - in: path
        name: virtualMachineName
        required: true
        description: Name of the vm.
        schema:
          type: string
      - in: path
        name: guestAgentName
        required: true
        description: Name of the guestAgents.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GuestAgent'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GuestAgent'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GuestAgent'
        description: Request payload.
    get:
      tags:
      - GuestAgents
      operationId: microsoftAzureGuestagentsGet
      summary: Microsoft Azure Gets Guestagent
      description: Implements GuestAgent GET method.
      x-ms-examples:
        GetGuestAgent:
          $ref: ./examples/GetGuestAgent.json
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - in: path
        name: virtualMachineName
        required: true
        description: Name of the vm.
        schema:
          type: string
      - in: path
        name: guestAgentName
        required: true
        description: Name of the GuestAgent.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GuestAgent'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
      - GuestAgents
      operationId: microsoftAzureGuestagentsDelete
      summary: Microsoft Azure Deletes An Guestagent
      description: Implements GuestAgent DELETE method.
      x-ms-examples:
        DeleteGuestAgent:
          $ref: ./examples/DeleteGuestAgent.json
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - in: path
        name: virtualMachineName
        required: true
        description: Name of the vm.
        schema:
          type: string
      - in: path
        name: guestAgentName
        required: true
        description: Name of the GuestAgent.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Success
        '202':
          description: Accepted
        '204':
          description: No Content
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/guestAgents
  : get:
      tags:
      - GuestAgents
      operationId: microsoftAzureGuestagentsListbyvm
      summary: Microsoft Azure Implements Get Guestagent In A Vm
      description: Returns the list of GuestAgent of the given vm.
      x-ms-examples:
        GuestAgentListByVm:
          $ref: ./examples/GuestAgent_ListByVm.json
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - in: path
        name: virtualMachineName
        required: true
        description: Name of the vm.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GuestAgentList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
components:
  parameters:
    subscriptionId:
      in: path
      name: subscriptionId
      description: The Subscription ID.
      required: true
      schema:
        type: string
    api-version:
      in: query
      name: api-version
      description: Client Api Version.
      required: true
      schema:
        type: string
    resourceGroupName:
      in: path
      name: resourceGroupName
      description: The Resource Group Name.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      required: true
      description: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
      schema:
        type: string
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: The API version to be used with the HTTP request (e.g. YYYY-MM-DD).
      schema:
        type: string
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      required: true
      description: The name of the resource group.
      x-ms-parameter-location: method
      schema:
        type: string
  schemas:
    ProvisioningAction:
      description: Defines the different types of operations for guest agent.
      enum:
      - install
      - uninstall
      - repair
      type: string
      x-ms-enum:
        modelAsString: true
        name: ProvisioningAction
    HttpProxyConfiguration:
      description: HTTP Proxy configuration for the VM.
      type: object
      properties:
        httpsProxy:
          description: Gets or sets httpsProxy url.
          type: string
    GuestAgentList:
      description: List of GuestAgent.
      type: object
      properties:
        nextLink:
          description: Url to follow for getting next page of GuestAgent.
          type: string
        value:
          description: Array of GuestAgent
          type: array
          items:
            $ref: '#/components/schemas/GuestAgent'
      required:
      - value
    GuestAgent:
      description: Defines the GuestAgent.
      required:
      - properties
      type: object
      allOf:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource
        description: The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags.
      properties:
        properties:
          x-ms-client-flatten: true
          description: Resource properties.
          $ref: '#/components/schemas/GuestAgentProperties'
      x-ms-azure-resource: true
    GuestCredential:
      description: Username / Password Credentials to connect to guest.
      type: object
      properties:
        username:
          description: Gets or sets username to connect with the guest.
          type: string
        password:
          description: Gets or sets the password to connect with the guest.
          type: string
          x-ms-mutability:
          - create
          - update
          x-ms-secret: true
    GuestAgentProperties:
      description: Describes the properties of a Virtual Machine Guest Agent.
      type: object
      properties:
        uuid:
          description: Gets or sets a unique identifier for this resource.
          type: string
          readOnly: true
        credentials:
          description: Username / Password Credentials to provision guest agent.
          $ref: '#/components/schemas/GuestCredential'
        privateLinkScopeResourceId:
          type: string
          format: arm-id
          description: The resource id of the private link scope this machine is assigned to, if any.
        httpProxyConfig:
          description: HTTP Proxy configuration for the VM.
          $ref: '#/components/schemas/HttpProxyConfiguration'
        provisioningAction:
          description: Gets or sets the guest agent provisioning action.
          $ref: '#/components/schemas/ProvisioningAction'
          type: string
        status:
          description: Gets or sets the guest agent status.
          type: string
          readOnly: true
        customResourceName:
          description: Gets the name of the corresponding resource in Kubernetes.
          type: string
          readOnly: true
        statuses:
          description: The resource status information.
          readOnly: true
          type: array
          items:
            $ref: '#/components/schemas/ResourceStatus'
          x-ms-identifiers:
          - type
        provisioningState:
          $ref: '#/components/schemas/ResourceProvisioningState'
          description: Gets the provisioning state.
          readOnly: true
    ResourceStatus:
      description: The resource status information.
      type: object
      properties:
        type:
          description: The type of the condition.
          type: string
          readOnly: true
        status:
          description: Status of the condition.
          type: string
          readOnly: true
        reason:
          description: The reason for the condition's status.
          type: string
          readOnly: true
        message:
          description: A human readable message indicating details about the status.
          type: string
          readOnly: true
        severity:
          description: Severity with which to treat failures of this type of condition.
          type: string
          readOnly: true
        lastUpdatedAt:
          description: The last update time for this condition.
          type: string
          format: date-time
          readOnly: true
    ResourceProvisioningState:
      type: string
      description: The current deployment state of resource.
      enum:
      - Succeeded
      - Failed
      - Canceled
      - Provisioning
      - Updating
      - Deleting
      - Accepted
      - Created
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
    ErrorResponse:
      description: Error response.
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorDefinition'
          description: The error details.
    ErrorDefinition:
      description: Error definition.
      type: object
      properties:
        code:
          description: Service specific error code which serves as the substatus for the HTTP error code.
          type: string
          readOnly: true
        message:
          description: Description of the error.
          type: string
          readOnly: true
        details:
          description: Internal error details.
          type: array
          items:
            $ref: '#/components/schemas/ErrorDefinition'
          x-ms-identifiers: []
          readOnly: true
  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.