/// <summary> /// Create a build /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='branch'> /// The branch name /// </param> /// <param name='ownerName'> /// The name of the owner /// </param> /// <param name='appName'> /// The name of the application /// </param> /// <param name='paramsParameter'> /// Parameters of the build /// </param> public static Build Create(this IBuilds operations, string branch, string ownerName, string appName, BuildParams paramsParameter = default(BuildParams)) { return(operations.CreateAsync(branch, ownerName, appName, paramsParameter).GetAwaiter().GetResult()); }