Resource.SelfLink Property

Definition

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

C#
[Newtonsoft.Json.JsonProperty(PropertyName="_self")]
public string SelfLink { get; }

Property Value

The self-link associated with the resource.

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

A self-link is a static addressable Uri for each resource within a database account and follows the Azure Cosmos DB resource model. E.g. a self-link for a document could be dbs/db_resourceid/colls/coll_resourceid/documents/doc_resourceid

Applies to

Product Versions
Azure SDK for .NET Latest