コード例 #1
0
 /// <summary>
 /// Adds a new Application to the Zapappi subscription
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='subscriptionId'>
 /// </param>
 /// <param name='name'>
 /// </param>
 /// <param name='description'>
 /// </param>
 /// <param name='enabled'>
 /// </param>
 /// <param name='scriptBody'>
 /// </param>
 /// <param name='scriptUrl'>
 /// </param>
 public static string AddApplication(this IApplications operations, string subscriptionId, string name, string description, bool enabled, string scriptBody, string scriptUrl)
 {
     return(operations.AddApplicationAsync(subscriptionId, name, description, enabled, scriptBody, scriptUrl).GetAwaiter().GetResult());
 }