@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 4
@toc subscriptions(4)

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}
@desc Deletes the specified DDoS custom policy.
@required {resourceGroupName: any # The name of the resource group., ddosCustomPolicyName: any # The name of the DDoS custom policy.}
@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/ddosCustomPolicies/{ddosCustomPolicyName}
@desc Gets information about the specified DDoS custom policy.
@required {resourceGroupName: any # The name of the resource group., ddosCustomPolicyName: any # The name of the DDoS custom policy.}
@returns(200) Request successful. The operation returns the specified DDoS custom policy resource.

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

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

@end
