diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/CosmosDBManagementClient.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/CosmosDBManagementClient.cs
index 354a62cd7abe..1dce611e7d05 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/CosmosDBManagementClient.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/CosmosDBManagementClient.cs
@@ -519,7 +519,7 @@ private void Initialize()
this.FleetspaceAccount = new FleetspaceAccountOperations(this);
this.MongoMiResources = new MongoMiResourcesOperations(this);
this.BaseUri = new System.Uri("https://management.azure.com");
- this.ApiVersion = "2025-05-01-preview";
+ this.ApiVersion = "2025-11-01-preview";
this.AcceptLanguage = "en-US";
this.LongRunningOperationRetryTimeout = 30;
this.GenerateClientRequestId = true;
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DataMaskingPolicy.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DataMaskingPolicy.cs
new file mode 100644
index 000000000000..f520fbd89a13
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DataMaskingPolicy.cs
@@ -0,0 +1,68 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.Management.CosmosDB.Models
+{
+ using System.Linq;
+
+ ///
+ /// Data masking policy for the container.
+ ///
+ public partial class DataMaskingPolicy
+ {
+ ///
+ /// Initializes a new instance of the DataMaskingPolicy class.
+ ///
+ public DataMaskingPolicy()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the DataMaskingPolicy class.
+ ///
+
+ /// List of JSON paths to include in the masking policy.
+ ///
+
+ /// List of JSON paths to exclude from masking.
+ ///
+
+ /// Flag indicating whether the data masking policy is enabled.
+ ///
+ public DataMaskingPolicy(System.Collections.Generic.IList includedPaths = default(System.Collections.Generic.IList), System.Collections.Generic.IList excludedPaths = default(System.Collections.Generic.IList), bool? isPolicyEnabled = default(bool?))
+
+ {
+ this.IncludedPaths = includedPaths;
+ this.ExcludedPaths = excludedPaths;
+ this.IsPolicyEnabled = isPolicyEnabled;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+
+ ///
+ /// Gets or sets list of JSON paths to include in the masking policy.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "includedPaths")]
+ public System.Collections.Generic.IList IncludedPaths {get; set; }
+
+ ///
+ /// Gets or sets list of JSON paths to exclude from masking.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "excludedPaths")]
+ public System.Collections.Generic.IList ExcludedPaths {get; set; }
+
+ ///
+ /// Gets or sets flag indicating whether the data masking policy is enabled.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "isPolicyEnabled")]
+ public bool? IsPolicyEnabled {get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DataMaskingPolicyExcludedPathsItem.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DataMaskingPolicyExcludedPathsItem.cs
new file mode 100644
index 000000000000..0a8b771e3807
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DataMaskingPolicyExcludedPathsItem.cs
@@ -0,0 +1,59 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.Management.CosmosDB.Models
+{
+ using System.Linq;
+
+ public partial class DataMaskingPolicyExcludedPathsItem
+ {
+ ///
+ /// Initializes a new instance of the DataMaskingPolicyExcludedPathsItem class.
+ ///
+ public DataMaskingPolicyExcludedPathsItem()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the DataMaskingPolicyExcludedPathsItem class.
+ ///
+
+ /// The JSON path to exclude from masking (e.g. "/id").
+ ///
+ public DataMaskingPolicyExcludedPathsItem(string path)
+
+ {
+ this.Path = path;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+
+ ///
+ /// Gets or sets the JSON path to exclude from masking (e.g. "/id").
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "path")]
+ public string Path {get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (this.Path == null)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Path");
+ }
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DataMaskingPolicyIncludedPathsItem.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DataMaskingPolicyIncludedPathsItem.cs
new file mode 100644
index 000000000000..dc7f96be21e5
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DataMaskingPolicyIncludedPathsItem.cs
@@ -0,0 +1,90 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.Management.CosmosDB.Models
+{
+ using System.Linq;
+
+ public partial class DataMaskingPolicyIncludedPathsItem
+ {
+ ///
+ /// Initializes a new instance of the DataMaskingPolicyIncludedPathsItem class.
+ ///
+ public DataMaskingPolicyIncludedPathsItem()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the DataMaskingPolicyIncludedPathsItem class.
+ ///
+
+ /// The JSON path to apply masking (e.g. "/contact/phones").
+ ///
+
+ /// Masking strategy to apply (e.g. "MaskSubstring").
+ ///
+
+ /// Start position for substring masking (when applicable).
+ ///
+
+ /// Length of substring to mask (when applicable).
+ ///
+ public DataMaskingPolicyIncludedPathsItem(string path, string strategy = default(string), int? startPosition = default(int?), int? length = default(int?))
+
+ {
+ this.Path = path;
+ this.Strategy = strategy;
+ this.StartPosition = startPosition;
+ this.Length = length;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+
+ ///
+ /// Gets or sets the JSON path to apply masking (e.g. "/contact/phones").
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "path")]
+ public string Path {get; set; }
+
+ ///
+ /// Gets or sets masking strategy to apply (e.g. "MaskSubstring").
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "strategy")]
+ public string Strategy {get; set; }
+
+ ///
+ /// Gets or sets start position for substring masking (when applicable).
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "startPosition")]
+ public int? StartPosition {get; set; }
+
+ ///
+ /// Gets or sets length of substring to mask (when applicable).
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "length")]
+ public int? Length {get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (this.Path == null)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Path");
+ }
+
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DatabaseAccountGetProperties.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DatabaseAccountGetProperties.cs
index 9dc8785b400f..2be8663bdffe 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DatabaseAccountGetProperties.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DatabaseAccountGetProperties.cs
@@ -179,6 +179,9 @@ public DatabaseAccountGetProperties()
/// case there are errors, the property provides troubleshooting guidance.
///
+ /// The version of the Customer Managed Key currently being used by the account
+ ///
+
/// Flag to indicate enabling/disabling of Priority Based Execution Preview
/// feature on the account
///
@@ -194,7 +197,19 @@ public DatabaseAccountGetProperties()
/// Flag to indicate if All Versions and Deletes Change feed feature is enabled
/// on the account
///
- public DatabaseAccountGetProperties(string provisioningState = default(string), string documentEndpoint = default(string), DatabaseAccountOfferType? databaseAccountOfferType = default(DatabaseAccountOfferType?), System.Collections.Generic.IList ipRules = default(System.Collections.Generic.IList), bool? isVirtualNetworkFilterEnabled = default(bool?), bool? enableAutomaticFailover = default(bool?), ConsistencyPolicy consistencyPolicy = default(ConsistencyPolicy), System.Collections.Generic.IList capabilities = default(System.Collections.Generic.IList), System.Collections.Generic.IList writeLocations = default(System.Collections.Generic.IList), System.Collections.Generic.IList readLocations = default(System.Collections.Generic.IList), System.Collections.Generic.IList locations = default(System.Collections.Generic.IList), System.Collections.Generic.IList failoverPolicies = default(System.Collections.Generic.IList), System.Collections.Generic.IList virtualNetworkRules = default(System.Collections.Generic.IList), System.Collections.Generic.IList privateEndpointConnections = default(System.Collections.Generic.IList), bool? enableMultipleWriteLocations = default(bool?), bool? enableCassandraConnector = default(bool?), string connectorOffer = default(string), bool? disableKeyBasedMetadataWriteAccess = default(bool?), string keyVaultKeyUri = default(string), string defaultIdentity = default(string), string publicNetworkAccess = default(string), bool? enableFreeTier = default(bool?), ApiProperties apiProperties = default(ApiProperties), bool? enableAnalyticalStorage = default(bool?), AnalyticalStorageConfiguration analyticalStorageConfiguration = default(AnalyticalStorageConfiguration), string instanceId = default(string), string createMode = default(string), RestoreParameters restoreParameters = default(RestoreParameters), BackupPolicy backupPolicy = default(BackupPolicy), System.Collections.Generic.IList cors = default(System.Collections.Generic.IList), NetworkAclBypass? networkAclBypass = default(NetworkAclBypass?), System.Collections.Generic.IList networkAclBypassResourceIds = default(System.Collections.Generic.IList), DiagnosticLogSettings diagnosticLogSettings = default(DiagnosticLogSettings), bool? disableLocalAuth = default(bool?), Capacity capacity = default(Capacity), string capacityMode = default(string), CapacityModeChangeTransitionState capacityModeChangeTransitionState = default(CapacityModeChangeTransitionState), bool? enableMaterializedViews = default(bool?), DatabaseAccountKeysMetadata keysMetadata = default(DatabaseAccountKeysMetadata), bool? enablePartitionMerge = default(bool?), bool? enableBurstCapacity = default(bool?), string minimalTlsVersion = default(string), string customerManagedKeyStatus = default(string), bool? enablePriorityBasedExecution = default(bool?), string defaultPriorityLevel = default(string), bool? enablePerRegionPerPartitionAutoscale = default(bool?), bool? enableAllVersionsAndDeletesChangeFeed = default(bool?))
+
+ /// Total dedicated throughput (RU/s) for database account. Represents the sum
+ /// of all manual provisioned throughput and all autoscale max RU/s across all
+ /// shared throughput databases and dedicated throughput containers in the
+ /// account for 1 region. READ ONLY.
+ ///
+
+ /// When this account is part of a fleetspace with throughput pooling enabled,
+ /// this is the maximum additional throughput (RU/s) that can be consumed from
+ /// the pool, summed across all shared throughput databases and dedicated
+ /// throughput containers in the account for 1 region. READ ONLY.
+ ///
+ public DatabaseAccountGetProperties(string provisioningState = default(string), string documentEndpoint = default(string), DatabaseAccountOfferType? databaseAccountOfferType = default(DatabaseAccountOfferType?), System.Collections.Generic.IList ipRules = default(System.Collections.Generic.IList), bool? isVirtualNetworkFilterEnabled = default(bool?), bool? enableAutomaticFailover = default(bool?), ConsistencyPolicy consistencyPolicy = default(ConsistencyPolicy), System.Collections.Generic.IList capabilities = default(System.Collections.Generic.IList), System.Collections.Generic.IList writeLocations = default(System.Collections.Generic.IList), System.Collections.Generic.IList readLocations = default(System.Collections.Generic.IList), System.Collections.Generic.IList locations = default(System.Collections.Generic.IList), System.Collections.Generic.IList failoverPolicies = default(System.Collections.Generic.IList), System.Collections.Generic.IList virtualNetworkRules = default(System.Collections.Generic.IList), System.Collections.Generic.IList privateEndpointConnections = default(System.Collections.Generic.IList), bool? enableMultipleWriteLocations = default(bool?), bool? enableCassandraConnector = default(bool?), string connectorOffer = default(string), bool? disableKeyBasedMetadataWriteAccess = default(bool?), string keyVaultKeyUri = default(string), string defaultIdentity = default(string), string publicNetworkAccess = default(string), bool? enableFreeTier = default(bool?), ApiProperties apiProperties = default(ApiProperties), bool? enableAnalyticalStorage = default(bool?), AnalyticalStorageConfiguration analyticalStorageConfiguration = default(AnalyticalStorageConfiguration), string instanceId = default(string), string createMode = default(string), RestoreParameters restoreParameters = default(RestoreParameters), BackupPolicy backupPolicy = default(BackupPolicy), System.Collections.Generic.IList cors = default(System.Collections.Generic.IList), NetworkAclBypass? networkAclBypass = default(NetworkAclBypass?), System.Collections.Generic.IList networkAclBypassResourceIds = default(System.Collections.Generic.IList), DiagnosticLogSettings diagnosticLogSettings = default(DiagnosticLogSettings), bool? disableLocalAuth = default(bool?), Capacity capacity = default(Capacity), string capacityMode = default(string), CapacityModeChangeTransitionState capacityModeChangeTransitionState = default(CapacityModeChangeTransitionState), bool? enableMaterializedViews = default(bool?), DatabaseAccountKeysMetadata keysMetadata = default(DatabaseAccountKeysMetadata), bool? enablePartitionMerge = default(bool?), bool? enableBurstCapacity = default(bool?), string minimalTlsVersion = default(string), string customerManagedKeyStatus = default(string), string keyVaultKeyUriVersion = default(string), bool? enablePriorityBasedExecution = default(bool?), string defaultPriorityLevel = default(string), bool? enablePerRegionPerPartitionAutoscale = default(bool?), bool? enableAllVersionsAndDeletesChangeFeed = default(bool?), long? throughputPoolDedicatedRUs = default(long?), long? throughputPoolMaxConsumableRUs = default(long?))
{
this.ProvisioningState = provisioningState;
@@ -240,10 +255,13 @@ public DatabaseAccountGetProperties()
this.EnableBurstCapacity = enableBurstCapacity;
this.MinimalTlsVersion = minimalTlsVersion;
this.CustomerManagedKeyStatus = customerManagedKeyStatus;
+ this.KeyVaultKeyUriVersion = keyVaultKeyUriVersion;
this.EnablePriorityBasedExecution = enablePriorityBasedExecution;
this.DefaultPriorityLevel = defaultPriorityLevel;
this.EnablePerRegionPerPartitionAutoscale = enablePerRegionPerPartitionAutoscale;
this.EnableAllVersionsAndDeletesChangeFeed = enableAllVersionsAndDeletesChangeFeed;
+ this.ThroughputPoolDedicatedRUs = throughputPoolDedicatedRUs;
+ this.ThroughputPoolMaxConsumableRUs = throughputPoolMaxConsumableRUs;
CustomInit();
}
@@ -546,6 +564,13 @@ public DatabaseAccountGetProperties()
[Newtonsoft.Json.JsonProperty(PropertyName = "customerManagedKeyStatus")]
public string CustomerManagedKeyStatus {get; set; }
+ ///
+ /// Gets the version of the Customer Managed Key currently being used by the
+ /// account
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "keyVaultKeyUriVersion")]
+ public string KeyVaultKeyUriVersion {get; private set; }
+
///
/// Gets or sets flag to indicate enabling/disabling of Priority Based
/// Execution Preview feature on the account
@@ -573,6 +598,25 @@ public DatabaseAccountGetProperties()
///
[Newtonsoft.Json.JsonProperty(PropertyName = "enableAllVersionsAndDeletesChangeFeed")]
public bool? EnableAllVersionsAndDeletesChangeFeed {get; set; }
+
+ ///
+ /// Gets or sets total dedicated throughput (RU/s) for database account.
+ /// Represents the sum of all manual provisioned throughput and all autoscale
+ /// max RU/s across all shared throughput databases and dedicated throughput
+ /// containers in the account for 1 region. READ ONLY.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "throughputPoolDedicatedRUs")]
+ public long? ThroughputPoolDedicatedRUs {get; set; }
+
+ ///
+ /// Gets or sets when this account is part of a fleetspace with throughput
+ /// pooling enabled, this is the maximum additional throughput (RU/s) that can
+ /// be consumed from the pool, summed across all shared throughput databases
+ /// and dedicated throughput containers in the account for 1 region. READ
+ /// ONLY.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "throughputPoolMaxConsumableRUs")]
+ public long? ThroughputPoolMaxConsumableRUs {get; set; }
///
/// Validate the object.
///
@@ -665,6 +709,7 @@ public virtual void Validate()
+
}
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DatabaseAccountGetResults.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DatabaseAccountGetResults.cs
index c3d8a3c0b73a..da9a8646cd7f 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DatabaseAccountGetResults.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/DatabaseAccountGetResults.cs
@@ -211,6 +211,9 @@ public DatabaseAccountGetResults()
/// case there are errors, the property provides troubleshooting guidance.
///
+ /// The version of the Customer Managed Key currently being used by the account
+ ///
+
/// Flag to indicate enabling/disabling of Priority Based Execution Preview
/// feature on the account
///
@@ -226,7 +229,19 @@ public DatabaseAccountGetResults()
/// Flag to indicate if All Versions and Deletes Change feed feature is enabled
/// on the account
///
- public DatabaseAccountGetResults(string id = default(string), string name = default(string), string type = default(string), string location = default(string), System.Collections.Generic.IDictionary tags = default(System.Collections.Generic.IDictionary), ManagedServiceIdentity identity = default(ManagedServiceIdentity), string kind = default(string), SystemData systemData = default(SystemData), string provisioningState = default(string), System.Collections.Generic.IList ipRules = default(System.Collections.Generic.IList), ConsistencyPolicy consistencyPolicy = default(ConsistencyPolicy), string connectorOffer = default(string), ApiProperties apiProperties = default(ApiProperties), string createMode = default(string), RestoreParameters restoreParameters = default(RestoreParameters), BackupPolicy backupPolicy = default(BackupPolicy), Capacity capacity = default(Capacity), string capacityMode = default(string), string documentEndpoint = default(string), DatabaseAccountOfferType? databaseAccountOfferType = default(DatabaseAccountOfferType?), bool? isVirtualNetworkFilterEnabled = default(bool?), bool? enableAutomaticFailover = default(bool?), System.Collections.Generic.IList capabilities = default(System.Collections.Generic.IList), System.Collections.Generic.IList writeLocations = default(System.Collections.Generic.IList), System.Collections.Generic.IList readLocations = default(System.Collections.Generic.IList), System.Collections.Generic.IList locations = default(System.Collections.Generic.IList), System.Collections.Generic.IList failoverPolicies = default(System.Collections.Generic.IList), System.Collections.Generic.IList virtualNetworkRules = default(System.Collections.Generic.IList), System.Collections.Generic.IList privateEndpointConnections = default(System.Collections.Generic.IList), bool? enableMultipleWriteLocations = default(bool?), bool? enableCassandraConnector = default(bool?), bool? disableKeyBasedMetadataWriteAccess = default(bool?), string keyVaultKeyUri = default(string), string defaultIdentity = default(string), string publicNetworkAccess = default(string), bool? enableFreeTier = default(bool?), bool? enableAnalyticalStorage = default(bool?), AnalyticalStorageConfiguration analyticalStorageConfiguration = default(AnalyticalStorageConfiguration), string instanceId = default(string), System.Collections.Generic.IList cors = default(System.Collections.Generic.IList), NetworkAclBypass? networkAclBypass = default(NetworkAclBypass?), System.Collections.Generic.IList networkAclBypassResourceIds = default(System.Collections.Generic.IList), DiagnosticLogSettings diagnosticLogSettings = default(DiagnosticLogSettings), bool? disableLocalAuth = default(bool?), CapacityModeChangeTransitionState capacityModeChangeTransitionState = default(CapacityModeChangeTransitionState), bool? enableMaterializedViews = default(bool?), DatabaseAccountKeysMetadata keysMetadata = default(DatabaseAccountKeysMetadata), bool? enablePartitionMerge = default(bool?), bool? enableBurstCapacity = default(bool?), string minimalTlsVersion = default(string), string customerManagedKeyStatus = default(string), bool? enablePriorityBasedExecution = default(bool?), string defaultPriorityLevel = default(string), bool? enablePerRegionPerPartitionAutoscale = default(bool?), bool? enableAllVersionsAndDeletesChangeFeed = default(bool?))
+
+ /// Total dedicated throughput (RU/s) for database account. Represents the sum
+ /// of all manual provisioned throughput and all autoscale max RU/s across all
+ /// shared throughput databases and dedicated throughput containers in the
+ /// account for 1 region. READ ONLY.
+ ///
+
+ /// When this account is part of a fleetspace with throughput pooling enabled,
+ /// this is the maximum additional throughput (RU/s) that can be consumed from
+ /// the pool, summed across all shared throughput databases and dedicated
+ /// throughput containers in the account for 1 region. READ ONLY.
+ ///
+ public DatabaseAccountGetResults(string id = default(string), string name = default(string), string type = default(string), string location = default(string), System.Collections.Generic.IDictionary tags = default(System.Collections.Generic.IDictionary), ManagedServiceIdentity identity = default(ManagedServiceIdentity), string kind = default(string), SystemData systemData = default(SystemData), string provisioningState = default(string), System.Collections.Generic.IList ipRules = default(System.Collections.Generic.IList), ConsistencyPolicy consistencyPolicy = default(ConsistencyPolicy), string connectorOffer = default(string), ApiProperties apiProperties = default(ApiProperties), string createMode = default(string), RestoreParameters restoreParameters = default(RestoreParameters), BackupPolicy backupPolicy = default(BackupPolicy), Capacity capacity = default(Capacity), string capacityMode = default(string), string documentEndpoint = default(string), DatabaseAccountOfferType? databaseAccountOfferType = default(DatabaseAccountOfferType?), bool? isVirtualNetworkFilterEnabled = default(bool?), bool? enableAutomaticFailover = default(bool?), System.Collections.Generic.IList capabilities = default(System.Collections.Generic.IList), System.Collections.Generic.IList writeLocations = default(System.Collections.Generic.IList), System.Collections.Generic.IList readLocations = default(System.Collections.Generic.IList), System.Collections.Generic.IList locations = default(System.Collections.Generic.IList), System.Collections.Generic.IList failoverPolicies = default(System.Collections.Generic.IList), System.Collections.Generic.IList virtualNetworkRules = default(System.Collections.Generic.IList), System.Collections.Generic.IList privateEndpointConnections = default(System.Collections.Generic.IList), bool? enableMultipleWriteLocations = default(bool?), bool? enableCassandraConnector = default(bool?), bool? disableKeyBasedMetadataWriteAccess = default(bool?), string keyVaultKeyUri = default(string), string defaultIdentity = default(string), string publicNetworkAccess = default(string), bool? enableFreeTier = default(bool?), bool? enableAnalyticalStorage = default(bool?), AnalyticalStorageConfiguration analyticalStorageConfiguration = default(AnalyticalStorageConfiguration), string instanceId = default(string), System.Collections.Generic.IList cors = default(System.Collections.Generic.IList), NetworkAclBypass? networkAclBypass = default(NetworkAclBypass?), System.Collections.Generic.IList networkAclBypassResourceIds = default(System.Collections.Generic.IList), DiagnosticLogSettings diagnosticLogSettings = default(DiagnosticLogSettings), bool? disableLocalAuth = default(bool?), CapacityModeChangeTransitionState capacityModeChangeTransitionState = default(CapacityModeChangeTransitionState), bool? enableMaterializedViews = default(bool?), DatabaseAccountKeysMetadata keysMetadata = default(DatabaseAccountKeysMetadata), bool? enablePartitionMerge = default(bool?), bool? enableBurstCapacity = default(bool?), string minimalTlsVersion = default(string), string customerManagedKeyStatus = default(string), string keyVaultKeyUriVersion = default(string), bool? enablePriorityBasedExecution = default(bool?), string defaultPriorityLevel = default(string), bool? enablePerRegionPerPartitionAutoscale = default(bool?), bool? enableAllVersionsAndDeletesChangeFeed = default(bool?), long? throughputPoolDedicatedRUs = default(long?), long? throughputPoolMaxConsumableRUs = default(long?))
: base(id, name, type, location, tags, identity)
{
@@ -275,10 +290,13 @@ public DatabaseAccountGetResults()
this.EnableBurstCapacity = enableBurstCapacity;
this.MinimalTlsVersion = minimalTlsVersion;
this.CustomerManagedKeyStatus = customerManagedKeyStatus;
+ this.KeyVaultKeyUriVersion = keyVaultKeyUriVersion;
this.EnablePriorityBasedExecution = enablePriorityBasedExecution;
this.DefaultPriorityLevel = defaultPriorityLevel;
this.EnablePerRegionPerPartitionAutoscale = enablePerRegionPerPartitionAutoscale;
this.EnableAllVersionsAndDeletesChangeFeed = enableAllVersionsAndDeletesChangeFeed;
+ this.ThroughputPoolDedicatedRUs = throughputPoolDedicatedRUs;
+ this.ThroughputPoolMaxConsumableRUs = throughputPoolMaxConsumableRUs;
CustomInit();
}
@@ -594,6 +612,13 @@ public DatabaseAccountGetResults()
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.customerManagedKeyStatus")]
public string CustomerManagedKeyStatus {get; set; }
+ ///
+ /// Gets the version of the Customer Managed Key currently being used by the
+ /// account
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "properties.keyVaultKeyUriVersion")]
+ public string KeyVaultKeyUriVersion {get; private set; }
+
///
/// Gets or sets flag to indicate enabling/disabling of Priority Based
/// Execution Preview feature on the account
@@ -621,6 +646,25 @@ public DatabaseAccountGetResults()
///
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.enableAllVersionsAndDeletesChangeFeed")]
public bool? EnableAllVersionsAndDeletesChangeFeed {get; set; }
+
+ ///
+ /// Gets or sets total dedicated throughput (RU/s) for database account.
+ /// Represents the sum of all manual provisioned throughput and all autoscale
+ /// max RU/s across all shared throughput databases and dedicated throughput
+ /// containers in the account for 1 region. READ ONLY.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "properties.throughputPoolDedicatedRUs")]
+ public long? ThroughputPoolDedicatedRUs {get; set; }
+
+ ///
+ /// Gets or sets when this account is part of a fleetspace with throughput
+ /// pooling enabled, this is the maximum additional throughput (RU/s) that can
+ /// be consumed from the pool, summed across all shared throughput databases
+ /// and dedicated throughput containers in the account for 1 region. READ
+ /// ONLY.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "properties.throughputPoolMaxConsumableRUs")]
+ public long? ThroughputPoolMaxConsumableRUs {get; set; }
///
/// Validate the object.
///
@@ -715,6 +759,7 @@ public virtual void Validate()
+
}
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceAccountProperties.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceAccountProperties.cs
index a2952feb8926..d69a88156f96 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceAccountProperties.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceAccountProperties.cs
@@ -30,18 +30,13 @@ public FleetspaceAccountProperties()
/// 'InternallyReady', 'Online', 'Deleting', 'Creating', 'Succeeded', 'Failed',
/// 'Canceled', 'Updating'
- /// The resource identifier of global database account in the Fleetspace
- /// Account.
+ /// Configuration for fleetspace Account in the fleetspace.
///
-
- /// The location of global database account in the Fleetspace Account.
- ///
- public FleetspaceAccountProperties(string provisioningState = default(string), string accountResourceIdentifier = default(string), string accountLocation = default(string))
+ public FleetspaceAccountProperties(string provisioningState = default(string), FleetspaceAccountPropertiesGlobalDatabaseAccountProperties globalDatabaseAccountProperties = default(FleetspaceAccountPropertiesGlobalDatabaseAccountProperties))
{
this.ProvisioningState = provisioningState;
- this.AccountResourceIdentifier = accountResourceIdentifier;
- this.AccountLocation = accountLocation;
+ this.GlobalDatabaseAccountProperties = globalDatabaseAccountProperties;
CustomInit();
}
@@ -58,17 +53,9 @@ public FleetspaceAccountProperties()
public string ProvisioningState {get; set; }
///
- /// Gets or sets the resource identifier of global database account in the
- /// Fleetspace Account.
- ///
- [Newtonsoft.Json.JsonProperty(PropertyName = "accountResourceIdentifier")]
- public string AccountResourceIdentifier {get; set; }
-
- ///
- /// Gets or sets the location of global database account in the Fleetspace
- /// Account.
+ /// Gets or sets configuration for fleetspace Account in the fleetspace.
///
- [Newtonsoft.Json.JsonProperty(PropertyName = "accountLocation")]
- public string AccountLocation {get; set; }
+ [Newtonsoft.Json.JsonProperty(PropertyName = "globalDatabaseAccountProperties")]
+ public FleetspaceAccountPropertiesGlobalDatabaseAccountProperties GlobalDatabaseAccountProperties {get; set; }
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceAccountPropertiesGlobalDatabaseAccountProperties.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceAccountPropertiesGlobalDatabaseAccountProperties.cs
new file mode 100644
index 000000000000..36e53bcce7b4
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceAccountPropertiesGlobalDatabaseAccountProperties.cs
@@ -0,0 +1,61 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.Management.CosmosDB.Models
+{
+ using System.Linq;
+
+ ///
+ /// Configuration for fleetspace Account in the fleetspace.
+ ///
+ public partial class FleetspaceAccountPropertiesGlobalDatabaseAccountProperties
+ {
+ ///
+ /// Initializes a new instance of the FleetspaceAccountPropertiesGlobalDatabaseAccountProperties class.
+ ///
+ public FleetspaceAccountPropertiesGlobalDatabaseAccountProperties()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the FleetspaceAccountPropertiesGlobalDatabaseAccountProperties class.
+ ///
+
+ /// The resource identifier of global database account in the Fleetspace
+ /// Account.
+ ///
+
+ /// The location of global database account in the Fleetspace Account.
+ ///
+ public FleetspaceAccountPropertiesGlobalDatabaseAccountProperties(string resourceId = default(string), string armLocation = default(string))
+
+ {
+ this.ResourceId = resourceId;
+ this.ArmLocation = armLocation;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+
+ ///
+ /// Gets or sets the resource identifier of global database account in the
+ /// Fleetspace Account.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "resourceId")]
+ public string ResourceId {get; set; }
+
+ ///
+ /// Gets or sets the location of global database account in the Fleetspace
+ /// Account.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "armLocation")]
+ public string ArmLocation {get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceAccountResource.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceAccountResource.cs
index 69f551b2cdfc..61bdb05ffab8 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceAccountResource.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceAccountResource.cs
@@ -45,19 +45,14 @@ public FleetspaceAccountResource()
/// 'InternallyReady', 'Online', 'Deleting', 'Creating', 'Succeeded', 'Failed',
/// 'Canceled', 'Updating'
- /// The resource identifier of global database account in the Fleetspace
- /// Account.
+ /// Configuration for fleetspace Account in the fleetspace.
///
-
- /// The location of global database account in the Fleetspace Account.
- ///
- public FleetspaceAccountResource(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string provisioningState = default(string), string accountResourceIdentifier = default(string), string accountLocation = default(string))
+ public FleetspaceAccountResource(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string provisioningState = default(string), FleetspaceAccountPropertiesGlobalDatabaseAccountProperties globalDatabaseAccountProperties = default(FleetspaceAccountPropertiesGlobalDatabaseAccountProperties))
: base(id, name, type, systemData)
{
this.ProvisioningState = provisioningState;
- this.AccountResourceIdentifier = accountResourceIdentifier;
- this.AccountLocation = accountLocation;
+ this.GlobalDatabaseAccountProperties = globalDatabaseAccountProperties;
CustomInit();
}
@@ -74,17 +69,9 @@ public FleetspaceAccountResource()
public string ProvisioningState {get; set; }
///
- /// Gets or sets the resource identifier of global database account in the
- /// Fleetspace Account.
- ///
- [Newtonsoft.Json.JsonProperty(PropertyName = "properties.accountResourceIdentifier")]
- public string AccountResourceIdentifier {get; set; }
-
- ///
- /// Gets or sets the location of global database account in the Fleetspace
- /// Account.
+ /// Gets or sets configuration for fleetspace Account in the fleetspace.
///
- [Newtonsoft.Json.JsonProperty(PropertyName = "properties.accountLocation")]
- public string AccountLocation {get; set; }
+ [Newtonsoft.Json.JsonProperty(PropertyName = "properties.globalDatabaseAccountProperties")]
+ public FleetspaceAccountPropertiesGlobalDatabaseAccountProperties GlobalDatabaseAccountProperties {get; set; }
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceProperties.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceProperties.cs
index 85acc5289b25..f6cab25fc9e0 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceProperties.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceProperties.cs
@@ -32,13 +32,23 @@ public FleetspaceProperties()
/// The kind of API this fleetspace belongs to. Acceptable values: 'NoSQL'
/// Possible values include: 'NoSQL'
+ /// Service Tier for the fleetspace. GeneralPurpose types refers to single
+ /// write region accounts that can be added to this fleetspace, whereas
+ /// BusinessCritical refers to multi write region.
+ /// Possible values include: 'GeneralPurpose', 'BusinessCritical'
+
+ /// List of data regions assigned to the fleetspace. Eg [westus2]
+ ///
+
/// Configuration for throughput pool in the fleetspace.
///
- public FleetspaceProperties(string provisioningState = default(string), string fleetspaceApiKind = default(string), FleetspacePropertiesThroughputPoolConfiguration throughputPoolConfiguration = default(FleetspacePropertiesThroughputPoolConfiguration))
+ public FleetspaceProperties(string provisioningState = default(string), string fleetspaceApiKind = default(string), string serviceTier = default(string), System.Collections.Generic.IList dataRegions = default(System.Collections.Generic.IList), FleetspacePropertiesThroughputPoolConfiguration throughputPoolConfiguration = default(FleetspacePropertiesThroughputPoolConfiguration))
{
this.ProvisioningState = provisioningState;
this.FleetspaceApiKind = fleetspaceApiKind;
+ this.ServiceTier = serviceTier;
+ this.DataRegions = dataRegions;
this.ThroughputPoolConfiguration = throughputPoolConfiguration;
CustomInit();
}
@@ -62,6 +72,20 @@ public FleetspaceProperties()
[Newtonsoft.Json.JsonProperty(PropertyName = "fleetspaceApiKind")]
public string FleetspaceApiKind {get; set; }
+ ///
+ /// Gets or sets service Tier for the fleetspace. GeneralPurpose types refers
+ /// to single write region accounts that can be added to this fleetspace,
+ /// whereas BusinessCritical refers to multi write region. Possible values include: 'GeneralPurpose', 'BusinessCritical'
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "serviceTier")]
+ public string ServiceTier {get; set; }
+
+ ///
+ /// Gets or sets list of data regions assigned to the fleetspace. Eg [westus2]
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "dataRegions")]
+ public System.Collections.Generic.IList DataRegions {get; set; }
+
///
/// Gets or sets configuration for throughput pool in the fleetspace.
///
@@ -77,10 +101,15 @@ public virtual void Validate()
{
- if (this.ThroughputPoolConfiguration != null)
+
+ if (this.DataRegions != null)
{
- this.ThroughputPoolConfiguration.Validate();
+ if (this.DataRegions.Count < 1)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinItems, "DataRegions", 1);
+ }
}
+
}
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspacePropertiesThroughputPoolConfigurationServiceTier.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspacePropertiesServiceTier.cs
similarity index 76%
rename from src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspacePropertiesThroughputPoolConfigurationServiceTier.cs
rename to src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspacePropertiesServiceTier.cs
index c50964813ca7..1e3c528693a5 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspacePropertiesThroughputPoolConfigurationServiceTier.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspacePropertiesServiceTier.cs
@@ -7,11 +7,11 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
{
///
- /// Defines values for FleetspacePropertiesThroughputPoolConfigurationServiceTier.
+ /// Defines values for FleetspacePropertiesServiceTier.
///
- public static class FleetspacePropertiesThroughputPoolConfigurationServiceTier
+ public static class FleetspacePropertiesServiceTier
{
public const string GeneralPurpose = "GeneralPurpose";
public const string BusinessCritical = "BusinessCritical";
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspacePropertiesThroughputPoolConfiguration.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspacePropertiesThroughputPoolConfiguration.cs
index 372813f6d314..23d0f5a09c61 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspacePropertiesThroughputPoolConfiguration.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspacePropertiesThroughputPoolConfiguration.cs
@@ -30,20 +30,23 @@ public FleetspacePropertiesThroughputPoolConfiguration()
/// Maximum throughput for the pool.
///
- /// Service Tier for the fleetspace. GeneralPurpose types refers to single
- /// write region accounts that can be added to this fleetspace, whereas
- /// BusinessCritical refers to multi write region.
- /// Possible values include: 'GeneralPurpose', 'BusinessCritical'
+ /// Total dedicated throughput (RU/s) for fleetspace. Represents the sum of all
+ /// manual provisioned throughput and all autoscale max RU/s across all shared
+ /// throughput databases and dedicated throughput containers across all
+ /// accounts in the fleetspace for 1 region.
+ ///
- /// List of data regions assigned to the fleetspace. Eg [westus2]
+ /// Maximum consumable throughput (RU/s) for fleetspace. Represents the maximum
+ /// throughput that resources in the fleetspace can consume from the
+ /// fleetspace's pool in 1 region.
///
- public FleetspacePropertiesThroughputPoolConfiguration(int? minThroughput = default(int?), int? maxThroughput = default(int?), string serviceTier = default(string), System.Collections.Generic.IList dataRegions = default(System.Collections.Generic.IList))
+ public FleetspacePropertiesThroughputPoolConfiguration(int? minThroughput = default(int?), int? maxThroughput = default(int?), long? dedicatedRUs = default(long?), long? maxConsumableRUs = default(long?))
{
this.MinThroughput = minThroughput;
this.MaxThroughput = maxThroughput;
- this.ServiceTier = serviceTier;
- this.DataRegions = dataRegions;
+ this.DedicatedRUs = dedicatedRUs;
+ this.MaxConsumableRUs = maxConsumableRUs;
CustomInit();
}
@@ -66,34 +69,20 @@ public FleetspacePropertiesThroughputPoolConfiguration()
public int? MaxThroughput {get; set; }
///
- /// Gets or sets service Tier for the fleetspace. GeneralPurpose types refers
- /// to single write region accounts that can be added to this fleetspace,
- /// whereas BusinessCritical refers to multi write region. Possible values include: 'GeneralPurpose', 'BusinessCritical'
+ /// Gets or sets total dedicated throughput (RU/s) for fleetspace. Represents
+ /// the sum of all manual provisioned throughput and all autoscale max RU/s
+ /// across all shared throughput databases and dedicated throughput containers
+ /// across all accounts in the fleetspace for 1 region.
///
- [Newtonsoft.Json.JsonProperty(PropertyName = "serviceTier")]
- public string ServiceTier {get; set; }
+ [Newtonsoft.Json.JsonProperty(PropertyName = "dedicatedRUs")]
+ public long? DedicatedRUs {get; set; }
///
- /// Gets or sets list of data regions assigned to the fleetspace. Eg [westus2]
- ///
- [Newtonsoft.Json.JsonProperty(PropertyName = "dataRegions")]
- public System.Collections.Generic.IList DataRegions {get; set; }
- ///
- /// Validate the object.
+ /// Gets or sets maximum consumable throughput (RU/s) for fleetspace.
+ /// Represents the maximum throughput that resources in the fleetspace can
+ /// consume from the fleetspace's pool in 1 region.
///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
-
- if (this.DataRegions != null)
- {
- if (this.DataRegions.Count < 1)
- {
- throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinItems, "DataRegions", 1);
- }
- }
- }
+ [Newtonsoft.Json.JsonProperty(PropertyName = "maxConsumableRUs")]
+ public long? MaxConsumableRUs {get; set; }
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceResource.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceResource.cs
index ad729808b00c..e3309f6eb8e2 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceResource.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceResource.cs
@@ -48,14 +48,24 @@ public FleetspaceResource()
/// The kind of API this fleetspace belongs to. Acceptable values: 'NoSQL'
/// Possible values include: 'NoSQL'
+ /// Service Tier for the fleetspace. GeneralPurpose types refers to single
+ /// write region accounts that can be added to this fleetspace, whereas
+ /// BusinessCritical refers to multi write region.
+ /// Possible values include: 'GeneralPurpose', 'BusinessCritical'
+
+ /// List of data regions assigned to the fleetspace. Eg [westus2]
+ ///
+
/// Configuration for throughput pool in the fleetspace.
///
- public FleetspaceResource(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string provisioningState = default(string), string fleetspaceApiKind = default(string), FleetspacePropertiesThroughputPoolConfiguration throughputPoolConfiguration = default(FleetspacePropertiesThroughputPoolConfiguration))
+ public FleetspaceResource(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string provisioningState = default(string), string fleetspaceApiKind = default(string), string serviceTier = default(string), System.Collections.Generic.IList dataRegions = default(System.Collections.Generic.IList), FleetspacePropertiesThroughputPoolConfiguration throughputPoolConfiguration = default(FleetspacePropertiesThroughputPoolConfiguration))
: base(id, name, type, systemData)
{
this.ProvisioningState = provisioningState;
this.FleetspaceApiKind = fleetspaceApiKind;
+ this.ServiceTier = serviceTier;
+ this.DataRegions = dataRegions;
this.ThroughputPoolConfiguration = throughputPoolConfiguration;
CustomInit();
}
@@ -79,6 +89,20 @@ public FleetspaceResource()
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.fleetspaceApiKind")]
public string FleetspaceApiKind {get; set; }
+ ///
+ /// Gets or sets service Tier for the fleetspace. GeneralPurpose types refers
+ /// to single write region accounts that can be added to this fleetspace,
+ /// whereas BusinessCritical refers to multi write region. Possible values include: 'GeneralPurpose', 'BusinessCritical'
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "properties.serviceTier")]
+ public string ServiceTier {get; set; }
+
+ ///
+ /// Gets or sets list of data regions assigned to the fleetspace. Eg [westus2]
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "properties.dataRegions")]
+ public System.Collections.Generic.IList DataRegions {get; set; }
+
///
/// Gets or sets configuration for throughput pool in the fleetspace.
///
@@ -94,10 +118,15 @@ public virtual void Validate()
{
- if (this.ThroughputPoolConfiguration != null)
+
+ if (this.DataRegions != null)
{
- this.ThroughputPoolConfiguration.Validate();
+ if (this.DataRegions.Count < 1)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinItems, "DataRegions", 1);
+ }
}
+
}
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceUpdate.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceUpdate.cs
index 4f0c364e98a3..5a14afd98a09 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceUpdate.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FleetspaceUpdate.cs
@@ -33,13 +33,23 @@ public FleetspaceUpdate()
/// The kind of API this fleetspace belongs to. Acceptable values: 'NoSQL'
/// Possible values include: 'NoSQL'
+ /// Service Tier for the fleetspace. GeneralPurpose types refers to single
+ /// write region accounts that can be added to this fleetspace, whereas
+ /// BusinessCritical refers to multi write region.
+ /// Possible values include: 'GeneralPurpose', 'BusinessCritical'
+
+ /// List of data regions assigned to the fleetspace. Eg [westus2]
+ ///
+
/// Configuration for throughput pool in the fleetspace.
///
- public FleetspaceUpdate(string provisioningState = default(string), string fleetspaceApiKind = default(string), FleetspacePropertiesThroughputPoolConfiguration throughputPoolConfiguration = default(FleetspacePropertiesThroughputPoolConfiguration))
+ public FleetspaceUpdate(string provisioningState = default(string), string fleetspaceApiKind = default(string), string serviceTier = default(string), System.Collections.Generic.IList dataRegions = default(System.Collections.Generic.IList), FleetspacePropertiesThroughputPoolConfiguration throughputPoolConfiguration = default(FleetspacePropertiesThroughputPoolConfiguration))
{
this.ProvisioningState = provisioningState;
this.FleetspaceApiKind = fleetspaceApiKind;
+ this.ServiceTier = serviceTier;
+ this.DataRegions = dataRegions;
this.ThroughputPoolConfiguration = throughputPoolConfiguration;
CustomInit();
}
@@ -63,6 +73,20 @@ public FleetspaceUpdate()
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.fleetspaceApiKind")]
public string FleetspaceApiKind {get; set; }
+ ///
+ /// Gets or sets service Tier for the fleetspace. GeneralPurpose types refers
+ /// to single write region accounts that can be added to this fleetspace,
+ /// whereas BusinessCritical refers to multi write region. Possible values include: 'GeneralPurpose', 'BusinessCritical'
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "properties.serviceTier")]
+ public string ServiceTier {get; set; }
+
+ ///
+ /// Gets or sets list of data regions assigned to the fleetspace. Eg [westus2]
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "properties.dataRegions")]
+ public System.Collections.Generic.IList DataRegions {get; set; }
+
///
/// Gets or sets configuration for throughput pool in the fleetspace.
///
@@ -78,10 +102,15 @@ public virtual void Validate()
{
- if (this.ThroughputPoolConfiguration != null)
+
+ if (this.DataRegions != null)
{
- this.ThroughputPoolConfiguration.Validate();
+ if (this.DataRegions.Count < 1)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinItems, "DataRegions", 1);
+ }
}
+
}
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FullTextIndexPath.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FullTextIndexPath.cs
new file mode 100644
index 000000000000..16c8d25492c8
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/FullTextIndexPath.cs
@@ -0,0 +1,62 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.Management.CosmosDB.Models
+{
+ using System.Linq;
+
+ ///
+ /// Represents the full text index path.
+ ///
+ public partial class FullTextIndexPath
+ {
+ ///
+ /// Initializes a new instance of the FullTextIndexPath class.
+ ///
+ public FullTextIndexPath()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the FullTextIndexPath class.
+ ///
+
+ /// The path to the full text field in the document.
+ ///
+ public FullTextIndexPath(string path)
+
+ {
+ this.Path = path;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+
+ ///
+ /// Gets or sets the path to the full text field in the document.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "path")]
+ public string Path {get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (this.Path == null)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Path");
+ }
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/IndexingPolicy.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/IndexingPolicy.cs
index 90a57134a14a..0a782a0fad57 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/IndexingPolicy.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/IndexingPolicy.cs
@@ -44,7 +44,10 @@ public IndexingPolicy()
/// List of paths to include in the vector indexing
///
- public IndexingPolicy(bool? automatic = default(bool?), string indexingMode = default(string), System.Collections.Generic.IList includedPaths = default(System.Collections.Generic.IList), System.Collections.Generic.IList excludedPaths = default(System.Collections.Generic.IList), System.Collections.Generic.IList> compositeIndexes = default(System.Collections.Generic.IList>), System.Collections.Generic.IList spatialIndexes = default(System.Collections.Generic.IList), System.Collections.Generic.IList vectorIndexes = default(System.Collections.Generic.IList))
+
+ /// List of paths to include in the full text indexing
+ ///
+ public IndexingPolicy(bool? automatic = default(bool?), string indexingMode = default(string), System.Collections.Generic.IList includedPaths = default(System.Collections.Generic.IList), System.Collections.Generic.IList excludedPaths = default(System.Collections.Generic.IList), System.Collections.Generic.IList> compositeIndexes = default(System.Collections.Generic.IList>), System.Collections.Generic.IList spatialIndexes = default(System.Collections.Generic.IList), System.Collections.Generic.IList vectorIndexes = default(System.Collections.Generic.IList), System.Collections.Generic.IList fullTextIndexes = default(System.Collections.Generic.IList))
{
this.Automatic = automatic;
@@ -54,6 +57,7 @@ public IndexingPolicy()
this.CompositeIndexes = compositeIndexes;
this.SpatialIndexes = spatialIndexes;
this.VectorIndexes = vectorIndexes;
+ this.FullTextIndexes = fullTextIndexes;
CustomInit();
}
@@ -104,5 +108,11 @@ public IndexingPolicy()
///
[Newtonsoft.Json.JsonProperty(PropertyName = "vectorIndexes")]
public System.Collections.Generic.IList VectorIndexes {get; set; }
+
+ ///
+ /// Gets or sets list of paths to include in the full text indexing
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "fullTextIndexes")]
+ public System.Collections.Generic.IList FullTextIndexes {get; set; }
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/MaterializedViewDefinition.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/MaterializedViewDefinition.cs
index e45bb5adbff9..b153ca19354a 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/MaterializedViewDefinition.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/MaterializedViewDefinition.cs
@@ -35,12 +35,17 @@ public MaterializedViewDefinition()
/// The definition should be an SQL query which would be used to fetch data
/// from the source container to populate into the Materialized View container.
///
- public MaterializedViewDefinition(string sourceCollectionId, string definition, string sourceCollectionRid = default(string))
+
+ /// Throughput bucket assigned for the materialized view operations on target
+ /// container.
+ ///
+ public MaterializedViewDefinition(string sourceCollectionId, string definition, string sourceCollectionRid = default(string), int? throughputBucketForBuild = default(int?))
{
this.SourceCollectionRid = sourceCollectionRid;
this.SourceCollectionId = sourceCollectionId;
this.Definition = definition;
+ this.ThroughputBucketForBuild = throughputBucketForBuild;
CustomInit();
}
@@ -71,6 +76,13 @@ public MaterializedViewDefinition()
///
[Newtonsoft.Json.JsonProperty(PropertyName = "definition")]
public string Definition {get; set; }
+
+ ///
+ /// Gets or sets throughput bucket assigned for the materialized view
+ /// operations on target container.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "throughputBucketForBuild")]
+ public int? ThroughputBucketForBuild {get; set; }
///
/// Validate the object.
///
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/MaterializedViewsProperties.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/MaterializedViewsProperties.cs
new file mode 100644
index 000000000000..f7ecc4bc4e05
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/MaterializedViewsProperties.cs
@@ -0,0 +1,50 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.Management.CosmosDB.Models
+{
+ using System.Linq;
+
+ ///
+ /// Materialized Views Properties for the source container.
+ ///
+ public partial class MaterializedViewsProperties
+ {
+ ///
+ /// Initializes a new instance of the MaterializedViewsProperties class.
+ ///
+ public MaterializedViewsProperties()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the MaterializedViewsProperties class.
+ ///
+
+ /// Throughput bucket assigned for the materialized view operations on source
+ /// container.
+ ///
+ public MaterializedViewsProperties(int? throughputBucketForBuild = default(int?))
+
+ {
+ this.ThroughputBucketForBuild = throughputBucketForBuild;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+
+ ///
+ /// Gets or sets throughput bucket assigned for the materialized view
+ /// operations on source container.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "throughputBucketForBuild")]
+ public int? ThroughputBucketForBuild {get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/RestorableSqlContainerPropertiesResourceContainer.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/RestorableSqlContainerPropertiesResourceContainer.cs
index 0aa9faae4611..59edb0276862 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/RestorableSqlContainerPropertiesResourceContainer.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/RestorableSqlContainerPropertiesResourceContainer.cs
@@ -64,6 +64,9 @@ public RestorableSqlContainerPropertiesResourceContainer()
/// Materialized Views defined on the container.
///
+ /// Materialized Views Properties defined for source container.
+ ///
+
/// List of computed properties
///
@@ -73,6 +76,9 @@ public RestorableSqlContainerPropertiesResourceContainer()
/// The FullText policy for the container.
///
+ /// The Data Masking policy for the container.
+ ///
+
/// A system generated property. A unique identifier.
///
@@ -87,7 +93,7 @@ public RestorableSqlContainerPropertiesResourceContainer()
/// A system generated property that specifies the addressable path of the
/// container resource.
///
- public RestorableSqlContainerPropertiesResourceContainer(string id, IndexingPolicy indexingPolicy = default(IndexingPolicy), ContainerPartitionKey partitionKey = default(ContainerPartitionKey), int? defaultTtl = default(int?), UniqueKeyPolicy uniqueKeyPolicy = default(UniqueKeyPolicy), ConflictResolutionPolicy conflictResolutionPolicy = default(ConflictResolutionPolicy), ClientEncryptionPolicy clientEncryptionPolicy = default(ClientEncryptionPolicy), long? analyticalStorageTtl = default(long?), ResourceRestoreParameters restoreParameters = default(ResourceRestoreParameters), string createMode = default(string), MaterializedViewDefinition materializedViewDefinition = default(MaterializedViewDefinition), System.Collections.Generic.IList materializedViews = default(System.Collections.Generic.IList), System.Collections.Generic.IList computedProperties = default(System.Collections.Generic.IList), VectorEmbeddingPolicy vectorEmbeddingPolicy = default(VectorEmbeddingPolicy), FullTextPolicy fullTextPolicy = default(FullTextPolicy), string rid = default(string), double? ts = default(double?), string etag = default(string), string self = default(string))
+ public RestorableSqlContainerPropertiesResourceContainer(string id, IndexingPolicy indexingPolicy = default(IndexingPolicy), ContainerPartitionKey partitionKey = default(ContainerPartitionKey), int? defaultTtl = default(int?), UniqueKeyPolicy uniqueKeyPolicy = default(UniqueKeyPolicy), ConflictResolutionPolicy conflictResolutionPolicy = default(ConflictResolutionPolicy), ClientEncryptionPolicy clientEncryptionPolicy = default(ClientEncryptionPolicy), long? analyticalStorageTtl = default(long?), ResourceRestoreParameters restoreParameters = default(ResourceRestoreParameters), string createMode = default(string), MaterializedViewDefinition materializedViewDefinition = default(MaterializedViewDefinition), System.Collections.Generic.IList materializedViews = default(System.Collections.Generic.IList), MaterializedViewsProperties materializedViewsProperties = default(MaterializedViewsProperties), System.Collections.Generic.IList computedProperties = default(System.Collections.Generic.IList), VectorEmbeddingPolicy vectorEmbeddingPolicy = default(VectorEmbeddingPolicy), FullTextPolicy fullTextPolicy = default(FullTextPolicy), DataMaskingPolicy dataMaskingPolicy = default(DataMaskingPolicy), string rid = default(string), double? ts = default(double?), string etag = default(string), string self = default(string))
{
this.Id = id;
@@ -102,9 +108,11 @@ public RestorableSqlContainerPropertiesResourceContainer()
this.CreateMode = createMode;
this.MaterializedViewDefinition = materializedViewDefinition;
this.MaterializedViews = materializedViews;
+ this.MaterializedViewsProperties = materializedViewsProperties;
this.ComputedProperties = computedProperties;
this.VectorEmbeddingPolicy = vectorEmbeddingPolicy;
this.FullTextPolicy = fullTextPolicy;
+ this.DataMaskingPolicy = dataMaskingPolicy;
this.Rid = rid;
this.Ts = ts;
this.Etag = etag;
@@ -194,6 +202,12 @@ public RestorableSqlContainerPropertiesResourceContainer()
[Newtonsoft.Json.JsonProperty(PropertyName = "materializedViews")]
public System.Collections.Generic.IList MaterializedViews {get; set; }
+ ///
+ /// Gets or sets materialized Views Properties defined for source container.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "materializedViewsProperties")]
+ public MaterializedViewsProperties MaterializedViewsProperties {get; set; }
+
///
/// Gets or sets list of computed properties
///
@@ -212,6 +226,12 @@ public RestorableSqlContainerPropertiesResourceContainer()
[Newtonsoft.Json.JsonProperty(PropertyName = "fullTextPolicy")]
public FullTextPolicy FullTextPolicy {get; set; }
+ ///
+ /// Gets or sets the Data Masking policy for the container.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "dataMaskingPolicy")]
+ public DataMaskingPolicy DataMaskingPolicy {get; set; }
+
///
/// Gets a system generated property. A unique identifier.
///
@@ -275,6 +295,8 @@ public virtual void Validate()
+
+
}
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/SqlContainerGetPropertiesResource.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/SqlContainerGetPropertiesResource.cs
index de0b4057c84c..e88de81de598 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/SqlContainerGetPropertiesResource.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/SqlContainerGetPropertiesResource.cs
@@ -61,6 +61,9 @@ public SqlContainerGetPropertiesResource()
/// Materialized Views defined on the container.
///
+ /// Materialized Views Properties defined for source container.
+ ///
+
/// List of computed properties
///
@@ -70,6 +73,9 @@ public SqlContainerGetPropertiesResource()
/// The FullText policy for the container.
///
+ /// The Data Masking policy for the container.
+ ///
+
/// A system generated property. A unique identifier.
///
@@ -80,7 +86,7 @@ public SqlContainerGetPropertiesResource()
/// A system generated property representing the resource etag required for
/// optimistic concurrency control.
///
- public SqlContainerGetPropertiesResource(string id, IndexingPolicy indexingPolicy = default(IndexingPolicy), ContainerPartitionKey partitionKey = default(ContainerPartitionKey), int? defaultTtl = default(int?), UniqueKeyPolicy uniqueKeyPolicy = default(UniqueKeyPolicy), ConflictResolutionPolicy conflictResolutionPolicy = default(ConflictResolutionPolicy), ClientEncryptionPolicy clientEncryptionPolicy = default(ClientEncryptionPolicy), long? analyticalStorageTtl = default(long?), ResourceRestoreParameters restoreParameters = default(ResourceRestoreParameters), string createMode = default(string), MaterializedViewDefinition materializedViewDefinition = default(MaterializedViewDefinition), System.Collections.Generic.IList materializedViews = default(System.Collections.Generic.IList), System.Collections.Generic.IList computedProperties = default(System.Collections.Generic.IList), VectorEmbeddingPolicy vectorEmbeddingPolicy = default(VectorEmbeddingPolicy), FullTextPolicy fullTextPolicy = default(FullTextPolicy), string rid = default(string), double? ts = default(double?), string etag = default(string))
+ public SqlContainerGetPropertiesResource(string id, IndexingPolicy indexingPolicy = default(IndexingPolicy), ContainerPartitionKey partitionKey = default(ContainerPartitionKey), int? defaultTtl = default(int?), UniqueKeyPolicy uniqueKeyPolicy = default(UniqueKeyPolicy), ConflictResolutionPolicy conflictResolutionPolicy = default(ConflictResolutionPolicy), ClientEncryptionPolicy clientEncryptionPolicy = default(ClientEncryptionPolicy), long? analyticalStorageTtl = default(long?), ResourceRestoreParameters restoreParameters = default(ResourceRestoreParameters), string createMode = default(string), MaterializedViewDefinition materializedViewDefinition = default(MaterializedViewDefinition), System.Collections.Generic.IList materializedViews = default(System.Collections.Generic.IList), MaterializedViewsProperties materializedViewsProperties = default(MaterializedViewsProperties), System.Collections.Generic.IList computedProperties = default(System.Collections.Generic.IList), VectorEmbeddingPolicy vectorEmbeddingPolicy = default(VectorEmbeddingPolicy), FullTextPolicy fullTextPolicy = default(FullTextPolicy), DataMaskingPolicy dataMaskingPolicy = default(DataMaskingPolicy), string rid = default(string), double? ts = default(double?), string etag = default(string))
{
this.Id = id;
@@ -95,9 +101,11 @@ public SqlContainerGetPropertiesResource()
this.CreateMode = createMode;
this.MaterializedViewDefinition = materializedViewDefinition;
this.MaterializedViews = materializedViews;
+ this.MaterializedViewsProperties = materializedViewsProperties;
this.ComputedProperties = computedProperties;
this.VectorEmbeddingPolicy = vectorEmbeddingPolicy;
this.FullTextPolicy = fullTextPolicy;
+ this.DataMaskingPolicy = dataMaskingPolicy;
this.Rid = rid;
this.Ts = ts;
this.Etag = etag;
@@ -186,6 +194,12 @@ public SqlContainerGetPropertiesResource()
[Newtonsoft.Json.JsonProperty(PropertyName = "materializedViews")]
public System.Collections.Generic.IList MaterializedViews {get; set; }
+ ///
+ /// Gets or sets materialized Views Properties defined for source container.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "materializedViewsProperties")]
+ public MaterializedViewsProperties MaterializedViewsProperties {get; set; }
+
///
/// Gets or sets list of computed properties
///
@@ -204,6 +218,12 @@ public SqlContainerGetPropertiesResource()
[Newtonsoft.Json.JsonProperty(PropertyName = "fullTextPolicy")]
public FullTextPolicy FullTextPolicy {get; set; }
+ ///
+ /// Gets or sets the Data Masking policy for the container.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "dataMaskingPolicy")]
+ public DataMaskingPolicy DataMaskingPolicy {get; set; }
+
///
/// Gets a system generated property. A unique identifier.
///
@@ -259,6 +279,8 @@ public virtual void Validate()
+
+
}
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/SqlContainerResource.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/SqlContainerResource.cs
index bfaf01b0f919..7a1bcff286cb 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/SqlContainerResource.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/SqlContainerResource.cs
@@ -64,6 +64,9 @@ public SqlContainerResource()
/// Materialized Views defined on the container.
///
+ /// Materialized Views Properties defined for source container.
+ ///
+
/// List of computed properties
///
@@ -72,7 +75,10 @@ public SqlContainerResource()
/// The FullText policy for the container.
///
- public SqlContainerResource(string id, IndexingPolicy indexingPolicy = default(IndexingPolicy), ContainerPartitionKey partitionKey = default(ContainerPartitionKey), int? defaultTtl = default(int?), UniqueKeyPolicy uniqueKeyPolicy = default(UniqueKeyPolicy), ConflictResolutionPolicy conflictResolutionPolicy = default(ConflictResolutionPolicy), ClientEncryptionPolicy clientEncryptionPolicy = default(ClientEncryptionPolicy), long? analyticalStorageTtl = default(long?), ResourceRestoreParameters restoreParameters = default(ResourceRestoreParameters), string createMode = default(string), MaterializedViewDefinition materializedViewDefinition = default(MaterializedViewDefinition), System.Collections.Generic.IList materializedViews = default(System.Collections.Generic.IList), System.Collections.Generic.IList computedProperties = default(System.Collections.Generic.IList), VectorEmbeddingPolicy vectorEmbeddingPolicy = default(VectorEmbeddingPolicy), FullTextPolicy fullTextPolicy = default(FullTextPolicy))
+
+ /// The Data Masking policy for the container.
+ ///
+ public SqlContainerResource(string id, IndexingPolicy indexingPolicy = default(IndexingPolicy), ContainerPartitionKey partitionKey = default(ContainerPartitionKey), int? defaultTtl = default(int?), UniqueKeyPolicy uniqueKeyPolicy = default(UniqueKeyPolicy), ConflictResolutionPolicy conflictResolutionPolicy = default(ConflictResolutionPolicy), ClientEncryptionPolicy clientEncryptionPolicy = default(ClientEncryptionPolicy), long? analyticalStorageTtl = default(long?), ResourceRestoreParameters restoreParameters = default(ResourceRestoreParameters), string createMode = default(string), MaterializedViewDefinition materializedViewDefinition = default(MaterializedViewDefinition), System.Collections.Generic.IList materializedViews = default(System.Collections.Generic.IList), MaterializedViewsProperties materializedViewsProperties = default(MaterializedViewsProperties), System.Collections.Generic.IList computedProperties = default(System.Collections.Generic.IList), VectorEmbeddingPolicy vectorEmbeddingPolicy = default(VectorEmbeddingPolicy), FullTextPolicy fullTextPolicy = default(FullTextPolicy), DataMaskingPolicy dataMaskingPolicy = default(DataMaskingPolicy))
{
this.Id = id;
@@ -87,9 +93,11 @@ public SqlContainerResource()
this.CreateMode = createMode;
this.MaterializedViewDefinition = materializedViewDefinition;
this.MaterializedViews = materializedViews;
+ this.MaterializedViewsProperties = materializedViewsProperties;
this.ComputedProperties = computedProperties;
this.VectorEmbeddingPolicy = vectorEmbeddingPolicy;
this.FullTextPolicy = fullTextPolicy;
+ this.DataMaskingPolicy = dataMaskingPolicy;
CustomInit();
}
@@ -175,6 +183,12 @@ public SqlContainerResource()
[Newtonsoft.Json.JsonProperty(PropertyName = "materializedViews")]
public System.Collections.Generic.IList MaterializedViews {get; set; }
+ ///
+ /// Gets or sets materialized Views Properties defined for source container.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "materializedViewsProperties")]
+ public MaterializedViewsProperties MaterializedViewsProperties {get; set; }
+
///
/// Gets or sets list of computed properties
///
@@ -192,6 +206,12 @@ public SqlContainerResource()
///
[Newtonsoft.Json.JsonProperty(PropertyName = "fullTextPolicy")]
public FullTextPolicy FullTextPolicy {get; set; }
+
+ ///
+ /// Gets or sets the Data Masking policy for the container.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "dataMaskingPolicy")]
+ public DataMaskingPolicy DataMaskingPolicy {get; set; }
///
/// Validate the object.
///
@@ -226,6 +246,8 @@ public virtual void Validate()
+
+
}
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/ThroughputBucketResource.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/ThroughputBucketResource.cs
index e90e0d1392f9..ad3d41aedf49 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/ThroughputBucketResource.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/ThroughputBucketResource.cs
@@ -29,11 +29,15 @@ public ThroughputBucketResource()
/// Represents maximum percentage throughput that can be used by the bucket
///
- public ThroughputBucketResource(int id, int maxThroughputPercentage)
+
+ /// Indicates whether this is the default throughput bucket
+ ///
+ public ThroughputBucketResource(int id, int maxThroughputPercentage, bool? isDefaultBucket = default(bool?))
{
this.Id = id;
this.MaxThroughputPercentage = maxThroughputPercentage;
+ this.IsDefaultBucket = isDefaultBucket;
CustomInit();
}
@@ -55,6 +59,12 @@ public ThroughputBucketResource(int id, int maxThroughputPercentage)
///
[Newtonsoft.Json.JsonProperty(PropertyName = "maxThroughputPercentage")]
public int MaxThroughputPercentage {get; set; }
+
+ ///
+ /// Gets or sets indicates whether this is the default throughput bucket
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "isDefaultBucket")]
+ public bool? IsDefaultBucket {get; set; }
///
/// Validate the object.
///
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/ThroughputSettingsGetPropertiesResource.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/ThroughputSettingsGetPropertiesResource.cs
index dbe8a26d2d7e..98710ae53a85 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/ThroughputSettingsGetPropertiesResource.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/ThroughputSettingsGetPropertiesResource.cs
@@ -42,7 +42,7 @@ public ThroughputSettingsGetPropertiesResource()
/// autoscale) that can be specified
///
- /// Array of Throughput Bucket limits to be applied to the Cosmos DB container
+ /// Array of throughput bucket limits to be applied to the Cosmos DB container
///
/// A system generated property. A unique identifier.
@@ -118,7 +118,7 @@ public ThroughputSettingsGetPropertiesResource()
public string SoftAllowedMaximumThroughput {get; private set; }
///
- /// Gets or sets array of Throughput Bucket limits to be applied to the Cosmos
+ /// Gets or sets array of throughput bucket limits to be applied to the Cosmos
/// DB container
///
[Newtonsoft.Json.JsonProperty(PropertyName = "throughputBuckets")]
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/ThroughputSettingsResource.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/ThroughputSettingsResource.cs
index 727295008348..7374c42bb05f 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/ThroughputSettingsResource.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/ThroughputSettingsResource.cs
@@ -46,7 +46,7 @@ public ThroughputSettingsResource()
/// autoscale) that can be specified
///
- /// Array of Throughput Bucket limits to be applied to the Cosmos DB container
+ /// Array of throughput bucket limits to be applied to the Cosmos DB container
///
public ThroughputSettingsResource(int? throughput = default(int?), AutoscaleSettingsResource autoscaleSettings = default(AutoscaleSettingsResource), string minimumThroughput = default(string), string offerReplacePending = default(string), string instantMaximumThroughput = default(string), string softAllowedMaximumThroughput = default(string), System.Collections.Generic.IList throughputBuckets = default(System.Collections.Generic.IList))
@@ -108,7 +108,7 @@ public ThroughputSettingsResource()
public string SoftAllowedMaximumThroughput {get; private set; }
///
- /// Gets or sets array of Throughput Bucket limits to be applied to the Cosmos
+ /// Gets or sets array of throughput bucket limits to be applied to the Cosmos
/// DB container
///
[Newtonsoft.Json.JsonProperty(PropertyName = "throughputBuckets")]
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/VectorDataType.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/VectorDataType.cs
index 455cd4da0318..344a84815be5 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/VectorDataType.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/VectorDataType.cs
@@ -16,5 +16,6 @@ public static class VectorDataType
public const string Float32 = "float32";
public const string Uint8 = "uint8";
public const string Int8 = "int8";
+ public const string Float16 = "float16";
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/VectorEmbedding.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/VectorEmbedding.cs
index 8a3776afa276..842a525da679 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/VectorEmbedding.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/VectorEmbedding.cs
@@ -29,7 +29,7 @@ public VectorEmbedding()
///
/// Indicates the data type of vector.
- /// Possible values include: 'float32', 'uint8', 'int8'
+ /// Possible values include: 'float32', 'uint8', 'int8', 'float16'
/// The distance function to use for distance calculation in between vectors.
/// Possible values include: 'euclidean', 'cosine', 'dotproduct'
@@ -59,7 +59,7 @@ public VectorEmbedding(string path, string dataType, string distanceFunction, in
public string Path {get; set; }
///
- /// Gets or sets indicates the data type of vector. Possible values include: 'float32', 'uint8', 'int8'
+ /// Gets or sets indicates the data type of vector. Possible values include: 'float32', 'uint8', 'int8', 'float16'
///
[Newtonsoft.Json.JsonProperty(PropertyName = "dataType")]
public string DataType {get; set; }
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/VectorIndex.cs b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/VectorIndex.cs
index 084f3cec5920..fd4df54ab7f5 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/VectorIndex.cs
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/VectorIndex.cs
@@ -27,11 +27,30 @@ public VectorIndex()
/// The index type of the vector. Currently, flat, diskANN, and quantizedFlat
/// are supported.
/// Possible values include: 'flat', 'diskANN', 'quantizedFlat'
- public VectorIndex(string path, string type)
+
+ /// The number of bytes used in product quantization of the vectors. A larger
+ /// value may result in better recall for vector searches at the expense of
+ /// latency. This is only applicable for the quantizedFlat and diskANN vector
+ /// index types.
+ ///
+
+ /// This is the size of the candidate list of approximate neighbors stored
+ /// while building the DiskANN index as part of the optimization processes.
+ /// Large values may improve recall at the expense of latency. This is only
+ /// applicable for the diskANN vector index type.
+ ///
+
+ /// Array of shard keys for the vector index. This is only applicable for the
+ /// quantizedFlat and diskANN vector index types.
+ ///
+ public VectorIndex(string path, string type, long? quantizationByteSize = default(long?), long? indexingSearchListSize = default(long?), System.Collections.Generic.IList vectorIndexShardKey = default(System.Collections.Generic.IList))
{
this.Path = path;
this.Type = type;
+ this.QuantizationByteSize = quantizationByteSize;
+ this.IndexingSearchListSize = indexingSearchListSize;
+ this.VectorIndexShardKey = vectorIndexShardKey;
CustomInit();
}
@@ -53,6 +72,31 @@ public VectorIndex(string path, string type)
///
[Newtonsoft.Json.JsonProperty(PropertyName = "type")]
public string Type {get; set; }
+
+ ///
+ /// Gets or sets the number of bytes used in product quantization of the
+ /// vectors. A larger value may result in better recall for vector searches at
+ /// the expense of latency. This is only applicable for the quantizedFlat and
+ /// diskANN vector index types.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "quantizationByteSize")]
+ public long? QuantizationByteSize {get; set; }
+
+ ///
+ /// Gets or sets this is the size of the candidate list of approximate
+ /// neighbors stored while building the DiskANN index as part of the
+ /// optimization processes. Large values may improve recall at the expense of
+ /// latency. This is only applicable for the diskANN vector index type.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "indexingSearchListSize")]
+ public long? IndexingSearchListSize {get; set; }
+
+ ///
+ /// Gets or sets array of shard keys for the vector index. This is only
+ /// applicable for the quantizedFlat and diskANN vector index types.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "vectorIndexShardKey")]
+ public System.Collections.Generic.IList VectorIndexShardKey {get; set; }
///
/// Validate the object.
///
@@ -71,6 +115,25 @@ public virtual void Validate()
}
+ if (this.QuantizationByteSize != null)
+ {
+ if (this.QuantizationByteSize < 4)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMinimum, "QuantizationByteSize", 4);
+ }
+ }
+ if (this.IndexingSearchListSize != null)
+ {
+ if (this.IndexingSearchListSize > 500)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMaximum, "IndexingSearchListSize", 500);
+ }
+ if (this.IndexingSearchListSize < 25)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMinimum, "IndexingSearchListSize", 25);
+ }
+ }
+
}
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Management.Sdk/README.md b/src/CosmosDB/CosmosDB.Management.Sdk/README.md
index 113df45d50ab..3b9fbfe73366 100644
--- a/src/CosmosDB/CosmosDB.Management.Sdk/README.md
+++ b/src/CosmosDB/CosmosDB.Management.Sdk/README.md
@@ -27,23 +27,23 @@ title: CosmosDBManagementClient
###
``` yaml
commit: main
-apiversion: "2025-05-01-preview"
+apiversion: "2025-11-01-preview"
input-file:
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/cosmos-db.json
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/dataTransferService.json
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/managedCassandra.json
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/mongorbac.json
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/notebook.json
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/privateEndpointConnection.json
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/privateLinkResources.json
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/rbac.json
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/restorable.json
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/services.json
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/fleet.json
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/tablerbac.json
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/gremlinrbac.json
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/cassandrarbac.json
- - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/$(apiversion)/mongoMIrbac.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/cosmos-db.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/dataTransferService.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/managedCassandra.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/mongorbac.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/notebook.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/privateEndpointConnection.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/privateLinkResources.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/rbac.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/restorable.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/services.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/fleet.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/tablerbac.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/gremlinrbac.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/cassandrarbac.json
+ - https://github.com/Azure/azure-rest-api-specs/tree/$(commit)/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/$(apiversion)/mongoMIrbac.json
output-folder: Generated