Class ServiceTaskSpecContainerSpecArgs
Inheritance
System.Object
ServiceTaskSpecContainerSpecArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.Docker.dll
public sealed class ServiceTaskSpecContainerSpecArgs : ResourceArgs
Constructors
View Source
Declaration
public ServiceTaskSpecContainerSpecArgs()
Properties
View Source
Arguments to the command.
Declaration
public InputList<string> Args { get; set; }
Property Value
View Source
The command to be run in the image.
Declaration
public InputList<string> Commands { get; set; }
Property Value
View Source
See Configs below for details.
Declaration
public InputList<ServiceTaskSpecContainerSpecConfigArgs> Configs { get; set; }
Property Value
View Source
The working directory for commands to run in.
Declaration
public Input<string> Dir { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
See DNS Config below for details.
Declaration
public Input<ServiceTaskSpecContainerSpecDnsConfigArgs> DnsConfig { get; set; }
Property Value
View Source
A list of environment variables in the form VAR=value.
Declaration
public InputMap<string> Env { get; set; }
Property Value
| Type |
Description |
| InputMap<System.String> |
|
View Source
A list of additional groups that the container process will run as.
Declaration
public InputList<string> Groups { get; set; }
Property Value
View Source
See Healthcheck below for details.
Declaration
public Input<ServiceTaskSpecContainerSpecHealthcheckArgs> Healthcheck { get; set; }
Property Value
View Source
The hostname to use for the container, as a valid RFC 1123 hostname.
Declaration
public Input<string> Hostname { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Declaration
public InputList<ServiceTaskSpecContainerSpecHostArgs> Hosts { get; set; }
Property Value
View Source
The image used to create the Docker service.
Declaration
public Input<string> Image { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Isolation technology of the containers running the service. (Windows only). Valid values are: default|process|hyperv
Declaration
public Input<string> Isolation { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
See Labels below for details.
Declaration
public InputList<ServiceTaskSpecContainerSpecLabelArgs> Labels { get; set; }
Property Value
View Source
See Mounts below for details.
Declaration
public InputList<ServiceTaskSpecContainerSpecMountArgs> Mounts { get; set; }
Property Value
View Source
See Privileges below for details.
Declaration
public Input<ServiceTaskSpecContainerSpecPrivilegesArgs> Privileges { get; set; }
Property Value
View Source
Mount the container's root filesystem as read only.
Declaration
public Input<bool> ReadOnly { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
See Secrets below for details.
Declaration
public InputList<ServiceTaskSpecContainerSpecSecretArgs> Secrets { get; set; }
Property Value
View Source
Amount of time to wait for the container to terminate before forcefully removing it (ms|s|m|h).
Declaration
public Input<string> StopGracePeriod { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Signal to stop the container.
Declaration
public Input<string> StopSignal { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
The user inside the container.
Declaration
public Input<string> User { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|