다음을 통해 공유


PartitionKeyRange Class

Definition

Represents a partition key range in the Azure Cosmos DB service.

public sealed class PartitionKeyRange : Microsoft.Azure.Documents.Resource, IEquatable<Microsoft.Azure.Documents.PartitionKeyRange>
type PartitionKeyRange = class
    inherit Resource
    interface IEquatable<PartitionKeyRange>
Public NotInheritable Class PartitionKeyRange
Inherits Resource
Implements IEquatable(Of PartitionKeyRange)
Inheritance
PartitionKeyRange
Implements

Constructors

PartitionKeyRange()

Properties

AltLink

Gets the alt-link associated with the resource from the Azure Cosmos DB service.

(Inherited from Resource)
ETag

Gets the entity tag associated with the resource from the Azure Cosmos DB service.

(Inherited from Resource)
Id

Gets or sets the Id of the resource in the Azure Cosmos DB service.

(Inherited from Resource)
Parents

Contains ids or parent ranges in the Azure Cosmos DB service. For example if range with id '1' splits into '2' and '3', then Parents for ranges '2' and '3' will be ['1']. If range '3' splits into '4' and '5', then parents for ranges '4' and '5' will be ['1', '3'].

ResourceId

Gets or sets the Resource Id associated with the resource in the Azure Cosmos DB service.

(Inherited from Resource)
SelfLink

Gets the self-link associated with the resource from the Azure Cosmos DB service.

(Inherited from Resource)
Timestamp

Gets the last modified timestamp associated with the resource from the Azure Cosmos DB service.

(Inherited from Resource)

Methods

Equals(Object)

Determines whether this instance in the Azure Cosmos DB service and a specified object have the same value.

Equals(PartitionKeyRange)

Determines whether this instance in the Azure Cosmos DB service and a specified PartitionKeyRange object have the same value.

GetHashCode()

Returns the hash code for this instance in the Azure Cosmos DB service.

GetPropertyValue<T>(String)

Gets property value associated with the specified property name from the Azure Cosmos DB service.

(Inherited from Resource)
LoadFrom(JsonReader, JsonSerializerSettings)

Loads the object from the specified JSON reader in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
LoadFrom(JsonReader)

Loads the object from the specified JSON reader in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
SaveTo(Stream, SerializationFormattingPolicy, JsonSerializerSettings)

Saves the object to the specified stream in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
SaveTo(Stream, SerializationFormattingPolicy)

Saves the object to the specified stream in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
SetPropertyValue(String, Object)

Sets property value associated with the specified property name in the Azure Cosmos DB service.

(Inherited from Resource)
ToByteArray()

Serialize to a byte array via SaveTo for the Azure Cosmos DB service.

(Inherited from Resource)
ToString()

Returns the string representation of the object in the Azure Cosmos DB service.

(Inherited from JsonSerializable)

Applies to