Interface IWithDefaultTtl<ParentT>
- Namespace
- Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
The stage of a SQL container definition allowing to set default ttl.
public interface IWithDefaultTtl<ParentT>
Type Parameters
ParentT
The stage of the parent definition to return to after attaching this definition.
Methods
WithDefaultTtl(int)
Specifies the default time to live.
IWithAttach<ParentT> WithDefaultTtl(int ttl)
Parameters
ttl
intThe default time to live.
Returns
- IWithAttach<ParentT>
The next stage of the definition.