/// <summary> /// Asynchronously gets setup information for the current <see cref= /// "Application"/>. /// </summary> /// <returns> /// An object containing setup information for the current <see cref= /// "Application"/>. /// </returns> /// <remarks> /// This method uses the <a href="http://goo.gl/mUT9gU">GET /// apps/local/{name}/setup</a> endpoint to construct the <see cref= /// "ApplicationSetupInfo"/> instance it returns. /// </remarks> public async Task <ApplicationSetupInfo> GetSetupInfoAsync() { var resource = new ApplicationSetupInfo(this.Context, this.Namespace, this.Name); await resource.GetAsync(); return(resource); }
/// <summary> /// Asynchronously retrieves update information for an <see cref= /// "Application"/>. /// </summary> /// <param name="name"> /// Name of the application for which to retrieve update information. /// </param> /// <returns> /// An object representing the update information retrieved. /// </returns> /// <remarks> /// This method uses the <a href="http://goo.gl/SzKzNX">GET /// apps/local/{name}/setup</a> endpoint to construct the <see cref= /// "ApplicationUpdateInfo"/> object it returns. /// </remarks> public async Task<ApplicationSetupInfo> GetApplicationUpdateInfoAsync(string name) { var resource = new ApplicationSetupInfo(this.Context, this.Namespace, name); await resource.GetAsync(); return resource; }