Example #1
0
 public static MongoDBCollection GetMongoDBCollection(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         MongoDBCollection.ValidateResourceId(id);
         return new MongoDBCollection(client, id);
     }
                             ));
 }
 public static MongoDBCollection GetMongoDBCollection(this ArmClient armClient, ResourceIdentifier id)
 {
     MongoDBCollection.ValidateResourceId(id);
     return(new MongoDBCollection(armClient, id));
 }