{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-hybrid-runbook-worker-group-create-or-update-parameters-schema.json",
  "title": "HybridRunbookWorkerGroupCreateOrUpdateParameters",
  "description": "The parameters supplied to the create hybrid runbook worker group operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-hybridrunbookworkergroup-api-openapi.yml#/components/schemas/HybridRunbookWorkerGroupCreateOrUpdateParameters",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/HybridRunbookWorkerGroupCreateOrUpdateProperties",
      "description": "Gets or sets hybrid runbook worker group create or update properties.",
      "x-ms-client-flatten": true
    },
    "name": {
      "type": "string",
      "description": "Gets or sets the name of the resource."
    }
  },
  "$defs": {
    "HybridRunbookWorkerGroupCreateOrUpdateProperties": {
      "type": "object",
      "description": "The hybrid runbook worker group properties.",
      "properties": {
        "credential": {
          "$ref": "#/$defs/RunAsCredentialAssociationProperty",
          "description": "Sets the credential of a worker group."
        }
      }
    },
    "RunAsCredentialAssociationProperty": {
      "type": "object",
      "description": "Definition of RunAs credential to use for hybrid worker.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Gets or sets the name of the credential."
        }
      }
    }
  }
}