diff --git a/sdk/core/azure-core/src/http/curl/curl.cpp b/sdk/core/azure-core/src/http/curl/curl.cpp index 06ac64e55..badf471d1 100644 --- a/sdk/core/azure-core/src/http/curl/curl.cpp +++ b/sdk/core/azure-core/src/http/curl/curl.cpp @@ -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)) diff --git a/sdk/core/azure-core/src/http/retry_policy.cpp b/sdk/core/azure-core/src/http/retry_policy.cpp index df6b22cef..2e7b93460 100644 --- a/sdk/core/azure-core/src/http/retry_policy.cpp +++ b/sdk/core/azure-core/src/http/retry_policy.cpp @@ -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: diff --git a/sdk/identity/azure-identity/inc/azure/identity/client_secret_credential.hpp b/sdk/identity/azure-identity/inc/azure/identity/client_secret_credential.hpp index 4786a2965..44f53b379 100644 --- a/sdk/identity/azure-identity/inc/azure/identity/client_secret_credential.hpp +++ b/sdk/identity/azure-identity/inc/azure/identity/client_secret_credential.hpp @@ -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; }; diff --git a/sdk/keyvault/azure-security-keyvault-keys/test/ut/key_client_import_test_live.cpp b/sdk/keyvault/azure-security-keyvault-keys/test/ut/key_client_import_test_live.cpp index 2332850e5..966a82bcc 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/test/ut/key_client_import_test_live.cpp +++ b/sdk/keyvault/azure-security-keyvault-keys/test/ut/key_client_import_test_live.cpp @@ -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-" diff --git a/sdk/keyvault/azure-security-keyvault-keys/test/ut/mocked_transport_adapter_test.hpp b/sdk/keyvault/azure-security-keyvault-keys/test/ut/mocked_transport_adapter_test.hpp index 3532b173b..f207f0c0d 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/test/ut/mocked_transport_adapter_test.hpp +++ b/sdk/keyvault/azure-security-keyvault-keys/test/ut/mocked_transport_adapter_test.hpp @@ -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/" diff --git a/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_options.hpp b/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_options.hpp index 3081e0aaf..d9b57b4d4 100644 --- a/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_options.hpp +++ b/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_options.hpp @@ -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 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; diff --git a/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/protocol/blob_rest_client.hpp b/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/protocol/blob_rest_client.hpp index 226382774..ff5ef5613 100644 --- a/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/protocol/blob_rest_client.hpp +++ b/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/protocol/blob_rest_client.hpp @@ -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; /** diff --git a/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_options.hpp b/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_options.hpp index 0af991b87..0bd9c935a 100644 --- a/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_options.hpp +++ b/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_options.hpp @@ -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 { diff --git a/sdk/storage/azure-storage-queues/inc/azure/storage/queues/queue_options.hpp b/sdk/storage/azure-storage-queues/inc/azure/storage/queues/queue_options.hpp index 6e268cb1d..1f3d465bc 100644 --- a/sdk/storage/azure-storage-queues/inc/azure/storage/queues/queue_options.hpp +++ b/sdk/storage/azure-storage-queues/inc/azure/storage/queues/queue_options.hpp @@ -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;