ShardingProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The sharding properties of the cluster. This includes the shard count and scaling options for the cluster.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.ShardingPropertiesTypeConverter))]
public class ShardingProperties : Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.IShardingProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.ShardingPropertiesTypeConverter))>]
type ShardingProperties = class
interface IShardingProperties
interface IJsonSerializable
Public Class ShardingProperties
Implements IShardingProperties
- Inheritance
-
ShardingProperties
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ShardingProperties() |
Creates an new ShardingProperties instance. |
Properties
| Name | Description |
|---|---|
| ShardCount |
Number of shards to provision on the cluster. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ShardingProperties. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ShardingProperties. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.IShardingProperties. |
| FromJsonString(String) |
Creates a new instance of ShardingProperties, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ShardingProperties into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |