/// <summary>
 /// Your documentation here.  (see
 /// http://msdn.microsoft.com/en-us/library/windowsazure/XXXXX.aspx
 /// for more information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the Microsoft.AzureStack.Management.ICloudOperations.
 /// </param>
 /// <param name='parameters'>
 /// Required. Your documentation here.
 /// </param>
 /// <returns>
 /// Your documentation here.
 /// </returns>
 public static CloudCreateOrUpdateResult CreateOrUpdate(this ICloudOperations operations, CloudCreateOrUpdateParameters parameters)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((ICloudOperations)s).CreateOrUpdateAsync(parameters);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
 /// <summary>
 /// Your documentation here.  (see
 /// http://msdn.microsoft.com/en-us/library/windowsazure/XXXXX.aspx
 /// for more information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the Microsoft.AzureStack.Management.ICloudOperations.
 /// </param>
 /// <param name='parameters'>
 /// Required. Your documentation here.
 /// </param>
 /// <returns>
 /// Your documentation here.
 /// </returns>
 public static Task<CloudCreateOrUpdateResult> CreateOrUpdateAsync(this ICloudOperations operations, CloudCreateOrUpdateParameters parameters)
 {
     return operations.CreateOrUpdateAsync(parameters, CancellationToken.None);
 }