@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/publicIPPrefixes/{publicIpPrefixName}
@desc Deletes the specified public IP prefix.
@required {resourceGroupName: any # The name of the resource group., publicIpPrefixName: any # The name of the PublicIpPrefix.}
@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/publicIPPrefixes/{publicIpPrefixName}
@desc Gets the specified public IP prefix in a specified resource group.
@required {resourceGroupName: any # The name of the resource group., publicIpPrefixName: any # The name of the public IP prefix.}
@optional {$expand: any # Expands referenced resources.}
@returns(200) Request successful. The operation returns the resulting PublicIPPrefix resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}
@desc Creates or updates a static or dynamic public IP prefix.
@required {resourceGroupName: any # The name of the resource group., publicIpPrefixName: any # The name of the public IP prefix., parameters: any # Parameters supplied to the create or update public IP prefix operation.}
@returns(200) Update successful. The operation returns the resulting PublicIPPrefix resource.
@returns(201) Create successful. The operation returns the resulting PublicIPPrefix resource.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}
@desc Updates public IP prefix tags.
@required {resourceGroupName: any # The name of the resource group., publicIpPrefixName: any # The name of the public IP prefix., parameters: any # Parameters supplied to update public IP prefix tags.}
@returns(200) Update successful. The operation returns the resulting PublicIPPrefix resource.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes
@desc Gets all the public IP prefixes in a subscription.
@returns(200) Request successful. The operation returns a list of PublicIPPrefix resources.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes
@desc Gets all public IP prefixes in a resource group.
@required {resourceGroupName: any # The name of the resource group.}
@returns(200) Request successful. The operation returns a list of PublicIPPrefix resources.

@end
