/// <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> public static void LinkForApp(this IAzureSubscription operations, string ownerName, string appName, AzureSubscriptionAddToAppRequest azureSubscriptionToAppData) { operations.LinkForAppAsync(ownerName, appName, azureSubscriptionToAppData).GetAwaiter().GetResult(); }