public PagedList<PublicIPAddressInner> listVirtualMachineScaleSetPublicIPAddresses(final String resourceGroupName, final String virtualMachineScaleSetName) {
        ServiceResponse<Page<PublicIPAddressInner>> response = listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync(resourceGroupName, virtualMachineScaleSetName).toBlocking().single();
        return new PagedList<PublicIPAddressInner>(response.body()) {
            @Override
            public Page<PublicIPAddressInner> nextPage(String nextPageLink) {
                return listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(nextPageLink).toBlocking().single().body();
            }
        };
    }
public PagedList < PublicIPAddressInner > listVirtualMachineScaleSetPublicIPAddresses ( final String resourceGroupName , final String virtualMachineScaleSetName ) { ServiceResponse < Page < PublicIPAddressInner > > response = listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync ( resourceGroupName , virtualMachineScaleSetName ) . toBlocking ( ) . single ( ) ; return new PagedList < PublicIPAddressInner > ( response . body ( ) ) { @ Override public Page < PublicIPAddressInner > nextPage ( String nextPageLink ) { return listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync ( nextPageLink ) . toBlocking ( ) . single ( ) . body ( ) ; } } ; }
Gets information about all public IP addresses on a virtual machine scale set level.

@param resourceGroupName The name of the resource group.
@param virtualMachineScaleSetName The name of the virtual machine scale set.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@return the PagedList&lt;PublicIPAddressInner&gt; object if successful.