internal PSAutoUserSpecification(Microsoft.Azure.Batch.AutoUserSpecification omObject)
 {
     if ((omObject == null))
     {
         throw new System.ArgumentNullException("omObject");
     }
     this.omObject = omObject;
 }
 public PSAutoUserSpecification(System.Nullable <Microsoft.Azure.Batch.Common.AutoUserScope> scope = null, System.Nullable <Microsoft.Azure.Batch.Common.ElevationLevel> elevationLevel = null)
 {
     this.omObject = new Microsoft.Azure.Batch.AutoUserSpecification(scope, elevationLevel);
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserIdentity"/> class.
 /// </summary>
 /// <param name="autoUserSpecification">The auto user under which the task is run.</param>
 public UserIdentity(AutoUserSpecification autoUserSpecification)
 {
     this.AutoUser = autoUserSpecification;
 }