Пример #1
0
        public override async Task <ICosmosDBAccount> RefreshAsync(CancellationToken cancellation = default(CancellationToken))
        {
            await base.RefreshAsync(cancellation);

            this.sqlDatabases       = new SqlDatabasesImpl(this);
            this.mongoDBs           = new MongoDBsImpl(this);
            this.cassandraKeyspaces = new CassandraKeyspacesImpl(this);
            this.gremlinDatabases   = new GremlinDatabasesImpl(this);
            this.tables             = new TablesImpl(this);
            return(this);
        }
Пример #2
0
 internal CosmosDBAccountImpl(string name, Models.DatabaseAccountGetResultsInner innerObject, ICosmosDBManager manager) :
     base(name, innerObject, manager)
 {
     this.failoverPolicies           = new List <Models.FailoverPolicy>();
     this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
     this.sqlDatabases       = new SqlDatabasesImpl(this);
     this.mongoDBs           = new MongoDBsImpl(this);
     this.cassandraKeyspaces = new CassandraKeyspacesImpl(this);
     this.gremlinDatabases   = new GremlinDatabasesImpl(this);
     this.tables             = new TablesImpl(this);
 }