Azure Arc MachineExtensions Setup API
The MachineExtensions Setup API from Azure Arc — 1 operation(s) for machineextensions setup.
The MachineExtensions Setup API from Azure Arc — 1 operation(s) for machineextensions setup.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/microsoft-azure-arc:microsoft-azure-arc-machineextensions-setup-api"
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.
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: 3.2.0
info:
title: HybridComputeManagementClient MachineExtensions Setup API
version: '2026-09-01'
description: Azure Arc API reference for managing connected machines, machine extensions, run commands, gateways, licenses, license profiles, private link scopes, and related HybridCompute resources.
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: MachineExtensions Setup
paths:
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/addExtensions
: post:
operationId: SetupExtensions
tags:
- MachineExtensions Setup
description: The operation to Setup Machine Extensions.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: machineName
in: path
description: The name of the hybrid machine.
required: true
schema:
type: string
maxLength: 54
minLength: 1
pattern: ^[a-zA-Z0-9-_\.]{1,54}$
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/SetupExtensionRequest'
'202':
description: Resource operation accepted.
headers:
Azure-AsyncOperation:
description: A link to the status monitor
schema:
type: string
format: uri
Location:
description: The Location header contains the URL where the status of the long running operation can be checked.
schema:
type: string
Retry-After:
description: The Retry-After header can indicate how long the client should wait before polling the operation status.
schema:
type: integer
format: int32
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
final-state-schema: '#/definitions/SetupExtensionRequest'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SetupExtensionRequest'
description: Parameters supplied to the Setup Extensions operation.
required: true
summary: Setup extensions
x-summary-source: derived
components:
schemas:
MachineExtensionProperties:
type: object
description: Describes the properties of a Machine Extension.
properties:
forceUpdateTag:
type: string
description: How the extension handler should be forced to update even if the extension configuration has not changed.
publisher:
type: string
description: The name of the extension handler publisher.
type:
type: string
description: Specifies the type of the extension; an example is "CustomScriptExtension".
typeHandlerVersion:
type: string
description: Specifies the version of the script handler.
enableAutomaticUpgrade:
type: boolean
description: Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available.
autoUpgradeMinorVersion:
type: boolean
description: Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
settings:
type: object
description: Json formatted public settings for the extension.
additionalProperties: {}
protectedSettings:
type: object
description: The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
additionalProperties: {}
provisioningState:
type: string
description: The provisioning state, which only appears in the response.
readOnly: true
instanceView:
$ref: '#/components/schemas/MachineExtensionInstanceView'
description: The machine extension instance view.
ErrorResponse:
type: object
title: Error response
description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
properties:
error:
$ref: '#/components/schemas/ErrorDetail'
description: The error object.
StatusLevelTypes:
type: string
description: The level code.
enum:
- Info
- Warning
- Error
x-ms-enum:
name: StatusLevelTypes
modelAsString: true
values:
- name: Info
value: Info
description: Info
- name: Warning
value: Warning
description: Warning
- name: Error
value: Error
description: Error
SetupExtensionRequest:
type: object
properties:
extensions:
type: array
description: The list of extensions
items:
$ref: '#/components/schemas/MachineExtensionProperties'
MachineExtensionInstanceView:
type: object
description: Describes the Machine Extension Instance View.
properties:
name:
type: string
description: The machine extension name.
type:
type: string
description: Specifies the type of the extension; an example is "CustomScriptExtension".
typeHandlerVersion:
type: string
description: Specifies the version of the script handler.
status:
$ref: '#/components/schemas/MachineExtensionInstanceViewStatus'
description: Instance view status.
ErrorDetail:
type: object
description: The error detail.
properties:
code:
type: string
description: The error code.
readOnly: true
message:
type: string
description: The error message.
readOnly: true
target:
type: string
description: The error target.
readOnly: true
details:
type: array
description: The error details.
items:
$ref: '#/components/schemas/ErrorDetail'
readOnly: true
x-ms-identifiers:
- message
- target
additionalInfo:
type: array
description: The error additional info.
items:
$ref: '#/components/schemas/ErrorAdditionalInfo'
readOnly: true
x-ms-identifiers: []
MachineExtensionInstanceViewStatus:
type: object
description: Instance view status.
properties:
code:
type: string
description: The status code.
level:
$ref: '#/components/schemas/StatusLevelTypes'
description: The level code.
displayStatus:
type: string
description: The short localizable label for the status.
message:
type: string
description: The detailed status message, including for alerts and error messages.
time:
type: string
format: date-time
description: The time of the status.
parameters:
ResourceGroupNameParameter:
name: resourceGroupName
in: path
description: The name of the resource group. The name is case insensitive.
required: true
x-ms-parameter-location: method
schema:
type: string
maxLength: 90
minLength: 1
SubscriptionIdParameter:
name: subscriptionId
in: path
description: The ID of the target subscription. The value must be an UUID.
required: true
schema:
type: string
format: uuid
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
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.