naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Users — users.cloudPC description: 'Microsoft Graph Users — users.cloudPC. 12 operations. Lead operation: Microsoft Graph Get cloudPCs from users. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - users.cloudPC created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY capability: consumes: - type: http namespace: users-users-cloudpc baseUri: '' description: Microsoft Graph Users — users.cloudPC business capability. Self-contained, no shared references. resources: - name: users-user-id-cloudPCs path: /users/{user-id}/cloudPCs operations: - name: userslistcloudpcs method: GET description: Microsoft Graph Get cloudPCs from users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: userscreatecloudpcs method: POST description: Microsoft Graph Create new navigation property to cloudPCs for users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: users-user-id-cloudPCs-$count path: /users/{user-id}/cloudPCs/$count operations: - name: userscloudpcsgetcounta4ef method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: users-user-id-cloudPCs-cloudPC-id path: /users/{user-id}/cloudPCs/{cloudPC-id} operations: - name: usersgetcloudpcs method: GET description: Microsoft Graph Get cloudPCs from users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: usersupdatecloudpcs method: PATCH description: Microsoft Graph Update the navigation property cloudPCs in users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: usersdeletecloudpcs method: DELETE description: Microsoft Graph Delete navigation property cloudPCs for users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: users-user-id-cloudPCs-cloudPC-id-endGracePeriod path: /users/{user-id}/cloudPCs/{cloudPC-id}/endGracePeriod operations: - name: usersusercloudpcscloudpcendgraceperiod method: POST description: Microsoft Graph Invoke action endGracePeriod outputRawFormat: json outputParameters: - name: result type: object value: $. - name: users-user-id-cloudPCs-cloudPC-id-reboot path: /users/{user-id}/cloudPCs/{cloudPC-id}/reboot operations: - name: usersusercloudpcscloudpcreboot method: POST description: Microsoft Graph Invoke action reboot outputRawFormat: json outputParameters: - name: result type: object value: $. - name: users-user-id-cloudPCs-cloudPC-id-rename path: /users/{user-id}/cloudPCs/{cloudPC-id}/rename operations: - name: usersusercloudpcscloudpcrename method: POST description: Microsoft Graph Invoke action rename outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: users-user-id-cloudPCs-cloudPC-id-resize path: /users/{user-id}/cloudPCs/{cloudPC-id}/resize operations: - name: usersusercloudpcscloudpcresize method: POST description: Microsoft Graph Invoke action resize outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: users-user-id-cloudPCs-cloudPC-id-restore path: /users/{user-id}/cloudPCs/{cloudPC-id}/restore operations: - name: usersusercloudpcscloudpcrestore method: POST description: Microsoft Graph Invoke action restore outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: users-user-id-cloudPCs-cloudPC-id-troubleshoot path: /users/{user-id}/cloudPCs/{cloudPC-id}/troubleshoot operations: - name: usersusercloudpcscloudpctroubleshoot method: POST description: Microsoft Graph Invoke action troubleshoot outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: users-users-cloudpc-rest port: 8080 description: REST adapter for Microsoft Graph Users — users.cloudPC. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users/{user-id}/cloudpcs name: users-user-id-cloudpcs description: REST surface for users-user-id-cloudPCs. operations: - method: GET name: userslistcloudpcs description: Microsoft Graph Get cloudPCs from users call: users-users-cloudpc.userslistcloudpcs with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: userscreatecloudpcs description: Microsoft Graph Create new navigation property to cloudPCs for users call: users-users-cloudpc.userscreatecloudpcs with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/cloudpcs/count name: users-user-id-cloudpcs-count description: REST surface for users-user-id-cloudPCs-$count. operations: - method: GET name: userscloudpcsgetcounta4ef description: Microsoft Graph Get the number of the resource call: users-users-cloudpc.userscloudpcsgetcounta4ef outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/cloudpcs/{cloudpc-id} name: users-user-id-cloudpcs-cloudpc-id description: REST surface for users-user-id-cloudPCs-cloudPC-id. operations: - method: GET name: usersgetcloudpcs description: Microsoft Graph Get cloudPCs from users call: users-users-cloudpc.usersgetcloudpcs with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: usersupdatecloudpcs description: Microsoft Graph Update the navigation property cloudPCs in users call: users-users-cloudpc.usersupdatecloudpcs with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: usersdeletecloudpcs description: Microsoft Graph Delete navigation property cloudPCs for users call: users-users-cloudpc.usersdeletecloudpcs with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/cloudpcs/{cloudpc-id}/endgraceperiod name: users-user-id-cloudpcs-cloudpc-id-endgraceperiod description: REST surface for users-user-id-cloudPCs-cloudPC-id-endGracePeriod. operations: - method: POST name: usersusercloudpcscloudpcendgraceperiod description: Microsoft Graph Invoke action endGracePeriod call: users-users-cloudpc.usersusercloudpcscloudpcendgraceperiod outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/cloudpcs/{cloudpc-id}/reboot name: users-user-id-cloudpcs-cloudpc-id-reboot description: REST surface for users-user-id-cloudPCs-cloudPC-id-reboot. operations: - method: POST name: usersusercloudpcscloudpcreboot description: Microsoft Graph Invoke action reboot call: users-users-cloudpc.usersusercloudpcscloudpcreboot outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/cloudpcs/{cloudpc-id}/rename name: users-user-id-cloudpcs-cloudpc-id-rename description: REST surface for users-user-id-cloudPCs-cloudPC-id-rename. operations: - method: POST name: usersusercloudpcscloudpcrename description: Microsoft Graph Invoke action rename call: users-users-cloudpc.usersusercloudpcscloudpcrename with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/cloudpcs/{cloudpc-id}/resize name: users-user-id-cloudpcs-cloudpc-id-resize description: REST surface for users-user-id-cloudPCs-cloudPC-id-resize. operations: - method: POST name: usersusercloudpcscloudpcresize description: Microsoft Graph Invoke action resize call: users-users-cloudpc.usersusercloudpcscloudpcresize with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/cloudpcs/{cloudpc-id}/restore name: users-user-id-cloudpcs-cloudpc-id-restore description: REST surface for users-user-id-cloudPCs-cloudPC-id-restore. operations: - method: POST name: usersusercloudpcscloudpcrestore description: Microsoft Graph Invoke action restore call: users-users-cloudpc.usersusercloudpcscloudpcrestore with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/cloudpcs/{cloudpc-id}/troubleshoot name: users-user-id-cloudpcs-cloudpc-id-troubleshoot description: REST surface for users-user-id-cloudPCs-cloudPC-id-troubleshoot. operations: - method: POST name: usersusercloudpcscloudpctroubleshoot description: Microsoft Graph Invoke action troubleshoot call: users-users-cloudpc.usersusercloudpcscloudpctroubleshoot outputParameters: - type: object mapping: $. - type: mcp namespace: users-users-cloudpc-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Users — users.cloudPC. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-cloudpcs-users description: Microsoft Graph Get cloudPCs from users hints: readOnly: true destructive: false idempotent: true call: users-users-cloudpc.userslistcloudpcs with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation description: Microsoft Graph Create new navigation property to cloudPCs for users hints: readOnly: false destructive: false idempotent: false call: users-users-cloudpc.userscreatecloudpcs with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: users-users-cloudpc.userscloudpcsgetcounta4ef outputParameters: - type: object mapping: $. - name: microsoft-graph-get-cloudpcs-users-2 description: Microsoft Graph Get cloudPCs from users hints: readOnly: true destructive: false idempotent: true call: users-users-cloudpc.usersgetcloudpcs with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property cloudPCs in users hints: readOnly: false destructive: false idempotent: true call: users-users-cloudpc.usersupdatecloudpcs with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property cloudPCs for users hints: readOnly: false destructive: true idempotent: true call: users-users-cloudpc.usersdeletecloudpcs with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-endgraceperiod description: Microsoft Graph Invoke action endGracePeriod hints: readOnly: false destructive: false idempotent: false call: users-users-cloudpc.usersusercloudpcscloudpcendgraceperiod outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-reboot description: Microsoft Graph Invoke action reboot hints: readOnly: false destructive: false idempotent: false call: users-users-cloudpc.usersusercloudpcscloudpcreboot outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-rename description: Microsoft Graph Invoke action rename hints: readOnly: false destructive: false idempotent: false call: users-users-cloudpc.usersusercloudpcscloudpcrename with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-resize description: Microsoft Graph Invoke action resize hints: readOnly: false destructive: false idempotent: false call: users-users-cloudpc.usersusercloudpcscloudpcresize with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-restore description: Microsoft Graph Invoke action restore hints: readOnly: false destructive: false idempotent: false call: users-users-cloudpc.usersusercloudpcscloudpcrestore with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-troubleshoot description: Microsoft Graph Invoke action troubleshoot hints: readOnly: false destructive: false idempotent: false call: users-users-cloudpc.usersusercloudpcscloudpctroubleshoot outputParameters: - type: object mapping: $.