fix typos in storage SDK (#5208)
This commit is contained in:
parent
ada3915d6f
commit
71cee91d1b
16
.vscode/cspell.json
vendored
16
.vscode/cspell.json
vendored
@ -62,6 +62,7 @@
|
||||
"AMQP",
|
||||
"AMQPS",
|
||||
"AMQPVALUE",
|
||||
"avro",
|
||||
"antkmsft",
|
||||
"azcore",
|
||||
"azsdk",
|
||||
@ -129,6 +130,7 @@
|
||||
"LPBYTE",
|
||||
"LPSTR",
|
||||
"LPWSTR",
|
||||
"mbps",
|
||||
"MHSM",
|
||||
"mmdc",
|
||||
"moxygen",
|
||||
@ -190,6 +192,7 @@
|
||||
"uaenorth",
|
||||
"uamqp",
|
||||
"uksouth",
|
||||
"Uncomitted",
|
||||
"undeleted",
|
||||
"unscoped",
|
||||
"unskipped",
|
||||
@ -201,6 +204,7 @@
|
||||
"Verdana",
|
||||
"Viet",
|
||||
"Viktor",
|
||||
"versionid",
|
||||
"vusg",
|
||||
"Wdocumentation",
|
||||
"Werror",
|
||||
@ -317,12 +321,24 @@
|
||||
"pfile"
|
||||
]
|
||||
},
|
||||
{
|
||||
"filename": "**/sdk/storage/faq.md",
|
||||
"words": [
|
||||
"dont"
|
||||
]
|
||||
},
|
||||
{
|
||||
"filename": "**/sdk/storage/azure-storage-queues/src/rest_client.cpp",
|
||||
"words": [
|
||||
"numofmessages"
|
||||
]
|
||||
},
|
||||
{
|
||||
"filename": "**/sdk/storage/azure-storage-queues/swagger/README.md",
|
||||
"words": [
|
||||
"messageid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"filename": "**/sdk/storage/azure-storage-files-shares/**/*",
|
||||
"words": [
|
||||
|
||||
@ -1144,7 +1144,7 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
* @brief Creates CSV text configuration.
|
||||
*
|
||||
* @param recordSeparator Record separator.
|
||||
* @param columnSeparator Column sepeartor.
|
||||
* @param columnSeparator Column separator.
|
||||
* @param quotationCharacter Field quote.
|
||||
* @param escapeCharacter Escape character.
|
||||
* @param hasHeaders If CSV file has headers.
|
||||
@ -1191,7 +1191,7 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
* @brief Creates CSV text configuration.
|
||||
*
|
||||
* @param recordSeparator Record separator.
|
||||
* @param columnSeparator Column sepeartor.
|
||||
* @param columnSeparator Column separator.
|
||||
* @param quotationCharacter Field quote.
|
||||
* @param escapeCharacter Escape character.
|
||||
* @param hasHeaders If CSV file has headers.
|
||||
|
||||
@ -633,7 +633,7 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
auto response = _detail::BlobClient::Query(
|
||||
*m_pipeline, m_blobUrl, protocolLayerOptions, _internal::WithReplicaStatus(context));
|
||||
|
||||
const auto stautsCode = response.RawResponse->GetStatusCode();
|
||||
const auto statusCode = response.RawResponse->GetStatusCode();
|
||||
const auto reasonPhrase = response.RawResponse->GetReasonPhrase();
|
||||
const auto requestId
|
||||
= response.RawResponse->GetHeaders().count(_internal::HttpHeaderRequestId) != 0
|
||||
@ -646,11 +646,11 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
: std::string();
|
||||
|
||||
auto defaultErrorHandler
|
||||
= [stautsCode, reasonPhrase, requestId, clientRequestId](BlobQueryError e) {
|
||||
= [statusCode, reasonPhrase, requestId, clientRequestId](BlobQueryError e) {
|
||||
if (e.IsFatal)
|
||||
{
|
||||
StorageException exception("Fatal " + e.Name + " at " + std::to_string(e.Position));
|
||||
exception.StatusCode = stautsCode;
|
||||
exception.StatusCode = statusCode;
|
||||
exception.ReasonPhrase = reasonPhrase;
|
||||
exception.RequestId = requestId;
|
||||
exception.ClientRequestId = clientRequestId;
|
||||
|
||||
@ -1786,7 +1786,7 @@ directive:
|
||||
$.ContainerProperties.properties["DefaultEncryptionScope"].description = "The default encryption scope for the container.";
|
||||
$.ContainerProperties.properties["DenyEncryptionScopeOverride"].description = "Indicates whether the container's default encryption scope can be overriden.";
|
||||
$.ContainerProperties.properties["DeletedTime"].description = "Data and time at which this container was deleted. Only valid when this container was deleted.";
|
||||
$.ContainerProperties.properties["RemainingRetentionDays"].description = "Remaining days before this container will be permanantely deleted. Only valid when this container was deleted.";
|
||||
$.ContainerProperties.properties["RemainingRetentionDays"].description = "Remaining days before this container will be permanently deleted. Only valid when this container was deleted.";
|
||||
$.FilterBlobItem.properties["Name"].description = "Blob name.";
|
||||
$.FilterBlobItem.properties["ContainerName"].description = "Blob container name.";
|
||||
$.BlobItemInternal.properties["Name"].description = "Blob name.";
|
||||
@ -1810,7 +1810,7 @@ directive:
|
||||
$.BlobPropertiesInternal.properties["IncrementalCopy"].description = "Included if the blob is incremental copy blob.";
|
||||
$.BlobPropertiesInternal.properties["DestinationSnapshot"].description = "Included if the blob is incremental copy blob or incremental copy snapshot, if x-ms-copy-status is success. Snapshot time of the last successful incremental copy snapshot for this blob.";
|
||||
$.BlobPropertiesInternal.properties["DeletedTime"].description = "Data and time at which this blob was deleted. Only valid when this blob was deleted.";
|
||||
$.BlobPropertiesInternal.properties["RemainingRetentionDays"].description = "Remaining days before this blob will be permanantely deleted. Only valid when this blob was deleted.";
|
||||
$.BlobPropertiesInternal.properties["RemainingRetentionDays"].description = "Remaining days before this blob will be permanently deleted. Only valid when this blob was deleted.";
|
||||
$.BlobPropertiesInternal.properties["AccessTierInferred"].description = "True if the access tier is not explicitly set on the blob.";
|
||||
$.BlobPropertiesInternal.properties["CustomerProvidedKeySha256"].description = "SHA-256 hash of the encryption key.";
|
||||
$.BlobPropertiesInternal.properties["AccessTierChangeTime"].description = "The time the tier was changed on the object. This is only returned if the tier on the block blob was ever set.";
|
||||
|
||||
@ -27,7 +27,7 @@ namespace Azure { namespace Storage { namespace Blobs { namespace Test {
|
||||
*/
|
||||
class UploadBlob : public Azure::Storage::Blobs::Test::BlobsTest {
|
||||
private:
|
||||
// C++ can upload and download from contiguos memory or file only
|
||||
// C++ can upload and download from continuous memory or file only
|
||||
std::vector<uint8_t> m_uploadBuffer;
|
||||
|
||||
public:
|
||||
|
||||
@ -318,6 +318,7 @@ namespace Azure { namespace Storage { namespace Test {
|
||||
|
||||
// Set Acls
|
||||
auto rootDirClient = m_fileSystemClient->GetDirectoryClient("");
|
||||
/* cspell:disable-next-line */
|
||||
rootDirClient.SetPermissions("rwxrwxrwx");
|
||||
auto aclResult = rootDirClient.GetAccessControlList();
|
||||
auto acls = aclResult.Value.Acls;
|
||||
|
||||
@ -614,7 +614,7 @@ directive:
|
||||
$["x-ms-marker"]["x-nullable"] = true;
|
||||
```
|
||||
|
||||
### CreateDirecotry
|
||||
### CreateDirectory
|
||||
|
||||
```yaml
|
||||
directive:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user