private static function _getDefaultServiceEndpoint($settings, $dns)
    {
        $scheme = Utilities::tryGetValueInsensitive(
            Resources::DEFAULT_ENDPOINTS_PROTOCOL_NAME,
            $settings
        );
        $accountName = Utilities::tryGetValueInsensitive(
            Resources::ACCOUNT_NAME_NAME,
            $settings
        );

        return sprintf(Resources::SERVICE_URI_FORMAT, $scheme, $accountName, $dns);
    }