Azure Cost Management · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for CostManagementClient Cost Allocation Rule Definitions API

5 actions 5 updates phrasing extends openapi/microsoft-azure-cost-management-costallocationruledefinitions-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Azure Cost Management's API. It is a proposal applied on top of the contract, not a document Azure Cost Management publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/providers/microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules'].get
$.paths['/providers/microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules/{ruleName}'].get
$.paths['/providers/microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules/{ruleName}'].put
$.paths['/providers/microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules/{ruleName}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for CostManagementClient Cost Allocation Rule Definitions API
  version: 1.0.0
extends: openapi/microsoft-azure-cost-management-costallocationruledefinitions-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-10-01'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/providers/microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules'].get
  update:
    x-apievangelist-phrasing:
      intent: List cost allocation rules for a billing account
      effect: read
      questions:
      - What cost allocation rules exist on my billing account or enterprise enrollment?
      - How can I see every rule that splits shared costs across subscriptions?
      instructions:
      - text: List all cost allocation rules for billing account {billingAccountId}.
        slots:
          billingAccountId: path.billingAccountId
      - text: Show me the cost allocation rules defined on enrollment {billingAccountId}.
        slots:
          billingAccountId: path.billingAccountId
      method: generated
      generated: '2026-10-01'
- target: $.paths['/providers/microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules/{ruleName}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a cost allocation rule by name
      effect: read
      questions:
      - Which sources and targets does a specific cost allocation rule use?
      - Can I read one allocation rule's details by its name?
      instructions:
      - text: Get cost allocation rule {ruleName} on billing account {billingAccountId}.
        slots:
          ruleName: path.ruleName
          billingAccountId: path.billingAccountId
      - text: Show me how allocation rule {ruleName} splits costs in {billingAccountId}.
        slots:
          ruleName: path.ruleName
          billingAccountId: path.billingAccountId
      method: generated
      generated: '2026-10-01'
- target: $.paths['/providers/microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules/{ruleName}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create or update a cost allocation rule
      effect: write
      questions:
      - How do I reallocate shared platform costs from one subscription to several others?
      - Can I edit an existing cost allocation rule to change its targets?
      instructions:
      - text: Create cost allocation rule {ruleName} on billing account {billingAccountId} with {properties}.
        slots:
          ruleName: path.ruleName
          billingAccountId: path.billingAccountId
          properties: requestBody.properties
      - text: Update allocation rule {ruleName} in {billingAccountId} so it uses {properties}.
        slots:
          ruleName: path.ruleName
          billingAccountId: path.billingAccountId
          properties: requestBody.properties
      method: generated
      generated: '2026-10-01'
- target: $.paths['/providers/microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules/{ruleName}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a cost allocation rule
      effect: destructive
      questions:
      - How do I stop a cost allocation rule from redistributing costs?
      - Can I delete an allocation rule from my enterprise enrollment?
      instructions:
      - text: Delete cost allocation rule {ruleName} from billing account {billingAccountId}.
        slots:
          ruleName: path.ruleName
          billingAccountId: path.billingAccountId
      - text: Remove allocation rule {ruleName} on {billingAccountId}.
        slots:
          ruleName: path.ruleName
          billingAccountId: path.billingAccountId
      method: generated
      generated: '2026-10-01'