naftiko: 1.0.0-alpha2 info: label: Microsoft Azure ProvisioningServiceClient — EnrollmentGroup description: 'Microsoft Azure ProvisioningServiceClient — EnrollmentGroup. 6 operations. Lead operation: Microsoft Azure Bulk Device Enrollment Group Operation With Maximum Of 10 Groups. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - EnrollmentGroup 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-enrollmentgroup baseUri: https://your-dps.azure-devices-provisioning.net description: Microsoft Azure ProvisioningServiceClient — EnrollmentGroup business capability. Self-contained, no shared references. resources: - name: enrollmentGroups path: /enrollmentGroups operations: - name: microsoftazureenrollmentgrouprunbulkoperation method: POST description: Microsoft Azure Bulk Device Enrollment Group Operation With Maximum Of 10 Groups outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: bulkOperation in: body type: string description: Bulk operation. required: true - name: enrollmentGroups-query path: /enrollmentGroups/query operations: - name: microsoftazureenrollmentgroupquery method: POST description: Microsoft Azure Query The Device Enrollment Groups outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: x-ms-max-item-count in: header type: integer description: Page size - name: x-ms-continuation in: header type: string description: Continuation token - name: querySpecification in: body type: string description: The query specification. required: true - name: enrollmentGroups-id path: /enrollmentGroups/{id} operations: - name: microsoftazureenrollmentgroupget method: GET description: Microsoft Azure Get 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: 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: microsoftazureenrollmentgroupdelete method: DELETE description: Microsoft Azure Delete 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: If-Match in: header type: string description: The ETag of the enrollment group record. - name: enrollmentGroups-id-attestationmechanism path: /enrollmentGroups/{id}/attestationmechanism operations: - name: microsoftazureenrollmentgroupgetattestationmechanism method: POST description: Microsoft Azure Get The Attestation Mechanism In The Device Enrollment Group Record outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Enrollment group ID required: true exposes: - type: rest namespace: provisioningserviceclient-enrollmentgroup-rest port: 8080 description: REST adapter for Microsoft Azure ProvisioningServiceClient — EnrollmentGroup. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/enrollmentgroups name: enrollmentgroups description: REST surface for enrollmentGroups. operations: - method: POST name: microsoftazureenrollmentgrouprunbulkoperation description: Microsoft Azure Bulk Device Enrollment Group Operation With Maximum Of 10 Groups call: provisioningserviceclient-enrollmentgroup.microsoftazureenrollmentgrouprunbulkoperation with: bulkOperation: rest.bulkOperation outputParameters: - type: object mapping: $. - path: /v1/enrollmentgroups/query name: enrollmentgroups-query description: REST surface for enrollmentGroups-query. operations: - method: POST name: microsoftazureenrollmentgroupquery description: Microsoft Azure Query The Device Enrollment Groups call: provisioningserviceclient-enrollmentgroup.microsoftazureenrollmentgroupquery with: x-ms-max-item-count: rest.x-ms-max-item-count x-ms-continuation: rest.x-ms-continuation querySpecification: rest.querySpecification outputParameters: - type: object mapping: $. - path: /v1/enrollmentgroups/{id} name: enrollmentgroups-id description: REST surface for enrollmentGroups-id. operations: - method: GET name: microsoftazureenrollmentgroupget description: Microsoft Azure Get A Device Enrollment Group call: provisioningserviceclient-enrollmentgroup.microsoftazureenrollmentgroupget with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: microsoftazureenrollmentgroupcreateorupdate description: Microsoft Azure Create Or Update A Device Enrollment Group call: provisioningserviceclient-enrollmentgroup.microsoftazureenrollmentgroupcreateorupdate with: id: rest.id enrollmentGroup: rest.enrollmentGroup If-Match: rest.If-Match outputParameters: - type: object mapping: $. - method: DELETE name: microsoftazureenrollmentgroupdelete description: Microsoft Azure Delete A Device Enrollment Group call: provisioningserviceclient-enrollmentgroup.microsoftazureenrollmentgroupdelete with: id: rest.id If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/enrollmentgroups/{id}/attestationmechanism name: enrollmentgroups-id-attestationmechanism description: REST surface for enrollmentGroups-id-attestationmechanism. operations: - method: POST name: microsoftazureenrollmentgroupgetattestationmechanism description: Microsoft Azure Get The Attestation Mechanism In The Device Enrollment Group Record call: provisioningserviceclient-enrollmentgroup.microsoftazureenrollmentgroupgetattestationmechanism with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: provisioningserviceclient-enrollmentgroup-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure ProvisioningServiceClient — EnrollmentGroup. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-bulk-device-enrollment description: Microsoft Azure Bulk Device Enrollment Group Operation With Maximum Of 10 Groups hints: readOnly: false destructive: false idempotent: false call: provisioningserviceclient-enrollmentgroup.microsoftazureenrollmentgrouprunbulkoperation with: bulkOperation: tools.bulkOperation outputParameters: - type: object mapping: $. - name: microsoft-azure-query-device-enrollment description: Microsoft Azure Query The Device Enrollment Groups hints: readOnly: true destructive: false idempotent: false call: provisioningserviceclient-enrollmentgroup.microsoftazureenrollmentgroupquery with: x-ms-max-item-count: tools.x-ms-max-item-count x-ms-continuation: tools.x-ms-continuation querySpecification: tools.querySpecification outputParameters: - type: object mapping: $. - name: microsoft-azure-get-device-enrollment description: Microsoft Azure Get A Device Enrollment Group hints: readOnly: true destructive: false idempotent: true call: provisioningserviceclient-enrollmentgroup.microsoftazureenrollmentgroupget with: id: tools.id outputParameters: - type: object mapping: $. - 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-enrollmentgroup.microsoftazureenrollmentgroupcreateorupdate with: id: tools.id enrollmentGroup: tools.enrollmentGroup If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-azure-delete-device-enrollment description: Microsoft Azure Delete A Device Enrollment Group hints: readOnly: false destructive: true idempotent: true call: provisioningserviceclient-enrollmentgroup.microsoftazureenrollmentgroupdelete with: id: tools.id If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-azure-get-attestation-mechanism description: Microsoft Azure Get The Attestation Mechanism In The Device Enrollment Group Record hints: readOnly: true destructive: false idempotent: false call: provisioningserviceclient-enrollmentgroup.microsoftazureenrollmentgroupgetattestationmechanism with: id: tools.id outputParameters: - type: object mapping: $.