Share via


Resource.ResourceId Property

Definition

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

[Newtonsoft.Json.JsonProperty(PropertyName="_rid")]
public virtual string ResourceId { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="_rid")>]
member this.ResourceId : string with get, set
Public Overridable Property ResourceId As String

Property Value

The Resource Id associated with the resource.

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

A Resource Id is the unique, immutable, identifier assigned to each Azure Cosmos DB resource whether that is a database, a collection or a document. These resource ids are used when building up SelfLinks, a static addressable Uri for each resource within a database account.

Applies to