{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-automation-account-list-result-schema.json",
  "title": "AutomationAccountListResult",
  "description": "The response of a AutomationAccount list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-automationaccount-api-openapi.yml#/components/schemas/AutomationAccountListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The AutomationAccount items on this page",
      "items": {
        "$ref": "#/$defs/AutomationAccount"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AutomationAccount": {
      "type": "object",
      "description": "Definition of the automation account type.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/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": "#/$defs/Identity",
          "description": "Identity for the resource."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/TrackedResource"
        }
      ]
    },
    "AutomationAccountProperties": {
      "type": "object",
      "description": "Definition of the account property.",
      "properties": {
        "sku": {
          "$ref": "#/$defs/Sku",
          "description": "Gets or sets the SKU of account."
        },
        "lastModifiedBy": {
          "type": "string",
          "description": "Gets or sets the last modified by."
        },
        "state": {
          "$ref": "#/$defs/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": "#/$defs/EncryptionProperties",
          "description": "Encryption properties for the automation account"
        },
        "privateEndpointConnections": {
          "type": "array",
          "description": "List of Automation operations supported by the Automation resource provider.",
          "items": {
            "$ref": "#/$defs/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."
        }
      }
    },
    "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"
          }
        ]
      }
    },
    "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"
          }
        ]
      }
    },
    "EncryptionProperties": {
      "type": "object",
      "description": "The encryption settings for automation account",
      "properties": {
        "keyVaultProperties": {
          "$ref": "#/$defs/KeyVaultProperties",
          "description": "Key vault properties."
        },
        "keySource": {
          "$ref": "#/$defs/EncryptionKeySourceType",
          "description": "Encryption Key Source"
        },
        "identity": {
          "$ref": "#/$defs/EncryptionPropertiesIdentity",
          "description": "User identity used for CMK."
        }
      }
    },
    "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}'."
        }
      }
    },
    "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": "#/$defs/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": "#/$defs/UserAssignedIdentitiesProperties"
          }
        }
      }
    },
    "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."
        }
      }
    },
    "PrivateEndpointConnection": {
      "type": "object",
      "description": "A private endpoint connection",
      "properties": {
        "properties": {
          "$ref": "#/$defs/PrivateEndpointConnectionProperties",
          "description": "Resource properties.",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "PrivateEndpointConnectionProperties": {
      "type": "object",
      "description": "Properties of a private endpoint connection.",
      "properties": {
        "privateEndpoint": {
          "$ref": "#/$defs/PrivateEndpointProperty",
          "description": "Private endpoint which the connection belongs to."
        },
        "groupIds": {
          "type": "array",
          "description": "Gets the groupIds.",
          "items": {
            "type": "string"
          }
        },
        "privateLinkServiceConnectionState": {
          "$ref": "#/$defs/PrivateLinkServiceConnectionStateProperty",
          "description": "Connection State of the Private Endpoint Connection."
        }
      }
    },
    "PrivateEndpointProperty": {
      "type": "object",
      "description": "Private endpoint which the connection belongs to.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource id of the private endpoint."
        }
      }
    },
    "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
        }
      }
    },
    "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": "#/$defs/Resource"
        }
      ]
    },
    "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"
          }
        ]
      }
    },
    "Sku": {
      "type": "object",
      "description": "The account SKU.",
      "properties": {
        "name": {
          "$ref": "#/$defs/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"
      ]
    },
    "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"
          }
        ]
      }
    },
    "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": "#/$defs/Resource"
        }
      ]
    },
    "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
        }
      }
    }
  }
}