-
Notifications
You must be signed in to change notification settings - Fork 260
/
DatabaseProperties.xml
208 lines (208 loc) · 10.9 KB
/
DatabaseProperties.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<Type Name="DatabaseProperties" FullName="Microsoft.Azure.Cosmos.DatabaseProperties">
<TypeSignature Language="C#" Value="public class DatabaseProperties" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit DatabaseProperties extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Azure.Cosmos.DatabaseProperties" />
<TypeSignature Language="VB.NET" Value="Public Class DatabaseProperties" />
<TypeSignature Language="F#" Value="type DatabaseProperties = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Cosmos.Client</AssemblyName>
<AssemblyVersion>3.36.0.0</AssemblyVersion>
<AssemblyVersion>3.38.1.0</AssemblyVersion>
<AssemblyVersion>3.39.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
Represents a database in the Azure Cosmos DB account.
</summary>
<remarks>
Each Azure Cosmos DB database account can have zero or more databases. A database in Azure Cosmos DB is a logical container for
document collections and users.
Refer to <see>https://docs.microsoft.com/azure/cosmos-db/databases-containers-items#databases</see> for more details on databases.
</remarks>
<example>
The example below creates a new Database with an Id property of 'MyDatabase'.
<code language="c#"><![CDATA[
using (CosmosClient client = new CosmosClient("connection string"))
{
DatabaseProperties db1 = await client.CreateDatabaseAsync("MyDatabase");
}
]]></code></example>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DatabaseProperties ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Azure.Cosmos.DatabaseProperties.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Cosmos.Client</AssemblyName>
<AssemblyVersion>3.39.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>
Initializes a new instance of the <see cref="T:Microsoft.Azure.Cosmos.DatabaseProperties" /> class for the Azure Cosmos DB service.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DatabaseProperties (string id);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string id) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Azure.Cosmos.DatabaseProperties.#ctor(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (id As String)" />
<MemberSignature Language="F#" Value="new Microsoft.Azure.Cosmos.DatabaseProperties : string -> Microsoft.Azure.Cosmos.DatabaseProperties" Usage="new Microsoft.Azure.Cosmos.DatabaseProperties id" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Cosmos.Client</AssemblyName>
<AssemblyVersion>3.39.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="id" Type="System.String" />
</Parameters>
<Docs>
<param name="id">The Id of the resource in the Azure Cosmos service.</param>
<summary>
Initializes a new instance of the <see cref="T:Microsoft.Azure.Cosmos.DatabaseProperties" /> class for the Azure Cosmos DB service.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ETag">
<MemberSignature Language="C#" Value="public string ETag { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string ETag" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Cosmos.DatabaseProperties.ETag" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property ETag As String" />
<MemberSignature Language="F#" Value="member this.ETag : string" Usage="Microsoft.Azure.Cosmos.DatabaseProperties.ETag" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Cosmos.Client</AssemblyName>
<AssemblyVersion>3.39.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="_etag")]</AttributeName>
<AttributeName Language="F#">[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="_etag")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets the entity tag associated with the resource from the Azure Cosmos DB service.
</summary>
<value>
The entity tag associated with the resource.
</value>
<remarks>
ETags are used for concurrency checking when updating resources.
</remarks>
</Docs>
</Member>
<Member MemberName="Id">
<MemberSignature Language="C#" Value="public string Id { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Id" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Cosmos.DatabaseProperties.Id" />
<MemberSignature Language="VB.NET" Value="Public Property Id As String" />
<MemberSignature Language="F#" Value="member this.Id : string with get, set" Usage="Microsoft.Azure.Cosmos.DatabaseProperties.Id" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Cosmos.Client</AssemblyName>
<AssemblyVersion>3.39.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Newtonsoft.Json.JsonProperty(PropertyName="id")]</AttributeName>
<AttributeName Language="F#">[<Newtonsoft.Json.JsonProperty(PropertyName="id")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the Id of the resource in the Azure Cosmos DB service.
</summary>
<value>The Id associated with the resource.</value>
<remarks>
<para>
Every resource within an Azure Cosmos DB database account needs to have a unique identifier.
</para>
<para>
The following characters are restricted and cannot be used in the Id property:
'/', '\\', '?', '#'
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="LastModified">
<MemberSignature Language="C#" Value="public DateTime? LastModified { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Nullable`1<valuetype System.DateTime> LastModified" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Cosmos.DatabaseProperties.LastModified" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property LastModified As Nullable(Of DateTime)" />
<MemberSignature Language="F#" Value="member this.LastModified : Nullable<DateTime>" Usage="Microsoft.Azure.Cosmos.DatabaseProperties.LastModified" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Cosmos.Client</AssemblyName>
<AssemblyVersion>3.39.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Documents.UnixDateTimeConverter))]</AttributeName>
<AttributeName Language="F#">[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Documents.UnixDateTimeConverter))>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="_ts")]</AttributeName>
<AttributeName Language="F#">[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="_ts")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Nullable<System.DateTime></ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets the last modified time stamp associated with <see cref="T:Microsoft.Azure.Cosmos.DatabaseProperties" /> from the Azure Cosmos DB service.
</summary>
<value>The last modified time stamp associated with the resource.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SelfLink">
<MemberSignature Language="C#" Value="public string SelfLink { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string SelfLink" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Cosmos.DatabaseProperties.SelfLink" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property SelfLink As String" />
<MemberSignature Language="F#" Value="member this.SelfLink : string" Usage="Microsoft.Azure.Cosmos.DatabaseProperties.SelfLink" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Cosmos.Client</AssemblyName>
<AssemblyVersion>3.39.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="_self")]</AttributeName>
<AttributeName Language="F#">[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="_self")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets the self-link associated with the resource from the Azure Cosmos DB service.
</summary>
<value>The self-link associated with the resource.</value>
<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
</remarks>
</Docs>
</Member>
</Members>
</Type>