@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api CostManagementClient
@base https://management.azure.com
@version 2019-04-01-preview
@auth OAuth2
@common_fields {api-version: any}
@endpoints 13
@toc providers(5), {scope}(8)

@group providers
@endpoint GET /providers/Microsoft.CostManagement/views
@returns(200)

@endgroup

@group {scope}
@endpoint GET /{scope}/providers/Microsoft.CostManagement/views
@required {scope: any}
@returns(200)

@endgroup

@group providers
@endpoint GET /providers/Microsoft.CostManagement/views/{viewName}
@required {viewName: any}
@returns(200)

@endpoint PUT /providers/Microsoft.CostManagement/views/{viewName}
@required {viewName: any, parameters: map}
@returns(200)
@returns(201)

@endpoint DELETE /providers/Microsoft.CostManagement/views/{viewName}
@required {viewName: any}
@returns(200)
@returns(204)

@endgroup

@group {scope}
@endpoint GET /{scope}/providers/Microsoft.CostManagement/views/{viewName}
@required {scope: any, viewName: any}
@returns(200)

@endpoint PUT /{scope}/providers/Microsoft.CostManagement/views/{viewName}
@required {scope: any, viewName: any, parameters: map}
@returns(200)
@returns(201)

@endpoint DELETE /{scope}/providers/Microsoft.CostManagement/views/{viewName}
@required {scope: any, viewName: any}
@returns(200)
@returns(204)

@endpoint GET /{scope}/providers/Microsoft.CostManagement/budgets
@required {scope: any}
@returns(200)

@endpoint GET /{scope}/providers/Microsoft.CostManagement/budgets/{budgetName}
@required {scope: any, budgetName: any}
@returns(200)

@endpoint PUT /{scope}/providers/Microsoft.CostManagement/budgets/{budgetName}
@required {scope: any, budgetName: any}
@optional {parameters: any}
@returns(200)
@returns(201)

@endpoint DELETE /{scope}/providers/Microsoft.CostManagement/budgets/{budgetName}
@required {scope: any, budgetName: any}
@returns(200)
@returns(204)

@endgroup

@group providers
@endpoint GET /providers/Microsoft.CostManagement/operations
@returns(200)

@endgroup

@end
