@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Software Plan RP
@base https://management.azure.com
@version 2019-12-01
@auth OAuth2
@common_fields {api-version: any}
@endpoints 8
@toc subscriptions(1), {scope}(7)

@group subscriptions
@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.SoftwarePlan/register
@returns(204)

@endgroup

@group {scope}
@endpoint GET /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits
@required {scope: any}
@optional {$filter: any}
@returns(200)

@endpoint PUT /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}
@required {scope: any, planId: any, body: any}
@returns(200)

@endpoint PATCH /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}
@required {scope: any, planId: any, body: any}
@returns(200)

@endpoint GET /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}
@required {scope: any, planId: any}
@returns(200)

@endpoint DELETE /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}
@required {scope: any, planId: any}
@returns(200)
@returns(204)

@endpoint GET /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}/revisions
@required {scope: any, planId: any}
@returns(200)

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

@endgroup

@end
