@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Azure Addons Resource Provider
@base https://management.azure.com
@version 2017-05-15
@auth OAuth2
@endpoints 5
@toc providers(1), subscriptions(4)

@group providers
@endpoint GET /providers/Microsoft.Addons/operations
@desc Lists all of the available Addons RP operations.
@required {api-version: any # Client API version.}
@returns(200) List all the operations.

@endgroup

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Addons/supportProviders/{providerName}/supportPlanTypes/{planTypeName}
@desc Returns whether or not the canonical support plan of type {type} is enabled for the subscription.
@required {api-version: any # Client API version., subscriptionId: any # Subscription credentials that uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., providerName: any # The support plan type. For now the only valid type is "canonical"., planTypeName: any # The Canonical support plan type.}
@returns(200) OK
@errors {404: Not Found}

@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.Addons/supportProviders/{providerName}/supportPlanTypes/{planTypeName}
@desc Creates or updates the Canonical support plan of type {type} for the subscription.
@required {api-version: any # Client API version., subscriptionId: any # Subscription credentials that uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., providerName: any # The support plan type. For now the only valid type is "canonical"., planTypeName: any # The Canonical support plan type.}
@returns(200) OK
@returns(201) Created
@errors {404: Not Found}

@endpoint DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Addons/supportProviders/{providerName}/supportPlanTypes/{planTypeName}
@desc Cancels the Canonical support plan of type {type} for the subscription.
@required {api-version: any # Client API version., subscriptionId: any # Subscription credentials that uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., providerName: any # The support plan type. For now the only valid type is "canonical"., planTypeName: any # The Canonical support plan type.}
@returns(202) Accepted
@returns(204) No Content

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Addons/supportProviders/{providerName}/supportPlanTypes
@desc Returns the Canonical Support Plans.
@required {api-version: any # Client API version., subscriptionId: any # Subscription credentials that uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., providerName: any # The support plan type. For now the only valid type is "canonical".}
@returns(200) OK

@endgroup

@end
