/// <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> public static void SetTenantLicense(this IHostLicenses operations, SetTenantLicenseParameters setTenantLicenseParameters = default(SetTenantLicenseParameters)) { operations.SetTenantLicenseAsync(setTenantLicenseParameters).GetAwaiter().GetResult(); }
/// <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> public static void SetTenantLicense(this IHostLicenses operations, HostLicensesSetTenantLicenseParameters body = default(HostLicensesSetTenantLicenseParameters)) { operations.SetTenantLicenseAsync(body).GetAwaiter().GetResult(); }