def METHOD_NAME(private_cloud_name: Optional[str] = None,
                                   public_ip_id: Optional[str] = None,
                                   resource_group_name: Optional[str] = None,
                                   opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkloadNetworkPublicIPResult:
    """
    NSX Public IP Block
    :param str private_cloud_name: Name of the private cloud
    :param str public_ip_id: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    """
    __args__ = dict()
    __args__['privateCloudName'] = private_cloud_name
    __args__['publicIPId'] = public_ip_id
    __args__['resourceGroupName'] = resource_group_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:avs/v20220501:getWorkloadNetworkPublicIP', __args__, opts=opts, typ=GetWorkloadNetworkPublicIPResult).value
    return AwaitableGetWorkloadNetworkPublicIPResult(
        display_name=pulumi.get(__ret__, 'display_name'),
        id=pulumi.get(__ret__, 'id'),
        name=pulumi.get(__ret__, 'name'),
        number_of_public_ips=pulumi.get(__ret__, 'number_of_public_ips'),
        provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
        public_ip_block=pulumi.get(__ret__, 'public_ip_block'),
        type=pulumi.get(__ret__, 'type'))