naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Billing benefits RP — Savings Plan description: 'Microsoft Azure Billing benefits RP — Savings Plan. 6 operations. Lead operation: Microsoft Azure Get Providers Microsoft Billingbenefits Savingsplanorders Savingsplanorderid Savingsplans. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - Savings Plan 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: billing-benefits-rp-savings-plan baseUri: https://management.azure.com description: Microsoft Azure Billing benefits RP — Savings Plan business capability. Self-contained, no shared references. resources: - name: providers-Microsoft.BillingBenefits-savingsPlanOrders-savingsPlanOrderId-savings path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans operations: - name: microsoftazuresavingsplanlist method: GET description: Microsoft Azure Get Providers Microsoft Billingbenefits Savingsplanorders Savingsplanorderid Savingsplans outputRawFormat: json outputParameters: - name: result type: object value: $. - name: providers-Microsoft.BillingBenefits-savingsPlanOrders-savingsPlanOrderId-savings path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId} operations: - name: microsoftazuresavingsplanget method: GET description: Microsoft Azure Get Providers Microsoft Billingbenefits Savingsplanorders Savingsplanorderid Savingsplans Savingsplanid outputRawFormat: json outputParameters: - name: result type: object value: $. - name: microsoftazuresavingsplanupdate method: PATCH description: Microsoft Azure Patch Providers Microsoft Billingbenefits Savingsplanorders Savingsplanorderid Savingsplans Savingsplanid outputRawFormat: json outputParameters: - name: result type: object value: $. - name: providers-Microsoft.BillingBenefits-savingsPlanOrders-savingsPlanOrderId-savings path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}/validate operations: - name: microsoftazuresavingsplanvalidateupdate method: POST description: Microsoft Azure Post Providers Microsoft Billingbenefits Savingsplanorders Savingsplanorderid Savingsplans Savingsplanid Validate outputRawFormat: json outputParameters: - name: result type: object value: $. - name: providers-Microsoft.BillingBenefits-savingsPlans path: /providers/Microsoft.BillingBenefits/savingsPlans operations: - name: microsoftazuresavingsplanlistall method: GET description: Microsoft Azure Get Providers Microsoft Billingbenefits Savingsplans outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $filter in: query type: string description: May be used to filter by reservation properties. The filter supports 'eq', 'or', and 'and'. It does not currently support 'ne', 'gt', 'le', 'ge', or 'not'. Rese - name: $orderby in: query type: string description: May be used to sort order by reservation properties. - name: refreshSummary in: query type: string description: To indicate whether to refresh the roll up counts of the savings plans group by provisioning states - name: $skiptoken in: query type: number description: The number of savings plans to skip from the list before returning results - name: selectedState in: query type: string description: The selected provisioning state - name: take in: query type: number description: To number of savings plans to return - name: providers-Microsoft.BillingBenefits-validate path: /providers/Microsoft.BillingBenefits/validate operations: - name: microsoftazurevalidatepurchase method: POST description: Microsoft Azure Post Providers Microsoft Billingbenefits Validate outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: billing-benefits-rp-savings-plan-rest port: 8080 description: REST adapter for Microsoft Azure Billing benefits RP — Savings Plan. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/providers/microsoft-billingbenefits/savingsplanorders/{savingsplanorderid}/savingsplans name: providers-microsoft-billingbenefits-savingsplanorders-savingsplanorderid-savings description: REST surface for providers-Microsoft.BillingBenefits-savingsPlanOrders-savingsPlanOrderId-savings. operations: - method: GET name: microsoftazuresavingsplanlist description: Microsoft Azure Get Providers Microsoft Billingbenefits Savingsplanorders Savingsplanorderid Savingsplans call: billing-benefits-rp-savings-plan.microsoftazuresavingsplanlist outputParameters: - type: object mapping: $. - path: /v1/providers/microsoft-billingbenefits/savingsplanorders/{savingsplanorderid}/savingsplans/{savingsplanid} name: providers-microsoft-billingbenefits-savingsplanorders-savingsplanorderid-savings description: REST surface for providers-Microsoft.BillingBenefits-savingsPlanOrders-savingsPlanOrderId-savings. operations: - method: GET name: microsoftazuresavingsplanget description: Microsoft Azure Get Providers Microsoft Billingbenefits Savingsplanorders Savingsplanorderid Savingsplans Savingsplanid call: billing-benefits-rp-savings-plan.microsoftazuresavingsplanget outputParameters: - type: object mapping: $. - method: PATCH name: microsoftazuresavingsplanupdate description: Microsoft Azure Patch Providers Microsoft Billingbenefits Savingsplanorders Savingsplanorderid Savingsplans Savingsplanid call: billing-benefits-rp-savings-plan.microsoftazuresavingsplanupdate outputParameters: - type: object mapping: $. - path: /v1/providers/microsoft-billingbenefits/savingsplanorders/{savingsplanorderid}/savingsplans/{savingsplanid}/validate name: providers-microsoft-billingbenefits-savingsplanorders-savingsplanorderid-savings description: REST surface for providers-Microsoft.BillingBenefits-savingsPlanOrders-savingsPlanOrderId-savings. operations: - method: POST name: microsoftazuresavingsplanvalidateupdate description: Microsoft Azure Post Providers Microsoft Billingbenefits Savingsplanorders Savingsplanorderid Savingsplans Savingsplanid Validate call: billing-benefits-rp-savings-plan.microsoftazuresavingsplanvalidateupdate outputParameters: - type: object mapping: $. - path: /v1/providers/microsoft-billingbenefits/savingsplans name: providers-microsoft-billingbenefits-savingsplans description: REST surface for providers-Microsoft.BillingBenefits-savingsPlans. operations: - method: GET name: microsoftazuresavingsplanlistall description: Microsoft Azure Get Providers Microsoft Billingbenefits Savingsplans call: billing-benefits-rp-savings-plan.microsoftazuresavingsplanlistall with: $filter: rest.$filter $orderby: rest.$orderby refreshSummary: rest.refreshSummary $skiptoken: rest.$skiptoken selectedState: rest.selectedState take: rest.take outputParameters: - type: object mapping: $. - path: /v1/providers/microsoft-billingbenefits/validate name: providers-microsoft-billingbenefits-validate description: REST surface for providers-Microsoft.BillingBenefits-validate. operations: - method: POST name: microsoftazurevalidatepurchase description: Microsoft Azure Post Providers Microsoft Billingbenefits Validate call: billing-benefits-rp-savings-plan.microsoftazurevalidatepurchase outputParameters: - type: object mapping: $. - type: mcp namespace: billing-benefits-rp-savings-plan-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Billing benefits RP — Savings Plan. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-get-providers-microsoft description: Microsoft Azure Get Providers Microsoft Billingbenefits Savingsplanorders Savingsplanorderid Savingsplans hints: readOnly: true destructive: false idempotent: true call: billing-benefits-rp-savings-plan.microsoftazuresavingsplanlist outputParameters: - type: object mapping: $. - name: microsoft-azure-get-providers-microsoft-2 description: Microsoft Azure Get Providers Microsoft Billingbenefits Savingsplanorders Savingsplanorderid Savingsplans Savingsplanid hints: readOnly: true destructive: false idempotent: true call: billing-benefits-rp-savings-plan.microsoftazuresavingsplanget outputParameters: - type: object mapping: $. - name: microsoft-azure-patch-providers-microsoft description: Microsoft Azure Patch Providers Microsoft Billingbenefits Savingsplanorders Savingsplanorderid Savingsplans Savingsplanid hints: readOnly: false destructive: false idempotent: true call: billing-benefits-rp-savings-plan.microsoftazuresavingsplanupdate outputParameters: - type: object mapping: $. - name: microsoft-azure-post-providers-microsoft description: Microsoft Azure Post Providers Microsoft Billingbenefits Savingsplanorders Savingsplanorderid Savingsplans Savingsplanid Validate hints: readOnly: true destructive: false idempotent: false call: billing-benefits-rp-savings-plan.microsoftazuresavingsplanvalidateupdate outputParameters: - type: object mapping: $. - name: microsoft-azure-get-providers-microsoft-3 description: Microsoft Azure Get Providers Microsoft Billingbenefits Savingsplans hints: readOnly: true destructive: false idempotent: true call: billing-benefits-rp-savings-plan.microsoftazuresavingsplanlistall with: $filter: tools.$filter $orderby: tools.$orderby refreshSummary: tools.refreshSummary $skiptoken: tools.$skiptoken selectedState: tools.selectedState take: tools.take outputParameters: - type: object mapping: $. - name: microsoft-azure-post-providers-microsoft-2 description: Microsoft Azure Post Providers Microsoft Billingbenefits Validate hints: readOnly: true destructive: false idempotent: false call: billing-benefits-rp-savings-plan.microsoftazurevalidatepurchase outputParameters: - type: object mapping: $.