Пример #1
0
 public PSTaskContainerSettings(string imageName, string containerRunOptions = null, PSContainerRegistry registry = default(PSContainerRegistry), System.Nullable <Microsoft.Azure.Batch.Common.ContainerWorkingDirectory> workingDirectory = null)
 {
     Microsoft.Azure.Batch.ContainerRegistry registryOmObject = null;
     if ((registry != null))
     {
         registryOmObject = registry.omObject;
     }
     this.omObject = new Microsoft.Azure.Batch.TaskContainerSettings(imageName, containerRunOptions, registryOmObject, workingDirectory);
 }
Пример #2
0
 public PSTaskContainerSettings(string imageName, string containerRunOptions = null, PSContainerRegistry registry = default(PSContainerRegistry))
 {
     Microsoft.Azure.Batch.ContainerRegistry registryOmObject = null;
     if ((registry != null))
     {
         registryOmObject = registry.omObject;
     }
     this.omObject = new Microsoft.Azure.Batch.TaskContainerSettings(imageName, containerRunOptions, registryOmObject);
 }