Esempio n. 1
0
 /// <summary>
 /// Authorize a partner.
 /// </summary>
 /// <remarks>
 /// Authorize a single partner either by partner registration immutable Id or
 /// by partner name.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group within the user's subscription.
 /// </param>
 /// <param name='partnerInfo'>
 /// The information of the partner to be authorized.
 /// </param>
 public static PartnerConfiguration AuthorizePartner(this IPartnerConfigurationsOperations operations, string resourceGroupName, Partner partnerInfo)
 {
     return(operations.AuthorizePartnerAsync(resourceGroupName, partnerInfo).GetAwaiter().GetResult());
 }