コード例 #1
0
 /// <summary>
 /// Link azure subscription to an app
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='ownerName'>
 /// The name of the owner
 /// </param>
 /// <param name='appName'>
 /// The name of the application
 /// </param>
 /// <param name='azureSubscriptionToAppData'>
 /// The azure subscription data needed to be link to the app.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task LinkForAppAsync(this IAzureSubscription operations, string ownerName, string appName, AzureSubscriptionAddToAppRequest azureSubscriptionToAppData, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.LinkForAppWithHttpMessagesAsync(ownerName, appName, azureSubscriptionToAppData, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }