/// <summary>
 /// Get the Container App AuthConfigs in a given resource group.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='containerAppName'>
 /// Name of the Container App.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <AuthConfig> > ListByContainerAppAsync(this IContainerAppsAuthConfigsOperations operations, string resourceGroupName, string containerAppName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByContainerAppWithHttpMessagesAsync(resourceGroupName, containerAppName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Get the Container App AuthConfigs in a given resource group.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <AuthConfig> > ListByContainerAppNextAsync(this IContainerAppsAuthConfigsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByContainerAppNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Create or update the AuthConfig for a Container App.
 /// </summary>
 /// <remarks>
 /// Description for Create or update the AuthConfig for a Container App.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='containerAppName'>
 /// Name of the Container App.
 /// </param>
 /// <param name='name'>
 /// Name of the Container App AuthConfig.
 /// </param>
 /// <param name='authConfigEnvelope'>
 /// Properties used to create a Container App AuthConfig
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <AuthConfig> CreateOrUpdateAsync(this IContainerAppsAuthConfigsOperations operations, string resourceGroupName, string containerAppName, string name, AuthConfig authConfigEnvelope, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, containerAppName, name, authConfigEnvelope, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Get a AuthConfig of a Container App.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='containerAppName'>
 /// Name of the Container App.
 /// </param>
 /// <param name='name'>
 /// Name of the Container App AuthConfig.
 /// </param>
 public static AuthConfig Get(this IContainerAppsAuthConfigsOperations operations, string resourceGroupName, string containerAppName, string name)
 {
     return(operations.GetAsync(resourceGroupName, containerAppName, name).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Get the Container App AuthConfigs in a given resource group.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='containerAppName'>
 /// Name of the Container App.
 /// </param>
 public static IPage <AuthConfig> ListByContainerApp(this IContainerAppsAuthConfigsOperations operations, string resourceGroupName, string containerAppName)
 {
     return(operations.ListByContainerAppAsync(resourceGroupName, containerAppName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Get the Container App AuthConfigs in a given resource group.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 public static IPage <AuthConfig> ListByContainerAppNext(this IContainerAppsAuthConfigsOperations operations, string nextPageLink)
 {
     return(operations.ListByContainerAppNextAsync(nextPageLink).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Delete a Container App AuthConfig.
 /// </summary>
 /// <remarks>
 /// Description for Delete a Container App AuthConfig.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='containerAppName'>
 /// Name of the Container App.
 /// </param>
 /// <param name='name'>
 /// Name of the Container App AuthConfig.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteAsync(this IContainerAppsAuthConfigsOperations operations, string resourceGroupName, string containerAppName, string name, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, containerAppName, name, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Delete a Container App AuthConfig.
 /// </summary>
 /// <remarks>
 /// Description for Delete a Container App AuthConfig.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='containerAppName'>
 /// Name of the Container App.
 /// </param>
 /// <param name='name'>
 /// Name of the Container App AuthConfig.
 /// </param>
 public static void Delete(this IContainerAppsAuthConfigsOperations operations, string resourceGroupName, string containerAppName, string name)
 {
     operations.DeleteAsync(resourceGroupName, containerAppName, name).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Create or update the AuthConfig for a Container App.
 /// </summary>
 /// <remarks>
 /// Description for Create or update the AuthConfig for a Container App.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='containerAppName'>
 /// Name of the Container App.
 /// </param>
 /// <param name='name'>
 /// Name of the Container App AuthConfig.
 /// </param>
 /// <param name='authConfigEnvelope'>
 /// Properties used to create a Container App AuthConfig
 /// </param>
 public static AuthConfig CreateOrUpdate(this IContainerAppsAuthConfigsOperations operations, string resourceGroupName, string containerAppName, string name, AuthConfig authConfigEnvelope)
 {
     return(operations.CreateOrUpdateAsync(resourceGroupName, containerAppName, name, authConfigEnvelope).GetAwaiter().GetResult());
 }