def delete(self, resource_group_name, public_ip_prefix_name, custom_headers=None, raw=False, polling=True, **operation_config):
    'Deletes the specified public IP prefix.\n\n        :param resource_group_name: The name of the resource group.\n        :type resource_group_name: str\n        :param public_ip_prefix_name: The name of the PublicIpPrefix.\n        :type public_ip_prefix_name: str\n        :param dict custom_headers: headers that will be added to the request\n        :param bool raw: The poller return type is ClientRawResponse, the\n         direct response alongside the deserialized response\n        :param polling: True for ARMPolling, False for no polling, or a\n         polling object for personal polling strategy\n        :return: An instance of LROPoller that returns None or\n         ClientRawResponse<None> if raw==True\n        :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or\n         ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]]\n        :raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`\n        '
    raw_result = self._delete_initial(resource_group_name=resource_group_name, public_ip_prefix_name=public_ip_prefix_name, custom_headers=custom_headers, raw=True, **operation_config)

    def get_long_running_output(response):
        if raw:
            client_raw_response = ClientRawResponse(None, response)
            return client_raw_response
    lro_delay = operation_config.get('long_running_operation_timeout', self.config.long_running_operation_timeout)
    if (polling is True):
        polling_method = ARMPolling(lro_delay, **operation_config)
    elif (polling is False):
        polling_method = NoPolling()
    else:
        polling_method = polling
    return LROPoller(self._client, raw_result, get_long_running_output, polling_method)
Deletes the specified public IP prefix.

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param public_ip_prefix_name: The name of the PublicIpPrefix.
:type public_ip_prefix_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
 direct response alongside the deserialized response
:param polling: True for ARMPolling, False for no polling, or a
 polling object for personal polling strategy
:return: An instance of LROPoller that returns None or
 ClientRawResponse<None> if raw==True
:rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or
 ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]]
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
def delete(self, resource_group_name, public_ip_prefix_name, custom_headers=None, raw=False, polling=True, **operation_config):
    'Deletes the specified public IP prefix.\n\n        :param resource_group_name: The name of the resource group.\n        :type resource_group_name: str\n        :param public_ip_prefix_name: The name of the PublicIpPrefix.\n        :type public_ip_prefix_name: str\n        :param dict custom_headers: headers that will be added to the request\n        :param bool raw: The poller return type is ClientRawResponse, the\n         direct response alongside the deserialized response\n        :param polling: True for ARMPolling, False for no polling, or a\n         polling object for personal polling strategy\n        :return: An instance of LROPoller that returns None or\n         ClientRawResponse<None> if raw==True\n        :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or\n         ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]]\n        :raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`\n        '
    raw_result = self._delete_initial(resource_group_name=resource_group_name, public_ip_prefix_name=public_ip_prefix_name, custom_headers=custom_headers, raw=True, **operation_config)

    def get_long_running_output(response):
        if raw:
            client_raw_response = ClientRawResponse(None, response)
            return client_raw_response
    lro_delay = operation_config.get('long_running_operation_timeout', self.config.long_running_operation_timeout)
    if (polling is True):
        polling_method = ARMPolling(lro_delay, **operation_config)
    elif (polling is False):
        polling_method = NoPolling()
    else:
        polling_method = polling
    return LROPoller(self._client, raw_result, get_long_running_output, polling_method)