/// <summary> /// List all apps that are assigned to a hostname. /// </summary> /// <remarks> /// List all apps that are assigned to a hostname. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nameIdentifier'> /// Hostname information. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <Identifier> > ListSiteIdentifiersAssignedToHostNameAsync(this IWebSiteManagementClient operations, NameIdentifier nameIdentifier, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListSiteIdentifiersAssignedToHostNameWithHttpMessagesAsync(nameIdentifier, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }