/// <summary> /// Asynchronously creates an application from an application template. /// </summary> /// <param name="name"> /// Name of the application to create. /// </param> /// <returns> /// An object representing the application created. /// </returns> /// <remarks> /// This method uses the <a href="http://goo.gl/SzKzNX">POST /// apps/local</a> endpoint to construct the <see cref= /// "Application"/> object it returns. /// </remarks> public async Task<Application> CreateApplicationAsync(string name, string template, ApplicationAttributes attributes = null) { var resource = new Application(this.Context, this.Namespace, name); await resource.CreateAsync(template, attributes); return resource; }