Azure Automation Automation Account API

The AutomationAccount API from Azure Automation — 3 operation(s) for automationaccount.

GitHub OpenAPI

Operations 6

GET /subscriptions/{subscriptionId}/providers/Microsoft.Automation/automationAccounts Lists the Automation Accounts within an Azure subscription #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts Automation account list by resource group #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName} Automation account get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName} Automation account create or update #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName} Automation account update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName} Automation account delete #

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-automation:microsoft-azure-automation-automationaccount-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-automation-automationaccount-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AutomationManagementClient Automation Account API
  version: '2024-10-23'
  description: Automation Client
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: AutomationAccount
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Automation/automationAccounts:
    get:
      operationId: AutomationAccount_List
      tags:
      - AutomationAccount
      summary: Lists the Automation Accounts within an Azure subscription
      description: Retrieve a list of accounts within a given subscription.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutomationAccountListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts:
    get:
      operationId: AutomationAccount_ListByResourceGroup
      tags:
      - AutomationAccount
      description: Retrieve a list of accounts within a given resource group.
      externalDocs:
        url: http://aka.ms/azureautomationsdk/automationaccountoperations
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutomationAccountListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Automation account list by resource group
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
  : get:
      operationId: AutomationAccount_Get
      tags:
      - AutomationAccount
      description: Get information about an Automation Account.
      externalDocs:
        url: http://aka.ms/azureautomationsdk/automationaccountoperations
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: automationAccountName
        in: path
        description: The name of the automation account.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutomationAccount'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Automation account get
      x-summary-source: derived
    put:
      operationId: AutomationAccount_CreateOrUpdate
      tags:
      - AutomationAccount
      description: Create or update automation account.
      externalDocs:
        url: http://aka.ms/azureautomationsdk/automationaccountoperations
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: automationAccountName
        in: path
        description: The name of the automation account.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'AutomationAccount' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutomationAccount'
        '201':
          description: Resource 'AutomationAccount' create operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutomationAccount'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AutomationAccountCreateOrUpdateParameters'
        description: Parameters supplied to the create or update automation account.
        required: true
      summary: Automation account create or update
      x-summary-source: derived
    patch:
      operationId: AutomationAccount_Update
      tags:
      - AutomationAccount
      description: Update an automation account.
      externalDocs:
        url: http://aka.ms/azureautomationsdk/automationaccountoperations
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: automationAccountName
        in: path
        description: The name of the automation account.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutomationAccount'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AutomationAccountUpdateParameters'
        description: Parameters supplied to the update automation account.
        required: true
      summary: Automation account update
      x-summary-source: derived
    delete:
      operationId: AutomationAccount_Delete
      tags:
      - AutomationAccount
      description: Delete an automation account.
      externalDocs:
        url: http://aka.ms/azureautomationsdk/automationaccountoperations
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: automationAccountName
        in: path
        description: The name of the automation account.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource deleted successfully.
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Automation account delete
      x-summary-source: derived
