@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api NetworkManagementClient
@base https://management.azure.com
@version 2019-07-01
@auth OAuth2
@endpoints 6
@toc subscriptions(6)

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
@desc Deletes the specified DDoS protection plan.
@required {resourceGroupName: any # The name of the resource group., ddosProtectionPlanName: any # The name of the DDoS protection plan.}
@returns(200) Delete successful.
@returns(202) Accepted and the operation will complete asynchronously.
@returns(204) Request successful. Resource does not exist.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
@desc Gets information about the specified DDoS protection plan.
@required {resourceGroupName: any # The name of the resource group., ddosProtectionPlanName: any # The name of the DDoS protection plan.}
@returns(200) Request successful. The operation returns the specified DDoS protection plan resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
@desc Creates or updates a DDoS protection plan.
@required {resourceGroupName: any # The name of the resource group., ddosProtectionPlanName: any # The name of the DDoS protection plan., parameters: any # Parameters supplied to the create or update operation.}
@returns(200) Update successful. The operation returns the resulting DDoS protection plan resource.
@returns(201) Create successful. The operation returns the resulting DDoS protection plan resource.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
@desc Update a DDoS protection plan tags.
@required {resourceGroupName: any # The name of the resource group., ddosProtectionPlanName: any # The name of the DDoS protection plan., parameters: any # Parameters supplied to the update DDoS protection plan resource tags.}
@returns(200) Update successful. The operation returns the resulting DDoS protection plan resource.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans
@desc Gets all DDoS protection plans in a subscription.
@returns(200) Request successful. The operation returns a list of DDoS protection plan resources.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans
@desc Gets all the DDoS protection plans in a resource group.
@required {resourceGroupName: any # The name of the resource group.}
@returns(200) Request successful. The operation returns a list of DDoS protection plan resources.

@end
