コード例 #1
0
    storage_uri generate_queue_uri(const cloud_queue_client& service_client, const cloud_queue& queue)
    {
        web::http::uri primary_uri = generate_queue_uri(service_client.base_uri().primary_uri(), queue);
        web::http::uri secondary_uri = generate_queue_uri(service_client.base_uri().secondary_uri(), queue);

        return storage_uri(primary_uri, secondary_uri);
    }
コード例 #2
0
    storage_uri generate_queue_uri(const cloud_queue_client& service_client, const utility::string_t& prefix, bool get_metadata, int max_results, const continuation_token& continuation_token)
    {
        web::http::uri primary_uri = generate_queue_uri(service_client.base_uri().primary_uri(), prefix, get_metadata, max_results, continuation_token);
        web::http::uri secondary_uri = generate_queue_uri(service_client.base_uri().secondary_uri(), prefix, get_metadata, max_results, continuation_token);

        return storage_uri(primary_uri, secondary_uri);
    }
コード例 #3
0
    storage_uri generate_queue_message_uri(const cloud_queue_client& service_client, const cloud_queue& queue, const cloud_queue_message& message)
    {
        web::http::uri primary_uri(generate_queue_message_uri(service_client.base_uri().primary_uri(), queue, message));
        web::http::uri secondary_uri(generate_queue_message_uri(service_client.base_uri().secondary_uri(), queue, message));

        return storage_uri(std::move(primary_uri), std::move(secondary_uri));
    }