Aracılığıyla paylaş


AccountProperties.Id Property

Definition

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

[Newtonsoft.Json.JsonProperty(PropertyName="id")]
public string Id { get; }
[<Newtonsoft.Json.JsonProperty(PropertyName="id")>]
member this.Id : string
Public ReadOnly 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. Unlike ResourceId, which is set internally, this Id is settable by the user and is not immutable.

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

Applies to