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); }
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); }