示例#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);
 }