public static void Main(string[] args)
        {
            var arguments = new ProvisioningArgument();
            var isValid   = CommandLine.Parser.Default.ParseArgumentsStrict(args, arguments);

            if (isValid)
            {
                try
                {
                    var provisioning = new Provisioning(arguments);
                    provisioning.CreateAsync().Wait();
                }
                catch (AggregateException ex)
                {
                    Console.WriteLine($"Error during creation of the Collection {arguments.CollectionName} on database {arguments.DatabaseId}:");
                    Console.WriteLine(ex.GetaAllMessages());
                }
            }
        }
 public Provisioning(ProvisioningArgument args)
 {
     _args   = args;
     _client = new DocumentClient(new Uri(args.EndpointUri), args.AccessKey);
 }