/// <summary> /// Initializes a new instance of the ContainerGroupInner class. /// </summary> /// <param name="containers">The containers within the container /// group.</param> /// <param name="osType">The operating system type required by the /// containers in the container group. Possible values include: /// 'Windows', 'Linux'</param> /// <param name="provisioningState">The provisioning state of the /// container group. This only appears in the response.</param> /// <param name="imageRegistryCredentials">The image registry /// credentials by which the container group is created from.</param> /// <param name="restartPolicy">Restart policy for all containers /// within the container group. /// - `Always` Always restart /// - `OnFailure` Restart on failure /// - `Never` Never restart /// . Possible values include: 'Always', 'OnFailure', 'Never'</param> /// <param name="ipAddress">The IP address type of the container /// group.</param> /// <param name="volumes">The list of volumes that can be mounted by /// containers in this container group.</param> /// <param name="instanceView">The instance view of the container /// group. Only valid in response.</param> /// <param name="diagnostics">The diagnostic information for a /// container group.</param> public ContainerGroupInner(IList <Container> containers, string osType, string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string provisioningState = default(string), IList <ImageRegistryCredential> imageRegistryCredentials = default(IList <ImageRegistryCredential>), string restartPolicy = default(string), IpAddress ipAddress = default(IpAddress), IList <Volume> volumes = default(IList <Volume>), ContainerGroupPropertiesInstanceView instanceView = default(ContainerGroupPropertiesInstanceView), ContainerGroupDiagnostics diagnostics = default(ContainerGroupDiagnostics)) : base(location, id, name, type, tags) { ProvisioningState = provisioningState; Containers = containers; ImageRegistryCredentials = imageRegistryCredentials; RestartPolicy = restartPolicy; IpAddress = ipAddress; OsType = osType; Volumes = volumes; InstanceView = instanceView; Diagnostics = diagnostics; CustomInit(); }