/// <summary>
 /// Uploads a new host license file that was previously generated with Regutil.
 /// The content of the license is sent as a file embedded in the HTTP request.
 /// </summary>
 /// <remarks>
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='file'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <HostLicenseDto> UploadLicenseAsync(this IHostLicenses operations, Stream file, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.UploadLicenseWithHttpMessagesAsync(file, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Gets a single tenant license based on its id.
 /// </summary>
 /// <remarks>
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='tenantId'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <LicenseDto> GetTenantLicenseByTenantidAsync(this IHostLicenses operations, int tenantId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.GetTenantLicenseByTenantidWithHttpMessagesAsync(tenantId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Gets host licenses.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Administration or
 /// Administration.Read.
 ///
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='filter'>
 /// Filters the results, based on a Boolean condition.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 /// <param name='orderby'>
 /// Sorts the results.
 /// </param>
 /// <param name='top'>
 /// Returns only the first n results.
 /// </param>
 /// <param name='skip'>
 /// Skips the first n results.
 /// </param>
 /// <param name='count'>
 /// Includes a count of the matching results in the response.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ODataValueIEnumerableHostLicenseDto> GetAsync(this IHostLicenses operations, string expand = default(string), string filter = default(string), string select = default(string), string orderby = default(string), int?top = default(int?), int?skip = default(int?), bool?count = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(expand, filter, select, orderby, top, skip, count, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Пример #4
0
 /// <summary>
 /// Create the offline activation request for the host
 /// </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='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ODataValueOfString> GetLicenseOfflineAsync(this IHostLicenses operations, HostLicensesGetLicenseOfflineParameters body = default(HostLicensesGetLicenseOfflineParameters), string expand = default(string), string select = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetLicenseOfflineWithHttpMessagesAsync(body, expand, select, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Deactivate the license offline for the host
 /// </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='deactivateLicenseOfflineParameters'>
 /// GetDeactivateLicenseOffline action parameters
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ODataValueString> GetDeactivateLicenseOfflineAsync(this IHostLicenses operations, DeactivateLicenseOfflineParameters deactivateLicenseOfflineParameters = default(DeactivateLicenseOfflineParameters), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.GetDeactivateLicenseOfflineWithHttpMessagesAsync(deactivateLicenseOfflineParameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Пример #6
0
 /// <summary>
 /// Gets a single tenant license based on its id.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Administration or
 /// Administration.Read.
 ///
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='tenantId'>
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <LicenseDto> GetTenantLicenseByTenantidAsync(this IHostLicenses operations, int tenantId, string expand = default(string), string select = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetTenantLicenseByTenantidWithHttpMessagesAsync(tenantId, expand, select, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Gets a single host license based on its key.
 /// </summary>
 /// <remarks>
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <HostLicenseDto> GetByIdAsync(this IHostLicenses operations, long id, string expand = default(string), string select = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.GetByIdWithHttpMessagesAsync(id, expand, select, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Пример #8
0
 /// <summary>
 /// Uploads a new host license file that was previously generated with Regutil.
 /// The content of the license is sent as a file embedded in the HTTP request.
 /// </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='file'>
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <HostLicenseDto> UploadLicenseAsync(this IHostLicenses operations, Stream file, string expand = default(string), string select = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.UploadLicenseWithHttpMessagesAsync(file, expand, select, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <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();
 }
 /// <summary>
 /// Uploads a new host license file that was previously generated with Regutil.
 /// The content of the license is sent as a file embedded in the HTTP request.
 /// </summary>
 /// <remarks>
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='file'>
 /// </param>
 public static HostLicenseDto UploadLicense(this IHostLicenses operations, Stream file)
 {
     return(operations.UploadLicenseAsync(file).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Deletes a host license based on its key.
 /// </summary>
 /// <remarks>
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='ifMatch'>
 /// If-Match header
 /// </param>
 public static void DeleteById(this IHostLicenses operations, long id, string ifMatch = default(string))
 {
     operations.DeleteByIdAsync(id, ifMatch).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Update the license for the host
 /// </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>
 public static void UpdateLicenseOnline(this IHostLicenses operations)
 {
     operations.UpdateLicenseOnlineAsync().GetAwaiter().GetResult();
 }
 /// <summary>
 /// Activate the license for the host
 /// </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='activateLicenseParameters'>
 /// </param>
 public static void ActivateLicenseOnline(this IHostLicenses operations, ActivateLicenseParameters activateLicenseParameters = default(ActivateLicenseParameters))
 {
     operations.ActivateLicenseOnlineAsync(activateLicenseParameters).GetAwaiter().GetResult();
 }
Пример #14
0
 /// <summary>
 /// Uploads a new host license file that was previously generated with Regutil.
 /// The content of the license is sent as a file embedded in the HTTP request.
 /// </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='file'>
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 public static HostLicenseDto UploadLicense(this IHostLicenses operations, Stream file, string expand = default(string), string select = default(string))
 {
     return(operations.UploadLicenseAsync(file, expand, select).GetAwaiter().GetResult());
 }
Пример #15
0
 /// <summary>
 /// Update the license for the host
 /// </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='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task UpdateLicenseOnlineAsync(this IHostLicenses operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.UpdateLicenseOnlineWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Пример #16
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();
 }
Пример #17
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>
 public static void SetTenantLicense(this IHostLicenses operations, HostLicensesSetTenantLicenseParameters body = default(HostLicensesSetTenantLicenseParameters))
 {
     operations.SetTenantLicenseAsync(body).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Gets a single host license based on its key.
 /// </summary>
 /// <remarks>
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 public static HostLicenseDto GetById(this IHostLicenses operations, long id, string expand = default(string), string select = default(string))
 {
     return(operations.GetByIdAsync(id, expand, select).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Uploads a new offline license activation.
 /// The content of the license is sent as a file embedded in the HTTP request.
 /// </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='file'>
 /// </param>
 public static void ActivateLicenseOffline(this IHostLicenses operations, Stream file)
 {
     operations.ActivateLicenseOfflineAsync(file).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Gets a single tenant license based on its id.
 /// </summary>
 /// <remarks>
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='tenantId'>
 /// </param>
 public static LicenseDto GetTenantLicenseByTenantid(this IHostLicenses operations, int tenantId)
 {
     return(operations.GetTenantLicenseByTenantidAsync(tenantId).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Deletes a host license based on its key.
 /// </summary>
 /// <remarks>
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='ifMatch'>
 /// If-Match header
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteByIdAsync(this IHostLicenses operations, long id, string ifMatch = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     (await operations.DeleteByIdWithHttpMessagesAsync(id, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Deletes a tenant license based on its key.
 /// </summary>
 /// <remarks>
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='deleteTenantLicenseParameters'>
 /// </param>
 public static void DeleteTenantLicense(this IHostLicenses operations, DeleteTenantLicenseParameters deleteTenantLicenseParameters)
 {
     operations.DeleteTenantLicenseAsync(deleteTenantLicenseParameters).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Uploads a new offline license activation.
 /// The content of the license is sent as a file embedded in the HTTP request.
 /// </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='file'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ActivateLicenseOfflineAsync(this IHostLicenses operations, Stream file, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     (await operations.ActivateLicenseOfflineWithHttpMessagesAsync(file, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Пример #24
0
 /// <summary>
 /// Gets a single tenant license based on its id.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Administration or
 /// Administration.Read.
 ///
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='tenantId'>
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 public static LicenseDto GetTenantLicenseByTenantid(this IHostLicenses operations, int tenantId, string expand = default(string), string select = default(string))
 {
     return(operations.GetTenantLicenseByTenantidAsync(tenantId, expand, select).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Deactivate the license for the host
 /// </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='deactivateLicenseOnlineParameters'>
 /// DeactivateLicenseOnline action parameters
 /// </param>
 public static void DeactivateLicenseOnline(this IHostLicenses operations, DeactivateLicenseOnlineParameters deactivateLicenseOnlineParameters = default(DeactivateLicenseOnlineParameters))
 {
     operations.DeactivateLicenseOnlineAsync(deactivateLicenseOnlineParameters).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Deactivate the license for the host
 /// </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='deactivateLicenseOnlineParameters'>
 /// DeactivateLicenseOnline action parameters
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeactivateLicenseOnlineAsync(this IHostLicenses operations, DeactivateLicenseOnlineParameters deactivateLicenseOnlineParameters = default(DeactivateLicenseOnlineParameters), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     (await operations.DeactivateLicenseOnlineWithHttpMessagesAsync(deactivateLicenseOnlineParameters, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <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>
 /// Deactivate the license offline for the host
 /// </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='deactivateLicenseOfflineParameters'>
 /// GetDeactivateLicenseOffline action parameters
 /// </param>
 public static ODataValueString GetDeactivateLicenseOffline(this IHostLicenses operations, DeactivateLicenseOfflineParameters deactivateLicenseOfflineParameters = default(DeactivateLicenseOfflineParameters))
 {
     return(operations.GetDeactivateLicenseOfflineAsync(deactivateLicenseOfflineParameters).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Gets host licenses.
 /// </summary>
 /// <remarks>
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='filter'>
 /// Filters the results, based on a Boolean condition.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 /// <param name='orderby'>
 /// Sorts the results.
 /// </param>
 /// <param name='top'>
 /// Returns only the first n results.
 /// </param>
 /// <param name='skip'>
 /// Skips the first n results.
 /// </param>
 /// <param name='count'>
 /// Includes a count of the matching results in the response.
 /// </param>
 public static ODataResponseListHostLicenseDto GetHostLicenses(this IHostLicenses operations, string expand = default(string), string filter = default(string), string select = default(string), string orderby = default(string), int?top = default(int?), int?skip = default(int?), bool?count = default(bool?))
 {
     return(operations.GetHostLicensesAsync(expand, filter, select, orderby, top, skip, count).GetAwaiter().GetResult());
 }
Пример #30
0
 /// <summary>
 /// Create the offline activation request for the host
 /// </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='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 public static ODataValueOfString GetLicenseOffline(this IHostLicenses operations, HostLicensesGetLicenseOfflineParameters body = default(HostLicensesGetLicenseOfflineParameters), string expand = default(string), string select = default(string))
 {
     return(operations.GetLicenseOfflineAsync(body, expand, select).GetAwaiter().GetResult());
 }