Example #1
0
 /// <summary>
 /// Creates or updates the rollout details.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='providerNamespace'>
 /// The name of the resource provider hosted within ProviderHub.
 /// </param>
 /// <param name='rolloutName'>
 /// The rollout name.
 /// </param>
 /// <param name='properties'>
 /// Properties of the rollout.
 /// </param>
 public static DefaultRollout BeginCreateOrUpdate(this IDefaultRolloutsOperations operations, string providerNamespace, string rolloutName, DefaultRolloutPropertiesModel properties = default(DefaultRolloutPropertiesModel))
 {
     return(operations.BeginCreateOrUpdateAsync(providerNamespace, rolloutName, properties).GetAwaiter().GetResult());
 }