def METHOD_NAME(subscription_id, resource_group_name, service_name, arg_dict):
    url_fmt = "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DBforPostgreSQL/flexibleServers/" \
              "{}/databases/{}"
    resource_id = url_fmt.format(
        subscription_id,
        resource_group_name,
        service_name,
        arg_dict["database"])
    return resource_id