/// <summary>
 /// Sets the license for a specific tenant
 /// </summary>
 /// <remarks>
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='setTenantLicenseParameters'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task SetTenantLicenseAsync(this IHostLicenses operations, SetTenantLicenseParameters setTenantLicenseParameters = default(SetTenantLicenseParameters), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     (await operations.SetTenantLicenseWithHttpMessagesAsync(setTenantLicenseParameters, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
예제 #2
0
 /// <summary>
 /// Sets the license for a specific tenant
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Administration or
 /// Administration.Write.
 ///
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task SetTenantLicenseAsync(this IHostLicenses operations, HostLicensesSetTenantLicenseParameters body = default(HostLicensesSetTenantLicenseParameters), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.SetTenantLicenseWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }