/// <summary>
 /// Create or update delegated provider configuration.  (see
 /// http://msdn.microsoft.com/en-us/library/windowsazure/XXXXX.aspx
 /// for more information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.AzureStack.Management.IDelegatedProviderConfigurationOperations.
 /// </param>
 /// <param name='parameters'>
 /// Required. The create or update result of delegated provider
 /// configuration operation.
 /// </param>
 /// <returns>
 /// The create or update result of delegated provider configuration
 /// operation.
 /// </returns>
 public static DelegatedProviderConfigurationOperationsCreateOrUpdateResult CreateOrUpdate(this IDelegatedProviderConfigurationOperations operations, DelegatedProviderConfigurationOperationsCreateOrUpdateParameters parameters)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((IDelegatedProviderConfigurationOperations)s).CreateOrUpdateAsync(parameters);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
 /// <summary>
 /// Create or update delegated provider configuration.  (see
 /// http://msdn.microsoft.com/en-us/library/windowsazure/XXXXX.aspx
 /// for more information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.AzureStack.Management.IDelegatedProviderConfigurationOperations.
 /// </param>
 /// <param name='parameters'>
 /// Required. The create or update result of delegated provider
 /// configuration operation.
 /// </param>
 /// <returns>
 /// The create or update result of delegated provider configuration
 /// operation.
 /// </returns>
 public static Task<DelegatedProviderConfigurationOperationsCreateOrUpdateResult> CreateOrUpdateAsync(this IDelegatedProviderConfigurationOperations operations, DelegatedProviderConfigurationOperationsCreateOrUpdateParameters parameters)
 {
     return operations.CreateOrUpdateAsync(parameters, CancellationToken.None);
 }