Show / Hide Table of Contents

Class ServiceTaskSpecContainerSpecArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ServiceTaskSpecContainerSpecArgs
Inherited Members
ResourceArgs.Empty
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()
Namespace: Pulumi.Docker.Inputs
Assembly: Pulumi.Docker.dll
Syntax
public sealed class ServiceTaskSpecContainerSpecArgs : ResourceArgs

Constructors

View Source

ServiceTaskSpecContainerSpecArgs()

Declaration
public ServiceTaskSpecContainerSpecArgs()

Properties

View Source

Args

Arguments to the command.

Declaration
public InputList<string> Args { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Commands

The command to be run in the image.

Declaration
public InputList<string> Commands { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Configs

See Configs below for details.

Declaration
public InputList<ServiceTaskSpecContainerSpecConfigArgs> Configs { get; set; }
Property Value
Type Description
InputList<ServiceTaskSpecContainerSpecConfigArgs>
View Source

Dir

The working directory for commands to run in.

Declaration
public Input<string> Dir { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DnsConfig

See DNS Config below for details.

Declaration
public Input<ServiceTaskSpecContainerSpecDnsConfigArgs> DnsConfig { get; set; }
Property Value
Type Description
Input<ServiceTaskSpecContainerSpecDnsConfigArgs>
View Source

Env

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

Groups

A list of additional groups that the container process will run as.

Declaration
public InputList<string> Groups { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Healthcheck

See Healthcheck below for details.

Declaration
public Input<ServiceTaskSpecContainerSpecHealthcheckArgs> Healthcheck { get; set; }
Property Value
Type Description
Input<ServiceTaskSpecContainerSpecHealthcheckArgs>
View Source

Hostname

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

Hosts

Declaration
public InputList<ServiceTaskSpecContainerSpecHostArgs> Hosts { get; set; }
Property Value
Type Description
InputList<ServiceTaskSpecContainerSpecHostArgs>
View Source

Image

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

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

Labels

See Labels below for details.

Declaration
public InputList<ServiceTaskSpecContainerSpecLabelArgs> Labels { get; set; }
Property Value
Type Description
InputList<ServiceTaskSpecContainerSpecLabelArgs>
View Source

Mounts

See Mounts below for details.

Declaration
public InputList<ServiceTaskSpecContainerSpecMountArgs> Mounts { get; set; }
Property Value
Type Description
InputList<ServiceTaskSpecContainerSpecMountArgs>
View Source

Privileges

See Privileges below for details.

Declaration
public Input<ServiceTaskSpecContainerSpecPrivilegesArgs> Privileges { get; set; }
Property Value
Type Description
Input<ServiceTaskSpecContainerSpecPrivilegesArgs>
View Source

ReadOnly

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

Secrets

See Secrets below for details.

Declaration
public InputList<ServiceTaskSpecContainerSpecSecretArgs> Secrets { get; set; }
Property Value
Type Description
InputList<ServiceTaskSpecContainerSpecSecretArgs>
View Source

StopGracePeriod

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

StopSignal

Signal to stop the container.

Declaration
public Input<string> StopSignal { get; set; }
Property Value
Type Description
Input<System.String>
View Source

User

The user inside the container.

Declaration
public Input<string> User { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.