DatabaseProperties.Id Property

Definition

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

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

Property Value

The Id associated with the resource.

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

Every resource within an Azure Cosmos DB database account needs to have a unique identifier.

The following characters are restricted and cannot be used in the Id property: '/', '\\', '?', '#'

Applies to