Remove en-us from links in code comments (#3083)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
parent
a583bc293b
commit
767b03401e
@ -133,7 +133,7 @@ void WinSocketSetBuffSize(curl_socket_t socket)
|
||||
{
|
||||
// if WSAloctl succeeded (returned 0), set the socket buffer size.
|
||||
// Specifies the total per-socket buffer space reserved for sends.
|
||||
// https://docs.microsoft.com/en-us/windows/win32/api/winsock/nf-winsock-setsockopt
|
||||
// https://docs.microsoft.com/windows/win32/api/winsock/nf-winsock-setsockopt
|
||||
auto result = setsockopt(socket, SOL_SOCKET, SO_SNDBUF, (const char*)&ideal, sizeof(ideal));
|
||||
|
||||
if (Log::ShouldWrite(Logger::Level::Verbose))
|
||||
|
||||
@ -42,8 +42,8 @@ bool GetResponseHeaderBasedDelay(RawResponse const& response, std::chrono::milli
|
||||
// To be accurate, the Retry-After header is EITHER seconds, or a DateTime. So we need to
|
||||
// write a parser for that (and handle the case when parsing seconds fails).
|
||||
// More info:
|
||||
// * Retry-After header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After
|
||||
// * HTTP Date format: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date
|
||||
// * Retry-After header: https://developer.mozilla.org/docs/Web/HTTP/Headers/Retry-After
|
||||
// * HTTP Date format: https://developer.mozilla.org/docs/Web/HTTP/Headers/Date
|
||||
// * Parsing the date: https://en.cppreference.com/w/cpp/locale/time_get
|
||||
// * Get system datetime: https://en.cppreference.com/w/cpp/chrono/system_clock/now
|
||||
// * Subtract datetimes to get duration:
|
||||
|
||||
@ -36,7 +36,7 @@ namespace Azure { namespace Identity {
|
||||
*
|
||||
* @note Example of a \p authority string: "https://login.microsoftonline.us/". See national
|
||||
* clouds' Azure AD authentication endpoints:
|
||||
* https://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-national-cloud.
|
||||
* https://docs.microsoft.com/azure/active-directory/develop/authentication-national-cloud.
|
||||
*/
|
||||
std::string AuthorityHost = _detail::g_aadGlobalAuthority;
|
||||
};
|
||||
|
||||
@ -27,7 +27,7 @@ TEST_F(KeyVaultClientTest, ImportKey)
|
||||
KeyClient keyClient(m_keyVaultUrl, m_credential);
|
||||
JsonWebKey key;
|
||||
key.KeyType = KeyVaultKeyType::Rsa;
|
||||
// Values from https://docs.microsoft.com/en-us/rest/api/keyvault/importkey/importkey
|
||||
// Values from https://docs.microsoft.com/rest/api/keyvault/importkey/importkey
|
||||
key.N = Base64Url::Base64UrlDecode(
|
||||
"nKAwarTrOpzd1hhH4cQNdVTgRF-b0ubPD8ZNVf0UXjb62QuAk3Dn68ESThcF7SoDYRx2QVcfoMC9WCcuQUQDieJF-"
|
||||
"lvJTSer1TwH72NBovwKlHvrXqEI0a6_uVYY5n-"
|
||||
|
||||
@ -24,7 +24,7 @@ namespace Azure { namespace Security { namespace KeyVault { namespace Keys { nam
|
||||
|
||||
namespace _detail {
|
||||
// Return a simple key as response so keyvault can parse it to create the T response
|
||||
// Fake key from https://docs.microsoft.com/en-us/rest/api/keyvault/GetKey/GetKey#examples
|
||||
// Fake key from https://docs.microsoft.com/rest/api/keyvault/GetKey/GetKey#examples
|
||||
static const char FakeKey[]
|
||||
= "{ \"key\": { \"kid\": "
|
||||
"\"https://myvault.vault.azure.net/keys/CreateSoftKeyTest/"
|
||||
|
||||
@ -39,7 +39,7 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
|
||||
/**
|
||||
* @brief Optional SQL statement to apply to the tags of the Blob. Refer to
|
||||
* https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations#tags-predicate-syntax
|
||||
* https://docs.microsoft.com/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations#tags-predicate-syntax
|
||||
* for the format of SQL statements.
|
||||
*/
|
||||
Azure::Nullable<std::string> TagConditions;
|
||||
@ -148,7 +148,7 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
* operation against another host. If SecondaryHostForRetryReads is "" (the default) then
|
||||
* operations are not retried against another host. NOTE: Before setting this field, make sure
|
||||
* you understand the issues around reading stale & potentially-inconsistent data at this
|
||||
* webpage: https://docs.microsoft.com/en-us/azure/storage/common/geo-redundant-design.
|
||||
* webpage: https://docs.microsoft.com/azure/storage/common/geo-redundant-design.
|
||||
*/
|
||||
std::string SecondaryHostForRetryReads;
|
||||
|
||||
|
||||
@ -1140,12 +1140,12 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
{
|
||||
/**
|
||||
* The SKU name of the storage account. See
|
||||
* https://docs.microsoft.com/en-us/rest/api/storagerp/srp_sku_types for more information.
|
||||
* https://docs.microsoft.com/rest/api/storagerp/srp_sku_types for more information.
|
||||
*/
|
||||
Models::SkuName SkuName;
|
||||
/**
|
||||
* The account kind of the storage account. See
|
||||
* https://docs.microsoft.com/en-us/rest/api/storagerp/srp_sku_types for more information.
|
||||
* https://docs.microsoft.com/rest/api/storagerp/srp_sku_types for more information.
|
||||
*/
|
||||
Models::AccountKind AccountKind;
|
||||
/**
|
||||
|
||||
@ -34,7 +34,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
|
||||
* operation against another host. If SecondaryHostForRetryReads is "" (the default) then
|
||||
* operations are not retried against another host. NOTE: Before setting this field, make sure
|
||||
* you understand the issues around reading stale & potentially-inconsistent data at this
|
||||
* webpage: https://docs.microsoft.com/en-us/azure/storage/common/geo-redundant-design.
|
||||
* webpage: https://docs.microsoft.com/azure/storage/common/geo-redundant-design.
|
||||
*/
|
||||
std::string SecondaryHostForRetryReads;
|
||||
|
||||
@ -220,7 +220,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
|
||||
* #Azure::Storage::Files::DataLake::DataLakeFileSystemClient::RenameDirectory.
|
||||
* @remark Some optional parameter is mandatory in certain combination.
|
||||
* More details:
|
||||
* https://docs.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
||||
* https://docs.microsoft.com/rest/api/storageservices/datalakestoragegen2/path/create
|
||||
*/
|
||||
struct RenameDirectoryOptions final
|
||||
{
|
||||
@ -373,7 +373,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
|
||||
* @brief Optional parameters for #Azure::Storage::Files::DataLake::PathClient::Create.
|
||||
* @remark Some optional parameter is mandatory in certain combination.
|
||||
* More details:
|
||||
* https://docs.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/create
|
||||
* https://docs.microsoft.com/rest/api/storageservices/datalakestoragegen2/path/create
|
||||
*/
|
||||
struct CreatePathOptions final
|
||||
{
|
||||
@ -420,7 +420,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
|
||||
* @brief Optional parameters for #Azure::Storage::Files::DataLake::DirectoryClient::Delete.
|
||||
* @remark Some optional parameter is mandatory in certain combination.
|
||||
* More details:
|
||||
* https://docs.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/delete
|
||||
* https://docs.microsoft.com/rest/api/storageservices/datalakestoragegen2/path/delete
|
||||
*/
|
||||
struct DeletePathOptions final
|
||||
{
|
||||
@ -440,7 +440,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
|
||||
* @brief Optional parameters for #Azure::Storage::Files::DataLake::PathClient::GetProperties.
|
||||
* @remark Some optional parameter is mandatory in certain combination.
|
||||
* More details:
|
||||
* https://docs.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/getproperties
|
||||
* https://docs.microsoft.com/rest/api/storageservices/datalakestoragegen2/path/getproperties
|
||||
*/
|
||||
struct GetPathPropertiesOptions final
|
||||
{
|
||||
@ -466,7 +466,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
|
||||
* @brief Optional parameters for #Azure::Storage::Files::DataLake::PathClient::Read.
|
||||
* @remark Some optional parameter is mandatory in certain combination.
|
||||
* More details:
|
||||
* https://docs.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/read
|
||||
* https://docs.microsoft.com/rest/api/storageservices/datalakestoragegen2/path/read
|
||||
*/
|
||||
struct DownloadFileOptions final
|
||||
{
|
||||
|
||||
@ -66,7 +66,7 @@ namespace Azure { namespace Storage { namespace Queues {
|
||||
* operation against another host. If SecondaryHostForRetryReads is "" (the default) then
|
||||
* operations are not retried against another host. NOTE: Before setting this field, make sure
|
||||
* you understand the issues around reading stale & potentially-inconsistent data at this
|
||||
* webpage: https://docs.microsoft.com/en-us/azure/storage/common/geo-redundant-design.
|
||||
* webpage: https://docs.microsoft.com/azure/storage/common/geo-redundant-design.
|
||||
*/
|
||||
std::string SecondaryHostForRetryReads;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user