@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 2018-03-01
@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 POST /subscriptions/{subscriptionId}/providers/Microsoft.Addons/supportProviders/canonical/listSupportPlanInfo
@desc Returns the canonical support plan information for all types 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.}
@returns(200) OK
@errors {404: Not Found}

@endgroup

@end