components:
  schemas:
    ResourceIdentityType:
      type: string
      description: The identity type.
      enum:
      - SystemAssigned
      - UserAssigned
      - SystemAssigned, UserAssigned
      - None
      x-ms-enum:
        name: ResourceIdentityType
        modelAsString: false
        values:
        - name: SystemAssigned
          value: SystemAssigned
          description: SystemAssigned
        - name: UserAssigned
          value: UserAssigned
          description: UserAssigned
        - name: SystemAssigned, UserAssigned
          value: SystemAssigned, UserAssigned
          description: SystemAssigned, UserAssigned
        - name: None
          value: None
          description: None
    AutomationAccountUpdateParameters:
      type: object
      description: The parameters supplied to the update automation account operation.
      properties:
        properties:
          $ref: '#/components/schemas/AutomationAccountUpdateProperties'
          description: Gets or sets account update properties.
          x-ms-client-flatten: true
        name:
          type: string
          description: Gets or sets the name of the resource.
        location:
          type: string
          description: Gets or sets the location of the resource.
        identity:
          $ref: '#/components/schemas/Identity'
          description: Sets the identity property for automation account
        tags:
          type: object
          description: Gets or sets the tags attached to the resource.
          additionalProperties:
            type: string
    UserAssignedIdentitiesProperties:
      type: object
      properties:
        principalId:
          type: string
          description: The principal id of user assigned identity.
          readOnly: true
        clientId:
          type: string
          description: The client id of user assigned identity.
          readOnly: true
    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.
    Sku:
      type: object
      description: The account SKU.
      properties:
        name:
          $ref: '#/components/schemas/SkuNameEnum'
          description: Gets or sets the SKU name of the account.
        family:
          type: string
          description: Gets or sets the SKU family.
        capacity:
          type: integer
          format: int32
          description: Gets or sets the SKU capacity.
      required:
      - name
    KeyVaultProperties:
      type: object
      description: Settings concerning key vault encryption for a configuration store.
      properties:
        keyvaultUri:
          type: string
          description: The URI of the key vault key used to encrypt data.
        keyName:
          type: string
          description: The name of key used to encrypt data.
        keyVersion:
          type: string
          description: The key version of the key used to encrypt data.
    EncryptionPropertiesIdentity:
      type: object
      description: User identity used for CMK.
      properties:
        userAssignedIdentity:
          description: 'The user identity used for CMK. It will be an ARM resource id in the form: ''/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}''.'
    PrivateEndpointConnectionProperties:
      type: object
      description: Properties of a private endpoint connection.
      properties:
        privateEndpoint:
          $ref: '#/components/schemas/PrivateEndpointProperty'
          description: Private endpoint which the connection belongs to.
        groupIds:
          type: array
          description: Gets the groupIds.
          items:
            type: string
        privateLinkServiceConnectionState:
          $ref: '#/components/schemas/PrivateLinkServiceConnectionStateProperty'
          description: Connection State of the Private Endpoint Connection.
    AutomationAccountProperties:
      type: object
      description: Definition of the account property.
      properties:
        sku:
          $ref: '#/components/schemas/Sku'
          description: Gets or sets the SKU of account.
        lastModifiedBy:
          type: string
          description: Gets or sets the last modified by.
        state:
          $ref: '#/components/schemas/AutomationAccountState'
          description: Gets status of account.
          readOnly: true
        creationTime:
          type: string
          format: date-time
          description: Gets the creation time.
          readOnly: true
        lastModifiedTime:
          type: string
          format: date-time
          description: Gets the last modified time.
          readOnly: true
        description:
          type: string
          description: Gets or sets the description.
        encryption:
          $ref: '#/components/schemas/EncryptionProperties'
          description: Encryption properties for the automation account
        privateEndpointConnections:
          type: array
          description: List of Automation operations supported by the Automation resource provider.
          items:
            $ref: '#/components/schemas/PrivateEndpointConnection'
        publicNetworkAccess:
          type: boolean
          description: Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet
        disableLocalAuth:
          type: boolean
          description: Indicates whether requests using non-AAD authentication are blocked
        automationHybridServiceUrl:
          type: string
          description: URL of automation hybrid service which is used for hybrid worker on-boarding.
    EncryptionProperties:
      type: object
      description: The encryption settings for automation account
      properties:
        keyVaultProperties:
          $ref: '#/components/schemas/KeyVaultProperties'
          description: Key vault properties.
        keySource:
          $ref: '#/components/schemas/EncryptionKeySourceType'
          description: Encryption Key Source
        identity:
          $ref: '#/components/schemas/EncryptionPropertiesIdentity'
          description: User identity used for CMK.
    PrivateEndpointConnection:
      type: object
      description: A private endpoint connection
      properties:
        properties:
          $ref: '#/components/schemas/PrivateEndpointConnectionProperties'
          description: Resource properties.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    AutomationAccountUpdateProperties:
      type: object
      description: The parameters supplied to the update account properties.
      properties:
        sku:
          $ref: '#/components/schemas/Sku'
          description: Gets or sets account SKU.
        encryption:
          $ref: '#/components/schemas/EncryptionProperties'
          description: Set the encryption properties for the automation account
        publicNetworkAccess:
          type: boolean
          description: Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet
        disableLocalAuth:
          type: boolean
          description: Indicates whether requests using non-AAD authentication are blocked
    AutomationAccountListResult:
      type: object
      description: The response of a AutomationAccount list operation.
      properties:
        value:
          type: array
          description: The AutomationAccount items on this page
          items:
            $ref: '#/components/schemas/AutomationAccount'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    EncryptionKeySourceType:
      type: string
      description: Encryption Key Source
      enum:
      - Microsoft.Automation
      - Microsoft.Keyvault
      x-ms-enum:
        name: EncryptionKeySourceType
        modelAsString: false
        values:
        - name: Microsoft.Automation
          value: Microsoft.Automation
          description: Microsoft.Automation
        - name: Microsoft.Keyvault
          value: Microsoft.Keyvault
          description: Microsoft.Keyvault
    AutomationAccountCreateOrUpdateProperties:
      type: object
      description: The parameters supplied to the create or update account properties.
      properties:
        sku:
          $ref: '#/components/schemas/Sku'
          description: Gets or sets account SKU.
        encryption:
          $ref: '#/components/schemas/EncryptionProperties'
          description: Set the encryption properties for the automation account
        publicNetworkAccess:
          type: boolean
          description: Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet
        disableLocalAuth:
          type: boolean
          description: Indicates whether requests using non-AAD authentication are blocked
    TrackedResource:
      type: object
      title: Tracked Resource
      description: The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
          x-ms-mutability:
          - read
          - create
          - update
        location:
          type: string
          description: The geo-location where the resource lives
          x-ms-mutability:
          - read
          - create
      required:
      - location
      allOf:
      - $ref: '#/components/schemas/Resource'
    AutomationAccount:
      type: object
      description: Definition of the automation account type.
      properties:
        properties:
          $ref: '#/components/schemas/AutomationAccountProperties'
          description: Gets or sets the automation account properties.
          x-ms-client-flatten: true
        etag:
          type: string
          description: Gets or sets the etag of the resource.
        identity:
          $ref: '#/components/schemas/Identity'
          description: Identity for the resource.
      allOf:
      - $ref: '#/components/schemas/TrackedResource'
    Identity:
      type: object
      description: Identity for the resource.
      properties:
        principalId:
          type: string
          description: The principal ID of resource identity. The value must be an UUID.
          readOnly: true
        tenantId:
          type: string
          description: The tenant ID of resource.
          readOnly: true
        type:
          $ref: '#/components/schemas/ResourceIdentityType'
          description: The identity type.
        userAssignedIdentities:
          type: object
          description: 'The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: ''/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}''.'
          additionalProperties:
            $ref: '#/components/schemas/UserAssignedIdentitiesProperties'
    PrivateLinkServiceConnectionStateProperty:
      type: object
      description: Connection State of the Private Endpoint Connection.
      properties:
        status:
          type: string
          description: The private link service connection status.
        description:
          type: string
          description: The private link service connection description.
        actionsRequired:
          type: string
          description: Any action that is required beyond basic workflow (approve/ reject/ disconnect)
          readOnly: true
    PrivateEndpointProperty:
      type: object
      description: Private endpoint which the connection belongs to.
      properties:
        id:
          type: string
          description: Resource id of the private endpoint.
    AutomationAccountState:
      type: string
      description: Gets status of account.
      enum:
      - Ok
      - Unavailable
      - Suspended
      x-ms-enum:
        name: AutomationAccountState
        modelAsString: true
        values:
        - name: Ok
          value: Ok
          description: Ok
        - name: Unavailable
          value: Unavailable
          description: Unavailable
        - name: Suspended
          value: Suspended
          description: Suspended
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    SkuNameEnum:
      type: string
      description: Gets or sets the SKU name of the account.
      enum:
      - Free
      - Basic
      x-ms-enum:
        name: SkuNameEnum
        modelAsString: true
        values:
        - name: Free
          value: Free
          description: Free
        - name: Basic
          value: Basic
          description: Basic
    AutomationAccountCreateOrUpdateParameters:
      type: object
      description: The parameters supplied to the create or update automation account operation.
      properties:
        properties:
          $ref: '#/components/schemas/AutomationAccountCreateOrUpdateProperties'
          description: Gets or sets account create or update properties.
          x-ms-client-flatten: true
        name:
          type: string
          description: Gets or sets name of the resource.
        location:
          type: string
          description: Gets or sets the location of the resource.
        identity:
          $ref: '#/components/schemas/Identity'
          description: Sets the identity property for automation account
        tags:
          type: object
          description: Gets or sets the tags attached to the resource.
          additionalProperties:
            type: string
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        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
    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
  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.