diff --git a/Microsoft.Azure.Cosmos.Encryption/src/EncryptionContainer.cs b/Microsoft.Azure.Cosmos.Encryption/src/EncryptionContainer.cs index 6c663a0f85..d32bfa1c94 100644 --- a/Microsoft.Azure.Cosmos.Encryption/src/EncryptionContainer.cs +++ b/Microsoft.Azure.Cosmos.Encryption/src/EncryptionContainer.cs @@ -837,47 +837,6 @@ internal async Task ThrowIfRequestNeedsARetryPostPolicyRefreshAsync( } } - /// - /// This function handles the scenario where a container is deleted(say from different Client) and recreated with same Id but with different client encryption policy. - /// The idea is to have the container Rid cached and sent out as part of RequestOptions with Container Rid set in "x-ms-cosmos-intended-collection-rid" header. - /// So when the container being referenced here gets recreated we would end up with a stale encryption settings and container Rid and this would result in BadRequest( and a substatus 1024). - /// This would allow us to refresh the encryption settings and Container Rid, on the premise that the container recreated could possibly be configured with a new encryption policy. - /// - /// Response message to validate. - /// Current cached encryption settings to refresh if required. - /// Encryption specific diagnostics. - /// Cancellation token. - internal async Task ThrowIfRequestNeedsARetryPostPolicyRefreshAsync( - ResponseMessage responseMessage, - EncryptionSettings encryptionSettings, - EncryptionDiagnosticsContext encryptionDiagnosticsContext, - CancellationToken cancellationToken) - { - if (responseMessage.StatusCode == HttpStatusCode.BadRequest && - string.Equals(responseMessage.Headers.Get(Constants.SubStatusHeader), Constants.IncorrectContainerRidSubStatus)) - { - // get the latest encryption settings. - await this.GetOrUpdateEncryptionSettingsFromCacheAsync( - obsoleteEncryptionSettings: encryptionSettings, - cancellationToken: cancellationToken); - - if (encryptionDiagnosticsContext == null) - { - throw new ArgumentNullException(nameof(encryptionDiagnosticsContext)); - } - - encryptionDiagnosticsContext.AddEncryptionDiagnosticsToResponseMessage(responseMessage); - - throw new EncryptionCosmosException( - "Operation has failed due to a possible mismatch in Client Encryption Policy configured on the container. Retrying may fix the issue. Please refer to https://aka.ms/CosmosClientEncryption for more details. " + responseMessage.ErrorMessage, - HttpStatusCode.BadRequest, - int.Parse(Constants.IncorrectContainerRidSubStatus), - responseMessage.Headers.ActivityId, - responseMessage.Headers.RequestCharge, - responseMessage.Diagnostics); - } - } - internal async Task> EncryptPatchOperationsAsync( IReadOnlyList patchOperations, EncryptionSettings encryptionSettings, diff --git a/Microsoft.Azure.Cosmos.Encryption/src/EncryptionDatabaseExtensions.cs b/Microsoft.Azure.Cosmos.Encryption/src/EncryptionDatabaseExtensions.cs index dd39573572..f867921946 100644 --- a/Microsoft.Azure.Cosmos.Encryption/src/EncryptionDatabaseExtensions.cs +++ b/Microsoft.Azure.Cosmos.Encryption/src/EncryptionDatabaseExtensions.cs @@ -121,7 +121,7 @@ public static async Task CreateClientEncryptionKeyA ClientEncryptionKeyProperties clientEncryptionKeyProperties = new ClientEncryptionKeyProperties( clientEncryptionKeyId, - dataEncryptionKeyAlgorithm, + encryptionAlgorithm, wrappedDataEncryptionKey, encryptionKeyWrapMetadata); diff --git a/Microsoft.Azure.Cosmos.Encryption/src/EncryptionType.cs b/Microsoft.Azure.Cosmos.Encryption/src/EncryptionType.cs index 2f9dff5d8f..27f1333c57 100644 --- a/Microsoft.Azure.Cosmos.Encryption/src/EncryptionType.cs +++ b/Microsoft.Azure.Cosmos.Encryption/src/EncryptionType.cs @@ -5,22 +5,10 @@ namespace Microsoft.Azure.Cosmos.Encryption { /// -<<<<<<<< HEAD:Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/EncryptionType.cs - /// Represents the encryption algorithms supported for data encryption. - /// - /// - /// The type of data encryption. - /// - /// - /// The two encryption types are Deterministic and Randomized. - /// Deterministic encryption always generates the same encrypted value for any given plain text value. - /// Randomized encryption uses a method that encrypts data in a less predictable manner. Randomized encryption is more secure. -======== /// Encryption types supported for data encryption. /// /// /// See client-side encryption documentation for more details. ->>>>>>>> master:Microsoft.Azure.Cosmos.Encryption/src/EncryptionType.cs /// public static class EncryptionType { diff --git a/Microsoft.Azure.Cosmos.Encryption/src/MdeSrc/AzureKeyVaultProvider/AzureKeyVaultKeyStoreProvider.cs b/Microsoft.Azure.Cosmos.Encryption/src/MdeSrc/AzureKeyVaultProvider/AzureKeyVaultKeyStoreProvider.cs deleted file mode 100644 index 2c01f4fb17..0000000000 --- a/Microsoft.Azure.Cosmos.Encryption/src/MdeSrc/AzureKeyVaultProvider/AzureKeyVaultKeyStoreProvider.cs +++ /dev/null @@ -1,352 +0,0 @@ -//------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All rights reserved. -//------------------------------------------------------------ - -// This file isn't generated, but this comment is necessary to exclude it from StyleCop analysis. -// - -using System; -using System.Linq; -using System.Text; -using Azure.Core; -using Azure.Security.KeyVault.Keys.Cryptography; -using Microsoft.Data.Encryption.Cryptography; - -using static Microsoft.Data.Encryption.Resources.Strings; - -namespace Microsoft.Data.Encryption.AzureKeyVaultProvider -{ - /// - /// Implementation of key encryption key store provider that allows client applications to access data when a - /// key encryption key is stored in Microsoft Azure Key Vault. - /// - internal class AzureKeyVaultKeyStoreProvider : EncryptionKeyStoreProvider - { - #region Properties - - /// - /// Name of the Encryption Key Store Provider implemetation - /// - public override string ProviderName { get; } = "AZURE_KEY_VAULT"; - - /// - /// Key storage and cryptography client - /// - private KeyCryptographer KeyCryptographer { get; set; } - - /// - /// Algorithm version - /// - private readonly static byte[] firstVersion = new byte[] { 0x01 }; - - private readonly static KeyWrapAlgorithm keyWrapAlgorithm = KeyWrapAlgorithm.RsaOaep; - - /// - /// List of Trusted Endpoints - /// - public readonly string[] TrustedEndPoints; - - #endregion - - #region Constructors - /// - /// Constructor that takes an implementation of Token Credential that is capable of providing an OAuth Token. - /// - /// - public AzureKeyVaultKeyStoreProvider(TokenCredential tokenCredential) : - this(tokenCredential, Constants.AzureKeyVaultPublicDomainNames) - { } - - /// - /// Constructor that takes an implementation of Token Credential that is capable of providing an OAuth Token and a trusted endpoint. - /// - /// Instance of an implementation of Token Credential that is capable of providing an OAuth Token. - /// TrustedEndpoint is used to validate the key encryption key path. - public AzureKeyVaultKeyStoreProvider(TokenCredential tokenCredential, string trustedEndPoint) : - this(tokenCredential, new[] { trustedEndPoint }) - { } - - /// - /// Constructor that takes an instance of an implementation of Token Credential that is capable of providing an OAuth Token - /// and an array of trusted endpoints. - /// - /// Instance of an implementation of Token Credential that is capable of providing an OAuth Token - /// TrustedEndpoints are used to validate the key encryption key path - public AzureKeyVaultKeyStoreProvider(TokenCredential tokenCredential, string[] trustedEndPoints) - { - tokenCredential.ValidateNotNull(nameof(tokenCredential)); - trustedEndPoints.ValidateNotNull(nameof(trustedEndPoints)); - trustedEndPoints.ValidateNotEmpty(nameof(trustedEndPoints)); - trustedEndPoints.ValidateNotNullOrWhitespaceForEach(nameof(trustedEndPoints)); - - KeyCryptographer = new KeyCryptographer(tokenCredential); - TrustedEndPoints = trustedEndPoints; - } - #endregion - - #region Public methods - - /// - /// Uses an asymmetric key identified by the key path to sign the key encryption key metadata consisting of (keyEncryptionKeyPath, allowEnclaveComputations bit, providerName). - /// - /// Identifier of an asymmetric key in Azure Key Vault. - /// Indicates whether the key encryption key supports enclave computations. - /// The signature of the key encryption key metadata. - public override byte[] Sign(string encryptionKeyId, bool allowEnclaveComputations) - { - ValidateNonEmptyAKVPath(encryptionKeyId, isSystemOp: false); - - // Also validates key is of RSA type. - KeyCryptographer.AddKey(encryptionKeyId); - byte[] message = CompileKeyEncryptionKeyMetadata(encryptionKeyId, allowEnclaveComputations); - return KeyCryptographer.SignData(message, encryptionKeyId); - } - - /// - /// Uses an asymmetric key identified by the key path to verify the key encryption key metadata consisting of (keyEncryptionKeyPath, allowEnclaveComputations bit, providerName). - /// - /// Identifier of an asymmetric key in Azure Key Vault - /// Indicates whether the key encryption key supports enclave computations. - /// The signature of the key encryption key metadata. - /// Boolean indicating whether the key encryption key metadata can be verified based on the provided signature. - public override bool Verify(string encryptionKeyId, bool allowEnclaveComputations, byte[] signature) - { - ValidateNonEmptyAKVPath(encryptionKeyId, isSystemOp: true); - - var key = Tuple.Create(encryptionKeyId, allowEnclaveComputations, signature.ToHexString()); - return GetOrCreateSignatureVerificationResult(key, VerifyKeyEncryptionKeyMetadata); - - bool VerifyKeyEncryptionKeyMetadata() - { - // Also validates key is of RSA type. - KeyCryptographer.AddKey(encryptionKeyId); - byte[] message = CompileKeyEncryptionKeyMetadata(encryptionKeyId, allowEnclaveComputations); - return KeyCryptographer.VerifyData(message, signature, encryptionKeyId); - } - } - - /// - /// This function uses the asymmetric key specified by the key path - /// and decrypts an encrypted data dencryption key with RSA encryption algorithm. - /// - /// Identifier of an asymmetric key in Azure Key Vault - /// The encryption algorithm. - /// The ciphertext key. - /// Plain text data encryption key - public override byte[] UnwrapKey(string encryptionKeyId, KeyEncryptionKeyAlgorithm algorithm, byte[] encryptedKey) - { - // Validate the input parameters - ValidateNonEmptyAKVPath(encryptionKeyId, isSystemOp: true); - ValidateEncryptionAlgorithm(algorithm); - encryptedKey.ValidateNotNull(nameof(encryptedKey)); - encryptedKey.ValidateNotEmpty(nameof(encryptedKey)); - ValidateVersionByte(encryptedKey[0], firstVersion[0]); - - return GetOrCreateDataEncryptionKey(encryptedKey.ToHexString(), DecryptEncryptionKey); - - byte[] DecryptEncryptionKey() - { - // Also validates whether the key is RSA one or not and then get the key size - KeyCryptographer.AddKey(encryptionKeyId); - - int keySizeInBytes = KeyCryptographer.GetKeySize(encryptionKeyId); - - // Get key path length - int currentIndex = firstVersion.Length; - ushort keyPathLength = BitConverter.ToUInt16(encryptedKey, currentIndex); - currentIndex += sizeof(ushort); - - // Get ciphertext length - ushort cipherTextLength = BitConverter.ToUInt16(encryptedKey, currentIndex); - currentIndex += sizeof(ushort); - - // Skip KeyPath - // KeyPath exists only for troubleshooting purposes and doesnt need validation. - currentIndex += keyPathLength; - - // validate the ciphertext length - if (cipherTextLength != keySizeInBytes) - { - throw new MicrosoftDataEncryptionException(InvalidCiphertextLengthTemplate.FormatInvariant(cipherTextLength, keySizeInBytes, encryptionKeyId)); - } - - // Validate the signature length - int signatureLength = encryptedKey.Length - currentIndex - cipherTextLength; - if (signatureLength != keySizeInBytes) - { - throw new MicrosoftDataEncryptionException(InvalidSignatureLengthTemplate.FormatInvariant(signatureLength, keySizeInBytes, encryptionKeyId)); - } - - // Get ciphertext - byte[] cipherText = encryptedKey.Skip(currentIndex).Take(cipherTextLength).ToArray(); - currentIndex += cipherTextLength; - - // Get signature - byte[] signature = encryptedKey.Skip(currentIndex).Take(signatureLength).ToArray(); - - // Compute the message to validate the signature - byte[] message = encryptedKey.Take(encryptedKey.Length - signatureLength).ToArray(); - - if (null == message) - { - throw new MicrosoftDataEncryptionException(NullHash); - } - - if (!KeyCryptographer.VerifyData(message, signature, encryptionKeyId)) - { - throw new MicrosoftDataEncryptionException(InvalidSignatureTemplate.FormatInvariant(encryptionKeyId)); - } - - return KeyCryptographer.UnwrapKey(keyWrapAlgorithm, cipherText, encryptionKeyId); - } - } - - /// - /// This function uses the asymmetric key specified by the key path - /// and encrypts an unencrypted data encryption key with RSA encryption algorithm. - /// - /// Identifier of an asymmetric key in Azure Key Vault - /// The encryption algorithm. - /// The plaintext key. - /// Encrypted data encryption key - public override byte[] WrapKey(string encryptionKeyId, KeyEncryptionKeyAlgorithm algorithm, byte[] key) - { - // Validate the input parameters - ValidateNonEmptyAKVPath(encryptionKeyId, isSystemOp: true); - ValidateEncryptionAlgorithm(algorithm); - key.ValidateNotNull(nameof(key)); - ValidateDataEncryptionKeyNotEmpty(key); - - // Also validates whether the key is RSA one or not and then get the key size - KeyCryptographer.AddKey(encryptionKeyId); - int keySizeInBytes = KeyCryptographer.GetKeySize(encryptionKeyId); - - // Construct the encryptedDataEncryptionKey - // Format is - // firstVersion + keyPathLength + ciphertextLength + keyPath + ciphertext + signature - - // Get the Unicode encoded bytes of cultureinvariant lower case keyEncryptionKeyPath - byte[] keyEncryptionKeyPathBytes = Encoding.Unicode.GetBytes(encryptionKeyId.ToLowerInvariant()); - byte[] keyPathLength = BitConverter.GetBytes((short)keyEncryptionKeyPathBytes.Length); - - // Encrypt the plain text - byte[] cipherText = KeyCryptographer.WrapKey(keyWrapAlgorithm, key, encryptionKeyId); - byte[] cipherTextLength = BitConverter.GetBytes((short)cipherText.Length); - - if (cipherText.Length != keySizeInBytes) - { - throw new MicrosoftDataEncryptionException(CipherTextLengthMismatch); - } - - // Compute message - // SHA-2-256(version + keyPathLength + ciphertextLength + keyPath + ciphertext) - byte[] message = firstVersion.Concat(keyPathLength).Concat(cipherTextLength).Concat(keyEncryptionKeyPathBytes).Concat(cipherText).ToArray(); - - // Sign the message - byte[] signature = KeyCryptographer.SignData(message, encryptionKeyId); - - if (signature.Length != keySizeInBytes) - { - throw new MicrosoftDataEncryptionException(HashLengthMismatch); - } - - ValidateSignature(encryptionKeyId, message, signature); - - return message.Concat(signature).ToArray(); - } - - #endregion - - #region Private methods - - private void ValidateDataEncryptionKeyNotEmpty(byte[] encryptionKey) - { - if (encryptionKey.Length == 0) - { - throw new MicrosoftDataEncryptionException(EmptyDataEncryptionKey); - } - } - - /// - /// Checks if the Azure Key Vault key path is Empty or Null (and raises exception if they are). - /// - internal void ValidateNonEmptyAKVPath(string keyEncryptionKeyPath, bool isSystemOp) - { - // throw appropriate error if keyEncryptionKeyPath is null or empty - if (string.IsNullOrWhiteSpace(keyEncryptionKeyPath)) - { - string errorMessage = null == keyEncryptionKeyPath - ? NullAkvPath - : InvalidAkvPathTemplate.FormatInvariant(keyEncryptionKeyPath); - - if (isSystemOp) - { - throw new MicrosoftDataEncryptionException(errorMessage); - } - - throw new MicrosoftDataEncryptionException(errorMessage); - } - - - if (!Uri.TryCreate(keyEncryptionKeyPath, UriKind.Absolute, out Uri parsedUri) || parsedUri.Segments.Length < 3) - { - // Return an error indicating that the AKV url is invalid. - throw new MicrosoftDataEncryptionException(InvalidAkvUrlTemplate.FormatInvariant(keyEncryptionKeyPath)); - } - - // A valid URI. - // Check if it is pointing to trusted endpoint. - foreach (string trustedEndPoint in TrustedEndPoints) - { - if (parsedUri.Host.EndsWith(trustedEndPoint, StringComparison.OrdinalIgnoreCase)) - { - return; - } - } - - // Return an error indicating that the AKV url is invalid. - throw new MicrosoftDataEncryptionException(InvalidAkvKeyPathTrustedTemplate.FormatInvariant(keyEncryptionKeyPath, string.Join(", ", TrustedEndPoints.ToArray()))); - } - - private void ValidateSignature(string keyEncryptionKeyPath, byte[] message, byte[] signature) - { - if (!KeyCryptographer.VerifyData(message, signature, keyEncryptionKeyPath)) - { - throw new MicrosoftDataEncryptionException(InvalidSignature); - } - } - - private byte[] CompileKeyEncryptionKeyMetadata(string keyEncryptionKeyPath, bool allowEnclaveComputations) - { - string keyEncryptionKeyMetadata = ProviderName + keyEncryptionKeyPath + allowEnclaveComputations; - return Encoding.Unicode.GetBytes(keyEncryptionKeyMetadata.ToLowerInvariant()); - } - - - internal static void ValidateEncryptionAlgorithm(KeyEncryptionKeyAlgorithm encryptionAlgorithm) - { - if (encryptionAlgorithm != KeyEncryptionKeyAlgorithm.RSA_OAEP) - { - throw new MicrosoftDataEncryptionException(InvalidKeyAlgorithm.FormatInvariant(encryptionAlgorithm, KeyEncryptionKeyAlgorithm.RSA_OAEP.ToString())); - } - } - - internal static void ValidateVersionByte(byte encryptedByte, byte firstVersionByte) - { - // Validate and decrypt the EncryptedDataEncryptionKey - // Format is - // version + keyPathLength + ciphertextLength + keyPath + ciphertext + signature - // - // keyPath is present in the encrypted data encryption key for identifying the original source of the asymmetric key pair and - // we will not validate it against the data contained in the KEK metadata (keyEncryptionKeyPath). - - // Validate the version byte - if (encryptedByte != firstVersionByte) - { - throw new MicrosoftDataEncryptionException(InvalidAlgorithmVersionTemplate.FormatInvariant(encryptedByte.ToString(@"X2"), firstVersionByte.ToString("X2"))); - } - } - - #endregion - } -} \ No newline at end of file diff --git a/Microsoft.Azure.Cosmos.Encryption/src/MdeSrc/AzureKeyVaultProvider/Constants.cs b/Microsoft.Azure.Cosmos.Encryption/src/MdeSrc/AzureKeyVaultProvider/Constants.cs deleted file mode 100644 index b8db49e2a2..0000000000 --- a/Microsoft.Azure.Cosmos.Encryption/src/MdeSrc/AzureKeyVaultProvider/Constants.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All rights reserved. -//------------------------------------------------------------ - -// This file isn't generated, but this comment is necessary to exclude it from StyleCop analysis. -// - -namespace Microsoft.Data.Encryption.AzureKeyVaultProvider -{ - internal static class Constants - { - /// - /// Azure Key Vault Domain Name - /// - internal static readonly string[] AzureKeyVaultPublicDomainNames = new string[] { - @"vault.azure.net", // default - @"vault.azure.cn", // Azure China - @"vault.usgovcloudapi.net", // US Government - @"vault.microsoftazure.de", // Azure Germany - @"managedhsm.azure.net", // public HSM vault - @"managedhsm.azure.cn", // Azure China HSM vault - @"managedhsm.usgovcloudapi.net", // US Government HSM vault - @"managedhsm.microsoftazure.de" // Azure Germany HSM vault - }; - } -} diff --git a/Microsoft.Azure.Cosmos.Encryption/src/MdeSrc/AzureKeyVaultProvider/KeyCryptographer.cs b/Microsoft.Azure.Cosmos.Encryption/src/MdeSrc/AzureKeyVaultProvider/KeyCryptographer.cs deleted file mode 100644 index 5e065861ee..0000000000 --- a/Microsoft.Azure.Cosmos.Encryption/src/MdeSrc/AzureKeyVaultProvider/KeyCryptographer.cs +++ /dev/null @@ -1,226 +0,0 @@ -//------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All rights reserved. -//------------------------------------------------------------ - -// This file isn't generated, but this comment is necessary to exclude it from StyleCop analysis. -// - -using Azure; -using Azure.Core; -using Azure.Security.KeyVault.Keys; -using Azure.Security.KeyVault.Keys.Cryptography; -using System; -using System.Collections.Concurrent; -using System.Threading.Tasks; - -using static Azure.Security.KeyVault.Keys.Cryptography.SignatureAlgorithm; -using static Microsoft.Data.Encryption.Resources.Strings; - -namespace Microsoft.Data.Encryption.AzureKeyVaultProvider -{ - internal class KeyCryptographer - { - /// - /// TokenCredential to be used with the KeyClient - /// - private TokenCredential TokenCredential { get; set; } - - /// - /// A mapping of the KeyClient objects to the corresponding Azure Key Vault URI - /// - private readonly ConcurrentDictionary _keyClientDictionary = new ConcurrentDictionary(); - - /// - /// Holds references to the fetch key tasks and maps them to their corresponding Azure Key Vault Key Identifier (URI). - /// These tasks will be used for returning the key in the event that the fetch task has not finished depositing the - /// key into the key dictionary. - /// - private readonly ConcurrentDictionary>> _keyFetchTaskDictionary = new ConcurrentDictionary>>(); - - /// - /// Holds references to the Azure Key Vault keys and maps them to their corresponding Azure Key Vault Key Identifier (URI). - /// - private readonly ConcurrentDictionary _keyDictionary = new ConcurrentDictionary(); - - /// - /// Holds references to the Azure Key Vault CryptographyClient objects and maps them to their corresponding Azure Key Vault Key Identifier (URI). - /// - private readonly ConcurrentDictionary _cryptoClientDictionary = new ConcurrentDictionary(); - - /// - /// Constructs a new KeyCryptographer - /// - /// - internal KeyCryptographer(TokenCredential tokenCredential) - { - TokenCredential = tokenCredential; - } - - /// - /// Adds the key, specified by the Key Identifier URI, to the cache. - /// - /// - internal void AddKey(string keyIdentifierUri) - { - if (TheKeyHasNotBeenCached(keyIdentifierUri)) - { - ParseAKVPath(keyIdentifierUri, out Uri vaultUri, out string keyName, out string keyVersion); - CreateKeyClient(vaultUri); - FetchKey(vaultUri, keyName, keyVersion, keyIdentifierUri); - } - - bool TheKeyHasNotBeenCached(string k) => !_keyDictionary.ContainsKey(k) && !_keyFetchTaskDictionary.ContainsKey(k); - } - - /// - /// Returns the key specified by the Key Identifier URI - /// - /// - /// - internal KeyVaultKey GetKey(string keyIdentifierUri) - { - if (_keyDictionary.ContainsKey(keyIdentifierUri)) - { - _keyDictionary.TryGetValue(keyIdentifierUri, out KeyVaultKey key); - return key; - } - - if (_keyFetchTaskDictionary.ContainsKey(keyIdentifierUri)) - { - _keyFetchTaskDictionary.TryGetValue(keyIdentifierUri, out Task> task); - return Task.Run(() => task).GetAwaiter().GetResult(); - } - - // Not a public exception - not likely to occur. - throw new MicrosoftDataEncryptionException(AzureKeyVaultKeyNotFound.Format(keyIdentifierUri)); - } - - /// - /// Gets the public Key size in bytes. - /// - /// The key vault key identifier URI - /// - internal int GetKeySize(string keyIdentifierUri) - { - return GetKey(keyIdentifierUri).Key.N.Length; - } - - /// - /// Generates signature based on RSA PKCS#v1.5 scheme using a specified Azure Key Vault Key URL. - /// - /// The data to sign - /// The key vault key identifier URI - /// - internal byte[] SignData(byte[] message, string keyIdentifierUri) - { - CryptographyClient cryptographyClient = GetCryptographyClient(keyIdentifierUri); - return cryptographyClient.SignData(RS256, message).Signature; - } - - internal bool VerifyData(byte[] message, byte[] signature, string keyIdentifierUri) - { - CryptographyClient cryptographyClient = GetCryptographyClient(keyIdentifierUri); - return cryptographyClient.VerifyData(RS256, message, signature).IsValid; - } - - internal byte[] UnwrapKey(KeyWrapAlgorithm keyWrapAlgorithm, byte[] encryptedKey, string keyIdentifierUri) - { - CryptographyClient cryptographyClient = GetCryptographyClient(keyIdentifierUri); - return cryptographyClient.UnwrapKey(keyWrapAlgorithm, encryptedKey).Key; - } - - internal byte[] WrapKey(KeyWrapAlgorithm keyWrapAlgorithm, byte[] key, string keyIdentifierUri) - { - CryptographyClient cryptographyClient = GetCryptographyClient(keyIdentifierUri); - return cryptographyClient.WrapKey(keyWrapAlgorithm, key).EncryptedKey; - } - - private CryptographyClient GetCryptographyClient(string keyIdentifierUri) - { - if (_cryptoClientDictionary.ContainsKey(keyIdentifierUri)) - { - _cryptoClientDictionary.TryGetValue(keyIdentifierUri, out CryptographyClient client); - return client; - } - - CryptographyClient cryptographyClient = new CryptographyClient(GetKey(keyIdentifierUri).Id, TokenCredential); - _cryptoClientDictionary.TryAdd(keyIdentifierUri, cryptographyClient); - - return cryptographyClient; - } - - /// - /// - /// - /// The Azure Key Vault URI - /// The name of the Azure Key Vault key - /// The version of the Azure Key Vault key - /// The Azure Key Vault key identifier - private void FetchKey(Uri vaultUri, string keyName, string keyVersion, string keyResourceUri) - { - Task> fetchKeyTask = FetchKeyFromKeyVault(vaultUri, keyName, keyVersion); - _keyFetchTaskDictionary.AddOrUpdate(keyResourceUri, fetchKeyTask, (k, v) => fetchKeyTask); - - fetchKeyTask - .ContinueWith(k => ValidateRsaKey(k.GetAwaiter().GetResult())) - .ContinueWith(k => _keyDictionary.AddOrUpdate(keyResourceUri, k.GetAwaiter().GetResult(), (key, v) => k.GetAwaiter().GetResult())); - - Task.Run(() => fetchKeyTask); - } - - /// - /// Looks up the KeyClient object by it's URI and then fetches the key by name. - /// - /// The Azure Key Vault URI - /// Then name of the key - /// Then version of the key - /// - private Task> FetchKeyFromKeyVault(Uri vaultUri, string keyName, string keyVersion) - { - _keyClientDictionary.TryGetValue(vaultUri, out KeyClient keyClient); - return keyClient.GetKeyAsync(keyName, keyVersion); - } - - /// - /// Validates that a key is of type RSA - /// - /// - /// - private KeyVaultKey ValidateRsaKey(KeyVaultKey key) - { - if (key.KeyType != KeyType.Rsa && key.KeyType != KeyType.RsaHsm) - { - throw new MicrosoftDataEncryptionException(NonRsaKeyTemplate.Format(key.KeyType)); - } - - return key; - } - - /// - /// Instantiates and adds a KeyClient to the KeyClient dictionary - /// - /// The Azure Key Vault URI - private void CreateKeyClient(Uri vaultUri) - { - if (!_keyClientDictionary.ContainsKey(vaultUri)) - { - _keyClientDictionary.TryAdd(vaultUri, new KeyClient(vaultUri, TokenCredential)); - } - } - - /// - /// Validates and parses the Azure Key Vault URI and key name. - /// - /// The Azure Key Vault key identifier - /// The Azure Key Vault URI - /// The name of the key - /// The version of the key - private void ParseAKVPath(string keyEncryptionKeyPath, out Uri vaultUri, out string keyEncryptionKeyName, out string keyEncryptionKeyVersion) - { - Uri masterKeyPathUri = new Uri(keyEncryptionKeyPath); - vaultUri = new Uri(masterKeyPathUri.GetLeftPart(UriPartial.Authority)); - keyEncryptionKeyName = masterKeyPathUri.Segments[2]; - keyEncryptionKeyVersion = masterKeyPathUri.Segments.Length > 3 ? masterKeyPathUri.Segments[3] : null; - } - } -} diff --git a/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/AzureKeyVaultKeyWrapProvider.cs b/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/AzureKeyVaultKeyWrapProvider.cs deleted file mode 100644 index 3945d380c1..0000000000 --- a/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/AzureKeyVaultKeyWrapProvider.cs +++ /dev/null @@ -1,77 +0,0 @@ -//------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All rights reserved. -//------------------------------------------------------------ - -namespace Microsoft.Azure.Cosmos.Encryption -{ - using System; - using System.Threading.Tasks; - using global::Azure.Core; - using Microsoft.Data.Encryption.AzureKeyVaultProvider; - - /// - /// Implementation of key encryption key store provider that allows client applications to access data when a - /// key encryption key is stored in Microsoft Azure Key Vault. - /// - public sealed class AzureKeyVaultKeyWrapProvider : EncryptionKeyWrapProvider - { - private readonly AzureKeyVaultKeyStoreProvider azureKeyVaultKeyStoreProvider; - - /// - /// Initializes a new instance of the class. - /// Constructor that takes an implementation of Token Credential that is capable of providing an OAuth Token. - /// - /// returns token credentials. - public AzureKeyVaultKeyWrapProvider(TokenCredential tokenCredential) - { - // just rely on cache managed via EncryptionKeyWrapProvider. Setting DataEncryptionKeyCacheTimeToLive to zero results in not using azureKeyVaultKeyWrapProvider cache. - this.azureKeyVaultKeyStoreProvider = new AzureKeyVaultKeyStoreProvider(tokenCredential) - { - DataEncryptionKeyCacheTimeToLive = TimeSpan.Zero, - }; - } - - /// - /// Gets name of the Encryption Key Store Provider implementation. - /// - public override string ProviderName => this.azureKeyVaultKeyStoreProvider.ProviderName; - - /// - /// This function uses the asymmetric key specified by the key path - /// and decrypts an encrypted data dencryption key with RSA encryption algorithm. - /// . - /// Identifier of an asymmetric key in Azure Key Vault. - /// The key encryption algorithm. - /// The ciphertext key. - /// Plain text data encryption key. - public override Task UnwrapKeyAsync(string encryptionKeyId, string cosmosKeyEncryptionKeyAlgorithm, byte[] encryptedKey) - { - Data.Encryption.Cryptography.KeyEncryptionKeyAlgorithm keyEncryptionKeyAlgorithm = cosmosKeyEncryptionKeyAlgorithm switch - { - KeyEncryptionKeyAlgorithm.RsaOaep => Data.Encryption.Cryptography.KeyEncryptionKeyAlgorithm.RSA_OAEP, - _ => throw new NotSupportedException("The specified KeyEncryptionAlgorithm is not supported. Please refer to https://aka.ms/CosmosClientEncryption for more details. "), - }; - - return Task.FromResult(this.azureKeyVaultKeyStoreProvider.UnwrapKey(encryptionKeyId, keyEncryptionKeyAlgorithm, encryptedKey)); - } - - /// - /// This function uses the asymmetric key specified by the key path - /// and encrypts an unencrypted data encryption key with RSA encryption algorithm. - /// - /// Identifier of an asymmetric key in Azure Key Vault. - /// The key encryption algorithm. - /// The plaintext key. - /// Encrypted data encryption key. - public override Task WrapKeyAsync(string encryptionKeyId, string cosmosKeyEncryptionKeyAlgorithm, byte[] key) - { - Data.Encryption.Cryptography.KeyEncryptionKeyAlgorithm keyEncryptionKeyAlgorithm = cosmosKeyEncryptionKeyAlgorithm switch - { - KeyEncryptionKeyAlgorithm.RsaOaep => Data.Encryption.Cryptography.KeyEncryptionKeyAlgorithm.RSA_OAEP, - _ => throw new NotSupportedException("This specified KeyEncryptionAlgorithm is not supported. Please refer to https://aka.ms/CosmosClientEncryption for more details. "), - }; - - return Task.FromResult(this.azureKeyVaultKeyStoreProvider.WrapKey(encryptionKeyId, keyEncryptionKeyAlgorithm, key)); - } - } -} diff --git a/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/DataEncryptionKeyAlgorithm.cs b/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/DataEncryptionKeyAlgorithm.cs deleted file mode 100644 index e5216c1eb9..0000000000 --- a/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/DataEncryptionKeyAlgorithm.cs +++ /dev/null @@ -1,18 +0,0 @@ -//------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All rights reserved. -//------------------------------------------------------------ - -namespace Microsoft.Azure.Cosmos.Encryption -{ - /// - /// Represents the encryption algorithms supported for data encryption. - /// - public static class DataEncryptionKeyAlgorithm - { - /// - /// Represents the authenticated encryption algorithm with associated data as described in - /// http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha2-05. - /// - public const string AeadAes256CbcHmacSha256 = "AEAD_AES_256_CBC_HMAC_SHA256"; - } -} diff --git a/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/EncryptionKeyStoreProviderImpl.cs b/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/EncryptionKeyStoreProviderImpl.cs deleted file mode 100644 index 45fc041933..0000000000 --- a/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/EncryptionKeyStoreProviderImpl.cs +++ /dev/null @@ -1,74 +0,0 @@ -//------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All rights reserved. -//------------------------------------------------------------ - -namespace Microsoft.Azure.Cosmos.Encryption -{ - using System; - using Microsoft.Data.Encryption.Cryptography; - - /// - /// The purpose/intention to introduce this class is to utilize the cache provide by the abstract class. This class basically - /// redirects all the corresponding calls to 's overridden methods and thus allowing us - /// to utilize the virtual method to access the cache. - /// - /// Note: Since and methods are not exposed, is not supported either. - /// - /// - /// The call hierarchy is as follows. Note, all core MDE API's used in internal cosmos encryption code are passed an EncryptionKeyStoreProviderImpl object. - /// ProtectedDataEncryptionKey -> KeyEncryptionKey(containing EncryptionKeyStoreProviderImpl object) -> EncryptionKeyStoreProviderImpl.WrapKey -> this.EncryptionKeyWrapProvider.WrapKeyAsync - /// ProtectedDataEncryptionKey -> KeyEncryptionKey(containing EncryptionKeyStoreProviderImpl object) -> EncryptionKeyStoreProviderImpl.UnWrapKey -> this.EncryptionKeyWrapProvider.UnwrapKeyAsync - /// - /// - internal class EncryptionKeyStoreProviderImpl : EncryptionKeyStoreProvider - { - private readonly EncryptionKeyWrapProvider encryptionKeyWrapProvider; - - public EncryptionKeyStoreProviderImpl(EncryptionKeyWrapProvider encryptionKeyWrapProvider) - { - this.encryptionKeyWrapProvider = encryptionKeyWrapProvider; - } - - public override string ProviderName => this.encryptionKeyWrapProvider.ProviderName; - - public override byte[] UnwrapKey(string encryptionKeyId, Data.Encryption.Cryptography.KeyEncryptionKeyAlgorithm algorithm, byte[] encryptedKey) - { - // since we do not expose GetOrCreateDataEncryptionKey we first look up the cache. - // Cache miss results in call to UnWrapCore which updates the cache after UnwrapKeyAsync is called. - return this.GetOrCreateDataEncryptionKey(encryptedKey.ToHexString(), UnWrapKeyCore); - - // delegate that is called by GetOrCreateDataEncryptionKey, which unwraps the key and updates the cache in case of cache miss. - byte[] UnWrapKeyCore() - { - return this.encryptionKeyWrapProvider.UnwrapKeyAsync(encryptionKeyId, algorithm.ToString(), encryptedKey) - .ConfigureAwait(false) - .GetAwaiter() - .GetResult(); - } - } - - public override byte[] WrapKey(string encryptionKeyId, Data.Encryption.Cryptography.KeyEncryptionKeyAlgorithm algorithm, byte[] key) - { - return this.encryptionKeyWrapProvider.WrapKeyAsync(encryptionKeyId, algorithm.ToString(), key) - .ConfigureAwait(false) - .GetAwaiter() - .GetResult(); - } - - /// - /// The public facing Cosmos Encryption library interface does not expose this method, hence not supported. - /// - public override byte[] Sign(string encryptionKeyId, bool allowEnclaveComputations) - { - throw new NotSupportedException("The Sign operation is not supported. "); - } - - /// - /// The public facing Cosmos Encryption library interface does not expose this method, hence not supported. - /// - public override bool Verify(string encryptionKeyId, bool allowEnclaveComputations, byte[] signature) - { - throw new NotSupportedException("The Verify operation is not supported. "); - } - } -} diff --git a/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/EncryptionKeyWrapProvider.cs b/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/EncryptionKeyWrapProvider.cs deleted file mode 100644 index 408f060a7c..0000000000 --- a/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/EncryptionKeyWrapProvider.cs +++ /dev/null @@ -1,92 +0,0 @@ -//------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All rights reserved. -//------------------------------------------------------------ - -namespace Microsoft.Azure.Cosmos.Encryption -{ - using System; - using System.Threading.Tasks; - using Microsoft.Data.Encryption.Cryptography; - - /// - /// Base class for all key store providers. A custom provider must derive from this - /// class and override its member functions. - /// - public abstract class EncryptionKeyWrapProvider - { - internal EncryptionKeyWrapProvider() - { - this.EncryptionKeyStoreProviderImpl = new EncryptionKeyStoreProviderImpl(this); - } - - /// - /// Gets or sets the lifespan of the decrypted data encryption key in the cache. - /// Once the timespan has elapsed, the decrypted data encryption key is discarded - /// and must be revalidated. - /// - /// - /// Internally, there is a cache of key encryption keys (once they are unwrapped). - /// This is useful for rapidly decrypting multiple data values. The default value is 2 hours. - /// Setting the to zero disables caching. - /// - public TimeSpan? DataEncryptionKeyCacheTimeToLive - { - get => this.EncryptionKeyStoreProviderImpl.DataEncryptionKeyCacheTimeToLive; - set - { - this.EncryptionKeyStoreProviderImpl.DataEncryptionKeyCacheTimeToLive = value; - - // set the TTL for ProtectedDataEncryption, so that we have a uniform expiry of the KeyStoreProvider and ProtectedDataEncryption cache items. - if (this.EncryptionKeyStoreProviderImpl.DataEncryptionKeyCacheTimeToLive.HasValue) - { - if (EncryptionCosmosClient.EncryptionKeyCacheSemaphore.Wait(-1)) - { - try - { - // pick the min of the new value being set and ProtectedDataEncryptionKey's current TTL. Note ProtectedDataEncryptionKey TimeToLive is static - // and results in various instances to share this value. Hence we pick up whatever is the min value. If a TimeSpan.Zero is across any one instance - // it should be fine, since we look up the KeyStoreProvider cache. ProtectedDataEncryptionKey's own cache supersedes KeyStoreProvider cache, since it stores - // the RootKey which is derived from unwrapped key(Data Encryption Key). - // Note: DataEncryptionKeyCacheTimeToLive is nullable. When set to null this results in AbsoluteExpirationRelativeToNow to be set to null which caches forever. - // whatever is the current set value for ProtectedDataEncryptionKey TimeToLive(is not nullable) would be min if null value is passed. - if (TimeSpan.Compare(this.EncryptionKeyStoreProviderImpl.DataEncryptionKeyCacheTimeToLive.Value, ProtectedDataEncryptionKey.TimeToLive) < 0) - { - ProtectedDataEncryptionKey.TimeToLive = this.EncryptionKeyStoreProviderImpl.DataEncryptionKeyCacheTimeToLive.Value; - } - } - finally - { - EncryptionCosmosClient.EncryptionKeyCacheSemaphore.Release(1); - } - } - } - } - } - - /// - /// Gets the unique name that identifies a particular implementation of the abstract . - /// - public abstract string ProviderName { get; } - - internal EncryptionKeyStoreProviderImpl EncryptionKeyStoreProviderImpl { get; } - - /// - /// Unwraps the specified of a data encryption key. The encrypted value is expected to be encrypted using - /// the key encryption key with the specified and using the specified . - /// - /// The key Id tells the provider where to find the key. - /// The key encryption algorithm. - /// The ciphertext key. - /// The unwrapped data encryption key. - public abstract Task UnwrapKeyAsync(string encryptionKeyId, string keyEncryptionKeyAlgorithm, byte[] encryptedKey); - - /// - /// Wraps a data encryption key using the key encryption key with the specified and using the specified . - /// - /// The key Id tells the provider where to find the key. - /// The key encryption algorithm. - /// The plaintext key. - /// The wrapped data encryption key. - public abstract Task WrapKeyAsync(string encryptionKeyId, string keyEncryptionKeyAlgorithm, byte[] key); - } -} diff --git a/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/EncryptionType.cs b/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/EncryptionType.cs deleted file mode 100644 index 2f9dff5d8f..0000000000 --- a/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/EncryptionType.cs +++ /dev/null @@ -1,37 +0,0 @@ -//------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All rights reserved. -//------------------------------------------------------------ - -namespace Microsoft.Azure.Cosmos.Encryption -{ - /// -<<<<<<<< HEAD:Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/EncryptionType.cs - /// Represents the encryption algorithms supported for data encryption. - /// - /// - /// The type of data encryption. - /// - /// - /// The two encryption types are Deterministic and Randomized. - /// Deterministic encryption always generates the same encrypted value for any given plain text value. - /// Randomized encryption uses a method that encrypts data in a less predictable manner. Randomized encryption is more secure. -======== - /// Encryption types supported for data encryption. - /// - /// - /// See client-side encryption documentation for more details. ->>>>>>>> master:Microsoft.Azure.Cosmos.Encryption/src/EncryptionType.cs - /// - public static class EncryptionType - { - /// - /// Deterministic encryption always generates the same encrypted value for a given plain text value. - /// - public const string Deterministic = "Deterministic"; - - /// - /// Randomized encryption uses a method that encrypts data in a less predictable manner than Deterministic. - /// - public const string Randomized = "Randomized"; - } -} diff --git a/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/KeyEncryptionKeyAlgorithm.cs b/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/KeyEncryptionKeyAlgorithm.cs deleted file mode 100644 index 255000884f..0000000000 --- a/Microsoft.Azure.Cosmos.Encryption/src/MdeSupport/KeyEncryptionKeyAlgorithm.cs +++ /dev/null @@ -1,17 +0,0 @@ -//------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All rights reserved. -//------------------------------------------------------------ - -namespace Microsoft.Azure.Cosmos.Encryption -{ - /// - /// Represents the encryption algorithms supported for key encryption. - /// - public static class KeyEncryptionKeyAlgorithm - { - /// - /// RSA public key cryptography algorithm with Optimal Asymmetric Encryption Padding (OAEP) padding. - /// - public const string RsaOaep = "RSA_OAEP"; - } -} diff --git a/Microsoft.Azure.Cosmos.Encryption/tests/EmulatorTests/MdeEncryptionTests.cs b/Microsoft.Azure.Cosmos.Encryption/tests/EmulatorTests/MdeEncryptionTests.cs index 54527e944d..65efd425aa 100644 --- a/Microsoft.Azure.Cosmos.Encryption/tests/EmulatorTests/MdeEncryptionTests.cs +++ b/Microsoft.Azure.Cosmos.Encryption/tests/EmulatorTests/MdeEncryptionTests.cs @@ -1494,179 +1494,6 @@ await MdeEncryptionTests.ValidateQueryResultsAsync( otherEncryptionClient.Dispose(); } - [TestMethod] - public async Task EncryptionValidatePolicyRefreshPostContainerDeletePatch() - { - Collection paths = new Collection() - { - new ClientEncryptionIncludedPath() - { - Path = "/Sensitive_StringFormat", - ClientEncryptionKeyId = "key1", - EncryptionType = "Deterministic", - EncryptionAlgorithm = "AEAD_AES_256_CBC_HMAC_SHA256", - }, - - new ClientEncryptionIncludedPath() - { - Path = "/Sensitive_NestedObjectFormatL1", - ClientEncryptionKeyId = "key1", - EncryptionType = "Deterministic", - EncryptionAlgorithm = "AEAD_AES_256_CBC_HMAC_SHA256", - }, - }; - - ClientEncryptionPolicy clientEncryptionPolicy = new ClientEncryptionPolicy(paths); - - ContainerProperties containerProperties = new ContainerProperties(Guid.NewGuid().ToString(), "/PK") { ClientEncryptionPolicy = clientEncryptionPolicy }; - - Container encryptionContainerToDelete = await database.CreateContainerAsync(containerProperties, 400); - await encryptionContainerToDelete.InitializeEncryptionAsync(); - - CosmosClient otherClient = TestCommon.CreateCosmosClient(builder => builder - .Build()); - - CosmosClient otherEncryptionClient = otherClient.WithEncryption(new TestEncryptionKeyWrapProvider()); - Database otherDatabase = otherEncryptionClient.GetDatabase(MdeEncryptionTests.database.Id); - - Container otherEncryptionContainer = otherDatabase.GetContainer(encryptionContainerToDelete.Id); - - await MdeEncryptionTests.MdeCreateItemAsync(otherEncryptionContainer); - - // Client 1 Deletes the Container referenced in Client 2 and Recreate with different policy - using (await database.GetContainer(encryptionContainerToDelete.Id).DeleteContainerStreamAsync()) - { } - - paths = new Collection() - { - new ClientEncryptionIncludedPath() - { - Path = "/Sensitive_IntArray", - ClientEncryptionKeyId = "key1", - EncryptionType = "Deterministic", - EncryptionAlgorithm = "AEAD_AES_256_CBC_HMAC_SHA256", - }, - - new ClientEncryptionIncludedPath() - { - Path = "/Sensitive_DecimalFormat", - ClientEncryptionKeyId = "key2", - EncryptionType = "Deterministic", - EncryptionAlgorithm = "AEAD_AES_256_CBC_HMAC_SHA256", - }, - - new ClientEncryptionIncludedPath() - { - Path = "/Sensitive_FloatFormat", - ClientEncryptionKeyId = "key1", - EncryptionType = "Deterministic", - EncryptionAlgorithm = "AEAD_AES_256_CBC_HMAC_SHA256", - }, - - new ClientEncryptionIncludedPath() - { - Path = "/Sensitive_ArrayFormat", - ClientEncryptionKeyId = "key2", - EncryptionType = "Deterministic", - EncryptionAlgorithm = "AEAD_AES_256_CBC_HMAC_SHA256", - }, - }; - - clientEncryptionPolicy = new ClientEncryptionPolicy(paths); - - containerProperties = new ContainerProperties(encryptionContainerToDelete.Id, "/PK") { ClientEncryptionPolicy = clientEncryptionPolicy }; - - ContainerResponse containerResponse = await database.CreateContainerAsync(containerProperties, 400); - - // operation fails, policy gets updated. - try - { - await MdeEncryptionTests.MdeCreateItemAsync(encryptionContainerToDelete); - Assert.Fail("Create operation should have failed. "); - } - catch (CosmosException ex) - { - if (ex.SubStatusCode != 1024) - { - Assert.Fail("Create operation should have failed with 1024 SubStatusCode."); - } - - VerifyDiagnostics(ex.Diagnostics, encryptOperation: true, decryptOperation: false, expectedPropertiesEncryptedCount: 2, expectedPropertiesDecryptedCount: 0); - Assert.IsTrue(ex.Message.Contains("Operation has failed due to a possible mismatch in Client Encryption Policy configured on the container.")); - } - - TestDoc docPostPatching = await MdeEncryptionTests.MdeCreateItemAsync(encryptionContainerToDelete); - - // request should fail and pick up new policy. - docPostPatching.NonSensitive = Guid.NewGuid().ToString(); - docPostPatching.NonSensitiveInt++; - docPostPatching.Sensitive_StringFormat = Guid.NewGuid().ToString(); - docPostPatching.Sensitive_DateFormat = new DateTime(2020, 02, 02); - docPostPatching.Sensitive_DecimalFormat = 11.11m; - docPostPatching.Sensitive_IntArray[1] = 19877; - docPostPatching.Sensitive_IntMultiDimArray[1, 0] = 19877; - docPostPatching.Sensitive_IntFormat = 2020; - docPostPatching.Sensitive_NestedObjectFormatL1 = new TestDoc.Sensitive_NestedObjectL1() - { - Sensitive_IntArrayL1 = new int[2] { 999, 100 }, - Sensitive_IntFormatL1 = 1999, - Sensitive_DecimalFormatL1 = 1999.1m, - Sensitive_ArrayFormatL1 = new TestDoc.Sensitive_ArrayData[] - { - new TestDoc.Sensitive_ArrayData - { - Sensitive_ArrayIntFormat = 0, - Sensitive_ArrayDecimalFormat = 0.1m - }, - new TestDoc.Sensitive_ArrayData - { - Sensitive_ArrayIntFormat = 1, - Sensitive_ArrayDecimalFormat = 2.1m - }, - new TestDoc.Sensitive_ArrayData - { - Sensitive_ArrayIntFormat = 2, - Sensitive_ArrayDecimalFormat = 3.1m - } - } - }; - - // Maximum 10 operations at a time (current limit) - List patchOperations = new List - { - PatchOperation.Increment("/NonSensitiveInt", 1), - PatchOperation.Replace("/NonSensitive", docPostPatching.NonSensitive), - PatchOperation.Replace("/Sensitive_StringFormat", docPostPatching.Sensitive_StringFormat), - PatchOperation.Replace("/Sensitive_DateFormat", docPostPatching.Sensitive_DateFormat), - PatchOperation.Replace("/Sensitive_DecimalFormat", docPostPatching.Sensitive_DecimalFormat), - PatchOperation.Set("/Sensitive_IntArray/1", docPostPatching.Sensitive_IntArray[1]), - PatchOperation.Set("/Sensitive_IntMultiDimArray/1/0", docPostPatching.Sensitive_IntMultiDimArray[1,0]), - PatchOperation.Replace("/Sensitive_IntFormat", docPostPatching.Sensitive_IntFormat), - PatchOperation.Remove("/Sensitive_NestedObjectFormatL1/Sensitive_NestedObjectFormatL2"), - PatchOperation.Set("/Sensitive_NestedObjectFormatL1/Sensitive_ArrayFormatL1/0", docPostPatching.Sensitive_NestedObjectFormatL1.Sensitive_ArrayFormatL1[0]) - }; - - try - { - await MdeEncryptionTests.MdePatchItemAsync(otherEncryptionContainer, patchOperations, docPostPatching, HttpStatusCode.OK); - Assert.Fail("Patch operation should have failed. "); - } - catch (CosmosException ex) - { - if (ex.SubStatusCode != 1024) - { - Assert.Fail("Patch operation should have failed with 1024 SubStatusCode. "); - } - - // stale policy has two path for encryption. - VerifyDiagnostics(ex.Diagnostics, encryptOperation: true, decryptOperation: false, expectedPropertiesEncryptedCount: 2, expectedPropertiesDecryptedCount: 0); - Assert.IsTrue(ex.Message.Contains("Operation has failed due to a possible mismatch in Client Encryption Policy configured on the container.")); - } - - // retry post policy refresh. - await MdeEncryptionTests.MdePatchItemAsync(otherEncryptionContainer, patchOperations, docPostPatching, HttpStatusCode.OK); - } - [TestMethod] public async Task EncryptionValidatePolicyRefreshPostContainerDeletePatch() { @@ -2131,90 +1958,6 @@ public void MdeEncryptionTypesContractTest() CollectionAssert.AreEquivalent(mdeSupportedEncryptionTypes, cosmosSupportedEncryptionTypes); } - [TestMethod] - public void MdeEncryptionTypesContractTest() - { - string[] cosmosSupportedEncryptionTypes = typeof(EncryptionType) - .GetMembers(BindingFlags.Static | BindingFlags.Public) - .Select(e => ((FieldInfo)e).GetValue(e).ToString()) - .ToArray(); - - string[] mdeSupportedEncryptionTypes = typeof(Data.Encryption.Cryptography.EncryptionType) - .GetMembers(BindingFlags.Static | BindingFlags.Public) - .Select(e => e.Name) - .ToArray(); - - if (mdeSupportedEncryptionTypes.Length > cosmosSupportedEncryptionTypes.Length) - { - HashSet missingEncryptionTypes = new HashSet(mdeSupportedEncryptionTypes); - foreach (string encryptionTypes in cosmosSupportedEncryptionTypes) - { - missingEncryptionTypes.Remove(encryptionTypes); - } - - // no Plaintext support. - missingEncryptionTypes.Remove("Plaintext"); - mdeSupportedEncryptionTypes = mdeSupportedEncryptionTypes.Where(value => value != "Plaintext").ToArray(); - - if (missingEncryptionTypes.Count != 0) - { - Assert.Fail($"Missing EncryptionType support from CosmosEncryptionType: {string.Join(";", missingEncryptionTypes)}"); - } - } - - CollectionAssert.AreEquivalent(mdeSupportedEncryptionTypes, cosmosSupportedEncryptionTypes); - } - - [TestMethod] - public void MdeEncryptionAlgorithmsTypesContractTest() - { - string[] cosmosKeyEncryptionAlgorithms = typeof(KeyEncryptionKeyAlgorithm) - .GetMembers(BindingFlags.Static | BindingFlags.Public) - .Select(e => ((FieldInfo)e).GetValue(e).ToString()) - .ToArray(); - - string[] mdeKeyEncryptionAlgorithms = typeof(Data.Encryption.Cryptography.KeyEncryptionKeyAlgorithm) - .GetMembers(BindingFlags.Static | BindingFlags.Public) - .Select(e => e.Name) - .ToArray(); - - if (mdeKeyEncryptionAlgorithms.Length > cosmosKeyEncryptionAlgorithms.Length) - { - HashSet missingKeyEncryptionAlgorithms = new HashSet(mdeKeyEncryptionAlgorithms); - foreach (string algorithm in cosmosKeyEncryptionAlgorithms) - { - missingKeyEncryptionAlgorithms.Remove(algorithm); - } - - Assert.Fail($"Missing key encryption algorithm support from CosmosKeyEncryptionKeyAlgorithm: {string.Join(";", missingKeyEncryptionAlgorithms)}"); - } - - CollectionAssert.AreEquivalent(mdeKeyEncryptionAlgorithms, cosmosKeyEncryptionAlgorithms); - - string[] cosmosDataEncryptionAlgorithms = typeof(DataEncryptionKeyAlgorithm) - .GetMembers(BindingFlags.Static | BindingFlags.Public) - .Select(e => ((FieldInfo)e).GetValue(e).ToString()) - .ToArray(); - - string[] mdeDataEncryptionAlgorithms = typeof(Data.Encryption.Cryptography.DataEncryptionKeyAlgorithm) - .GetMembers(BindingFlags.Static | BindingFlags.Public) - .Select(e => e.Name) - .ToArray(); - - if (mdeDataEncryptionAlgorithms.Length > cosmosDataEncryptionAlgorithms.Length) - { - HashSet missingDataEncryptionAlgorithms = new HashSet(mdeDataEncryptionAlgorithms); - foreach (string algorithm in cosmosDataEncryptionAlgorithms) - { - missingDataEncryptionAlgorithms.Remove(algorithm); - } - - Assert.Fail($"Missing data encryption algorithm support from CosmosDataEncryptionKeyAlgorithm: {string.Join(";", missingDataEncryptionAlgorithms)}"); - } - - CollectionAssert.AreEquivalent(mdeDataEncryptionAlgorithms, cosmosDataEncryptionAlgorithms); - } - [TestMethod] public async Task VerifyKekRevokeHandling() { diff --git a/Microsoft.Azure.Cosmos/src/RMResources.Designer.cs b/Microsoft.Azure.Cosmos/src/RMResources.Designer.cs index 294ed6c3ad..e5b6582760 100644 --- a/Microsoft.Azure.Cosmos/src/RMResources.Designer.cs +++ b/Microsoft.Azure.Cosmos/src/RMResources.Designer.cs @@ -8,11 +8,10 @@ // //------------------------------------------------------------------------------ -namespace Microsoft.Azure.Documents -{ +namespace Microsoft.Azure.Documents { using System; - - + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -20,4549 +19,3700 @@ namespace Microsoft.Azure.Documents // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class RMResources - { - + internal class RMResources { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal RMResources() - { + internal RMResources() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if (object.ReferenceEquals(resourceMan, null)) - { -#if COSMOSCLIENT - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Documents.RMResources", typeof(RMResources).Assembly); -#else - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Documents.RMResources", typeof(RMResources).GetAssembly()); -#endif + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Cosmos.RMResources", typeof(RMResources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } - + /// - /// Looks up a localized string similar to {0} api is not supported for this database account. + /// Looks up a localized string similar to The given request [{0} {1}] cannot be authorized by AAD token in data plane. Learn more: https://aka.ms/cosmos-native-rbac.. /// - internal static string ApiTypeForbidden - { - get - { - return ResourceManager.GetString("ApiTypeForbidden", resourceCulture); + internal static string AadAuthActionNotSupported { + get { + return ResourceManager.GetString("AadAuthActionNotSupported", resourceCulture); } } - + /// - /// Looks up a localized string similar to {0} should have {1} argument.. + /// Looks up a localized string similar to Request for Read DatabaseAccount is blocked because principal [{0}] does not have required RBAC permissions to perform action [{1}] on any scope. Learn more: https://aka.ms/cosmos-native-rbac.. /// - internal static string ArgumentRequired - { - get - { - return ResourceManager.GetString("ArgumentRequired", resourceCulture); + internal static string AadAuthDatabaseAccountRequestBlocked { + get { + return ResourceManager.GetString("AadAuthDatabaseAccountRequestBlocked", resourceCulture); } } - + /// - /// Looks up a localized string similar to Auto-Scale Setting Change With User Auth Is Disallowed.. + /// Looks up a localized string similar to Failed to validate AAD identity since the authenticator is unavailable.. /// - internal static string AutoScaleSettingChangeWithUserAuthIsDisallowed - { - get - { - return ResourceManager.GetString("AutoScaleSettingChangeWithUserAuthIsDisallowed", resourceCulture); + internal static string AadAuthenticatorNotAvailable { + get { + return ResourceManager.GetString("AadAuthenticatorNotAvailable", resourceCulture); } } - + /// - /// Looks up a localized string similar to The given request [{0} {1}] cannot be authorized by AAD token in data plane. Learn more: https://aka.ms/cosmos-native-rbac.. + /// Looks up a localized string similar to This could be because the user's group memberships were not present in the AAD token.. /// - internal static string AadAuthActionNotSupported - { - get - { - return ResourceManager.GetString("AadAuthActionNotSupported", resourceCulture); + internal static string AadAuthGroupExpansionNeeded { + get { + return ResourceManager.GetString("AadAuthGroupExpansionNeeded", resourceCulture); } } - + /// - /// Looks up a localized string similar to Failed to validate AAD identity since the authenticator is unavailable.. + /// Looks up a localized string similar to Failed to validate AAD identity since the authorizer is unavailable.. /// - internal static string AadAuthenticatorNotAvailable - { - get - { - return ResourceManager.GetString("AadAuthenticatorNotAvailable", resourceCulture); + internal static string AadAuthorizerNotAvailable { + get { + return ResourceManager.GetString("AadAuthorizerNotAvailable", resourceCulture); } } - + /// - /// Looks up a localized string similar to Request for Read DatabaseAccount is blocked because principal [{0}] does not have required RBAC permissions to perform action [{1}] on any scope. Learn more: https://aka.ms/cosmos-native-rbac.. + /// Looks up a localized string similar to Failed to update the AAD Public Keys with value {0}. Exception: {1}.. /// - internal static string AadAuthDatabaseAccountRequestBlocked - { - get - { - return ResourceManager.GetString("AadAuthDatabaseAccountRequestBlocked", resourceCulture); + internal static string AadAuthPublicKeysFailedToUpdate { + get { + return ResourceManager.GetString("AadAuthPublicKeysFailedToUpdate", resourceCulture); } } - + /// - /// Looks up a localized string similar to This could be because the user's group memberships were not present in the AAD token.. + /// Looks up a localized string similar to Request is blocked because principal [{0}] does not have required RBAC permissions to perform action [{1}] on resource [{2}]. Learn more: https://aka.ms/cosmos-native-rbac.. /// - internal static string AadAuthGroupExpansionNeeded - { - get - { - return ResourceManager.GetString("AadAuthGroupExpansionNeeded", resourceCulture); + internal static string AadAuthRequestBlocked { + get { + return ResourceManager.GetString("AadAuthRequestBlocked", resourceCulture); } } - + /// - /// Looks up a localized string similar to Request is blocked because principal [{0}] does not have required RBAC permissions to perform action [{1}] on resource [{2}]. Learn more: https://aka.ms/cosmos-native-rbac.. + /// Looks up a localized string similar to Local Authorization is disabled. Use an AAD token to authorize all requests.. /// - internal static string AadAuthRequestBlocked - { - get - { - return ResourceManager.GetString("AadAuthRequestBlocked", resourceCulture); + internal static string AadLocalAuthDisabled { + get { + return ResourceManager.GetString("AadLocalAuthDisabled", resourceCulture); } } - + /// - /// Looks up a localized string similar to Failed to validate AAD identity since the authorizer is unavailable.. + /// Looks up a localized string similar to Add or Remove region operation failed.. /// - internal static string AadAuthorizerNotAvailable - { - get - { - return ResourceManager.GetString("AadAuthorizerNotAvailable", resourceCulture); + internal static string AddRemoveRegionOperationFailed { + get { + return ResourceManager.GetString("AddRemoveRegionOperationFailed", resourceCulture); } } - + /// - /// Looks up a localized string similar to Failed to update the AAD Public Keys with value {0}. Exception: {1}.. + /// Looks up a localized string similar to Analytical Storage is not supported on this account type.. /// - internal static string AadAuthPublicKeysFailedToUpdate - { - get - { - return ResourceManager.GetString("AadAuthPublicKeysFailedToUpdate", resourceCulture); + internal static string AnalyticalStoreNotSupported { + get { + return ResourceManager.GetString("AnalyticalStoreNotSupported", resourceCulture); } } - + /// - /// Looks up a localized string similar to SAS Token Authentication is disabled for this account. Please contact Azure Support [https://azure.microsoft.com/support] to enable it.. + /// Looks up a localized string similar to {0} api is not supported for this database account. /// - internal static string SasTokenAuthDisabled - { - get - { - return ResourceManager.GetString("SasTokenAuthDisabled", resourceCulture); + internal static string ApiTypeForbidden { + get { + return ResourceManager.GetString("ApiTypeForbidden", resourceCulture); } } - + /// - /// Looks up a localized string similar to Local Authorization is disabled. Use an AAD token to authorize all requests.. + /// Looks up a localized string similar to {0} should have {1} argument.. /// - internal static string AadLocalAuthDisabled - { - get - { - return ResourceManager.GetString("AadLocalAuthDisabled", resourceCulture); + internal static string ArgumentRequired { + get { + return ResourceManager.GetString("ArgumentRequired", resourceCulture); } } - + + /// + /// Looks up a localized string similar to Autopilot autoupgrade is not supported for non-partitioned collections.. + /// + internal static string AutopilotAutoUpgradeUnsupportedNonPartitionedCollection { + get { + return ResourceManager.GetString("AutopilotAutoUpgradeUnsupportedNonPartitionedCollection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Autopilot tier and AutoPilotSettings cannot both be specified.. + /// + internal static string AutoPilotTierAndAutoPilotSettingsCannotBeSpecifiedBoth { + get { + return ResourceManager.GetString("AutoPilotTierAndAutoPilotSettingsCannotBeSpecifiedBoth", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Auto-Scale Setting Change With User Auth Is Disallowed.. + /// + internal static string AutoScaleSettingChangeWithUserAuthIsDisallowed { + get { + return ResourceManager.GetString("AutoScaleSettingChangeWithUserAuthIsDisallowed", resourceCulture); + } + } + /// /// Looks up a localized string similar to At this time, only write operations made from the MongoDB SDKs are supported. Modifications to MongoDB collections using other SDKs is temporarily blocked.. /// - internal static string BadClientMongo - { - get - { + internal static string BadClientMongo { + get { return ResourceManager.GetString("BadClientMongo", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid response from upstream server or upstream server request failed.. /// - internal static string BadGateway - { - get - { + internal static string BadGateway { + get { return ResourceManager.GetString("BadGateway", resourceCulture); } } - + /// /// Looks up a localized string similar to One of the input values is invalid.. /// - internal static string BadRequest - { - get - { + internal static string BadRequest { + get { return ResourceManager.GetString("BadRequest", resourceCulture); } } - + /// /// Looks up a localized string similar to Request url is invalid.. /// - internal static string BadUrl - { - get - { + internal static string BadUrl { + get { return ResourceManager.GetString("BadUrl", resourceCulture); } } - + + /// + /// Looks up a localized string similar to The container create request is not allowed since it does not contain the Cassandra conflict resolution policy specified for the container {0}.. + /// + internal static string CannotCreateContainerWithoutCassandraConflictPolicy { + get { + return ResourceManager.GetString("CannotCreateContainerWithoutCassandraConflictPolicy", resourceCulture); + } + } + /// /// Looks up a localized string similar to Cannot offline a write region that has zero read regions configured. There needs to be atleast one read region to failover to.. /// - internal static string CannotOfflineWriteRegionWithNoReadRegions - { - get - { + internal static string CannotOfflineWriteRegionWithNoReadRegions { + get { return ResourceManager.GetString("CannotOfflineWriteRegionWithNoReadRegions", resourceCulture); } } - + + /// + /// Looks up a localized string similar to The container replace request is not allowed since it removes the schema policy from the container {0}.. + /// + internal static string CannotRemoveSchemaPolicyFromContainer { + get { + return ResourceManager.GetString("CannotRemoveSchemaPolicyFromContainer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The container replace request is not allowed since it removes the Cassandra conflict resolution policy from the container {0}.. + /// + internal static string CannotReplaceCassandraConflictPolicyFromContainer { + get { + return ResourceManager.GetString("CannotReplaceCassandraConflictPolicyFromContainer", resourceCulture); + } + } + /// /// Looks up a localized string similar to Cannot specify partition key range or partition key for resource that is not partitioned.. /// - internal static string CannotSpecifyPKRangeForNonPartitionedResource - { - get - { + internal static string CannotSpecifyPKRangeForNonPartitionedResource { + get { return ResourceManager.GetString("CannotSpecifyPKRangeForNonPartitionedResource", resourceCulture); } } - + + /// + /// Looks up a localized string similar to CassandraConnector not supported for this account type.. + /// + internal static string CassandraConnectorNotSupported { + get { + return ResourceManager.GetString("CassandraConnectorNotSupported", resourceCulture); + } + } + /// /// Looks up a localized string similar to StartTime cannot have DateTimeKind.Unspecified.. /// - internal static string ChangeFeedOptionsStartTimeWithUnspecifiedDateTimeKind - { - get - { + internal static string ChangeFeedOptionsStartTimeWithUnspecifiedDateTimeKind { + get { return ResourceManager.GetString("ChangeFeedOptionsStartTimeWithUnspecifiedDateTimeKind", resourceCulture); } } - + /// /// Looks up a localized string similar to Channel is closed. /// - internal static string ChannelClosed - { - get - { + internal static string ChannelClosed { + get { return ResourceManager.GetString("ChannelClosed", resourceCulture); } } - + /// /// Looks up a localized string similar to The channel multiplexer has shut down.. /// - internal static string ChannelMultiplexerClosedTransportError - { - get - { + internal static string ChannelMultiplexerClosedTransportError { + get { return ResourceManager.GetString("ChannelMultiplexerClosedTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to The transport client failed to open a connection. See the inner exception for details.. /// - internal static string ChannelOpenFailedTransportError - { - get - { + internal static string ChannelOpenFailedTransportError { + get { return ResourceManager.GetString("ChannelOpenFailedTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to The transport client timed out when opening a connection. See the inner exception for details.. /// - internal static string ChannelOpenTimeoutTransportError - { - get - { + internal static string ChannelOpenTimeoutTransportError { + get { return ResourceManager.GetString("ChannelOpenTimeoutTransportError", resourceCulture); } } - + + /// + /// Looks up a localized string similar to The TCP channel timed out on waiting to open.. + /// + internal static string ChannelWaitingToOpenTimeoutException { + get { + return ResourceManager.GetString("ChannelWaitingToOpenTimeoutException", resourceCulture); + } + } + /// - /// Looks up a localized string similar to There is high CPU detected on your client machine. Requests are more likely to timeout when CPU exceeds 90%. + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. There is high CPU detected on your client machine. Requests are more likely to timeout when CPU exceeds 90%.. /// - internal static string Client_CPUOverload - { - get - { + internal static string Client_CPUOverload { + get { return ResourceManager.GetString("Client_CPUOverload", resourceCulture); } } - + /// - /// Looks up a localized string similar to Thread starvation or thread-pool blocking detected. + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. Thread starvation or thread-pool blocking detected.. /// - internal static string Client_ThreadStarvation - { - get - { + internal static string Client_ThreadStarvation { + get { return ResourceManager.GetString("Client_ThreadStarvation", resourceCulture); } } - + /// - /// Looks up a localized string similar to The request failed because the client was unable to establish connections to {0} endpoints across {1} regions. The client CPU was overloaded during the attempted request.. + /// Looks up a localized string similar to The request failed because the client was unable to establish connections to {0} endpoints across {1} regions. The client CPU was overloaded during the attempted request. More info: https://aka.ms/CosmosDB/sql/errors/net/high-cpu. /// - internal static string ClientCpuOverload - { - get - { + internal static string ClientCpuOverload { + get { return ResourceManager.GetString("ClientCpuOverload", resourceCulture); } } - + /// /// Looks up a localized string similar to The request failed because the client was unable to establish connections to {0} endpoints across {1} regions. The client CPU has thread starvation.. /// - internal static string ClientCpuThreadStarvation - { - get - { + internal static string ClientCpuThreadStarvation { + get { return ResourceManager.GetString("ClientCpuThreadStarvation", resourceCulture); } } - + /// - /// Looks up a localized string similar to The request failed because the client was unable to establish connections to {0} endpoints across {1} regions. Please check for client resource starvation issues and verify connectivity between client and server.. + /// Looks up a localized string similar to The request failed because the client was unable to establish connections to {0} endpoints across {1} regions. Please check for client resource starvation issues and verify connectivity between client and server. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. /// - internal static string ClientUnavailable - { - get - { + internal static string ClientUnavailable { + get { return ResourceManager.GetString("ClientUnavailable", resourceCulture); } } - + + /// + /// Looks up a localized string similar to Collection is not yet available for read. Please retry in some time.. + /// + internal static string CollectionCreateInProgress { + get { + return ResourceManager.GetString("CollectionCreateInProgress", resourceCulture); + } + } + /// /// Looks up a localized string similar to Collection create request conflicted with ongoing add region or failover operation. Ensure to complete region configuration before creating collection.. /// - internal static string CollectionCreateTopologyConflict - { - get - { + internal static string CollectionCreateTopologyConflict { + get { return ResourceManager.GetString("CollectionCreateTopologyConflict", resourceCulture); } } - + /// /// Looks up a localized string similar to Throughput of this collection cannot be more than {0}, as was provisioned during collection creation time.. /// - internal static string CollectionThroughputCannotBeMoreThan - { - get - { + internal static string CollectionThroughputCannotBeMoreThan { + get { return ResourceManager.GetString("CollectionThroughputCannotBeMoreThan", resourceCulture); } } - + /// /// Looks up a localized string similar to Failed to connect to the remote endpoint.. /// - internal static string ConnectFailedTransportError - { - get - { + internal static string ConnectFailedTransportError { + get { return ResourceManager.GetString("ConnectFailedTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to The connection failed.. /// - internal static string ConnectionBrokenTransportError - { - get - { + internal static string ConnectionBrokenTransportError { + get { return ResourceManager.GetString("ConnectionBrokenTransportError", resourceCulture); } } - + + /// + /// Looks up a localized string similar to Connection is too busy. Please retry after sometime or open more connections.. + /// + internal static string ConnectionIsBusy { + get { + return ResourceManager.GetString("ConnectionIsBusy", resourceCulture); + } + } + /// /// Looks up a localized string similar to The connection attempt timed out.. /// - internal static string ConnectTimeoutTransportError - { - get - { + internal static string ConnectTimeoutTransportError { + get { return ResourceManager.GetString("ConnectTimeoutTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to Correlation ID not found in response. /// - internal static string CorrelationIDNotFoundInResponse - { - get - { + internal static string CorrelationIDNotFoundInResponse { + get { return ResourceManager.GetString("CorrelationIDNotFoundInResponse", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid CORS rule. At least one allowed origin is required.. /// - internal static string CorsAllowedOriginsEmptyList - { - get - { + internal static string CorsAllowedOriginsEmptyList { + get { return ResourceManager.GetString("CorsAllowedOriginsEmptyList", resourceCulture); } } - + /// /// Looks up a localized string similar to InvalidCORS rule. The origin '{0}' is an invalid origin. A valid rigin should not include a uri path.. /// - internal static string CorsAllowedOriginsInvalidPath - { - get - { + internal static string CorsAllowedOriginsInvalidPath { + get { return ResourceManager.GetString("CorsAllowedOriginsInvalidPath", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid CORS rule. The origin '{0}' is not a well formed origin... /// - internal static string CorsAllowedOriginsMalformedUri - { - get - { + internal static string CorsAllowedOriginsMalformedUri { + get { return ResourceManager.GetString("CorsAllowedOriginsMalformedUri", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid CORS rule. Wildcards are not supported.. /// - internal static string CorsAllowedOriginsWildcardsNotSupported - { - get - { + internal static string CorsAllowedOriginsWildcardsNotSupported { + get { return ResourceManager.GetString("CorsAllowedOriginsWildcardsNotSupported", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid CORS rules. Only one rule is supported.. /// - internal static string CorsTooManyRules - { - get - { + internal static string CorsTooManyRules { + get { return ResourceManager.GetString("CorsTooManyRules", resourceCulture); } } - + /// /// Looks up a localized string similar to Value specified in the "{0}" header is incompatible with value specified in the "{1}" header of the request.. /// - internal static string CrossPartitionContinuationAndIndex - { - get - { + internal static string CrossPartitionContinuationAndIndex { + get { return ResourceManager.GetString("CrossPartitionContinuationAndIndex", resourceCulture); } } - + /// /// Looks up a localized string similar to Cross partition query is required but disabled. Please set x-ms-documentdb-query-enablecrosspartition to true, specify x-ms-documentdb-partitionkey, or revise your query to avoid this exception.. /// - internal static string CrossPartitionQueryDisabled - { - get - { + internal static string CrossPartitionQueryDisabled { + get { return ResourceManager.GetString("CrossPartitionQueryDisabled", resourceCulture); } } - + /// /// Looks up a localized string similar to Cross-tenant CMK is not supported with First Party identities as Default identities. Please use an User Assigned identity instead.. /// - internal static string CrossTenantCMKNotSupportedWithFirstPartyIdentity - { - get - { + internal static string CrossTenantCMKNotSupportedWithFirstPartyIdentity { + get { return ResourceManager.GetString("CrossTenantCMKNotSupportedWithFirstPartyIdentity", resourceCulture); } } - + /// /// Looks up a localized string similar to Cross-tenant CMK is not supported with System Assigned identities as Default identities. Please use an User Assigned Identity instead.. /// - internal static string CrossTenantCMKNotSupportedWithSystemAssignedIdentity - { - get - { + internal static string CrossTenantCMKNotSupportedWithSystemAssignedIdentity { + get { return ResourceManager.GetString("CrossTenantCMKNotSupportedWithSystemAssignedIdentity", resourceCulture); } } - + /// /// Looks up a localized string similar to Database Account {0} does not exist. /// - internal static string DatabaseAccountNotFound - { - get - { + internal static string DatabaseAccountNotFound { + get { return ResourceManager.GetString("DatabaseAccountNotFound", resourceCulture); } } - + /// /// Looks up a localized string similar to Database create request conflicted with ongoing add region or failover operation. Ensure to complete region configuration before creating collection... /// - internal static string DatabaseCreateTopologyConflict - { - get - { + internal static string DatabaseCreateTopologyConflict { + get { return ResourceManager.GetString("DatabaseCreateTopologyConflict", resourceCulture); } } - + + /// + /// Looks up a localized string similar to "Operation '{0}' on resource '{1}' is not allowed through Azure Cosmos DB endpoint. Please switch on such operations for your account, or perform this operation through Azure Resource Manager, Azure Portal, Azure CLI or Azure Powershell". + /// + internal static string DataPlaneOperationNotAllowed { + get { + return ResourceManager.GetString("DataPlaneOperationNotAllowed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to DataTransfer service is not available in region [{0}].. + /// + internal static string DataTransferStateStoreNotResolved { + get { + return ResourceManager.GetString("DataTransferStateStoreNotResolved", resourceCulture); + } + } + /// /// Looks up a localized string similar to Expecting DateTime value.. /// - internal static string DateTimeConverterInvalidDateTime - { - get - { + internal static string DateTimeConverterInvalidDateTime { + get { return ResourceManager.GetString("DateTimeConverterInvalidDateTime", resourceCulture); } } - + /// /// Looks up a localized string similar to Expecting reader to read Integer. /// - internal static string DateTimeConverterInvalidReaderValue - { - get - { + internal static string DateTimeConverterInvalidReaderValue { + get { return ResourceManager.GetString("DateTimeConverterInvalidReaderValue", resourceCulture); } } - + /// /// Looks up a localized string similar to Expecting reader value to be compatible with double conversion.. /// - internal static string DateTimeConveterInvalidReaderDoubleValue - { - get - { + internal static string DateTimeConveterInvalidReaderDoubleValue { + get { return ResourceManager.GetString("DateTimeConveterInvalidReaderDoubleValue", resourceCulture); } } - - /// - /// Looks up a localized string similar to Error occurred while deserializing content '{0}'.. - /// - internal static string DeserializationError - { - get - { - return ResourceManager.GetString("DeserializationError", resourceCulture); - } - } - + /// /// Looks up a localized string similar to The given default identity for {0} is not valid. The format for the default identity is not valid, please use 'FirstPartyIdentity'/'SystemAssignedIdentity'/'UserAssignedIdentity=<UA_resource_id>'. /// - internal static string DefaultIdentityNotValidFormat - { - get - { + internal static string DefaultIdentityNotValidFormat { + get { return ResourceManager.GetString("DefaultIdentityNotValidFormat", resourceCulture); } } - + /// /// Looks up a localized string similar to The given default identity for {0} is not valid. The default identity points to a delegated identity that does not exist in {0}.. /// - internal static string DefaultIdentityWithoutCorrespondingDelegatedIdentity - { - get - { + internal static string DefaultIdentityWithoutCorrespondingDelegatedIdentity { + get { return ResourceManager.GetString("DefaultIdentityWithoutCorrespondingDelegatedIdentity", resourceCulture); } } - + /// /// Looks up a localized string similar to The given default identity for {0} is not valid. The default identity points to a system identity that does not exist in {0}.. /// - internal static string DefaultIdentityWithoutCorrespondingSystemIdentity - { - get - { + internal static string DefaultIdentityWithoutCorrespondingSystemIdentity { + get { return ResourceManager.GetString("DefaultIdentityWithoutCorrespondingSystemIdentity", resourceCulture); } } - + /// /// Looks up a localized string similar to The given default identity for {0} is not valid. The default identity points to an user identity that does not exist in {0}.. /// - internal static string DefaultIdentityWithoutCorrespondingUserIdentity - { - get - { + internal static string DefaultIdentityWithoutCorrespondingUserIdentity { + get { return ResourceManager.GetString("DefaultIdentityWithoutCorrespondingUserIdentity", resourceCulture); } } - + + /// + /// Looks up a localized string similar to Error occurred while deserializing content '{0}'.. + /// + internal static string DeserializationError { + get { + return ResourceManager.GetString("DeserializationError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot set DisableKeyBasedMetadataWriteAccess on this account type.. + /// + internal static string DisableKeyBasedMetadataWriteAccessNotSupported { + get { + return ResourceManager.GetString("DisableKeyBasedMetadataWriteAccessNotSupported", resourceCulture); + } + } + /// /// Looks up a localized string similar to DNS resolution failed.. /// - internal static string DnsResolutionFailedTransportError - { - get - { + internal static string DnsResolutionFailedTransportError { + get { return ResourceManager.GetString("DnsResolutionFailedTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to DNS resolution timed out.. /// - internal static string DnsResolutionTimeoutTransportError - { - get - { + internal static string DnsResolutionTimeoutTransportError { + get { return ResourceManager.GetString("DnsResolutionTimeoutTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to Document Query Execution Context is done.. /// - internal static string DocumentQueryExecutionContextIsDone - { - get - { + internal static string DocumentQueryExecutionContextIsDone { + get { return ResourceManager.GetString("DocumentQueryExecutionContextIsDone", resourceCulture); } } - + /// /// Looks up a localized string similar to Service is currently unavailable, please retry after a while. If this problem persists please contact support.. /// - internal static string DocumentServiceUnavailable - { - get - { + internal static string DocumentServiceUnavailable { + get { return ResourceManager.GetString("DocumentServiceUnavailable", resourceCulture); } } - + /// /// Looks up a localized string similar to Duplicate correlation id generated. /// - internal static string DuplicateCorrelationIdGenerated - { - get - { + internal static string DuplicateCorrelationIdGenerated { + get { return ResourceManager.GetString("DuplicateCorrelationIdGenerated", resourceCulture); } } - + /// - /// Looks up a localized string similar to Empty Virtual Network Resource Guid. + /// Looks up a localized string similar to There cannot be duplicate physical partition ids in x-ms-cosmos-source-partition-throughput-info header.. /// - internal static string EmptyVirtualNetworkResourceGuid - { - get - { - return ResourceManager.GetString("EmptyVirtualNetworkResourceGuid", resourceCulture); + internal static string DuplicatePhysicalPartitionIdInSourcePartitionThroughputInfo { + get { + return ResourceManager.GetString("DuplicatePhysicalPartitionIdInSourcePartitionThroughputInfo", resourceCulture); } } - + /// - /// Looks up a localized string similar to Specified Virtual Network Rules list is empty. + /// Looks up a localized string similar to There cannot be duplicate physical partition ids in x-ms-cosmos-target-partition-throughput-info header.. /// - internal static string EmptyVirtualNetworkRulesSpecified - { - get - { - return ResourceManager.GetString("EmptyVirtualNetworkRulesSpecified", resourceCulture); + internal static string DuplicatePhysicalPartitionIdInTargetPartitionThroughputInfo { + get { + return ResourceManager.GetString("DuplicatePhysicalPartitionIdInTargetPartitionThroughputInfo", resourceCulture); } } - + /// - /// Looks up a localized string similar to Cannot set EnableAnalyticsStorage on an account with EnableServerless. + /// Looks up a localized string similar to Empty Virtual Network Resource Guid. /// - internal static string EnableAnalyticsStorageAndEnableServerlessNotSupported - { - get - { - return ResourceManager.GetString("EnableAnalyticsStorageAndEnableServerlessNotSupported", resourceCulture); + internal static string EmptyVirtualNetworkResourceGuid { + get { + return ResourceManager.GetString("EmptyVirtualNetworkResourceGuid", resourceCulture); } } - + /// - /// Looks up a localized string similar to The value of offer throughput policy specified is invalid. + /// Looks up a localized string similar to Specified Virtual Network Rules list is empty. /// - internal static string InvalidThroughputPolicy - { - get - { - return ResourceManager.GetString("InvalidThroughputPolicy", resourceCulture); + internal static string EmptyVirtualNetworkRulesSpecified { + get { + return ResourceManager.GetString("EmptyVirtualNetworkRulesSpecified", resourceCulture); } } - + /// - /// Looks up a localized string similar to Cannot set EnableMultipleWriteLocations on an account with EnableServerless. + /// Looks up a localized string similar to Serverless accounts do not support multiple write locations(i.e. EnableMultipleWriteLocations=true).. /// - internal static string EnableMultipleWriteLocationsAndEnableServerlessNotSupported - { - get - { + internal static string EnableMultipleWriteLocationsAndEnableServerlessNotSupported { + get { return ResourceManager.GetString("EnableMultipleWriteLocationsAndEnableServerlessNotSupported", resourceCulture); } } - + /// /// Looks up a localized string similar to Accounts configured with default consistency level as 'Strong' cannot be enabled for multiple write locations(i.e. EnableMultipleWriteLocations=true). Consider relaxing default consistency level of the account to enable multiple write locations.. /// - internal static string EnableMultipleWriteLocationsAndStrongConsistencyNotSupported - { - get - { + internal static string EnableMultipleWriteLocationsAndStrongConsistencyNotSupported { + get { return ResourceManager.GetString("EnableMultipleWriteLocationsAndStrongConsistencyNotSupported", resourceCulture); } } - + /// - /// Looks up a localized string similar to Availability Zone on a multi region account requires multi master to be enabled. Please enable Multi-Master on the database account to proceed.. + /// Looks up a localized string similar to "Availability Zone on a multi region account requires multi master to be enabled. Please enable Multi-Master on the database account to proceed.". /// - internal static string EnableMultipleWriteLocationsBeforeAddingRegion - { - get - { + internal static string EnableMultipleWriteLocationsBeforeAddingRegion { + get { return ResourceManager.GetString("EnableMultipleWriteLocationsBeforeAddingRegion", resourceCulture); } } - + /// - /// Looks up a localized string similar to This account already has EnableMultipleWriteLocations flag set to {0}".. + /// Looks up a localized string similar to This account already has EnableMultipleWriteLocations flag set to {0}".. /// - internal static string EnableMultipleWriteLocationsNotModified - { - get - { + internal static string EnableMultipleWriteLocationsNotModified { + get { return ResourceManager.GetString("EnableMultipleWriteLocationsNotModified", resourceCulture); } } - + /// - /// Looks up a localized string similar to Cannot add regions to an account with EnableServerless. + /// Looks up a localized string similar to Cannot set EnableMultipleWriteLocations on this account type.. /// - internal static string EnableMultiRegionAndEnableServerlessNotSupported - { - get - { - return ResourceManager.GetString("EnableMultiRegionAndEnableServerlessNotSupported", resourceCulture); + internal static string EnableMultipleWriteLocationsNotSupported { + get { + return ResourceManager.GetString("EnableMultipleWriteLocationsNotSupported", resourceCulture); } } - + /// - /// Looks up a localized string similar to Restore is not Supported on this account type. + /// Looks up a localized string similar to Serverless accounts do not support multiple regions.. /// - internal static string PitrNotSupported - { - get - { - return ResourceManager.GetString("PitrNotSupported", resourceCulture); + internal static string EnableMultiRegionAndEnableServerlessNotSupported { + get { + return ResourceManager.GetString("EnableMultiRegionAndEnableServerlessNotSupported", resourceCulture); } } - + /// - /// Looks up a localized string similar to Cannot add regions to this account type. + /// Looks up a localized string similar to Cannot add regions to this account type.. /// - internal static string EnableMultiRegionNotSupported - { - get - { + internal static string EnableMultiRegionNotSupported { + get { return ResourceManager.GetString("EnableMultiRegionNotSupported", resourceCulture); } } - + /// - /// Looks up a localized string similar to Cannot set EnableMultipleWriteLocations on this account type. + /// Looks up a localized string similar to Unable to retrieve address of endpoint '{0}' from the address '{1}'. /// - internal static string EnableMultipleWriteLocationsNotSupported - { - get - { - return ResourceManager.GetString("EnableMultipleWriteLocationsNotSupported", resourceCulture); + internal static string EndpointNotFound { + get { + return ResourceManager.GetString("EndpointNotFound", resourceCulture); } } - + /// - /// Looks up a localized string similar to Cannot set DisableKeyBasedMetadataWriteAccess on this account type. + /// Looks up a localized string similar to Entity with the specified id already exists in the system.. /// - internal static string DisableKeyBasedMetadataWriteAccessNotSupported - { - get - { - return ResourceManager.GetString("DisableKeyBasedMetadataWriteAccessNotSupported", resourceCulture); + internal static string EntityAlreadyExists { + get { + return ResourceManager.GetString("EntityAlreadyExists", resourceCulture); } } - + /// - /// Looks up a localized string similar to MaterializedViews is not supported on this account type. + /// Looks up a localized string similar to Message: {0}. /// - internal static string MaterializedViewsNotSupported - { - get - { - return ResourceManager.GetString("MaterializedViewsNotSupported", resourceCulture); + internal static string ExceptionMessage { + get { + return ResourceManager.GetString("ExceptionMessage", resourceCulture); } } - + /// - /// Looks up a localized string similar to Full Fidelity Change Feed is not supported on this account type. + /// Looks up a localized string similar to {0}, Local IP: {1}. /// - internal static string FullFidelityChangeFeedNotSupported - { - get - { - return ResourceManager.GetString("FullFidelityChangeFeedNotSupported", resourceCulture); + internal static string ExceptionMessageAddIpAddress { + get { + return ResourceManager.GetString("ExceptionMessageAddIpAddress", resourceCulture); } } - + /// - /// Looks up a localized string similar to CassandraConnector not supported for this account type. + /// Looks up a localized string similar to {0}, Request URI: {1}, RequestStats: {2}, SDK: {3}. /// - internal static string CassandraConnectorNotSupported - { - get - { - return ResourceManager.GetString("CassandraConnectorNotSupported", resourceCulture); + internal static string ExceptionMessageAddRequestUri { + get { + return ResourceManager.GetString("ExceptionMessageAddRequestUri", resourceCulture); } } - + /// - /// Looks up a localized string similar to Free Tier is not supported on this account type. + /// Looks up a localized string similar to Cannot perform failover as it is disabled for the account.. /// - internal static string FreeTierNotSupported - { - get - { - return ResourceManager.GetString("FreeTierNotSupported", resourceCulture); + internal static string FailoverDisabled { + get { + return ResourceManager.GetString("FailoverDisabled", resourceCulture); } } - + /// - /// Looks up a localized string similar to Cannot set IpRangeFilter values on this account type. + /// Looks up a localized string similar to Feature {0} is not supported for Multi-region Account. /// - internal static string IpRangeFilterNotSupported - { - get - { - return ResourceManager.GetString("IpRangeFilterNotSupported", resourceCulture); + internal static string FeatureNotSupportedForMultiRegionAccount { + get { + return ResourceManager.GetString("FeatureNotSupportedForMultiRegionAccount", resourceCulture); } } - + /// - /// Looks up a localized string similar to Analytical Storage is not supported on this account type. + /// Looks up a localized string similar to Feature {0} is not supported in {1} region. /// - internal static string AnalyticalStoreNotSupported - { - get - { - return ResourceManager.GetString("AnalyticalStoreNotSupported", resourceCulture); + internal static string FeatureNotSupportedInRegion { + get { + return ResourceManager.GetString("FeatureNotSupportedInRegion", resourceCulture); } } - + /// - /// Looks up a localized string similar to Cannot set VirtualNetworkFilter on this account type. + /// Looks up a localized string similar to {0} is not supported for the target subscription. /// - internal static string VirtualNetworkFilterNotSupported - { - get - { - return ResourceManager.GetString("VirtualNetworkFilterNotSupported", resourceCulture); + internal static string FeatureNotSupportedOnSubscription { + get { + return ResourceManager.GetString("FeatureNotSupportedOnSubscription", resourceCulture); } } - + /// - /// Looks up a localized string similar to Serverless offer is not supported on this account type. + /// Looks up a localized string similar to Federation {0} in region {1} is not found. /// - internal static string ServerlessNotSupported - { - get - { - return ResourceManager.GetString("ServerlessNotSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unable to retrieve address of endpoint '{0}' from the address '{1}'. - /// - internal static string EndpointNotFound - { - get - { - return ResourceManager.GetString("EndpointNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Entity with the specified id already exists in the system.. - /// - internal static string EntityAlreadyExists - { - get - { - return ResourceManager.GetString("EntityAlreadyExists", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Message: {0}. - /// - internal static string ExceptionMessage - { - get - { - return ResourceManager.GetString("ExceptionMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0}, Local IP: {1}. - /// - internal static string ExceptionMessageAddIpAddress - { - get - { - return ResourceManager.GetString("ExceptionMessageAddIpAddress", resourceCulture); + internal static string FederationEntityNotFound { + get { + return ResourceManager.GetString("FederationEntityNotFound", resourceCulture); } } - + /// - /// Looks up a localized string similar to {0}, Request URI: {1}, RequestStats: {2}, SDK: {3}. + /// Looks up a localized string similar to Unexpected status code for first Azure Key Vault Access. First request to get Azure Key Vault metadata should always return Unauthorized.. /// - internal static string ExceptionMessageAddRequestUri - { - get - { - return ResourceManager.GetString("ExceptionMessageAddRequestUri", resourceCulture); + internal static string FirstKeyVaultAccessAttemptShouldBeUnauthorized { + get { + return ResourceManager.GetString("FirstKeyVaultAccessAttemptShouldBeUnauthorized", resourceCulture); } } - + /// - /// Looks up a localized string similar to Feature {0} is not supported for Multi-region Account. + /// Looks up a localized string similar to Request is blocked by your Cosmos DB account firewall settings. More info: https://aka.ms/cosmosdb-tsg-forbidden. /// - internal static string FeatureNotSupportedForMultiRegionAccount - { - get - { - return ResourceManager.GetString("FeatureNotSupportedForMultiRegionAccount", resourceCulture); + internal static string Forbidden { + get { + return ResourceManager.GetString("Forbidden", resourceCulture); } } - + /// - /// Looks up a localized string similar to Feature {0} is not supported in {1} region. + /// Looks up a localized string similar to Request received through private endpoint. It is blocked because either your account does not have private endpoint configured, or it is not from the private endpoint that your account is configured with. More info: https://aka.ms/cosmosdb-tsg-forbidden. /// - internal static string FeatureNotSupportedInRegion - { - get - { - return ResourceManager.GetString("FeatureNotSupportedInRegion", resourceCulture); + internal static string ForbiddenPrivateEndpoint { + get { + return ResourceManager.GetString("ForbiddenPrivateEndpoint", resourceCulture); } } - + /// - /// Looks up a localized string similar to {0} is not supported for the target subscription. + /// Looks up a localized string similar to Request originated from IP {0} through public internet. This is blocked by your Cosmos DB account firewall settings. More info: https://aka.ms/cosmosdb-tsg-forbidden. /// - internal static string FeatureNotSupportedOnSubscription - { - get - { - return ResourceManager.GetString("FeatureNotSupportedOnSubscription", resourceCulture); + internal static string ForbiddenPublicIpv4 { + get { + return ResourceManager.GetString("ForbiddenPublicIpv4", resourceCulture); } } - + /// - /// Looks up a localized string similar to MaterializedViews is not supported on this account type. + /// Looks up a localized string similar to Request originated from VNET through service endpoint. This is blocked by your Cosmos DB account firewall settings. More info: https://aka.ms/cosmosdb-tsg-forbidden. /// - internal static string MaterializedViewsNotSupportedOnZoneRedundantAccount - { - get - { - return ResourceManager.GetString("MaterializedViewsNotSupportedOnZoneRedundantAccount", resourceCulture); + internal static string ForbiddenServiceEndpoint { + get { + return ResourceManager.GetString("ForbiddenServiceEndpoint", resourceCulture); } } - + /// - /// Looks up a localized string similar to Federation {0} in region {1} is not found. + /// Looks up a localized string similar to Free tier has already been applied to another Azure Cosmos DB account in this subscription. To apply free tier to this account, you can select another subscription for this account or delete the existing free tier account. You can have up to one free tier account per subscription.. /// - internal static string FederationEntityNotFound - { - get - { - return ResourceManager.GetString("FederationEntityNotFound", resourceCulture); + internal static string FreeTierAppliedBefore { + get { + return ResourceManager.GetString("FreeTierAppliedBefore", resourceCulture); } } - + /// - /// Looks up a localized string similar to Request is blocked by your Cosmos DB account firewall settings.. + /// Looks up a localized string similar to Free Tier is not supported on this account type.. /// - internal static string Forbidden - { - get - { - return ResourceManager.GetString("Forbidden", resourceCulture); + internal static string FreeTierNotSupported { + get { + return ResourceManager.GetString("FreeTierNotSupported", resourceCulture); } } - + /// - /// Looks up a localized string similar to Request originated from IP {0} through public internet. - /// This is blocked by your Cosmos DB account firewall settings. More info: https://aka.ms/cosmosdb-tsg-forbidden. + /// Looks up a localized string similar to Free tier is not supported for Internal subscriptions.. /// - internal static string ForbiddenPublicIpv4 - { - get - { - return ResourceManager.GetString("ForbiddenPublicIpv4", resourceCulture); + internal static string FreeTierNotSupportedForInternalSubscription { + get { + return ResourceManager.GetString("FreeTierNotSupportedForInternalSubscription", resourceCulture); } } - + /// - /// Looks up a localized string similar to Request originated from VNET through service endpoint. - /// This is blocked by your Cosmos DB account firewall settings. More info: https://aka.ms/cosmosdb-tsg-forbidden. + /// Looks up a localized string similar to Cannot update FreeTier property for existing account.. /// - internal static string ForbiddenServiceEndpoint - { - get - { - return ResourceManager.GetString("ForbiddenServiceEndpoint", resourceCulture); + internal static string FreeTierUpdateNotSupported { + get { + return ResourceManager.GetString("FreeTierUpdateNotSupported", resourceCulture); } } - + /// - /// Looks up a localized string similar to Request received through private endpoint. - /// It is blocked because either your account does not have private endpoint configured, - /// or it is not from the private endpoint that your account is configured with. - /// More info: https://aka.ms/cosmosdb-tsg-forbidden. + /// Looks up a localized string similar to Full Fidelity Change Feed is not supported on this account type.. /// - internal static string ForbiddenPrivateEndpoint - { - get - { - return ResourceManager.GetString("ForbiddenPrivateEndpoint", resourceCulture); + internal static string FullFidelityChangeFeedNotSupported { + get { + return ResourceManager.GetString("FullFidelityChangeFeedNotSupported", resourceCulture); } } - + /// /// Looks up a localized string similar to Attempt to process the request timed out at remote server.. /// - internal static string GatewayTimedout - { - get - { + internal static string GatewayTimedout { + get { return ResourceManager.GetString("GatewayTimedout", resourceCulture); } } - + /// /// Looks up a localized string similar to Database and Write Location are not matching. /// - internal static string GlobalAndWriteRegionMisMatch - { - get - { + internal static string GlobalAndWriteRegionMisMatch { + get { return ResourceManager.GetString("GlobalAndWriteRegionMisMatch", resourceCulture); } } - + /// /// Looks up a localized string similar to Global Strong write barrier has not been met for the request.. /// - internal static string GlobalStrongWriteBarrierNotMet - { - get - { + internal static string GlobalStrongWriteBarrierNotMet { + get { return ResourceManager.GetString("GlobalStrongWriteBarrierNotMet", resourceCulture); } } - + /// /// Looks up a localized string similar to The requested resource is no longer available at the server.. /// - internal static string Gone - { - get - { + internal static string Gone { + get { return ResourceManager.GetString("Gone", resourceCulture); } } - + + /// + /// Looks up a localized string similar to GraphAPICompute Service cannot be deleted.. + /// + internal static string GremlinV2ServiceDeleteNotSupported { + get { + return ResourceManager.GetString("GremlinV2ServiceDeleteNotSupported", resourceCulture); + } + } + /// /// Looks up a localized string similar to Failed to generate id for resourceType = {0}, partitionIndex = {1}, serviceIndex = {2}, partitionCount = {3}.. /// - internal static string IdGenerationFailed - { - get - { + internal static string IdGenerationFailed { + get { return ResourceManager.GetString("IdGenerationFailed", resourceCulture); } } - + /// /// Looks up a localized string similar to Routing map is not complete.. /// - internal static string IncompleteRoutingMap - { - get - { + internal static string IncompleteRoutingMap { + get { return ResourceManager.GetString("IncompleteRoutingMap", resourceCulture); } } - + + /// + /// Looks up a localized string similar to For containers migrated from fixed to unlimited, scale operation can be performed only if the container has documents populated with partition key. Please retry the throughput scale operation after populating documents with partition key. Please see https://aka.ms/migrate-to-partitioned-collection for more information.. + /// + internal static string InsufficientPartitionedDataForOfferThroughput { + get { + return ResourceManager.GetString("InsufficientPartitionedDataForOfferThroughput", resourceCulture); + } + } + /// /// Looks up a localized string similar to Insufficient permissions provided in the authorization header for the corresponding request. Please retry with another authorization header.. /// - internal static string InsufficientPermissions - { - get - { + internal static string InsufficientPermissions { + get { return ResourceManager.GetString("InsufficientPermissions", resourceCulture); } } - + /// /// Looks up a localized string similar to Unable to continue without atleast a single token in the resource tokens input collection.. /// - internal static string InsufficientResourceTokens - { - get - { + internal static string InsufficientResourceTokens { + get { return ResourceManager.GetString("InsufficientResourceTokens", resourceCulture); } } - + /// /// Looks up a localized string similar to Unknown server error occurred when processing this request.. /// - internal static string InternalServerError - { - get - { + internal static string InternalServerError { + get { return ResourceManager.GetString("InternalServerError", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid API version. Ensure a valid x-ms-version header value is passed. Please update to the latest version of Azure Cosmos DB SDK.. /// - internal static string InvalidAPIVersion - { - get - { + internal static string InvalidAPIVersion { + get { return ResourceManager.GetString("InvalidAPIVersion", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid API version for {0}. Ensure a valid x-ms-version header value is passed. Please update to the latest version of Azure Cosmos DB SDK.. /// - internal static string InvalidAPIVersionForFeature - { - get - { + internal static string InvalidAPIVersionForFeature { + get { return ResourceManager.GetString("InvalidAPIVersionForFeature", resourceCulture); } } - + /// /// Looks up a localized string similar to AudienceKind is Invalid. /// - internal static string InvalidAudienceKind - { - get - { + internal static string InvalidAudienceKind { + get { return ResourceManager.GetString("InvalidAudienceKind", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid Audience Resource Type. /// - internal static string InvalidAudienceResourceType - { - get - { + internal static string InvalidAudienceResourceType { + get { return ResourceManager.GetString("InvalidAudienceResourceType", resourceCulture); } } - + /// /// Looks up a localized string similar to Authorization header doesn't confirm to the required format. Please verify and try again.. /// - internal static string InvalidAuthHeaderFormat - { - get - { + internal static string InvalidAuthHeaderFormat { + get { return ResourceManager.GetString("InvalidAuthHeaderFormat", resourceCulture); } } - + /// /// Looks up a localized string similar to The backend response was not in the correct format.. /// - internal static string InvalidBackendResponse - { - get - { + internal static string InvalidBackendResponse { + get { return ResourceManager.GetString("InvalidBackendResponse", resourceCulture); } } - + + /// + /// Looks up a localized string similar to The value of BackgroundTaskMaxAllowedThroughputPercent specified is invalid. Please specify a valid percentage.. + /// + internal static string InvalidBackgroundTaskMaxAllowedThroughputPercent { + get { + return ResourceManager.GetString("InvalidBackgroundTaskMaxAllowedThroughputPercent", resourceCulture); + } + } + /// /// Looks up a localized string similar to "{0} capability cannot be specified with {1} .". /// - internal static string InvalidCapabilityCombination - { - get - { + internal static string InvalidCapabilityCombination { + get { return ResourceManager.GetString("InvalidCapabilityCombination", resourceCulture); } } - + /// /// Looks up a localized string similar to The resource name presented contains invalid character '{0}'.. /// - internal static string InvalidCharacterInResourceName - { - get - { + internal static string InvalidCharacterInResourceName { + get { return ResourceManager.GetString("InvalidCharacterInResourceName", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid mode '{0}' for setting '{1}'. Mode expected is '{2}'.. /// - internal static string InvalidConflictResolutionMode - { - get - { + internal static string InvalidConflictResolutionMode { + get { return ResourceManager.GetString("InvalidConflictResolutionMode", resourceCulture); } } - + /// /// Looks up a localized string similar to ConsistencyLevel {0} specified in the request is invalid when service is configured with consistency level {1}. Ensure the request consistency level is not stronger than the service consistency level.. /// - internal static string InvalidConsistencyLevel - { - get - { + internal static string InvalidConsistencyLevel { + get { return ResourceManager.GetString("InvalidConsistencyLevel", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid Continuation Token. /// - internal static string InvalidContinuationToken - { - get - { + internal static string InvalidContinuationToken { + get { return ResourceManager.GetString("InvalidContinuationToken", resourceCulture); } } - + /// /// Looks up a localized string similar to The specified document collection is invalid... /// - internal static string InvalidDatabase - { - get - { + internal static string InvalidDatabase { + get { return ResourceManager.GetString("InvalidDatabase", resourceCulture); } } - + /// /// Looks up a localized string similar to The input date header is invalid format. Please pass in RFC 1123 style date format.. /// - internal static string InvalidDateHeader - { - get - { + internal static string InvalidDateHeader { + get { return ResourceManager.GetString("InvalidDateHeader", resourceCulture); } } - + /// /// Looks up a localized string similar to The specified document collection is invalid.. /// - internal static string InvalidDocumentCollection - { - get - { + internal static string InvalidDocumentCollection { + get { return ResourceManager.GetString("InvalidDocumentCollection", resourceCulture); } } - + /// /// Looks up a localized string similar to Cannot enable 'enableMultipleWriteLocations' without also enabling 'canEnableMultipleWriteLocations'.. /// - internal static string InvalidEnableMultipleWriteLocations - { - get - { + internal static string InvalidEnableMultipleWriteLocations { + get { return ResourceManager.GetString("InvalidEnableMultipleWriteLocations", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid value {0} passed for enum {1}. /// - internal static string InvalidEnumValue - { - get - { + internal static string InvalidEnumValue { + get { return ResourceManager.GetString("InvalidEnumValue", resourceCulture); } } - + /// /// Looks up a localized string similar to Failover priority value {0} supplied for region {1} is invalid. /// - internal static string InvalidFailoverPriority - { - get - { + internal static string InvalidFailoverPriority { + get { return ResourceManager.GetString("InvalidFailoverPriority", resourceCulture); } } - - + /// - /// Looks up a localized string similar to Federation cap action is not currently supported. + /// Looks up a localized string similar to Federation cap action is not currently supported.. /// - internal static string InvalidFederationCapAction - { - get - { + internal static string InvalidFederationCapAction { + get { return ResourceManager.GetString("InvalidFederationCapAction", resourceCulture); } } - + + /// + /// Looks up a localized string similar to Partition key path {0} is invalid for Gremlin API. The path cannot be '/id', '/label' or a nested path such as '/key/path'.. + /// + internal static string InvalidGremlinPartitionKey { + get { + return ResourceManager.GetString("InvalidGremlinPartitionKey", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to GroupId {0} is not supported. + /// + internal static string InvalidGroupId { + get { + return ResourceManager.GetString("InvalidGroupId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Only one groupId is supported. + /// + internal static string InvalidGroupIdCount { + get { + return ResourceManager.GetString("InvalidGroupIdCount", resourceCulture); + } + } + /// /// Looks up a localized string similar to Value '{0}' specified for the header '{1}' is invalid. . /// - internal static string InvalidHeaderValue - { - get - { + internal static string InvalidHeaderValue { + get { return ResourceManager.GetString("InvalidHeaderValue", resourceCulture); } } - + /// /// Looks up a localized string similar to The specified value {0} of the index kind is invalid.. /// - internal static string InvalidIndexKindValue - { - get - { + internal static string InvalidIndexKindValue { + get { return ResourceManager.GetString("InvalidIndexKindValue", resourceCulture); } } - + /// /// Looks up a localized string similar to The index spec format is invalid.. /// - internal static string InvalidIndexSpecFormat - { - get - { + internal static string InvalidIndexSpecFormat { + get { return ResourceManager.GetString("InvalidIndexSpecFormat", resourceCulture); } } - + /// /// Looks up a localized string similar to Received invalid index transformation progress values from all the replicas.. /// - internal static string InvalidIndexTransformationProgressValues - { - get - { + internal static string InvalidIndexTransformationProgressValues { + get { return ResourceManager.GetString("InvalidIndexTransformationProgressValues", resourceCulture); } } - + /// - /// Looks up a localized string similar to List of supplied locations is invalid. + /// Looks up a localized string similar to The provided Azure Key Vault resource secret URI does not follow the expected format.. /// - internal static string InvalidLocations - { - get - { - return ResourceManager.GetString("InvalidLocations", resourceCulture); + internal static string InvalidKeyVaulSecretURI { + get { + return ResourceManager.GetString("InvalidKeyVaulSecretURI", resourceCulture); } } - + /// - /// Looks up a localized string similar to Only one manualPrivateLinkServiceConnection or one privateLinkServiceConnection is supported. + /// Looks up a localized string similar to The provided Azure Key Vault resource key or cert URI does not follow the expected format.. /// - internal static string InvalidPrivateLinkServiceConnections - { - get - { - return ResourceManager.GetString("InvalidPrivateLinkServiceConnections", resourceCulture); + internal static string InvalidKeyVaultKeyAndCertURI { + get { + return ResourceManager.GetString("InvalidKeyVaultKeyAndCertURI", resourceCulture); } } - + /// - /// Looks up a localized string similar to Only one privateLinkServiceProxy is supported. + /// Looks up a localized string similar to List of supplied locations is invalid. /// - internal static string InvalidPrivateLinkServiceProxies - { - get - { - return ResourceManager.GetString("InvalidPrivateLinkServiceProxies", resourceCulture); + internal static string InvalidLocations { + get { + return ResourceManager.GetString("InvalidLocations", resourceCulture); } } - + /// - /// Looks up a localized string similar to Only one groupId is supported. + /// Looks up a localized string similar to MaxStalenessInterval should be greater than or equal to {0} sec and less than or equal to {1} sec. /// - internal static string InvalidGroupIdCount - { - get - { - return ResourceManager.GetString("InvalidGroupIdCount", resourceCulture); + internal static string InvalidMaxStalenessInterval { + get { + return ResourceManager.GetString("InvalidMaxStalenessInterval", resourceCulture); } } - + /// - /// Looks up a localized string similar to GroupId {0} is not supported. + /// Looks up a localized string similar to MaxStalenessPrefix should be greater than or equal to {0} and less than or equal to {1}. /// - internal static string InvalidGroupId - { - get - { - return ResourceManager.GetString("InvalidGroupId", resourceCulture); + internal static string InvalidMaxStalenessPrefix { + get { + return ResourceManager.GetString("InvalidMaxStalenessPrefix", resourceCulture); } } - + /// - /// Looks up a localized string similar to MaxStalenessInterval should be greater than or equal to {0} sec and less than or equal to {1} sec. + /// Looks up a localized string similar to Collection name '{0}' is invalid for MongoDB API.. /// - internal static string InvalidMaxStalenessInterval - { - get - { - return ResourceManager.GetString("InvalidMaxStalenessInterval", resourceCulture); + internal static string InvalidMongoCollectionName { + get { + return ResourceManager.GetString("InvalidMongoCollectionName", resourceCulture); } } - + /// - /// Looks up a localized string similar to MaxStalenessPrefix should be greater than or equal to {0} and less than or equal to {1}. + /// Looks up a localized string similar to Database name '{0}' is invalid for MongoDB API.. /// - internal static string InvalidMaxStalenessPrefix - { - get - { - return ResourceManager.GetString("InvalidMaxStalenessPrefix", resourceCulture); + internal static string InvalidMongoDatabaseName { + get { + return ResourceManager.GetString("InvalidMongoDatabaseName", resourceCulture); } } - + /// - /// Looks up a localized string similar to The value of offer throughput specified exceeded supported maximum throughput for Fixed size container. Please enter value less than {0}.. + /// Looks up a localized string similar to Partition key path {0} is invalid for MongoDB API.. /// - internal static string InvalidNonPartitionedOfferThroughput - { - get - { - return ResourceManager.GetString("InvalidNonPartitionedOfferThroughput", resourceCulture); + internal static string InvalidMongoPartitionKey { + get { + return ResourceManager.GetString("InvalidMongoPartitionKey", resourceCulture); } } - + /// - /// Looks up a localized string similar to The container doesn't have enough data populated with partition key information. Please retry the throughput scale operation after inserting data with partition key information. + /// Looks up a localized string similar to The expected scope array should be of length 1. Instead received scope with length {0}.. /// - internal static string InsufficientPartitionedDataForOfferThroughput - { - get - { - return ResourceManager.GetString("InsufficientPartitionedDataForOfferThroughput", resourceCulture); + internal static string InvalidMSALScopeLength { + get { + return ResourceManager.GetString("InvalidMSALScopeLength", resourceCulture); } } - + /// - /// Looks up a localized string similar to The value of offer IsAutoScaleEnabled specified is invalid. Please specify a boolean value.. + /// Looks up a localized string similar to The value of offer throughput specified exceeded supported maximum throughput for Fixed size container. Please enter value less than {0}.. /// - internal static string InvalidOfferIsAutoScaleEnabled - { - get - { - return ResourceManager.GetString("InvalidOfferIsAutoScaleEnabled", resourceCulture); + internal static string InvalidNonPartitionedOfferThroughput { + get { + return ResourceManager.GetString("InvalidNonPartitionedOfferThroughput", resourceCulture); } } - + /// - /// Looks up a localized string similar to The value of OfferAutoScaleMode specified is invalid. Please specfy a valid auto scale mode. + /// Looks up a localized string similar to The value of OfferAutoScaleMode specified is invalid. Please specify a valid auto scale mode.. /// - internal static string InvalidOfferAutoScaleMode - { - get - { + internal static string InvalidOfferAutoScaleMode { + get { return ResourceManager.GetString("InvalidOfferAutoScaleMode", resourceCulture); } } - - internal static string OfferAutopilotNotSupportedForNonPartitionedCollections - { - get - { - return ResourceManager.GetString("OfferAutopilotNotSupportedForNonPartitionedCollections", resourceCulture); - } - } - + /// - /// Looks up a localized string similar to Autopilot is currently not supported on shared throughput database. + /// Looks up a localized string similar to Reading or replacing offers is not supported for serverless accounts.. /// - internal static string OfferAutopilotNotSupportedOnSharedThroughputDatabase - { - get - { - return ResourceManager.GetString("OfferAutopilotNotSupportedOnSharedThroughputDatabase", resourceCulture); + internal static string InvalidOfferCRUDForServerless { + get { + return ResourceManager.GetString("InvalidOfferCRUDForServerless", resourceCulture); } } - + /// - /// Looks up a localized string similar to The value of offer IsRUPerMinuteThroughputEnabled specified is invalid. Please specify a boolean value.. + /// Looks up a localized string similar to The value of offer IsAutoScaleEnabled specified is invalid. Please specify a boolean value.. /// - internal static string InvalidOfferIsRUPerMinuteThroughputEnabled - { - get - { - return ResourceManager.GetString("InvalidOfferIsRUPerMinuteThroughputEnabled", resourceCulture); + internal static string InvalidOfferIsAutoScaleEnabled { + get { + return ResourceManager.GetString("InvalidOfferIsAutoScaleEnabled", resourceCulture); } } - + /// - /// Looks up a localized string similar to The value of offer BackgroundTaskMaxAllowedThroughputPercent specified is invalid. Please specify a double value.. + /// Looks up a localized string similar to The value of offer IsRUPerMinuteThroughputEnabled specified is invalid. Please specify a boolean value.. /// - internal static string InvalidBackgroundTaskMaxAllowedThroughputPercent - { - get - { - return ResourceManager.GetString("InvalidBackgroundTaskMaxAllowedThroughputPercent", resourceCulture); + internal static string InvalidOfferIsRUPerMinuteThroughputEnabled { + get { + return ResourceManager.GetString("InvalidOfferIsRUPerMinuteThroughputEnabled", resourceCulture); } } - + /// /// Looks up a localized string similar to The value of offer throughput specified is invalid. Please enter valid positive integer.. /// - internal static string InvalidOfferThroughput - { - get - { + internal static string InvalidOfferThroughput { + get { return ResourceManager.GetString("InvalidOfferThroughput", resourceCulture); } } - + /// /// Looks up a localized string similar to OfferType {0} specified in the request is invalid. Please refer to offer documentation and specify a valid offer type.. /// - internal static string InvalidOfferType - { - get - { + internal static string InvalidOfferType { + get { return ResourceManager.GetString("InvalidOfferType", resourceCulture); } } - + /// /// Looks up a localized string similar to The required field Content is missing in Offer version v2.. /// - internal static string InvalidOfferV2Input - { - get - { + internal static string InvalidOfferV2Input { + get { return ResourceManager.GetString("InvalidOfferV2Input", resourceCulture); } } - - /// - /// Looks up a localized string similar to Offer read/replace is not supported for serverless accounts. - /// - internal static string InvalidOfferCRUDForServerless - { - get - { - return ResourceManager.GetString("InvalidOfferCRUDForServerless", resourceCulture); - } - } - + /// /// Looks up a localized string similar to Resource {0} is invalid for adding owner resource record. /// - internal static string InvalidOwnerResourceType - { - get - { + internal static string InvalidOwnerResourceType { + get { return ResourceManager.GetString("InvalidOwnerResourceType", resourceCulture); } } - + /// /// Looks up a localized string similar to The input PageSize {0} is invalid. Ensure to pass a valid page size which must be a positive integer or -1 for a dynamic page size.. /// - internal static string InvalidPageSize - { - get - { + internal static string InvalidPageSize { + get { return ResourceManager.GetString("InvalidPageSize", resourceCulture); } } - + /// /// Looks up a localized string similar to Partition key {0} is invalid.. /// - internal static string InvalidPartitionKey - { - get - { + internal static string InvalidPartitionKey { + get { return ResourceManager.GetString("InvalidPartitionKey", resourceCulture); } } - + /// /// Looks up a localized string similar to x-ms-documentdb-partitionkeyrangeid header contains invalid value '{0}'.. /// - internal static string InvalidPartitionKeyRangeIdHeader - { - get - { + internal static string InvalidPartitionKeyRangeIdHeader { + get { return ResourceManager.GetString("InvalidPartitionKeyRangeIdHeader", resourceCulture); } } - + /// /// Looks up a localized string similar to The permission mode provided in the authorization token doesn't provide sufficient permissions.. /// - internal static string InvalidPermissionMode - { - get - { + internal static string InvalidPermissionMode { + get { return ResourceManager.GetString("InvalidPermissionMode", resourceCulture); } } - + /// - /// Looks up a localized string similar to Invalid policy type found.. + /// Looks up a localized string similar to Policy type is invalid.. /// - internal static string InvalidPolicyType - { - get - { + internal static string InvalidPolicyType { + get { return ResourceManager.GetString("InvalidPolicyType", resourceCulture); } } + + /// + /// Looks up a localized string similar to Only one manualPrivateLinkServiceConnection or one privateLinkServiceConnection is supported. + /// + internal static string InvalidPrivateLinkServiceConnections { + get { + return ResourceManager.GetString("InvalidPrivateLinkServiceConnections", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Only one privateLinkServiceProxy is supported. + /// + internal static string InvalidPrivateLinkServiceProxies { + get { + return ResourceManager.GetString("InvalidPrivateLinkServiceProxies", resourceCulture); + } + } + /// /// Looks up a localized string similar to Command is not supported by backend. /// - internal static string InvalidProxyCommand - { - get - { + internal static string InvalidProxyCommand { + get { return ResourceManager.GetString("InvalidProxyCommand", resourceCulture); } } - + /// /// Looks up a localized string similar to Query '{0}' specified is either invalid or unsupported.. /// - internal static string InvalidQuery - { - get - { + internal static string InvalidQuery { + get { return ResourceManager.GetString("InvalidQuery", resourceCulture); } } - + /// /// Looks up a localized string similar to Value '{0}' specified for the query '{1}' is invalid.. /// - internal static string InvalidQueryValue - { - get - { + internal static string InvalidQueryValue { + get { return ResourceManager.GetString("InvalidQueryValue", resourceCulture); } } - + /// /// Looks up a localized string similar to Compared session tokens '{0}' and '{1}' has unexpected regions. . /// - internal static string InvalidRegionsInSessionToken - { - get - { + internal static string InvalidRegionsInSessionToken { + get { return ResourceManager.GetString("InvalidRegionsInSessionToken", resourceCulture); } } - + /// /// Looks up a localized string similar to Strong consistency level cannot be specified with async replication. Either change the replication policy 'AsyncReplication' to false or relax the consistency level.. /// - internal static string InvalidReplicationAndConsistencyCombination - { - get - { + internal static string InvalidReplicationAndConsistencyCombination { + get { return ResourceManager.GetString("InvalidReplicationAndConsistencyCombination", resourceCulture); } } - + + /// + /// Looks up a localized string similar to The requested scope is not a well formed URI string.. + /// + internal static string InvalidRequestedScopeFormat { + get { + return ResourceManager.GetString("InvalidRequestedScopeFormat", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The request path {0} is invalid.. + /// + internal static string InvalidRequestUrl { + get { + return ResourceManager.GetString("InvalidRequestUrl", resourceCulture); + } + } + /// /// Looks up a localized string similar to Failed to parse the value '{0}' as ResourceId.. /// - internal static string InvalidResourceID - { - get - { + internal static string InvalidResourceID { + get { return ResourceManager.GetString("InvalidResourceID", resourceCulture); } } - + /// /// Looks up a localized string similar to Value for {0} should be greater than 0. /// - internal static string InvalidResourceIdBatchSize - { - get - { + internal static string InvalidResourceIdBatchSize { + get { return ResourceManager.GetString("InvalidResourceIdBatchSize", resourceCulture); } } - + /// /// Looks up a localized string similar to Resource kind {0} is invalid. /// - internal static string InvalidResourceKind - { - get - { + internal static string InvalidResourceKind { + get { return ResourceManager.GetString("InvalidResourceKind", resourceCulture); } } - + /// /// Looks up a localized string similar to Requested ResourceType {0} passed as generic argument should be same as the one specified by ResourceType member {1}. /// - internal static string InvalidResourceType - { - get - { + internal static string InvalidResourceType { + get { return ResourceManager.GetString("InvalidResourceType", resourceCulture); } } - + /// /// Looks up a localized string similar to Resource Url path {0} is invalid.. /// - internal static string InvalidResourceUrlPath - { - get - { + internal static string InvalidResourceUrlPath { + get { return ResourceManager.GetString("InvalidResourceUrlPath", resourceCulture); } } - + /// /// Looks up a localized string similar to The value '{0}' specified for query '{1}' is invalid.. /// - internal static string InvalidResourceUrlQuery - { - get - { + internal static string InvalidResourceUrlQuery { + get { return ResourceManager.GetString("InvalidResourceUrlQuery", resourceCulture); } } - + /// /// Looks up a localized string similar to The input continuation token size limit {0} is invalid. Please pass in a valid continuation token size limit which must be a positive integer.. /// - internal static string InvalidResponseContinuationTokenLimit - { - get - { + internal static string InvalidResponseContinuationTokenLimit { + get { return ResourceManager.GetString("InvalidResponseContinuationTokenLimit", resourceCulture); } } - + + /// + /// Looks up a localized string similar to The requested scope is not https.. + /// + internal static string InvalidSchemeInScope { + get { + return ResourceManager.GetString("InvalidSchemeInScope", resourceCulture); + } + } + /// /// Looks up a localized string similar to Script request has invalid body.. /// - internal static string InvalidScriptResource - { - get - { + internal static string InvalidScriptResource { + get { return ResourceManager.GetString("InvalidScriptResource", resourceCulture); } } - + /// /// Looks up a localized string similar to The session token provided '{0}' is invalid.. /// - internal static string InvalidSessionToken - { - get - { + internal static string InvalidSessionToken { + get { return ResourceManager.GetString("InvalidSessionToken", resourceCulture); } } - + /// /// Looks up a localized string similar to The resource name can't end with space.. /// - internal static string InvalidSpaceEndingInResourceName - { - get - { + internal static string InvalidSpaceEndingInResourceName { + get { return ResourceManager.GetString("InvalidSpaceEndingInResourceName", resourceCulture); } } - + /// /// Looks up a localized string similar to Staleness Policy specified is invalid. Ensure both MaxPrefix and MaxStalenessIntervalInSeconds are both 0 or both not zero.. /// - internal static string InvalidStalenessPolicy - { - get - { + internal static string InvalidStalenessPolicy { + get { return ResourceManager.GetString("InvalidStalenessPolicy", resourceCulture); } } - + /// /// Looks up a localized string similar to Storage Service index {0} for media account {1} must be within byte range (inclusive).. /// - internal static string InvalidStorageServiceMediaIndex - { - get - { + internal static string InvalidStorageServiceMediaIndex { + get { return ResourceManager.GetString("InvalidStorageServiceMediaIndex", resourceCulture); } } - + /// - /// Looks up a localized string similar to Cannot disable 'canEnableMultipleWriteLocations' flag once it has been enabled.. + /// Looks up a localized string similar to Invalid store type specified {0}.. /// - internal static string InvalidSwitchOffCanEnableMultipleWriteLocations - { - get - { + internal static string InvalidStoreTypeSpecified { + get { + return ResourceManager.GetString("InvalidStoreTypeSpecified", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Subpartitioning is only supported for atmost 3 partition paths . + /// + internal static string InvalidSubPartitionKeyLength { + get { + return ResourceManager.GetString("InvalidSubPartitionKeyLength", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Subpartitioning is only supported for Hash V2. . + /// + internal static string InvalidSubPartitionKeyVersion { + get { + return ResourceManager.GetString("InvalidSubPartitionKeyVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot disable 'canEnableMultipleWriteLocations' flag once it has been enabled.. + /// + internal static string InvalidSwitchOffCanEnableMultipleWriteLocations { + get { return ResourceManager.GetString("InvalidSwitchOffCanEnableMultipleWriteLocations", resourceCulture); } } - + /// /// Looks up a localized string similar to Cannot enable 'canEnableMultipleWriteLocations' flag once account has been created with it disabled.. /// - internal static string InvalidSwitchOnCanEnableMultipleWriteLocations - { - get - { + internal static string InvalidSwitchOnCanEnableMultipleWriteLocations { + get { return ResourceManager.GetString("InvalidSwitchOnCanEnableMultipleWriteLocations", resourceCulture); } } - + + /// + /// Looks up a localized string similar to Only system database account delete is supported through this endpoint. Supplied account {0} . + /// + internal static string InvalidSystemDatabaseAccountDelete { + get { + return ResourceManager.GetString("InvalidSystemDatabaseAccountDelete", resourceCulture); + } + } + /// /// Looks up a localized string similar to Target for the request is invalid. /// - internal static string InvalidTarget - { - get - { + internal static string InvalidTarget { + get { return ResourceManager.GetString("InvalidTarget", resourceCulture); } } - + + /// + /// Looks up a localized string similar to The value of offer throughput policy specified is invalid.. + /// + internal static string InvalidThroughputPolicy { + get { + return ResourceManager.GetString("InvalidThroughputPolicy", resourceCulture); + } + } + /// /// Looks up a localized string similar to The authorization token is not valid at the current time. Please create another token and retry (token start time: {0}, token expiry time: {1}, current server time: {2}).. /// - internal static string InvalidTokenTimeRange - { - get - { + internal static string InvalidTokenTimeRange { + get { return ResourceManager.GetString("InvalidTokenTimeRange", resourceCulture); } } - + /// - /// Looks up a localized string similar to Request url is invalid.. + /// Looks up a localized string similar to The potential total throughput of this operation exceeds the total throughput limit set for this account. Aborting request.. /// - internal static string InvalidUrl - { - get - { - return ResourceManager.GetString("InvalidUrl", resourceCulture); + internal static string InvalidTotalThroughputLimitUpdate { + get { + return ResourceManager.GetString("InvalidTotalThroughputLimitUpdate", resourceCulture); } } - + /// - /// Looks up a localized string similar to The request path {0} is invalid.. + /// Looks up a localized string similar to Invalid type system '{0}' specified for container {1}.. /// - internal static string InvalidRequestUrl - { - get - { - return ResourceManager.GetString("InvalidRequestUrl", resourceCulture); + internal static string InvalidTypeSystemPolicy { + get { + return ResourceManager.GetString("InvalidTypeSystemPolicy", resourceCulture); } } - + + /// + /// Looks up a localized string similar to Please provide non-negative value for UpdateMaxthroughputEverProvisioned.. + /// + internal static string InvalidUpdateMaxthroughputEverProvisioned { + get { + return ResourceManager.GetString("InvalidUpdateMaxthroughputEverProvisioned", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Request url is invalid.. + /// + internal static string InvalidUrl { + get { + return ResourceManager.GetString("InvalidUrl", resourceCulture); + } + } + /// /// Looks up a localized string similar to System key can only access replica root. /// - internal static string InvalidUseSystemKey - { - get - { + internal static string InvalidUseSystemKey { + get { return ResourceManager.GetString("InvalidUseSystemKey", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid version format for {0}. Input Version {1}. /// - internal static string InvalidVersionFormat - { - get - { + internal static string InvalidVersionFormat { + get { return ResourceManager.GetString("InvalidVersionFormat", resourceCulture); } } - + + /// + /// Looks up a localized string similar to The requested scope contains unexpected segments.. + /// + internal static string InvalildScopeSegments { + get { + return ResourceManager.GetString("InvalildScopeSegments", resourceCulture); + } + } + /// /// Looks up a localized string similar to IpAddress {0} is blocked by Policy. /// - internal static string IpAddressBlockedByPolicy - { - get - { + internal static string IpAddressBlockedByPolicy { + get { return ResourceManager.GetString("IpAddressBlockedByPolicy", resourceCulture); } } - + + /// + /// Looks up a localized string similar to Cannot set IpRangeFilter values on this account type.. + /// + internal static string IpRangeFilterNotSupported { + get { + return ResourceManager.GetString("IpRangeFilterNotSupported", resourceCulture); + } + } + /// /// Looks up a localized string similar to Not allowed to force delete federation in this environment.. /// - internal static string IsForceDeleteFederationAllowed - { - get - { + internal static string IsForceDeleteFederationAllowed { + get { return ResourceManager.GetString("IsForceDeleteFederationAllowed", resourceCulture); } } - + /// /// Looks up a localized string similar to Tried to write a JSON end array (“]“) symbol without a matching array start symbol (“[“).. /// - internal static string JsonArrayNotStarted - { - get - { + internal static string JsonArrayNotStarted { + get { return ResourceManager.GetString("JsonArrayNotStarted", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid escape character in JSON.. /// - internal static string JsonInvalidEscapedCharacter - { - get - { + internal static string JsonInvalidEscapedCharacter { + get { return ResourceManager.GetString("JsonInvalidEscapedCharacter", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid number in JSON.. /// - internal static string JsonInvalidNumber - { - get - { + internal static string JsonInvalidNumber { + get { return ResourceManager.GetString("JsonInvalidNumber", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid parameter in JSON.. /// - internal static string JsonInvalidParameter - { - get - { + internal static string JsonInvalidParameter { + get { return ResourceManager.GetString("JsonInvalidParameter", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid string character in JSON.. /// - internal static string JsonInvalidStringCharacter - { - get - { + internal static string JsonInvalidStringCharacter { + get { return ResourceManager.GetString("JsonInvalidStringCharacter", resourceCulture); } } - + /// /// Looks up a localized string similar to Encountered an element that is not a valid JSON value (false / null / true / object / array / number / string). /// - internal static string JsonInvalidToken - { - get - { + internal static string JsonInvalidToken { + get { return ResourceManager.GetString("JsonInvalidToken", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid Unicode escape sequence in JSON.. /// - internal static string JsonInvalidUnicodeEscape - { - get - { + internal static string JsonInvalidUnicodeEscape { + get { return ResourceManager.GetString("JsonInvalidUnicodeEscape", resourceCulture); } } - + /// /// Looks up a localized string similar to Exceeded the maximum level of nesting for JSON.. /// - internal static string JsonMaxNestingExceeded - { - get - { + internal static string JsonMaxNestingExceeded { + get { return ResourceManager.GetString("JsonMaxNestingExceeded", resourceCulture); } } - + /// /// Looks up a localized string similar to Missing a closing quote (") in JSON.. /// - internal static string JsonMissingClosingQuote - { - get - { + internal static string JsonMissingClosingQuote { + get { return ResourceManager.GetString("JsonMissingClosingQuote", resourceCulture); } } - + /// /// Looks up a localized string similar to Missing an end array ("]") symbol in JSON.. /// - internal static string JsonMissingEndArray - { - get - { + internal static string JsonMissingEndArray { + get { return ResourceManager.GetString("JsonMissingEndArray", resourceCulture); } } - + /// /// Looks up a localized string similar to Missing an end object ("}") symbol in JSON.. /// - internal static string JsonMissingEndObject - { - get - { + internal static string JsonMissingEndObject { + get { return ResourceManager.GetString("JsonMissingEndObject", resourceCulture); } } - + /// /// Looks up a localized string similar to Missing a name separator (":") in JSON.. /// - internal static string JsonMissingNameSeparator - { - get - { + internal static string JsonMissingNameSeparator { + get { return ResourceManager.GetString("JsonMissingNameSeparator", resourceCulture); } } - + /// /// Looks up a localized string similar to Missing a JSON property.. /// - internal static string JsonMissingProperty - { - get - { + internal static string JsonMissingProperty { + get { return ResourceManager.GetString("JsonMissingProperty", resourceCulture); } } - + /// /// Looks up a localized string similar to Encountered a JSON property name without a corresponding property value. /// - internal static string JsonNotComplete - { - get - { + internal static string JsonNotComplete { + get { return ResourceManager.GetString("JsonNotComplete", resourceCulture); } } - + /// /// Looks up a localized string similar to Encountered a value that was not a JSON field name.. /// - internal static string JsonNotFieldnameToken - { - get - { + internal static string JsonNotFieldnameToken { + get { return ResourceManager.GetString("JsonNotFieldnameToken", resourceCulture); } } - + /// /// Looks up a localized string similar to Encountered a value that was not a JSON number.. /// - internal static string JsonNotNumberToken - { - get - { + internal static string JsonNotNumberToken { + get { return ResourceManager.GetString("JsonNotNumberToken", resourceCulture); } } - + /// /// Looks up a localized string similar to Encountered a value that was not a JSON string.. /// - internal static string JsonNotStringToken - { - get - { + internal static string JsonNotStringToken { + get { return ResourceManager.GetString("JsonNotStringToken", resourceCulture); } } - + /// /// Looks up a localized string similar to Encountered a number that exceeded the range for JSON numbers.. /// - internal static string JsonNumberOutOfRange - { - get - { + internal static string JsonNumberOutOfRange { + get { return ResourceManager.GetString("JsonNumberOutOfRange", resourceCulture); } } - + /// /// Looks up a localized string similar to Encountered a number that was too long for a JSON number.. /// - internal static string JsonNumberTooLong - { - get - { + internal static string JsonNumberTooLong { + get { return ResourceManager.GetString("JsonNumberTooLong", resourceCulture); } } - + /// /// Looks up a localized string similar to Tried to write a JSON object end symbol ("}") without first opening with a JSON object start symbol ("{").. /// - internal static string JsonObjectNotStarted - { - get - { + internal static string JsonObjectNotStarted { + get { return ResourceManager.GetString("JsonObjectNotStarted", resourceCulture); } } - + /// /// Looks up a localized string similar to Encountered a JSON property name after another JSON property name.. /// - internal static string JsonPropertyAlreadyAdded - { - get - { + internal static string JsonPropertyAlreadyAdded { + get { return ResourceManager.GetString("JsonPropertyAlreadyAdded", resourceCulture); } } - + /// /// Looks up a localized string similar to Either a JSON property array or object was not started.. /// - internal static string JsonPropertyArrayOrObjectNotStarted - { - get - { + internal static string JsonPropertyArrayOrObjectNotStarted { + get { return ResourceManager.GetString("JsonPropertyArrayOrObjectNotStarted", resourceCulture); } } - + /// /// Looks up a localized string similar to Read a JSON end array ("]") symbol without a matching JSON start array symbol ("[").. /// - internal static string JsonUnexpectedEndArray - { - get - { + internal static string JsonUnexpectedEndArray { + get { return ResourceManager.GetString("JsonUnexpectedEndArray", resourceCulture); } } - + /// /// Looks up a localized string similar to Read a JSON end object ("}") symbol without a matching JSON start object symbol ("{").. /// - internal static string JsonUnexpectedEndObject - { - get - { + internal static string JsonUnexpectedEndObject { + get { return ResourceManager.GetString("JsonUnexpectedEndObject", resourceCulture); } } - + /// /// Looks up a localized string similar to Read a JSON name separator (":") symbol without a corresponding field name.. /// - internal static string JsonUnexpectedNameSeparator - { - get - { + internal static string JsonUnexpectedNameSeparator { + get { return ResourceManager.GetString("JsonUnexpectedNameSeparator", resourceCulture); } } - + /// /// Looks up a localized string similar to Encountered an unexpected JSON token.. /// - internal static string JsonUnexpectedToken - { - get - { + internal static string JsonUnexpectedToken { + get { return ResourceManager.GetString("JsonUnexpectedToken", resourceCulture); } } - + /// /// Looks up a localized string similar to Read a JSON name separator (",") symbol without a preceding JSON value.. /// - internal static string JsonUnexpectedValueSeparator - { - get - { + internal static string JsonUnexpectedValueSeparator { + get { return ResourceManager.GetString("JsonUnexpectedValueSeparator", resourceCulture); } } - + + /// + /// Looks up a localized string similar to Failed to acquire the access token needed to access the Azure Key Vault resource. Please verify that the tenant has all corresponding permissions assigned.. + /// + internal static string KeyVaultAadClientCredentialsGrantFailure { + get { + return ResourceManager.GetString("KeyVaultAadClientCredentialsGrantFailure", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not find any secret with the .pem extension related to the provided certificate.. + /// + internal static string KeyVaultCertificateException { + get { + return ResourceManager.GetString("KeyVaultCertificateException", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The remote name could not be resolved for the Azure Key Vault resource. Please provide a valid URI for an existing Key vault.. + /// + internal static string KeyVaultDNSNotResolved { + get { + return ResourceManager.GetString("KeyVaultDNSNotResolved", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The Input provided is not a valid base 64 string.. + /// + internal static string KeyVaultInvalidInputBytes { + get { + return ResourceManager.GetString("KeyVaultInvalidInputBytes", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Error contacting the Azure Key Vault resource. Please try again.. + /// + internal static string KeyVaultServiceUnavailable { + get { + return ResourceManager.GetString("KeyVaultServiceUnavailable", resourceCulture); + } + } + /// /// Looks up a localized string similar to The resource that is being accessed is locked.. /// - internal static string Locked - { - get - { + internal static string Locked { + get { return ResourceManager.GetString("Locked", resourceCulture); } } - + + /// + /// Looks up a localized string similar to MaterializedViews is not supported on this account type.. + /// + internal static string MaterializedViewsNotSupported { + get { + return ResourceManager.GetString("MaterializedViewsNotSupported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Materialized Views are not supported on account with zone redundant region. + /// + internal static string MaterializedViewsNotSupportedOnZoneRedundantAccount { + get { + return ResourceManager.GetString("MaterializedViewsNotSupportedOnZoneRedundantAccount", resourceCulture); + } + } + /// /// Looks up a localized string similar to Current maximum throughput per collection is {0}. Please contact Azure support to increase it.. /// - internal static string MaximumRULimitExceeded - { - get - { + internal static string MaximumRULimitExceeded { + get { return ResourceManager.GetString("MaximumRULimitExceeded", resourceCulture); } } - + /// /// Looks up a localized string similar to Cannot find messageId header. /// - internal static string MessageIdHeaderMissing - { - get - { + internal static string MessageIdHeaderMissing { + get { return ResourceManager.GetString("MessageIdHeaderMissing", resourceCulture); } } - + /// /// Looks up a localized string similar to The requested verb is not supported.. /// - internal static string MethodNotAllowed - { - get - { + internal static string MethodNotAllowed { + get { return ResourceManager.GetString("MethodNotAllowed", resourceCulture); } } - + /// - /// Looks up a localized string similar to The input authorization token can't serve the request. Please check that the expected payload is built as per the protocol, and check the key being used. Server used the following payload to sign: '{0}'. + /// Looks up a localized string similar to The input authorization token can't serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: '{0}'. /// - internal static string MismatchToken - { - get - { + internal static string MismatchToken { + get { return ResourceManager.GetString("MismatchToken", resourceCulture); } } - + /// /// Looks up a localized string similar to Required Header authorization is missing. Ensure a valid Authorization token is passed.. /// - internal static string MissingAuthHeader - { - get - { + internal static string MissingAuthHeader { + get { return ResourceManager.GetString("MissingAuthHeader", resourceCulture); } } - + /// /// Looks up a localized string similar to Authorization token mandates Date headers. Please pass in RFC 1123 style date format.. /// - internal static string MissingDateForAuthorization - { - get - { + internal static string MissingDateForAuthorization { + get { return ResourceManager.GetString("MissingDateForAuthorization", resourceCulture); } } - + /// /// Looks up a localized string similar to PartitionKey value must be supplied for this operation.. /// - internal static string MissingPartitionKeyValue - { - get - { + internal static string MissingPartitionKeyValue { + get { return ResourceManager.GetString("MissingPartitionKeyValue", resourceCulture); } } - + /// /// Looks up a localized string similar to Required property {0} is not specified in the request.. /// - internal static string MissingProperty - { - get - { + internal static string MissingProperty { + get { return ResourceManager.GetString("MissingProperty", resourceCulture); } } - + /// /// Looks up a localized string similar to Required header '{0}' is not specified in the request.. /// - internal static string MissingRequiredHeader - { - get - { + internal static string MissingRequiredHeader { + get { return ResourceManager.GetString("MissingRequiredHeader", resourceCulture); } } - + /// /// Looks up a localized string similar to Required query variable '{0}' is not specified in the request.. /// - internal static string MissingRequiredQuery - { - get - { + internal static string MissingRequiredQuery { + get { return ResourceManager.GetString("MissingRequiredQuery", resourceCulture); } } - + + /// + /// Looks up a localized string similar to "The create request is not allowed since it does not specify the schema for container '{0}'.. + /// + internal static string MissingSchemaPolicyOnContainer { + get { + return ResourceManager.GetString("MissingSchemaPolicyOnContainer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Type system must be specified for the container {0}.. + /// + internal static string MissingTypeSystemPolicy { + get { + return ResourceManager.GetString("MissingTypeSystemPolicy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Auto upgrade policy is not supported for MongDB resources.. + /// + internal static string MongoClientAutoUpgradeNotSupported { + get { + return ResourceManager.GetString("MongoClientAutoUpgradeNotSupported", resourceCulture); + } + } + /// /// Looks up a localized string similar to This account already has one backup interval capability.. /// - internal static string MoreThanOneBackupIntervalCapability - { - get - { + internal static string MoreThanOneBackupIntervalCapability { + get { return ResourceManager.GetString("MoreThanOneBackupIntervalCapability", resourceCulture); } } - + /// /// Looks up a localized string similar to This account already has one backup retention capability.. /// - internal static string MoreThanOneBackupRetentionCapability - { - get - { + internal static string MoreThanOneBackupRetentionCapability { + get { return ResourceManager.GetString("MoreThanOneBackupRetentionCapability", resourceCulture); } } - + /// /// Looks up a localized string similar to Atleast single region must be specified in PreferredLocation list when automatic failover is disabled.. /// - internal static string MustHaveNonZeroPreferredRegionWhenAutomaticFailoverDisabled - { - get - { + internal static string MustHaveNonZeroPreferredRegionWhenAutomaticFailoverDisabled { + get { return ResourceManager.GetString("MustHaveNonZeroPreferredRegionWhenAutomaticFailoverDisabled", resourceCulture); } } - + /// /// Looks up a localized string similar to NamingProperty {0} not found. /// - internal static string NamingPropertyNotFound - { - get - { + internal static string NamingPropertyNotFound { + get { return ResourceManager.GetString("NamingPropertyNotFound", resourceCulture); } } - + /// /// Looks up a localized string similar to Property '{0}' integer value must be greater than or equal to zero.. /// - internal static string NegativeInteger - { - get - { + internal static string NegativeInteger { + get { return ResourceManager.GetString("NegativeInteger", resourceCulture); } } - + /// /// Looks up a localized string similar to No graft point. /// - internal static string NoGraftPoint - { - get - { + internal static string NoGraftPoint { + get { return ResourceManager.GetString("NoGraftPoint", resourceCulture); } } - + /// - /// Looks up a localized string similar to Entity with the specified id does not exist in the system.. + /// Looks up a localized string similar to Entity with the specified id does not exist in the system. More info: https://aka.ms/cosmosdb-tsg-not-found. /// - internal static string NotFound - { - get - { + internal static string NotFound { + get { return ResourceManager.GetString("NotFound", resourceCulture); } } - + /// - /// Looks up a localized string similar to GraphAPICompute Service cannot be deleted. + /// Looks up a localized string similar to Autopilot of non-partitioned collections is not supported. Please specify a partition key.. /// - internal static string GremlinV2ServiceDeleteNotSupported - { - get - { - return ResourceManager.GetString("GremlinV2ServiceDeleteNotSupported", resourceCulture); + internal static string OfferAutopilotNotSupportedForNonPartitionedCollections { + get { + return ResourceManager.GetString("OfferAutopilotNotSupportedForNonPartitionedCollections", resourceCulture); } } - + /// - /// Looks up a localized string similar to Offer replace request conflicted.. + /// Looks up a localized string similar to Autopilot is currently not supported on shared throughput database.. /// - internal static string OfferReplaceTopologyConflict - { - get - { - return ResourceManager.GetString("OfferReplaceTopologyConflict", resourceCulture); + internal static string OfferAutopilotNotSupportedOnSharedThroughputDatabase { + get { + return ResourceManager.GetString("OfferAutopilotNotSupportedOnSharedThroughputDatabase", resourceCulture); } } - + /// - /// Looks up a localized string similar to Cannot replace an offer with version {0} with version {1}. + /// Looks up a localized string similar to Offer replace request conflicted.. /// - internal static string OfferReplaceWithSpecifiedVersionsNotSupported - { - get - { - return ResourceManager.GetString("OfferReplaceWithSpecifiedVersionsNotSupported", resourceCulture); + internal static string OfferReplaceTopologyConflict { + get { + return ResourceManager.GetString("OfferReplaceTopologyConflict", resourceCulture); } } - + /// - /// Looks up a localized string similar to Offer type and throughput cannot both be specified.. + /// Looks up a localized string similar to Cannot replace an offer with version {0} with version {1}. /// - internal static string OfferTypeAndThroughputCannotBeSpecifiedBoth - { - get - { - return ResourceManager.GetString("OfferTypeAndThroughputCannotBeSpecifiedBoth", resourceCulture); + internal static string OfferReplaceWithSpecifiedVersionsNotSupported { + get { + return ResourceManager.GetString("OfferReplaceWithSpecifiedVersionsNotSupported", resourceCulture); } } - + /// /// Looks up a localized string similar to Offer throughput and autopilot settings cannot both be specified.. /// - internal static string OfferThroughputAndAutoPilotSettingsCannotBeSpecifiedBoth - { - get - { + internal static string OfferThroughputAndAutoPilotSettingsCannotBeSpecifiedBoth { + get { return ResourceManager.GetString("OfferThroughputAndAutoPilotSettingsCannotBeSpecifiedBoth", resourceCulture); } } - - /// - /// Looks up a localized string similar to Autopilot tier and AutoPilotSettings cannot both be specified.. - /// - internal static string AutoPilotTierAndAutoPilotSettingsCannotBeSpecifiedBoth - { - get - { - return ResourceManager.GetString("AutoPilotTierAndAutoPilotSettingsCannotBeSpecifiedBoth", resourceCulture); - } - } - + /// - /// Looks up a localized string similar to Autopilot autoupgrade is not supported for non-partitioned collections.. + /// Looks up a localized string similar to Offer type and throughput cannot both be specified.. /// - internal static string AutopilotAutoUpgradeUnsupportedNonPartitionedCollection - { - get - { - return ResourceManager.GetString("AutopilotAutoUpgradeUnsupportedNonPartitionedCollection", resourceCulture); + internal static string OfferTypeAndThroughputCannotBeSpecifiedBoth { + get { + return ResourceManager.GetString("OfferTypeAndThroughputCannotBeSpecifiedBoth", resourceCulture); } } - + /// /// Looks up a localized string similar to Requested Operation Status = {0} is invalid.. /// - internal static string OperationRequestedStatusIsInvalid - { - get - { + internal static string OperationRequestedStatusIsInvalid { + get { return ResourceManager.GetString("OperationRequestedStatusIsInvalid", resourceCulture); } } - + /// /// Looks up a localized string similar to Selected partition is full, please try insert in different partition.. /// - internal static string PartitionIsFull - { - get - { + internal static string PartitionIsFull { + get { return ResourceManager.GetString("PartitionIsFull", resourceCulture); } } - + /// /// Looks up a localized string similar to Either PartitionKey or EffectivePartitionKey are expected.. /// - internal static string PartitionKeyAndEffectivePartitionKeyBothSpecified - { - get - { + internal static string PartitionKeyAndEffectivePartitionKeyBothSpecified { + get { return ResourceManager.GetString("PartitionKeyAndEffectivePartitionKeyBothSpecified", resourceCulture); } } - + /// /// Looks up a localized string similar to PartitionKey and PartitionKeyRangeId cannot be specified at the same time in ChangeFeedOptions.. /// - internal static string PartitionKeyAndPartitionKeyRangeRangeIdBothSpecified - { - get - { + internal static string PartitionKeyAndPartitionKeyRangeRangeIdBothSpecified { + get { return ResourceManager.GetString("PartitionKeyAndPartitionKeyRangeRangeIdBothSpecified", resourceCulture); } } - + /// /// Looks up a localized string similar to Partition key provided either doesn't correspond to definition in the collection or doesn't match partition key field values specified in the document.. /// - internal static string PartitionKeyMismatch - { - get - { + internal static string PartitionKeyMismatch { + get { return ResourceManager.GetString("PartitionKeyMismatch", resourceCulture); } } - + /// /// Looks up a localized string similar to PartitionKeyRangeId is absent in the context.. /// - internal static string PartitionKeyRangeIdAbsentInContext - { - get - { + internal static string PartitionKeyRangeIdAbsentInContext { + get { return ResourceManager.GetString("PartitionKeyRangeIdAbsentInContext", resourceCulture); } } - + /// /// Looks up a localized string similar to For partitioned collection, either ChangeFeedOptions.PartitionKeyRangeId or ChangeFeedOptions.PartitionKey must be specified.. /// - internal static string PartitionKeyRangeIdOrPartitionKeyMustBeSpecified - { - get - { + internal static string PartitionKeyRangeIdOrPartitionKeyMustBeSpecified { + get { return ResourceManager.GetString("PartitionKeyRangeIdOrPartitionKeyMustBeSpecified", resourceCulture); } } - + /// /// Looks up a localized string similar to PartitionKeyRange with id '{0}' in collection '{1}' doesn't exist.. /// - internal static string PartitionKeyRangeNotFound - { - get - { + internal static string PartitionKeyRangeNotFound { + get { return ResourceManager.GetString("PartitionKeyRangeNotFound", resourceCulture); } } - + /// - /// Looks up a localized string similar to Property '{0}' integer value must be greater than zero.. + /// Looks up a localized string similar to There cannot be a common physical partition id both in x-ms-cosmos-target-partition-throughput-info and x-ms-cosmos-source-partition-throughput-info header. Encountered {0}. /// - internal static string PositiveInteger - { - get - { - return ResourceManager.GetString("PositiveInteger", resourceCulture); + internal static string PhysicalPartitionIdinTargetAndSourcePartitionThroughputInfo { + get { + return ResourceManager.GetString("PhysicalPartitionIdinTargetAndSourcePartitionThroughputInfo", resourceCulture); } } - + /// - /// Looks up a localized string similar to Operation cannot be performed because one of the specified precondition is not met.. + /// Looks up a localized string similar to One of the source or target physical partition id doesn't exist.. /// - internal static string PreconditionFailed - { - get - { - return ResourceManager.GetString("PreconditionFailed", resourceCulture); + internal static string PhysicalPartitionIdinTargetOrSourceDoesNotExist { + get { + return ResourceManager.GetString("PhysicalPartitionIdinTargetOrSourceDoesNotExist", resourceCulture); } } - + /// - /// Looks up a localized string similar to Database account was created successfully, but the following regions failed to be added to account: \n. + /// Looks up a localized string similar to Pitr is not supported on this account type.. /// - internal static string PrimarySuceededButAdditionalRegionsFailed - { - get - { - return ResourceManager.GetString("PrimarySuceededButAdditionalRegionsFailed", resourceCulture); + internal static string PitrNotSupported { + get { + return ResourceManager.GetString("PitrNotSupported", resourceCulture); } } - + /// - /// Looks up a localized string similar to Database account creation failed. Operation Id : {0}, Error : {1}. + /// Looks up a localized string similar to Property '{0}' integer value must be greater than zero.. /// - internal static string PrimaryWriteRegionFailedFormat - { - get - { - return ResourceManager.GetString("PrimaryWriteRegionFailedFormat", resourceCulture); + internal static string PositiveInteger { + get { + return ResourceManager.GetString("PositiveInteger", resourceCulture); } } - + /// - /// Looks up a localized string similar to {0} : Operation Id : {1}, Error : {2}\n. + /// Looks up a localized string similar to Operation cannot be performed because one of the specified precondition is not met.. /// - internal static string SecondaryRegionsFailedFormat - { - get - { - return ResourceManager.GetString("SecondaryRegionsFailedFormat", resourceCulture); + internal static string PreconditionFailed { + get { + return ResourceManager.GetString("PreconditionFailed", resourceCulture); } } - + /// - /// Looks up a localized string similar to Add or Remove region operation failed. + /// Looks up a localized string similar to Unable to resolve primary endpoint for partition {0} for service {1}.. /// - internal static string AddRemoveRegionOperationFailed - { - get - { - return ResourceManager.GetString("AddRemoveRegionOperationFailed", resourceCulture); + internal static string PrimaryNotFound { + get { + return ResourceManager.GetString("PrimaryNotFound", resourceCulture); } } - + /// - /// Looks up a localized string similar to Unable to resolve primary endpoint for partition {0} for service {1}.. + /// Looks up a localized string similar to Database account was created successfully, but the following regions failed to be added to account: < br/ >. /// - internal static string PrimaryNotFound - { - get - { - return ResourceManager.GetString("PrimaryNotFound", resourceCulture); + internal static string PrimarySuceededButAdditionalRegionsFailed { + get { + return ResourceManager.GetString("PrimarySuceededButAdditionalRegionsFailed", resourceCulture); } } - + + /// + /// Looks up a localized string similar to Database account creation failed. Operation Id: {0}, Error : {1}. + /// + internal static string PrimaryWriteRegionFailedFormat { + get { + return ResourceManager.GetString("PrimaryWriteRegionFailedFormat", resourceCulture); + } + } + /// /// Looks up a localized string similar to Property {0} can not be assigned to null.. /// - internal static string PropertyCannotBeNull - { - get - { + internal static string PropertyCannotBeNull { + get { return ResourceManager.GetString("PropertyCannotBeNull", resourceCulture); } } - + /// /// Looks up a localized string similar to Property '{0}' is not found in the document.. /// - internal static string PropertyNotFound - { - get - { + internal static string PropertyNotFound { + get { return ResourceManager.GetString("PropertyNotFound", resourceCulture); } } - + /// /// Looks up a localized string similar to Reached the pre-approved storage limit for the database account. Please contact Azure support to increase this limit.. /// - internal static string ProvisionLimit - { - get - { + internal static string ProvisionLimit { + get { return ResourceManager.GetString("ProvisionLimit", resourceCulture); } } - + /// - /// Looks up a localized string similar to Cannot authorize request since the [Action] to authorize was not found.. + /// Looks up a localized string similar to Request is blocked because ResourceId [{0}] cannot be resolved. Principal = [{1}], Action = [{2}], ResourceType = [{3}].. /// - internal static string RbacMissingAction - { - get - { - return ResourceManager.GetString("RbacMissingAction", resourceCulture); + internal static string RbacCannotResolveResourceRid { + get { + return ResourceManager.GetString("RbacCannotResolveResourceRid", resourceCulture); } } - + /// - /// Looks up a localized string similar to Cannot authorize request since the [User ID] to authorize was not found.. + /// Looks up a localized string similar to Cannot authorize request since the [Action] to authorize was not found.. /// - internal static string RbacMissingUserId - { - get - { - return ResourceManager.GetString("RbacMissingUserId", resourceCulture); + internal static string RbacMissingAction { + get { + return ResourceManager.GetString("RbacMissingAction", resourceCulture); } } - + /// - /// Looks up a localized string similar to Request is blocked because ResourceId [{0}] cannot be resolved. Principal = [{1}], Action = [{2}], ResourceType = [{3}].. + /// Looks up a localized string similar to Cannot authorize request since the [User ID] to authorize was not found.. /// - internal static string RbacCannotResolveResourceRid - { - get - { - return ResourceManager.GetString("RbacCannotResolveResourceRid", resourceCulture); + internal static string RbacMissingUserId { + get { + return ResourceManager.GetString("RbacMissingUserId", resourceCulture); } } - + /// /// Looks up a localized string similar to Read Quorum size of {0} is not met for the request.. /// - internal static string ReadQuorumNotMet - { - get - { + internal static string ReadQuorumNotMet { + get { return ResourceManager.GetString("ReadQuorumNotMet", resourceCulture); } } - + /// /// Looks up a localized string similar to The read session is not available for the input session token.. /// - internal static string ReadSessionNotAvailable - { - get - { + internal static string ReadSessionNotAvailable { + get { return ResourceManager.GetString("ReadSessionNotAvailable", resourceCulture); } } - + /// /// Looks up a localized string similar to Failed to read the server response.. /// - internal static string ReceiveFailedTransportError - { - get - { + internal static string ReceiveFailedTransportError { + get { return ResourceManager.GetString("ReceiveFailedTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to The remote system closed the connection.. /// - internal static string ReceiveStreamClosedTransportError - { - get - { + internal static string ReceiveStreamClosedTransportError { + get { return ResourceManager.GetString("ReceiveStreamClosedTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to The request timed out while waiting for a server response.. /// - internal static string ReceiveTimeoutTransportError - { - get - { + internal static string ReceiveTimeoutTransportError { + get { return ResourceManager.GetString("ReceiveTimeoutTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to Cannot remove write region for account {0}. Please issue delete on the account to remove write region. /// - internal static string RemoveWriteRegionNotSupported - { - get - { + internal static string RemoveWriteRegionNotSupported { + get { return ResourceManager.GetString("RemoveWriteRegionNotSupported", resourceCulture); } } - + /// /// Looks up a localized string similar to Replica at index '{0}' is currently unavailable.. /// - internal static string ReplicaAtIndexNotAvailable - { - get - { + internal static string ReplicaAtIndexNotAvailable { + get { return ResourceManager.GetString("ReplicaAtIndexNotAvailable", resourceCulture); } } - + /// /// Looks up a localized string similar to Consistency Level '{0}' requested via header '{1}' is not supported by this service endpoint. Please contact the service administrator.. /// - internal static string RequestConsistencyLevelNotSupported - { - get - { + internal static string RequestConsistencyLevelNotSupported { + get { return ResourceManager.GetString("RequestConsistencyLevelNotSupported", resourceCulture); } } - + /// /// Looks up a localized string similar to The size of the response exceeded the maximum allowed size, limit the response size by specifying smaller value for '{0}' header.. /// - internal static string RequestEntityTooLarge - { - get - { + internal static string RequestEntityTooLarge { + get { return ResourceManager.GetString("RequestEntityTooLarge", resourceCulture); } } - + /// - /// Looks up a localized string similar to Request timed out.. + /// Looks up a localized string similar to Request timed out. More info: https://aka.ms/cosmosdb-tsg-request-timeout. /// - internal static string RequestTimeout - { - get - { + internal static string RequestTimeout { + get { return ResourceManager.GetString("RequestTimeout", resourceCulture); } } - + /// /// Looks up a localized string similar to The request timed out. See the inner exception for details.. /// - internal static string RequestTimeoutTransportError - { - get - { + internal static string RequestTimeoutTransportError { + get { return ResourceManager.GetString("RequestTimeoutTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to The size of the request exceeded the maximum allowed size.. /// - internal static string RequestTooLarge - { - get - { + internal static string RequestTooLarge { + get { return ResourceManager.GetString("RequestTooLarge", resourceCulture); } } - + /// /// Looks up a localized string similar to Resource id cannot be empty.. /// - internal static string ResourceIdCannotBeEmpty - { - get - { + internal static string ResourceIdCannotBeEmpty { + get { return ResourceManager.GetString("ResourceIdCannotBeEmpty", resourceCulture); } } - + /// /// Looks up a localized string similar to ResourceId {0} of type {1} is not a valid resource Id.. /// - internal static string ResourceIdNotValid - { - get - { + internal static string ResourceIdNotValid { + get { return ResourceManager.GetString("ResourceIdNotValid", resourceCulture); } } - + /// /// Looks up a localized string similar to ResourceIdPolicy {0} is not supported. /// - internal static string ResourceIdPolicyNotSupported - { - get - { + internal static string ResourceIdPolicyNotSupported { + get { return ResourceManager.GetString("ResourceIdPolicyNotSupported", resourceCulture); } } - + /// /// Looks up a localized string similar to Resource type {0} is not supported by ResourceIdPartitioner. /// - internal static string ResourceTypeNotSupported - { - get - { + internal static string ResourceTypeNotSupported { + get { return ResourceManager.GetString("ResourceTypeNotSupported", resourceCulture); } } - + /// /// Looks up a localized string similar to Retry the request.. /// - internal static string RetryWith - { - get - { + internal static string RetryWith { + get { return ResourceManager.GetString("RetryWith", resourceCulture); } } - + + /// + /// Looks up a localized string similar to Revoke/Grant is not allowed as the Account status is: {0}.. + /// + internal static string RevokeRegrantNotAllowed { + get { + return ResourceManager.GetString("RevokeRegrantNotAllowed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SAS Token Authentication is disabled for this account. Please contact Azure Support [https://azure.microsoft.com/support] to enable it.. + /// + internal static string SasTokenAuthDisabled { + get { + return ResourceManager.GetString("SasTokenAuthDisabled", resourceCulture); + } + } + /// /// Looks up a localized string similar to Changing id of a script in collections with multiple partitions is not supported.. /// - internal static string ScriptRenameInMultiplePartitionsIsNotSupported - { - get - { + internal static string ScriptRenameInMultiplePartitionsIsNotSupported { + get { return ResourceManager.GetString("ScriptRenameInMultiplePartitionsIsNotSupported", resourceCulture); } } - + /// /// Looks up a localized string similar to Unable to resolve secondary endpoint for partition {0} for service {1}.. /// - internal static string SecondariesNotFound - { - get - { + internal static string SecondariesNotFound { + get { return ResourceManager.GetString("SecondariesNotFound", resourceCulture); } } - + + /// + /// Looks up a localized string similar to {0} : Operation Id : {1}, Error : {2} < br/ >. + /// + internal static string SecondaryRegionsFailedFormat { + get { + return ResourceManager.GetString("SecondaryRegionsFailedFormat", resourceCulture); + } + } + /// /// Looks up a localized string similar to Sending the request failed.. /// - internal static string SendFailedTransportError - { - get - { + internal static string SendFailedTransportError { + get { return ResourceManager.GetString("SendFailedTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to Acquiring the send stream lock timed out.. /// - internal static string SendLockTimeoutTransportError - { - get - { + internal static string SendLockTimeoutTransportError { + get { return ResourceManager.GetString("SendLockTimeoutTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to Sending the request timed out.. /// - internal static string SendTimeoutTransportError - { - get - { + internal static string SendTimeoutTransportError { + get { return ResourceManager.GetString("SendTimeoutTransportError", resourceCulture); } } - + /// - /// Looks up a localized string similar to Partition reconfiguration exceeded retry limit. Please contact support with the full exception. + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. Partition reconfiguration exceeded retry limit. Please contact support with the full exception.. /// - internal static string Server_CompletingPartitionMigrationExceededRetryLimit - { - get - { + internal static string Server_CompletingPartitionMigrationExceededRetryLimit { + get { return ResourceManager.GetString("Server_CompletingPartitionMigrationExceededRetryLimit", resourceCulture); } } - + /// - /// Looks up a localized string similar to Unhandled partition split. Please contact support with the full exception. + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. Unhandled partition split. Please contact support with the full exception.. /// - internal static string Server_CompletingSplitExceededRetryLimit - { - get - { + internal static string Server_CompletingSplitExceededRetryLimit { + get { return ResourceManager.GetString("Server_CompletingSplitExceededRetryLimit", resourceCulture); } } - + /// - /// Looks up a localized string similar to Could not achieve backend quorum for Strong or Bounded Staleness after barrier requests. + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. Could not achieve backend quorum for Strong or Bounded Staleness after barrier requests.. /// - internal static string Server_GlobalStrongWriteBarrierNotMet - { - get - { + internal static string Server_GlobalStrongWriteBarrierNotMet { + get { return ResourceManager.GetString("Server_GlobalStrongWriteBarrierNotMet", resourceCulture); } } - + /// - /// Looks up a localized string similar to Container was re-created, exceeded retries to resolve new identifier. Please contact support with the full exception. + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. Container was re-created, exceeded retries to resolve new identifier. Please contact support with the full exception.. /// - internal static string Server_NameCacheIsStaleExceededRetryLimit - { - get - { + internal static string Server_NameCacheIsStaleExceededRetryLimit { + get { return ResourceManager.GetString("Server_NameCacheIsStaleExceededRetryLimit", resourceCulture); } } - + /// - /// Looks up a localized string similar to Store (backend) returned an invalid response. Please contact support with the full exception. + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. Store (backend) returned an invalid response. Please contact support with the full exception. . /// - internal static string Server_NoValidStoreResponse - { - get - { + internal static string Server_NoValidStoreResponse { + get { return ResourceManager.GetString("Server_NoValidStoreResponse", resourceCulture); } } - + /// - /// Looks up a localized string similar to Unhandled partition split. Please contact support with the full exception. + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. Unhandled partition split. Please contact support with the full exception.. /// - internal static string Server_PartitionKeyRangeGoneExceededRetryLimit - { - get - { + internal static string Server_PartitionKeyRangeGoneExceededRetryLimit { + get { return ResourceManager.GetString("Server_PartitionKeyRangeGoneExceededRetryLimit", resourceCulture); } } - + /// - /// Looks up a localized string similar to Could not achieve backend quorum. + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. Could not achieve backend quorum. . /// - internal static string Server_ReadQuorumNotMet - { - get - { + internal static string Server_ReadQuorumNotMet { + get { return ResourceManager.GetString("Server_ReadQuorumNotMet", resourceCulture); } } - + /// - /// Looks up a localized string similar to Server returned a 410 response. + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. Server returned a 410 response.. /// - internal static string ServerGenerated410 - { - get - { + internal static string ServerGenerated410 { + get { return ResourceManager.GetString("ServerGenerated410", resourceCulture); } } - + /// - /// Looks up a localized string similar to Server returned a 503 response. + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. Server returned a 503 response.. /// - internal static string ServerGenerated503 - { - get - { + internal static string ServerGenerated503 { + get { return ResourceManager.GetString("ServerGenerated503", resourceCulture); } } - + + /// + /// Looks up a localized string similar to Serverless offer is not supported on this account type.. + /// + internal static string ServerlessNotSupported { + get { + return ResourceManager.GetString("ServerlessNotSupported", resourceCulture); + } + } + /// /// Looks up a localized string similar to The response body length is too large. Body length: {0} bytes. Connection: {1}. /// - internal static string ServerResponseBodyTooLargeError - { - get - { + internal static string ServerResponseBodyTooLargeError { + get { return ResourceManager.GetString("ServerResponseBodyTooLargeError", resourceCulture); } } - + /// /// Looks up a localized string similar to The response total header length is too large. Header length: {0} bytes. Connection: {1}. /// - internal static string ServerResponseHeaderTooLargeError - { - get - { + internal static string ServerResponseHeaderTooLargeError { + get { return ResourceManager.GetString("ServerResponseHeaderTooLargeError", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid response total header length. Expected {0} bytes. Received {1} bytes. Connection: {2}. /// - internal static string ServerResponseInvalidHeaderLengthError - { - get - { + internal static string ServerResponseInvalidHeaderLengthError { + get { return ResourceManager.GetString("ServerResponseInvalidHeaderLengthError", resourceCulture); } } - + /// /// Looks up a localized string similar to The transport request ID is missing from the server response.. /// - internal static string ServerResponseTransportRequestIdMissingError - { - get - { + internal static string ServerResponseTransportRequestIdMissingError { + get { return ResourceManager.GetString("ServerResponseTransportRequestIdMissingError", resourceCulture); } } - + /// /// Looks up a localized string similar to Service at index {0} not found.. /// - internal static string ServiceNotFound - { - get - { + internal static string ServiceNotFound { + get { return ResourceManager.GetString("ServiceNotFound", resourceCulture); } } - + /// /// Looks up a localized string similar to Service reserved bits can not be more than 24. Otherwise it overlaps with the collection/user multiplexing bit. /// - internal static string ServiceReservedBitsOutOfRange - { - get - { + internal static string ServiceReservedBitsOutOfRange { + get { return ResourceManager.GetString("ServiceReservedBitsOutOfRange", resourceCulture); } } - + /// - /// Looks up a localized string similar to Service is currently unavailable.. + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. /// - internal static string ServiceUnavailable - { - get - { + internal static string ServiceUnavailable { + get { return ResourceManager.GetString("ServiceUnavailable", resourceCulture); } } - + /// /// Looks up a localized string similar to Could not find service hosting DocumentCollection with ResourceId {0}. /// - internal static string ServiceWithResourceIdNotFound - { - get - { + internal static string ServiceWithResourceIdNotFound { + get { return ResourceManager.GetString("ServiceWithResourceIdNotFound", resourceCulture); } } - + /// /// Looks up a localized string similar to Bounding box must have an even number of coordinates and more than 3.. /// - internal static string SpatialBoundingBoxInvalidCoordinates - { - get - { + internal static string SpatialBoundingBoxInvalidCoordinates { + get { return ResourceManager.GetString("SpatialBoundingBoxInvalidCoordinates", resourceCulture); } } - + /// /// Looks up a localized string similar to Spatial operations can be used in Linq expressions only and are evaluated in Azure CosmosDB server.. /// - internal static string SpatialExtensionMethodsNotImplemented - { - get - { + internal static string SpatialExtensionMethodsNotImplemented { + get { return ResourceManager.GetString("SpatialExtensionMethodsNotImplemented", resourceCulture); } } - + /// /// Looks up a localized string similar to Coordinate Reference System specified in GeoJSON is invalid.. /// - internal static string SpatialFailedToDeserializeCrs - { - get - { + internal static string SpatialFailedToDeserializeCrs { + get { return ResourceManager.GetString("SpatialFailedToDeserializeCrs", resourceCulture); } } - + /// /// Looks up a localized string similar to Failed to deserialize Geometry object because 'type' property is either absent or has invalid value.. /// - internal static string SpatialInvalidGeometryType - { - get - { + internal static string SpatialInvalidGeometryType { + get { return ResourceManager.GetString("SpatialInvalidGeometryType", resourceCulture); } } - + /// /// Looks up a localized string similar to Spatial position must have at least two coordinates.. /// - internal static string SpatialInvalidPosition - { - get - { + internal static string SpatialInvalidPosition { + get { return ResourceManager.GetString("SpatialInvalidPosition", resourceCulture); } } - + /// /// Looks up a localized string similar to SSL negotiation failed.. /// - internal static string SslNegotiationFailedTransportError - { - get - { + internal static string SslNegotiationFailedTransportError { + get { return ResourceManager.GetString("SslNegotiationFailedTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to SSL negotiation timed out.. /// - internal static string SslNegotiationTimeoutTransportError - { - get - { + internal static string SslNegotiationTimeoutTransportError { + get { return ResourceManager.GetString("SslNegotiationTimeoutTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to Star and slash should have no arguments.. /// - internal static string StarSlashArgumentError - { - get - { + internal static string StarSlashArgumentError { + get { return ResourceManager.GetString("StarSlashArgumentError", resourceCulture); } } - + /// /// Looks up a localized string similar to Storage analytics is not enabled for this account. Ensure storage analytics is enabled before retrying.. /// - internal static string StorageAnalyticsNotEnabled - { - get - { + internal static string StorageAnalyticsNotEnabled { + get { return ResourceManager.GetString("StorageAnalyticsNotEnabled", resourceCulture); } } - + /// /// Looks up a localized string similar to String agument {0} is null or empty. /// - internal static string StringArgumentNullOrEmpty - { - get - { + internal static string StringArgumentNullOrEmpty { + get { return ResourceManager.GetString("StringArgumentNullOrEmpty", resourceCulture); } } - - /// - /// Looks up a localized string similar to System database account with name {0} and type {1} not found. - /// - internal static string SystemDatabaseAccountNotFound - { - get - { - return ResourceManager.GetString("SystemDatabaseAccountNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to System database account {0} cannot be created with Continuous backup mode. - /// - internal static string SystemDatabaseAccountPitrEnabledNotSupported - { - get - { - return ResourceManager.GetString("SystemDatabaseAccountPitrEnabledNotSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Continuous backup, synapse link, full fidelity change feed and materialized views are currently not supported with cross tenant customer-managed keys features. - /// - internal static string CrossTenantCMKDatabaseAccountLogstoreFeaturesNotSupported - { - get - { - return ResourceManager.GetString("CrossTenantCMKDatabaseAccountLogstoreFeaturesNotSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The server encountered an unexpected condition that prevented it from fulfilling the Azure Key Vault resource request. - /// - internal static string UnexpectedExceptionCaughtonKeyVaultAccessClient - { - get - { - return ResourceManager.GetString("UnexpectedExceptionCaughtonKeyVaultAccessClient", resourceCulture); - } - } - - /// - /// The expected scope array should be of length 1. Instead received scope with length {0}. - /// - internal static string InvalidMSALScopeLength - { - get - { - return ResourceManager.GetString("InvalidMSALScopeLength", resourceCulture); - } - } - - /// - /// The requested scope is not a well formed URI string. - /// - internal static string InvalidRequestedScopeFormat - { - get - { - return ResourceManager.GetString("InvalidRequestedScopeFormat", resourceCulture); - } - } - - /// - /// The requested scope is not https. - /// - internal static string InvalidSchemeInScope - { - get - { - return ResourceManager.GetString("InvalidSchemeInScope", resourceCulture); - } - } - + /// - /// The requested scope contains unexpected segments. + /// Looks up a localized string similar to System database account {0} delete is not supported through this endpoint.. /// - internal static string InvalildScopeSegments - { - get - { - return ResourceManager.GetString("InvalildScopeSegments", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Error contacting the Azure Key Vault resource. Please try again. - /// - internal static string KeyVaultServiceUnavailable - { - get - { - return ResourceManager.GetString("KeyVaultServiceUnavailable", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided Azure Key Vault resource key URI is invalid. Please follow the format: https://{vault-name}.vault.azure.net/keys/{key-name} or https://{vault-name}.vault.azure.net/certificates/{certificate-name} or https://{vault-name}.vault.azure.net/secrets/{secret-name} . - /// - internal static string InvalidKeyVaultKeyAndCertURI - { - get - { - return ResourceManager.GetString("InvalidKeyVaultKeyAndCertURI", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided Azure Key Vault resource key URI is invalid. Please follow the format: https://{vault-name}.vault.azure.net/secrets/{secret-name} . - /// - internal static string InvalidKeyVaulSecretURI - { - get - { - return ResourceManager.GetString("InvalidKeyVaulSecretURI", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The remote name could not be resolved for the Azure Key Vault resource. Please provide a valid URI for an existing Key vault. - /// - internal static string KeyVaultDNSNotResolved - { - get - { - return ResourceManager.GetString("KeyVaultDNSNotResolved", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Could not find any secret with the.pem extension related to the provided certificate. - /// - internal static string KeyVaultCertificateException - { - get - { - return ResourceManager.GetString("KeyVaultCertificateException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The Input provided is not a valid base 64 string. - /// - internal static string KeyVaultInvalidInputBytes - { - get - { - return ResourceManager.GetString("KeyVaultInvalidInputBytes", resourceCulture); + internal static string SystemDatabaseAccountDeleteNotSupported { + get { + return ResourceManager.GetString("SystemDatabaseAccountDeleteNotSupported", resourceCulture); } } - + /// - /// Looks up a localized string similar to Failed to acquire the access token needed to access the Azure Key Vault resource. Please verify that the tenant has all corresponding permissions assigned. + /// Looks up a localized string similar to System database account with name {0} and type {1} not found.. /// - internal static string KeyVaultAadClientCredentialsGrantFailure - { - get - { - return ResourceManager.GetString("KeyVaultAadClientCredentialsGrantFailure", resourceCulture); + internal static string SystemDatabaseAccountNotFound { + get { + return ResourceManager.GetString("SystemDatabaseAccountNotFound", resourceCulture); } } - + /// - /// Looks up a localized string similar to The Status Code for the first Azure Key Vault resource access try should be Unauthorized. + /// Looks up a localized string similar to System database account {0} cannot be created with Continuous backup mode. /// - internal static string FirstKeyVaultAccessAttemptShouldBeUnauthorized - { - get - { - return ResourceManager.GetString("FirstKeyVaultAccessAttemptShouldBeUnauthorized", resourceCulture); + internal static string SystemDatabaseAccountPitrEnabledNotSupported { + get { + return ResourceManager.GetString("SystemDatabaseAccountPitrEnabledNotSupported", resourceCulture); } } - + /// - /// Looks up a localized string similar to Network timeout or connectivity failure. + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. Network timeout or connectivity failure. . /// - internal static string TimeoutGenerated410 - { - get - { + internal static string TimeoutGenerated410 { + get { return ResourceManager.GetString("TimeoutGenerated410", resourceCulture); } } - + /// /// Looks up a localized string similar to PartitionKey has fewer components than defined the collection resource.. /// - internal static string TooFewPartitionKeyComponents - { - get - { + internal static string TooFewPartitionKeyComponents { + get { return ResourceManager.GetString("TooFewPartitionKeyComponents", resourceCulture); } } - + /// /// Looks up a localized string similar to PartitionKey has more components than defined the collection resource.. /// - internal static string TooManyPartitionKeyComponents - { - get - { + internal static string TooManyPartitionKeyComponents { + get { return ResourceManager.GetString("TooManyPartitionKeyComponents", resourceCulture); } } - + /// /// Looks up a localized string similar to The request rate is too large. Please retry after sometime. Learn more: http://aka.ms/cosmosdb-error-429. /// - internal static string TooManyRequests - { - get - { + internal static string TooManyRequests { + get { return ResourceManager.GetString("TooManyRequests", resourceCulture); } } - + /// /// Looks up a localized string similar to A client transport error occurred: {0}. /// - internal static string TransportExceptionMessage - { - get - { + internal static string TransportExceptionMessage { + get { return ResourceManager.GetString("TransportExceptionMessage", resourceCulture); } } - + /// - /// Looks up a localized string similar to The SDK failed to connect to the service. Please check your networking configuration. + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. The SDK failed to connect to the service. Please check your networking configuration.. /// - internal static string TransportGenerated410 - { - get - { + internal static string TransportGenerated410 { + get { return ResourceManager.GetString("TransportGenerated410", resourceCulture); } } - + /// - /// Looks up a localized string similar to Continuous connectivity failures. Client cannot connect after multiple retries. Please check your networking configuration + /// Looks up a localized string similar to Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable. Continuous connectivity failures. Client cannot connect after multiple retries. Please check your networking configuration. /// - internal static string TransportGenerated503 - { - get - { + internal static string TransportGenerated503 { + get { return ResourceManager.GetString("TransportGenerated503", resourceCulture); } } - + /// /// Looks up a localized string similar to The transport protocol negotiation timed out. See the inner exception for details.. /// - internal static string TransportNegotiationTimeoutTransportError - { - get - { + internal static string TransportNegotiationTimeoutTransportError { + get { return ResourceManager.GetString("TransportNegotiationTimeoutTransportError", resourceCulture); } } - - /// - /// Looks up a localized string similar to The TCP channel timed out on waiting to open. - /// - internal static string ChannelWaitingToOpenTimeoutException - { - get - { - return ResourceManager.GetString("ChannelWaitingToOpenTimeoutException", resourceCulture); - } - } - + /// /// Looks up a localized string similar to Cannot deserialize PartitionKey value '{0}'. /// - internal static string UnableToDeserializePartitionKeyValue - { - get - { + internal static string UnableToDeserializePartitionKeyValue { + get { return ResourceManager.GetString("UnableToDeserializePartitionKeyValue", resourceCulture); } } - + /// /// Looks up a localized string similar to Unable to find free connection. /// - internal static string UnableToFindFreeConnection - { - get - { + internal static string UnableToFindFreeConnection { + get { return ResourceManager.GetString("UnableToFindFreeConnection", resourceCulture); } } - + /// /// Looks up a localized string similar to Unable to authenticate the request. The request requires valid user authentication.. /// - internal static string Unauthorized - { - get - { + internal static string Unauthorized { + get { return ResourceManager.GetString("Unauthorized", resourceCulture); } } - + /// /// Looks up a localized string similar to Unauthorized Offer Replace Request.. /// - internal static string UnauthorizedOfferReplaceRequest - { - get - { + internal static string UnauthorizedOfferReplaceRequest { + get { return ResourceManager.GetString("UnauthorizedOfferReplaceRequest", resourceCulture); } } - + /// /// Looks up a localized string similar to Unauthorized Auto-Scale Request.. /// - internal static string UnauthorizedRequestForAutoScale - { - get - { + internal static string UnauthorizedRequestForAutoScale { + get { return ResourceManager.GetString("UnauthorizedRequestForAutoScale", resourceCulture); } } - + + /// + /// Looks up a localized string similar to Missing '_id' index while creating a MongoDB api collection.. + /// + internal static string UnderscoreIdIndexRequiredForMongo { + get { + return ResourceManager.GetString("UnderscoreIdIndexRequiredForMongo", resourceCulture); + } + } + /// /// Looks up a localized string similar to Operation not permitted as consistency level is set to {0}. Expected {1}.. /// - internal static string UnexpectedConsistencyLevel - { - get - { + internal static string UnexpectedConsistencyLevel { + get { return ResourceManager.GetString("UnexpectedConsistencyLevel", resourceCulture); } } - + + /// + /// Looks up a localized string similar to The server encountered an unexpected condition that prevented it from fulfilling the Azure Key Vault resource request.. + /// + internal static string UnexpectedExceptionCaughtonKeyVaultAccessClient { + get { + return ResourceManager.GetString("UnexpectedExceptionCaughtonKeyVaultAccessClient", resourceCulture); + } + } + /// /// Looks up a localized string similar to Unexpected JsonSerializationFormat: {0}. /// - internal static string UnexpectedJsonSerializationFormat - { - get - { + internal static string UnexpectedJsonSerializationFormat { + get { return ResourceManager.GetString("UnexpectedJsonSerializationFormat", resourceCulture); } } - + /// /// Looks up a localized string similar to Failed to register JsonTokenType: {0}. /// - internal static string UnexpectedJsonTokenType - { - get - { + internal static string UnexpectedJsonTokenType { + get { return ResourceManager.GetString("UnexpectedJsonTokenType", resourceCulture); } } - + /// /// Looks up a localized string similar to Unexpected offer version {0} from store.. /// - internal static string UnexpectedOfferVersion - { - get - { + internal static string UnexpectedOfferVersion { + get { return ResourceManager.GetString("UnexpectedOfferVersion", resourceCulture); } } - + /// /// Looks up a localized string similar to Unexpected operation type {0} for routing requests for multiple partitions.. /// - internal static string UnexpectedOperationTypeForRoutingRequest - { - get - { + internal static string UnexpectedOperationTypeForRoutingRequest { + get { return ResourceManager.GetString("UnexpectedOperationTypeForRoutingRequest", resourceCulture); } } - + /// /// Looks up a localized string similar to Unexpected operator {0} .. /// - internal static string UnexpectedOperator - { - get - { + internal static string UnexpectedOperator { + get { return ResourceManager.GetString("UnexpectedOperator", resourceCulture); } } - + /// /// Looks up a localized string similar to PartitionKeyRangeId is not expected.. /// - internal static string UnexpectedPartitionKeyRangeId - { - get - { + internal static string UnexpectedPartitionKeyRangeId { + get { return ResourceManager.GetString("UnexpectedPartitionKeyRangeId", resourceCulture); } } - + /// - /// Looks up a localized string similar to Provided Resource Kind {0} to ReEncrypt is not expected.. + /// Looks up a localized string similar to Provided Resource Kind {0} to ReEncrypt is not expected. /// - internal static string UnExpectedResourceKindToReEncrypt - { - get - { + internal static string UnExpectedResourceKindToReEncrypt { + get { return ResourceManager.GetString("UnExpectedResourceKindToReEncrypt", resourceCulture); } } - + /// /// Looks up a localized string similar to ResourceType {0} is unexpected.. /// - internal static string UnexpectedResourceType - { - get - { + internal static string UnexpectedResourceType { + get { return ResourceManager.GetString("UnexpectedResourceType", resourceCulture); } } - + /// /// Looks up a localized string similar to Resource kind {0} is unknown. /// - internal static string UnknownResourceKind - { - get - { + internal static string UnknownResourceKind { + get { return ResourceManager.GetString("UnknownResourceKind", resourceCulture); } } - + /// /// Looks up a localized string similar to Resource type {0} is unknown. /// - internal static string UnknownResourceType - { - get - { + internal static string UnknownResourceType { + get { return ResourceManager.GetString("UnknownResourceType", resourceCulture); } } - + /// /// Looks up a localized string similar to An unknown client transport error has occurred.. /// - internal static string UnknownTransportError - { - get - { + internal static string UnknownTransportError { + get { return ResourceManager.GetString("UnknownTransportError", resourceCulture); } } - + /// /// Looks up a localized string similar to Distict query requires a matching order by in order to return a continuation token. ///If you would like to serve this query through continuation tokens, then please rewrite the query in the form 'SELECT DISTINCT VALUE c.blah FROM c ORDER BY c.blah' and please make sure that there is a range index on 'c.blah'.. /// - internal static string UnorderedDistinctQueryContinuationToken - { - get - { + internal static string UnorderedDistinctQueryContinuationToken { + get { return ResourceManager.GetString("UnorderedDistinctQueryContinuationToken", resourceCulture); } } - + + /// + /// Looks up a localized string similar to AAD tokens are not supported by the Dedicated Gateway endpoint. . + /// + internal static string UnsupportedAadAccessControlType { + get { + return ResourceManager.GetString("UnsupportedAadAccessControlType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Resource tokens are not supported by the Dedicated Gateway endpoint. . + /// + internal static string UnsupportedAccessControlType { + get { + return ResourceManager.GetString("UnsupportedAccessControlType", resourceCulture); + } + } + /// /// Looks up a localized string similar to The requested region '{0}' does not support AZ provisioning yet. Please try other regions or disable zone redundancy for this region.. /// - internal static string UnsupportedAzRegion - { - get - { + internal static string UnsupportedAzRegion { + get { return ResourceManager.GetString("UnsupportedAzRegion", resourceCulture); } } - + /// /// Looks up a localized string similar to "{0} capability is not allowed with kind={1}". /// - internal static string UnsupportedCapabilityForKind - { - get - { + internal static string UnsupportedCapabilityForKind { + get { return ResourceManager.GetString("UnsupportedCapabilityForKind", resourceCulture); } } - + /// - /// Looks up a localized string similar to Update of "{0} capability is not allowed. + /// Looks up a localized string similar to "{0} capability is not compatible with mongo ServerVersion={1} accounts.". /// - internal static string UnsupportedCapabilityUpdate - { - get - { + internal static string UnsupportedCapabilityForServerVersion { + get { + return ResourceManager.GetString("UnsupportedCapabilityForServerVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to "Update of {0} capability is not allowed.". + /// + internal static string UnsupportedCapabilityUpdate { + get { return ResourceManager.GetString("UnsupportedCapabilityUpdate", resourceCulture); } } - + /// - /// Looks up a localized string similar to "{0} capability is not compatible with mongo ServerVersion={1} accounts.". + /// Looks up a localized string similar to The requested region '{0}' is not supported for '{1}' cluster creation.. /// - internal static string UnsupportedCapabilityForServerVersion - { - get - { - return ResourceManager.GetString("UnsupportedCapabilityForServerVersion", resourceCulture); + internal static string UnsupportedClusterRegion { + get { + return ResourceManager.GetString("UnsupportedClusterRegion", resourceCulture); } } - + /// /// Looks up a localized string similar to Cannot execute cross partition order-by queries on mix types. Consider using IS_STRING/IS_NUMBER to get around this exception. Expect type: {0}. Actual type: {1}. Item value: {2}.. /// - internal static string UnsupportedCrossPartitionOrderByQueryOnMixedTypes - { - get - { + internal static string UnsupportedCrossPartitionOrderByQueryOnMixedTypes { + get { return ResourceManager.GetString("UnsupportedCrossPartitionOrderByQueryOnMixedTypes", resourceCulture); } } - + /// /// Looks up a localized string similar to The provided cross partition query can not be directly served by the gateway. This is a first chance (internal) exception that all newer clients will know how to handle gracefully. This exception is traced, but unless you see it bubble up as an exception (which only happens on older SDK clients), then you can safely ignore this message.. /// - internal static string UnsupportedCrossPartitionQuery - { - get - { + internal static string UnsupportedCrossPartitionQuery { + get { return ResourceManager.GetString("UnsupportedCrossPartitionQuery", resourceCulture); } } - + /// /// Looks up a localized string similar to Cross partition query with aggregate functions is not supported.. /// - internal static string UnsupportedCrossPartitionQueryWithAggregate - { - get - { + internal static string UnsupportedCrossPartitionQueryWithAggregate { + get { return ResourceManager.GetString("UnsupportedCrossPartitionQueryWithAggregate", resourceCulture); } } - + /// /// Looks up a localized string similar to Unsupported entity type {0}. /// - internal static string UnsupportedEntityType - { - get - { + internal static string UnsupportedEntityType { + get { return ResourceManager.GetString("UnsupportedEntityType", resourceCulture); } } - + /// /// Looks up a localized string similar to Indexing Hints are not supported in this deployment. . /// - internal static string UnsupportedHints - { - get - { + internal static string UnsupportedHints { + get { return ResourceManager.GetString("UnsupportedHints", resourceCulture); } } - + /// /// Looks up a localized string similar to Key type {0} is unsupported. /// - internal static string UnsupportedKeyType - { - get - { + internal static string UnsupportedKeyType { + get { return ResourceManager.GetString("UnsupportedKeyType", resourceCulture); } } - + /// - /// Looks up a localized string similar to The operation is only supported for Serverless accounts, per-partition throughput cannot be updated directly for provisioned accounts. + /// Looks up a localized string similar to The operation is only supported for Serverless accounts, per-partition throughput cannot be updated directly for provisioned accounts.. /// - internal static string UnsupportedOfferOperationForProvisionedThroughput - { - get - { + internal static string UnsupportedOfferOperationForProvisionedThroughput { + get { return ResourceManager.GetString("UnsupportedOfferOperationForProvisionedThroughput", resourceCulture); } } - + /// /// Looks up a localized string similar to The value of offer throughput specified is invalid. Please specify a value between {0} and {1} inclusive in increments of {2}. Please contact https://azure.microsoft.com/support to request limit increases beyond {1} RU/s.. /// - internal static string UnSupportedOfferThroughput - { - get - { + internal static string UnSupportedOfferThroughput { + get { return ResourceManager.GetString("UnSupportedOfferThroughput", resourceCulture); } } - + /// /// Looks up a localized string similar to The value of offer throughput specified is invalid. Please specify a value between {0} and {1}, or between {2} and {3} inclusive in increments of {4}. Please contact https://azure.microsoft.com/support to request limit increases beyond {3} RU/s.. /// - internal static string UnSupportedOfferThroughputWithTwoRanges - { - get - { + internal static string UnSupportedOfferThroughputWithTwoRanges { + get { return ResourceManager.GetString("UnSupportedOfferThroughputWithTwoRanges", resourceCulture); } } - + /// /// Looks up a localized string similar to Offer type is not supported with Offer version 'V2' and above.. /// - internal static string UnsupportedOfferTypeWithV2Offer - { - get - { + internal static string UnsupportedOfferTypeWithV2Offer { + get { return ResourceManager.GetString("UnsupportedOfferTypeWithV2Offer", resourceCulture); } } - + /// /// Looks up a localized string similar to The supplied offer version {0} is not supported. Please specify either a blank version, 'V1' or 'V2'.. /// - internal static string UnsupportedOfferVersion - { - get - { + internal static string UnsupportedOfferVersion { + get { return ResourceManager.GetString("UnsupportedOfferVersion", resourceCulture); } } - + + /// + /// Looks up a localized string similar to This partition key definition kind is not supported for partial partition key operations. + /// + internal static string UnsupportedPartitionDefinitionKindForPartialKeyOperations { + get { + return ResourceManager.GetString("UnsupportedPartitionDefinitionKindForPartialKeyOperations", resourceCulture); + } + } + /// /// Looks up a localized string similar to Unsupported PartitionKey value component '{0}'. Numeric, string, bool, null, Undefined are the only supported types.. /// - internal static string UnsupportedPartitionKeyComponentValue - { - get - { + internal static string UnsupportedPartitionKeyComponentValue { + get { return ResourceManager.GetString("UnsupportedPartitionKeyComponentValue", resourceCulture); } } - + /// /// Looks up a localized string similar to Program requires to run in 64 bit for elastic query feature to work. Please switch your program to 64 bit or use Gateway connectivity mode.. /// - internal static string UnsupportedProgram - { - get - { + internal static string UnsupportedProgram { + get { return ResourceManager.GetString("UnsupportedProgram", resourceCulture); } } - + /// /// Looks up a localized string similar to Value '{0}' specified for protocol is unsupported.. /// - internal static string UnsupportedProtocol - { - get - { + internal static string UnsupportedProtocol { + get { return ResourceManager.GetString("UnsupportedProtocol", resourceCulture); } } - + /// /// Looks up a localized string similar to Query that expects full results from aggregate functions is not supported.. /// - internal static string UnsupportedQueryWithFullResultAggregate - { - get - { + internal static string UnsupportedQueryWithFullResultAggregate { + get { return ResourceManager.GetString("UnsupportedQueryWithFullResultAggregate", resourceCulture); } } - + /// /// Looks up a localized string similar to The requested region '{0}' is not supported.. /// - internal static string UnsupportedRegion - { - get - { + internal static string UnsupportedRegion { + get { return ResourceManager.GetString("UnsupportedRegion", resourceCulture); } } - - /// - /// Looks up a localized string similar to The requested region '{0}' is not supported for '{1}' cluster creation.. - /// - internal static string UnsupportedClusterRegion - { - get - { - return ResourceManager.GetString("UnsupportedClusterRegion", resourceCulture); - } - } - + /// /// Looks up a localized string similar to The requested rollback kind '{0}' is not supported.. /// - internal static string UnsupportedRollbackKind - { - get - { + internal static string UnsupportedRollbackKind { + get { return ResourceManager.GetString("UnsupportedRollbackKind", resourceCulture); } } - + /// /// Looks up a localized string similar to Changing Root Indexing Policy is not supported in this deployment.. /// - internal static string UnsupportedRootPolicyChange - { - get - { + internal static string UnsupportedRootPolicyChange { + get { return ResourceManager.GetString("UnsupportedRootPolicyChange", resourceCulture); } } - + /// /// Looks up a localized string similar to Federation system key kind {0} is invalid. /// - internal static string UnsupportedSystemKeyKind - { - get - { + internal static string UnsupportedSystemKeyKind { + get { return ResourceManager.GetString("UnsupportedSystemKeyKind", resourceCulture); } } - + /// /// Looks up a localized string similar to Unsupported token type {0}. /// - internal static string UnsupportedTokenType - { - get - { + internal static string UnsupportedTokenType { + get { return ResourceManager.GetString("UnsupportedTokenType", resourceCulture); } } - + /// /// Looks up a localized string similar to The Offer Version 'V1' is not supported since the associated collection is already a partitioned collection. Please use offer version 'V2'.. /// - internal static string UnsupportedV1OfferVersion - { - get - { + internal static string UnsupportedV1OfferVersion { + get { return ResourceManager.GetString("UnsupportedV1OfferVersion", resourceCulture); } } - + /// - /// Looks up a localized string similar to AAD tokens are not supported by the Dedicated Gateway endpoint. + /// Looks up a localized string similar to Updating offer to autoscale throughput is not allowed. Please invoke migration API to migrate this offer.. /// - internal static string UnsupportedAadAccessControlType - { - get - { - return ResourceManager.GetString("UnsupportedAadAccessControlType", resourceCulture); + internal static string UpdateToAutoscaleThroughputNotAllowed { + get { + return ResourceManager.GetString("UpdateToAutoscaleThroughputNotAllowed", resourceCulture); } } - + /// - /// Looks up a localized string similar to Resource tokens are not supported by the Dedicated Gateway endpoint. + /// Looks up a localized string similar to Updating offer to manually provisioned throughput is not allowed. Please invoke migration API to migrate this offer.. /// - internal static string UnsupportedAccessControlType - { - get - { - return ResourceManager.GetString("UnsupportedAccessControlType", resourceCulture); + internal static string UpdateToManualThroughputNotAllowed { + get { + return ResourceManager.GetString("UpdateToManualThroughputNotAllowed", resourceCulture); } } - + /// /// Looks up a localized string similar to Upserts for scripts in collections with multiple partitions are not supported.. /// - internal static string UpsertsForScriptsWithMultiplePartitionsAreNotSupported - { - get - { + internal static string UpsertsForScriptsWithMultiplePartitionsAreNotSupported { + get { return ResourceManager.GetString("UpsertsForScriptsWithMultiplePartitionsAreNotSupported", resourceCulture); } } - + /// - /// Looks up a localized string similar to Cannot offline write region when automatic failover is not enabled. + /// Looks up a localized string similar to Cannot set VirtualNetworkFilter on this account type.. /// - internal static string WriteRegionAutomaticFailoverNotEnabled - { - get - { - return ResourceManager.GetString("WriteRegionAutomaticFailoverNotEnabled", resourceCulture); + internal static string VirtualNetworkFilterNotSupported { + get { + return ResourceManager.GetString("VirtualNetworkFilterNotSupported", resourceCulture); } } - + /// - /// Looks up a localized string similar to Cannot perform failover as it is disabled for the account. + /// Looks up a localized string similar to Cannot offline write region when automatic failover is not enabled. /// - internal static string FailoverDisabled - { - get - { - return ResourceManager.GetString("FailoverDisabled", resourceCulture); + internal static string WriteRegionAutomaticFailoverNotEnabled { + get { + return ResourceManager.GetString("WriteRegionAutomaticFailoverNotEnabled", resourceCulture); } } - - + /// /// Looks up a localized string similar to Cannot add additional regions, since database account provision failed.. /// - internal static string WriteRegionDoesNotExist - { - get - { + internal static string WriteRegionDoesNotExist { + get { return ResourceManager.GetString("WriteRegionDoesNotExist", resourceCulture); } } - - + /// /// Looks up a localized string similar to Zone Redundant Accounts are not supported in {0} Location yet. Please try other locations.. /// - internal static string ZoneRedundantAccountsNotSupportedInLocation - { - get - { + internal static string ZoneRedundantAccountsNotSupportedInLocation { + get { return ResourceManager.GetString("ZoneRedundantAccountsNotSupportedInLocation", resourceCulture); } } - - /// - /// Looks up a localized string similar to Connection is too busy. Please retry after sometime or open more connections. - /// - internal static string ConnectionIsBusy - { - get - { - return ResourceManager.GetString("ConnectionIsBusy", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Partition key path {0} is invalid for Gremlin API. The path cannot be '/id', '/label' or a nested path such as '/key/path'.. - /// - internal static string InvalidGremlinPartitionKey - { - get - { - return ResourceManager.GetString("InvalidGremlinPartitionKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please provide non-negative value for UpdateMaxthroughputEverProvisioned.. - /// - internal static string InvalidUpdateMaxthroughputEverProvisioned - { - get - { - return ResourceManager.GetString("InvalidUpdateMaxthroughputEverProvisioned", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to "Operation '{0}' on resource '{1}' is not allowed through Azure Cosmos DB endpoint. Please switch on such operations for your account, or perform this operation through Azure Resource Manager, Azure Portal, Azure CLI or Azure Powershell". - /// - internal static string DataPlaneOperationNotAllowed - { - get - { - return ResourceManager.GetString("DataPlaneOperationNotAllowed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Collection is not yet available for read. Please retry in some time.. - /// - internal static string CollectionCreateInProgress - { - get - { - return ResourceManager.GetString("CollectionCreateInProgress", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Free tier has already been applied to another Azure Cosmos DB account in this subscription. To apply free tier to this account, you can select another subscription for this account or delete the existing free tier account. You can have up to one free tier account per subscription.. - /// - internal static string FreeTierAppliedBefore - { - get - { - return ResourceManager.GetString("FreeTierAppliedBefore", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Free tier is not supported for Internal subscriptions.. - /// - internal static string FreeTierNotSupportedForInternalSubscription - { - get - { - return ResourceManager.GetString("FreeTierNotSupportedForInternalSubscription", resourceCulture); - } - } - - /// Looks up a localized string similar to Could not resolve DataTransfer state store account for region [{0}].. - /// - internal static string DataTransferStateStoreNotResolved - { - get - { - return ResourceManager.GetString("DataTransferStateStoreNotResolved", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot update FreeTier property for existing account.. - /// - internal static string FreeTierUpdateNotSupported - { - get - { - return ResourceManager.GetString("FreeTierUpdateNotSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Subpartitioning is only supported for atmost 3 partition paths . - /// - internal static string InvalidSubPartitionKeyLength - { - get - { - return ResourceManager.GetString("InvalidSubPartitionKeyLength", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Subpartitioning is only supported for Hash V2. . - /// - internal static string InvalidSubPartitionKeyVersion - { - get - { - return ResourceManager.GetString("InvalidSubPartitionKeyVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Missing '_id' index while creating a MongoDB api collection. - /// - internal static string UnderscoreIdIndexRequiredForMongo - { - get - { - return ResourceManager.GetString("UnderscoreIdIndexRequiredForMongo", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Partition key path {0} is invalid for MongoDB API. - /// - internal static string InvalidMongoPartitionKey - { - get - { - return ResourceManager.GetString("InvalidMongoPartitionKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The create request is not allowed since it does not specify the schema for container '{0}'. - /// - internal static string MissingSchemaPolicyOnContainer - { - get - { - return ResourceManager.GetString("MissingSchemaPolicyOnContainer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The container replace request is not allowed since it removes the schema policy from the container {0}. - /// - internal static string CannotRemoveSchemaPolicyFromContainer - { - get - { - return ResourceManager.GetString("CannotRemoveSchemaPolicyFromContainer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The container replace request is not allowed since it removes the Cassandra conflict resolution policy from the container {0}. - /// - internal static string CannotReplaceCassandraConflictPolicyFromContainer - { - get - { - return ResourceManager.GetString("CannotReplaceCassandraConflictPolicyFromContainer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The container create request is not allowed since it does not contain the Cassandra conflict resolution policy specified for the container {0}. - /// - internal static string CannotCreateContainerWithoutCassandraConflictPolicy - { - get - { - return ResourceManager.GetString("CannotCreateContainerWithoutCassandraConflictPolicy", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid type system '{0}' specified for container {1}. - /// - internal static string InvalidTypeSystemPolicy - { - get - { - return ResourceManager.GetString("InvalidTypeSystemPolicy", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Type system must be specified for the container {0}. - /// - internal static string MissingTypeSystemPolicy - { - get - { - return ResourceManager.GetString("MissingTypeSystemPolicy", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Auto upgrade policy is not supported for MongDB resources.. - /// - internal static string MongoClientAutoUpgradeNotSupported - { - get - { - return ResourceManager.GetString("MongoClientAutoUpgradeNotSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Updating offer to autoscale throughput is not allowed. Please invoke migration API to migrate this offer.. - /// - internal static string UpdateToAutoscaleThroughputNotAllowed - { - get - { - return ResourceManager.GetString("UpdateToAutoscaleThroughputNotAllowed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Updating offer to manually provisioned throughput is not allowed. Please invoke migration API to migrate this offer.. - /// - internal static string UpdateToManualThroughputNotAllowed - { - get - { - return ResourceManager.GetString("UpdateToManualThroughputNotAllowed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to System database account {0} delete is not supported through this endpoint. - /// - internal static string SystemDatabaseAccountDeleteNotSupported - { - get - { - return ResourceManager.GetString("SystemDatabaseAccountDeleteNotSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Only system database account delete is supported through this endpoint. Supplied account {0}. - /// - internal static string InvalidSystemDatabaseAccountDelete - { - get - { - return ResourceManager.GetString("InvalidSystemDatabaseAccountDelete", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid store type specified {0}. - /// - internal static string InvalidStoreTypeSpecified - { - get - { - return ResourceManager.GetString("InvalidStoreTypeSpecified", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Revoke/Grant is not allowed as the Account status is: {0}. - /// - internal static string RevokeRegrantNotAllowed - { - get - { - return ResourceManager.GetString("RevokeRegrantNotAllowed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The potential total throughput of this operation exceeds the total throughput limit set for this account. Aborting request. - /// - internal static string InvalidTotalThroughputLimitUpdate - { - get - { - return ResourceManager.GetString("InvalidTotalThroughputLimitUpdate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to PartitionKey has fewer components than defined the collection resource.. - /// - internal static string UnsupportedPartitionDefinitionKindForPartialKeyOperations - { - get - { - return ResourceManager.GetString("UnsupportedPartitionDefinitionKindForPartialKeyOperations", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to There cannot be duplicate physical partition ids in x-ms-cosmos-target-partition-throughput-info header.. - /// - internal static string DuplicatePhysicalPartitionIdInTargetPartitionThroughputInfo - { - get - { - return ResourceManager.GetString("DuplicatePhysicalPartitionIdInTargetPartitionThroughputInfo", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to There cannot be duplicate physical partition ids in x-ms-cosmos-source-partition-throughput-info header.. - /// - internal static string DuplicatePhysicalPartitionIdInSourcePartitionThroughputInfo - { - get - { - return ResourceManager.GetString("DuplicatePhysicalPartitionIdInSourcePartitionThroughputInfo", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to There cannot be a common physical partition id both in x-ms-cosmos-target-partition-throughput-info and x-ms-cosmos-source-partition-throughput-info header. Encountered {0}. - /// - internal static string PhysicalPartitionIdinTargetAndSourcePartitionThroughputInfo - { - get - { - return ResourceManager.GetString("PhysicalPartitionIdinTargetAndSourcePartitionThroughputInfo", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to One of the source or target physical partition id doesn't exist.. - /// - internal static string PhysicalPartitionIdinTargetOrSourceDoesNotExist - { - get - { - return ResourceManager.GetString("PhysicalPartitionIdinTargetOrSourceDoesNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Collection name '{0}' is invalid for MongoDB API.. - /// - internal static string InvalidMongoCollectionName - { - get - { - return ResourceManager.GetString("InvalidMongoCollectionName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Database name '{0}' is invalid for MongoDB API.. - /// - internal static string InvalidMongoDatabaseName - { - get - { - return ResourceManager.GetString("InvalidMongoDatabaseName", resourceCulture); - } - } } -} \ No newline at end of file +}