Microsoft Azure · Capability

Microsoft Azure ProvisioningServiceClient — PUT

Microsoft Azure ProvisioningServiceClient — PUT. 2 operations. Lead operation: Microsoft Azure Create Or Update A Device Enrollment Group. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzurePUT

What You Can Do

PUT
Microsoftazureenrollmentgroupcreateorupdate — Microsoft Azure Create Or Update A Device Enrollment Group
/v1/enrollmentgroups/{id}
PUT
Microsoftazureindividualenrollmentcreateorupdate — Microsoft Azure Create Or Update A Device Enrollment Record
/v1/enrollments/{id}

MCP Tools

microsoft-azure-create-update-device

Microsoft Azure Create Or Update A Device Enrollment Group

idempotent
microsoft-azure-create-update-device-2

Microsoft Azure Create Or Update A Device Enrollment Record

idempotent

Capability Spec

provisioningserviceclient-put.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure ProvisioningServiceClient — PUT
  description: 'Microsoft Azure ProvisioningServiceClient — PUT. 2 operations. Lead operation: Microsoft Azure Create Or Update
    A Device Enrollment Group. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - PUT
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: provisioningserviceclient-put
    baseUri: https://your-dps.azure-devices-provisioning.net
    description: Microsoft Azure ProvisioningServiceClient — PUT business capability. Self-contained, no shared references.
    resources:
    - name: enrollmentGroups-id
      path: /enrollmentGroups/{id}
      operations:
      - name: microsoftazureenrollmentgroupcreateorupdate
        method: PUT
        description: Microsoft Azure Create Or Update A Device Enrollment Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Enrollment group ID.
          required: true
        - name: enrollmentGroup
          in: body
          type: string
          description: The device enrollment group.
          required: true
        - name: If-Match
          in: header
          type: string
          description: The ETag of the enrollment record.
    - name: enrollments-id
      path: /enrollments/{id}
      operations:
      - name: microsoftazureindividualenrollmentcreateorupdate
        method: PUT
        description: Microsoft Azure Create Or Update A Device Enrollment Record
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: This id is used to uniquely identify a device registration of an enrollment. A case-insensitive string
            (up to 128 characters long) of alphanumeric characters pl
          required: true
        - name: enrollment
          in: body
          type: string
          description: The device enrollment record.
          required: true
        - name: If-Match
          in: header
          type: string
          description: The ETag of the enrollment record.
  exposes:
  - type: rest
    namespace: provisioningserviceclient-put-rest
    port: 8080
    description: REST adapter for Microsoft Azure ProvisioningServiceClient — PUT. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/enrollmentgroups/{id}
      name: enrollmentgroups-id
      description: REST surface for enrollmentGroups-id.
      operations:
      - method: PUT
        name: microsoftazureenrollmentgroupcreateorupdate
        description: Microsoft Azure Create Or Update A Device Enrollment Group
        call: provisioningserviceclient-put.microsoftazureenrollmentgroupcreateorupdate
        with:
          id: rest.id
          enrollmentGroup: rest.enrollmentGroup
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/enrollments/{id}
      name: enrollments-id
      description: REST surface for enrollments-id.
      operations:
      - method: PUT
        name: microsoftazureindividualenrollmentcreateorupdate
        description: Microsoft Azure Create Or Update A Device Enrollment Record
        call: provisioningserviceclient-put.microsoftazureindividualenrollmentcreateorupdate
        with:
          id: rest.id
          enrollment: rest.enrollment
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: provisioningserviceclient-put-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure ProvisioningServiceClient — PUT. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-create-update-device
      description: Microsoft Azure Create Or Update A Device Enrollment Group
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: provisioningserviceclient-put.microsoftazureenrollmentgroupcreateorupdate
      with:
        id: tools.id
        enrollmentGroup: tools.enrollmentGroup
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-create-update-device-2
      description: Microsoft Azure Create Or Update A Device Enrollment Record
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: provisioningserviceclient-put.microsoftazureindividualenrollmentcreateorupdate
      with:
        id: tools.id
        enrollment: tools.enrollment
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.