docker

package
v4.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 11

Documentation

Overview

A Pulumi package for interacting with Docker in Pulumi programs

Index

Constants

View Source
const (
	// The first generation builder for Docker Daemon
	BuilderVersionBuilderV1 = BuilderVersion("BuilderV1")
	// The builder based on moby/buildkit project
	BuilderVersionBuilderBuildKit = BuilderVersion("BuilderBuildKit")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BuilderVersion

type BuilderVersion string

The version of the Docker builder.

func (BuilderVersion) ElementType

func (BuilderVersion) ElementType() reflect.Type

func (BuilderVersion) ToBuilderVersionOutput

func (e BuilderVersion) ToBuilderVersionOutput() BuilderVersionOutput

func (BuilderVersion) ToBuilderVersionOutputWithContext

func (e BuilderVersion) ToBuilderVersionOutputWithContext(ctx context.Context) BuilderVersionOutput

func (BuilderVersion) ToBuilderVersionPtrOutput

func (e BuilderVersion) ToBuilderVersionPtrOutput() BuilderVersionPtrOutput

func (BuilderVersion) ToBuilderVersionPtrOutputWithContext

func (e BuilderVersion) ToBuilderVersionPtrOutputWithContext(ctx context.Context) BuilderVersionPtrOutput

func (BuilderVersion) ToStringOutput

func (e BuilderVersion) ToStringOutput() pulumi.StringOutput

func (BuilderVersion) ToStringOutputWithContext

func (e BuilderVersion) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (BuilderVersion) ToStringPtrOutput

func (e BuilderVersion) ToStringPtrOutput() pulumi.StringPtrOutput

func (BuilderVersion) ToStringPtrOutputWithContext

func (e BuilderVersion) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type BuilderVersionInput

type BuilderVersionInput interface {
	pulumi.Input

	ToBuilderVersionOutput() BuilderVersionOutput
	ToBuilderVersionOutputWithContext(context.Context) BuilderVersionOutput
}

BuilderVersionInput is an input type that accepts values of the BuilderVersion enum A concrete instance of `BuilderVersionInput` can be one of the following:

BuilderVersionBuilderV1
BuilderVersionBuilderBuildKit

type BuilderVersionOutput

type BuilderVersionOutput struct{ *pulumi.OutputState }

func (BuilderVersionOutput) ElementType

func (BuilderVersionOutput) ElementType() reflect.Type

func (BuilderVersionOutput) ToBuilderVersionOutput

func (o BuilderVersionOutput) ToBuilderVersionOutput() BuilderVersionOutput

func (BuilderVersionOutput) ToBuilderVersionOutputWithContext

func (o BuilderVersionOutput) ToBuilderVersionOutputWithContext(ctx context.Context) BuilderVersionOutput

func (BuilderVersionOutput) ToBuilderVersionPtrOutput

func (o BuilderVersionOutput) ToBuilderVersionPtrOutput() BuilderVersionPtrOutput

func (BuilderVersionOutput) ToBuilderVersionPtrOutputWithContext

func (o BuilderVersionOutput) ToBuilderVersionPtrOutputWithContext(ctx context.Context) BuilderVersionPtrOutput

func (BuilderVersionOutput) ToStringOutput

func (o BuilderVersionOutput) ToStringOutput() pulumi.StringOutput

func (BuilderVersionOutput) ToStringOutputWithContext

func (o BuilderVersionOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (BuilderVersionOutput) ToStringPtrOutput

func (o BuilderVersionOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (BuilderVersionOutput) ToStringPtrOutputWithContext

func (o BuilderVersionOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type BuilderVersionPtrInput

type BuilderVersionPtrInput interface {
	pulumi.Input

	ToBuilderVersionPtrOutput() BuilderVersionPtrOutput
	ToBuilderVersionPtrOutputWithContext(context.Context) BuilderVersionPtrOutput
}

func BuilderVersionPtr

func BuilderVersionPtr(v string) BuilderVersionPtrInput

type BuilderVersionPtrOutput

type BuilderVersionPtrOutput struct{ *pulumi.OutputState }

func (BuilderVersionPtrOutput) Elem

func (BuilderVersionPtrOutput) ElementType

func (BuilderVersionPtrOutput) ElementType() reflect.Type

func (BuilderVersionPtrOutput) ToBuilderVersionPtrOutput

func (o BuilderVersionPtrOutput) ToBuilderVersionPtrOutput() BuilderVersionPtrOutput

func (BuilderVersionPtrOutput) ToBuilderVersionPtrOutputWithContext

func (o BuilderVersionPtrOutput) ToBuilderVersionPtrOutputWithContext(ctx context.Context) BuilderVersionPtrOutput

func (BuilderVersionPtrOutput) ToStringPtrOutput

func (o BuilderVersionPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (BuilderVersionPtrOutput) ToStringPtrOutputWithContext

func (o BuilderVersionPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type CacheFrom

type CacheFrom struct {
	// Specifies cached images
	Images []string `pulumi:"images"`
}

Contains a list of images to reference when building using a cache

type CacheFromArgs

type CacheFromArgs struct {
	// Specifies cached images
	Images pulumi.StringArrayInput `pulumi:"images"`
}

Contains a list of images to reference when building using a cache

func (CacheFromArgs) ElementType

func (CacheFromArgs) ElementType() reflect.Type

func (CacheFromArgs) ToCacheFromOutput

func (i CacheFromArgs) ToCacheFromOutput() CacheFromOutput

func (CacheFromArgs) ToCacheFromOutputWithContext

func (i CacheFromArgs) ToCacheFromOutputWithContext(ctx context.Context) CacheFromOutput

func (CacheFromArgs) ToCacheFromPtrOutput

func (i CacheFromArgs) ToCacheFromPtrOutput() CacheFromPtrOutput

func (CacheFromArgs) ToCacheFromPtrOutputWithContext

func (i CacheFromArgs) ToCacheFromPtrOutputWithContext(ctx context.Context) CacheFromPtrOutput

type CacheFromInput

type CacheFromInput interface {
	pulumi.Input

	ToCacheFromOutput() CacheFromOutput
	ToCacheFromOutputWithContext(context.Context) CacheFromOutput
}

CacheFromInput is an input type that accepts CacheFromArgs and CacheFromOutput values. You can construct a concrete instance of `CacheFromInput` via:

CacheFromArgs{...}

type CacheFromOutput

type CacheFromOutput struct{ *pulumi.OutputState }

Contains a list of images to reference when building using a cache

func (CacheFromOutput) ElementType

func (CacheFromOutput) ElementType() reflect.Type

func (CacheFromOutput) Images

Specifies cached images

func (CacheFromOutput) ToCacheFromOutput

func (o CacheFromOutput) ToCacheFromOutput() CacheFromOutput

func (CacheFromOutput) ToCacheFromOutputWithContext

func (o CacheFromOutput) ToCacheFromOutputWithContext(ctx context.Context) CacheFromOutput

func (CacheFromOutput) ToCacheFromPtrOutput

func (o CacheFromOutput) ToCacheFromPtrOutput() CacheFromPtrOutput

func (CacheFromOutput) ToCacheFromPtrOutputWithContext

func (o CacheFromOutput) ToCacheFromPtrOutputWithContext(ctx context.Context) CacheFromPtrOutput

type CacheFromPtrInput

type CacheFromPtrInput interface {
	pulumi.Input

	ToCacheFromPtrOutput() CacheFromPtrOutput
	ToCacheFromPtrOutputWithContext(context.Context) CacheFromPtrOutput
}

CacheFromPtrInput is an input type that accepts CacheFromArgs, CacheFromPtr and CacheFromPtrOutput values. You can construct a concrete instance of `CacheFromPtrInput` via:

        CacheFromArgs{...}

or:

        nil

func CacheFromPtr

func CacheFromPtr(v *CacheFromArgs) CacheFromPtrInput

type CacheFromPtrOutput

type CacheFromPtrOutput struct{ *pulumi.OutputState }

func (CacheFromPtrOutput) Elem

func (CacheFromPtrOutput) ElementType

func (CacheFromPtrOutput) ElementType() reflect.Type

func (CacheFromPtrOutput) Images

Specifies cached images

func (CacheFromPtrOutput) ToCacheFromPtrOutput

func (o CacheFromPtrOutput) ToCacheFromPtrOutput() CacheFromPtrOutput

func (CacheFromPtrOutput) ToCacheFromPtrOutputWithContext

func (o CacheFromPtrOutput) ToCacheFromPtrOutputWithContext(ctx context.Context) CacheFromPtrOutput

type Container

type Container struct {
	pulumi.CustomResourceState

	// If `true` attach to the container after its creation and waits the end of its execution. Defaults to `false`.
	Attach pulumi.BoolPtrOutput `pulumi:"attach"`
	// The network bridge of the container as read from its NetworkSettings.
	Bridge pulumi.StringOutput `pulumi:"bridge"`
	// Add or drop certrain linux capabilities.
	Capabilities ContainerCapabilitiesPtrOutput `pulumi:"capabilities"`
	// Cgroup namespace mode to use for the container. Possible values are: `private`, `host`.
	CgroupnsMode pulumi.StringPtrOutput `pulumi:"cgroupnsMode"`
	// The command to use to start the container. For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be `["/usr/bin/myprogram","-f","baz.con"]`.
	Command pulumi.StringArrayOutput `pulumi:"command"`
	// The logs of the container if its execution is done (`attach` must be disabled).
	ContainerLogs pulumi.StringOutput `pulumi:"containerLogs"`
	// The total number of milliseconds to wait for the container to reach status 'running'
	ContainerReadRefreshTimeoutMilliseconds pulumi.IntPtrOutput `pulumi:"containerReadRefreshTimeoutMilliseconds"`
	// A comma-separated list or hyphen-separated range of CPUs a container can use, e.g. `0-1`.
	CpuSet pulumi.StringPtrOutput `pulumi:"cpuSet"`
	// CPU shares (relative weight) for the container.
	CpuShares pulumi.IntPtrOutput `pulumi:"cpuShares"`
	// If defined will attempt to stop the container before destroying. Container will be destroyed after `n` seconds or on successful stop.
	DestroyGraceSeconds pulumi.IntPtrOutput `pulumi:"destroyGraceSeconds"`
	// Bind devices to the container.
	Devices ContainerDeviceArrayOutput `pulumi:"devices"`
	// DNS servers to use.
	Dns pulumi.StringArrayOutput `pulumi:"dns"`
	// DNS options used by the DNS provider(s), see `resolv.conf` documentation for valid list of options.
	DnsOpts pulumi.StringArrayOutput `pulumi:"dnsOpts"`
	// DNS search domains that are used when bare unqualified hostnames are used inside of the container.
	DnsSearches pulumi.StringArrayOutput `pulumi:"dnsSearches"`
	// Domain name of the container.
	Domainname pulumi.StringPtrOutput `pulumi:"domainname"`
	// The command to use as the Entrypoint for the container. The Entrypoint allows you to configure a container to run as an executable. For example, to run `/usr/bin/myprogram` when starting a container, set the entrypoint to be `"/usr/bin/myprogra"]`.
	Entrypoints pulumi.StringArrayOutput `pulumi:"entrypoints"`
	// Environment variables to set in the form of `KEY=VALUE`, e.g. `DEBUG=0`
	Envs pulumi.StringArrayOutput `pulumi:"envs"`
	// The exit code of the container if its execution is done (`mustRun` must be disabled).
	ExitCode pulumi.IntOutput `pulumi:"exitCode"`
	// GPU devices to add to the container. Currently, only the value `all` is supported. Passing any other value will result in unexpected behavior.
	Gpus pulumi.StringPtrOutput `pulumi:"gpus"`
	// Additional groups for the container user
	GroupAdds pulumi.StringArrayOutput `pulumi:"groupAdds"`
	// A test to perform to check that the container is healthy
	Healthcheck ContainerHealthcheckOutput `pulumi:"healthcheck"`
	// Hostname of the container.
	Hostname pulumi.StringOutput `pulumi:"hostname"`
	// Hostname to add
	Hosts ContainerHostArrayOutput `pulumi:"hosts"`
	// The ID of the image to back this container. The easiest way to get this value is to use the `RemoteImage` resource as is shown in the example.
	Image pulumi.StringOutput `pulumi:"image"`
	// Configured whether an init process should be injected for this container. If unset this will default to the `dockerd` defaults.
	Init pulumi.BoolOutput `pulumi:"init"`
	// IPC sharing mode for the container. Possible values are: `none`, `private`, `shareable`, `container:<name|id>` or `host`.
	IpcMode pulumi.StringOutput `pulumi:"ipcMode"`
	// User-defined key/value metadata.
	Labels ContainerLabelArrayOutput `pulumi:"labels"`
	// The logging driver to use for the container.
	LogDriver pulumi.StringOutput `pulumi:"logDriver"`
	// Key/value pairs to use as options for the logging driver.
	LogOpts pulumi.MapOutput `pulumi:"logOpts"`
	// Save the container logs (`attach` must be enabled). Defaults to `false`.
	Logs pulumi.BoolPtrOutput `pulumi:"logs"`
	// The maximum amount of times to an attempt a restart when `restart` is set to 'on-failure'.
	MaxRetryCount pulumi.IntPtrOutput `pulumi:"maxRetryCount"`
	// The memory limit for the container in MBs.
	Memory pulumi.IntPtrOutput `pulumi:"memory"`
	// The total memory limit (memory + swap) for the container in MBs. This setting may compute to `-1` after `pulumi up` if the target host doesn't support memory swap, when that is the case docker will use a soft limitation.
	MemorySwap pulumi.IntPtrOutput `pulumi:"memorySwap"`
	// Specification for mounts to be added to containers created as part of the service.
	Mounts ContainerMountArrayOutput `pulumi:"mounts"`
	// If `true`, then the Docker container will be kept running. If `false`, then as long as the container exists, Terraform
	// assumes it is successful. Defaults to `true`.
	MustRun pulumi.BoolPtrOutput `pulumi:"mustRun"`
	// The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// The data of the networks the container is connected to.
	NetworkDatas ContainerNetworkDataArrayOutput `pulumi:"networkDatas"`
	// Network mode of the container.
	NetworkMode pulumi.StringPtrOutput `pulumi:"networkMode"`
	// The networks the container is attached to
	NetworksAdvanced ContainerNetworksAdvancedArrayOutput `pulumi:"networksAdvanced"`
	// he PID (Process) Namespace mode for the container. Either `container:<name|id>` or `host`.
	PidMode pulumi.StringPtrOutput `pulumi:"pidMode"`
	// Publish a container's port(s) to the host.
	Ports ContainerPortArrayOutput `pulumi:"ports"`
	// If `true`, the container runs in privileged mode.
	Privileged pulumi.BoolPtrOutput `pulumi:"privileged"`
	// Publish all ports of the container.
	PublishAllPorts pulumi.BoolPtrOutput `pulumi:"publishAllPorts"`
	// Whether the mount should be read-only.
	ReadOnly pulumi.BoolPtrOutput `pulumi:"readOnly"`
	// If `true`, it will remove anonymous volumes associated with the container. Defaults to `true`.
	RemoveVolumes pulumi.BoolPtrOutput `pulumi:"removeVolumes"`
	// The restart policy for the container. Must be one of 'no', 'on-failure', 'always', 'unless-stopped'. Defaults to `no`.
	Restart pulumi.StringPtrOutput `pulumi:"restart"`
	// If `true`, then the container will be automatically removed when it exits. Defaults to `false`.
	Rm pulumi.BoolPtrOutput `pulumi:"rm"`
	// Runtime to use for the container.
	Runtime pulumi.StringOutput `pulumi:"runtime"`
	// List of string values to customize labels for MLS systems, such as SELinux. See https://docs.docker.com/engine/reference/run/#security-configuration.
	SecurityOpts pulumi.StringArrayOutput `pulumi:"securityOpts"`
	// Size of `/dev/shm` in MBs.
	ShmSize pulumi.IntOutput `pulumi:"shmSize"`
	// If `true`, then the Docker container will be started after creation. If `false`, then the container is only created. Defaults to `true`.
	Start pulumi.BoolPtrOutput `pulumi:"start"`
	// If `true`, keep STDIN open even if not attached (`docker run -i`). Defaults to `false`.
	StdinOpen pulumi.BoolPtrOutput `pulumi:"stdinOpen"`
	// Signal to stop a container (default `SIGTERM`).
	StopSignal pulumi.StringOutput `pulumi:"stopSignal"`
	// Timeout (in seconds) to stop a container.
	StopTimeout pulumi.IntOutput `pulumi:"stopTimeout"`
	// Key/value pairs for the storage driver options, e.g. `size`: `120G`
	StorageOpts pulumi.MapOutput `pulumi:"storageOpts"`
	// A map of kernel parameters (sysctls) to set in the container.
	Sysctls pulumi.MapOutput `pulumi:"sysctls"`
	// A map of container directories which should be replaced by `tmpfs mounts`, and their corresponding mount options.
	Tmpfs pulumi.MapOutput `pulumi:"tmpfs"`
	// If `true`, allocate a pseudo-tty (`docker run -t`). Defaults to `false`.
	Tty pulumi.BoolPtrOutput `pulumi:"tty"`
	// Ulimit options to add.
	Ulimits ContainerUlimitArrayOutput `pulumi:"ulimits"`
	// Specifies files to upload to the container before starting it. Only one of `content` or `contentBase64` can be set and at least one of them has to be set.
	Uploads ContainerUploadArrayOutput `pulumi:"uploads"`
	// User used for run the first process. Format is `user` or `user:group` which user and group can be passed literraly or by name.
	User pulumi.StringPtrOutput `pulumi:"user"`
	// Sets the usernamespace mode for the container when usernamespace remapping option is enabled.
	UsernsMode pulumi.StringPtrOutput `pulumi:"usernsMode"`
	// Spec for mounting volumes in the container.
	Volumes ContainerVolumeArrayOutput `pulumi:"volumes"`
	// If `true`, then the Docker container is waited for being healthy state after creation. If `false`, then the container health state is not checked. Defaults to `false`.
	Wait pulumi.BoolPtrOutput `pulumi:"wait"`
	// The timeout in seconds to wait the container to be healthy after creation. Defaults to `60`.
	WaitTimeout pulumi.IntPtrOutput `pulumi:"waitTimeout"`
	// The working directory for commands to run in.
	WorkingDir pulumi.StringPtrOutput `pulumi:"workingDir"`
}

<!-- Bug: Type and Name are switched --> Manages the lifecycle of a Docker container.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Find the latest Ubuntu precise image.
		ubuntuRemoteImage, err := docker.NewRemoteImage(ctx, "ubuntuRemoteImage", &docker.RemoteImageArgs{
			Name: pulumi.String("ubuntu:precise"),
		})
		if err != nil {
			return err
		}
		// Start a container
		_, err = docker.NewContainer(ctx, "ubuntuContainer", &docker.ContainerArgs{
			Image: ubuntuRemoteImage.ImageId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

### Example

Assuming you created a `container` as follows

#!/bin/bash

docker run --name foo -p8080:80 -d nginx

prints the container ID

9a550c0f0163d39d77222d3efd58701b625d47676c25c686c95b5b92d1cba6fd

you provide the definition for the resource as follows

terraform

resource "docker_container" "foo" {

name  = "foo"

image = "nginx"

ports {

  internal = "80"

  external = "8080"

}

}

then the import command is as follows

#!/bin/bash

```sh $ pulumi import docker:index/container:Container foo 9a550c0f0163d39d77222d3efd58701b625d47676c25c686c95b5b92d1cba6fd ```

func GetContainer

func GetContainer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ContainerState, opts ...pulumi.ResourceOption) (*Container, error)

GetContainer gets an existing Container resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewContainer

func NewContainer(ctx *pulumi.Context,
	name string, args *ContainerArgs, opts ...pulumi.ResourceOption) (*Container, error)

NewContainer registers a new resource with the given unique name, arguments, and options.

func (*Container) ElementType

func (*Container) ElementType() reflect.Type

func (*Container) ToContainerOutput

func (i *Container) ToContainerOutput() ContainerOutput

func (*Container) ToContainerOutputWithContext

func (i *Container) ToContainerOutputWithContext(ctx context.Context) ContainerOutput

type ContainerArgs

type ContainerArgs struct {
	// If `true` attach to the container after its creation and waits the end of its execution. Defaults to `false`.
	Attach pulumi.BoolPtrInput
	// Add or drop certrain linux capabilities.
	Capabilities ContainerCapabilitiesPtrInput
	// Cgroup namespace mode to use for the container. Possible values are: `private`, `host`.
	CgroupnsMode pulumi.StringPtrInput
	// The command to use to start the container. For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be `["/usr/bin/myprogram","-f","baz.con"]`.
	Command pulumi.StringArrayInput
	// The total number of milliseconds to wait for the container to reach status 'running'
	ContainerReadRefreshTimeoutMilliseconds pulumi.IntPtrInput
	// A comma-separated list or hyphen-separated range of CPUs a container can use, e.g. `0-1`.
	CpuSet pulumi.StringPtrInput
	// CPU shares (relative weight) for the container.
	CpuShares pulumi.IntPtrInput
	// If defined will attempt to stop the container before destroying. Container will be destroyed after `n` seconds or on successful stop.
	DestroyGraceSeconds pulumi.IntPtrInput
	// Bind devices to the container.
	Devices ContainerDeviceArrayInput
	// DNS servers to use.
	Dns pulumi.StringArrayInput
	// DNS options used by the DNS provider(s), see `resolv.conf` documentation for valid list of options.
	DnsOpts pulumi.StringArrayInput
	// DNS search domains that are used when bare unqualified hostnames are used inside of the container.
	DnsSearches pulumi.StringArrayInput
	// Domain name of the container.
	Domainname pulumi.StringPtrInput
	// The command to use as the Entrypoint for the container. The Entrypoint allows you to configure a container to run as an executable. For example, to run `/usr/bin/myprogram` when starting a container, set the entrypoint to be `"/usr/bin/myprogra"]`.
	Entrypoints pulumi.StringArrayInput
	// Environment variables to set in the form of `KEY=VALUE`, e.g. `DEBUG=0`
	Envs pulumi.StringArrayInput
	// GPU devices to add to the container. Currently, only the value `all` is supported. Passing any other value will result in unexpected behavior.
	Gpus pulumi.StringPtrInput
	// Additional groups for the container user
	GroupAdds pulumi.StringArrayInput
	// A test to perform to check that the container is healthy
	Healthcheck ContainerHealthcheckPtrInput
	// Hostname of the container.
	Hostname pulumi.StringPtrInput
	// Hostname to add
	Hosts ContainerHostArrayInput
	// The ID of the image to back this container. The easiest way to get this value is to use the `RemoteImage` resource as is shown in the example.
	Image pulumi.StringInput
	// Configured whether an init process should be injected for this container. If unset this will default to the `dockerd` defaults.
	Init pulumi.BoolPtrInput
	// IPC sharing mode for the container. Possible values are: `none`, `private`, `shareable`, `container:<name|id>` or `host`.
	IpcMode pulumi.StringPtrInput
	// User-defined key/value metadata.
	Labels ContainerLabelArrayInput
	// The logging driver to use for the container.
	LogDriver pulumi.StringPtrInput
	// Key/value pairs to use as options for the logging driver.
	LogOpts pulumi.MapInput
	// Save the container logs (`attach` must be enabled). Defaults to `false`.
	Logs pulumi.BoolPtrInput
	// The maximum amount of times to an attempt a restart when `restart` is set to 'on-failure'.
	MaxRetryCount pulumi.IntPtrInput
	// The memory limit for the container in MBs.
	Memory pulumi.IntPtrInput
	// The total memory limit (memory + swap) for the container in MBs. This setting may compute to `-1` after `pulumi up` if the target host doesn't support memory swap, when that is the case docker will use a soft limitation.
	MemorySwap pulumi.IntPtrInput
	// Specification for mounts to be added to containers created as part of the service.
	Mounts ContainerMountArrayInput
	// If `true`, then the Docker container will be kept running. If `false`, then as long as the container exists, Terraform
	// assumes it is successful. Defaults to `true`.
	MustRun pulumi.BoolPtrInput
	// The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.
	Name pulumi.StringPtrInput
	// Network mode of the container.
	NetworkMode pulumi.StringPtrInput
	// The networks the container is attached to
	NetworksAdvanced ContainerNetworksAdvancedArrayInput
	// he PID (Process) Namespace mode for the container. Either `container:<name|id>` or `host`.
	PidMode pulumi.StringPtrInput
	// Publish a container's port(s) to the host.
	Ports ContainerPortArrayInput
	// If `true`, the container runs in privileged mode.
	Privileged pulumi.BoolPtrInput
	// Publish all ports of the container.
	PublishAllPorts pulumi.BoolPtrInput
	// Whether the mount should be read-only.
	ReadOnly pulumi.BoolPtrInput
	// If `true`, it will remove anonymous volumes associated with the container. Defaults to `true`.
	RemoveVolumes pulumi.BoolPtrInput
	// The restart policy for the container. Must be one of 'no', 'on-failure', 'always', 'unless-stopped'. Defaults to `no`.
	Restart pulumi.StringPtrInput
	// If `true`, then the container will be automatically removed when it exits. Defaults to `false`.
	Rm pulumi.BoolPtrInput
	// Runtime to use for the container.
	Runtime pulumi.StringPtrInput
	// List of string values to customize labels for MLS systems, such as SELinux. See https://docs.docker.com/engine/reference/run/#security-configuration.
	SecurityOpts pulumi.StringArrayInput
	// Size of `/dev/shm` in MBs.
	ShmSize pulumi.IntPtrInput
	// If `true`, then the Docker container will be started after creation. If `false`, then the container is only created. Defaults to `true`.
	Start pulumi.BoolPtrInput
	// If `true`, keep STDIN open even if not attached (`docker run -i`). Defaults to `false`.
	StdinOpen pulumi.BoolPtrInput
	// Signal to stop a container (default `SIGTERM`).
	StopSignal pulumi.StringPtrInput
	// Timeout (in seconds) to stop a container.
	StopTimeout pulumi.IntPtrInput
	// Key/value pairs for the storage driver options, e.g. `size`: `120G`
	StorageOpts pulumi.MapInput
	// A map of kernel parameters (sysctls) to set in the container.
	Sysctls pulumi.MapInput
	// A map of container directories which should be replaced by `tmpfs mounts`, and their corresponding mount options.
	Tmpfs pulumi.MapInput
	// If `true`, allocate a pseudo-tty (`docker run -t`). Defaults to `false`.
	Tty pulumi.BoolPtrInput
	// Ulimit options to add.
	Ulimits ContainerUlimitArrayInput
	// Specifies files to upload to the container before starting it. Only one of `content` or `contentBase64` can be set and at least one of them has to be set.
	Uploads ContainerUploadArrayInput
	// User used for run the first process. Format is `user` or `user:group` which user and group can be passed literraly or by name.
	User pulumi.StringPtrInput
	// Sets the usernamespace mode for the container when usernamespace remapping option is enabled.
	UsernsMode pulumi.StringPtrInput
	// Spec for mounting volumes in the container.
	Volumes ContainerVolumeArrayInput
	// If `true`, then the Docker container is waited for being healthy state after creation. If `false`, then the container health state is not checked. Defaults to `false`.
	Wait pulumi.BoolPtrInput
	// The timeout in seconds to wait the container to be healthy after creation. Defaults to `60`.
	WaitTimeout pulumi.IntPtrInput
	// The working directory for commands to run in.
	WorkingDir pulumi.StringPtrInput
}

The set of arguments for constructing a Container resource.

func (ContainerArgs) ElementType

func (ContainerArgs) ElementType() reflect.Type

type ContainerArray

type ContainerArray []ContainerInput

func (ContainerArray) ElementType

func (ContainerArray) ElementType() reflect.Type

func (ContainerArray) ToContainerArrayOutput

func (i ContainerArray) ToContainerArrayOutput() ContainerArrayOutput

func (ContainerArray) ToContainerArrayOutputWithContext

func (i ContainerArray) ToContainerArrayOutputWithContext(ctx context.Context) ContainerArrayOutput

type ContainerArrayInput

type ContainerArrayInput interface {
	pulumi.Input

	ToContainerArrayOutput() ContainerArrayOutput
	ToContainerArrayOutputWithContext(context.Context) ContainerArrayOutput
}

ContainerArrayInput is an input type that accepts ContainerArray and ContainerArrayOutput values. You can construct a concrete instance of `ContainerArrayInput` via:

ContainerArray{ ContainerArgs{...} }

type ContainerArrayOutput

type ContainerArrayOutput struct{ *pulumi.OutputState }

func (ContainerArrayOutput) ElementType

func (ContainerArrayOutput) ElementType() reflect.Type

func (ContainerArrayOutput) Index

func (ContainerArrayOutput) ToContainerArrayOutput

func (o ContainerArrayOutput) ToContainerArrayOutput() ContainerArrayOutput

func (ContainerArrayOutput) ToContainerArrayOutputWithContext

func (o ContainerArrayOutput) ToContainerArrayOutputWithContext(ctx context.Context) ContainerArrayOutput

type ContainerCapabilities

type ContainerCapabilities struct {
	// List of linux capabilities to add.
	Adds []string `pulumi:"adds"`
	// List of linux capabilities to drop.
	Drops []string `pulumi:"drops"`
}

type ContainerCapabilitiesArgs

type ContainerCapabilitiesArgs struct {
	// List of linux capabilities to add.
	Adds pulumi.StringArrayInput `pulumi:"adds"`
	// List of linux capabilities to drop.
	Drops pulumi.StringArrayInput `pulumi:"drops"`
}

func (ContainerCapabilitiesArgs) ElementType

func (ContainerCapabilitiesArgs) ElementType() reflect.Type

func (ContainerCapabilitiesArgs) ToContainerCapabilitiesOutput

func (i ContainerCapabilitiesArgs) ToContainerCapabilitiesOutput() ContainerCapabilitiesOutput

func (ContainerCapabilitiesArgs) ToContainerCapabilitiesOutputWithContext

func (i ContainerCapabilitiesArgs) ToContainerCapabilitiesOutputWithContext(ctx context.Context) ContainerCapabilitiesOutput

func (ContainerCapabilitiesArgs) ToContainerCapabilitiesPtrOutput

func (i ContainerCapabilitiesArgs) ToContainerCapabilitiesPtrOutput() ContainerCapabilitiesPtrOutput

func (ContainerCapabilitiesArgs) ToContainerCapabilitiesPtrOutputWithContext

func (i ContainerCapabilitiesArgs) ToContainerCapabilitiesPtrOutputWithContext(ctx context.Context) ContainerCapabilitiesPtrOutput

type ContainerCapabilitiesInput

type ContainerCapabilitiesInput interface {
	pulumi.Input

	ToContainerCapabilitiesOutput() ContainerCapabilitiesOutput
	ToContainerCapabilitiesOutputWithContext(context.Context) ContainerCapabilitiesOutput
}

ContainerCapabilitiesInput is an input type that accepts ContainerCapabilitiesArgs and ContainerCapabilitiesOutput values. You can construct a concrete instance of `ContainerCapabilitiesInput` via:

ContainerCapabilitiesArgs{...}

type ContainerCapabilitiesOutput

type ContainerCapabilitiesOutput struct{ *pulumi.OutputState }

func (ContainerCapabilitiesOutput) Adds

List of linux capabilities to add.

func (ContainerCapabilitiesOutput) Drops

List of linux capabilities to drop.

func (ContainerCapabilitiesOutput) ElementType

func (ContainerCapabilitiesOutput) ToContainerCapabilitiesOutput

func (o ContainerCapabilitiesOutput) ToContainerCapabilitiesOutput() ContainerCapabilitiesOutput

func (ContainerCapabilitiesOutput) ToContainerCapabilitiesOutputWithContext

func (o ContainerCapabilitiesOutput) ToContainerCapabilitiesOutputWithContext(ctx context.Context) ContainerCapabilitiesOutput

func (ContainerCapabilitiesOutput) ToContainerCapabilitiesPtrOutput

func (o ContainerCapabilitiesOutput) ToContainerCapabilitiesPtrOutput() ContainerCapabilitiesPtrOutput

func (ContainerCapabilitiesOutput) ToContainerCapabilitiesPtrOutputWithContext

func (o ContainerCapabilitiesOutput) ToContainerCapabilitiesPtrOutputWithContext(ctx context.Context) ContainerCapabilitiesPtrOutput

type ContainerCapabilitiesPtrInput

type ContainerCapabilitiesPtrInput interface {
	pulumi.Input

	ToContainerCapabilitiesPtrOutput() ContainerCapabilitiesPtrOutput
	ToContainerCapabilitiesPtrOutputWithContext(context.Context) ContainerCapabilitiesPtrOutput
}

ContainerCapabilitiesPtrInput is an input type that accepts ContainerCapabilitiesArgs, ContainerCapabilitiesPtr and ContainerCapabilitiesPtrOutput values. You can construct a concrete instance of `ContainerCapabilitiesPtrInput` via:

        ContainerCapabilitiesArgs{...}

or:

        nil

type ContainerCapabilitiesPtrOutput

type ContainerCapabilitiesPtrOutput struct{ *pulumi.OutputState }

func (ContainerCapabilitiesPtrOutput) Adds

List of linux capabilities to add.

func (ContainerCapabilitiesPtrOutput) Drops

List of linux capabilities to drop.

func (ContainerCapabilitiesPtrOutput) Elem

func (ContainerCapabilitiesPtrOutput) ElementType

func (ContainerCapabilitiesPtrOutput) ToContainerCapabilitiesPtrOutput

func (o ContainerCapabilitiesPtrOutput) ToContainerCapabilitiesPtrOutput() ContainerCapabilitiesPtrOutput

func (ContainerCapabilitiesPtrOutput) ToContainerCapabilitiesPtrOutputWithContext

func (o ContainerCapabilitiesPtrOutput) ToContainerCapabilitiesPtrOutputWithContext(ctx context.Context) ContainerCapabilitiesPtrOutput

type ContainerDevice

type ContainerDevice struct {
	// The path in the container where the device will be bound.
	ContainerPath *string `pulumi:"containerPath"`
	// The path on the host where the device is located.
	HostPath string `pulumi:"hostPath"`
	// The cgroup permissions given to the container to access the device. Defaults to `rwm`.
	Permissions *string `pulumi:"permissions"`
}

type ContainerDeviceArgs

type ContainerDeviceArgs struct {
	// The path in the container where the device will be bound.
	ContainerPath pulumi.StringPtrInput `pulumi:"containerPath"`
	// The path on the host where the device is located.
	HostPath pulumi.StringInput `pulumi:"hostPath"`
	// The cgroup permissions given to the container to access the device. Defaults to `rwm`.
	Permissions pulumi.StringPtrInput `pulumi:"permissions"`
}

func (ContainerDeviceArgs) ElementType

func (ContainerDeviceArgs) ElementType() reflect.Type

func (ContainerDeviceArgs) ToContainerDeviceOutput

func (i ContainerDeviceArgs) ToContainerDeviceOutput() ContainerDeviceOutput

func (ContainerDeviceArgs) ToContainerDeviceOutputWithContext

func (i ContainerDeviceArgs) ToContainerDeviceOutputWithContext(ctx context.Context) ContainerDeviceOutput

type ContainerDeviceArray

type ContainerDeviceArray []ContainerDeviceInput

func (ContainerDeviceArray) ElementType

func (ContainerDeviceArray) ElementType() reflect.Type

func (ContainerDeviceArray) ToContainerDeviceArrayOutput

func (i ContainerDeviceArray) ToContainerDeviceArrayOutput() ContainerDeviceArrayOutput

func (ContainerDeviceArray) ToContainerDeviceArrayOutputWithContext

func (i ContainerDeviceArray) ToContainerDeviceArrayOutputWithContext(ctx context.Context) ContainerDeviceArrayOutput

type ContainerDeviceArrayInput

type ContainerDeviceArrayInput interface {
	pulumi.Input

	ToContainerDeviceArrayOutput() ContainerDeviceArrayOutput
	ToContainerDeviceArrayOutputWithContext(context.Context) ContainerDeviceArrayOutput
}

ContainerDeviceArrayInput is an input type that accepts ContainerDeviceArray and ContainerDeviceArrayOutput values. You can construct a concrete instance of `ContainerDeviceArrayInput` via:

ContainerDeviceArray{ ContainerDeviceArgs{...} }

type ContainerDeviceArrayOutput

type ContainerDeviceArrayOutput struct{ *pulumi.OutputState }

func (ContainerDeviceArrayOutput) ElementType

func (ContainerDeviceArrayOutput) ElementType() reflect.Type

func (ContainerDeviceArrayOutput) Index

func (ContainerDeviceArrayOutput) ToContainerDeviceArrayOutput

func (o ContainerDeviceArrayOutput) ToContainerDeviceArrayOutput() ContainerDeviceArrayOutput

func (ContainerDeviceArrayOutput) ToContainerDeviceArrayOutputWithContext

func (o ContainerDeviceArrayOutput) ToContainerDeviceArrayOutputWithContext(ctx context.Context) ContainerDeviceArrayOutput

type ContainerDeviceInput

type ContainerDeviceInput interface {
	pulumi.Input

	ToContainerDeviceOutput() ContainerDeviceOutput
	ToContainerDeviceOutputWithContext(context.Context) ContainerDeviceOutput
}

ContainerDeviceInput is an input type that accepts ContainerDeviceArgs and ContainerDeviceOutput values. You can construct a concrete instance of `ContainerDeviceInput` via:

ContainerDeviceArgs{...}

type ContainerDeviceOutput

type ContainerDeviceOutput struct{ *pulumi.OutputState }

func (ContainerDeviceOutput) ContainerPath

func (o ContainerDeviceOutput) ContainerPath() pulumi.StringPtrOutput

The path in the container where the device will be bound.

func (ContainerDeviceOutput) ElementType

func (ContainerDeviceOutput) ElementType() reflect.Type

func (ContainerDeviceOutput) HostPath

The path on the host where the device is located.

func (ContainerDeviceOutput) Permissions

The cgroup permissions given to the container to access the device. Defaults to `rwm`.

func (ContainerDeviceOutput) ToContainerDeviceOutput

func (o ContainerDeviceOutput) ToContainerDeviceOutput() ContainerDeviceOutput

func (ContainerDeviceOutput) ToContainerDeviceOutputWithContext

func (o ContainerDeviceOutput) ToContainerDeviceOutputWithContext(ctx context.Context) ContainerDeviceOutput

type ContainerHealthcheck

type ContainerHealthcheck struct {
	// Time between running the check (ms|s|m|h). Defaults to `0s`.
	Interval *string `pulumi:"interval"`
	// Consecutive failures needed to report unhealthy. Defaults to `0`.
	Retries *int `pulumi:"retries"`
	// Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
	StartPeriod *string `pulumi:"startPeriod"`
	// Command to run to check health. For example, to run `curl -f localhost/health` set the command to be `["CMD", "curl", "-f", "localhost/health"]`.
	Tests []string `pulumi:"tests"`
	// Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
	Timeout *string `pulumi:"timeout"`
}

type ContainerHealthcheckArgs

type ContainerHealthcheckArgs struct {
	// Time between running the check (ms|s|m|h). Defaults to `0s`.
	Interval pulumi.StringPtrInput `pulumi:"interval"`
	// Consecutive failures needed to report unhealthy. Defaults to `0`.
	Retries pulumi.IntPtrInput `pulumi:"retries"`
	// Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
	StartPeriod pulumi.StringPtrInput `pulumi:"startPeriod"`
	// Command to run to check health. For example, to run `curl -f localhost/health` set the command to be `["CMD", "curl", "-f", "localhost/health"]`.
	Tests pulumi.StringArrayInput `pulumi:"tests"`
	// Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
	Timeout pulumi.StringPtrInput `pulumi:"timeout"`
}

func (ContainerHealthcheckArgs) ElementType

func (ContainerHealthcheckArgs) ElementType() reflect.Type

func (ContainerHealthcheckArgs) ToContainerHealthcheckOutput

func (i ContainerHealthcheckArgs) ToContainerHealthcheckOutput() ContainerHealthcheckOutput

func (ContainerHealthcheckArgs) ToContainerHealthcheckOutputWithContext

func (i ContainerHealthcheckArgs) ToContainerHealthcheckOutputWithContext(ctx context.Context) ContainerHealthcheckOutput

func (ContainerHealthcheckArgs) ToContainerHealthcheckPtrOutput

func (i ContainerHealthcheckArgs) ToContainerHealthcheckPtrOutput() ContainerHealthcheckPtrOutput

func (ContainerHealthcheckArgs) ToContainerHealthcheckPtrOutputWithContext

func (i ContainerHealthcheckArgs) ToContainerHealthcheckPtrOutputWithContext(ctx context.Context) ContainerHealthcheckPtrOutput

type ContainerHealthcheckInput

type ContainerHealthcheckInput interface {
	pulumi.Input

	ToContainerHealthcheckOutput() ContainerHealthcheckOutput
	ToContainerHealthcheckOutputWithContext(context.Context) ContainerHealthcheckOutput
}

ContainerHealthcheckInput is an input type that accepts ContainerHealthcheckArgs and ContainerHealthcheckOutput values. You can construct a concrete instance of `ContainerHealthcheckInput` via:

ContainerHealthcheckArgs{...}

type ContainerHealthcheckOutput

type ContainerHealthcheckOutput struct{ *pulumi.OutputState }

func (ContainerHealthcheckOutput) ElementType

func (ContainerHealthcheckOutput) ElementType() reflect.Type

func (ContainerHealthcheckOutput) Interval

Time between running the check (ms|s|m|h). Defaults to `0s`.

func (ContainerHealthcheckOutput) Retries

Consecutive failures needed to report unhealthy. Defaults to `0`.

func (ContainerHealthcheckOutput) StartPeriod

Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.

func (ContainerHealthcheckOutput) Tests

Command to run to check health. For example, to run `curl -f localhost/health` set the command to be `["CMD", "curl", "-f", "localhost/health"]`.

func (ContainerHealthcheckOutput) Timeout

Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.

func (ContainerHealthcheckOutput) ToContainerHealthcheckOutput

func (o ContainerHealthcheckOutput) ToContainerHealthcheckOutput() ContainerHealthcheckOutput

func (ContainerHealthcheckOutput) ToContainerHealthcheckOutputWithContext

func (o ContainerHealthcheckOutput) ToContainerHealthcheckOutputWithContext(ctx context.Context) ContainerHealthcheckOutput

func (ContainerHealthcheckOutput) ToContainerHealthcheckPtrOutput

func (o ContainerHealthcheckOutput) ToContainerHealthcheckPtrOutput() ContainerHealthcheckPtrOutput

func (ContainerHealthcheckOutput) ToContainerHealthcheckPtrOutputWithContext

func (o ContainerHealthcheckOutput) ToContainerHealthcheckPtrOutputWithContext(ctx context.Context) ContainerHealthcheckPtrOutput

type ContainerHealthcheckPtrInput

type ContainerHealthcheckPtrInput interface {
	pulumi.Input

	ToContainerHealthcheckPtrOutput() ContainerHealthcheckPtrOutput
	ToContainerHealthcheckPtrOutputWithContext(context.Context) ContainerHealthcheckPtrOutput
}

ContainerHealthcheckPtrInput is an input type that accepts ContainerHealthcheckArgs, ContainerHealthcheckPtr and ContainerHealthcheckPtrOutput values. You can construct a concrete instance of `ContainerHealthcheckPtrInput` via:

        ContainerHealthcheckArgs{...}

or:

        nil

type ContainerHealthcheckPtrOutput

type ContainerHealthcheckPtrOutput struct{ *pulumi.OutputState }

func (ContainerHealthcheckPtrOutput) Elem

func (ContainerHealthcheckPtrOutput) ElementType

func (ContainerHealthcheckPtrOutput) Interval

Time between running the check (ms|s|m|h). Defaults to `0s`.

func (ContainerHealthcheckPtrOutput) Retries

Consecutive failures needed to report unhealthy. Defaults to `0`.

func (ContainerHealthcheckPtrOutput) StartPeriod

Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.

func (ContainerHealthcheckPtrOutput) Tests

Command to run to check health. For example, to run `curl -f localhost/health` set the command to be `["CMD", "curl", "-f", "localhost/health"]`.

func (ContainerHealthcheckPtrOutput) Timeout

Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.

func (ContainerHealthcheckPtrOutput) ToContainerHealthcheckPtrOutput

func (o ContainerHealthcheckPtrOutput) ToContainerHealthcheckPtrOutput() ContainerHealthcheckPtrOutput

func (ContainerHealthcheckPtrOutput) ToContainerHealthcheckPtrOutputWithContext

func (o ContainerHealthcheckPtrOutput) ToContainerHealthcheckPtrOutputWithContext(ctx context.Context) ContainerHealthcheckPtrOutput

type ContainerHost

type ContainerHost struct {
	// Hostname to add
	Host string `pulumi:"host"`
	// IP address this hostname should resolve to.
	Ip string `pulumi:"ip"`
}

type ContainerHostArgs

type ContainerHostArgs struct {
	// Hostname to add
	Host pulumi.StringInput `pulumi:"host"`
	// IP address this hostname should resolve to.
	Ip pulumi.StringInput `pulumi:"ip"`
}

func (ContainerHostArgs) ElementType

func (ContainerHostArgs) ElementType() reflect.Type

func (ContainerHostArgs) ToContainerHostOutput

func (i ContainerHostArgs) ToContainerHostOutput() ContainerHostOutput

func (ContainerHostArgs) ToContainerHostOutputWithContext

func (i ContainerHostArgs) ToContainerHostOutputWithContext(ctx context.Context) ContainerHostOutput

type ContainerHostArray

type ContainerHostArray []ContainerHostInput

func (ContainerHostArray) ElementType

func (ContainerHostArray) ElementType() reflect.Type

func (ContainerHostArray) ToContainerHostArrayOutput

func (i ContainerHostArray) ToContainerHostArrayOutput() ContainerHostArrayOutput

func (ContainerHostArray) ToContainerHostArrayOutputWithContext

func (i ContainerHostArray) ToContainerHostArrayOutputWithContext(ctx context.Context) ContainerHostArrayOutput

type ContainerHostArrayInput

type ContainerHostArrayInput interface {
	pulumi.Input

	ToContainerHostArrayOutput() ContainerHostArrayOutput
	ToContainerHostArrayOutputWithContext(context.Context) ContainerHostArrayOutput
}

ContainerHostArrayInput is an input type that accepts ContainerHostArray and ContainerHostArrayOutput values. You can construct a concrete instance of `ContainerHostArrayInput` via:

ContainerHostArray{ ContainerHostArgs{...} }

type ContainerHostArrayOutput

type ContainerHostArrayOutput struct{ *pulumi.OutputState }

func (ContainerHostArrayOutput) ElementType

func (ContainerHostArrayOutput) ElementType() reflect.Type

func (ContainerHostArrayOutput) Index

func (ContainerHostArrayOutput) ToContainerHostArrayOutput

func (o ContainerHostArrayOutput) ToContainerHostArrayOutput() ContainerHostArrayOutput

func (ContainerHostArrayOutput) ToContainerHostArrayOutputWithContext

func (o ContainerHostArrayOutput) ToContainerHostArrayOutputWithContext(ctx context.Context) ContainerHostArrayOutput

type ContainerHostInput

type ContainerHostInput interface {
	pulumi.Input

	ToContainerHostOutput() ContainerHostOutput
	ToContainerHostOutputWithContext(context.Context) ContainerHostOutput
}

ContainerHostInput is an input type that accepts ContainerHostArgs and ContainerHostOutput values. You can construct a concrete instance of `ContainerHostInput` via:

ContainerHostArgs{...}

type ContainerHostOutput

type ContainerHostOutput struct{ *pulumi.OutputState }

func (ContainerHostOutput) ElementType

func (ContainerHostOutput) ElementType() reflect.Type

func (ContainerHostOutput) Host

Hostname to add

func (ContainerHostOutput) Ip

IP address this hostname should resolve to.

func (ContainerHostOutput) ToContainerHostOutput

func (o ContainerHostOutput) ToContainerHostOutput() ContainerHostOutput

func (ContainerHostOutput) ToContainerHostOutputWithContext

func (o ContainerHostOutput) ToContainerHostOutputWithContext(ctx context.Context) ContainerHostOutput

type ContainerInput

type ContainerInput interface {
	pulumi.Input

	ToContainerOutput() ContainerOutput
	ToContainerOutputWithContext(ctx context.Context) ContainerOutput
}

type ContainerLabel

type ContainerLabel struct {
	// Name of the label
	Label string `pulumi:"label"`
	// Value of the label
	Value string `pulumi:"value"`
}

type ContainerLabelArgs

type ContainerLabelArgs struct {
	// Name of the label
	Label pulumi.StringInput `pulumi:"label"`
	// Value of the label
	Value pulumi.StringInput `pulumi:"value"`
}

func (ContainerLabelArgs) ElementType

func (ContainerLabelArgs) ElementType() reflect.Type

func (ContainerLabelArgs) ToContainerLabelOutput

func (i ContainerLabelArgs) ToContainerLabelOutput() ContainerLabelOutput

func (ContainerLabelArgs) ToContainerLabelOutputWithContext

func (i ContainerLabelArgs) ToContainerLabelOutputWithContext(ctx context.Context) ContainerLabelOutput

type ContainerLabelArray

type ContainerLabelArray []ContainerLabelInput

func (ContainerLabelArray) ElementType

func (ContainerLabelArray) ElementType() reflect.Type

func (ContainerLabelArray) ToContainerLabelArrayOutput

func (i ContainerLabelArray) ToContainerLabelArrayOutput() ContainerLabelArrayOutput

func (ContainerLabelArray) ToContainerLabelArrayOutputWithContext

func (i ContainerLabelArray) ToContainerLabelArrayOutputWithContext(ctx context.Context) ContainerLabelArrayOutput

type ContainerLabelArrayInput

type ContainerLabelArrayInput interface {
	pulumi.Input

	ToContainerLabelArrayOutput() ContainerLabelArrayOutput
	ToContainerLabelArrayOutputWithContext(context.Context) ContainerLabelArrayOutput
}

ContainerLabelArrayInput is an input type that accepts ContainerLabelArray and ContainerLabelArrayOutput values. You can construct a concrete instance of `ContainerLabelArrayInput` via:

ContainerLabelArray{ ContainerLabelArgs{...} }

type ContainerLabelArrayOutput

type ContainerLabelArrayOutput struct{ *pulumi.OutputState }

func (ContainerLabelArrayOutput) ElementType

func (ContainerLabelArrayOutput) ElementType() reflect.Type

func (ContainerLabelArrayOutput) Index

func (ContainerLabelArrayOutput) ToContainerLabelArrayOutput

func (o ContainerLabelArrayOutput) ToContainerLabelArrayOutput() ContainerLabelArrayOutput

func (ContainerLabelArrayOutput) ToContainerLabelArrayOutputWithContext

func (o ContainerLabelArrayOutput) ToContainerLabelArrayOutputWithContext(ctx context.Context) ContainerLabelArrayOutput

type ContainerLabelInput

type ContainerLabelInput interface {
	pulumi.Input

	ToContainerLabelOutput() ContainerLabelOutput
	ToContainerLabelOutputWithContext(context.Context) ContainerLabelOutput
}

ContainerLabelInput is an input type that accepts ContainerLabelArgs and ContainerLabelOutput values. You can construct a concrete instance of `ContainerLabelInput` via:

ContainerLabelArgs{...}

type ContainerLabelOutput

type ContainerLabelOutput struct{ *pulumi.OutputState }

func (ContainerLabelOutput) ElementType

func (ContainerLabelOutput) ElementType() reflect.Type

func (ContainerLabelOutput) Label

Name of the label

func (ContainerLabelOutput) ToContainerLabelOutput

func (o ContainerLabelOutput) ToContainerLabelOutput() ContainerLabelOutput

func (ContainerLabelOutput) ToContainerLabelOutputWithContext

func (o ContainerLabelOutput) ToContainerLabelOutputWithContext(ctx context.Context) ContainerLabelOutput

func (ContainerLabelOutput) Value

Value of the label

type ContainerMap

type ContainerMap map[string]ContainerInput

func (ContainerMap) ElementType

func (ContainerMap) ElementType() reflect.Type

func (ContainerMap) ToContainerMapOutput

func (i ContainerMap) ToContainerMapOutput() ContainerMapOutput

func (ContainerMap) ToContainerMapOutputWithContext

func (i ContainerMap) ToContainerMapOutputWithContext(ctx context.Context) ContainerMapOutput

type ContainerMapInput

type ContainerMapInput interface {
	pulumi.Input

	ToContainerMapOutput() ContainerMapOutput
	ToContainerMapOutputWithContext(context.Context) ContainerMapOutput
}

ContainerMapInput is an input type that accepts ContainerMap and ContainerMapOutput values. You can construct a concrete instance of `ContainerMapInput` via:

ContainerMap{ "key": ContainerArgs{...} }

type ContainerMapOutput

type ContainerMapOutput struct{ *pulumi.OutputState }

func (ContainerMapOutput) ElementType

func (ContainerMapOutput) ElementType() reflect.Type

func (ContainerMapOutput) MapIndex

func (ContainerMapOutput) ToContainerMapOutput

func (o ContainerMapOutput) ToContainerMapOutput() ContainerMapOutput

func (ContainerMapOutput) ToContainerMapOutputWithContext

func (o ContainerMapOutput) ToContainerMapOutputWithContext(ctx context.Context) ContainerMapOutput

type ContainerMount

type ContainerMount struct {
	// Optional configuration for the bind type.
	BindOptions *ContainerMountBindOptions `pulumi:"bindOptions"`
	// Whether the mount should be read-only.
	ReadOnly *bool `pulumi:"readOnly"`
	// Mount source (e.g. a volume name, a host path).
	Source *string `pulumi:"source"`
	// Container path
	Target string `pulumi:"target"`
	// Optional configuration for the tmpfs type.
	TmpfsOptions *ContainerMountTmpfsOptions `pulumi:"tmpfsOptions"`
	// The mount type
	Type string `pulumi:"type"`
	// Optional configuration for the volume type.
	VolumeOptions *ContainerMountVolumeOptions `pulumi:"volumeOptions"`
}

type ContainerMountArgs

type ContainerMountArgs struct {
	// Optional configuration for the bind type.
	BindOptions ContainerMountBindOptionsPtrInput `pulumi:"bindOptions"`
	// Whether the mount should be read-only.
	ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"`
	// Mount source (e.g. a volume name, a host path).
	Source pulumi.StringPtrInput `pulumi:"source"`
	// Container path
	Target pulumi.StringInput `pulumi:"target"`
	// Optional configuration for the tmpfs type.
	TmpfsOptions ContainerMountTmpfsOptionsPtrInput `pulumi:"tmpfsOptions"`
	// The mount type
	Type pulumi.StringInput `pulumi:"type"`
	// Optional configuration for the volume type.
	VolumeOptions ContainerMountVolumeOptionsPtrInput `pulumi:"volumeOptions"`
}

func (ContainerMountArgs) ElementType

func (ContainerMountArgs) ElementType() reflect.Type

func (ContainerMountArgs) ToContainerMountOutput

func (i ContainerMountArgs) ToContainerMountOutput() ContainerMountOutput

func (ContainerMountArgs) ToContainerMountOutputWithContext

func (i ContainerMountArgs) ToContainerMountOutputWithContext(ctx context.Context) ContainerMountOutput

type ContainerMountArray

type ContainerMountArray []ContainerMountInput

func (ContainerMountArray) ElementType

func (ContainerMountArray) ElementType() reflect.Type

func (ContainerMountArray) ToContainerMountArrayOutput

func (i ContainerMountArray) ToContainerMountArrayOutput() ContainerMountArrayOutput

func (ContainerMountArray) ToContainerMountArrayOutputWithContext

func (i ContainerMountArray) ToContainerMountArrayOutputWithContext(ctx context.Context) ContainerMountArrayOutput

type ContainerMountArrayInput

type ContainerMountArrayInput interface {
	pulumi.Input

	ToContainerMountArrayOutput() ContainerMountArrayOutput
	ToContainerMountArrayOutputWithContext(context.Context) ContainerMountArrayOutput
}

ContainerMountArrayInput is an input type that accepts ContainerMountArray and ContainerMountArrayOutput values. You can construct a concrete instance of `ContainerMountArrayInput` via:

ContainerMountArray{ ContainerMountArgs{...} }

type ContainerMountArrayOutput

type ContainerMountArrayOutput struct{ *pulumi.OutputState }

func (ContainerMountArrayOutput) ElementType

func (ContainerMountArrayOutput) ElementType() reflect.Type

func (ContainerMountArrayOutput) Index

func (ContainerMountArrayOutput) ToContainerMountArrayOutput

func (o ContainerMountArrayOutput) ToContainerMountArrayOutput() ContainerMountArrayOutput

func (ContainerMountArrayOutput) ToContainerMountArrayOutputWithContext

func (o ContainerMountArrayOutput) ToContainerMountArrayOutputWithContext(ctx context.Context) ContainerMountArrayOutput

type ContainerMountBindOptions

type ContainerMountBindOptions struct {
	// A propagation mode with the value.
	Propagation *string `pulumi:"propagation"`
}

type ContainerMountBindOptionsArgs

type ContainerMountBindOptionsArgs struct {
	// A propagation mode with the value.
	Propagation pulumi.StringPtrInput `pulumi:"propagation"`
}

func (ContainerMountBindOptionsArgs) ElementType

func (ContainerMountBindOptionsArgs) ToContainerMountBindOptionsOutput

func (i ContainerMountBindOptionsArgs) ToContainerMountBindOptionsOutput() ContainerMountBindOptionsOutput

func (ContainerMountBindOptionsArgs) ToContainerMountBindOptionsOutputWithContext

func (i ContainerMountBindOptionsArgs) ToContainerMountBindOptionsOutputWithContext(ctx context.Context) ContainerMountBindOptionsOutput

func (ContainerMountBindOptionsArgs) ToContainerMountBindOptionsPtrOutput

func (i ContainerMountBindOptionsArgs) ToContainerMountBindOptionsPtrOutput() ContainerMountBindOptionsPtrOutput

func (ContainerMountBindOptionsArgs) ToContainerMountBindOptionsPtrOutputWithContext

func (i ContainerMountBindOptionsArgs) ToContainerMountBindOptionsPtrOutputWithContext(ctx context.Context) ContainerMountBindOptionsPtrOutput

type ContainerMountBindOptionsInput

type ContainerMountBindOptionsInput interface {
	pulumi.Input

	ToContainerMountBindOptionsOutput() ContainerMountBindOptionsOutput
	ToContainerMountBindOptionsOutputWithContext(context.Context) ContainerMountBindOptionsOutput
}

ContainerMountBindOptionsInput is an input type that accepts ContainerMountBindOptionsArgs and ContainerMountBindOptionsOutput values. You can construct a concrete instance of `ContainerMountBindOptionsInput` via:

ContainerMountBindOptionsArgs{...}

type ContainerMountBindOptionsOutput

type ContainerMountBindOptionsOutput struct{ *pulumi.OutputState }

func (ContainerMountBindOptionsOutput) ElementType

func (ContainerMountBindOptionsOutput) Propagation

A propagation mode with the value.

func (ContainerMountBindOptionsOutput) ToContainerMountBindOptionsOutput

func (o ContainerMountBindOptionsOutput) ToContainerMountBindOptionsOutput() ContainerMountBindOptionsOutput

func (ContainerMountBindOptionsOutput) ToContainerMountBindOptionsOutputWithContext

func (o ContainerMountBindOptionsOutput) ToContainerMountBindOptionsOutputWithContext(ctx context.Context) ContainerMountBindOptionsOutput

func (ContainerMountBindOptionsOutput) ToContainerMountBindOptionsPtrOutput

func (o ContainerMountBindOptionsOutput) ToContainerMountBindOptionsPtrOutput() ContainerMountBindOptionsPtrOutput

func (ContainerMountBindOptionsOutput) ToContainerMountBindOptionsPtrOutputWithContext

func (o ContainerMountBindOptionsOutput) ToContainerMountBindOptionsPtrOutputWithContext(ctx context.Context) ContainerMountBindOptionsPtrOutput

type ContainerMountBindOptionsPtrInput

type ContainerMountBindOptionsPtrInput interface {
	pulumi.Input

	ToContainerMountBindOptionsPtrOutput() ContainerMountBindOptionsPtrOutput
	ToContainerMountBindOptionsPtrOutputWithContext(context.Context) ContainerMountBindOptionsPtrOutput
}

ContainerMountBindOptionsPtrInput is an input type that accepts ContainerMountBindOptionsArgs, ContainerMountBindOptionsPtr and ContainerMountBindOptionsPtrOutput values. You can construct a concrete instance of `ContainerMountBindOptionsPtrInput` via:

        ContainerMountBindOptionsArgs{...}

or:

        nil

type ContainerMountBindOptionsPtrOutput

type ContainerMountBindOptionsPtrOutput struct{ *pulumi.OutputState }

func (ContainerMountBindOptionsPtrOutput) Elem

func (ContainerMountBindOptionsPtrOutput) ElementType

func (ContainerMountBindOptionsPtrOutput) Propagation

A propagation mode with the value.

func (ContainerMountBindOptionsPtrOutput) ToContainerMountBindOptionsPtrOutput

func (o ContainerMountBindOptionsPtrOutput) ToContainerMountBindOptionsPtrOutput() ContainerMountBindOptionsPtrOutput

func (ContainerMountBindOptionsPtrOutput) ToContainerMountBindOptionsPtrOutputWithContext

func (o ContainerMountBindOptionsPtrOutput) ToContainerMountBindOptionsPtrOutputWithContext(ctx context.Context) ContainerMountBindOptionsPtrOutput

type ContainerMountInput

type ContainerMountInput interface {
	pulumi.Input

	ToContainerMountOutput() ContainerMountOutput
	ToContainerMountOutputWithContext(context.Context) ContainerMountOutput
}

ContainerMountInput is an input type that accepts ContainerMountArgs and ContainerMountOutput values. You can construct a concrete instance of `ContainerMountInput` via:

ContainerMountArgs{...}

type ContainerMountOutput

type ContainerMountOutput struct{ *pulumi.OutputState }

func (ContainerMountOutput) BindOptions

Optional configuration for the bind type.

func (ContainerMountOutput) ElementType

func (ContainerMountOutput) ElementType() reflect.Type

func (ContainerMountOutput) ReadOnly

Whether the mount should be read-only.

func (ContainerMountOutput) Source

Mount source (e.g. a volume name, a host path).

func (ContainerMountOutput) Target

Container path

func (ContainerMountOutput) TmpfsOptions

Optional configuration for the tmpfs type.

func (ContainerMountOutput) ToContainerMountOutput

func (o ContainerMountOutput) ToContainerMountOutput() ContainerMountOutput

func (ContainerMountOutput) ToContainerMountOutputWithContext

func (o ContainerMountOutput) ToContainerMountOutputWithContext(ctx context.Context) ContainerMountOutput

func (ContainerMountOutput) Type

The mount type

func (ContainerMountOutput) VolumeOptions

Optional configuration for the volume type.

type ContainerMountTmpfsOptions

type ContainerMountTmpfsOptions struct {
	// The permission mode for the tmpfs mount in an integer.
	Mode *int `pulumi:"mode"`
	// The size for the tmpfs mount in bytes.
	SizeBytes *int `pulumi:"sizeBytes"`
}

type ContainerMountTmpfsOptionsArgs

type ContainerMountTmpfsOptionsArgs struct {
	// The permission mode for the tmpfs mount in an integer.
	Mode pulumi.IntPtrInput `pulumi:"mode"`
	// The size for the tmpfs mount in bytes.
	SizeBytes pulumi.IntPtrInput `pulumi:"sizeBytes"`
}

func (ContainerMountTmpfsOptionsArgs) ElementType

func (ContainerMountTmpfsOptionsArgs) ToContainerMountTmpfsOptionsOutput

func (i ContainerMountTmpfsOptionsArgs) ToContainerMountTmpfsOptionsOutput() ContainerMountTmpfsOptionsOutput

func (ContainerMountTmpfsOptionsArgs) ToContainerMountTmpfsOptionsOutputWithContext

func (i ContainerMountTmpfsOptionsArgs) ToContainerMountTmpfsOptionsOutputWithContext(ctx context.Context) ContainerMountTmpfsOptionsOutput

func (ContainerMountTmpfsOptionsArgs) ToContainerMountTmpfsOptionsPtrOutput

func (i ContainerMountTmpfsOptionsArgs) ToContainerMountTmpfsOptionsPtrOutput() ContainerMountTmpfsOptionsPtrOutput

func (ContainerMountTmpfsOptionsArgs) ToContainerMountTmpfsOptionsPtrOutputWithContext

func (i ContainerMountTmpfsOptionsArgs) ToContainerMountTmpfsOptionsPtrOutputWithContext(ctx context.Context) ContainerMountTmpfsOptionsPtrOutput

type ContainerMountTmpfsOptionsInput

type ContainerMountTmpfsOptionsInput interface {
	pulumi.Input

	ToContainerMountTmpfsOptionsOutput() ContainerMountTmpfsOptionsOutput
	ToContainerMountTmpfsOptionsOutputWithContext(context.Context) ContainerMountTmpfsOptionsOutput
}

ContainerMountTmpfsOptionsInput is an input type that accepts ContainerMountTmpfsOptionsArgs and ContainerMountTmpfsOptionsOutput values. You can construct a concrete instance of `ContainerMountTmpfsOptionsInput` via:

ContainerMountTmpfsOptionsArgs{...}

type ContainerMountTmpfsOptionsOutput

type ContainerMountTmpfsOptionsOutput struct{ *pulumi.OutputState }

func (ContainerMountTmpfsOptionsOutput) ElementType

func (ContainerMountTmpfsOptionsOutput) Mode

The permission mode for the tmpfs mount in an integer.

func (ContainerMountTmpfsOptionsOutput) SizeBytes

The size for the tmpfs mount in bytes.

func (ContainerMountTmpfsOptionsOutput) ToContainerMountTmpfsOptionsOutput

func (o ContainerMountTmpfsOptionsOutput) ToContainerMountTmpfsOptionsOutput() ContainerMountTmpfsOptionsOutput

func (ContainerMountTmpfsOptionsOutput) ToContainerMountTmpfsOptionsOutputWithContext

func (o ContainerMountTmpfsOptionsOutput) ToContainerMountTmpfsOptionsOutputWithContext(ctx context.Context) ContainerMountTmpfsOptionsOutput

func (ContainerMountTmpfsOptionsOutput) ToContainerMountTmpfsOptionsPtrOutput

func (o ContainerMountTmpfsOptionsOutput) ToContainerMountTmpfsOptionsPtrOutput() ContainerMountTmpfsOptionsPtrOutput

func (ContainerMountTmpfsOptionsOutput) ToContainerMountTmpfsOptionsPtrOutputWithContext

func (o ContainerMountTmpfsOptionsOutput) ToContainerMountTmpfsOptionsPtrOutputWithContext(ctx context.Context) ContainerMountTmpfsOptionsPtrOutput

type ContainerMountTmpfsOptionsPtrInput

type ContainerMountTmpfsOptionsPtrInput interface {
	pulumi.Input

	ToContainerMountTmpfsOptionsPtrOutput() ContainerMountTmpfsOptionsPtrOutput
	ToContainerMountTmpfsOptionsPtrOutputWithContext(context.Context) ContainerMountTmpfsOptionsPtrOutput
}

ContainerMountTmpfsOptionsPtrInput is an input type that accepts ContainerMountTmpfsOptionsArgs, ContainerMountTmpfsOptionsPtr and ContainerMountTmpfsOptionsPtrOutput values. You can construct a concrete instance of `ContainerMountTmpfsOptionsPtrInput` via:

        ContainerMountTmpfsOptionsArgs{...}

or:

        nil

type ContainerMountTmpfsOptionsPtrOutput

type ContainerMountTmpfsOptionsPtrOutput struct{ *pulumi.OutputState }

func (ContainerMountTmpfsOptionsPtrOutput) Elem

func (ContainerMountTmpfsOptionsPtrOutput) ElementType

func (ContainerMountTmpfsOptionsPtrOutput) Mode

The permission mode for the tmpfs mount in an integer.

func (ContainerMountTmpfsOptionsPtrOutput) SizeBytes

The size for the tmpfs mount in bytes.

func (ContainerMountTmpfsOptionsPtrOutput) ToContainerMountTmpfsOptionsPtrOutput

func (o ContainerMountTmpfsOptionsPtrOutput) ToContainerMountTmpfsOptionsPtrOutput() ContainerMountTmpfsOptionsPtrOutput

func (ContainerMountTmpfsOptionsPtrOutput) ToContainerMountTmpfsOptionsPtrOutputWithContext

func (o ContainerMountTmpfsOptionsPtrOutput) ToContainerMountTmpfsOptionsPtrOutputWithContext(ctx context.Context) ContainerMountTmpfsOptionsPtrOutput

type ContainerMountVolumeOptions

type ContainerMountVolumeOptions struct {
	// Name of the driver to use to create the volume.
	DriverName *string `pulumi:"driverName"`
	// key/value map of driver specific options.
	DriverOptions map[string]string `pulumi:"driverOptions"`
	// User-defined key/value metadata.
	Labels []ContainerMountVolumeOptionsLabel `pulumi:"labels"`
	// Populate volume with data from the target.
	NoCopy *bool `pulumi:"noCopy"`
}

type ContainerMountVolumeOptionsArgs

type ContainerMountVolumeOptionsArgs struct {
	// Name of the driver to use to create the volume.
	DriverName pulumi.StringPtrInput `pulumi:"driverName"`
	// key/value map of driver specific options.
	DriverOptions pulumi.StringMapInput `pulumi:"driverOptions"`
	// User-defined key/value metadata.
	Labels ContainerMountVolumeOptionsLabelArrayInput `pulumi:"labels"`
	// Populate volume with data from the target.
	NoCopy pulumi.BoolPtrInput `pulumi:"noCopy"`
}

func (ContainerMountVolumeOptionsArgs) ElementType

func (ContainerMountVolumeOptionsArgs) ToContainerMountVolumeOptionsOutput

func (i ContainerMountVolumeOptionsArgs) ToContainerMountVolumeOptionsOutput() ContainerMountVolumeOptionsOutput

func (ContainerMountVolumeOptionsArgs) ToContainerMountVolumeOptionsOutputWithContext

func (i ContainerMountVolumeOptionsArgs) ToContainerMountVolumeOptionsOutputWithContext(ctx context.Context) ContainerMountVolumeOptionsOutput

func (ContainerMountVolumeOptionsArgs) ToContainerMountVolumeOptionsPtrOutput

func (i ContainerMountVolumeOptionsArgs) ToContainerMountVolumeOptionsPtrOutput() ContainerMountVolumeOptionsPtrOutput

func (ContainerMountVolumeOptionsArgs) ToContainerMountVolumeOptionsPtrOutputWithContext

func (i ContainerMountVolumeOptionsArgs) ToContainerMountVolumeOptionsPtrOutputWithContext(ctx context.Context) ContainerMountVolumeOptionsPtrOutput

type ContainerMountVolumeOptionsInput

type ContainerMountVolumeOptionsInput interface {
	pulumi.Input

	ToContainerMountVolumeOptionsOutput() ContainerMountVolumeOptionsOutput
	ToContainerMountVolumeOptionsOutputWithContext(context.Context) ContainerMountVolumeOptionsOutput
}

ContainerMountVolumeOptionsInput is an input type that accepts ContainerMountVolumeOptionsArgs and ContainerMountVolumeOptionsOutput values. You can construct a concrete instance of `ContainerMountVolumeOptionsInput` via:

ContainerMountVolumeOptionsArgs{...}

type ContainerMountVolumeOptionsLabel

type ContainerMountVolumeOptionsLabel struct {
	// Name of the label
	Label string `pulumi:"label"`
	// Value of the label
	Value string `pulumi:"value"`
}

type ContainerMountVolumeOptionsLabelArgs

type ContainerMountVolumeOptionsLabelArgs struct {
	// Name of the label
	Label pulumi.StringInput `pulumi:"label"`
	// Value of the label
	Value pulumi.StringInput `pulumi:"value"`
}

func (ContainerMountVolumeOptionsLabelArgs) ElementType

func (ContainerMountVolumeOptionsLabelArgs) ToContainerMountVolumeOptionsLabelOutput

func (i ContainerMountVolumeOptionsLabelArgs) ToContainerMountVolumeOptionsLabelOutput() ContainerMountVolumeOptionsLabelOutput

func (ContainerMountVolumeOptionsLabelArgs) ToContainerMountVolumeOptionsLabelOutputWithContext

func (i ContainerMountVolumeOptionsLabelArgs) ToContainerMountVolumeOptionsLabelOutputWithContext(ctx context.Context) ContainerMountVolumeOptionsLabelOutput

type ContainerMountVolumeOptionsLabelArray

type ContainerMountVolumeOptionsLabelArray []ContainerMountVolumeOptionsLabelInput

func (ContainerMountVolumeOptionsLabelArray) ElementType

func (ContainerMountVolumeOptionsLabelArray) ToContainerMountVolumeOptionsLabelArrayOutput

func (i ContainerMountVolumeOptionsLabelArray) ToContainerMountVolumeOptionsLabelArrayOutput() ContainerMountVolumeOptionsLabelArrayOutput

func (ContainerMountVolumeOptionsLabelArray) ToContainerMountVolumeOptionsLabelArrayOutputWithContext

func (i ContainerMountVolumeOptionsLabelArray) ToContainerMountVolumeOptionsLabelArrayOutputWithContext(ctx context.Context) ContainerMountVolumeOptionsLabelArrayOutput

type ContainerMountVolumeOptionsLabelArrayInput

type ContainerMountVolumeOptionsLabelArrayInput interface {
	pulumi.Input

	ToContainerMountVolumeOptionsLabelArrayOutput() ContainerMountVolumeOptionsLabelArrayOutput
	ToContainerMountVolumeOptionsLabelArrayOutputWithContext(context.Context) ContainerMountVolumeOptionsLabelArrayOutput
}

ContainerMountVolumeOptionsLabelArrayInput is an input type that accepts ContainerMountVolumeOptionsLabelArray and ContainerMountVolumeOptionsLabelArrayOutput values. You can construct a concrete instance of `ContainerMountVolumeOptionsLabelArrayInput` via:

ContainerMountVolumeOptionsLabelArray{ ContainerMountVolumeOptionsLabelArgs{...} }

type ContainerMountVolumeOptionsLabelArrayOutput

type ContainerMountVolumeOptionsLabelArrayOutput struct{ *pulumi.OutputState }

func (ContainerMountVolumeOptionsLabelArrayOutput) ElementType

func (ContainerMountVolumeOptionsLabelArrayOutput) Index

func (ContainerMountVolumeOptionsLabelArrayOutput) ToContainerMountVolumeOptionsLabelArrayOutput

func (o ContainerMountVolumeOptionsLabelArrayOutput) ToContainerMountVolumeOptionsLabelArrayOutput() ContainerMountVolumeOptionsLabelArrayOutput

func (ContainerMountVolumeOptionsLabelArrayOutput) ToContainerMountVolumeOptionsLabelArrayOutputWithContext

func (o ContainerMountVolumeOptionsLabelArrayOutput) ToContainerMountVolumeOptionsLabelArrayOutputWithContext(ctx context.Context) ContainerMountVolumeOptionsLabelArrayOutput

type ContainerMountVolumeOptionsLabelInput

type ContainerMountVolumeOptionsLabelInput interface {
	pulumi.Input

	ToContainerMountVolumeOptionsLabelOutput() ContainerMountVolumeOptionsLabelOutput
	ToContainerMountVolumeOptionsLabelOutputWithContext(context.Context) ContainerMountVolumeOptionsLabelOutput
}

ContainerMountVolumeOptionsLabelInput is an input type that accepts ContainerMountVolumeOptionsLabelArgs and ContainerMountVolumeOptionsLabelOutput values. You can construct a concrete instance of `ContainerMountVolumeOptionsLabelInput` via:

ContainerMountVolumeOptionsLabelArgs{...}

type ContainerMountVolumeOptionsLabelOutput

type ContainerMountVolumeOptionsLabelOutput struct{ *pulumi.OutputState }

func (ContainerMountVolumeOptionsLabelOutput) ElementType

func (ContainerMountVolumeOptionsLabelOutput) Label

Name of the label

func (ContainerMountVolumeOptionsLabelOutput) ToContainerMountVolumeOptionsLabelOutput

func (o ContainerMountVolumeOptionsLabelOutput) ToContainerMountVolumeOptionsLabelOutput() ContainerMountVolumeOptionsLabelOutput

func (ContainerMountVolumeOptionsLabelOutput) ToContainerMountVolumeOptionsLabelOutputWithContext

func (o ContainerMountVolumeOptionsLabelOutput) ToContainerMountVolumeOptionsLabelOutputWithContext(ctx context.Context) ContainerMountVolumeOptionsLabelOutput

func (ContainerMountVolumeOptionsLabelOutput) Value

Value of the label

type ContainerMountVolumeOptionsOutput

type ContainerMountVolumeOptionsOutput struct{ *pulumi.OutputState }

func (ContainerMountVolumeOptionsOutput) DriverName

Name of the driver to use to create the volume.

func (ContainerMountVolumeOptionsOutput) DriverOptions

key/value map of driver specific options.

func (ContainerMountVolumeOptionsOutput) ElementType

func (ContainerMountVolumeOptionsOutput) Labels

User-defined key/value metadata.

func (ContainerMountVolumeOptionsOutput) NoCopy

Populate volume with data from the target.

func (ContainerMountVolumeOptionsOutput) ToContainerMountVolumeOptionsOutput

func (o ContainerMountVolumeOptionsOutput) ToContainerMountVolumeOptionsOutput() ContainerMountVolumeOptionsOutput

func (ContainerMountVolumeOptionsOutput) ToContainerMountVolumeOptionsOutputWithContext

func (o ContainerMountVolumeOptionsOutput) ToContainerMountVolumeOptionsOutputWithContext(ctx context.Context) ContainerMountVolumeOptionsOutput

func (ContainerMountVolumeOptionsOutput) ToContainerMountVolumeOptionsPtrOutput

func (o ContainerMountVolumeOptionsOutput) ToContainerMountVolumeOptionsPtrOutput() ContainerMountVolumeOptionsPtrOutput

func (ContainerMountVolumeOptionsOutput) ToContainerMountVolumeOptionsPtrOutputWithContext

func (o ContainerMountVolumeOptionsOutput) ToContainerMountVolumeOptionsPtrOutputWithContext(ctx context.Context) ContainerMountVolumeOptionsPtrOutput

type ContainerMountVolumeOptionsPtrInput

type ContainerMountVolumeOptionsPtrInput interface {
	pulumi.Input

	ToContainerMountVolumeOptionsPtrOutput() ContainerMountVolumeOptionsPtrOutput
	ToContainerMountVolumeOptionsPtrOutputWithContext(context.Context) ContainerMountVolumeOptionsPtrOutput
}

ContainerMountVolumeOptionsPtrInput is an input type that accepts ContainerMountVolumeOptionsArgs, ContainerMountVolumeOptionsPtr and ContainerMountVolumeOptionsPtrOutput values. You can construct a concrete instance of `ContainerMountVolumeOptionsPtrInput` via:

        ContainerMountVolumeOptionsArgs{...}

or:

        nil

type ContainerMountVolumeOptionsPtrOutput

type ContainerMountVolumeOptionsPtrOutput struct{ *pulumi.OutputState }

func (ContainerMountVolumeOptionsPtrOutput) DriverName

Name of the driver to use to create the volume.

func (ContainerMountVolumeOptionsPtrOutput) DriverOptions

key/value map of driver specific options.

func (ContainerMountVolumeOptionsPtrOutput) Elem

func (ContainerMountVolumeOptionsPtrOutput) ElementType

func (ContainerMountVolumeOptionsPtrOutput) Labels

User-defined key/value metadata.

func (ContainerMountVolumeOptionsPtrOutput) NoCopy

Populate volume with data from the target.

func (ContainerMountVolumeOptionsPtrOutput) ToContainerMountVolumeOptionsPtrOutput

func (o ContainerMountVolumeOptionsPtrOutput) ToContainerMountVolumeOptionsPtrOutput() ContainerMountVolumeOptionsPtrOutput

func (ContainerMountVolumeOptionsPtrOutput) ToContainerMountVolumeOptionsPtrOutputWithContext

func (o ContainerMountVolumeOptionsPtrOutput) ToContainerMountVolumeOptionsPtrOutputWithContext(ctx context.Context) ContainerMountVolumeOptionsPtrOutput

type ContainerNetworkData

type ContainerNetworkData struct {
	// The network gateway of the container.
	Gateway *string `pulumi:"gateway"`
	// The IPV6 address of the container.
	GlobalIpv6Address *string `pulumi:"globalIpv6Address"`
	// The IPV6 prefix length address of the container.
	GlobalIpv6PrefixLength *int `pulumi:"globalIpv6PrefixLength"`
	// The IP address of the container.
	IpAddress *string `pulumi:"ipAddress"`
	// The IP prefix length of the container.
	IpPrefixLength *int `pulumi:"ipPrefixLength"`
	// The IPV6 gateway of the container.
	Ipv6Gateway *string `pulumi:"ipv6Gateway"`
	// The MAC address of the container.
	MacAddress *string `pulumi:"macAddress"`
	// The name of the network
	NetworkName *string `pulumi:"networkName"`
}

type ContainerNetworkDataArgs

type ContainerNetworkDataArgs struct {
	// The network gateway of the container.
	Gateway pulumi.StringPtrInput `pulumi:"gateway"`
	// The IPV6 address of the container.
	GlobalIpv6Address pulumi.StringPtrInput `pulumi:"globalIpv6Address"`
	// The IPV6 prefix length address of the container.
	GlobalIpv6PrefixLength pulumi.IntPtrInput `pulumi:"globalIpv6PrefixLength"`
	// The IP address of the container.
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	// The IP prefix length of the container.
	IpPrefixLength pulumi.IntPtrInput `pulumi:"ipPrefixLength"`
	// The IPV6 gateway of the container.
	Ipv6Gateway pulumi.StringPtrInput `pulumi:"ipv6Gateway"`
	// The MAC address of the container.
	MacAddress pulumi.StringPtrInput `pulumi:"macAddress"`
	// The name of the network
	NetworkName pulumi.StringPtrInput `pulumi:"networkName"`
}

func (ContainerNetworkDataArgs) ElementType

func (ContainerNetworkDataArgs) ElementType() reflect.Type

func (ContainerNetworkDataArgs) ToContainerNetworkDataOutput

func (i ContainerNetworkDataArgs) ToContainerNetworkDataOutput() ContainerNetworkDataOutput

func (ContainerNetworkDataArgs) ToContainerNetworkDataOutputWithContext

func (i ContainerNetworkDataArgs) ToContainerNetworkDataOutputWithContext(ctx context.Context) ContainerNetworkDataOutput

type ContainerNetworkDataArray

type ContainerNetworkDataArray []ContainerNetworkDataInput

func (ContainerNetworkDataArray) ElementType

func (ContainerNetworkDataArray) ElementType() reflect.Type

func (ContainerNetworkDataArray) ToContainerNetworkDataArrayOutput

func (i ContainerNetworkDataArray) ToContainerNetworkDataArrayOutput() ContainerNetworkDataArrayOutput

func (ContainerNetworkDataArray) ToContainerNetworkDataArrayOutputWithContext

func (i ContainerNetworkDataArray) ToContainerNetworkDataArrayOutputWithContext(ctx context.Context) ContainerNetworkDataArrayOutput

type ContainerNetworkDataArrayInput

type ContainerNetworkDataArrayInput interface {
	pulumi.Input

	ToContainerNetworkDataArrayOutput() ContainerNetworkDataArrayOutput
	ToContainerNetworkDataArrayOutputWithContext(context.Context) ContainerNetworkDataArrayOutput
}

ContainerNetworkDataArrayInput is an input type that accepts ContainerNetworkDataArray and ContainerNetworkDataArrayOutput values. You can construct a concrete instance of `ContainerNetworkDataArrayInput` via:

ContainerNetworkDataArray{ ContainerNetworkDataArgs{...} }

type ContainerNetworkDataArrayOutput

type ContainerNetworkDataArrayOutput struct{ *pulumi.OutputState }

func (ContainerNetworkDataArrayOutput) ElementType

func (ContainerNetworkDataArrayOutput) Index

func (ContainerNetworkDataArrayOutput) ToContainerNetworkDataArrayOutput

func (o ContainerNetworkDataArrayOutput) ToContainerNetworkDataArrayOutput() ContainerNetworkDataArrayOutput

func (ContainerNetworkDataArrayOutput) ToContainerNetworkDataArrayOutputWithContext

func (o ContainerNetworkDataArrayOutput) ToContainerNetworkDataArrayOutputWithContext(ctx context.Context) ContainerNetworkDataArrayOutput

type ContainerNetworkDataInput

type ContainerNetworkDataInput interface {
	pulumi.Input

	ToContainerNetworkDataOutput() ContainerNetworkDataOutput
	ToContainerNetworkDataOutputWithContext(context.Context) ContainerNetworkDataOutput
}

ContainerNetworkDataInput is an input type that accepts ContainerNetworkDataArgs and ContainerNetworkDataOutput values. You can construct a concrete instance of `ContainerNetworkDataInput` via:

ContainerNetworkDataArgs{...}

type ContainerNetworkDataOutput

type ContainerNetworkDataOutput struct{ *pulumi.OutputState }

func (ContainerNetworkDataOutput) ElementType

func (ContainerNetworkDataOutput) ElementType() reflect.Type

func (ContainerNetworkDataOutput) Gateway

The network gateway of the container.

func (ContainerNetworkDataOutput) GlobalIpv6Address

func (o ContainerNetworkDataOutput) GlobalIpv6Address() pulumi.StringPtrOutput

The IPV6 address of the container.

func (ContainerNetworkDataOutput) GlobalIpv6PrefixLength

func (o ContainerNetworkDataOutput) GlobalIpv6PrefixLength() pulumi.IntPtrOutput

The IPV6 prefix length address of the container.

func (ContainerNetworkDataOutput) IpAddress

The IP address of the container.

func (ContainerNetworkDataOutput) IpPrefixLength

func (o ContainerNetworkDataOutput) IpPrefixLength() pulumi.IntPtrOutput

The IP prefix length of the container.

func (ContainerNetworkDataOutput) Ipv6Gateway

The IPV6 gateway of the container.

func (ContainerNetworkDataOutput) MacAddress added in v4.1.0

The MAC address of the container.

func (ContainerNetworkDataOutput) NetworkName

The name of the network

func (ContainerNetworkDataOutput) ToContainerNetworkDataOutput

func (o ContainerNetworkDataOutput) ToContainerNetworkDataOutput() ContainerNetworkDataOutput

func (ContainerNetworkDataOutput) ToContainerNetworkDataOutputWithContext

func (o ContainerNetworkDataOutput) ToContainerNetworkDataOutputWithContext(ctx context.Context) ContainerNetworkDataOutput

type ContainerNetworksAdvanced

type ContainerNetworksAdvanced struct {
	// The network aliases of the container in the specific network.
	Aliases []string `pulumi:"aliases"`
	// The IPV4 address of the container in the specific network.
	Ipv4Address *string `pulumi:"ipv4Address"`
	// The IPV6 address of the container in the specific network.
	Ipv6Address *string `pulumi:"ipv6Address"`
	// The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.
	Name string `pulumi:"name"`
}

type ContainerNetworksAdvancedArgs

type ContainerNetworksAdvancedArgs struct {
	// The network aliases of the container in the specific network.
	Aliases pulumi.StringArrayInput `pulumi:"aliases"`
	// The IPV4 address of the container in the specific network.
	Ipv4Address pulumi.StringPtrInput `pulumi:"ipv4Address"`
	// The IPV6 address of the container in the specific network.
	Ipv6Address pulumi.StringPtrInput `pulumi:"ipv6Address"`
	// The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.
	Name pulumi.StringInput `pulumi:"name"`
}

func (ContainerNetworksAdvancedArgs) ElementType

func (ContainerNetworksAdvancedArgs) ToContainerNetworksAdvancedOutput

func (i ContainerNetworksAdvancedArgs) ToContainerNetworksAdvancedOutput() ContainerNetworksAdvancedOutput

func (ContainerNetworksAdvancedArgs) ToContainerNetworksAdvancedOutputWithContext

func (i ContainerNetworksAdvancedArgs) ToContainerNetworksAdvancedOutputWithContext(ctx context.Context) ContainerNetworksAdvancedOutput

type ContainerNetworksAdvancedArray

type ContainerNetworksAdvancedArray []ContainerNetworksAdvancedInput

func (ContainerNetworksAdvancedArray) ElementType

func (ContainerNetworksAdvancedArray) ToContainerNetworksAdvancedArrayOutput

func (i ContainerNetworksAdvancedArray) ToContainerNetworksAdvancedArrayOutput() ContainerNetworksAdvancedArrayOutput

func (ContainerNetworksAdvancedArray) ToContainerNetworksAdvancedArrayOutputWithContext

func (i ContainerNetworksAdvancedArray) ToContainerNetworksAdvancedArrayOutputWithContext(ctx context.Context) ContainerNetworksAdvancedArrayOutput

type ContainerNetworksAdvancedArrayInput

type ContainerNetworksAdvancedArrayInput interface {
	pulumi.Input

	ToContainerNetworksAdvancedArrayOutput() ContainerNetworksAdvancedArrayOutput
	ToContainerNetworksAdvancedArrayOutputWithContext(context.Context) ContainerNetworksAdvancedArrayOutput
}

ContainerNetworksAdvancedArrayInput is an input type that accepts ContainerNetworksAdvancedArray and ContainerNetworksAdvancedArrayOutput values. You can construct a concrete instance of `ContainerNetworksAdvancedArrayInput` via:

ContainerNetworksAdvancedArray{ ContainerNetworksAdvancedArgs{...} }

type ContainerNetworksAdvancedArrayOutput

type ContainerNetworksAdvancedArrayOutput struct{ *pulumi.OutputState }

func (ContainerNetworksAdvancedArrayOutput) ElementType

func (ContainerNetworksAdvancedArrayOutput) Index

func (ContainerNetworksAdvancedArrayOutput) ToContainerNetworksAdvancedArrayOutput

func (o ContainerNetworksAdvancedArrayOutput) ToContainerNetworksAdvancedArrayOutput() ContainerNetworksAdvancedArrayOutput

func (ContainerNetworksAdvancedArrayOutput) ToContainerNetworksAdvancedArrayOutputWithContext

func (o ContainerNetworksAdvancedArrayOutput) ToContainerNetworksAdvancedArrayOutputWithContext(ctx context.Context) ContainerNetworksAdvancedArrayOutput

type ContainerNetworksAdvancedInput

type ContainerNetworksAdvancedInput interface {
	pulumi.Input

	ToContainerNetworksAdvancedOutput() ContainerNetworksAdvancedOutput
	ToContainerNetworksAdvancedOutputWithContext(context.Context) ContainerNetworksAdvancedOutput
}

ContainerNetworksAdvancedInput is an input type that accepts ContainerNetworksAdvancedArgs and ContainerNetworksAdvancedOutput values. You can construct a concrete instance of `ContainerNetworksAdvancedInput` via:

ContainerNetworksAdvancedArgs{...}

type ContainerNetworksAdvancedOutput

type ContainerNetworksAdvancedOutput struct{ *pulumi.OutputState }

func (ContainerNetworksAdvancedOutput) Aliases

The network aliases of the container in the specific network.

func (ContainerNetworksAdvancedOutput) ElementType

func (ContainerNetworksAdvancedOutput) Ipv4Address

The IPV4 address of the container in the specific network.

func (ContainerNetworksAdvancedOutput) Ipv6Address

The IPV6 address of the container in the specific network.

func (ContainerNetworksAdvancedOutput) Name

The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.

func (ContainerNetworksAdvancedOutput) ToContainerNetworksAdvancedOutput

func (o ContainerNetworksAdvancedOutput) ToContainerNetworksAdvancedOutput() ContainerNetworksAdvancedOutput

func (ContainerNetworksAdvancedOutput) ToContainerNetworksAdvancedOutputWithContext

func (o ContainerNetworksAdvancedOutput) ToContainerNetworksAdvancedOutputWithContext(ctx context.Context) ContainerNetworksAdvancedOutput

type ContainerOutput

type ContainerOutput struct{ *pulumi.OutputState }

func (ContainerOutput) Attach

If `true` attach to the container after its creation and waits the end of its execution. Defaults to `false`.

func (ContainerOutput) Bridge

func (o ContainerOutput) Bridge() pulumi.StringOutput

The network bridge of the container as read from its NetworkSettings.

func (ContainerOutput) Capabilities

Add or drop certrain linux capabilities.

func (ContainerOutput) CgroupnsMode added in v4.1.0

func (o ContainerOutput) CgroupnsMode() pulumi.StringPtrOutput

Cgroup namespace mode to use for the container. Possible values are: `private`, `host`.

func (ContainerOutput) Command

The command to use to start the container. For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be `["/usr/bin/myprogram","-f","baz.con"]`.

func (ContainerOutput) ContainerLogs

func (o ContainerOutput) ContainerLogs() pulumi.StringOutput

The logs of the container if its execution is done (`attach` must be disabled).

func (ContainerOutput) ContainerReadRefreshTimeoutMilliseconds

func (o ContainerOutput) ContainerReadRefreshTimeoutMilliseconds() pulumi.IntPtrOutput

The total number of milliseconds to wait for the container to reach status 'running'

func (ContainerOutput) CpuSet

A comma-separated list or hyphen-separated range of CPUs a container can use, e.g. `0-1`.

func (ContainerOutput) CpuShares

func (o ContainerOutput) CpuShares() pulumi.IntPtrOutput

CPU shares (relative weight) for the container.

func (ContainerOutput) DestroyGraceSeconds

func (o ContainerOutput) DestroyGraceSeconds() pulumi.IntPtrOutput

If defined will attempt to stop the container before destroying. Container will be destroyed after `n` seconds or on successful stop.

func (ContainerOutput) Devices

Bind devices to the container.

func (ContainerOutput) Dns

DNS servers to use.

func (ContainerOutput) DnsOpts

DNS options used by the DNS provider(s), see `resolv.conf` documentation for valid list of options.

func (ContainerOutput) DnsSearches

func (o ContainerOutput) DnsSearches() pulumi.StringArrayOutput

DNS search domains that are used when bare unqualified hostnames are used inside of the container.

func (ContainerOutput) Domainname

func (o ContainerOutput) Domainname() pulumi.StringPtrOutput

Domain name of the container.

func (ContainerOutput) ElementType

func (ContainerOutput) ElementType() reflect.Type

func (ContainerOutput) Entrypoints

func (o ContainerOutput) Entrypoints() pulumi.StringArrayOutput

The command to use as the Entrypoint for the container. The Entrypoint allows you to configure a container to run as an executable. For example, to run `/usr/bin/myprogram` when starting a container, set the entrypoint to be `"/usr/bin/myprogra"]`.

func (ContainerOutput) Envs

Environment variables to set in the form of `KEY=VALUE`, e.g. `DEBUG=0`

func (ContainerOutput) ExitCode

func (o ContainerOutput) ExitCode() pulumi.IntOutput

The exit code of the container if its execution is done (`mustRun` must be disabled).

func (ContainerOutput) Gpus

GPU devices to add to the container. Currently, only the value `all` is supported. Passing any other value will result in unexpected behavior.

func (ContainerOutput) GroupAdds

Additional groups for the container user

func (ContainerOutput) Healthcheck

A test to perform to check that the container is healthy

func (ContainerOutput) Hostname

func (o ContainerOutput) Hostname() pulumi.StringOutput

Hostname of the container.

func (ContainerOutput) Hosts

Hostname to add

func (ContainerOutput) Image

The ID of the image to back this container. The easiest way to get this value is to use the `RemoteImage` resource as is shown in the example.

func (ContainerOutput) Init

Configured whether an init process should be injected for this container. If unset this will default to the `dockerd` defaults.

func (ContainerOutput) IpcMode

func (o ContainerOutput) IpcMode() pulumi.StringOutput

IPC sharing mode for the container. Possible values are: `none`, `private`, `shareable`, `container:<name|id>` or `host`.

func (ContainerOutput) Labels

User-defined key/value metadata.

func (ContainerOutput) LogDriver

func (o ContainerOutput) LogDriver() pulumi.StringOutput

The logging driver to use for the container.

func (ContainerOutput) LogOpts

func (o ContainerOutput) LogOpts() pulumi.MapOutput

Key/value pairs to use as options for the logging driver.

func (ContainerOutput) Logs

Save the container logs (`attach` must be enabled). Defaults to `false`.

func (ContainerOutput) MaxRetryCount

func (o ContainerOutput) MaxRetryCount() pulumi.IntPtrOutput

The maximum amount of times to an attempt a restart when `restart` is set to 'on-failure'.

func (ContainerOutput) Memory

func (o ContainerOutput) Memory() pulumi.IntPtrOutput

The memory limit for the container in MBs.

func (ContainerOutput) MemorySwap

func (o ContainerOutput) MemorySwap() pulumi.IntPtrOutput

The total memory limit (memory + swap) for the container in MBs. This setting may compute to `-1` after `pulumi up` if the target host doesn't support memory swap, when that is the case docker will use a soft limitation.

func (ContainerOutput) Mounts

Specification for mounts to be added to containers created as part of the service.

func (ContainerOutput) MustRun

func (o ContainerOutput) MustRun() pulumi.BoolPtrOutput

If `true`, then the Docker container will be kept running. If `false`, then as long as the container exists, Terraform assumes it is successful. Defaults to `true`.

func (ContainerOutput) Name

The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.

func (ContainerOutput) NetworkDatas

The data of the networks the container is connected to.

func (ContainerOutput) NetworkMode

func (o ContainerOutput) NetworkMode() pulumi.StringPtrOutput

Network mode of the container.

func (ContainerOutput) NetworksAdvanced

The networks the container is attached to

func (ContainerOutput) PidMode

he PID (Process) Namespace mode for the container. Either `container:<name|id>` or `host`.

func (ContainerOutput) Ports

Publish a container's port(s) to the host.

func (ContainerOutput) Privileged

func (o ContainerOutput) Privileged() pulumi.BoolPtrOutput

If `true`, the container runs in privileged mode.

func (ContainerOutput) PublishAllPorts

func (o ContainerOutput) PublishAllPorts() pulumi.BoolPtrOutput

Publish all ports of the container.

func (ContainerOutput) ReadOnly

func (o ContainerOutput) ReadOnly() pulumi.BoolPtrOutput

Whether the mount should be read-only.

func (ContainerOutput) RemoveVolumes

func (o ContainerOutput) RemoveVolumes() pulumi.BoolPtrOutput

If `true`, it will remove anonymous volumes associated with the container. Defaults to `true`.

func (ContainerOutput) Restart

The restart policy for the container. Must be one of 'no', 'on-failure', 'always', 'unless-stopped'. Defaults to `no`.

func (ContainerOutput) Rm

If `true`, then the container will be automatically removed when it exits. Defaults to `false`.

func (ContainerOutput) Runtime

func (o ContainerOutput) Runtime() pulumi.StringOutput

Runtime to use for the container.

func (ContainerOutput) SecurityOpts

func (o ContainerOutput) SecurityOpts() pulumi.StringArrayOutput

List of string values to customize labels for MLS systems, such as SELinux. See https://docs.docker.com/engine/reference/run/#security-configuration.

func (ContainerOutput) ShmSize

func (o ContainerOutput) ShmSize() pulumi.IntOutput

Size of `/dev/shm` in MBs.

func (ContainerOutput) Start

If `true`, then the Docker container will be started after creation. If `false`, then the container is only created. Defaults to `true`.

func (ContainerOutput) StdinOpen

func (o ContainerOutput) StdinOpen() pulumi.BoolPtrOutput

If `true`, keep STDIN open even if not attached (`docker run -i`). Defaults to `false`.

func (ContainerOutput) StopSignal

func (o ContainerOutput) StopSignal() pulumi.StringOutput

Signal to stop a container (default `SIGTERM`).

func (ContainerOutput) StopTimeout

func (o ContainerOutput) StopTimeout() pulumi.IntOutput

Timeout (in seconds) to stop a container.

func (ContainerOutput) StorageOpts

func (o ContainerOutput) StorageOpts() pulumi.MapOutput

Key/value pairs for the storage driver options, e.g. `size`: `120G`

func (ContainerOutput) Sysctls

func (o ContainerOutput) Sysctls() pulumi.MapOutput

A map of kernel parameters (sysctls) to set in the container.

func (ContainerOutput) Tmpfs

func (o ContainerOutput) Tmpfs() pulumi.MapOutput

A map of container directories which should be replaced by `tmpfs mounts`, and their corresponding mount options.

func (ContainerOutput) ToContainerOutput

func (o ContainerOutput) ToContainerOutput() ContainerOutput

func (ContainerOutput) ToContainerOutputWithContext

func (o ContainerOutput) ToContainerOutputWithContext(ctx context.Context) ContainerOutput

func (ContainerOutput) Tty

If `true`, allocate a pseudo-tty (`docker run -t`). Defaults to `false`.

func (ContainerOutput) Ulimits

Ulimit options to add.

func (ContainerOutput) Uploads

Specifies files to upload to the container before starting it. Only one of `content` or `contentBase64` can be set and at least one of them has to be set.

func (ContainerOutput) User

User used for run the first process. Format is `user` or `user:group` which user and group can be passed literraly or by name.

func (ContainerOutput) UsernsMode

func (o ContainerOutput) UsernsMode() pulumi.StringPtrOutput

Sets the usernamespace mode for the container when usernamespace remapping option is enabled.

func (ContainerOutput) Volumes

Spec for mounting volumes in the container.

func (ContainerOutput) Wait

If `true`, then the Docker container is waited for being healthy state after creation. If `false`, then the container health state is not checked. Defaults to `false`.

func (ContainerOutput) WaitTimeout

func (o ContainerOutput) WaitTimeout() pulumi.IntPtrOutput

The timeout in seconds to wait the container to be healthy after creation. Defaults to `60`.

func (ContainerOutput) WorkingDir

func (o ContainerOutput) WorkingDir() pulumi.StringPtrOutput

The working directory for commands to run in.

type ContainerPort

type ContainerPort struct {
	// Port exposed out of the container. If not given a free random port `>= 32768` will be used.
	External *int `pulumi:"external"`
	// Port within the container.
	Internal int `pulumi:"internal"`
	// IP address/mask that can access this port. Defaults to `0.0.0.0`.
	Ip *string `pulumi:"ip"`
	// Protocol that can be used over this port. Defaults to `tcp`.
	Protocol *string `pulumi:"protocol"`
}

type ContainerPortArgs

type ContainerPortArgs struct {
	// Port exposed out of the container. If not given a free random port `>= 32768` will be used.
	External pulumi.IntPtrInput `pulumi:"external"`
	// Port within the container.
	Internal pulumi.IntInput `pulumi:"internal"`
	// IP address/mask that can access this port. Defaults to `0.0.0.0`.
	Ip pulumi.StringPtrInput `pulumi:"ip"`
	// Protocol that can be used over this port. Defaults to `tcp`.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
}

func (ContainerPortArgs) ElementType

func (ContainerPortArgs) ElementType() reflect.Type

func (ContainerPortArgs) ToContainerPortOutput

func (i ContainerPortArgs) ToContainerPortOutput() ContainerPortOutput

func (ContainerPortArgs) ToContainerPortOutputWithContext

func (i ContainerPortArgs) ToContainerPortOutputWithContext(ctx context.Context) ContainerPortOutput

type ContainerPortArray

type ContainerPortArray []ContainerPortInput

func (ContainerPortArray) ElementType

func (ContainerPortArray) ElementType() reflect.Type

func (ContainerPortArray) ToContainerPortArrayOutput

func (i ContainerPortArray) ToContainerPortArrayOutput() ContainerPortArrayOutput

func (ContainerPortArray) ToContainerPortArrayOutputWithContext

func (i ContainerPortArray) ToContainerPortArrayOutputWithContext(ctx context.Context) ContainerPortArrayOutput

type ContainerPortArrayInput

type ContainerPortArrayInput interface {
	pulumi.Input

	ToContainerPortArrayOutput() ContainerPortArrayOutput
	ToContainerPortArrayOutputWithContext(context.Context) ContainerPortArrayOutput
}

ContainerPortArrayInput is an input type that accepts ContainerPortArray and ContainerPortArrayOutput values. You can construct a concrete instance of `ContainerPortArrayInput` via:

ContainerPortArray{ ContainerPortArgs{...} }

type ContainerPortArrayOutput

type ContainerPortArrayOutput struct{ *pulumi.OutputState }

func (ContainerPortArrayOutput) ElementType

func (ContainerPortArrayOutput) ElementType() reflect.Type

func (ContainerPortArrayOutput) Index

func (ContainerPortArrayOutput) ToContainerPortArrayOutput

func (o ContainerPortArrayOutput) ToContainerPortArrayOutput() ContainerPortArrayOutput

func (ContainerPortArrayOutput) ToContainerPortArrayOutputWithContext

func (o ContainerPortArrayOutput) ToContainerPortArrayOutputWithContext(ctx context.Context) ContainerPortArrayOutput

type ContainerPortInput

type ContainerPortInput interface {
	pulumi.Input

	ToContainerPortOutput() ContainerPortOutput
	ToContainerPortOutputWithContext(context.Context) ContainerPortOutput
}

ContainerPortInput is an input type that accepts ContainerPortArgs and ContainerPortOutput values. You can construct a concrete instance of `ContainerPortInput` via:

ContainerPortArgs{...}

type ContainerPortOutput

type ContainerPortOutput struct{ *pulumi.OutputState }

func (ContainerPortOutput) ElementType

func (ContainerPortOutput) ElementType() reflect.Type

func (ContainerPortOutput) External

Port exposed out of the container. If not given a free random port `>= 32768` will be used.

func (ContainerPortOutput) Internal

func (o ContainerPortOutput) Internal() pulumi.IntOutput

Port within the container.

func (ContainerPortOutput) Ip

IP address/mask that can access this port. Defaults to `0.0.0.0`.

func (ContainerPortOutput) Protocol

Protocol that can be used over this port. Defaults to `tcp`.

func (ContainerPortOutput) ToContainerPortOutput

func (o ContainerPortOutput) ToContainerPortOutput() ContainerPortOutput

func (ContainerPortOutput) ToContainerPortOutputWithContext

func (o ContainerPortOutput) ToContainerPortOutputWithContext(ctx context.Context) ContainerPortOutput

type ContainerState

type ContainerState struct {
	// If `true` attach to the container after its creation and waits the end of its execution. Defaults to `false`.
	Attach pulumi.BoolPtrInput
	// The network bridge of the container as read from its NetworkSettings.
	Bridge pulumi.StringPtrInput
	// Add or drop certrain linux capabilities.
	Capabilities ContainerCapabilitiesPtrInput
	// Cgroup namespace mode to use for the container. Possible values are: `private`, `host`.
	CgroupnsMode pulumi.StringPtrInput
	// The command to use to start the container. For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be `["/usr/bin/myprogram","-f","baz.con"]`.
	Command pulumi.StringArrayInput
	// The logs of the container if its execution is done (`attach` must be disabled).
	ContainerLogs pulumi.StringPtrInput
	// The total number of milliseconds to wait for the container to reach status 'running'
	ContainerReadRefreshTimeoutMilliseconds pulumi.IntPtrInput
	// A comma-separated list or hyphen-separated range of CPUs a container can use, e.g. `0-1`.
	CpuSet pulumi.StringPtrInput
	// CPU shares (relative weight) for the container.
	CpuShares pulumi.IntPtrInput
	// If defined will attempt to stop the container before destroying. Container will be destroyed after `n` seconds or on successful stop.
	DestroyGraceSeconds pulumi.IntPtrInput
	// Bind devices to the container.
	Devices ContainerDeviceArrayInput
	// DNS servers to use.
	Dns pulumi.StringArrayInput
	// DNS options used by the DNS provider(s), see `resolv.conf` documentation for valid list of options.
	DnsOpts pulumi.StringArrayInput
	// DNS search domains that are used when bare unqualified hostnames are used inside of the container.
	DnsSearches pulumi.StringArrayInput
	// Domain name of the container.
	Domainname pulumi.StringPtrInput
	// The command to use as the Entrypoint for the container. The Entrypoint allows you to configure a container to run as an executable. For example, to run `/usr/bin/myprogram` when starting a container, set the entrypoint to be `"/usr/bin/myprogra"]`.
	Entrypoints pulumi.StringArrayInput
	// Environment variables to set in the form of `KEY=VALUE`, e.g. `DEBUG=0`
	Envs pulumi.StringArrayInput
	// The exit code of the container if its execution is done (`mustRun` must be disabled).
	ExitCode pulumi.IntPtrInput
	// GPU devices to add to the container. Currently, only the value `all` is supported. Passing any other value will result in unexpected behavior.
	Gpus pulumi.StringPtrInput
	// Additional groups for the container user
	GroupAdds pulumi.StringArrayInput
	// A test to perform to check that the container is healthy
	Healthcheck ContainerHealthcheckPtrInput
	// Hostname of the container.
	Hostname pulumi.StringPtrInput
	// Hostname to add
	Hosts ContainerHostArrayInput
	// The ID of the image to back this container. The easiest way to get this value is to use the `RemoteImage` resource as is shown in the example.
	Image pulumi.StringPtrInput
	// Configured whether an init process should be injected for this container. If unset this will default to the `dockerd` defaults.
	Init pulumi.BoolPtrInput
	// IPC sharing mode for the container. Possible values are: `none`, `private`, `shareable`, `container:<name|id>` or `host`.
	IpcMode pulumi.StringPtrInput
	// User-defined key/value metadata.
	Labels ContainerLabelArrayInput
	// The logging driver to use for the container.
	LogDriver pulumi.StringPtrInput
	// Key/value pairs to use as options for the logging driver.
	LogOpts pulumi.MapInput
	// Save the container logs (`attach` must be enabled). Defaults to `false`.
	Logs pulumi.BoolPtrInput
	// The maximum amount of times to an attempt a restart when `restart` is set to 'on-failure'.
	MaxRetryCount pulumi.IntPtrInput
	// The memory limit for the container in MBs.
	Memory pulumi.IntPtrInput
	// The total memory limit (memory + swap) for the container in MBs. This setting may compute to `-1` after `pulumi up` if the target host doesn't support memory swap, when that is the case docker will use a soft limitation.
	MemorySwap pulumi.IntPtrInput
	// Specification for mounts to be added to containers created as part of the service.
	Mounts ContainerMountArrayInput
	// If `true`, then the Docker container will be kept running. If `false`, then as long as the container exists, Terraform
	// assumes it is successful. Defaults to `true`.
	MustRun pulumi.BoolPtrInput
	// The name or id of the network to use. You can use `name` or `id` attribute from a `Network` resource.
	Name pulumi.StringPtrInput
	// The data of the networks the container is connected to.
	NetworkDatas ContainerNetworkDataArrayInput
	// Network mode of the container.
	NetworkMode pulumi.StringPtrInput
	// The networks the container is attached to
	NetworksAdvanced ContainerNetworksAdvancedArrayInput
	// he PID (Process) Namespace mode for the container. Either `container:<name|id>` or `host`.
	PidMode pulumi.StringPtrInput
	// Publish a container's port(s) to the host.
	Ports ContainerPortArrayInput
	// If `true`, the container runs in privileged mode.
	Privileged pulumi.BoolPtrInput
	// Publish all ports of the container.
	PublishAllPorts pulumi.BoolPtrInput
	// Whether the mount should be read-only.
	ReadOnly pulumi.BoolPtrInput
	// If `true`, it will remove anonymous volumes associated with the container. Defaults to `true`.
	RemoveVolumes pulumi.BoolPtrInput
	// The restart policy for the container. Must be one of 'no', 'on-failure', 'always', 'unless-stopped'. Defaults to `no`.
	Restart pulumi.StringPtrInput
	// If `true`, then the container will be automatically removed when it exits. Defaults to `false`.
	Rm pulumi.BoolPtrInput
	// Runtime to use for the container.
	Runtime pulumi.StringPtrInput
	// List of string values to customize labels for MLS systems, such as SELinux. See https://docs.docker.com/engine/reference/run/#security-configuration.
	SecurityOpts pulumi.StringArrayInput
	// Size of `/dev/shm` in MBs.
	ShmSize pulumi.IntPtrInput
	// If `true`, then the Docker container will be started after creation. If `false`, then the container is only created. Defaults to `true`.
	Start pulumi.BoolPtrInput
	// If `true`, keep STDIN open even if not attached (`docker run -i`). Defaults to `false`.
	StdinOpen pulumi.BoolPtrInput
	// Signal to stop a container (default `SIGTERM`).
	StopSignal pulumi.StringPtrInput
	// Timeout (in seconds) to stop a container.
	StopTimeout pulumi.IntPtrInput
	// Key/value pairs for the storage driver options, e.g. `size`: `120G`
	StorageOpts pulumi.MapInput
	// A map of kernel parameters (sysctls) to set in the container.
	Sysctls pulumi.MapInput
	// A map of container directories which should be replaced by `tmpfs mounts`, and their corresponding mount options.
	Tmpfs pulumi.MapInput
	// If `true`, allocate a pseudo-tty (`docker run -t`). Defaults to `false`.
	Tty pulumi.BoolPtrInput
	// Ulimit options to add.
	Ulimits ContainerUlimitArrayInput
	// Specifies files to upload to the container before starting it. Only one of `content` or `contentBase64` can be set and at least one of them has to be set.
	Uploads ContainerUploadArrayInput
	// User used for run the first process. Format is `user` or `user:group` which user and group can be passed literraly or by name.
	User pulumi.StringPtrInput
	// Sets the usernamespace mode for the container when usernamespace remapping option is enabled.
	UsernsMode pulumi.StringPtrInput
	// Spec for mounting volumes in the container.
	Volumes ContainerVolumeArrayInput
	// If `true`, then the Docker container is waited for being healthy state after creation. If `false`, then the container health state is not checked. Defaults to `false`.
	Wait pulumi.BoolPtrInput
	// The timeout in seconds to wait the container to be healthy after creation. Defaults to `60`.
	WaitTimeout pulumi.IntPtrInput
	// The working directory for commands to run in.
	WorkingDir pulumi.StringPtrInput
}

func (ContainerState) ElementType

func (ContainerState) ElementType() reflect.Type

type ContainerUlimit

type ContainerUlimit struct {
	// The hard limit
	Hard int `pulumi:"hard"`
	// The name of the ulimit
	Name string `pulumi:"name"`
	// The soft limit
	Soft int `pulumi:"soft"`
}

type ContainerUlimitArgs

type ContainerUlimitArgs struct {
	// The hard limit
	Hard pulumi.IntInput `pulumi:"hard"`
	// The name of the ulimit
	Name pulumi.StringInput `pulumi:"name"`
	// The soft limit
	Soft pulumi.IntInput `pulumi:"soft"`
}

func (ContainerUlimitArgs) ElementType

func (ContainerUlimitArgs) ElementType() reflect.Type

func (ContainerUlimitArgs) ToContainerUlimitOutput

func (i ContainerUlimitArgs) ToContainerUlimitOutput() ContainerUlimitOutput

func (ContainerUlimitArgs) ToContainerUlimitOutputWithContext

func (i ContainerUlimitArgs) ToContainerUlimitOutputWithContext(ctx context.Context) ContainerUlimitOutput

type ContainerUlimitArray

type ContainerUlimitArray []ContainerUlimitInput

func (ContainerUlimitArray) ElementType

func (ContainerUlimitArray) ElementType() reflect.Type

func (ContainerUlimitArray) ToContainerUlimitArrayOutput

func (i ContainerUlimitArray) ToContainerUlimitArrayOutput() ContainerUlimitArrayOutput

func (ContainerUlimitArray) ToContainerUlimitArrayOutputWithContext

func (i ContainerUlimitArray) ToContainerUlimitArrayOutputWithContext(ctx context.Context) ContainerUlimitArrayOutput

type ContainerUlimitArrayInput

type ContainerUlimitArrayInput interface {
	pulumi.Input

	ToContainerUlimitArrayOutput() ContainerUlimitArrayOutput
	ToContainerUlimitArrayOutputWithContext(context.Context) ContainerUlimitArrayOutput
}

ContainerUlimitArrayInput is an input type that accepts ContainerUlimitArray and ContainerUlimitArrayOutput values. You can construct a concrete instance of `ContainerUlimitArrayInput` via:

ContainerUlimitArray{ ContainerUlimitArgs{...} }

type ContainerUlimitArrayOutput

type ContainerUlimitArrayOutput struct{ *pulumi.OutputState }

func (ContainerUlimitArrayOutput) ElementType

func (ContainerUlimitArrayOutput) ElementType() reflect.Type

func (ContainerUlimitArrayOutput) Index

func (ContainerUlimitArrayOutput) ToContainerUlimitArrayOutput

func (o ContainerUlimitArrayOutput) ToContainerUlimitArrayOutput() ContainerUlimitArrayOutput

func (ContainerUlimitArrayOutput) ToContainerUlimitArrayOutputWithContext

func (o ContainerUlimitArrayOutput) ToContainerUlimitArrayOutputWithContext(ctx context.Context) ContainerUlimitArrayOutput

type ContainerUlimitInput

type ContainerUlimitInput interface {
	pulumi.Input

	ToContainerUlimitOutput() ContainerUlimitOutput
	ToContainerUlimitOutputWithContext(context.Context) ContainerUlimitOutput
}

ContainerUlimitInput is an input type that accepts ContainerUlimitArgs and ContainerUlimitOutput values. You can construct a concrete instance of `ContainerUlimitInput` via:

ContainerUlimitArgs{...}

type ContainerUlimitOutput

type ContainerUlimitOutput struct{ *pulumi.OutputState }

func (ContainerUlimitOutput) ElementType

func (ContainerUlimitOutput) ElementType() reflect.Type

func (ContainerUlimitOutput) Hard

The hard limit

func (ContainerUlimitOutput) Name

The name of the ulimit

func (ContainerUlimitOutput) Soft

The soft limit

func (ContainerUlimitOutput) ToContainerUlimitOutput

func (o ContainerUlimitOutput) ToContainerUlimitOutput() ContainerUlimitOutput

func (ContainerUlimitOutput) ToContainerUlimitOutputWithContext

func (o ContainerUlimitOutput) ToContainerUlimitOutputWithContext(ctx context.Context) ContainerUlimitOutput

type ContainerUpload

type ContainerUpload struct {
	// Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with `contentBase64` & `source`
	Content *string `pulumi:"content"`
	// Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for larger binary content such as the result of the `base64encode` interpolation function. See here for the reason. Conflicts with `content` & `source`
	ContentBase64 *string `pulumi:"contentBase64"`
	// If `true`, the file will be uploaded with user executable permission. Defaults to `false`.
	Executable *bool `pulumi:"executable"`
	// Path to the file in the container where is upload goes to
	File string `pulumi:"file"`
	// A filename that references a file which will be uploaded as the object content. This allows for large file uploads that do not get stored in state. Conflicts with `content` & `contentBase64`
	Source *string `pulumi:"source"`
	// If using `source`, this will force an update if the file content has updated but the filename has not.
	SourceHash *string `pulumi:"sourceHash"`
}

type ContainerUploadArgs

type ContainerUploadArgs struct {
	// Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with `contentBase64` & `source`
	Content pulumi.StringPtrInput `pulumi:"content"`
	// Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for larger binary content such as the result of the `base64encode` interpolation function. See here for the reason. Conflicts with `content` & `source`
	ContentBase64 pulumi.StringPtrInput `pulumi:"contentBase64"`
	// If `true`, the file will be uploaded with user executable permission. Defaults to `false`.
	Executable pulumi.BoolPtrInput `pulumi:"executable"`
	// Path to the file in the container where is upload goes to
	File pulumi.StringInput `pulumi:"file"`
	// A filename that references a file which will be uploaded as the object content. This allows for large file uploads that do not get stored in state. Conflicts with `content` & `contentBase64`
	Source pulumi.StringPtrInput `pulumi:"source"`
	// If using `source`, this will force an update if the file content has updated but the filename has not.
	SourceHash pulumi.StringPtrInput `pulumi:"sourceHash"`
}

func (ContainerUploadArgs) ElementType

func (ContainerUploadArgs) ElementType() reflect.Type

func (ContainerUploadArgs) ToContainerUploadOutput

func (i ContainerUploadArgs) ToContainerUploadOutput() ContainerUploadOutput

func (ContainerUploadArgs) ToContainerUploadOutputWithContext

func (i ContainerUploadArgs) ToContainerUploadOutputWithContext(ctx context.Context) ContainerUploadOutput

type ContainerUploadArray

type ContainerUploadArray []ContainerUploadInput

func (ContainerUploadArray) ElementType

func (ContainerUploadArray) ElementType() reflect.Type

func (ContainerUploadArray) ToContainerUploadArrayOutput

func (i ContainerUploadArray) ToContainerUploadArrayOutput() ContainerUploadArrayOutput

func (ContainerUploadArray) ToContainerUploadArrayOutputWithContext

func (i ContainerUploadArray) ToContainerUploadArrayOutputWithContext(ctx context.Context) ContainerUploadArrayOutput

type ContainerUploadArrayInput

type ContainerUploadArrayInput interface {
	pulumi.Input

	ToContainerUploadArrayOutput() ContainerUploadArrayOutput
	ToContainerUploadArrayOutputWithContext(context.Context) ContainerUploadArrayOutput
}

ContainerUploadArrayInput is an input type that accepts ContainerUploadArray and ContainerUploadArrayOutput values. You can construct a concrete instance of `ContainerUploadArrayInput` via:

ContainerUploadArray{ ContainerUploadArgs{...} }

type ContainerUploadArrayOutput

type ContainerUploadArrayOutput struct{ *pulumi.OutputState }

func (ContainerUploadArrayOutput) ElementType

func (ContainerUploadArrayOutput) ElementType() reflect.Type

func (ContainerUploadArrayOutput) Index

func (ContainerUploadArrayOutput) ToContainerUploadArrayOutput

func (o ContainerUploadArrayOutput) ToContainerUploadArrayOutput() ContainerUploadArrayOutput

func (ContainerUploadArrayOutput) ToContainerUploadArrayOutputWithContext

func (o ContainerUploadArrayOutput) ToContainerUploadArrayOutputWithContext(ctx context.Context) ContainerUploadArrayOutput

type ContainerUploadInput

type ContainerUploadInput interface {
	pulumi.Input

	ToContainerUploadOutput() ContainerUploadOutput
	ToContainerUploadOutputWithContext(context.Context) ContainerUploadOutput
}

ContainerUploadInput is an input type that accepts ContainerUploadArgs and ContainerUploadOutput values. You can construct a concrete instance of `ContainerUploadInput` via:

ContainerUploadArgs{...}

type ContainerUploadOutput

type ContainerUploadOutput struct{ *pulumi.OutputState }

func (ContainerUploadOutput) Content

Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with `contentBase64` & `source`

func (ContainerUploadOutput) ContentBase64

func (o ContainerUploadOutput) ContentBase64() pulumi.StringPtrOutput

Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for larger binary content such as the result of the `base64encode` interpolation function. See here for the reason. Conflicts with `content` & `source`

func (ContainerUploadOutput) ElementType

func (ContainerUploadOutput) ElementType() reflect.Type

func (ContainerUploadOutput) Executable

If `true`, the file will be uploaded with user executable permission. Defaults to `false`.

func (ContainerUploadOutput) File

Path to the file in the container where is upload goes to

func (ContainerUploadOutput) Source

A filename that references a file which will be uploaded as the object content. This allows for large file uploads that do not get stored in state. Conflicts with `content` & `contentBase64`

func (ContainerUploadOutput) SourceHash

If using `source`, this will force an update if the file content has updated but the filename has not.

func (ContainerUploadOutput) ToContainerUploadOutput

func (o ContainerUploadOutput) ToContainerUploadOutput() ContainerUploadOutput

func (ContainerUploadOutput) ToContainerUploadOutputWithContext

func (o ContainerUploadOutput) ToContainerUploadOutputWithContext(ctx context.Context) ContainerUploadOutput

type ContainerVolume

type ContainerVolume struct {
	// The path in the container where the volume will be mounted.
	ContainerPath *string `pulumi:"containerPath"`
	// The container where the volume is coming from.
	FromContainer *string `pulumi:"fromContainer"`
	// The path on the host where the volume is coming from.
	HostPath *string `pulumi:"hostPath"`
	// If `true`, this volume will be readonly. Defaults to `false`.
	ReadOnly *bool `pulumi:"readOnly"`
	// The name of the docker volume which should be mounted.
	VolumeName *string `pulumi:"volumeName"`
}

type ContainerVolumeArgs

type ContainerVolumeArgs struct {
	// The path in the container where the volume will be mounted.
	ContainerPath pulumi.StringPtrInput `pulumi:"containerPath"`
	// The container where the volume is coming from.
	FromContainer pulumi.StringPtrInput `pulumi:"fromContainer"`
	// The path on the host where the volume is coming from.
	HostPath pulumi.StringPtrInput `pulumi:"hostPath"`
	// If `true`, this volume will be readonly. Defaults to `false`.
	ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"`
	// The name of the docker volume which should be mounted.
	VolumeName pulumi.StringPtrInput `pulumi:"volumeName"`
}

func (ContainerVolumeArgs) ElementType

func (ContainerVolumeArgs) ElementType() reflect.Type

func (ContainerVolumeArgs) ToContainerVolumeOutput

func (i ContainerVolumeArgs) ToContainerVolumeOutput() ContainerVolumeOutput

func (ContainerVolumeArgs) ToContainerVolumeOutputWithContext

func (i ContainerVolumeArgs) ToContainerVolumeOutputWithContext(ctx context.Context) ContainerVolumeOutput

type ContainerVolumeArray

type ContainerVolumeArray []ContainerVolumeInput

func (ContainerVolumeArray) ElementType

func (ContainerVolumeArray) ElementType() reflect.Type

func (ContainerVolumeArray) ToContainerVolumeArrayOutput

func (i ContainerVolumeArray) ToContainerVolumeArrayOutput() ContainerVolumeArrayOutput

func (ContainerVolumeArray) ToContainerVolumeArrayOutputWithContext

func (i ContainerVolumeArray) ToContainerVolumeArrayOutputWithContext(ctx context.Context) ContainerVolumeArrayOutput

type ContainerVolumeArrayInput

type ContainerVolumeArrayInput interface {
	pulumi.Input

	ToContainerVolumeArrayOutput() ContainerVolumeArrayOutput
	ToContainerVolumeArrayOutputWithContext(context.Context) ContainerVolumeArrayOutput
}

ContainerVolumeArrayInput is an input type that accepts ContainerVolumeArray and ContainerVolumeArrayOutput values. You can construct a concrete instance of `ContainerVolumeArrayInput` via:

ContainerVolumeArray{ ContainerVolumeArgs{...} }

type ContainerVolumeArrayOutput

type ContainerVolumeArrayOutput struct{ *pulumi.OutputState }

func (ContainerVolumeArrayOutput) ElementType

func (ContainerVolumeArrayOutput) ElementType() reflect.Type

func (ContainerVolumeArrayOutput) Index

func (ContainerVolumeArrayOutput) ToContainerVolumeArrayOutput

func (o ContainerVolumeArrayOutput) ToContainerVolumeArrayOutput() ContainerVolumeArrayOutput

func (ContainerVolumeArrayOutput) ToContainerVolumeArrayOutputWithContext

func (o ContainerVolumeArrayOutput) ToContainerVolumeArrayOutputWithContext(ctx context.Context) ContainerVolumeArrayOutput

type ContainerVolumeInput

type ContainerVolumeInput interface {
	pulumi.Input

	ToContainerVolumeOutput() ContainerVolumeOutput
	ToContainerVolumeOutputWithContext(context.Context) ContainerVolumeOutput
}

ContainerVolumeInput is an input type that accepts ContainerVolumeArgs and ContainerVolumeOutput values. You can construct a concrete instance of `ContainerVolumeInput` via:

ContainerVolumeArgs{...}

type ContainerVolumeOutput

type ContainerVolumeOutput struct{ *pulumi.OutputState }

func (ContainerVolumeOutput) ContainerPath

func (o ContainerVolumeOutput) ContainerPath() pulumi.StringPtrOutput

The path in the container where the volume will be mounted.

func (ContainerVolumeOutput) ElementType

func (ContainerVolumeOutput) ElementType() reflect.Type

func (ContainerVolumeOutput) FromContainer

func (o ContainerVolumeOutput) FromContainer() pulumi.StringPtrOutput

The container where the volume is coming from.

func (ContainerVolumeOutput) HostPath

The path on the host where the volume is coming from.

func (ContainerVolumeOutput) ReadOnly

If `true`, this volume will be readonly. Defaults to `false`.

func (ContainerVolumeOutput) ToContainerVolumeOutput

func (o ContainerVolumeOutput) ToContainerVolumeOutput() ContainerVolumeOutput

func (ContainerVolumeOutput) ToContainerVolumeOutputWithContext

func (o ContainerVolumeOutput) ToContainerVolumeOutputWithContext(ctx context.Context) ContainerVolumeOutput

func (ContainerVolumeOutput) VolumeName

The name of the docker volume which should be mounted.

type DockerBuild

type DockerBuild struct {
	// Custom host-to-IP mappings to use while building (format: "host:ip")
	AddHosts []string `pulumi:"addHosts"`
	// An optional map of named build-time argument variables to set during the Docker build. This flag allows you to pass build-time variables that can be accessed like environment variables inside the RUN instruction.
	Args map[string]string `pulumi:"args"`
	// The version of the Docker builder.
	BuilderVersion *BuilderVersion `pulumi:"builderVersion"`
	// A list of image names to use as build cache. Images provided must have a cache manifest. Must provide authentication to cache registry.
	CacheFrom *CacheFrom `pulumi:"cacheFrom"`
	// The path to the build context to use.
	Context *string `pulumi:"context"`
	// The path to the Dockerfile to use.
	Dockerfile *string `pulumi:"dockerfile"`
	// Set the networking mode for RUN instructions
	Network *string `pulumi:"network"`
	// The architecture of the platform you want to build this image for, e.g. `linux/arm64`.
	Platform *string `pulumi:"platform"`
	// The target of the Dockerfile to build
	Target *string `pulumi:"target"`
}

The Docker build context

type DockerBuildArgs

type DockerBuildArgs struct {
	// Custom host-to-IP mappings to use while building (format: "host:ip")
	AddHosts pulumi.StringArrayInput `pulumi:"addHosts"`
	// An optional map of named build-time argument variables to set during the Docker build. This flag allows you to pass build-time variables that can be accessed like environment variables inside the RUN instruction.
	Args pulumi.StringMapInput `pulumi:"args"`
	// The version of the Docker builder.
	BuilderVersion BuilderVersionPtrInput `pulumi:"builderVersion"`
	// A list of image names to use as build cache. Images provided must have a cache manifest. Must provide authentication to cache registry.
	CacheFrom CacheFromPtrInput `pulumi:"cacheFrom"`
	// The path to the build context to use.
	Context pulumi.StringPtrInput `pulumi:"context"`
	// The path to the Dockerfile to use.
	Dockerfile pulumi.StringPtrInput `pulumi:"dockerfile"`
	// Set the networking mode for RUN instructions
	Network pulumi.StringPtrInput `pulumi:"network"`
	// The architecture of the platform you want to build this image for, e.g. `linux/arm64`.
	Platform pulumi.StringPtrInput `pulumi:"platform"`
	// The target of the Dockerfile to build
	Target pulumi.StringPtrInput `pulumi:"target"`
}

The Docker build context

func (DockerBuildArgs) ElementType

func (DockerBuildArgs) ElementType() reflect.Type

func (DockerBuildArgs) ToDockerBuildOutput

func (i DockerBuildArgs) ToDockerBuildOutput() DockerBuildOutput

func (DockerBuildArgs) ToDockerBuildOutputWithContext

func (i DockerBuildArgs) ToDockerBuildOutputWithContext(ctx context.Context) DockerBuildOutput

func (DockerBuildArgs) ToDockerBuildPtrOutput

func (i DockerBuildArgs) ToDockerBuildPtrOutput() DockerBuildPtrOutput

func (DockerBuildArgs) ToDockerBuildPtrOutputWithContext

func (i DockerBuildArgs) ToDockerBuildPtrOutputWithContext(ctx context.Context) DockerBuildPtrOutput

type DockerBuildInput

type DockerBuildInput interface {
	pulumi.Input

	ToDockerBuildOutput() DockerBuildOutput
	ToDockerBuildOutputWithContext(context.Context) DockerBuildOutput
}

DockerBuildInput is an input type that accepts DockerBuildArgs and DockerBuildOutput values. You can construct a concrete instance of `DockerBuildInput` via:

DockerBuildArgs{...}

type DockerBuildOutput

type DockerBuildOutput struct{ *pulumi.OutputState }

The Docker build context

func (DockerBuildOutput) AddHosts added in v4.5.2

Custom host-to-IP mappings to use while building (format: "host:ip")

func (DockerBuildOutput) Args

An optional map of named build-time argument variables to set during the Docker build. This flag allows you to pass build-time variables that can be accessed like environment variables inside the RUN instruction.

func (DockerBuildOutput) BuilderVersion

func (o DockerBuildOutput) BuilderVersion() BuilderVersionPtrOutput

The version of the Docker builder.

func (DockerBuildOutput) CacheFrom

func (o DockerBuildOutput) CacheFrom() CacheFromPtrOutput

A list of image names to use as build cache. Images provided must have a cache manifest. Must provide authentication to cache registry.

func (DockerBuildOutput) Context

The path to the build context to use.

func (DockerBuildOutput) Dockerfile

func (o DockerBuildOutput) Dockerfile() pulumi.StringPtrOutput

The path to the Dockerfile to use.

func (DockerBuildOutput) ElementType

func (DockerBuildOutput) ElementType() reflect.Type

func (DockerBuildOutput) Network added in v4.5.2

Set the networking mode for RUN instructions

func (DockerBuildOutput) Platform

The architecture of the platform you want to build this image for, e.g. `linux/arm64`.

func (DockerBuildOutput) Target

The target of the Dockerfile to build

func (DockerBuildOutput) ToDockerBuildOutput

func (o DockerBuildOutput) ToDockerBuildOutput() DockerBuildOutput

func (DockerBuildOutput) ToDockerBuildOutputWithContext

func (o DockerBuildOutput) ToDockerBuildOutputWithContext(ctx context.Context) DockerBuildOutput

func (DockerBuildOutput) ToDockerBuildPtrOutput

func (o DockerBuildOutput) ToDockerBuildPtrOutput() DockerBuildPtrOutput

func (DockerBuildOutput) ToDockerBuildPtrOutputWithContext

func (o DockerBuildOutput) ToDockerBuildPtrOutputWithContext(ctx context.Context) DockerBuildPtrOutput

type DockerBuildPtrInput

type DockerBuildPtrInput interface {
	pulumi.Input

	ToDockerBuildPtrOutput() DockerBuildPtrOutput
	ToDockerBuildPtrOutputWithContext(context.Context) DockerBuildPtrOutput
}

DockerBuildPtrInput is an input type that accepts DockerBuildArgs, DockerBuildPtr and DockerBuildPtrOutput values. You can construct a concrete instance of `DockerBuildPtrInput` via:

        DockerBuildArgs{...}

or:

        nil

func DockerBuildPtr

func DockerBuildPtr(v *DockerBuildArgs) DockerBuildPtrInput

type DockerBuildPtrOutput

type DockerBuildPtrOutput struct{ *pulumi.OutputState }

func (DockerBuildPtrOutput) AddHosts added in v4.5.2

Custom host-to-IP mappings to use while building (format: "host:ip")

func (DockerBuildPtrOutput) Args

An optional map of named build-time argument variables to set during the Docker build. This flag allows you to pass build-time variables that can be accessed like environment variables inside the RUN instruction.

func (DockerBuildPtrOutput) BuilderVersion

func (o DockerBuildPtrOutput) BuilderVersion() BuilderVersionPtrOutput

The version of the Docker builder.

func (DockerBuildPtrOutput) CacheFrom

A list of image names to use as build cache. Images provided must have a cache manifest. Must provide authentication to cache registry.

func (DockerBuildPtrOutput) Context

The path to the build context to use.

func (DockerBuildPtrOutput) Dockerfile

The path to the Dockerfile to use.

func (DockerBuildPtrOutput) Elem

func (DockerBuildPtrOutput) ElementType

func (DockerBuildPtrOutput) ElementType() reflect.Type

func (DockerBuildPtrOutput) Network added in v4.5.2

Set the networking mode for RUN instructions

func (DockerBuildPtrOutput) Platform

The architecture of the platform you want to build this image for, e.g. `linux/arm64`.

func (DockerBuildPtrOutput) Target

The target of the Dockerfile to build

func (DockerBuildPtrOutput) ToDockerBuildPtrOutput

func (o DockerBuildPtrOutput) ToDockerBuildPtrOutput() DockerBuildPtrOutput

func (DockerBuildPtrOutput) ToDockerBuildPtrOutputWithContext

func (o DockerBuildPtrOutput) ToDockerBuildPtrOutputWithContext(ctx context.Context) DockerBuildPtrOutput

type GetLogsArgs

type GetLogsArgs struct {
	Details *bool `pulumi:"details"`
	// Discard headers that docker appends to each log entry
	DiscardHeaders *bool `pulumi:"discardHeaders"`
	Follow         *bool `pulumi:"follow"`
	// If true populate computed value `logsListString`
	LogsListStringEnabled *bool `pulumi:"logsListStringEnabled"`
	// The name of the Docker Container
	Name       string  `pulumi:"name"`
	ShowStderr *bool   `pulumi:"showStderr"`
	ShowStdout *bool   `pulumi:"showStdout"`
	Since      *string `pulumi:"since"`
	Tail       *string `pulumi:"tail"`
	Timestamps *bool   `pulumi:"timestamps"`
	Until      *string `pulumi:"until"`
}

A collection of arguments for invoking getLogs.

type GetLogsOutputArgs

type GetLogsOutputArgs struct {
	Details pulumi.BoolPtrInput `pulumi:"details"`
	// Discard headers that docker appends to each log entry
	DiscardHeaders pulumi.BoolPtrInput `pulumi:"discardHeaders"`
	Follow         pulumi.BoolPtrInput `pulumi:"follow"`
	// If true populate computed value `logsListString`
	LogsListStringEnabled pulumi.BoolPtrInput `pulumi:"logsListStringEnabled"`
	// The name of the Docker Container
	Name       pulumi.StringInput    `pulumi:"name"`
	ShowStderr pulumi.BoolPtrInput   `pulumi:"showStderr"`
	ShowStdout pulumi.BoolPtrInput   `pulumi:"showStdout"`
	Since      pulumi.StringPtrInput `pulumi:"since"`
	Tail       pulumi.StringPtrInput `pulumi:"tail"`
	Timestamps pulumi.BoolPtrInput   `pulumi:"timestamps"`
	Until      pulumi.StringPtrInput `pulumi:"until"`
}

A collection of arguments for invoking getLogs.

func (GetLogsOutputArgs) ElementType

func (GetLogsOutputArgs) ElementType() reflect.Type

type GetLogsResult

type GetLogsResult struct {
	Details *bool `pulumi:"details"`
	// Discard headers that docker appends to each log entry
	DiscardHeaders *bool `pulumi:"discardHeaders"`
	Follow         *bool `pulumi:"follow"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// If true populate computed value `logsListString`
	LogsListStringEnabled *bool `pulumi:"logsListStringEnabled"`
	// List of container logs, each element is a line.
	LogsListStrings []string `pulumi:"logsListStrings"`
	// The name of the Docker Container
	Name       string  `pulumi:"name"`
	ShowStderr *bool   `pulumi:"showStderr"`
	ShowStdout *bool   `pulumi:"showStdout"`
	Since      *string `pulumi:"since"`
	Tail       *string `pulumi:"tail"`
	Timestamps *bool   `pulumi:"timestamps"`
	Until      *string `pulumi:"until"`
}

A collection of values returned by getLogs.

func GetLogs

func GetLogs(ctx *pulumi.Context, args *GetLogsArgs, opts ...pulumi.InvokeOption) (*GetLogsResult, error)

`getLogs` provides logs from specific container

type GetLogsResultOutput

type GetLogsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLogs.

func (GetLogsResultOutput) Details

func (GetLogsResultOutput) DiscardHeaders

func (o GetLogsResultOutput) DiscardHeaders() pulumi.BoolPtrOutput

Discard headers that docker appends to each log entry

func (GetLogsResultOutput) ElementType

func (GetLogsResultOutput) ElementType() reflect.Type

func (GetLogsResultOutput) Follow

func (GetLogsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetLogsResultOutput) LogsListStringEnabled

func (o GetLogsResultOutput) LogsListStringEnabled() pulumi.BoolPtrOutput

If true populate computed value `logsListString`

func (GetLogsResultOutput) LogsListStrings

func (o GetLogsResultOutput) LogsListStrings() pulumi.StringArrayOutput

List of container logs, each element is a line.

func (GetLogsResultOutput) Name

The name of the Docker Container

func (GetLogsResultOutput) ShowStderr

func (o GetLogsResultOutput) ShowStderr() pulumi.BoolPtrOutput

func (GetLogsResultOutput) ShowStdout

func (o GetLogsResultOutput) ShowStdout() pulumi.BoolPtrOutput

func (GetLogsResultOutput) Since

func (GetLogsResultOutput) Tail

func (GetLogsResultOutput) Timestamps

func (o GetLogsResultOutput) Timestamps() pulumi.BoolPtrOutput

func (GetLogsResultOutput) ToGetLogsResultOutput

func (o GetLogsResultOutput) ToGetLogsResultOutput() GetLogsResultOutput

func (GetLogsResultOutput) ToGetLogsResultOutputWithContext

func (o GetLogsResultOutput) ToGetLogsResultOutputWithContext(ctx context.Context) GetLogsResultOutput

func (GetLogsResultOutput) Until

type GetNetworkIpamConfig

type GetNetworkIpamConfig struct {
	// Auxiliary IPv4 or IPv6 addresses used by Network driver
	AuxAddress map[string]interface{} `pulumi:"auxAddress"`
	// The IP address of the gateway
	Gateway *string `pulumi:"gateway"`
	// The ip range in CIDR form
	IpRange *string `pulumi:"ipRange"`
	// The subnet in CIDR form
	Subnet *string `pulumi:"subnet"`
}

type GetNetworkIpamConfigArgs

type GetNetworkIpamConfigArgs struct {
	// Auxiliary IPv4 or IPv6 addresses used by Network driver
	AuxAddress pulumi.MapInput `pulumi:"auxAddress"`
	// The IP address of the gateway
	Gateway pulumi.StringPtrInput `pulumi:"gateway"`
	// The ip range in CIDR form
	IpRange pulumi.StringPtrInput `pulumi:"ipRange"`
	// The subnet in CIDR form
	Subnet pulumi.StringPtrInput `pulumi:"subnet"`
}

func (GetNetworkIpamConfigArgs) ElementType

func (GetNetworkIpamConfigArgs) ElementType() reflect.Type

func (GetNetworkIpamConfigArgs) ToGetNetworkIpamConfigOutput

func (i GetNetworkIpamConfigArgs) ToGetNetworkIpamConfigOutput() GetNetworkIpamConfigOutput

func (GetNetworkIpamConfigArgs) ToGetNetworkIpamConfigOutputWithContext

func (i GetNetworkIpamConfigArgs) ToGetNetworkIpamConfigOutputWithContext(ctx context.Context) GetNetworkIpamConfigOutput

type GetNetworkIpamConfigArray

type GetNetworkIpamConfigArray []GetNetworkIpamConfigInput

func (GetNetworkIpamConfigArray) ElementType

func (GetNetworkIpamConfigArray) ElementType() reflect.Type

func (GetNetworkIpamConfigArray) ToGetNetworkIpamConfigArrayOutput

func (i GetNetworkIpamConfigArray) ToGetNetworkIpamConfigArrayOutput() GetNetworkIpamConfigArrayOutput

func (GetNetworkIpamConfigArray) ToGetNetworkIpamConfigArrayOutputWithContext

func (i GetNetworkIpamConfigArray) ToGetNetworkIpamConfigArrayOutputWithContext(ctx context.Context) GetNetworkIpamConfigArrayOutput

type GetNetworkIpamConfigArrayInput

type GetNetworkIpamConfigArrayInput interface {
	pulumi.Input

	ToGetNetworkIpamConfigArrayOutput() GetNetworkIpamConfigArrayOutput
	ToGetNetworkIpamConfigArrayOutputWithContext(context.Context) GetNetworkIpamConfigArrayOutput
}

GetNetworkIpamConfigArrayInput is an input type that accepts GetNetworkIpamConfigArray and GetNetworkIpamConfigArrayOutput values. You can construct a concrete instance of `GetNetworkIpamConfigArrayInput` via:

GetNetworkIpamConfigArray{ GetNetworkIpamConfigArgs{...} }

type GetNetworkIpamConfigArrayOutput

type GetNetworkIpamConfigArrayOutput struct{ *pulumi.OutputState }

func (GetNetworkIpamConfigArrayOutput) ElementType

func (GetNetworkIpamConfigArrayOutput) Index

func (GetNetworkIpamConfigArrayOutput) ToGetNetworkIpamConfigArrayOutput

func (o GetNetworkIpamConfigArrayOutput) ToGetNetworkIpamConfigArrayOutput() GetNetworkIpamConfigArrayOutput

func (GetNetworkIpamConfigArrayOutput) ToGetNetworkIpamConfigArrayOutputWithContext

func (o GetNetworkIpamConfigArrayOutput) ToGetNetworkIpamConfigArrayOutputWithContext(ctx context.Context) GetNetworkIpamConfigArrayOutput

type GetNetworkIpamConfigInput

type GetNetworkIpamConfigInput interface {
	pulumi.Input

	ToGetNetworkIpamConfigOutput() GetNetworkIpamConfigOutput
	ToGetNetworkIpamConfigOutputWithContext(context.Context) GetNetworkIpamConfigOutput
}

GetNetworkIpamConfigInput is an input type that accepts GetNetworkIpamConfigArgs and GetNetworkIpamConfigOutput values. You can construct a concrete instance of `GetNetworkIpamConfigInput` via:

GetNetworkIpamConfigArgs{...}

type GetNetworkIpamConfigOutput

type GetNetworkIpamConfigOutput struct{ *pulumi.OutputState }

func (GetNetworkIpamConfigOutput) AuxAddress

Auxiliary IPv4 or IPv6 addresses used by Network driver

func (GetNetworkIpamConfigOutput) ElementType

func (GetNetworkIpamConfigOutput) ElementType() reflect.Type

func (GetNetworkIpamConfigOutput) Gateway

The IP address of the gateway

func (GetNetworkIpamConfigOutput) IpRange

The ip range in CIDR form

func (GetNetworkIpamConfigOutput) Subnet

The subnet in CIDR form

func (GetNetworkIpamConfigOutput) ToGetNetworkIpamConfigOutput

func (o GetNetworkIpamConfigOutput) ToGetNetworkIpamConfigOutput() GetNetworkIpamConfigOutput

func (GetNetworkIpamConfigOutput) ToGetNetworkIpamConfigOutputWithContext

func (o GetNetworkIpamConfigOutput) ToGetNetworkIpamConfigOutputWithContext(ctx context.Context) GetNetworkIpamConfigOutput

type Image

type Image struct {
	pulumi.CustomResourceState

	// The fully qualified image name that was pushed to the registry.
	BaseImageName pulumi.StringOutput `pulumi:"baseImageName"`
	// The path to the build context to use.
	Context pulumi.StringOutput `pulumi:"context"`
	// The location of the Dockerfile relative to the docker build context.
	Dockerfile pulumi.StringOutput `pulumi:"dockerfile"`
	// The fully qualified image name
	ImageName pulumi.StringOutput `pulumi:"imageName"`
	// The image's architecture and OS
	Platform pulumi.StringPtrOutput `pulumi:"platform"`
	// The name of the registry server hosting the image.
	RegistryServer pulumi.StringOutput `pulumi:"registryServer"`
	// **For pushed images:**
	// The manifest digest of an image pushed to a registry, of the format repository@<algorithm>:<hash>, e.g. `username/demo-image@sha256:a6ae6dd8d39c5bb02320e41abf00cd4cb35905fec540e37d306c878be8d38bd3`.
	// This reference is unique per image build and push.
	// Only available for images pushed to a registry.
	// Use when passing a reference to a pushed image to container management resources.
	//
	// **Local-only images**For local images, this field is the image ID of the built local image, of the format <algorithm>:<hash>, e.g `sha256:826a130323165bb0ccb0374ae774f885c067a951b51a6ee133577f4e5dbc4119`
	RepoDigest pulumi.StringOutput `pulumi:"repoDigest"`
}

`Image` builds a Docker image and pushes it Docker and OCI compatible registries. This resource enables running Docker builds as part of a Pulumi deployment.

Note: This resource does not delete tags, locally or remotely, when destroyed.

## Image name

The Image resource uses `imageName` to refer to a fully qualified Docker image name, by the format `repository:tag`. Note that this does not include any digest information and thus will not cause any updates when passed to dependencies, even when using `latest` tag. To trigger such updates, e.g. when referencing pushed images in container orchestration and management resources, please use the `repoDigest` Output instead, which is of the format `repository@<algorithm>:<hash>` and unique per build/push. As of Docker v4.4, `repoDigest` is now available for local Images.

## Cross-platform builds

The Image resource supports cross-platform builds when the [Docker engine has cross-platform support enabled via emulators](https://docs.docker.com/build/building/multi-platform/#building-multi-platform-images). The Image resource currently supports providing only a single operating system and architecture in the `platform` field, e.g.: `linux/amd64`. To enable this support, you may need to install the emulators in the environment running your Pulumi program.

If you are using Linux, you may be using Docker Engine or Docker Desktop for Linux, depending on how you have installed Docker. The [FAQ for Docker Desktop for Linux](https://docs.docker.com/desktop/faqs/linuxfaqs/#context) describes the differences and how to select which Docker context is in use.

* For local development using Docker Desktop, this is enabled by default. * For systems using Docker Engine, install the QEMU binaries and register them with using the docker image from github.com/tonistiigi/binfmt(https://github.com/tonistiigi/binfmt): * In a GitHub Actions workflow, the docker/setup-qemu-action(https://github.com/docker/setup-qemu-action) can be used instead by adding this step to your workflow file. Example workflow usage:

## Example Usage ### A Docker image build ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		demoImage, err := docker.NewImage(ctx, "demo-image", &docker.ImageArgs{
			Build: &docker.DockerBuildArgs{
				Context:    pulumi.String("."),
				Dockerfile: pulumi.String("Dockerfile"),
				Platform:   pulumi.String("linux/amd64"),
			},
			ImageName: pulumi.String("username/image:tag1"),
			SkipPush:  pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		ctx.Export("imageName", demoImage.ImageName)
		return nil
	})
}

``` ### A Docker image build and push ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		demoPushImage, err := docker.NewImage(ctx, "demo-push-image", &docker.ImageArgs{
			Build: &docker.DockerBuildArgs{
				Context:    pulumi.String("."),
				Dockerfile: pulumi.String("Dockerfile"),
			},
			ImageName: pulumi.String("docker.io/username/push-image:tag1"),
		})
		if err != nil {
			return err
		}
		ctx.Export("imageName", demoPushImage.ImageName)
		ctx.Export("repoDigest", demoPushImage.RepoDigest)
		return nil
	})
}

``` ### Docker image build using caching with AWS Elastic Container Registry ```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ecr"
"github.com/pulumi/pulumi-docker/sdk/v4/go/docker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ecrRepository, err := ecr.NewRepository(ctx, "ecr-repository", &ecr.RepositoryArgs{
			Name: pulumi.String("docker-repository"),
		})
		if err != nil {
			return err
		}
		authToken := ecr.GetAuthorizationTokenOutput(ctx, ecr.GetAuthorizationTokenOutputArgs{
			RegistryId: ecrRepository.RegistryId,
		}, nil)
		myAppImage, err := docker.NewImage(ctx, "my-app-image", &docker.ImageArgs{
			Build: &docker.DockerBuildArgs{
				Args: pulumi.StringMap{
					"BUILDKIT_INLINE_CACHE": pulumi.String("1"),
				},
				CacheFrom: &docker.CacheFromArgs{
					Images: pulumi.StringArray{
						ecrRepository.RepositoryUrl.ApplyT(func(repositoryUrl string) (string, error) {
							return fmt.Sprintf("%v:latest", repositoryUrl), nil
						}).(pulumi.StringOutput),
					},
				},
				Context:    pulumi.String("app/"),
				Dockerfile: pulumi.String("Dockerfile"),
			},
			ImageName: ecrRepository.RepositoryUrl.ApplyT(func(repositoryUrl string) (string, error) {
				return fmt.Sprintf("%v:latest", repositoryUrl), nil
			}).(pulumi.StringOutput),
			Registry: &docker.RegistryArgs{
				Password: pulumi.ToSecret(authToken.ApplyT(func(authToken ecr.GetAuthorizationTokenResult) (*string, error) {
					return &authToken.Password, nil
				}).(pulumi.StringPtrOutput)).(pulumi.StringOutput),
				Server: ecrRepository.RepositoryUrl,
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("imageName", myAppImage.ImageName)
		return nil
	})
}

```

func GetImage

func GetImage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ImageState, opts ...pulumi.ResourceOption) (*Image, error)

GetImage gets an existing Image resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewImage

func NewImage(ctx *pulumi.Context,
	name string, args *ImageArgs, opts ...pulumi.ResourceOption) (*Image, error)

NewImage registers a new resource with the given unique name, arguments, and options.

func (*Image) ElementType

func (*Image) ElementType() reflect.Type

func (*Image) ToImageOutput

func (i *Image) ToImageOutput() ImageOutput

func (*Image) ToImageOutputWithContext

func (i *Image) ToImageOutputWithContext(ctx context.Context) ImageOutput

type ImageArgs

type ImageArgs struct {
	// The Docker build context
	Build DockerBuildPtrInput
	// A flag to build an image on preview
	BuildOnPreview pulumi.BoolPtrInput
	// The image name, of the format repository[:tag], e.g. `docker.io/username/demo-image:v1`.
	// This reference is not unique to each build and push.For the unique manifest SHA of a pushed docker image, or the local image ID, please use `repoDigest`.
	ImageName pulumi.StringInput
	// The registry to push the image to
	Registry RegistryPtrInput
	// A flag to skip a registry push.
	SkipPush pulumi.BoolPtrInput
}

The set of arguments for constructing a Image resource.

func (ImageArgs) ElementType

func (ImageArgs) ElementType() reflect.Type

type ImageArray

type ImageArray []ImageInput

func (ImageArray) ElementType

func (ImageArray) ElementType() reflect.Type

func (ImageArray) ToImageArrayOutput

func (i ImageArray) ToImageArrayOutput() ImageArrayOutput

func (ImageArray) ToImageArrayOutputWithContext

func (i ImageArray) ToImageArrayOutputWithContext(ctx context.Context) ImageArrayOutput

type ImageArrayInput

type ImageArrayInput interface {
	pulumi.Input

	ToImageArrayOutput() ImageArrayOutput
	ToImageArrayOutputWithContext(context.Context) ImageArrayOutput
}

ImageArrayInput is an input type that accepts ImageArray and ImageArrayOutput values. You can construct a concrete instance of `ImageArrayInput` via:

ImageArray{ ImageArgs{...} }

type ImageArrayOutput

type ImageArrayOutput struct{ *pulumi.OutputState }

func (ImageArrayOutput) ElementType

func (ImageArrayOutput) ElementType() reflect.Type

func (ImageArrayOutput) Index

func (ImageArrayOutput) ToImageArrayOutput

func (o ImageArrayOutput) ToImageArrayOutput() ImageArrayOutput

func (ImageArrayOutput) ToImageArrayOutputWithContext

func (o ImageArrayOutput) ToImageArrayOutputWithContext(ctx context.Context) ImageArrayOutput

type ImageInput

type ImageInput interface {
	pulumi.Input

	ToImageOutput() ImageOutput
	ToImageOutputWithContext(ctx context.Context) ImageOutput
}

type ImageMap

type ImageMap map[string]ImageInput

func (ImageMap) ElementType

func (ImageMap) ElementType() reflect.Type

func (ImageMap) ToImageMapOutput

func (i ImageMap) ToImageMapOutput() ImageMapOutput

func (ImageMap) ToImageMapOutputWithContext

func (i ImageMap) ToImageMapOutputWithContext(ctx context.Context) ImageMapOutput

type ImageMapInput

type ImageMapInput interface {
	pulumi.Input

	ToImageMapOutput() ImageMapOutput
	ToImageMapOutputWithContext(context.Context) ImageMapOutput
}

ImageMapInput is an input type that accepts ImageMap and ImageMapOutput values. You can construct a concrete instance of `ImageMapInput` via:

ImageMap{ "key": ImageArgs{...} }

type ImageMapOutput

type ImageMapOutput struct{ *pulumi.OutputState }

func (ImageMapOutput) ElementType

func (ImageMapOutput) ElementType() reflect.Type

func (ImageMapOutput) MapIndex

func (ImageMapOutput) ToImageMapOutput

func (o ImageMapOutput) ToImageMapOutput() ImageMapOutput

func (ImageMapOutput) ToImageMapOutputWithContext

func (o ImageMapOutput) ToImageMapOutputWithContext(ctx context.Context) ImageMapOutput

type ImageOutput

type ImageOutput struct{ *pulumi.OutputState }

func (ImageOutput) BaseImageName

func (o ImageOutput) BaseImageName() pulumi.StringOutput

The fully qualified image name that was pushed to the registry.

func (ImageOutput) Context added in v4.0.1

func (o ImageOutput) Context() pulumi.StringOutput

The path to the build context to use.

func (ImageOutput) Dockerfile added in v4.0.1

func (o ImageOutput) Dockerfile() pulumi.StringOutput

The location of the Dockerfile relative to the docker build context.

func (ImageOutput) ElementType

func (ImageOutput) ElementType() reflect.Type

func (ImageOutput) ImageName

func (o ImageOutput) ImageName() pulumi.StringOutput

The fully qualified image name

func (ImageOutput) Platform added in v4.5.2

func (o ImageOutput) Platform() pulumi.StringPtrOutput

The image's architecture and OS

func (ImageOutput) RegistryServer

func (o ImageOutput) RegistryServer() pulumi.StringOutput

The name of the registry server hosting the image.

func (ImageOutput) RepoDigest added in v4.0.1

func (o ImageOutput) RepoDigest() pulumi.StringOutput

**For pushed images:** The manifest digest of an image pushed to a registry, of the format repository@<algorithm>:<hash>, e.g. `username/demo-image@sha256:a6ae6dd8d39c5bb02320e41abf00cd4cb35905fec540e37d306c878be8d38bd3`. This reference is unique per image build and push. Only available for images pushed to a registry. Use when passing a reference to a pushed image to container management resources.

**Local-only images**For local images, this field is the image ID of the built local image, of the format <algorithm>:<hash>, e.g `sha256:826a130323165bb0ccb0374ae774f885c067a951b51a6ee133577f4e5dbc4119`

func (ImageOutput) ToImageOutput

func (o ImageOutput) ToImageOutput() ImageOutput

func (ImageOutput) ToImageOutputWithContext

func (o ImageOutput) ToImageOutputWithContext(ctx context.Context) ImageOutput

type ImageState

type ImageState struct {
}

func (ImageState) ElementType

func (ImageState) ElementType() reflect.Type

type LookupNetworkArgs

type LookupNetworkArgs struct {
	// The name of the Docker network.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getNetwork.

type LookupNetworkOutputArgs

type LookupNetworkOutputArgs struct {
	// The name of the Docker network.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getNetwork.

func (LookupNetworkOutputArgs) ElementType

func (LookupNetworkOutputArgs) ElementType() reflect.Type

type LookupNetworkResult

type LookupNetworkResult struct {
	// The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details.
	Driver string `pulumi:"driver"`
	// The ID of this resource.
	Id string `pulumi:"id"`
	// If `true`, the network is internal.
	Internal bool `pulumi:"internal"`
	// The IPAM configuration options
	IpamConfigs []GetNetworkIpamConfig `pulumi:"ipamConfigs"`
	// The name of the Docker network.
	Name string `pulumi:"name"`
	// Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
	Options map[string]interface{} `pulumi:"options"`
	// Scope of the network. One of `swarm`, `global`, or `local`.
	Scope string `pulumi:"scope"`
}

A collection of values returned by getNetwork.

func LookupNetwork

func LookupNetwork(ctx *pulumi.Context, args *LookupNetworkArgs, opts ...pulumi.InvokeOption) (*LookupNetworkResult, error)

`Network` provides details about a specific Docker Network.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := docker.LookupNetwork(ctx, &docker.LookupNetworkArgs{
			Name: "main",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupNetworkResultOutput

type LookupNetworkResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNetwork.

func (LookupNetworkResultOutput) Driver

The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details.

func (LookupNetworkResultOutput) ElementType

func (LookupNetworkResultOutput) ElementType() reflect.Type

func (LookupNetworkResultOutput) Id

The ID of this resource.

func (LookupNetworkResultOutput) Internal

If `true`, the network is internal.

func (LookupNetworkResultOutput) IpamConfigs

The IPAM configuration options

func (LookupNetworkResultOutput) Name

The name of the Docker network.

func (LookupNetworkResultOutput) Options

Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.

func (LookupNetworkResultOutput) Scope

Scope of the network. One of `swarm`, `global`, or `local`.

func (LookupNetworkResultOutput) ToLookupNetworkResultOutput

func (o LookupNetworkResultOutput) ToLookupNetworkResultOutput() LookupNetworkResultOutput

func (LookupNetworkResultOutput) ToLookupNetworkResultOutputWithContext

func (o LookupNetworkResultOutput) ToLookupNetworkResultOutputWithContext(ctx context.Context) LookupNetworkResultOutput

type LookupPluginArgs

type LookupPluginArgs struct {
	// The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value.
	Alias *string `pulumi:"alias"`
	// The ID of the plugin, which has precedence over the `alias` of both are given
	Id *string `pulumi:"id"`
}

A collection of arguments for invoking getPlugin.

type LookupPluginOutputArgs

type LookupPluginOutputArgs struct {
	// The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value.
	Alias pulumi.StringPtrInput `pulumi:"alias"`
	// The ID of the plugin, which has precedence over the `alias` of both are given
	Id pulumi.StringPtrInput `pulumi:"id"`
}

A collection of arguments for invoking getPlugin.

func (LookupPluginOutputArgs) ElementType

func (LookupPluginOutputArgs) ElementType() reflect.Type

type LookupPluginResult

type LookupPluginResult struct {
	// The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value.
	Alias *string `pulumi:"alias"`
	// If `true` the plugin is enabled
	Enabled bool `pulumi:"enabled"`
	// The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`
	Envs []string `pulumi:"envs"`
	// If true, grant all permissions necessary to run the plugin
	GrantAllPermissions bool `pulumi:"grantAllPermissions"`
	// The ID of the plugin, which has precedence over the `alias` of both are given
	Id *string `pulumi:"id"`
	// The plugin name. If the tag is omitted, `:latest` is complemented to the attribute value.
	Name string `pulumi:"name"`
	// The Docker Plugin Reference
	PluginReference string `pulumi:"pluginReference"`
}

A collection of values returned by getPlugin.

func LookupPlugin

func LookupPlugin(ctx *pulumi.Context, args *LookupPluginArgs, opts ...pulumi.InvokeOption) (*LookupPluginResult, error)

Reads the local Docker plugin. The plugin must be installed locally.

## Example Usage

### With alias

data "Plugin" "byAlias" {
  alias = "sample-volume-plugin:latest"
}

### With ID

data "Plugin" "byId" {
  id = "e9a9db917b3bfd6706b5d3a66d4bceb9f"
}

type LookupPluginResultOutput

type LookupPluginResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPlugin.

func (LookupPluginResultOutput) Alias

The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value.

func (LookupPluginResultOutput) ElementType

func (LookupPluginResultOutput) ElementType() reflect.Type

func (LookupPluginResultOutput) Enabled

If `true` the plugin is enabled

func (LookupPluginResultOutput) Envs

The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`

func (LookupPluginResultOutput) GrantAllPermissions

func (o LookupPluginResultOutput) GrantAllPermissions() pulumi.BoolOutput

If true, grant all permissions necessary to run the plugin

func (LookupPluginResultOutput) Id

The ID of the plugin, which has precedence over the `alias` of both are given

func (LookupPluginResultOutput) Name

The plugin name. If the tag is omitted, `:latest` is complemented to the attribute value.

func (LookupPluginResultOutput) PluginReference

func (o LookupPluginResultOutput) PluginReference() pulumi.StringOutput

The Docker Plugin Reference

func (LookupPluginResultOutput) ToLookupPluginResultOutput

func (o LookupPluginResultOutput) ToLookupPluginResultOutput() LookupPluginResultOutput

func (LookupPluginResultOutput) ToLookupPluginResultOutputWithContext

func (o LookupPluginResultOutput) ToLookupPluginResultOutputWithContext(ctx context.Context) LookupPluginResultOutput

type LookupRegistryImageArgs

type LookupRegistryImageArgs struct {
	// If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
	InsecureSkipVerify *bool `pulumi:"insecureSkipVerify"`
	// The name of the Docker image, including any tags. e.g. `alpine:latest`
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getRegistryImage.

type LookupRegistryImageOutputArgs

type LookupRegistryImageOutputArgs struct {
	// If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
	InsecureSkipVerify pulumi.BoolPtrInput `pulumi:"insecureSkipVerify"`
	// The name of the Docker image, including any tags. e.g. `alpine:latest`
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getRegistryImage.

func (LookupRegistryImageOutputArgs) ElementType

type LookupRegistryImageResult

type LookupRegistryImageResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
	InsecureSkipVerify *bool `pulumi:"insecureSkipVerify"`
	// The name of the Docker image, including any tags. e.g. `alpine:latest`
	Name string `pulumi:"name"`
	// The content digest of the image, as stored in the registry.
	Sha256Digest string `pulumi:"sha256Digest"`
}

A collection of values returned by getRegistryImage.

func LookupRegistryImage

func LookupRegistryImage(ctx *pulumi.Context, args *LookupRegistryImageArgs, opts ...pulumi.InvokeOption) (*LookupRegistryImageResult, error)

Reads the image metadata from a Docker Registry. Used in conjunction with the RemoteImage resource to keep an image up to date on the latest available version of the tag.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ubuntuRegistryImage, err := docker.LookupRegistryImage(ctx, &docker.LookupRegistryImageArgs{
			Name: "ubuntu:precise",
		}, nil)
		if err != nil {
			return err
		}
		_, err = docker.NewRemoteImage(ctx, "ubuntuRemoteImage", &docker.RemoteImageArgs{
			Name: pulumi.String(ubuntuRegistryImage.Name),
			PullTriggers: pulumi.StringArray{
				pulumi.String(ubuntuRegistryImage.Sha256Digest),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupRegistryImageResultOutput

type LookupRegistryImageResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegistryImage.

func (LookupRegistryImageResultOutput) ElementType

func (LookupRegistryImageResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupRegistryImageResultOutput) InsecureSkipVerify

func (o LookupRegistryImageResultOutput) InsecureSkipVerify() pulumi.BoolPtrOutput

If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`

func (LookupRegistryImageResultOutput) Name

The name of the Docker image, including any tags. e.g. `alpine:latest`

func (LookupRegistryImageResultOutput) Sha256Digest

The content digest of the image, as stored in the registry.

func (LookupRegistryImageResultOutput) ToLookupRegistryImageResultOutput

func (o LookupRegistryImageResultOutput) ToLookupRegistryImageResultOutput() LookupRegistryImageResultOutput

func (LookupRegistryImageResultOutput) ToLookupRegistryImageResultOutputWithContext

func (o LookupRegistryImageResultOutput) ToLookupRegistryImageResultOutputWithContext(ctx context.Context) LookupRegistryImageResultOutput

type LookupRemoteImageArgs

type LookupRemoteImageArgs struct {
	// The name of the Docker image, including any tags or SHA256 repo digests.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getRemoteImage.

type LookupRemoteImageOutputArgs

type LookupRemoteImageOutputArgs struct {
	// The name of the Docker image, including any tags or SHA256 repo digests.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getRemoteImage.

func (LookupRemoteImageOutputArgs) ElementType

type LookupRemoteImageResult

type LookupRemoteImageResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the Docker image, including any tags or SHA256 repo digests.
	Name string `pulumi:"name"`
	// The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`. It may be empty in the edge case where the local image was pulled from a repo, tagged locally, and then referred to in the data source by that local name/tag.
	RepoDigest string `pulumi:"repoDigest"`
}

A collection of values returned by getRemoteImage.

func LookupRemoteImage

func LookupRemoteImage(ctx *pulumi.Context, args *LookupRemoteImageArgs, opts ...pulumi.InvokeOption) (*LookupRemoteImageResult, error)

`RemoteImage` provides details about a specific Docker Image which needs to be present on the Docker Host

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := docker.LookupRemoteImage(ctx, &docker.LookupRemoteImageArgs{
			Name: "nginx",
		}, nil)
		if err != nil {
			return err
		}
		_, err = docker.LookupRemoteImage(ctx, &docker.LookupRemoteImageArgs{
			Name: "nginx:1.17.6",
		}, nil)
		if err != nil {
			return err
		}
		_, err = docker.LookupRemoteImage(ctx, &docker.LookupRemoteImageArgs{
			Name: "nginx@sha256:36b74457bccb56fbf8b05f79c85569501b721d4db813b684391d63e02287c0b2",
		}, nil)
		if err != nil {
			return err
		}
		_, err = docker.LookupRemoteImage(ctx, &docker.LookupRemoteImageArgs{
			Name: "nginx:1.19.1@sha256:36b74457bccb56fbf8b05f79c85569501b721d4db813b684391d63e02287c0b2",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupRemoteImageResultOutput

type LookupRemoteImageResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRemoteImage.

func (LookupRemoteImageResultOutput) ElementType

func (LookupRemoteImageResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupRemoteImageResultOutput) Name

The name of the Docker image, including any tags or SHA256 repo digests.

func (LookupRemoteImageResultOutput) RepoDigest

The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`. It may be empty in the edge case where the local image was pulled from a repo, tagged locally, and then referred to in the data source by that local name/tag.

func (LookupRemoteImageResultOutput) ToLookupRemoteImageResultOutput

func (o LookupRemoteImageResultOutput) ToLookupRemoteImageResultOutput() LookupRemoteImageResultOutput

func (LookupRemoteImageResultOutput) ToLookupRemoteImageResultOutputWithContext

func (o LookupRemoteImageResultOutput) ToLookupRemoteImageResultOutputWithContext(ctx context.Context) LookupRemoteImageResultOutput

type Network

type Network struct {
	pulumi.CustomResourceState

	// Enable manual container attachment to the network.
	Attachable pulumi.BoolPtrOutput `pulumi:"attachable"`
	// Requests daemon to check for networks with same name.
	CheckDuplicate pulumi.BoolPtrOutput `pulumi:"checkDuplicate"`
	// The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details.
	Driver pulumi.StringOutput `pulumi:"driver"`
	// Create swarm routing-mesh network. Defaults to `false`.
	Ingress pulumi.BoolPtrOutput `pulumi:"ingress"`
	// Whether the network is internal.
	Internal pulumi.BoolOutput `pulumi:"internal"`
	// The IPAM configuration options
	IpamConfigs NetworkIpamConfigArrayOutput `pulumi:"ipamConfigs"`
	// Driver used by the custom IP scheme of the network. Defaults to `default`
	IpamDriver pulumi.StringPtrOutput `pulumi:"ipamDriver"`
	// Provide explicit options to the IPAM driver. Valid options vary with `ipamDriver` and refer to that driver's documentation for more details.
	IpamOptions pulumi.MapOutput `pulumi:"ipamOptions"`
	// Enable IPv6 networking. Defaults to `false`.
	Ipv6 pulumi.BoolPtrOutput `pulumi:"ipv6"`
	// User-defined key/value metadata
	Labels NetworkLabelArrayOutput `pulumi:"labels"`
	// The name of the Docker network.
	Name pulumi.StringOutput `pulumi:"name"`
	// Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
	Options pulumi.MapOutput `pulumi:"options"`
	// Scope of the network. One of `swarm`, `global`, or `local`.
	Scope pulumi.StringOutput `pulumi:"scope"`
}

<!-- Bug: Type and Name are switched --> `Network` provides a docker network resource.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := docker.NewNetwork(ctx, "privateNetwork", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

### Example

Assuming you created a `network` as follows

#!/bin/bash

docker network create foo

prints the long ID

87b57a9b91ecab2db2a6dbf38df74c67d7c7108cbe479d6576574ec2cd8c2d73

you provide the definition for the resource as follows

terraform

resource "docker_network" "foo" {

name = "foo"

}

then the import command is as follows

#!/bin/bash

```sh $ pulumi import docker:index/network:Network foo 87b57a9b91ecab2db2a6dbf38df74c67d7c7108cbe479d6576574ec2cd8c2d73 ```

func GetNetwork

func GetNetwork(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkState, opts ...pulumi.ResourceOption) (*Network, error)

GetNetwork gets an existing Network resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNetwork

func NewNetwork(ctx *pulumi.Context,
	name string, args *NetworkArgs, opts ...pulumi.ResourceOption) (*Network, error)

NewNetwork registers a new resource with the given unique name, arguments, and options.

func (*Network) ElementType

func (*Network) ElementType() reflect.Type

func (*Network) ToNetworkOutput

func (i *Network) ToNetworkOutput() NetworkOutput

func (*Network) ToNetworkOutputWithContext

func (i *Network) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput

type NetworkArgs

type NetworkArgs struct {
	// Enable manual container attachment to the network.
	Attachable pulumi.BoolPtrInput
	// Requests daemon to check for networks with same name.
	CheckDuplicate pulumi.BoolPtrInput
	// The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details.
	Driver pulumi.StringPtrInput
	// Create swarm routing-mesh network. Defaults to `false`.
	Ingress pulumi.BoolPtrInput
	// Whether the network is internal.
	Internal pulumi.BoolPtrInput
	// The IPAM configuration options
	IpamConfigs NetworkIpamConfigArrayInput
	// Driver used by the custom IP scheme of the network. Defaults to `default`
	IpamDriver pulumi.StringPtrInput
	// Provide explicit options to the IPAM driver. Valid options vary with `ipamDriver` and refer to that driver's documentation for more details.
	IpamOptions pulumi.MapInput
	// Enable IPv6 networking. Defaults to `false`.
	Ipv6 pulumi.BoolPtrInput
	// User-defined key/value metadata
	Labels NetworkLabelArrayInput
	// The name of the Docker network.
	Name pulumi.StringPtrInput
	// Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
	Options pulumi.MapInput
}

The set of arguments for constructing a Network resource.

func (NetworkArgs) ElementType

func (NetworkArgs) ElementType() reflect.Type

type NetworkArray

type NetworkArray []NetworkInput

func (NetworkArray) ElementType

func (NetworkArray) ElementType() reflect.Type

func (NetworkArray) ToNetworkArrayOutput

func (i NetworkArray) ToNetworkArrayOutput() NetworkArrayOutput

func (NetworkArray) ToNetworkArrayOutputWithContext

func (i NetworkArray) ToNetworkArrayOutputWithContext(ctx context.Context) NetworkArrayOutput

type NetworkArrayInput

type NetworkArrayInput interface {
	pulumi.Input

	ToNetworkArrayOutput() NetworkArrayOutput
	ToNetworkArrayOutputWithContext(context.Context) NetworkArrayOutput
}

NetworkArrayInput is an input type that accepts NetworkArray and NetworkArrayOutput values. You can construct a concrete instance of `NetworkArrayInput` via:

NetworkArray{ NetworkArgs{...} }

type NetworkArrayOutput

type NetworkArrayOutput struct{ *pulumi.OutputState }

func (NetworkArrayOutput) ElementType

func (NetworkArrayOutput) ElementType() reflect.Type

func (NetworkArrayOutput) Index

func (NetworkArrayOutput) ToNetworkArrayOutput

func (o NetworkArrayOutput) ToNetworkArrayOutput() NetworkArrayOutput

func (NetworkArrayOutput) ToNetworkArrayOutputWithContext

func (o NetworkArrayOutput) ToNetworkArrayOutputWithContext(ctx context.Context) NetworkArrayOutput

type NetworkInput

type NetworkInput interface {
	pulumi.Input

	ToNetworkOutput() NetworkOutput
	ToNetworkOutputWithContext(ctx context.Context) NetworkOutput
}

type NetworkIpamConfig

type NetworkIpamConfig struct {
	// Auxiliary IPv4 or IPv6 addresses used by Network driver
	AuxAddress map[string]interface{} `pulumi:"auxAddress"`
	// The IP address of the gateway
	Gateway *string `pulumi:"gateway"`
	// The ip range in CIDR form
	IpRange *string `pulumi:"ipRange"`
	// The subnet in CIDR form
	Subnet *string `pulumi:"subnet"`
}

type NetworkIpamConfigArgs

type NetworkIpamConfigArgs struct {
	// Auxiliary IPv4 or IPv6 addresses used by Network driver
	AuxAddress pulumi.MapInput `pulumi:"auxAddress"`
	// The IP address of the gateway
	Gateway pulumi.StringPtrInput `pulumi:"gateway"`
	// The ip range in CIDR form
	IpRange pulumi.StringPtrInput `pulumi:"ipRange"`
	// The subnet in CIDR form
	Subnet pulumi.StringPtrInput `pulumi:"subnet"`
}

func (NetworkIpamConfigArgs) ElementType

func (NetworkIpamConfigArgs) ElementType() reflect.Type

func (NetworkIpamConfigArgs) ToNetworkIpamConfigOutput

func (i NetworkIpamConfigArgs) ToNetworkIpamConfigOutput() NetworkIpamConfigOutput

func (NetworkIpamConfigArgs) ToNetworkIpamConfigOutputWithContext

func (i NetworkIpamConfigArgs) ToNetworkIpamConfigOutputWithContext(ctx context.Context) NetworkIpamConfigOutput

type NetworkIpamConfigArray

type NetworkIpamConfigArray []NetworkIpamConfigInput

func (NetworkIpamConfigArray) ElementType

func (NetworkIpamConfigArray) ElementType() reflect.Type

func (NetworkIpamConfigArray) ToNetworkIpamConfigArrayOutput

func (i NetworkIpamConfigArray) ToNetworkIpamConfigArrayOutput() NetworkIpamConfigArrayOutput

func (NetworkIpamConfigArray) ToNetworkIpamConfigArrayOutputWithContext

func (i NetworkIpamConfigArray) ToNetworkIpamConfigArrayOutputWithContext(ctx context.Context) NetworkIpamConfigArrayOutput

type NetworkIpamConfigArrayInput

type NetworkIpamConfigArrayInput interface {
	pulumi.Input

	ToNetworkIpamConfigArrayOutput() NetworkIpamConfigArrayOutput
	ToNetworkIpamConfigArrayOutputWithContext(context.Context) NetworkIpamConfigArrayOutput
}

NetworkIpamConfigArrayInput is an input type that accepts NetworkIpamConfigArray and NetworkIpamConfigArrayOutput values. You can construct a concrete instance of `NetworkIpamConfigArrayInput` via:

NetworkIpamConfigArray{ NetworkIpamConfigArgs{...} }

type NetworkIpamConfigArrayOutput

type NetworkIpamConfigArrayOutput struct{ *pulumi.OutputState }

func (NetworkIpamConfigArrayOutput) ElementType

func (NetworkIpamConfigArrayOutput) Index

func (NetworkIpamConfigArrayOutput) ToNetworkIpamConfigArrayOutput

func (o NetworkIpamConfigArrayOutput) ToNetworkIpamConfigArrayOutput() NetworkIpamConfigArrayOutput

func (NetworkIpamConfigArrayOutput) ToNetworkIpamConfigArrayOutputWithContext

func (o NetworkIpamConfigArrayOutput) ToNetworkIpamConfigArrayOutputWithContext(ctx context.Context) NetworkIpamConfigArrayOutput

type NetworkIpamConfigInput

type NetworkIpamConfigInput interface {
	pulumi.Input

	ToNetworkIpamConfigOutput() NetworkIpamConfigOutput
	ToNetworkIpamConfigOutputWithContext(context.Context) NetworkIpamConfigOutput
}

NetworkIpamConfigInput is an input type that accepts NetworkIpamConfigArgs and NetworkIpamConfigOutput values. You can construct a concrete instance of `NetworkIpamConfigInput` via:

NetworkIpamConfigArgs{...}

type NetworkIpamConfigOutput

type NetworkIpamConfigOutput struct{ *pulumi.OutputState }

func (NetworkIpamConfigOutput) AuxAddress

func (o NetworkIpamConfigOutput) AuxAddress() pulumi.MapOutput

Auxiliary IPv4 or IPv6 addresses used by Network driver

func (NetworkIpamConfigOutput) ElementType

func (NetworkIpamConfigOutput) ElementType() reflect.Type

func (NetworkIpamConfigOutput) Gateway

The IP address of the gateway

func (NetworkIpamConfigOutput) IpRange

The ip range in CIDR form

func (NetworkIpamConfigOutput) Subnet

The subnet in CIDR form

func (NetworkIpamConfigOutput) ToNetworkIpamConfigOutput

func (o NetworkIpamConfigOutput) ToNetworkIpamConfigOutput() NetworkIpamConfigOutput

func (NetworkIpamConfigOutput) ToNetworkIpamConfigOutputWithContext

func (o NetworkIpamConfigOutput) ToNetworkIpamConfigOutputWithContext(ctx context.Context) NetworkIpamConfigOutput

type NetworkLabel

type NetworkLabel struct {
	// Name of the label
	Label string `pulumi:"label"`
	// Value of the label
	Value string `pulumi:"value"`
}

type NetworkLabelArgs

type NetworkLabelArgs struct {
	// Name of the label
	Label pulumi.StringInput `pulumi:"label"`
	// Value of the label
	Value pulumi.StringInput `pulumi:"value"`
}

func (NetworkLabelArgs) ElementType

func (NetworkLabelArgs) ElementType() reflect.Type

func (NetworkLabelArgs) ToNetworkLabelOutput

func (i NetworkLabelArgs) ToNetworkLabelOutput() NetworkLabelOutput

func (NetworkLabelArgs) ToNetworkLabelOutputWithContext

func (i NetworkLabelArgs) ToNetworkLabelOutputWithContext(ctx context.Context) NetworkLabelOutput

type NetworkLabelArray

type NetworkLabelArray []NetworkLabelInput

func (NetworkLabelArray) ElementType

func (NetworkLabelArray) ElementType() reflect.Type

func (NetworkLabelArray) ToNetworkLabelArrayOutput

func (i NetworkLabelArray) ToNetworkLabelArrayOutput() NetworkLabelArrayOutput

func (NetworkLabelArray) ToNetworkLabelArrayOutputWithContext

func (i NetworkLabelArray) ToNetworkLabelArrayOutputWithContext(ctx context.Context) NetworkLabelArrayOutput

type NetworkLabelArrayInput

type NetworkLabelArrayInput interface {
	pulumi.Input

	ToNetworkLabelArrayOutput() NetworkLabelArrayOutput
	ToNetworkLabelArrayOutputWithContext(context.Context) NetworkLabelArrayOutput
}

NetworkLabelArrayInput is an input type that accepts NetworkLabelArray and NetworkLabelArrayOutput values. You can construct a concrete instance of `NetworkLabelArrayInput` via:

NetworkLabelArray{ NetworkLabelArgs{...} }

type NetworkLabelArrayOutput

type NetworkLabelArrayOutput struct{ *pulumi.OutputState }

func (NetworkLabelArrayOutput) ElementType

func (NetworkLabelArrayOutput) ElementType() reflect.Type

func (NetworkLabelArrayOutput) Index

func (NetworkLabelArrayOutput) ToNetworkLabelArrayOutput

func (o NetworkLabelArrayOutput) ToNetworkLabelArrayOutput() NetworkLabelArrayOutput

func (NetworkLabelArrayOutput) ToNetworkLabelArrayOutputWithContext

func (o NetworkLabelArrayOutput) ToNetworkLabelArrayOutputWithContext(ctx context.Context) NetworkLabelArrayOutput

type NetworkLabelInput

type NetworkLabelInput interface {
	pulumi.Input

	ToNetworkLabelOutput() NetworkLabelOutput
	ToNetworkLabelOutputWithContext(context.Context) NetworkLabelOutput
}

NetworkLabelInput is an input type that accepts NetworkLabelArgs and NetworkLabelOutput values. You can construct a concrete instance of `NetworkLabelInput` via:

NetworkLabelArgs{...}

type NetworkLabelOutput

type NetworkLabelOutput struct{ *pulumi.OutputState }

func (NetworkLabelOutput) ElementType

func (NetworkLabelOutput) ElementType() reflect.Type

func (NetworkLabelOutput) Label

Name of the label

func (NetworkLabelOutput) ToNetworkLabelOutput

func (o NetworkLabelOutput) ToNetworkLabelOutput() NetworkLabelOutput

func (NetworkLabelOutput) ToNetworkLabelOutputWithContext

func (o NetworkLabelOutput) ToNetworkLabelOutputWithContext(ctx context.Context) NetworkLabelOutput

func (NetworkLabelOutput) Value

Value of the label

type NetworkMap

type NetworkMap map[string]NetworkInput

func (NetworkMap) ElementType

func (NetworkMap) ElementType() reflect.Type

func (NetworkMap) ToNetworkMapOutput

func (i NetworkMap) ToNetworkMapOutput() NetworkMapOutput

func (NetworkMap) ToNetworkMapOutputWithContext

func (i NetworkMap) ToNetworkMapOutputWithContext(ctx context.Context) NetworkMapOutput

type NetworkMapInput

type NetworkMapInput interface {
	pulumi.Input

	ToNetworkMapOutput() NetworkMapOutput
	ToNetworkMapOutputWithContext(context.Context) NetworkMapOutput
}

NetworkMapInput is an input type that accepts NetworkMap and NetworkMapOutput values. You can construct a concrete instance of `NetworkMapInput` via:

NetworkMap{ "key": NetworkArgs{...} }

type NetworkMapOutput

type NetworkMapOutput struct{ *pulumi.OutputState }

func (NetworkMapOutput) ElementType

func (NetworkMapOutput) ElementType() reflect.Type

func (NetworkMapOutput) MapIndex

func (NetworkMapOutput) ToNetworkMapOutput

func (o NetworkMapOutput) ToNetworkMapOutput() NetworkMapOutput

func (NetworkMapOutput) ToNetworkMapOutputWithContext

func (o NetworkMapOutput) ToNetworkMapOutputWithContext(ctx context.Context) NetworkMapOutput

type NetworkOutput

type NetworkOutput struct{ *pulumi.OutputState }

func (NetworkOutput) Attachable

func (o NetworkOutput) Attachable() pulumi.BoolPtrOutput

Enable manual container attachment to the network.

func (NetworkOutput) CheckDuplicate

func (o NetworkOutput) CheckDuplicate() pulumi.BoolPtrOutput

Requests daemon to check for networks with same name.

func (NetworkOutput) Driver

func (o NetworkOutput) Driver() pulumi.StringOutput

The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details.

func (NetworkOutput) ElementType

func (NetworkOutput) ElementType() reflect.Type

func (NetworkOutput) Ingress

func (o NetworkOutput) Ingress() pulumi.BoolPtrOutput

Create swarm routing-mesh network. Defaults to `false`.

func (NetworkOutput) Internal

func (o NetworkOutput) Internal() pulumi.BoolOutput

Whether the network is internal.

func (NetworkOutput) IpamConfigs

The IPAM configuration options

func (NetworkOutput) IpamDriver

func (o NetworkOutput) IpamDriver() pulumi.StringPtrOutput

Driver used by the custom IP scheme of the network. Defaults to `default`

func (NetworkOutput) IpamOptions added in v4.1.0

func (o NetworkOutput) IpamOptions() pulumi.MapOutput

Provide explicit options to the IPAM driver. Valid options vary with `ipamDriver` and refer to that driver's documentation for more details.

func (NetworkOutput) Ipv6

Enable IPv6 networking. Defaults to `false`.

func (NetworkOutput) Labels

User-defined key/value metadata

func (NetworkOutput) Name

The name of the Docker network.

func (NetworkOutput) Options

func (o NetworkOutput) Options() pulumi.MapOutput

Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.

func (NetworkOutput) Scope

func (o NetworkOutput) Scope() pulumi.StringOutput

Scope of the network. One of `swarm`, `global`, or `local`.

func (NetworkOutput) ToNetworkOutput

func (o NetworkOutput) ToNetworkOutput() NetworkOutput

func (NetworkOutput) ToNetworkOutputWithContext

func (o NetworkOutput) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput

type NetworkState

type NetworkState struct {
	// Enable manual container attachment to the network.
	Attachable pulumi.BoolPtrInput
	// Requests daemon to check for networks with same name.
	CheckDuplicate pulumi.BoolPtrInput
	// The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details.
	Driver pulumi.StringPtrInput
	// Create swarm routing-mesh network. Defaults to `false`.
	Ingress pulumi.BoolPtrInput
	// Whether the network is internal.
	Internal pulumi.BoolPtrInput
	// The IPAM configuration options
	IpamConfigs NetworkIpamConfigArrayInput
	// Driver used by the custom IP scheme of the network. Defaults to `default`
	IpamDriver pulumi.StringPtrInput
	// Provide explicit options to the IPAM driver. Valid options vary with `ipamDriver` and refer to that driver's documentation for more details.
	IpamOptions pulumi.MapInput
	// Enable IPv6 networking. Defaults to `false`.
	Ipv6 pulumi.BoolPtrInput
	// User-defined key/value metadata
	Labels NetworkLabelArrayInput
	// The name of the Docker network.
	Name pulumi.StringPtrInput
	// Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
	Options pulumi.MapInput
	// Scope of the network. One of `swarm`, `global`, or `local`.
	Scope pulumi.StringPtrInput
}

func (NetworkState) ElementType

func (NetworkState) ElementType() reflect.Type

type Plugin

type Plugin struct {
	pulumi.CustomResourceState

	// Docker Plugin alias
	Alias pulumi.StringOutput `pulumi:"alias"`
	// HTTP client timeout to enable the plugin
	EnableTimeout pulumi.IntPtrOutput `pulumi:"enableTimeout"`
	// If `true` the plugin is enabled. Defaults to `true`
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`
	Envs pulumi.StringArrayOutput `pulumi:"envs"`
	// If true, then the plugin is destroyed forcibly
	ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"`
	// If true, then the plugin is disabled forcibly
	ForceDisable pulumi.BoolPtrOutput `pulumi:"forceDisable"`
	// If true, grant all permissions necessary to run the plugin
	GrantAllPermissions pulumi.BoolPtrOutput `pulumi:"grantAllPermissions"`
	// Grant specific permissions only
	GrantPermissions PluginGrantPermissionArrayOutput `pulumi:"grantPermissions"`
	// The name of the permission
	Name pulumi.StringOutput `pulumi:"name"`
	// Docker Plugin Reference
	PluginReference pulumi.StringOutput `pulumi:"pluginReference"`
}

<!-- Bug: Type and Name are switched --> Manages the lifecycle of a Docker plugin.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := docker.NewPlugin(ctx, "sample-volume-plugin", &docker.PluginArgs{
			Alias:         pulumi.String("sample-volume-plugin"),
			EnableTimeout: pulumi.Int(60),
			Enabled:       pulumi.Bool(false),
			Envs: pulumi.StringArray{
				pulumi.String("DEBUG=1"),
			},
			ForceDestroy:        pulumi.Bool(true),
			ForceDisable:        pulumi.Bool(true),
			GrantAllPermissions: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

#!/bin/bash

```sh $ pulumi import docker:index/plugin:Plugin sample-volume-plugin "$(docker plugin inspect -f {{.ID}} tiborvass/sample-volume-plugin:latest)" ```

func GetPlugin

func GetPlugin(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PluginState, opts ...pulumi.ResourceOption) (*Plugin, error)

GetPlugin gets an existing Plugin resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPlugin

func NewPlugin(ctx *pulumi.Context,
	name string, args *PluginArgs, opts ...pulumi.ResourceOption) (*Plugin, error)

NewPlugin registers a new resource with the given unique name, arguments, and options.

func (*Plugin) ElementType

func (*Plugin) ElementType() reflect.Type

func (*Plugin) ToPluginOutput

func (i *Plugin) ToPluginOutput() PluginOutput

func (*Plugin) ToPluginOutputWithContext

func (i *Plugin) ToPluginOutputWithContext(ctx context.Context) PluginOutput

type PluginArgs

type PluginArgs struct {
	// Docker Plugin alias
	Alias pulumi.StringPtrInput
	// HTTP client timeout to enable the plugin
	EnableTimeout pulumi.IntPtrInput
	// If `true` the plugin is enabled. Defaults to `true`
	Enabled pulumi.BoolPtrInput
	// The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`
	Envs pulumi.StringArrayInput
	// If true, then the plugin is destroyed forcibly
	ForceDestroy pulumi.BoolPtrInput
	// If true, then the plugin is disabled forcibly
	ForceDisable pulumi.BoolPtrInput
	// If true, grant all permissions necessary to run the plugin
	GrantAllPermissions pulumi.BoolPtrInput
	// Grant specific permissions only
	GrantPermissions PluginGrantPermissionArrayInput
	// The name of the permission
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Plugin resource.

func (PluginArgs) ElementType

func (PluginArgs) ElementType() reflect.Type

type PluginArray

type PluginArray []PluginInput

func (PluginArray) ElementType

func (PluginArray) ElementType() reflect.Type

func (PluginArray) ToPluginArrayOutput

func (i PluginArray) ToPluginArrayOutput() PluginArrayOutput

func (PluginArray) ToPluginArrayOutputWithContext

func (i PluginArray) ToPluginArrayOutputWithContext(ctx context.Context) PluginArrayOutput

type PluginArrayInput

type PluginArrayInput interface {
	pulumi.Input

	ToPluginArrayOutput() PluginArrayOutput
	ToPluginArrayOutputWithContext(context.Context) PluginArrayOutput
}

PluginArrayInput is an input type that accepts PluginArray and PluginArrayOutput values. You can construct a concrete instance of `PluginArrayInput` via:

PluginArray{ PluginArgs{...} }

type PluginArrayOutput

type PluginArrayOutput struct{ *pulumi.OutputState }

func (PluginArrayOutput) ElementType

func (PluginArrayOutput) ElementType() reflect.Type

func (PluginArrayOutput) Index

func (PluginArrayOutput) ToPluginArrayOutput

func (o PluginArrayOutput) ToPluginArrayOutput() PluginArrayOutput

func (PluginArrayOutput) ToPluginArrayOutputWithContext

func (o PluginArrayOutput) ToPluginArrayOutputWithContext(ctx context.Context) PluginArrayOutput

type PluginGrantPermission

type PluginGrantPermission struct {
	// The name of the permission
	Name string `pulumi:"name"`
	// The value of the permission
	Values []string `pulumi:"values"`
}

type PluginGrantPermissionArgs

type PluginGrantPermissionArgs struct {
	// The name of the permission
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the permission
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (PluginGrantPermissionArgs) ElementType

func (PluginGrantPermissionArgs) ElementType() reflect.Type

func (PluginGrantPermissionArgs) ToPluginGrantPermissionOutput

func (i PluginGrantPermissionArgs) ToPluginGrantPermissionOutput() PluginGrantPermissionOutput

func (PluginGrantPermissionArgs) ToPluginGrantPermissionOutputWithContext

func (i PluginGrantPermissionArgs) ToPluginGrantPermissionOutputWithContext(ctx context.Context) PluginGrantPermissionOutput

type PluginGrantPermissionArray

type PluginGrantPermissionArray []PluginGrantPermissionInput

func (PluginGrantPermissionArray) ElementType

func (PluginGrantPermissionArray) ElementType() reflect.Type

func (PluginGrantPermissionArray) ToPluginGrantPermissionArrayOutput

func (i PluginGrantPermissionArray) ToPluginGrantPermissionArrayOutput() PluginGrantPermissionArrayOutput

func (PluginGrantPermissionArray) ToPluginGrantPermissionArrayOutputWithContext

func (i PluginGrantPermissionArray) ToPluginGrantPermissionArrayOutputWithContext(ctx context.Context) PluginGrantPermissionArrayOutput

type PluginGrantPermissionArrayInput

type PluginGrantPermissionArrayInput interface {
	pulumi.Input

	ToPluginGrantPermissionArrayOutput() PluginGrantPermissionArrayOutput
	ToPluginGrantPermissionArrayOutputWithContext(context.Context) PluginGrantPermissionArrayOutput
}

PluginGrantPermissionArrayInput is an input type that accepts PluginGrantPermissionArray and PluginGrantPermissionArrayOutput values. You can construct a concrete instance of `PluginGrantPermissionArrayInput` via:

PluginGrantPermissionArray{ PluginGrantPermissionArgs{...} }

type PluginGrantPermissionArrayOutput

type PluginGrantPermissionArrayOutput struct{ *pulumi.OutputState }

func (PluginGrantPermissionArrayOutput) ElementType

func (PluginGrantPermissionArrayOutput) Index

func (PluginGrantPermissionArrayOutput) ToPluginGrantPermissionArrayOutput

func (o PluginGrantPermissionArrayOutput) ToPluginGrantPermissionArrayOutput() PluginGrantPermissionArrayOutput

func (PluginGrantPermissionArrayOutput) ToPluginGrantPermissionArrayOutputWithContext

func (o PluginGrantPermissionArrayOutput) ToPluginGrantPermissionArrayOutputWithContext(ctx context.Context) PluginGrantPermissionArrayOutput

type PluginGrantPermissionInput

type PluginGrantPermissionInput interface {
	pulumi.Input

	ToPluginGrantPermissionOutput() PluginGrantPermissionOutput
	ToPluginGrantPermissionOutputWithContext(context.Context) PluginGrantPermissionOutput
}

PluginGrantPermissionInput is an input type that accepts PluginGrantPermissionArgs and PluginGrantPermissionOutput values. You can construct a concrete instance of `PluginGrantPermissionInput` via:

PluginGrantPermissionArgs{...}

type PluginGrantPermissionOutput

type PluginGrantPermissionOutput struct{ *pulumi.OutputState }

func (PluginGrantPermissionOutput) ElementType

func (PluginGrantPermissionOutput) Name

The name of the permission

func (PluginGrantPermissionOutput) ToPluginGrantPermissionOutput

func (o PluginGrantPermissionOutput) ToPluginGrantPermissionOutput() PluginGrantPermissionOutput

func (PluginGrantPermissionOutput) ToPluginGrantPermissionOutputWithContext

func (o PluginGrantPermissionOutput) ToPluginGrantPermissionOutputWithContext(ctx context.Context) PluginGrantPermissionOutput

func (PluginGrantPermissionOutput) Values

The value of the permission

type PluginInput

type PluginInput interface {
	pulumi.Input

	ToPluginOutput() PluginOutput
	ToPluginOutputWithContext(ctx context.Context) PluginOutput
}

type PluginMap

type PluginMap map[string]PluginInput

func (PluginMap) ElementType

func (PluginMap) ElementType() reflect.Type

func (PluginMap) ToPluginMapOutput

func (i PluginMap) ToPluginMapOutput() PluginMapOutput

func (PluginMap) ToPluginMapOutputWithContext

func (i PluginMap) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput

type PluginMapInput

type PluginMapInput interface {
	pulumi.Input

	ToPluginMapOutput() PluginMapOutput
	ToPluginMapOutputWithContext(context.Context) PluginMapOutput
}

PluginMapInput is an input type that accepts PluginMap and PluginMapOutput values. You can construct a concrete instance of `PluginMapInput` via:

PluginMap{ "key": PluginArgs{...} }

type PluginMapOutput

type PluginMapOutput struct{ *pulumi.OutputState }

func (PluginMapOutput) ElementType

func (PluginMapOutput) ElementType() reflect.Type

func (PluginMapOutput) MapIndex

func (PluginMapOutput) ToPluginMapOutput

func (o PluginMapOutput) ToPluginMapOutput() PluginMapOutput

func (PluginMapOutput) ToPluginMapOutputWithContext

func (o PluginMapOutput) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput

type PluginOutput

type PluginOutput struct{ *pulumi.OutputState }

func (PluginOutput) Alias

func (o PluginOutput) Alias() pulumi.StringOutput

Docker Plugin alias

func (PluginOutput) ElementType

func (PluginOutput) ElementType() reflect.Type

func (PluginOutput) EnableTimeout

func (o PluginOutput) EnableTimeout() pulumi.IntPtrOutput

HTTP client timeout to enable the plugin

func (PluginOutput) Enabled

func (o PluginOutput) Enabled() pulumi.BoolPtrOutput

If `true` the plugin is enabled. Defaults to `true`

func (PluginOutput) Envs

The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`

func (PluginOutput) ForceDestroy

func (o PluginOutput) ForceDestroy() pulumi.BoolPtrOutput

If true, then the plugin is destroyed forcibly

func (PluginOutput) ForceDisable

func (o PluginOutput) ForceDisable() pulumi.BoolPtrOutput

If true, then the plugin is disabled forcibly

func (PluginOutput) GrantAllPermissions

func (o PluginOutput) GrantAllPermissions() pulumi.BoolPtrOutput

If true, grant all permissions necessary to run the plugin

func (PluginOutput) GrantPermissions

func (o PluginOutput) GrantPermissions() PluginGrantPermissionArrayOutput

Grant specific permissions only

func (PluginOutput) Name

func (o PluginOutput) Name() pulumi.StringOutput

The name of the permission

func (PluginOutput) PluginReference

func (o PluginOutput) PluginReference() pulumi.StringOutput

Docker Plugin Reference

func (PluginOutput) ToPluginOutput

func (o PluginOutput) ToPluginOutput() PluginOutput

func (PluginOutput) ToPluginOutputWithContext

func (o PluginOutput) ToPluginOutputWithContext(ctx context.Context) PluginOutput

type PluginState

type PluginState struct {
	// Docker Plugin alias
	Alias pulumi.StringPtrInput
	// HTTP client timeout to enable the plugin
	EnableTimeout pulumi.IntPtrInput
	// If `true` the plugin is enabled. Defaults to `true`
	Enabled pulumi.BoolPtrInput
	// The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`
	Envs pulumi.StringArrayInput
	// If true, then the plugin is destroyed forcibly
	ForceDestroy pulumi.BoolPtrInput
	// If true, then the plugin is disabled forcibly
	ForceDisable pulumi.BoolPtrInput
	// If true, grant all permissions necessary to run the plugin
	GrantAllPermissions pulumi.BoolPtrInput
	// Grant specific permissions only
	GrantPermissions PluginGrantPermissionArrayInput
	// The name of the permission
	Name pulumi.StringPtrInput
	// Docker Plugin Reference
	PluginReference pulumi.StringPtrInput
}

func (PluginState) ElementType

func (PluginState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// PEM-encoded content of Docker host CA certificate
	CaMaterial pulumi.StringPtrOutput `pulumi:"caMaterial"`
	// PEM-encoded content of Docker client certificate
	CertMaterial pulumi.StringPtrOutput `pulumi:"certMaterial"`
	// Path to directory with Docker TLS config
	CertPath pulumi.StringPtrOutput `pulumi:"certPath"`
	// The Docker daemon address
	Host pulumi.StringPtrOutput `pulumi:"host"`
	// PEM-encoded content of Docker client private key
	KeyMaterial pulumi.StringPtrOutput `pulumi:"keyMaterial"`
}

The provider type for the docker package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// PEM-encoded content of Docker host CA certificate
	CaMaterial pulumi.StringPtrInput
	// PEM-encoded content of Docker client certificate
	CertMaterial pulumi.StringPtrInput
	// Path to directory with Docker TLS config
	CertPath pulumi.StringPtrInput
	// The Docker daemon address
	Host pulumi.StringPtrInput
	// PEM-encoded content of Docker client private key
	KeyMaterial  pulumi.StringPtrInput
	RegistryAuth ProviderRegistryAuthArrayInput
	// Additional SSH option flags to be appended when using `ssh://` protocol
	SshOpts pulumi.StringArrayInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) CaMaterial

func (o ProviderOutput) CaMaterial() pulumi.StringPtrOutput

PEM-encoded content of Docker host CA certificate

func (ProviderOutput) CertMaterial

func (o ProviderOutput) CertMaterial() pulumi.StringPtrOutput

PEM-encoded content of Docker client certificate

func (ProviderOutput) CertPath

func (o ProviderOutput) CertPath() pulumi.StringPtrOutput

Path to directory with Docker TLS config

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) Host

The Docker daemon address

func (ProviderOutput) KeyMaterial

func (o ProviderOutput) KeyMaterial() pulumi.StringPtrOutput

PEM-encoded content of Docker client private key

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderRegistryAuth

type ProviderRegistryAuth struct {
	// Address of the registry
	Address      string `pulumi:"address"`
	AuthDisabled *bool  `pulumi:"authDisabled"`
	// Path to docker json file for registry auth. Defaults to `~/.docker/config.json`. If `DOCKER_CONFIG` is set, the value of `DOCKER_CONFIG` is used as the path. `configFile` has predencen over all other options.
	ConfigFile *string `pulumi:"configFile"`
	// Plain content of the docker json file for registry auth. `configFileContent` has precedence over username/password.
	ConfigFileContent *string `pulumi:"configFileContent"`
	// Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set.
	Password *string `pulumi:"password"`
	// Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set.
	Username *string `pulumi:"username"`
}

type ProviderRegistryAuthArgs

type ProviderRegistryAuthArgs struct {
	// Address of the registry
	Address      pulumi.StringInput  `pulumi:"address"`
	AuthDisabled pulumi.BoolPtrInput `pulumi:"authDisabled"`
	// Path to docker json file for registry auth. Defaults to `~/.docker/config.json`. If `DOCKER_CONFIG` is set, the value of `DOCKER_CONFIG` is used as the path. `configFile` has predencen over all other options.
	ConfigFile pulumi.StringPtrInput `pulumi:"configFile"`
	// Plain content of the docker json file for registry auth. `configFileContent` has precedence over username/password.
	ConfigFileContent pulumi.StringPtrInput `pulumi:"configFileContent"`
	// Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set.
	Username pulumi.StringPtrInput `pulumi:"username"`
}

func (ProviderRegistryAuthArgs) ElementType

func (ProviderRegistryAuthArgs) ElementType() reflect.Type

func (ProviderRegistryAuthArgs) ToProviderRegistryAuthOutput

func (i ProviderRegistryAuthArgs) ToProviderRegistryAuthOutput() ProviderRegistryAuthOutput

func (ProviderRegistryAuthArgs) ToProviderRegistryAuthOutputWithContext

func (i ProviderRegistryAuthArgs) ToProviderRegistryAuthOutputWithContext(ctx context.Context) ProviderRegistryAuthOutput

type ProviderRegistryAuthArray

type ProviderRegistryAuthArray []ProviderRegistryAuthInput

func (ProviderRegistryAuthArray) ElementType

func (ProviderRegistryAuthArray) ElementType() reflect.Type

func (ProviderRegistryAuthArray) ToProviderRegistryAuthArrayOutput

func (i ProviderRegistryAuthArray) ToProviderRegistryAuthArrayOutput() ProviderRegistryAuthArrayOutput

func (ProviderRegistryAuthArray) ToProviderRegistryAuthArrayOutputWithContext

func (i ProviderRegistryAuthArray) ToProviderRegistryAuthArrayOutputWithContext(ctx context.Context) ProviderRegistryAuthArrayOutput

type ProviderRegistryAuthArrayInput

type ProviderRegistryAuthArrayInput interface {
	pulumi.Input

	ToProviderRegistryAuthArrayOutput() ProviderRegistryAuthArrayOutput
	ToProviderRegistryAuthArrayOutputWithContext(context.Context) ProviderRegistryAuthArrayOutput
}

ProviderRegistryAuthArrayInput is an input type that accepts ProviderRegistryAuthArray and ProviderRegistryAuthArrayOutput values. You can construct a concrete instance of `ProviderRegistryAuthArrayInput` via:

ProviderRegistryAuthArray{ ProviderRegistryAuthArgs{...} }

type ProviderRegistryAuthArrayOutput

type ProviderRegistryAuthArrayOutput struct{ *pulumi.OutputState }

func (ProviderRegistryAuthArrayOutput) ElementType

func (ProviderRegistryAuthArrayOutput) Index

func (ProviderRegistryAuthArrayOutput) ToProviderRegistryAuthArrayOutput

func (o ProviderRegistryAuthArrayOutput) ToProviderRegistryAuthArrayOutput() ProviderRegistryAuthArrayOutput

func (ProviderRegistryAuthArrayOutput) ToProviderRegistryAuthArrayOutputWithContext

func (o ProviderRegistryAuthArrayOutput) ToProviderRegistryAuthArrayOutputWithContext(ctx context.Context) ProviderRegistryAuthArrayOutput

type ProviderRegistryAuthInput

type ProviderRegistryAuthInput interface {
	pulumi.Input

	ToProviderRegistryAuthOutput() ProviderRegistryAuthOutput
	ToProviderRegistryAuthOutputWithContext(context.Context) ProviderRegistryAuthOutput
}

ProviderRegistryAuthInput is an input type that accepts ProviderRegistryAuthArgs and ProviderRegistryAuthOutput values. You can construct a concrete instance of `ProviderRegistryAuthInput` via:

ProviderRegistryAuthArgs{...}

type ProviderRegistryAuthOutput

type ProviderRegistryAuthOutput struct{ *pulumi.OutputState }

func (ProviderRegistryAuthOutput) Address

Address of the registry

func (ProviderRegistryAuthOutput) AuthDisabled added in v4.1.0

func (ProviderRegistryAuthOutput) ConfigFile

Path to docker json file for registry auth. Defaults to `~/.docker/config.json`. If `DOCKER_CONFIG` is set, the value of `DOCKER_CONFIG` is used as the path. `configFile` has predencen over all other options.

func (ProviderRegistryAuthOutput) ConfigFileContent

func (o ProviderRegistryAuthOutput) ConfigFileContent() pulumi.StringPtrOutput

Plain content of the docker json file for registry auth. `configFileContent` has precedence over username/password.

func (ProviderRegistryAuthOutput) ElementType

func (ProviderRegistryAuthOutput) ElementType() reflect.Type

func (ProviderRegistryAuthOutput) Password

Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set.

func (ProviderRegistryAuthOutput) ToProviderRegistryAuthOutput

func (o ProviderRegistryAuthOutput) ToProviderRegistryAuthOutput() ProviderRegistryAuthOutput

func (ProviderRegistryAuthOutput) ToProviderRegistryAuthOutputWithContext

func (o ProviderRegistryAuthOutput) ToProviderRegistryAuthOutputWithContext(ctx context.Context) ProviderRegistryAuthOutput

func (ProviderRegistryAuthOutput) Username

Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set.

type Registry

type Registry struct {
	// The password to authenticate to the registry. Does not cause image rebuild when changed.
	Password *string `pulumi:"password"`
	// The URL of the Docker registry server
	Server *string `pulumi:"server"`
	// The username to authenticate to the registry. Does not cause image rebuild when changed.
	Username *string `pulumi:"username"`
}

Describes a Docker container registry

type RegistryArgs

type RegistryArgs struct {
	// The password to authenticate to the registry. Does not cause image rebuild when changed.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// The URL of the Docker registry server
	Server pulumi.StringPtrInput `pulumi:"server"`
	// The username to authenticate to the registry. Does not cause image rebuild when changed.
	Username pulumi.StringPtrInput `pulumi:"username"`
}

Describes a Docker container registry

func (RegistryArgs) ElementType

func (RegistryArgs) ElementType() reflect.Type

func (RegistryArgs) ToRegistryOutput

func (i RegistryArgs) ToRegistryOutput() RegistryOutput

func (RegistryArgs) ToRegistryOutputWithContext

func (i RegistryArgs) ToRegistryOutputWithContext(ctx context.Context) RegistryOutput

func (RegistryArgs) ToRegistryPtrOutput

func (i RegistryArgs) ToRegistryPtrOutput() RegistryPtrOutput

func (RegistryArgs) ToRegistryPtrOutputWithContext

func (i RegistryArgs) ToRegistryPtrOutputWithContext(ctx context.Context) RegistryPtrOutput

type RegistryImage

type RegistryImage struct {
	pulumi.CustomResourceState

	// If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
	InsecureSkipVerify pulumi.BoolPtrOutput `pulumi:"insecureSkipVerify"`
	// If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false`
	KeepRemotely pulumi.BoolPtrOutput `pulumi:"keepRemotely"`
	// The name of the Docker image.
	Name pulumi.StringOutput `pulumi:"name"`
	// The sha256 digest of the image.
	Sha256Digest pulumi.StringOutput `pulumi:"sha256Digest"`
	// A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image
	Triggers pulumi.MapOutput `pulumi:"triggers"`
}

<!-- Bug: Type and Name are switched --> Manages the lifecycle of docker image in a registry. You can upload images to a registry (= `docker push`) and also delete them again

## Example Usage

Build an image with the `RemoteImage` resource and then push it to a registry:

<!--Start PulumiCodeChooser --> ```go package main

import (

"fmt"

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := docker.NewRegistryImage(ctx, "helloworld", &docker.RegistryImageArgs{
			KeepRemotely: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = docker.NewRemoteImage(ctx, "image", &docker.RemoteImageArgs{
			Name: pulumi.String("registry.com/somename:1.0"),
			Build: &docker.RemoteImageBuildArgs{
				Context: pulumi.String(fmt.Sprintf("%v/absolutePathToContextFolder", path.Cwd)),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

func GetRegistryImage

func GetRegistryImage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryImageState, opts ...pulumi.ResourceOption) (*RegistryImage, error)

GetRegistryImage gets an existing RegistryImage resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRegistryImage

func NewRegistryImage(ctx *pulumi.Context,
	name string, args *RegistryImageArgs, opts ...pulumi.ResourceOption) (*RegistryImage, error)

NewRegistryImage registers a new resource with the given unique name, arguments, and options.

func (*RegistryImage) ElementType

func (*RegistryImage) ElementType() reflect.Type

func (*RegistryImage) ToRegistryImageOutput

func (i *RegistryImage) ToRegistryImageOutput() RegistryImageOutput

func (*RegistryImage) ToRegistryImageOutputWithContext

func (i *RegistryImage) ToRegistryImageOutputWithContext(ctx context.Context) RegistryImageOutput

type RegistryImageArgs

type RegistryImageArgs struct {
	// If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
	InsecureSkipVerify pulumi.BoolPtrInput
	// If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false`
	KeepRemotely pulumi.BoolPtrInput
	// The name of the Docker image.
	Name pulumi.StringPtrInput
	// A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image
	Triggers pulumi.MapInput
}

The set of arguments for constructing a RegistryImage resource.

func (RegistryImageArgs) ElementType

func (RegistryImageArgs) ElementType() reflect.Type

type RegistryImageArray

type RegistryImageArray []RegistryImageInput

func (RegistryImageArray) ElementType

func (RegistryImageArray) ElementType() reflect.Type

func (RegistryImageArray) ToRegistryImageArrayOutput

func (i RegistryImageArray) ToRegistryImageArrayOutput() RegistryImageArrayOutput

func (RegistryImageArray) ToRegistryImageArrayOutputWithContext

func (i RegistryImageArray) ToRegistryImageArrayOutputWithContext(ctx context.Context) RegistryImageArrayOutput

type RegistryImageArrayInput

type RegistryImageArrayInput interface {
	pulumi.Input

	ToRegistryImageArrayOutput() RegistryImageArrayOutput
	ToRegistryImageArrayOutputWithContext(context.Context) RegistryImageArrayOutput
}

RegistryImageArrayInput is an input type that accepts RegistryImageArray and RegistryImageArrayOutput values. You can construct a concrete instance of `RegistryImageArrayInput` via:

RegistryImageArray{ RegistryImageArgs{...} }

type RegistryImageArrayOutput

type RegistryImageArrayOutput struct{ *pulumi.OutputState }

func (RegistryImageArrayOutput) ElementType

func (RegistryImageArrayOutput) ElementType() reflect.Type

func (RegistryImageArrayOutput) Index

func (RegistryImageArrayOutput) ToRegistryImageArrayOutput

func (o RegistryImageArrayOutput) ToRegistryImageArrayOutput() RegistryImageArrayOutput

func (RegistryImageArrayOutput) ToRegistryImageArrayOutputWithContext

func (o RegistryImageArrayOutput) ToRegistryImageArrayOutputWithContext(ctx context.Context) RegistryImageArrayOutput

type RegistryImageInput

type RegistryImageInput interface {
	pulumi.Input

	ToRegistryImageOutput() RegistryImageOutput
	ToRegistryImageOutputWithContext(ctx context.Context) RegistryImageOutput
}

type RegistryImageMap

type RegistryImageMap map[string]RegistryImageInput

func (RegistryImageMap) ElementType

func (RegistryImageMap) ElementType() reflect.Type

func (RegistryImageMap) ToRegistryImageMapOutput

func (i RegistryImageMap) ToRegistryImageMapOutput() RegistryImageMapOutput

func (RegistryImageMap) ToRegistryImageMapOutputWithContext

func (i RegistryImageMap) ToRegistryImageMapOutputWithContext(ctx context.Context) RegistryImageMapOutput

type RegistryImageMapInput

type RegistryImageMapInput interface {
	pulumi.Input

	ToRegistryImageMapOutput() RegistryImageMapOutput
	ToRegistryImageMapOutputWithContext(context.Context) RegistryImageMapOutput
}

RegistryImageMapInput is an input type that accepts RegistryImageMap and RegistryImageMapOutput values. You can construct a concrete instance of `RegistryImageMapInput` via:

RegistryImageMap{ "key": RegistryImageArgs{...} }

type RegistryImageMapOutput

type RegistryImageMapOutput struct{ *pulumi.OutputState }

func (RegistryImageMapOutput) ElementType

func (RegistryImageMapOutput) ElementType() reflect.Type

func (RegistryImageMapOutput) MapIndex

func (RegistryImageMapOutput) ToRegistryImageMapOutput

func (o RegistryImageMapOutput) ToRegistryImageMapOutput() RegistryImageMapOutput

func (RegistryImageMapOutput) ToRegistryImageMapOutputWithContext

func (o RegistryImageMapOutput) ToRegistryImageMapOutputWithContext(ctx context.Context) RegistryImageMapOutput

type RegistryImageOutput

type RegistryImageOutput struct{ *pulumi.OutputState }

func (RegistryImageOutput) ElementType

func (RegistryImageOutput) ElementType() reflect.Type

func (RegistryImageOutput) InsecureSkipVerify

func (o RegistryImageOutput) InsecureSkipVerify() pulumi.BoolPtrOutput

If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`

func (RegistryImageOutput) KeepRemotely

func (o RegistryImageOutput) KeepRemotely() pulumi.BoolPtrOutput

If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false`

func (RegistryImageOutput) Name

The name of the Docker image.

func (RegistryImageOutput) Sha256Digest

func (o RegistryImageOutput) Sha256Digest() pulumi.StringOutput

The sha256 digest of the image.

func (RegistryImageOutput) ToRegistryImageOutput

func (o RegistryImageOutput) ToRegistryImageOutput() RegistryImageOutput

func (RegistryImageOutput) ToRegistryImageOutputWithContext

func (o RegistryImageOutput) ToRegistryImageOutputWithContext(ctx context.Context) RegistryImageOutput

func (RegistryImageOutput) Triggers added in v4.1.0

func (o RegistryImageOutput) Triggers() pulumi.MapOutput

A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image

type RegistryImageState

type RegistryImageState struct {
	// If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
	InsecureSkipVerify pulumi.BoolPtrInput
	// If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false`
	KeepRemotely pulumi.BoolPtrInput
	// The name of the Docker image.
	Name pulumi.StringPtrInput
	// The sha256 digest of the image.
	Sha256Digest pulumi.StringPtrInput
	// A map of arbitrary strings that, when changed, will force the `RegistryImage` resource to be replaced. This can be used to repush a local image
	Triggers pulumi.MapInput
}

func (RegistryImageState) ElementType

func (RegistryImageState) ElementType() reflect.Type

type RegistryInput

type RegistryInput interface {
	pulumi.Input

	ToRegistryOutput() RegistryOutput
	ToRegistryOutputWithContext(context.Context) RegistryOutput
}

RegistryInput is an input type that accepts RegistryArgs and RegistryOutput values. You can construct a concrete instance of `RegistryInput` via:

RegistryArgs{...}

type RegistryOutput

type RegistryOutput struct{ *pulumi.OutputState }

Describes a Docker container registry

func (RegistryOutput) ElementType

func (RegistryOutput) ElementType() reflect.Type

func (RegistryOutput) Password

func (o RegistryOutput) Password() pulumi.StringPtrOutput

The password to authenticate to the registry. Does not cause image rebuild when changed.

func (RegistryOutput) Server

The URL of the Docker registry server

func (RegistryOutput) ToRegistryOutput

func (o RegistryOutput) ToRegistryOutput() RegistryOutput

func (RegistryOutput) ToRegistryOutputWithContext

func (o RegistryOutput) ToRegistryOutputWithContext(ctx context.Context) RegistryOutput

func (RegistryOutput) ToRegistryPtrOutput

func (o RegistryOutput) ToRegistryPtrOutput() RegistryPtrOutput

func (RegistryOutput) ToRegistryPtrOutputWithContext

func (o RegistryOutput) ToRegistryPtrOutputWithContext(ctx context.Context) RegistryPtrOutput

func (RegistryOutput) Username

func (o RegistryOutput) Username() pulumi.StringPtrOutput

The username to authenticate to the registry. Does not cause image rebuild when changed.

type RegistryPtrInput

type RegistryPtrInput interface {
	pulumi.Input

	ToRegistryPtrOutput() RegistryPtrOutput
	ToRegistryPtrOutputWithContext(context.Context) RegistryPtrOutput
}

RegistryPtrInput is an input type that accepts RegistryArgs, RegistryPtr and RegistryPtrOutput values. You can construct a concrete instance of `RegistryPtrInput` via:

        RegistryArgs{...}

or:

        nil

func RegistryPtr

func RegistryPtr(v *RegistryArgs) RegistryPtrInput

type RegistryPtrOutput

type RegistryPtrOutput struct{ *pulumi.OutputState }

func (RegistryPtrOutput) Elem

func (RegistryPtrOutput) ElementType

func (RegistryPtrOutput) ElementType() reflect.Type

func (RegistryPtrOutput) Password

The password to authenticate to the registry. Does not cause image rebuild when changed.

func (RegistryPtrOutput) Server

The URL of the Docker registry server

func (RegistryPtrOutput) ToRegistryPtrOutput

func (o RegistryPtrOutput) ToRegistryPtrOutput() RegistryPtrOutput

func (RegistryPtrOutput) ToRegistryPtrOutputWithContext

func (o RegistryPtrOutput) ToRegistryPtrOutputWithContext(ctx context.Context) RegistryPtrOutput

func (RegistryPtrOutput) Username

The username to authenticate to the registry. Does not cause image rebuild when changed.

type RemoteImage

type RemoteImage struct {
	pulumi.CustomResourceState

	// Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.
	Build RemoteImageBuildPtrOutput `pulumi:"build"`
	// Always remove intermediate containers
	ForceRemove pulumi.BoolPtrOutput `pulumi:"forceRemove"`
	// The ID of the image (as seen when executing `docker inspect` on the image). Can be used to reference the image via its ID in other resources.
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.
	KeepLocally pulumi.BoolPtrOutput `pulumi:"keepLocally"`
	// type of ulimit, e.g. `nofile`
	Name pulumi.StringOutput `pulumi:"name"`
	// Set platform if server is multi-platform capable
	Platform pulumi.StringPtrOutput `pulumi:"platform"`
	// List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker*registry*image.
	PullTriggers pulumi.StringArrayOutput `pulumi:"pullTriggers"`
	// The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.
	RepoDigest pulumi.StringOutput `pulumi:"repoDigest"`
	// A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
	Triggers pulumi.MapOutput `pulumi:"triggers"`
}

<!-- Bug: Type and Name are switched --> Pulls a Docker image to a given Docker host from a Docker Registry.

This resource will *not* pull new layers of the image automatically unless used in conjunction with RegistryImage data source to update the `pullTriggers` field.

## Example Usage

### Basic

Finds and downloads the latest `ubuntu:precise` image but does not check for further updates of the image

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := docker.NewRemoteImage(ctx, "ubuntu", &docker.RemoteImageArgs{
			Name: pulumi.String("ubuntu:precise"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Dynamic updates

To be able to update an image dynamically when the `sha256` sum changes, you need to use it in combination with `RegistryImage` as follows:

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ubuntuRegistryImage, err := docker.LookupRegistryImage(ctx, &docker.LookupRegistryImageArgs{
			Name: "ubuntu:precise",
		}, nil)
		if err != nil {
			return err
		}
		_, err = docker.NewRemoteImage(ctx, "ubuntuRemoteImage", &docker.RemoteImageArgs{
			Name: pulumi.String(ubuntuRegistryImage.Name),
			PullTriggers: pulumi.StringArray{
				pulumi.String(ubuntuRegistryImage.Sha256Digest),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Build

You can also use the resource to build an image. In this case the image "zoo" and "zoo:develop" are built.

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := docker.NewRemoteImage(ctx, "zoo", &docker.RemoteImageArgs{
			Name: pulumi.String("zoo"),
			Build: &docker.RemoteImageBuildArgs{
				Context: pulumi.String("."),
				Tags: pulumi.StringArray{
					pulumi.String("zoo:develop"),
				},
				BuildArg: pulumi.StringMap{
					"foo": pulumi.String("zoo"),
				},
				Label: pulumi.StringMap{
					"author": pulumi.String("zoo"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

You can use the `triggers` argument to specify when the image should be rebuild. This is for example helpful when you want to rebuild the docker image whenever the source code changes.

func GetRemoteImage

func GetRemoteImage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RemoteImageState, opts ...pulumi.ResourceOption) (*RemoteImage, error)

GetRemoteImage gets an existing RemoteImage resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRemoteImage

func NewRemoteImage(ctx *pulumi.Context,
	name string, args *RemoteImageArgs, opts ...pulumi.ResourceOption) (*RemoteImage, error)

NewRemoteImage registers a new resource with the given unique name, arguments, and options.

func (*RemoteImage) ElementType

func (*RemoteImage) ElementType() reflect.Type

func (*RemoteImage) ToRemoteImageOutput

func (i *RemoteImage) ToRemoteImageOutput() RemoteImageOutput

func (*RemoteImage) ToRemoteImageOutputWithContext

func (i *RemoteImage) ToRemoteImageOutputWithContext(ctx context.Context) RemoteImageOutput

type RemoteImageArgs

type RemoteImageArgs struct {
	// Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.
	Build RemoteImageBuildPtrInput
	// Always remove intermediate containers
	ForceRemove pulumi.BoolPtrInput
	// If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.
	KeepLocally pulumi.BoolPtrInput
	// type of ulimit, e.g. `nofile`
	Name pulumi.StringInput
	// Set platform if server is multi-platform capable
	Platform pulumi.StringPtrInput
	// List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker*registry*image.
	PullTriggers pulumi.StringArrayInput
	// A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
	Triggers pulumi.MapInput
}

The set of arguments for constructing a RemoteImage resource.

func (RemoteImageArgs) ElementType

func (RemoteImageArgs) ElementType() reflect.Type

type RemoteImageArray

type RemoteImageArray []RemoteImageInput

func (RemoteImageArray) ElementType

func (RemoteImageArray) ElementType() reflect.Type

func (RemoteImageArray) ToRemoteImageArrayOutput

func (i RemoteImageArray) ToRemoteImageArrayOutput() RemoteImageArrayOutput

func (RemoteImageArray) ToRemoteImageArrayOutputWithContext

func (i RemoteImageArray) ToRemoteImageArrayOutputWithContext(ctx context.Context) RemoteImageArrayOutput

type RemoteImageArrayInput

type RemoteImageArrayInput interface {
	pulumi.Input

	ToRemoteImageArrayOutput() RemoteImageArrayOutput
	ToRemoteImageArrayOutputWithContext(context.Context) RemoteImageArrayOutput
}

RemoteImageArrayInput is an input type that accepts RemoteImageArray and RemoteImageArrayOutput values. You can construct a concrete instance of `RemoteImageArrayInput` via:

RemoteImageArray{ RemoteImageArgs{...} }

type RemoteImageArrayOutput

type RemoteImageArrayOutput struct{ *pulumi.OutputState }

func (RemoteImageArrayOutput) ElementType

func (RemoteImageArrayOutput) ElementType() reflect.Type

func (RemoteImageArrayOutput) Index

func (RemoteImageArrayOutput) ToRemoteImageArrayOutput

func (o RemoteImageArrayOutput) ToRemoteImageArrayOutput() RemoteImageArrayOutput

func (RemoteImageArrayOutput) ToRemoteImageArrayOutputWithContext

func (o RemoteImageArrayOutput) ToRemoteImageArrayOutputWithContext(ctx context.Context) RemoteImageArrayOutput

type RemoteImageBuild

type RemoteImageBuild struct {
	// The configuration for the authentication
	AuthConfigs []RemoteImageBuildAuthConfig `pulumi:"authConfigs"`
	// Set build-time variables
	BuildArg map[string]string `pulumi:"buildArg"`
	// Pairs for build-time variables in the form TODO
	BuildArgs map[string]string `pulumi:"buildArgs"`
	// BuildID is an optional identifier that can be passed together with the build request. The same identifier can be used to gracefully cancel the build with the cancel request.
	BuildId *string `pulumi:"buildId"`
	// Images to consider as cache sources
	CacheFroms []string `pulumi:"cacheFroms"`
	// Optional parent cgroup for the container
	CgroupParent *string `pulumi:"cgroupParent"`
	// Value to specify the build context. Currently, only a `PATH` context is supported. You can use the helper function '${path.cwd}/context-dir'. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.
	Context string `pulumi:"context"`
	// The length of a CPU period in microseconds
	CpuPeriod *int `pulumi:"cpuPeriod"`
	// Microseconds of CPU time that the container can get in a CPU period
	CpuQuota *int `pulumi:"cpuQuota"`
	// CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)
	CpuSetCpus *string `pulumi:"cpuSetCpus"`
	// MEMs in which to allow execution (`0-3`, `0`, `1`)
	CpuSetMems *string `pulumi:"cpuSetMems"`
	// CPU shares (relative weight)
	CpuShares *int `pulumi:"cpuShares"`
	// Name of the Dockerfile. Defaults to `Dockerfile`.
	Dockerfile *string `pulumi:"dockerfile"`
	// A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form ["hostname:IP"]
	ExtraHosts []string `pulumi:"extraHosts"`
	// Always remove intermediate containers
	ForceRemove *bool `pulumi:"forceRemove"`
	// Isolation represents the isolation technology of a container. The supported values are
	Isolation *string `pulumi:"isolation"`
	// Set metadata for an image
	Label map[string]string `pulumi:"label"`
	// User-defined key/value metadata
	Labels map[string]string `pulumi:"labels"`
	// Set memory limit for build
	Memory *int `pulumi:"memory"`
	// Total memory (memory + swap), -1 to enable unlimited swap
	MemorySwap *int `pulumi:"memorySwap"`
	// Set the networking mode for the RUN instructions during build
	NetworkMode *string `pulumi:"networkMode"`
	// Do not use the cache when building the image
	NoCache *bool `pulumi:"noCache"`
	// Set platform if server is multi-platform capable
	Platform *string `pulumi:"platform"`
	// Attempt to pull the image even if an older image exists locally
	PullParent *bool `pulumi:"pullParent"`
	// A Git repository URI or HTTP/HTTPS context URI
	RemoteContext *string `pulumi:"remoteContext"`
	// Remove intermediate containers after a successful build. Defaults to `true`.
	Remove *bool `pulumi:"remove"`
	// The security options
	SecurityOpts []string `pulumi:"securityOpts"`
	// Set an ID for the build session
	SessionId *string `pulumi:"sessionId"`
	// Size of /dev/shm in bytes. The size must be greater than 0
	ShmSize *int `pulumi:"shmSize"`
	// If true the new layers are squashed into a new image with a single new layer
	Squash *bool `pulumi:"squash"`
	// Suppress the build output and print image ID on success
	SuppressOutput *bool `pulumi:"suppressOutput"`
	// Name and optionally a tag in the 'name:tag' format
	Tags []string `pulumi:"tags"`
	// Set the target build stage to build
	Target *string `pulumi:"target"`
	// Configuration for ulimits
	Ulimits []RemoteImageBuildUlimit `pulumi:"ulimits"`
	// Version of the underlying builder to use
	Version *string `pulumi:"version"`
}

type RemoteImageBuildArgs

type RemoteImageBuildArgs struct {
	// The configuration for the authentication
	AuthConfigs RemoteImageBuildAuthConfigArrayInput `pulumi:"authConfigs"`
	// Set build-time variables
	BuildArg pulumi.StringMapInput `pulumi:"buildArg"`
	// Pairs for build-time variables in the form TODO
	BuildArgs pulumi.StringMapInput `pulumi:"buildArgs"`
	// BuildID is an optional identifier that can be passed together with the build request. The same identifier can be used to gracefully cancel the build with the cancel request.
	BuildId pulumi.StringPtrInput `pulumi:"buildId"`
	// Images to consider as cache sources
	CacheFroms pulumi.StringArrayInput `pulumi:"cacheFroms"`
	// Optional parent cgroup for the container
	CgroupParent pulumi.StringPtrInput `pulumi:"cgroupParent"`
	// Value to specify the build context. Currently, only a `PATH` context is supported. You can use the helper function '${path.cwd}/context-dir'. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.
	Context pulumi.StringInput `pulumi:"context"`
	// The length of a CPU period in microseconds
	CpuPeriod pulumi.IntPtrInput `pulumi:"cpuPeriod"`
	// Microseconds of CPU time that the container can get in a CPU period
	CpuQuota pulumi.IntPtrInput `pulumi:"cpuQuota"`
	// CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)
	CpuSetCpus pulumi.StringPtrInput `pulumi:"cpuSetCpus"`
	// MEMs in which to allow execution (`0-3`, `0`, `1`)
	CpuSetMems pulumi.StringPtrInput `pulumi:"cpuSetMems"`
	// CPU shares (relative weight)
	CpuShares pulumi.IntPtrInput `pulumi:"cpuShares"`
	// Name of the Dockerfile. Defaults to `Dockerfile`.
	Dockerfile pulumi.StringPtrInput `pulumi:"dockerfile"`
	// A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form ["hostname:IP"]
	ExtraHosts pulumi.StringArrayInput `pulumi:"extraHosts"`
	// Always remove intermediate containers
	ForceRemove pulumi.BoolPtrInput `pulumi:"forceRemove"`
	// Isolation represents the isolation technology of a container. The supported values are
	Isolation pulumi.StringPtrInput `pulumi:"isolation"`
	// Set metadata for an image
	Label pulumi.StringMapInput `pulumi:"label"`
	// User-defined key/value metadata
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// Set memory limit for build
	Memory pulumi.IntPtrInput `pulumi:"memory"`
	// Total memory (memory + swap), -1 to enable unlimited swap
	MemorySwap pulumi.IntPtrInput `pulumi:"memorySwap"`
	// Set the networking mode for the RUN instructions during build
	NetworkMode pulumi.StringPtrInput `pulumi:"networkMode"`
	// Do not use the cache when building the image
	NoCache pulumi.BoolPtrInput `pulumi:"noCache"`
	// Set platform if server is multi-platform capable
	Platform pulumi.StringPtrInput `pulumi:"platform"`
	// Attempt to pull the image even if an older image exists locally
	PullParent pulumi.BoolPtrInput `pulumi:"pullParent"`
	// A Git repository URI or HTTP/HTTPS context URI
	RemoteContext pulumi.StringPtrInput `pulumi:"remoteContext"`
	// Remove intermediate containers after a successful build. Defaults to `true`.
	Remove pulumi.BoolPtrInput `pulumi:"remove"`
	// The security options
	SecurityOpts pulumi.StringArrayInput `pulumi:"securityOpts"`
	// Set an ID for the build session
	SessionId pulumi.StringPtrInput `pulumi:"sessionId"`
	// Size of /dev/shm in bytes. The size must be greater than 0
	ShmSize pulumi.IntPtrInput `pulumi:"shmSize"`
	// If true the new layers are squashed into a new image with a single new layer
	Squash pulumi.BoolPtrInput `pulumi:"squash"`
	// Suppress the build output and print image ID on success
	SuppressOutput pulumi.BoolPtrInput `pulumi:"suppressOutput"`
	// Name and optionally a tag in the 'name:tag' format
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// Set the target build stage to build
	Target pulumi.StringPtrInput `pulumi:"target"`
	// Configuration for ulimits
	Ulimits RemoteImageBuildUlimitArrayInput `pulumi:"ulimits"`
	// Version of the underlying builder to use
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (RemoteImageBuildArgs) ElementType

func (RemoteImageBuildArgs) ElementType() reflect.Type

func (RemoteImageBuildArgs) ToRemoteImageBuildOutput

func (i RemoteImageBuildArgs) ToRemoteImageBuildOutput() RemoteImageBuildOutput

func (RemoteImageBuildArgs) ToRemoteImageBuildOutputWithContext

func (i RemoteImageBuildArgs) ToRemoteImageBuildOutputWithContext(ctx context.Context) RemoteImageBuildOutput

func (RemoteImageBuildArgs) ToRemoteImageBuildPtrOutput

func (i RemoteImageBuildArgs) ToRemoteImageBuildPtrOutput() RemoteImageBuildPtrOutput

func (RemoteImageBuildArgs) ToRemoteImageBuildPtrOutputWithContext

func (i RemoteImageBuildArgs) ToRemoteImageBuildPtrOutputWithContext(ctx context.Context) RemoteImageBuildPtrOutput

type RemoteImageBuildAuthConfig added in v4.1.0

type RemoteImageBuildAuthConfig struct {
	// the auth token
	Auth *string `pulumi:"auth"`
	// the user emal
	Email *string `pulumi:"email"`
	// hostname of the registry
	HostName string `pulumi:"hostName"`
	// the identity token
	IdentityToken *string `pulumi:"identityToken"`
	// the registry password
	Password *string `pulumi:"password"`
	// the registry token
	RegistryToken *string `pulumi:"registryToken"`
	// the server address
	ServerAddress *string `pulumi:"serverAddress"`
	// the registry user name
	UserName *string `pulumi:"userName"`
}

type RemoteImageBuildAuthConfigArgs added in v4.1.0

type RemoteImageBuildAuthConfigArgs struct {
	// the auth token
	Auth pulumi.StringPtrInput `pulumi:"auth"`
	// the user emal
	Email pulumi.StringPtrInput `pulumi:"email"`
	// hostname of the registry
	HostName pulumi.StringInput `pulumi:"hostName"`
	// the identity token
	IdentityToken pulumi.StringPtrInput `pulumi:"identityToken"`
	// the registry password
	Password pulumi.StringPtrInput `pulumi:"password"`
	// the registry token
	RegistryToken pulumi.StringPtrInput `pulumi:"registryToken"`
	// the server address
	ServerAddress pulumi.StringPtrInput `pulumi:"serverAddress"`
	// the registry user name
	UserName pulumi.StringPtrInput `pulumi:"userName"`
}

func (RemoteImageBuildAuthConfigArgs) ElementType added in v4.1.0

func (RemoteImageBuildAuthConfigArgs) ToRemoteImageBuildAuthConfigOutput added in v4.1.0

func (i RemoteImageBuildAuthConfigArgs) ToRemoteImageBuildAuthConfigOutput() RemoteImageBuildAuthConfigOutput

func (RemoteImageBuildAuthConfigArgs) ToRemoteImageBuildAuthConfigOutputWithContext added in v4.1.0

func (i RemoteImageBuildAuthConfigArgs) ToRemoteImageBuildAuthConfigOutputWithContext(ctx context.Context) RemoteImageBuildAuthConfigOutput

type RemoteImageBuildAuthConfigArray added in v4.1.0

type RemoteImageBuildAuthConfigArray []RemoteImageBuildAuthConfigInput

func (RemoteImageBuildAuthConfigArray) ElementType added in v4.1.0

func (RemoteImageBuildAuthConfigArray) ToRemoteImageBuildAuthConfigArrayOutput added in v4.1.0

func (i RemoteImageBuildAuthConfigArray) ToRemoteImageBuildAuthConfigArrayOutput() RemoteImageBuildAuthConfigArrayOutput

func (RemoteImageBuildAuthConfigArray) ToRemoteImageBuildAuthConfigArrayOutputWithContext added in v4.1.0

func (i RemoteImageBuildAuthConfigArray) ToRemoteImageBuildAuthConfigArrayOutputWithContext(ctx context.Context) RemoteImageBuildAuthConfigArrayOutput

type RemoteImageBuildAuthConfigArrayInput added in v4.1.0

type RemoteImageBuildAuthConfigArrayInput interface {
	pulumi.Input

	ToRemoteImageBuildAuthConfigArrayOutput() RemoteImageBuildAuthConfigArrayOutput
	ToRemoteImageBuildAuthConfigArrayOutputWithContext(context.Context) RemoteImageBuildAuthConfigArrayOutput
}

RemoteImageBuildAuthConfigArrayInput is an input type that accepts RemoteImageBuildAuthConfigArray and RemoteImageBuildAuthConfigArrayOutput values. You can construct a concrete instance of `RemoteImageBuildAuthConfigArrayInput` via:

RemoteImageBuildAuthConfigArray{ RemoteImageBuildAuthConfigArgs{...} }

type RemoteImageBuildAuthConfigArrayOutput added in v4.1.0

type RemoteImageBuildAuthConfigArrayOutput struct{ *pulumi.OutputState }

func (RemoteImageBuildAuthConfigArrayOutput) ElementType added in v4.1.0

func (RemoteImageBuildAuthConfigArrayOutput) Index added in v4.1.0

func (RemoteImageBuildAuthConfigArrayOutput) ToRemoteImageBuildAuthConfigArrayOutput added in v4.1.0

func (o RemoteImageBuildAuthConfigArrayOutput) ToRemoteImageBuildAuthConfigArrayOutput() RemoteImageBuildAuthConfigArrayOutput

func (RemoteImageBuildAuthConfigArrayOutput) ToRemoteImageBuildAuthConfigArrayOutputWithContext added in v4.1.0

func (o RemoteImageBuildAuthConfigArrayOutput) ToRemoteImageBuildAuthConfigArrayOutputWithContext(ctx context.Context) RemoteImageBuildAuthConfigArrayOutput

type RemoteImageBuildAuthConfigInput added in v4.1.0

type RemoteImageBuildAuthConfigInput interface {
	pulumi.Input

	ToRemoteImageBuildAuthConfigOutput() RemoteImageBuildAuthConfigOutput
	ToRemoteImageBuildAuthConfigOutputWithContext(context.Context) RemoteImageBuildAuthConfigOutput
}

RemoteImageBuildAuthConfigInput is an input type that accepts RemoteImageBuildAuthConfigArgs and RemoteImageBuildAuthConfigOutput values. You can construct a concrete instance of `RemoteImageBuildAuthConfigInput` via:

RemoteImageBuildAuthConfigArgs{...}

type RemoteImageBuildAuthConfigOutput added in v4.1.0

type RemoteImageBuildAuthConfigOutput struct{ *pulumi.OutputState }

func (RemoteImageBuildAuthConfigOutput) Auth added in v4.1.0

the auth token

func (RemoteImageBuildAuthConfigOutput) ElementType added in v4.1.0

func (RemoteImageBuildAuthConfigOutput) Email added in v4.1.0

the user emal

func (RemoteImageBuildAuthConfigOutput) HostName added in v4.1.0

hostname of the registry

func (RemoteImageBuildAuthConfigOutput) IdentityToken added in v4.1.0

the identity token

func (RemoteImageBuildAuthConfigOutput) Password added in v4.1.0

the registry password

func (RemoteImageBuildAuthConfigOutput) RegistryToken added in v4.1.0

the registry token

func (RemoteImageBuildAuthConfigOutput) ServerAddress added in v4.1.0

the server address

func (RemoteImageBuildAuthConfigOutput) ToRemoteImageBuildAuthConfigOutput added in v4.1.0

func (o RemoteImageBuildAuthConfigOutput) ToRemoteImageBuildAuthConfigOutput() RemoteImageBuildAuthConfigOutput

func (RemoteImageBuildAuthConfigOutput) ToRemoteImageBuildAuthConfigOutputWithContext added in v4.1.0

func (o RemoteImageBuildAuthConfigOutput) ToRemoteImageBuildAuthConfigOutputWithContext(ctx context.Context) RemoteImageBuildAuthConfigOutput

func (RemoteImageBuildAuthConfigOutput) UserName added in v4.1.0

the registry user name

type RemoteImageBuildInput

type RemoteImageBuildInput interface {
	pulumi.Input

	ToRemoteImageBuildOutput() RemoteImageBuildOutput
	ToRemoteImageBuildOutputWithContext(context.Context) RemoteImageBuildOutput
}

RemoteImageBuildInput is an input type that accepts RemoteImageBuildArgs and RemoteImageBuildOutput values. You can construct a concrete instance of `RemoteImageBuildInput` via:

RemoteImageBuildArgs{...}

type RemoteImageBuildOutput

type RemoteImageBuildOutput struct{ *pulumi.OutputState }

func (RemoteImageBuildOutput) AuthConfigs added in v4.1.0

The configuration for the authentication

func (RemoteImageBuildOutput) BuildArg

Set build-time variables

func (RemoteImageBuildOutput) BuildArgs added in v4.1.0

Pairs for build-time variables in the form TODO

func (RemoteImageBuildOutput) BuildId added in v4.1.0

BuildID is an optional identifier that can be passed together with the build request. The same identifier can be used to gracefully cancel the build with the cancel request.

func (RemoteImageBuildOutput) CacheFroms added in v4.1.0

Images to consider as cache sources

func (RemoteImageBuildOutput) CgroupParent added in v4.1.0

Optional parent cgroup for the container

func (RemoteImageBuildOutput) Context added in v4.1.0

Value to specify the build context. Currently, only a `PATH` context is supported. You can use the helper function '${path.cwd}/context-dir'. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.

func (RemoteImageBuildOutput) CpuPeriod added in v4.1.0

The length of a CPU period in microseconds

func (RemoteImageBuildOutput) CpuQuota added in v4.1.0

Microseconds of CPU time that the container can get in a CPU period

func (RemoteImageBuildOutput) CpuSetCpus added in v4.1.0

CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)

func (RemoteImageBuildOutput) CpuSetMems added in v4.1.0

MEMs in which to allow execution (`0-3`, `0`, `1`)

func (RemoteImageBuildOutput) CpuShares added in v4.1.0

CPU shares (relative weight)

func (RemoteImageBuildOutput) Dockerfile

Name of the Dockerfile. Defaults to `Dockerfile`.

func (RemoteImageBuildOutput) ElementType

func (RemoteImageBuildOutput) ElementType() reflect.Type

func (RemoteImageBuildOutput) ExtraHosts added in v4.1.0

A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form ["hostname:IP"]

func (RemoteImageBuildOutput) ForceRemove

Always remove intermediate containers

func (RemoteImageBuildOutput) Isolation added in v4.1.0

Isolation represents the isolation technology of a container. The supported values are

func (RemoteImageBuildOutput) Label

Set metadata for an image

func (RemoteImageBuildOutput) Labels added in v4.1.0

User-defined key/value metadata

func (RemoteImageBuildOutput) Memory added in v4.1.0

Set memory limit for build

func (RemoteImageBuildOutput) MemorySwap added in v4.1.0

Total memory (memory + swap), -1 to enable unlimited swap

func (RemoteImageBuildOutput) NetworkMode added in v4.1.0

Set the networking mode for the RUN instructions during build

func (RemoteImageBuildOutput) NoCache

Do not use the cache when building the image

func (RemoteImageBuildOutput) Platform added in v4.1.0

Set platform if server is multi-platform capable

func (RemoteImageBuildOutput) PullParent added in v4.1.0

Attempt to pull the image even if an older image exists locally

func (RemoteImageBuildOutput) RemoteContext added in v4.1.0

func (o RemoteImageBuildOutput) RemoteContext() pulumi.StringPtrOutput

A Git repository URI or HTTP/HTTPS context URI

func (RemoteImageBuildOutput) Remove

Remove intermediate containers after a successful build. Defaults to `true`.

func (RemoteImageBuildOutput) SecurityOpts added in v4.1.0

The security options

func (RemoteImageBuildOutput) SessionId added in v4.1.0

Set an ID for the build session

func (RemoteImageBuildOutput) ShmSize added in v4.1.0

Size of /dev/shm in bytes. The size must be greater than 0

func (RemoteImageBuildOutput) Squash added in v4.1.0

If true the new layers are squashed into a new image with a single new layer

func (RemoteImageBuildOutput) SuppressOutput added in v4.1.0

func (o RemoteImageBuildOutput) SuppressOutput() pulumi.BoolPtrOutput

Suppress the build output and print image ID on success

func (RemoteImageBuildOutput) Tags

Name and optionally a tag in the 'name:tag' format

func (RemoteImageBuildOutput) Target

Set the target build stage to build

func (RemoteImageBuildOutput) ToRemoteImageBuildOutput

func (o RemoteImageBuildOutput) ToRemoteImageBuildOutput() RemoteImageBuildOutput

func (RemoteImageBuildOutput) ToRemoteImageBuildOutputWithContext

func (o RemoteImageBuildOutput) ToRemoteImageBuildOutputWithContext(ctx context.Context) RemoteImageBuildOutput

func (RemoteImageBuildOutput) ToRemoteImageBuildPtrOutput

func (o RemoteImageBuildOutput) ToRemoteImageBuildPtrOutput() RemoteImageBuildPtrOutput

func (RemoteImageBuildOutput) ToRemoteImageBuildPtrOutputWithContext

func (o RemoteImageBuildOutput) ToRemoteImageBuildPtrOutputWithContext(ctx context.Context) RemoteImageBuildPtrOutput

func (RemoteImageBuildOutput) Ulimits added in v4.1.0

Configuration for ulimits

func (RemoteImageBuildOutput) Version added in v4.1.0

Version of the underlying builder to use

type RemoteImageBuildPtrInput

type RemoteImageBuildPtrInput interface {
	pulumi.Input

	ToRemoteImageBuildPtrOutput() RemoteImageBuildPtrOutput
	ToRemoteImageBuildPtrOutputWithContext(context.Context) RemoteImageBuildPtrOutput
}

RemoteImageBuildPtrInput is an input type that accepts RemoteImageBuildArgs, RemoteImageBuildPtr and RemoteImageBuildPtrOutput values. You can construct a concrete instance of `RemoteImageBuildPtrInput` via:

        RemoteImageBuildArgs{...}

or:

        nil

type RemoteImageBuildPtrOutput

type RemoteImageBuildPtrOutput struct{ *pulumi.OutputState }

func (RemoteImageBuildPtrOutput) AuthConfigs added in v4.1.0

The configuration for the authentication

func (RemoteImageBuildPtrOutput) BuildArg

Set build-time variables

func (RemoteImageBuildPtrOutput) BuildArgs added in v4.1.0

Pairs for build-time variables in the form TODO

func (RemoteImageBuildPtrOutput) BuildId added in v4.1.0

BuildID is an optional identifier that can be passed together with the build request. The same identifier can be used to gracefully cancel the build with the cancel request.

func (RemoteImageBuildPtrOutput) CacheFroms added in v4.1.0

Images to consider as cache sources

func (RemoteImageBuildPtrOutput) CgroupParent added in v4.1.0

Optional parent cgroup for the container

func (RemoteImageBuildPtrOutput) Context added in v4.1.0

Value to specify the build context. Currently, only a `PATH` context is supported. You can use the helper function '${path.cwd}/context-dir'. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.

func (RemoteImageBuildPtrOutput) CpuPeriod added in v4.1.0

The length of a CPU period in microseconds

func (RemoteImageBuildPtrOutput) CpuQuota added in v4.1.0

Microseconds of CPU time that the container can get in a CPU period

func (RemoteImageBuildPtrOutput) CpuSetCpus added in v4.1.0

CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)

func (RemoteImageBuildPtrOutput) CpuSetMems added in v4.1.0

MEMs in which to allow execution (`0-3`, `0`, `1`)

func (RemoteImageBuildPtrOutput) CpuShares added in v4.1.0

CPU shares (relative weight)

func (RemoteImageBuildPtrOutput) Dockerfile

Name of the Dockerfile. Defaults to `Dockerfile`.

func (RemoteImageBuildPtrOutput) Elem

func (RemoteImageBuildPtrOutput) ElementType

func (RemoteImageBuildPtrOutput) ElementType() reflect.Type

func (RemoteImageBuildPtrOutput) ExtraHosts added in v4.1.0

A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form ["hostname:IP"]

func (RemoteImageBuildPtrOutput) ForceRemove

Always remove intermediate containers

func (RemoteImageBuildPtrOutput) Isolation added in v4.1.0

Isolation represents the isolation technology of a container. The supported values are

func (RemoteImageBuildPtrOutput) Label

Set metadata for an image

func (RemoteImageBuildPtrOutput) Labels added in v4.1.0

User-defined key/value metadata

func (RemoteImageBuildPtrOutput) Memory added in v4.1.0

Set memory limit for build

func (RemoteImageBuildPtrOutput) MemorySwap added in v4.1.0

Total memory (memory + swap), -1 to enable unlimited swap

func (RemoteImageBuildPtrOutput) NetworkMode added in v4.1.0

Set the networking mode for the RUN instructions during build

func (RemoteImageBuildPtrOutput) NoCache

Do not use the cache when building the image

func (RemoteImageBuildPtrOutput) Platform added in v4.1.0

Set platform if server is multi-platform capable

func (RemoteImageBuildPtrOutput) PullParent added in v4.1.0

Attempt to pull the image even if an older image exists locally

func (RemoteImageBuildPtrOutput) RemoteContext added in v4.1.0

A Git repository URI or HTTP/HTTPS context URI

func (RemoteImageBuildPtrOutput) Remove

Remove intermediate containers after a successful build. Defaults to `true`.

func (RemoteImageBuildPtrOutput) SecurityOpts added in v4.1.0

The security options

func (RemoteImageBuildPtrOutput) SessionId added in v4.1.0

Set an ID for the build session

func (RemoteImageBuildPtrOutput) ShmSize added in v4.1.0

Size of /dev/shm in bytes. The size must be greater than 0

func (RemoteImageBuildPtrOutput) Squash added in v4.1.0

If true the new layers are squashed into a new image with a single new layer

func (RemoteImageBuildPtrOutput) SuppressOutput added in v4.1.0

func (o RemoteImageBuildPtrOutput) SuppressOutput() pulumi.BoolPtrOutput

Suppress the build output and print image ID on success

func (RemoteImageBuildPtrOutput) Tags

Name and optionally a tag in the 'name:tag' format

func (RemoteImageBuildPtrOutput) Target

Set the target build stage to build

func (RemoteImageBuildPtrOutput) ToRemoteImageBuildPtrOutput

func (o RemoteImageBuildPtrOutput) ToRemoteImageBuildPtrOutput() RemoteImageBuildPtrOutput

func (RemoteImageBuildPtrOutput) ToRemoteImageBuildPtrOutputWithContext

func (o RemoteImageBuildPtrOutput) ToRemoteImageBuildPtrOutputWithContext(ctx context.Context) RemoteImageBuildPtrOutput

func (RemoteImageBuildPtrOutput) Ulimits added in v4.1.0

Configuration for ulimits

func (RemoteImageBuildPtrOutput) Version added in v4.1.0

Version of the underlying builder to use

type RemoteImageBuildUlimit added in v4.1.0

type RemoteImageBuildUlimit struct {
	// soft limit
	Hard int `pulumi:"hard"`
	// type of ulimit, e.g. `nofile`
	Name string `pulumi:"name"`
	// hard limit
	Soft int `pulumi:"soft"`
}

type RemoteImageBuildUlimitArgs added in v4.1.0

type RemoteImageBuildUlimitArgs struct {
	// soft limit
	Hard pulumi.IntInput `pulumi:"hard"`
	// type of ulimit, e.g. `nofile`
	Name pulumi.StringInput `pulumi:"name"`
	// hard limit
	Soft pulumi.IntInput `pulumi:"soft"`
}

func (RemoteImageBuildUlimitArgs) ElementType added in v4.1.0

func (RemoteImageBuildUlimitArgs) ElementType() reflect.Type

func (RemoteImageBuildUlimitArgs) ToRemoteImageBuildUlimitOutput added in v4.1.0

func (i RemoteImageBuildUlimitArgs) ToRemoteImageBuildUlimitOutput() RemoteImageBuildUlimitOutput

func (RemoteImageBuildUlimitArgs) ToRemoteImageBuildUlimitOutputWithContext added in v4.1.0

func (i RemoteImageBuildUlimitArgs) ToRemoteImageBuildUlimitOutputWithContext(ctx context.Context) RemoteImageBuildUlimitOutput

type RemoteImageBuildUlimitArray added in v4.1.0

type RemoteImageBuildUlimitArray []RemoteImageBuildUlimitInput

func (RemoteImageBuildUlimitArray) ElementType added in v4.1.0

func (RemoteImageBuildUlimitArray) ToRemoteImageBuildUlimitArrayOutput added in v4.1.0

func (i RemoteImageBuildUlimitArray) ToRemoteImageBuildUlimitArrayOutput() RemoteImageBuildUlimitArrayOutput

func (RemoteImageBuildUlimitArray) ToRemoteImageBuildUlimitArrayOutputWithContext added in v4.1.0

func (i RemoteImageBuildUlimitArray) ToRemoteImageBuildUlimitArrayOutputWithContext(ctx context.Context) RemoteImageBuildUlimitArrayOutput

type RemoteImageBuildUlimitArrayInput added in v4.1.0

type RemoteImageBuildUlimitArrayInput interface {
	pulumi.Input

	ToRemoteImageBuildUlimitArrayOutput() RemoteImageBuildUlimitArrayOutput
	ToRemoteImageBuildUlimitArrayOutputWithContext(context.Context) RemoteImageBuildUlimitArrayOutput
}

RemoteImageBuildUlimitArrayInput is an input type that accepts RemoteImageBuildUlimitArray and RemoteImageBuildUlimitArrayOutput values. You can construct a concrete instance of `RemoteImageBuildUlimitArrayInput` via:

RemoteImageBuildUlimitArray{ RemoteImageBuildUlimitArgs{...} }

type RemoteImageBuildUlimitArrayOutput added in v4.1.0

type RemoteImageBuildUlimitArrayOutput struct{ *pulumi.OutputState }

func (RemoteImageBuildUlimitArrayOutput) ElementType added in v4.1.0

func (RemoteImageBuildUlimitArrayOutput) Index added in v4.1.0

func (RemoteImageBuildUlimitArrayOutput) ToRemoteImageBuildUlimitArrayOutput added in v4.1.0

func (o RemoteImageBuildUlimitArrayOutput) ToRemoteImageBuildUlimitArrayOutput() RemoteImageBuildUlimitArrayOutput

func (RemoteImageBuildUlimitArrayOutput) ToRemoteImageBuildUlimitArrayOutputWithContext added in v4.1.0

func (o RemoteImageBuildUlimitArrayOutput) ToRemoteImageBuildUlimitArrayOutputWithContext(ctx context.Context) RemoteImageBuildUlimitArrayOutput

type RemoteImageBuildUlimitInput added in v4.1.0

type RemoteImageBuildUlimitInput interface {
	pulumi.Input

	ToRemoteImageBuildUlimitOutput() RemoteImageBuildUlimitOutput
	ToRemoteImageBuildUlimitOutputWithContext(context.Context) RemoteImageBuildUlimitOutput
}

RemoteImageBuildUlimitInput is an input type that accepts RemoteImageBuildUlimitArgs and RemoteImageBuildUlimitOutput values. You can construct a concrete instance of `RemoteImageBuildUlimitInput` via:

RemoteImageBuildUlimitArgs{...}

type RemoteImageBuildUlimitOutput added in v4.1.0

type RemoteImageBuildUlimitOutput struct{ *pulumi.OutputState }

func (RemoteImageBuildUlimitOutput) ElementType added in v4.1.0

func (RemoteImageBuildUlimitOutput) Hard added in v4.1.0

soft limit

func (RemoteImageBuildUlimitOutput) Name added in v4.1.0

type of ulimit, e.g. `nofile`

func (RemoteImageBuildUlimitOutput) Soft added in v4.1.0

hard limit

func (RemoteImageBuildUlimitOutput) ToRemoteImageBuildUlimitOutput added in v4.1.0

func (o RemoteImageBuildUlimitOutput) ToRemoteImageBuildUlimitOutput() RemoteImageBuildUlimitOutput

func (RemoteImageBuildUlimitOutput) ToRemoteImageBuildUlimitOutputWithContext added in v4.1.0

func (o RemoteImageBuildUlimitOutput) ToRemoteImageBuildUlimitOutputWithContext(ctx context.Context) RemoteImageBuildUlimitOutput

type RemoteImageInput

type RemoteImageInput interface {
	pulumi.Input

	ToRemoteImageOutput() RemoteImageOutput
	ToRemoteImageOutputWithContext(ctx context.Context) RemoteImageOutput
}

type RemoteImageMap

type RemoteImageMap map[string]RemoteImageInput

func (RemoteImageMap) ElementType

func (RemoteImageMap) ElementType() reflect.Type

func (RemoteImageMap) ToRemoteImageMapOutput

func (i RemoteImageMap) ToRemoteImageMapOutput() RemoteImageMapOutput

func (RemoteImageMap) ToRemoteImageMapOutputWithContext

func (i RemoteImageMap) ToRemoteImageMapOutputWithContext(ctx context.Context) RemoteImageMapOutput

type RemoteImageMapInput

type RemoteImageMapInput interface {
	pulumi.Input

	ToRemoteImageMapOutput() RemoteImageMapOutput
	ToRemoteImageMapOutputWithContext(context.Context) RemoteImageMapOutput
}

RemoteImageMapInput is an input type that accepts RemoteImageMap and RemoteImageMapOutput values. You can construct a concrete instance of `RemoteImageMapInput` via:

RemoteImageMap{ "key": RemoteImageArgs{...} }

type RemoteImageMapOutput

type RemoteImageMapOutput struct{ *pulumi.OutputState }

func (RemoteImageMapOutput) ElementType

func (RemoteImageMapOutput) ElementType() reflect.Type

func (RemoteImageMapOutput) MapIndex

func (RemoteImageMapOutput) ToRemoteImageMapOutput

func (o RemoteImageMapOutput) ToRemoteImageMapOutput() RemoteImageMapOutput

func (RemoteImageMapOutput) ToRemoteImageMapOutputWithContext

func (o RemoteImageMapOutput) ToRemoteImageMapOutputWithContext(ctx context.Context) RemoteImageMapOutput

type RemoteImageOutput

type RemoteImageOutput struct{ *pulumi.OutputState }

func (RemoteImageOutput) Build

Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.

func (RemoteImageOutput) ElementType

func (RemoteImageOutput) ElementType() reflect.Type

func (RemoteImageOutput) ForceRemove

func (o RemoteImageOutput) ForceRemove() pulumi.BoolPtrOutput

Always remove intermediate containers

func (RemoteImageOutput) ImageId

The ID of the image (as seen when executing `docker inspect` on the image). Can be used to reference the image via its ID in other resources.

func (RemoteImageOutput) KeepLocally

func (o RemoteImageOutput) KeepLocally() pulumi.BoolPtrOutput

If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.

func (RemoteImageOutput) Name

type of ulimit, e.g. `nofile`

func (RemoteImageOutput) Platform added in v4.1.0

Set platform if server is multi-platform capable

func (RemoteImageOutput) PullTriggers

func (o RemoteImageOutput) PullTriggers() pulumi.StringArrayOutput

List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker*registry*image.

func (RemoteImageOutput) RepoDigest

func (o RemoteImageOutput) RepoDigest() pulumi.StringOutput

The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.

func (RemoteImageOutput) ToRemoteImageOutput

func (o RemoteImageOutput) ToRemoteImageOutput() RemoteImageOutput

func (RemoteImageOutput) ToRemoteImageOutputWithContext

func (o RemoteImageOutput) ToRemoteImageOutputWithContext(ctx context.Context) RemoteImageOutput

func (RemoteImageOutput) Triggers

func (o RemoteImageOutput) Triggers() pulumi.MapOutput

A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change

type RemoteImageState

type RemoteImageState struct {
	// Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.
	Build RemoteImageBuildPtrInput
	// Always remove intermediate containers
	ForceRemove pulumi.BoolPtrInput
	// The ID of the image (as seen when executing `docker inspect` on the image). Can be used to reference the image via its ID in other resources.
	ImageId pulumi.StringPtrInput
	// If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.
	KeepLocally pulumi.BoolPtrInput
	// type of ulimit, e.g. `nofile`
	Name pulumi.StringPtrInput
	// Set platform if server is multi-platform capable
	Platform pulumi.StringPtrInput
	// List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker*registry*image.
	PullTriggers pulumi.StringArrayInput
	// The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.
	RepoDigest pulumi.StringPtrInput
	// A map of arbitrary strings that, when changed, will force the `RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
	Triggers pulumi.MapInput
}

func (RemoteImageState) ElementType

func (RemoteImageState) ElementType() reflect.Type

type Secret

type Secret struct {
	pulumi.CustomResourceState

	// Base64-url-safe-encoded secret data
	Data pulumi.StringOutput `pulumi:"data"`
	// User-defined key/value metadata
	Labels SecretLabelArrayOutput `pulumi:"labels"`
	// User-defined name of the secret
	Name pulumi.StringOutput `pulumi:"name"`
}

## Import

#!/bin/bash

Docker secret cannot be imported as the secret data, once set, is never exposed again.

func GetSecret

func GetSecret(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecretState, opts ...pulumi.ResourceOption) (*Secret, error)

GetSecret gets an existing Secret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSecret

func NewSecret(ctx *pulumi.Context,
	name string, args *SecretArgs, opts ...pulumi.ResourceOption) (*Secret, error)

NewSecret registers a new resource with the given unique name, arguments, and options.

func (*Secret) ElementType

func (*Secret) ElementType() reflect.Type

func (*Secret) ToSecretOutput

func (i *Secret) ToSecretOutput() SecretOutput

func (*Secret) ToSecretOutputWithContext

func (i *Secret) ToSecretOutputWithContext(ctx context.Context) SecretOutput

type SecretArgs

type SecretArgs struct {
	// Base64-url-safe-encoded secret data
	Data pulumi.StringInput
	// User-defined key/value metadata
	Labels SecretLabelArrayInput
	// User-defined name of the secret
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Secret resource.

func (SecretArgs) ElementType

func (SecretArgs) ElementType() reflect.Type

type SecretArray

type SecretArray []SecretInput

func (SecretArray) ElementType

func (SecretArray) ElementType() reflect.Type

func (SecretArray) ToSecretArrayOutput

func (i SecretArray) ToSecretArrayOutput() SecretArrayOutput

func (SecretArray) ToSecretArrayOutputWithContext

func (i SecretArray) ToSecretArrayOutputWithContext(ctx context.Context) SecretArrayOutput

type SecretArrayInput

type SecretArrayInput interface {
	pulumi.Input

	ToSecretArrayOutput() SecretArrayOutput
	ToSecretArrayOutputWithContext(context.Context) SecretArrayOutput
}

SecretArrayInput is an input type that accepts SecretArray and SecretArrayOutput values. You can construct a concrete instance of `SecretArrayInput` via:

SecretArray{ SecretArgs{...} }

type SecretArrayOutput

type SecretArrayOutput struct{ *pulumi.OutputState }

func (SecretArrayOutput) ElementType

func (SecretArrayOutput) ElementType() reflect.Type

func (SecretArrayOutput) Index

func (SecretArrayOutput) ToSecretArrayOutput

func (o SecretArrayOutput) ToSecretArrayOutput() SecretArrayOutput

func (SecretArrayOutput) ToSecretArrayOutputWithContext

func (o SecretArrayOutput) ToSecretArrayOutputWithContext(ctx context.Context) SecretArrayOutput

type SecretInput

type SecretInput interface {
	pulumi.Input

	ToSecretOutput() SecretOutput
	ToSecretOutputWithContext(ctx context.Context) SecretOutput
}

type SecretLabel

type SecretLabel struct {
	// Name of the label
	Label string `pulumi:"label"`
	// Value of the label
	Value string `pulumi:"value"`
}

type SecretLabelArgs

type SecretLabelArgs struct {
	// Name of the label
	Label pulumi.StringInput `pulumi:"label"`
	// Value of the label
	Value pulumi.StringInput `pulumi:"value"`
}

func (SecretLabelArgs) ElementType

func (SecretLabelArgs) ElementType() reflect.Type

func (SecretLabelArgs) ToSecretLabelOutput

func (i SecretLabelArgs) ToSecretLabelOutput() SecretLabelOutput

func (SecretLabelArgs) ToSecretLabelOutputWithContext

func (i SecretLabelArgs) ToSecretLabelOutputWithContext(ctx context.Context) SecretLabelOutput

type SecretLabelArray

type SecretLabelArray []SecretLabelInput

func (SecretLabelArray) ElementType

func (SecretLabelArray) ElementType() reflect.Type

func (SecretLabelArray) ToSecretLabelArrayOutput

func (i SecretLabelArray) ToSecretLabelArrayOutput() SecretLabelArrayOutput

func (SecretLabelArray) ToSecretLabelArrayOutputWithContext

func (i SecretLabelArray) ToSecretLabelArrayOutputWithContext(ctx context.Context) SecretLabelArrayOutput

type SecretLabelArrayInput

type SecretLabelArrayInput interface {
	pulumi.Input

	ToSecretLabelArrayOutput() SecretLabelArrayOutput
	ToSecretLabelArrayOutputWithContext(context.Context) SecretLabelArrayOutput
}

SecretLabelArrayInput is an input type that accepts SecretLabelArray and SecretLabelArrayOutput values. You can construct a concrete instance of `SecretLabelArrayInput` via:

SecretLabelArray{ SecretLabelArgs{...} }

type SecretLabelArrayOutput

type SecretLabelArrayOutput struct{ *pulumi.OutputState }

func (SecretLabelArrayOutput) ElementType

func (SecretLabelArrayOutput) ElementType() reflect.Type

func (SecretLabelArrayOutput) Index

func (SecretLabelArrayOutput) ToSecretLabelArrayOutput

func (o SecretLabelArrayOutput) ToSecretLabelArrayOutput() SecretLabelArrayOutput

func (SecretLabelArrayOutput) ToSecretLabelArrayOutputWithContext

func (o SecretLabelArrayOutput) ToSecretLabelArrayOutputWithContext(ctx context.Context) SecretLabelArrayOutput

type SecretLabelInput

type SecretLabelInput interface {
	pulumi.Input

	ToSecretLabelOutput() SecretLabelOutput
	ToSecretLabelOutputWithContext(context.Context) SecretLabelOutput
}

SecretLabelInput is an input type that accepts SecretLabelArgs and SecretLabelOutput values. You can construct a concrete instance of `SecretLabelInput` via:

SecretLabelArgs{...}

type SecretLabelOutput

type SecretLabelOutput struct{ *pulumi.OutputState }

func (SecretLabelOutput) ElementType

func (SecretLabelOutput) ElementType() reflect.Type

func (SecretLabelOutput) Label

Name of the label

func (SecretLabelOutput) ToSecretLabelOutput

func (o SecretLabelOutput) ToSecretLabelOutput() SecretLabelOutput

func (SecretLabelOutput) ToSecretLabelOutputWithContext

func (o SecretLabelOutput) ToSecretLabelOutputWithContext(ctx context.Context) SecretLabelOutput

func (SecretLabelOutput) Value

Value of the label

type SecretMap

type SecretMap map[string]SecretInput

func (SecretMap) ElementType

func (SecretMap) ElementType() reflect.Type

func (SecretMap) ToSecretMapOutput

func (i SecretMap) ToSecretMapOutput() SecretMapOutput

func (SecretMap) ToSecretMapOutputWithContext

func (i SecretMap) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOutput

type SecretMapInput

type SecretMapInput interface {
	pulumi.Input

	ToSecretMapOutput() SecretMapOutput
	ToSecretMapOutputWithContext(context.Context) SecretMapOutput
}

SecretMapInput is an input type that accepts SecretMap and SecretMapOutput values. You can construct a concrete instance of `SecretMapInput` via:

SecretMap{ "key": SecretArgs{...} }

type SecretMapOutput

type SecretMapOutput struct{ *pulumi.OutputState }

func (SecretMapOutput) ElementType

func (SecretMapOutput) ElementType() reflect.Type

func (SecretMapOutput) MapIndex

func (SecretMapOutput) ToSecretMapOutput

func (o SecretMapOutput) ToSecretMapOutput() SecretMapOutput

func (SecretMapOutput) ToSecretMapOutputWithContext

func (o SecretMapOutput) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOutput

type SecretOutput

type SecretOutput struct{ *pulumi.OutputState }

func (SecretOutput) Data

func (o SecretOutput) Data() pulumi.StringOutput

Base64-url-safe-encoded secret data

func (SecretOutput) ElementType

func (SecretOutput) ElementType() reflect.Type

func (SecretOutput) Labels

User-defined key/value metadata

func (SecretOutput) Name

func (o SecretOutput) Name() pulumi.StringOutput

User-defined name of the secret

func (SecretOutput) ToSecretOutput

func (o SecretOutput) ToSecretOutput() SecretOutput

func (SecretOutput) ToSecretOutputWithContext

func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutput

type SecretState

type SecretState struct {
	// Base64-url-safe-encoded secret data
	Data pulumi.StringPtrInput
	// User-defined key/value metadata
	Labels SecretLabelArrayInput
	// User-defined name of the secret
	Name pulumi.StringPtrInput
}

func (SecretState) ElementType

func (SecretState) ElementType() reflect.Type

type Service

type Service struct {
	pulumi.CustomResourceState

	// Configuration for the authentication for pulling the images of the service
	Auth ServiceAuthPtrOutput `pulumi:"auth"`
	// A configuration to ensure that a service converges aka reaches the desired that of all task up and running
	ConvergeConfig ServiceConvergeConfigPtrOutput `pulumi:"convergeConfig"`
	// Properties that can be configured to access and load balance a service
	EndpointSpec ServiceEndpointSpecOutput `pulumi:"endpointSpec"`
	// User-defined key/value metadata
	Labels ServiceLabelArrayOutput `pulumi:"labels"`
	// Scheduling mode for the service
	Mode ServiceModeOutput `pulumi:"mode"`
	// Name of the service
	Name pulumi.StringOutput `pulumi:"name"`
	// Specification for the rollback strategy of the service
	RollbackConfig ServiceRollbackConfigPtrOutput `pulumi:"rollbackConfig"`
	// User modifiable task configuration
	TaskSpec ServiceTaskSpecOutput `pulumi:"taskSpec"`
	// Specification for the update strategy of the service
	UpdateConfig ServiceUpdateConfigPtrOutput `pulumi:"updateConfig"`
}

<!-- Bug: Type and Name are switched --> This resource manages the lifecycle of a Docker service. By default, the creation, update and delete of services are detached.

With the Converge Config Name of the service

- `taskSpec` (Block List, Min: 1, Max: 1) User modifiable task configuration (see below for nested schema)

## Import

### Example

Assuming you created a `service` as follows

#!/bin/bash

docker service create --name foo -p 8080:80 nginx

prints th ID

4pcphbxkfn2rffhbhe6czytgi

you provide the definition for the resource as follows

terraform

resource "docker_service" "foo" {

name = "foo"

task_spec {

  container_spec {

    image = "nginx"

  }

}

endpoint_spec {

  ports {

    target_port    = "80"

    published_port = "8080"

  }

}

}

then the import command is as follows

#!/bin/bash

```sh $ pulumi import docker:index/service:Service foo 4pcphbxkfn2rffhbhe6czytgi ```

func GetService

func GetService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)

GetService gets an existing Service resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewService

func NewService(ctx *pulumi.Context,
	name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)

NewService registers a new resource with the given unique name, arguments, and options.

func (*Service) ElementType

func (*Service) ElementType() reflect.Type

func (*Service) ToServiceOutput

func (i *Service) ToServiceOutput() ServiceOutput

func (*Service) ToServiceOutputWithContext

func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

type ServiceArgs

type ServiceArgs struct {
	// Configuration for the authentication for pulling the images of the service
	Auth ServiceAuthPtrInput
	// A configuration to ensure that a service converges aka reaches the desired that of all task up and running
	ConvergeConfig ServiceConvergeConfigPtrInput
	// Properties that can be configured to access and load balance a service
	EndpointSpec ServiceEndpointSpecPtrInput
	// User-defined key/value metadata
	Labels ServiceLabelArrayInput
	// Scheduling mode for the service
	Mode ServiceModePtrInput
	// Name of the service
	Name pulumi.StringPtrInput
	// Specification for the rollback strategy of the service
	RollbackConfig ServiceRollbackConfigPtrInput
	// User modifiable task configuration
	TaskSpec ServiceTaskSpecInput
	// Specification for the update strategy of the service
	UpdateConfig ServiceUpdateConfigPtrInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType

func (ServiceArgs) ElementType() reflect.Type

type ServiceArray

type ServiceArray []ServiceInput

func (ServiceArray) ElementType

func (ServiceArray) ElementType() reflect.Type

func (ServiceArray) ToServiceArrayOutput

func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArray) ToServiceArrayOutputWithContext

func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceArrayInput

type ServiceArrayInput interface {
	pulumi.Input

	ToServiceArrayOutput() ServiceArrayOutput
	ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput
}

ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:

ServiceArray{ ServiceArgs{...} }

type ServiceArrayOutput

type ServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceArrayOutput) ElementType

func (ServiceArrayOutput) ElementType() reflect.Type

func (ServiceArrayOutput) Index

func (ServiceArrayOutput) ToServiceArrayOutput

func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArrayOutput) ToServiceArrayOutputWithContext

func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceAuth

type ServiceAuth struct {
	// The password
	Password *string `pulumi:"password"`
	// The address of the server for the authentication
	ServerAddress string `pulumi:"serverAddress"`
	// The username
	Username *string `pulumi:"username"`
}

type ServiceAuthArgs

type ServiceAuthArgs struct {
	// The password
	Password pulumi.StringPtrInput `pulumi:"password"`
	// The address of the server for the authentication
	ServerAddress pulumi.StringInput `pulumi:"serverAddress"`
	// The username
	Username pulumi.StringPtrInput `pulumi:"username"`
}

func (ServiceAuthArgs) ElementType

func (ServiceAuthArgs) ElementType() reflect.Type

func (ServiceAuthArgs) ToServiceAuthOutput

func (i ServiceAuthArgs) ToServiceAuthOutput() ServiceAuthOutput

func (ServiceAuthArgs) ToServiceAuthOutputWithContext

func (i ServiceAuthArgs) ToServiceAuthOutputWithContext(ctx context.Context) ServiceAuthOutput

func (ServiceAuthArgs) ToServiceAuthPtrOutput

func (i ServiceAuthArgs) ToServiceAuthPtrOutput() ServiceAuthPtrOutput

func (ServiceAuthArgs) ToServiceAuthPtrOutputWithContext

func (i ServiceAuthArgs) ToServiceAuthPtrOutputWithContext(ctx context.Context) ServiceAuthPtrOutput

type ServiceAuthInput

type ServiceAuthInput interface {
	pulumi.Input

	ToServiceAuthOutput() ServiceAuthOutput
	ToServiceAuthOutputWithContext(context.Context) ServiceAuthOutput
}

ServiceAuthInput is an input type that accepts ServiceAuthArgs and ServiceAuthOutput values. You can construct a concrete instance of `ServiceAuthInput` via:

ServiceAuthArgs{...}

type ServiceAuthOutput

type ServiceAuthOutput struct{ *pulumi.OutputState }

func (ServiceAuthOutput) ElementType

func (ServiceAuthOutput) ElementType() reflect.Type

func (ServiceAuthOutput) Password

The password

func (ServiceAuthOutput) ServerAddress

func (o ServiceAuthOutput) ServerAddress() pulumi.StringOutput

The address of the server for the authentication

func (ServiceAuthOutput) ToServiceAuthOutput

func (o ServiceAuthOutput) ToServiceAuthOutput() ServiceAuthOutput

func (ServiceAuthOutput) ToServiceAuthOutputWithContext

func (o ServiceAuthOutput) ToServiceAuthOutputWithContext(ctx context.Context) ServiceAuthOutput

func (ServiceAuthOutput) ToServiceAuthPtrOutput

func (o ServiceAuthOutput) ToServiceAuthPtrOutput() ServiceAuthPtrOutput

func (ServiceAuthOutput) ToServiceAuthPtrOutputWithContext

func (o ServiceAuthOutput) ToServiceAuthPtrOutputWithContext(ctx context.Context) ServiceAuthPtrOutput

func (ServiceAuthOutput) Username

The username

type ServiceAuthPtrInput

type ServiceAuthPtrInput interface {
	pulumi.Input

	ToServiceAuthPtrOutput() ServiceAuthPtrOutput
	ToServiceAuthPtrOutputWithContext(context.Context) ServiceAuthPtrOutput
}

ServiceAuthPtrInput is an input type that accepts ServiceAuthArgs, ServiceAuthPtr and ServiceAuthPtrOutput values. You can construct a concrete instance of `ServiceAuthPtrInput` via:

        ServiceAuthArgs{...}

or:

        nil

func ServiceAuthPtr

func ServiceAuthPtr(v *ServiceAuthArgs) ServiceAuthPtrInput

type ServiceAuthPtrOutput

type ServiceAuthPtrOutput struct{ *pulumi.OutputState }

func (ServiceAuthPtrOutput) Elem

func (ServiceAuthPtrOutput) ElementType

func (ServiceAuthPtrOutput) ElementType() reflect.Type

func (ServiceAuthPtrOutput) Password

The password

func (ServiceAuthPtrOutput) ServerAddress

func (o ServiceAuthPtrOutput) ServerAddress() pulumi.StringPtrOutput

The address of the server for the authentication

func (ServiceAuthPtrOutput) ToServiceAuthPtrOutput

func (o ServiceAuthPtrOutput) ToServiceAuthPtrOutput() ServiceAuthPtrOutput

func (ServiceAuthPtrOutput) ToServiceAuthPtrOutputWithContext

func (o ServiceAuthPtrOutput) ToServiceAuthPtrOutputWithContext(ctx context.Context) ServiceAuthPtrOutput

func (ServiceAuthPtrOutput) Username

The username

type ServiceConfig

type ServiceConfig struct {
	pulumi.CustomResourceState

	// Base64-url-safe-encoded config data
	Data pulumi.StringOutput `pulumi:"data"`
	// User-defined name of the config
	Name pulumi.StringOutput `pulumi:"name"`
}

## Import

### Example

Assuming you created a `config` as follows

#!/bin/bash

printf '{"a":"b"}' | docker config create foo -

prints the id

08c26c477474478d971139f750984775a7f019dbe8a2e7f09d66a187c009e66d

you provide the definition for the resource as follows

terraform

resource "docker_config" "foo" {

name = "foo"

data = base64encode("{\"a\": \"b\"}")

}

then the import command is as follows

#!/bin/bash

```sh $ pulumi import docker:index/serviceConfig:ServiceConfig foo 08c26c477474478d971139f750984775a7f019dbe8a2e7f09d66a187c009e66d ```

func GetServiceConfig

func GetServiceConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceConfigState, opts ...pulumi.ResourceOption) (*ServiceConfig, error)

GetServiceConfig gets an existing ServiceConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceConfig

func NewServiceConfig(ctx *pulumi.Context,
	name string, args *ServiceConfigArgs, opts ...pulumi.ResourceOption) (*ServiceConfig, error)

NewServiceConfig registers a new resource with the given unique name, arguments, and options.

func (*ServiceConfig) ElementType

func (*ServiceConfig) ElementType() reflect.Type

func (*ServiceConfig) ToServiceConfigOutput

func (i *ServiceConfig) ToServiceConfigOutput() ServiceConfigOutput

func (*ServiceConfig) ToServiceConfigOutputWithContext

func (i *ServiceConfig) ToServiceConfigOutputWithContext(ctx context.Context) ServiceConfigOutput

type ServiceConfigArgs

type ServiceConfigArgs struct {
	// Base64-url-safe-encoded config data
	Data pulumi.StringInput
	// User-defined name of the config
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a ServiceConfig resource.

func (ServiceConfigArgs) ElementType

func (ServiceConfigArgs) ElementType() reflect.Type

type ServiceConfigArray

type ServiceConfigArray []ServiceConfigInput

func (ServiceConfigArray) ElementType

func (ServiceConfigArray) ElementType() reflect.Type

func (ServiceConfigArray) ToServiceConfigArrayOutput

func (i ServiceConfigArray) ToServiceConfigArrayOutput() ServiceConfigArrayOutput

func (ServiceConfigArray) ToServiceConfigArrayOutputWithContext

func (i ServiceConfigArray) ToServiceConfigArrayOutputWithContext(ctx context.Context) ServiceConfigArrayOutput

type ServiceConfigArrayInput

type ServiceConfigArrayInput interface {
	pulumi.Input

	ToServiceConfigArrayOutput() ServiceConfigArrayOutput
	ToServiceConfigArrayOutputWithContext(context.Context) ServiceConfigArrayOutput
}

ServiceConfigArrayInput is an input type that accepts ServiceConfigArray and ServiceConfigArrayOutput values. You can construct a concrete instance of `ServiceConfigArrayInput` via:

ServiceConfigArray{ ServiceConfigArgs{...} }

type ServiceConfigArrayOutput

type ServiceConfigArrayOutput struct{ *pulumi.OutputState }

func (ServiceConfigArrayOutput) ElementType

func (ServiceConfigArrayOutput) ElementType() reflect.Type

func (ServiceConfigArrayOutput) Index

func (ServiceConfigArrayOutput) ToServiceConfigArrayOutput

func (o ServiceConfigArrayOutput) ToServiceConfigArrayOutput() ServiceConfigArrayOutput

func (ServiceConfigArrayOutput) ToServiceConfigArrayOutputWithContext

func (o ServiceConfigArrayOutput) ToServiceConfigArrayOutputWithContext(ctx context.Context) ServiceConfigArrayOutput

type ServiceConfigInput

type ServiceConfigInput interface {
	pulumi.Input

	ToServiceConfigOutput() ServiceConfigOutput
	ToServiceConfigOutputWithContext(ctx context.Context) ServiceConfigOutput
}

type ServiceConfigMap

type ServiceConfigMap map[string]ServiceConfigInput

func (ServiceConfigMap) ElementType

func (ServiceConfigMap) ElementType() reflect.Type

func (ServiceConfigMap) ToServiceConfigMapOutput

func (i ServiceConfigMap) ToServiceConfigMapOutput() ServiceConfigMapOutput

func (ServiceConfigMap) ToServiceConfigMapOutputWithContext

func (i ServiceConfigMap) ToServiceConfigMapOutputWithContext(ctx context.Context) ServiceConfigMapOutput

type ServiceConfigMapInput

type ServiceConfigMapInput interface {
	pulumi.Input

	ToServiceConfigMapOutput() ServiceConfigMapOutput
	ToServiceConfigMapOutputWithContext(context.Context) ServiceConfigMapOutput
}

ServiceConfigMapInput is an input type that accepts ServiceConfigMap and ServiceConfigMapOutput values. You can construct a concrete instance of `ServiceConfigMapInput` via:

ServiceConfigMap{ "key": ServiceConfigArgs{...} }

type ServiceConfigMapOutput

type ServiceConfigMapOutput struct{ *pulumi.OutputState }

func (ServiceConfigMapOutput) ElementType

func (ServiceConfigMapOutput) ElementType() reflect.Type

func (ServiceConfigMapOutput) MapIndex

func (ServiceConfigMapOutput) ToServiceConfigMapOutput

func (o ServiceConfigMapOutput) ToServiceConfigMapOutput() ServiceConfigMapOutput

func (ServiceConfigMapOutput) ToServiceConfigMapOutputWithContext

func (o ServiceConfigMapOutput) ToServiceConfigMapOutputWithContext(ctx context.Context) ServiceConfigMapOutput

type ServiceConfigOutput

type ServiceConfigOutput struct{ *pulumi.OutputState }

func (ServiceConfigOutput) Data

Base64-url-safe-encoded config data

func (ServiceConfigOutput) ElementType

func (ServiceConfigOutput) ElementType() reflect.Type

func (ServiceConfigOutput) Name

User-defined name of the config

func (ServiceConfigOutput) ToServiceConfigOutput

func (o ServiceConfigOutput) ToServiceConfigOutput() ServiceConfigOutput

func (ServiceConfigOutput) ToServiceConfigOutputWithContext

func (o ServiceConfigOutput) ToServiceConfigOutputWithContext(ctx context.Context) ServiceConfigOutput

type ServiceConfigState

type ServiceConfigState struct {
	// Base64-url-safe-encoded config data
	Data pulumi.StringPtrInput
	// User-defined name of the config
	Name pulumi.StringPtrInput
}

func (ServiceConfigState) ElementType

func (ServiceConfigState) ElementType() reflect.Type

type ServiceConvergeConfig

type ServiceConvergeConfig struct {
	// The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.
	Delay *string `pulumi:"delay"`
	// The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`
	Timeout *string `pulumi:"timeout"`
}

type ServiceConvergeConfigArgs

type ServiceConvergeConfigArgs struct {
	// The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.
	Delay pulumi.StringPtrInput `pulumi:"delay"`
	// The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`
	Timeout pulumi.StringPtrInput `pulumi:"timeout"`
}

func (ServiceConvergeConfigArgs) ElementType

func (ServiceConvergeConfigArgs) ElementType() reflect.Type

func (ServiceConvergeConfigArgs) ToServiceConvergeConfigOutput

func (i ServiceConvergeConfigArgs) ToServiceConvergeConfigOutput() ServiceConvergeConfigOutput

func (ServiceConvergeConfigArgs) ToServiceConvergeConfigOutputWithContext

func (i ServiceConvergeConfigArgs) ToServiceConvergeConfigOutputWithContext(ctx context.Context) ServiceConvergeConfigOutput

func (ServiceConvergeConfigArgs) ToServiceConvergeConfigPtrOutput

func (i ServiceConvergeConfigArgs) ToServiceConvergeConfigPtrOutput() ServiceConvergeConfigPtrOutput

func (ServiceConvergeConfigArgs) ToServiceConvergeConfigPtrOutputWithContext

func (i ServiceConvergeConfigArgs) ToServiceConvergeConfigPtrOutputWithContext(ctx context.Context) ServiceConvergeConfigPtrOutput

type ServiceConvergeConfigInput

type ServiceConvergeConfigInput interface {
	pulumi.Input

	ToServiceConvergeConfigOutput() ServiceConvergeConfigOutput
	ToServiceConvergeConfigOutputWithContext(context.Context) ServiceConvergeConfigOutput
}

ServiceConvergeConfigInput is an input type that accepts ServiceConvergeConfigArgs and ServiceConvergeConfigOutput values. You can construct a concrete instance of `ServiceConvergeConfigInput` via:

ServiceConvergeConfigArgs{...}

type ServiceConvergeConfigOutput

type ServiceConvergeConfigOutput struct{ *pulumi.OutputState }

func (ServiceConvergeConfigOutput) Delay

The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.

func (ServiceConvergeConfigOutput) ElementType

func (ServiceConvergeConfigOutput) Timeout

The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`

func (ServiceConvergeConfigOutput) ToServiceConvergeConfigOutput

func (o ServiceConvergeConfigOutput) ToServiceConvergeConfigOutput() ServiceConvergeConfigOutput

func (ServiceConvergeConfigOutput) ToServiceConvergeConfigOutputWithContext

func (o ServiceConvergeConfigOutput) ToServiceConvergeConfigOutputWithContext(ctx context.Context) ServiceConvergeConfigOutput

func (ServiceConvergeConfigOutput) ToServiceConvergeConfigPtrOutput

func (o ServiceConvergeConfigOutput) ToServiceConvergeConfigPtrOutput() ServiceConvergeConfigPtrOutput

func (ServiceConvergeConfigOutput) ToServiceConvergeConfigPtrOutputWithContext

func (o ServiceConvergeConfigOutput) ToServiceConvergeConfigPtrOutputWithContext(ctx context.Context) ServiceConvergeConfigPtrOutput

type ServiceConvergeConfigPtrInput

type ServiceConvergeConfigPtrInput interface {
	pulumi.Input

	ToServiceConvergeConfigPtrOutput() ServiceConvergeConfigPtrOutput
	ToServiceConvergeConfigPtrOutputWithContext(context.Context) ServiceConvergeConfigPtrOutput
}

ServiceConvergeConfigPtrInput is an input type that accepts ServiceConvergeConfigArgs, ServiceConvergeConfigPtr and ServiceConvergeConfigPtrOutput values. You can construct a concrete instance of `ServiceConvergeConfigPtrInput` via:

        ServiceConvergeConfigArgs{...}

or:

        nil

type ServiceConvergeConfigPtrOutput

type ServiceConvergeConfigPtrOutput struct{ *pulumi.OutputState }

func (ServiceConvergeConfigPtrOutput) Delay

The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.

func (ServiceConvergeConfigPtrOutput) Elem

func (ServiceConvergeConfigPtrOutput) ElementType

func (ServiceConvergeConfigPtrOutput) Timeout

The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`

func (ServiceConvergeConfigPtrOutput) ToServiceConvergeConfigPtrOutput

func (o ServiceConvergeConfigPtrOutput) ToServiceConvergeConfigPtrOutput() ServiceConvergeConfigPtrOutput

func (ServiceConvergeConfigPtrOutput) ToServiceConvergeConfigPtrOutputWithContext

func (o ServiceConvergeConfigPtrOutput) ToServiceConvergeConfigPtrOutputWithContext(ctx context.Context) ServiceConvergeConfigPtrOutput

type ServiceEndpointSpec

type ServiceEndpointSpec struct {
	// The mode of resolution to use for internal load balancing between tasks
	Mode *string `pulumi:"mode"`
	// List of exposed ports that this service is accessible on from the outside. Ports can only be provided if 'vip' resolution mode is used
	Ports []ServiceEndpointSpecPort `pulumi:"ports"`
}

type ServiceEndpointSpecArgs

type ServiceEndpointSpecArgs struct {
	// The mode of resolution to use for internal load balancing between tasks
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// List of exposed ports that this service is accessible on from the outside. Ports can only be provided if 'vip' resolution mode is used
	Ports ServiceEndpointSpecPortArrayInput `pulumi:"ports"`
}

func (ServiceEndpointSpecArgs) ElementType

func (ServiceEndpointSpecArgs) ElementType() reflect.Type

func (ServiceEndpointSpecArgs) ToServiceEndpointSpecOutput

func (i ServiceEndpointSpecArgs) ToServiceEndpointSpecOutput() ServiceEndpointSpecOutput

func (ServiceEndpointSpecArgs) ToServiceEndpointSpecOutputWithContext

func (i ServiceEndpointSpecArgs) ToServiceEndpointSpecOutputWithContext(ctx context.Context) ServiceEndpointSpecOutput

func (ServiceEndpointSpecArgs) ToServiceEndpointSpecPtrOutput

func (i ServiceEndpointSpecArgs) ToServiceEndpointSpecPtrOutput() ServiceEndpointSpecPtrOutput

func (ServiceEndpointSpecArgs) ToServiceEndpointSpecPtrOutputWithContext

func (i ServiceEndpointSpecArgs) ToServiceEndpointSpecPtrOutputWithContext(ctx context.Context) ServiceEndpointSpecPtrOutput

type ServiceEndpointSpecInput

type ServiceEndpointSpecInput interface {
	pulumi.Input

	ToServiceEndpointSpecOutput() ServiceEndpointSpecOutput
	ToServiceEndpointSpecOutputWithContext(context.Context) ServiceEndpointSpecOutput
}

ServiceEndpointSpecInput is an input type that accepts ServiceEndpointSpecArgs and ServiceEndpointSpecOutput values. You can construct a concrete instance of `ServiceEndpointSpecInput` via:

ServiceEndpointSpecArgs{...}

type ServiceEndpointSpecOutput

type ServiceEndpointSpecOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSpecOutput) ElementType

func (ServiceEndpointSpecOutput) ElementType() reflect.Type

func (ServiceEndpointSpecOutput) Mode

The mode of resolution to use for internal load balancing between tasks

func (ServiceEndpointSpecOutput) Ports

List of exposed ports that this service is accessible on from the outside. Ports can only be provided if 'vip' resolution mode is used

func (ServiceEndpointSpecOutput) ToServiceEndpointSpecOutput

func (o ServiceEndpointSpecOutput) ToServiceEndpointSpecOutput() ServiceEndpointSpecOutput

func (ServiceEndpointSpecOutput) ToServiceEndpointSpecOutputWithContext

func (o ServiceEndpointSpecOutput) ToServiceEndpointSpecOutputWithContext(ctx context.Context) ServiceEndpointSpecOutput

func (ServiceEndpointSpecOutput) ToServiceEndpointSpecPtrOutput

func (o ServiceEndpointSpecOutput) ToServiceEndpointSpecPtrOutput() ServiceEndpointSpecPtrOutput

func (ServiceEndpointSpecOutput) ToServiceEndpointSpecPtrOutputWithContext

func (o ServiceEndpointSpecOutput) ToServiceEndpointSpecPtrOutputWithContext(ctx context.Context) ServiceEndpointSpecPtrOutput

type ServiceEndpointSpecPort

type ServiceEndpointSpecPort struct {
	// A random name for the port
	Name *string `pulumi:"name"`
	// Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`.
	Protocol *string `pulumi:"protocol"`
	// Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`.
	PublishMode *string `pulumi:"publishMode"`
	// The port on the swarm hosts
	PublishedPort *int `pulumi:"publishedPort"`
	// The port inside the container
	TargetPort int `pulumi:"targetPort"`
}

type ServiceEndpointSpecPortArgs

type ServiceEndpointSpecPortArgs struct {
	// A random name for the port
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
	// Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`.
	PublishMode pulumi.StringPtrInput `pulumi:"publishMode"`
	// The port on the swarm hosts
	PublishedPort pulumi.IntPtrInput `pulumi:"publishedPort"`
	// The port inside the container
	TargetPort pulumi.IntInput `pulumi:"targetPort"`
}

func (ServiceEndpointSpecPortArgs) ElementType

func (ServiceEndpointSpecPortArgs) ToServiceEndpointSpecPortOutput

func (i ServiceEndpointSpecPortArgs) ToServiceEndpointSpecPortOutput() ServiceEndpointSpecPortOutput

func (ServiceEndpointSpecPortArgs) ToServiceEndpointSpecPortOutputWithContext

func (i ServiceEndpointSpecPortArgs) ToServiceEndpointSpecPortOutputWithContext(ctx context.Context) ServiceEndpointSpecPortOutput

type ServiceEndpointSpecPortArray

type ServiceEndpointSpecPortArray []ServiceEndpointSpecPortInput

func (ServiceEndpointSpecPortArray) ElementType

func (ServiceEndpointSpecPortArray) ToServiceEndpointSpecPortArrayOutput

func (i ServiceEndpointSpecPortArray) ToServiceEndpointSpecPortArrayOutput() ServiceEndpointSpecPortArrayOutput

func (ServiceEndpointSpecPortArray) ToServiceEndpointSpecPortArrayOutputWithContext

func (i ServiceEndpointSpecPortArray) ToServiceEndpointSpecPortArrayOutputWithContext(ctx context.Context) ServiceEndpointSpecPortArrayOutput

type ServiceEndpointSpecPortArrayInput

type ServiceEndpointSpecPortArrayInput interface {
	pulumi.Input

	ToServiceEndpointSpecPortArrayOutput() ServiceEndpointSpecPortArrayOutput
	ToServiceEndpointSpecPortArrayOutputWithContext(context.Context) ServiceEndpointSpecPortArrayOutput
}

ServiceEndpointSpecPortArrayInput is an input type that accepts ServiceEndpointSpecPortArray and ServiceEndpointSpecPortArrayOutput values. You can construct a concrete instance of `ServiceEndpointSpecPortArrayInput` via:

ServiceEndpointSpecPortArray{ ServiceEndpointSpecPortArgs{...} }

type ServiceEndpointSpecPortArrayOutput

type ServiceEndpointSpecPortArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSpecPortArrayOutput) ElementType

func (ServiceEndpointSpecPortArrayOutput) Index

func (ServiceEndpointSpecPortArrayOutput) ToServiceEndpointSpecPortArrayOutput

func (o ServiceEndpointSpecPortArrayOutput) ToServiceEndpointSpecPortArrayOutput() ServiceEndpointSpecPortArrayOutput

func (ServiceEndpointSpecPortArrayOutput) ToServiceEndpointSpecPortArrayOutputWithContext

func (o ServiceEndpointSpecPortArrayOutput) ToServiceEndpointSpecPortArrayOutputWithContext(ctx context.Context) ServiceEndpointSpecPortArrayOutput

type ServiceEndpointSpecPortInput

type ServiceEndpointSpecPortInput interface {
	pulumi.Input

	ToServiceEndpointSpecPortOutput() ServiceEndpointSpecPortOutput
	ToServiceEndpointSpecPortOutputWithContext(context.Context) ServiceEndpointSpecPortOutput
}

ServiceEndpointSpecPortInput is an input type that accepts ServiceEndpointSpecPortArgs and ServiceEndpointSpecPortOutput values. You can construct a concrete instance of `ServiceEndpointSpecPortInput` via:

ServiceEndpointSpecPortArgs{...}

type ServiceEndpointSpecPortOutput

type ServiceEndpointSpecPortOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSpecPortOutput) ElementType

func (ServiceEndpointSpecPortOutput) Name

A random name for the port

func (ServiceEndpointSpecPortOutput) Protocol

Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`.

func (ServiceEndpointSpecPortOutput) PublishMode

Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`.

func (ServiceEndpointSpecPortOutput) PublishedPort

The port on the swarm hosts

func (ServiceEndpointSpecPortOutput) TargetPort

The port inside the container

func (ServiceEndpointSpecPortOutput) ToServiceEndpointSpecPortOutput

func (o ServiceEndpointSpecPortOutput) ToServiceEndpointSpecPortOutput() ServiceEndpointSpecPortOutput

func (ServiceEndpointSpecPortOutput) ToServiceEndpointSpecPortOutputWithContext

func (o ServiceEndpointSpecPortOutput) ToServiceEndpointSpecPortOutputWithContext(ctx context.Context) ServiceEndpointSpecPortOutput

type ServiceEndpointSpecPtrInput

type ServiceEndpointSpecPtrInput interface {
	pulumi.Input

	ToServiceEndpointSpecPtrOutput() ServiceEndpointSpecPtrOutput
	ToServiceEndpointSpecPtrOutputWithContext(context.Context) ServiceEndpointSpecPtrOutput
}

ServiceEndpointSpecPtrInput is an input type that accepts ServiceEndpointSpecArgs, ServiceEndpointSpecPtr and ServiceEndpointSpecPtrOutput values. You can construct a concrete instance of `ServiceEndpointSpecPtrInput` via:

        ServiceEndpointSpecArgs{...}

or:

        nil

type ServiceEndpointSpecPtrOutput

type ServiceEndpointSpecPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSpecPtrOutput) Elem

func (ServiceEndpointSpecPtrOutput) ElementType

func (ServiceEndpointSpecPtrOutput) Mode

The mode of resolution to use for internal load balancing between tasks

func (ServiceEndpointSpecPtrOutput) Ports

List of exposed ports that this service is accessible on from the outside. Ports can only be provided if 'vip' resolution mode is used

func (ServiceEndpointSpecPtrOutput) ToServiceEndpointSpecPtrOutput

func (o ServiceEndpointSpecPtrOutput) ToServiceEndpointSpecPtrOutput() ServiceEndpointSpecPtrOutput

func (ServiceEndpointSpecPtrOutput) ToServiceEndpointSpecPtrOutputWithContext

func (o ServiceEndpointSpecPtrOutput) ToServiceEndpointSpecPtrOutputWithContext(ctx context.Context) ServiceEndpointSpecPtrOutput

type ServiceInput

type ServiceInput interface {
	pulumi.Input

	ToServiceOutput() ServiceOutput
	ToServiceOutputWithContext(ctx context.Context) ServiceOutput
}

type ServiceLabel

type ServiceLabel struct {
	// Name of the label
	Label string `pulumi:"label"`
	// Value of the label
	Value string `pulumi:"value"`
}

type ServiceLabelArgs

type ServiceLabelArgs struct {
	// Name of the label
	Label pulumi.StringInput `pulumi:"label"`
	// Value of the label
	Value pulumi.StringInput `pulumi:"value"`
}

func (ServiceLabelArgs) ElementType

func (ServiceLabelArgs) ElementType() reflect.Type

func (ServiceLabelArgs) ToServiceLabelOutput

func (i ServiceLabelArgs) ToServiceLabelOutput() ServiceLabelOutput

func (ServiceLabelArgs) ToServiceLabelOutputWithContext

func (i ServiceLabelArgs) ToServiceLabelOutputWithContext(ctx context.Context) ServiceLabelOutput

type ServiceLabelArray

type ServiceLabelArray []ServiceLabelInput

func (ServiceLabelArray) ElementType

func (ServiceLabelArray) ElementType() reflect.Type

func (ServiceLabelArray) ToServiceLabelArrayOutput

func (i ServiceLabelArray) ToServiceLabelArrayOutput() ServiceLabelArrayOutput

func (ServiceLabelArray) ToServiceLabelArrayOutputWithContext

func (i ServiceLabelArray) ToServiceLabelArrayOutputWithContext(ctx context.Context) ServiceLabelArrayOutput

type ServiceLabelArrayInput

type ServiceLabelArrayInput interface {
	pulumi.Input

	ToServiceLabelArrayOutput() ServiceLabelArrayOutput
	ToServiceLabelArrayOutputWithContext(context.Context) ServiceLabelArrayOutput
}

ServiceLabelArrayInput is an input type that accepts ServiceLabelArray and ServiceLabelArrayOutput values. You can construct a concrete instance of `ServiceLabelArrayInput` via:

ServiceLabelArray{ ServiceLabelArgs{...} }

type ServiceLabelArrayOutput

type ServiceLabelArrayOutput struct{ *pulumi.OutputState }

func (ServiceLabelArrayOutput) ElementType

func (ServiceLabelArrayOutput) ElementType() reflect.Type

func (ServiceLabelArrayOutput) Index

func (ServiceLabelArrayOutput) ToServiceLabelArrayOutput

func (o ServiceLabelArrayOutput) ToServiceLabelArrayOutput() ServiceLabelArrayOutput

func (ServiceLabelArrayOutput) ToServiceLabelArrayOutputWithContext

func (o ServiceLabelArrayOutput) ToServiceLabelArrayOutputWithContext(ctx context.Context) ServiceLabelArrayOutput

type ServiceLabelInput

type ServiceLabelInput interface {
	pulumi.Input

	ToServiceLabelOutput() ServiceLabelOutput
	ToServiceLabelOutputWithContext(context.Context) ServiceLabelOutput
}

ServiceLabelInput is an input type that accepts ServiceLabelArgs and ServiceLabelOutput values. You can construct a concrete instance of `ServiceLabelInput` via:

ServiceLabelArgs{...}

type ServiceLabelOutput

type ServiceLabelOutput struct{ *pulumi.OutputState }

func (ServiceLabelOutput) ElementType

func (ServiceLabelOutput) ElementType() reflect.Type

func (ServiceLabelOutput) Label

Name of the label

func (ServiceLabelOutput) ToServiceLabelOutput

func (o ServiceLabelOutput) ToServiceLabelOutput() ServiceLabelOutput

func (ServiceLabelOutput) ToServiceLabelOutputWithContext

func (o ServiceLabelOutput) ToServiceLabelOutputWithContext(ctx context.Context) ServiceLabelOutput

func (ServiceLabelOutput) Value

Value of the label

type ServiceMap

type ServiceMap map[string]ServiceInput

func (ServiceMap) ElementType

func (ServiceMap) ElementType() reflect.Type

func (ServiceMap) ToServiceMapOutput

func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput

func (ServiceMap) ToServiceMapOutputWithContext

func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceMapInput

type ServiceMapInput interface {
	pulumi.Input

	ToServiceMapOutput() ServiceMapOutput
	ToServiceMapOutputWithContext(context.Context) ServiceMapOutput
}

ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:

ServiceMap{ "key": ServiceArgs{...} }

type ServiceMapOutput

type ServiceMapOutput struct{ *pulumi.OutputState }

func (ServiceMapOutput) ElementType

func (ServiceMapOutput) ElementType() reflect.Type

func (ServiceMapOutput) MapIndex

func (ServiceMapOutput) ToServiceMapOutput

func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput

func (ServiceMapOutput) ToServiceMapOutputWithContext

func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceMode

type ServiceMode struct {
	// When `true`, tasks will run on every worker node. Conflicts with `replicated`
	Global *bool `pulumi:"global"`
	// The replicated service mode
	Replicated *ServiceModeReplicated `pulumi:"replicated"`
}

type ServiceModeArgs

type ServiceModeArgs struct {
	// When `true`, tasks will run on every worker node. Conflicts with `replicated`
	Global pulumi.BoolPtrInput `pulumi:"global"`
	// The replicated service mode
	Replicated ServiceModeReplicatedPtrInput `pulumi:"replicated"`
}

func (ServiceModeArgs) ElementType

func (ServiceModeArgs) ElementType() reflect.Type

func (ServiceModeArgs) ToServiceModeOutput

func (i ServiceModeArgs) ToServiceModeOutput() ServiceModeOutput

func (ServiceModeArgs) ToServiceModeOutputWithContext

func (i ServiceModeArgs) ToServiceModeOutputWithContext(ctx context.Context) ServiceModeOutput

func (ServiceModeArgs) ToServiceModePtrOutput

func (i ServiceModeArgs) ToServiceModePtrOutput() ServiceModePtrOutput

func (ServiceModeArgs) ToServiceModePtrOutputWithContext

func (i ServiceModeArgs) ToServiceModePtrOutputWithContext(ctx context.Context) ServiceModePtrOutput

type ServiceModeInput

type ServiceModeInput interface {
	pulumi.Input

	ToServiceModeOutput() ServiceModeOutput
	ToServiceModeOutputWithContext(context.Context) ServiceModeOutput
}

ServiceModeInput is an input type that accepts ServiceModeArgs and ServiceModeOutput values. You can construct a concrete instance of `ServiceModeInput` via:

ServiceModeArgs{...}

type ServiceModeOutput

type ServiceModeOutput struct{ *pulumi.OutputState }

func (ServiceModeOutput) ElementType

func (ServiceModeOutput) ElementType() reflect.Type

func (ServiceModeOutput) Global

When `true`, tasks will run on every worker node. Conflicts with `replicated`

func (ServiceModeOutput) Replicated

The replicated service mode

func (ServiceModeOutput) ToServiceModeOutput

func (o ServiceModeOutput) ToServiceModeOutput() ServiceModeOutput

func (ServiceModeOutput) ToServiceModeOutputWithContext

func (o ServiceModeOutput) ToServiceModeOutputWithContext(ctx context.Context) ServiceModeOutput

func (ServiceModeOutput) ToServiceModePtrOutput

func (o ServiceModeOutput) ToServiceModePtrOutput() ServiceModePtrOutput

func (ServiceModeOutput) ToServiceModePtrOutputWithContext

func (o ServiceModeOutput) ToServiceModePtrOutputWithContext(ctx context.Context) ServiceModePtrOutput

type ServiceModePtrInput

type ServiceModePtrInput interface {
	pulumi.Input

	ToServiceModePtrOutput() ServiceModePtrOutput
	ToServiceModePtrOutputWithContext(context.Context) ServiceModePtrOutput
}

ServiceModePtrInput is an input type that accepts ServiceModeArgs, ServiceModePtr and ServiceModePtrOutput values. You can construct a concrete instance of `ServiceModePtrInput` via:

        ServiceModeArgs{...}

or:

        nil

func ServiceModePtr

func ServiceModePtr(v *ServiceModeArgs) ServiceModePtrInput

type ServiceModePtrOutput

type ServiceModePtrOutput struct{ *pulumi.OutputState }

func (ServiceModePtrOutput) Elem

func (ServiceModePtrOutput) ElementType

func (ServiceModePtrOutput) ElementType() reflect.Type

func (ServiceModePtrOutput) Global

When `true`, tasks will run on every worker node. Conflicts with `replicated`

func (ServiceModePtrOutput) Replicated

The replicated service mode

func (ServiceModePtrOutput) ToServiceModePtrOutput

func (o ServiceModePtrOutput) ToServiceModePtrOutput() ServiceModePtrOutput

func (ServiceModePtrOutput) ToServiceModePtrOutputWithContext

func (o ServiceModePtrOutput) ToServiceModePtrOutputWithContext(ctx context.Context) ServiceModePtrOutput

type ServiceModeReplicated

type ServiceModeReplicated struct {
	// The amount of replicas of the service. Defaults to `1`
	Replicas *int `pulumi:"replicas"`
}

type ServiceModeReplicatedArgs

type ServiceModeReplicatedArgs struct {
	// The amount of replicas of the service. Defaults to `1`
	Replicas pulumi.IntPtrInput `pulumi:"replicas"`
}

func (ServiceModeReplicatedArgs) ElementType

func (ServiceModeReplicatedArgs) ElementType() reflect.Type

func (ServiceModeReplicatedArgs) ToServiceModeReplicatedOutput

func (i ServiceModeReplicatedArgs) ToServiceModeReplicatedOutput() ServiceModeReplicatedOutput

func (ServiceModeReplicatedArgs) ToServiceModeReplicatedOutputWithContext

func (i ServiceModeReplicatedArgs) ToServiceModeReplicatedOutputWithContext(ctx context.Context) ServiceModeReplicatedOutput

func (ServiceModeReplicatedArgs) ToServiceModeReplicatedPtrOutput

func (i ServiceModeReplicatedArgs) ToServiceModeReplicatedPtrOutput() ServiceModeReplicatedPtrOutput

func (ServiceModeReplicatedArgs) ToServiceModeReplicatedPtrOutputWithContext

func (i ServiceModeReplicatedArgs) ToServiceModeReplicatedPtrOutputWithContext(ctx context.Context) ServiceModeReplicatedPtrOutput

type ServiceModeReplicatedInput

type ServiceModeReplicatedInput interface {
	pulumi.Input

	ToServiceModeReplicatedOutput() ServiceModeReplicatedOutput
	ToServiceModeReplicatedOutputWithContext(context.Context) ServiceModeReplicatedOutput
}

ServiceModeReplicatedInput is an input type that accepts ServiceModeReplicatedArgs and ServiceModeReplicatedOutput values. You can construct a concrete instance of `ServiceModeReplicatedInput` via:

ServiceModeReplicatedArgs{...}

type ServiceModeReplicatedOutput

type ServiceModeReplicatedOutput struct{ *pulumi.OutputState }

func (ServiceModeReplicatedOutput) ElementType

func (ServiceModeReplicatedOutput) Replicas

The amount of replicas of the service. Defaults to `1`

func (ServiceModeReplicatedOutput) ToServiceModeReplicatedOutput

func (o ServiceModeReplicatedOutput) ToServiceModeReplicatedOutput() ServiceModeReplicatedOutput

func (ServiceModeReplicatedOutput) ToServiceModeReplicatedOutputWithContext

func (o ServiceModeReplicatedOutput) ToServiceModeReplicatedOutputWithContext(ctx context.Context) ServiceModeReplicatedOutput

func (ServiceModeReplicatedOutput) ToServiceModeReplicatedPtrOutput

func (o ServiceModeReplicatedOutput) ToServiceModeReplicatedPtrOutput() ServiceModeReplicatedPtrOutput

func (ServiceModeReplicatedOutput) ToServiceModeReplicatedPtrOutputWithContext

func (o ServiceModeReplicatedOutput) ToServiceModeReplicatedPtrOutputWithContext(ctx context.Context) ServiceModeReplicatedPtrOutput

type ServiceModeReplicatedPtrInput

type ServiceModeReplicatedPtrInput interface {
	pulumi.Input

	ToServiceModeReplicatedPtrOutput() ServiceModeReplicatedPtrOutput
	ToServiceModeReplicatedPtrOutputWithContext(context.Context) ServiceModeReplicatedPtrOutput
}

ServiceModeReplicatedPtrInput is an input type that accepts ServiceModeReplicatedArgs, ServiceModeReplicatedPtr and ServiceModeReplicatedPtrOutput values. You can construct a concrete instance of `ServiceModeReplicatedPtrInput` via:

        ServiceModeReplicatedArgs{...}

or:

        nil

type ServiceModeReplicatedPtrOutput

type ServiceModeReplicatedPtrOutput struct{ *pulumi.OutputState }

func (ServiceModeReplicatedPtrOutput) Elem

func (ServiceModeReplicatedPtrOutput) ElementType

func (ServiceModeReplicatedPtrOutput) Replicas

The amount of replicas of the service. Defaults to `1`

func (ServiceModeReplicatedPtrOutput) ToServiceModeReplicatedPtrOutput

func (o ServiceModeReplicatedPtrOutput) ToServiceModeReplicatedPtrOutput() ServiceModeReplicatedPtrOutput

func (ServiceModeReplicatedPtrOutput) ToServiceModeReplicatedPtrOutputWithContext

func (o ServiceModeReplicatedPtrOutput) ToServiceModeReplicatedPtrOutputWithContext(ctx context.Context) ServiceModeReplicatedPtrOutput

type ServiceOutput

type ServiceOutput struct{ *pulumi.OutputState }

func (ServiceOutput) Auth

Configuration for the authentication for pulling the images of the service

func (ServiceOutput) ConvergeConfig

func (o ServiceOutput) ConvergeConfig() ServiceConvergeConfigPtrOutput

A configuration to ensure that a service converges aka reaches the desired that of all task up and running

func (ServiceOutput) ElementType

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) EndpointSpec

func (o ServiceOutput) EndpointSpec() ServiceEndpointSpecOutput

Properties that can be configured to access and load balance a service

func (ServiceOutput) Labels

User-defined key/value metadata

func (ServiceOutput) Mode

Scheduling mode for the service

func (ServiceOutput) Name

Name of the service

func (ServiceOutput) RollbackConfig

func (o ServiceOutput) RollbackConfig() ServiceRollbackConfigPtrOutput

Specification for the rollback strategy of the service

func (ServiceOutput) TaskSpec

func (o ServiceOutput) TaskSpec() ServiceTaskSpecOutput

User modifiable task configuration

func (ServiceOutput) ToServiceOutput

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext

func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

func (ServiceOutput) UpdateConfig

Specification for the update strategy of the service

type ServiceRollbackConfig

type ServiceRollbackConfig struct {
	// Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`.
	Delay *string `pulumi:"delay"`
	// Action on rollback failure: pause | continue. Defaults to `pause`.
	FailureAction *string `pulumi:"failureAction"`
	// Failure rate to tolerate during a rollback. Defaults to `0.0`.
	MaxFailureRatio *string `pulumi:"maxFailureRatio"`
	// Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
	Monitor *string `pulumi:"monitor"`
	// Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
	Order *string `pulumi:"order"`
	// Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`
	Parallelism *int `pulumi:"parallelism"`
}

type ServiceRollbackConfigArgs

type ServiceRollbackConfigArgs struct {
	// Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`.
	Delay pulumi.StringPtrInput `pulumi:"delay"`
	// Action on rollback failure: pause | continue. Defaults to `pause`.
	FailureAction pulumi.StringPtrInput `pulumi:"failureAction"`
	// Failure rate to tolerate during a rollback. Defaults to `0.0`.
	MaxFailureRatio pulumi.StringPtrInput `pulumi:"maxFailureRatio"`
	// Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
	Monitor pulumi.StringPtrInput `pulumi:"monitor"`
	// Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
	Order pulumi.StringPtrInput `pulumi:"order"`
	// Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`
	Parallelism pulumi.IntPtrInput `pulumi:"parallelism"`
}

func (ServiceRollbackConfigArgs) ElementType

func (ServiceRollbackConfigArgs) ElementType() reflect.Type

func (ServiceRollbackConfigArgs) ToServiceRollbackConfigOutput

func (i ServiceRollbackConfigArgs) ToServiceRollbackConfigOutput() ServiceRollbackConfigOutput

func (ServiceRollbackConfigArgs) ToServiceRollbackConfigOutputWithContext

func (i ServiceRollbackConfigArgs) ToServiceRollbackConfigOutputWithContext(ctx context.Context) ServiceRollbackConfigOutput

func (ServiceRollbackConfigArgs) ToServiceRollbackConfigPtrOutput

func (i ServiceRollbackConfigArgs) ToServiceRollbackConfigPtrOutput() ServiceRollbackConfigPtrOutput

func (ServiceRollbackConfigArgs) ToServiceRollbackConfigPtrOutputWithContext

func (i ServiceRollbackConfigArgs) ToServiceRollbackConfigPtrOutputWithContext(ctx context.Context) ServiceRollbackConfigPtrOutput

type ServiceRollbackConfigInput

type ServiceRollbackConfigInput interface {
	pulumi.Input

	ToServiceRollbackConfigOutput() ServiceRollbackConfigOutput
	ToServiceRollbackConfigOutputWithContext(context.Context) ServiceRollbackConfigOutput
}

ServiceRollbackConfigInput is an input type that accepts ServiceRollbackConfigArgs and ServiceRollbackConfigOutput values. You can construct a concrete instance of `ServiceRollbackConfigInput` via:

ServiceRollbackConfigArgs{...}

type ServiceRollbackConfigOutput

type ServiceRollbackConfigOutput struct{ *pulumi.OutputState }

func (ServiceRollbackConfigOutput) Delay

Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`.

func (ServiceRollbackConfigOutput) ElementType

func (ServiceRollbackConfigOutput) FailureAction

Action on rollback failure: pause | continue. Defaults to `pause`.

func (ServiceRollbackConfigOutput) MaxFailureRatio

Failure rate to tolerate during a rollback. Defaults to `0.0`.

func (ServiceRollbackConfigOutput) Monitor

Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.

func (ServiceRollbackConfigOutput) Order

Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.

func (ServiceRollbackConfigOutput) Parallelism

Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`

func (ServiceRollbackConfigOutput) ToServiceRollbackConfigOutput

func (o ServiceRollbackConfigOutput) ToServiceRollbackConfigOutput() ServiceRollbackConfigOutput

func (ServiceRollbackConfigOutput) ToServiceRollbackConfigOutputWithContext

func (o ServiceRollbackConfigOutput) ToServiceRollbackConfigOutputWithContext(ctx context.Context) ServiceRollbackConfigOutput

func (ServiceRollbackConfigOutput) ToServiceRollbackConfigPtrOutput

func (o ServiceRollbackConfigOutput) ToServiceRollbackConfigPtrOutput() ServiceRollbackConfigPtrOutput

func (ServiceRollbackConfigOutput) ToServiceRollbackConfigPtrOutputWithContext

func (o ServiceRollbackConfigOutput) ToServiceRollbackConfigPtrOutputWithContext(ctx context.Context) ServiceRollbackConfigPtrOutput

type ServiceRollbackConfigPtrInput

type ServiceRollbackConfigPtrInput interface {
	pulumi.Input

	ToServiceRollbackConfigPtrOutput() ServiceRollbackConfigPtrOutput
	ToServiceRollbackConfigPtrOutputWithContext(context.Context) ServiceRollbackConfigPtrOutput
}

ServiceRollbackConfigPtrInput is an input type that accepts ServiceRollbackConfigArgs, ServiceRollbackConfigPtr and ServiceRollbackConfigPtrOutput values. You can construct a concrete instance of `ServiceRollbackConfigPtrInput` via:

        ServiceRollbackConfigArgs{...}

or:

        nil

type ServiceRollbackConfigPtrOutput

type ServiceRollbackConfigPtrOutput struct{ *pulumi.OutputState }

func (ServiceRollbackConfigPtrOutput) Delay

Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`.

func (ServiceRollbackConfigPtrOutput) Elem

func (ServiceRollbackConfigPtrOutput) ElementType

func (ServiceRollbackConfigPtrOutput) FailureAction

Action on rollback failure: pause | continue. Defaults to `pause`.

func (ServiceRollbackConfigPtrOutput) MaxFailureRatio

Failure rate to tolerate during a rollback. Defaults to `0.0`.

func (ServiceRollbackConfigPtrOutput) Monitor

Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.

func (ServiceRollbackConfigPtrOutput) Order

Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.

func (ServiceRollbackConfigPtrOutput) Parallelism

Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`

func (ServiceRollbackConfigPtrOutput) ToServiceRollbackConfigPtrOutput

func (o ServiceRollbackConfigPtrOutput) ToServiceRollbackConfigPtrOutput() ServiceRollbackConfigPtrOutput

func (ServiceRollbackConfigPtrOutput) ToServiceRollbackConfigPtrOutputWithContext

func (o ServiceRollbackConfigPtrOutput) ToServiceRollbackConfigPtrOutputWithContext(ctx context.Context) ServiceRollbackConfigPtrOutput

type ServiceState

type ServiceState struct {
	// Configuration for the authentication for pulling the images of the service
	Auth ServiceAuthPtrInput
	// A configuration to ensure that a service converges aka reaches the desired that of all task up and running
	ConvergeConfig ServiceConvergeConfigPtrInput
	// Properties that can be configured to access and load balance a service
	EndpointSpec ServiceEndpointSpecPtrInput
	// User-defined key/value metadata
	Labels ServiceLabelArrayInput
	// Scheduling mode for the service
	Mode ServiceModePtrInput
	// Name of the service
	Name pulumi.StringPtrInput
	// Specification for the rollback strategy of the service
	RollbackConfig ServiceRollbackConfigPtrInput
	// User modifiable task configuration
	TaskSpec ServiceTaskSpecPtrInput
	// Specification for the update strategy of the service
	UpdateConfig ServiceUpdateConfigPtrInput
}

func (ServiceState) ElementType

func (ServiceState) ElementType() reflect.Type

type ServiceTaskSpec

type ServiceTaskSpec struct {
	// The spec for each container
	ContainerSpec ServiceTaskSpecContainerSpec `pulumi:"containerSpec"`
	// A counter that triggers an update even if no relevant parameters have been changed. See the [spec](https://github.com/docker/swarmkit/blob/master/api/specs.proto#L126).
	ForceUpdate *int `pulumi:"forceUpdate"`
	// Specifies the log driver to use for tasks created from this spec. If not present, the default one for the swarm will be used, finally falling back to the engine default if not specified
	LogDriver *ServiceTaskSpecLogDriver `pulumi:"logDriver"`
	// The networks the container is attached to
	NetworksAdvanceds []ServiceTaskSpecNetworksAdvanced `pulumi:"networksAdvanceds"`
	// The placement preferences
	Placement *ServiceTaskSpecPlacement `pulumi:"placement"`
	// Resource requirements which apply to each individual container created as part of the service
	Resources *ServiceTaskSpecResources `pulumi:"resources"`
	// Specification for the restart policy which applies to containers created as part of this service.
	RestartPolicy *ServiceTaskSpecRestartPolicy `pulumi:"restartPolicy"`
	// Runtime is the type of runtime specified for the task executor. See the [types](https://github.com/moby/moby/blob/master/api/types/swarm/runtime.go).
	Runtime *string `pulumi:"runtime"`
}

type ServiceTaskSpecArgs

type ServiceTaskSpecArgs struct {
	// The spec for each container
	ContainerSpec ServiceTaskSpecContainerSpecInput `pulumi:"containerSpec"`
	// A counter that triggers an update even if no relevant parameters have been changed. See the [spec](https://github.com/docker/swarmkit/blob/master/api/specs.proto#L126).
	ForceUpdate pulumi.IntPtrInput `pulumi:"forceUpdate"`
	// Specifies the log driver to use for tasks created from this spec. If not present, the default one for the swarm will be used, finally falling back to the engine default if not specified
	LogDriver ServiceTaskSpecLogDriverPtrInput `pulumi:"logDriver"`
	// The networks the container is attached to
	NetworksAdvanceds ServiceTaskSpecNetworksAdvancedArrayInput `pulumi:"networksAdvanceds"`
	// The placement preferences
	Placement ServiceTaskSpecPlacementPtrInput `pulumi:"placement"`
	// Resource requirements which apply to each individual container created as part of the service
	Resources ServiceTaskSpecResourcesPtrInput `pulumi:"resources"`
	// Specification for the restart policy which applies to containers created as part of this service.
	RestartPolicy ServiceTaskSpecRestartPolicyPtrInput `pulumi:"restartPolicy"`
	// Runtime is the type of runtime specified for the task executor. See the [types](https://github.com/moby/moby/blob/master/api/types/swarm/runtime.go).
	Runtime pulumi.StringPtrInput `pulumi:"runtime"`
}

func (ServiceTaskSpecArgs) ElementType

func (ServiceTaskSpecArgs) ElementType() reflect.Type

func (ServiceTaskSpecArgs) ToServiceTaskSpecOutput

func (i ServiceTaskSpecArgs) ToServiceTaskSpecOutput() ServiceTaskSpecOutput

func (ServiceTaskSpecArgs) ToServiceTaskSpecOutputWithContext

func (i ServiceTaskSpecArgs) ToServiceTaskSpecOutputWithContext(ctx context.Context) ServiceTaskSpecOutput

func (ServiceTaskSpecArgs) ToServiceTaskSpecPtrOutput

func (i ServiceTaskSpecArgs) ToServiceTaskSpecPtrOutput() ServiceTaskSpecPtrOutput

func (ServiceTaskSpecArgs) ToServiceTaskSpecPtrOutputWithContext

func (i ServiceTaskSpecArgs) ToServiceTaskSpecPtrOutputWithContext(ctx context.Context) ServiceTaskSpecPtrOutput

type ServiceTaskSpecContainerSpec

type ServiceTaskSpecContainerSpec struct {
	// Arguments to the command
	Args []string `pulumi:"args"`
	// The command/entrypoint to be run in the image. According to the [docker cli](https://github.com/docker/cli/blob/v20.10.7/cli/command/service/opts.go#L705) the override of the entrypoint is also passed to the `command` property and there is no `entrypoint` attribute in the `ContainerSpec` of the service.
	Commands []string `pulumi:"commands"`
	// References to zero or more configs that will be exposed to the service
	Configs []ServiceTaskSpecContainerSpecConfig `pulumi:"configs"`
	// The working directory for commands to run in
	Dir *string `pulumi:"dir"`
	// Specification for DNS related configurations in resolver configuration file (`resolv.conf`)
	DnsConfig *ServiceTaskSpecContainerSpecDnsConfig `pulumi:"dnsConfig"`
	// A list of environment variables in the form VAR="value"
	Env map[string]string `pulumi:"env"`
	// A list of additional groups that the container process will run as
	Groups []string `pulumi:"groups"`
	// A test to perform to check that the container is healthy
	Healthcheck *ServiceTaskSpecContainerSpecHealthcheck `pulumi:"healthcheck"`
	// The hostname to use for the container, as a valid RFC 1123 hostname
	Hostname *string `pulumi:"hostname"`
	// A list of hostname/IP mappings to add to the container's hosts file
	Hosts []ServiceTaskSpecContainerSpecHost `pulumi:"hosts"`
	// The image name to use for the containers of the service, like `nginx:1.17.6`. Also use the data-source or resource of `RemoteImage` with the `repoDigest` or `RegistryImage` with the `name` attribute for this, as shown in the examples.
	Image string `pulumi:"image"`
	// Isolation technology of the containers running the service. (Windows only). Defaults to `default`.
	Isolation *string `pulumi:"isolation"`
	// User-defined key/value metadata
	Labels []ServiceTaskSpecContainerSpecLabel `pulumi:"labels"`
	// Specification for mounts to be added to containers created as part of the service
	Mounts []ServiceTaskSpecContainerSpecMount `pulumi:"mounts"`
	// Security options for the container
	Privileges *ServiceTaskSpecContainerSpecPrivileges `pulumi:"privileges"`
	// Mount the container's root filesystem as read only
	ReadOnly *bool `pulumi:"readOnly"`
	// References to zero or more secrets that will be exposed to the service
	Secrets []ServiceTaskSpecContainerSpecSecret `pulumi:"secrets"`
	// Amount of time to wait for the container to terminate before forcefully removing it (ms|s|m|h). If not specified or '0s' the destroy will not check if all tasks/containers of the service terminate.
	StopGracePeriod *string `pulumi:"stopGracePeriod"`
	// Signal to stop the container
	StopSignal *string `pulumi:"stopSignal"`
	// Sysctls config (Linux only)
	Sysctl map[string]interface{} `pulumi:"sysctl"`
	// The user inside the container
	User *string `pulumi:"user"`
}

type ServiceTaskSpecContainerSpecArgs

type ServiceTaskSpecContainerSpecArgs struct {
	// Arguments to the command
	Args pulumi.StringArrayInput `pulumi:"args"`
	// The command/entrypoint to be run in the image. According to the [docker cli](https://github.com/docker/cli/blob/v20.10.7/cli/command/service/opts.go#L705) the override of the entrypoint is also passed to the `command` property and there is no `entrypoint` attribute in the `ContainerSpec` of the service.
	Commands pulumi.StringArrayInput `pulumi:"commands"`
	// References to zero or more configs that will be exposed to the service
	Configs ServiceTaskSpecContainerSpecConfigArrayInput `pulumi:"configs"`
	// The working directory for commands to run in
	Dir pulumi.StringPtrInput `pulumi:"dir"`
	// Specification for DNS related configurations in resolver configuration file (`resolv.conf`)
	DnsConfig ServiceTaskSpecContainerSpecDnsConfigPtrInput `pulumi:"dnsConfig"`
	// A list of environment variables in the form VAR="value"
	Env pulumi.StringMapInput `pulumi:"env"`
	// A list of additional groups that the container process will run as
	Groups pulumi.StringArrayInput `pulumi:"groups"`
	// A test to perform to check that the container is healthy
	Healthcheck ServiceTaskSpecContainerSpecHealthcheckPtrInput `pulumi:"healthcheck"`
	// The hostname to use for the container, as a valid RFC 1123 hostname
	Hostname pulumi.StringPtrInput `pulumi:"hostname"`
	// A list of hostname/IP mappings to add to the container's hosts file
	Hosts ServiceTaskSpecContainerSpecHostArrayInput `pulumi:"hosts"`
	// The image name to use for the containers of the service, like `nginx:1.17.6`. Also use the data-source or resource of `RemoteImage` with the `repoDigest` or `RegistryImage` with the `name` attribute for this, as shown in the examples.
	Image pulumi.StringInput `pulumi:"image"`
	// Isolation technology of the containers running the service. (Windows only). Defaults to `default`.
	Isolation pulumi.StringPtrInput `pulumi:"isolation"`
	// User-defined key/value metadata
	Labels ServiceTaskSpecContainerSpecLabelArrayInput `pulumi:"labels"`
	// Specification for mounts to be added to containers created as part of the service
	Mounts ServiceTaskSpecContainerSpecMountArrayInput `pulumi:"mounts"`
	// Security options for the container
	Privileges ServiceTaskSpecContainerSpecPrivilegesPtrInput `pulumi:"privileges"`
	// Mount the container's root filesystem as read only
	ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"`
	// References to zero or more secrets that will be exposed to the service
	Secrets ServiceTaskSpecContainerSpecSecretArrayInput `pulumi:"secrets"`
	// Amount of time to wait for the container to terminate before forcefully removing it (ms|s|m|h). If not specified or '0s' the destroy will not check if all tasks/containers of the service terminate.
	StopGracePeriod pulumi.StringPtrInput `pulumi:"stopGracePeriod"`
	// Signal to stop the container
	StopSignal pulumi.StringPtrInput `pulumi:"stopSignal"`
	// Sysctls config (Linux only)
	Sysctl pulumi.MapInput `pulumi:"sysctl"`
	// The user inside the container
	User pulumi.StringPtrInput `pulumi:"user"`
}

func (ServiceTaskSpecContainerSpecArgs) ElementType

func (ServiceTaskSpecContainerSpecArgs) ToServiceTaskSpecContainerSpecOutput

func (i ServiceTaskSpecContainerSpecArgs) ToServiceTaskSpecContainerSpecOutput() ServiceTaskSpecContainerSpecOutput

func (ServiceTaskSpecContainerSpecArgs) ToServiceTaskSpecContainerSpecOutputWithContext

func (i ServiceTaskSpecContainerSpecArgs) ToServiceTaskSpecContainerSpecOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecOutput

func (ServiceTaskSpecContainerSpecArgs) ToServiceTaskSpecContainerSpecPtrOutput

func (i ServiceTaskSpecContainerSpecArgs) ToServiceTaskSpecContainerSpecPtrOutput() ServiceTaskSpecContainerSpecPtrOutput

func (ServiceTaskSpecContainerSpecArgs) ToServiceTaskSpecContainerSpecPtrOutputWithContext

func (i ServiceTaskSpecContainerSpecArgs) ToServiceTaskSpecContainerSpecPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPtrOutput

type ServiceTaskSpecContainerSpecConfig

type ServiceTaskSpecContainerSpecConfig struct {
	// ID of the specific config that we're referencing
	ConfigId string `pulumi:"configId"`
	// Name of the config that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
	ConfigName *string `pulumi:"configName"`
	// Represents the file GID. Defaults to `0`.
	FileGid *string `pulumi:"fileGid"`
	// Represents represents the FileMode of the file. Defaults to `0o444`.
	FileMode *int `pulumi:"fileMode"`
	// Represents the final filename in the filesystem
	FileName string `pulumi:"fileName"`
	// Represents the file UID. Defaults to `0`.
	FileUid *string `pulumi:"fileUid"`
}

type ServiceTaskSpecContainerSpecConfigArgs

type ServiceTaskSpecContainerSpecConfigArgs struct {
	// ID of the specific config that we're referencing
	ConfigId pulumi.StringInput `pulumi:"configId"`
	// Name of the config that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
	ConfigName pulumi.StringPtrInput `pulumi:"configName"`
	// Represents the file GID. Defaults to `0`.
	FileGid pulumi.StringPtrInput `pulumi:"fileGid"`
	// Represents represents the FileMode of the file. Defaults to `0o444`.
	FileMode pulumi.IntPtrInput `pulumi:"fileMode"`
	// Represents the final filename in the filesystem
	FileName pulumi.StringInput `pulumi:"fileName"`
	// Represents the file UID. Defaults to `0`.
	FileUid pulumi.StringPtrInput `pulumi:"fileUid"`
}

func (ServiceTaskSpecContainerSpecConfigArgs) ElementType

func (ServiceTaskSpecContainerSpecConfigArgs) ToServiceTaskSpecContainerSpecConfigOutput

func (i ServiceTaskSpecContainerSpecConfigArgs) ToServiceTaskSpecContainerSpecConfigOutput() ServiceTaskSpecContainerSpecConfigOutput

func (ServiceTaskSpecContainerSpecConfigArgs) ToServiceTaskSpecContainerSpecConfigOutputWithContext

func (i ServiceTaskSpecContainerSpecConfigArgs) ToServiceTaskSpecContainerSpecConfigOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecConfigOutput

type ServiceTaskSpecContainerSpecConfigArray

type ServiceTaskSpecContainerSpecConfigArray []ServiceTaskSpecContainerSpecConfigInput

func (ServiceTaskSpecContainerSpecConfigArray) ElementType

func (ServiceTaskSpecContainerSpecConfigArray) ToServiceTaskSpecContainerSpecConfigArrayOutput

func (i ServiceTaskSpecContainerSpecConfigArray) ToServiceTaskSpecContainerSpecConfigArrayOutput() ServiceTaskSpecContainerSpecConfigArrayOutput

func (ServiceTaskSpecContainerSpecConfigArray) ToServiceTaskSpecContainerSpecConfigArrayOutputWithContext

func (i ServiceTaskSpecContainerSpecConfigArray) ToServiceTaskSpecContainerSpecConfigArrayOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecConfigArrayOutput

type ServiceTaskSpecContainerSpecConfigArrayInput

type ServiceTaskSpecContainerSpecConfigArrayInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecConfigArrayOutput() ServiceTaskSpecContainerSpecConfigArrayOutput
	ToServiceTaskSpecContainerSpecConfigArrayOutputWithContext(context.Context) ServiceTaskSpecContainerSpecConfigArrayOutput
}

ServiceTaskSpecContainerSpecConfigArrayInput is an input type that accepts ServiceTaskSpecContainerSpecConfigArray and ServiceTaskSpecContainerSpecConfigArrayOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecConfigArrayInput` via:

ServiceTaskSpecContainerSpecConfigArray{ ServiceTaskSpecContainerSpecConfigArgs{...} }

type ServiceTaskSpecContainerSpecConfigArrayOutput

type ServiceTaskSpecContainerSpecConfigArrayOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecConfigArrayOutput) ElementType

func (ServiceTaskSpecContainerSpecConfigArrayOutput) Index

func (ServiceTaskSpecContainerSpecConfigArrayOutput) ToServiceTaskSpecContainerSpecConfigArrayOutput

func (o ServiceTaskSpecContainerSpecConfigArrayOutput) ToServiceTaskSpecContainerSpecConfigArrayOutput() ServiceTaskSpecContainerSpecConfigArrayOutput

func (ServiceTaskSpecContainerSpecConfigArrayOutput) ToServiceTaskSpecContainerSpecConfigArrayOutputWithContext

func (o ServiceTaskSpecContainerSpecConfigArrayOutput) ToServiceTaskSpecContainerSpecConfigArrayOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecConfigArrayOutput

type ServiceTaskSpecContainerSpecConfigInput

type ServiceTaskSpecContainerSpecConfigInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecConfigOutput() ServiceTaskSpecContainerSpecConfigOutput
	ToServiceTaskSpecContainerSpecConfigOutputWithContext(context.Context) ServiceTaskSpecContainerSpecConfigOutput
}

ServiceTaskSpecContainerSpecConfigInput is an input type that accepts ServiceTaskSpecContainerSpecConfigArgs and ServiceTaskSpecContainerSpecConfigOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecConfigInput` via:

ServiceTaskSpecContainerSpecConfigArgs{...}

type ServiceTaskSpecContainerSpecConfigOutput

type ServiceTaskSpecContainerSpecConfigOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecConfigOutput) ConfigId

ID of the specific config that we're referencing

func (ServiceTaskSpecContainerSpecConfigOutput) ConfigName

Name of the config that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID

func (ServiceTaskSpecContainerSpecConfigOutput) ElementType

func (ServiceTaskSpecContainerSpecConfigOutput) FileGid

Represents the file GID. Defaults to `0`.

func (ServiceTaskSpecContainerSpecConfigOutput) FileMode

Represents represents the FileMode of the file. Defaults to `0o444`.

func (ServiceTaskSpecContainerSpecConfigOutput) FileName

Represents the final filename in the filesystem

func (ServiceTaskSpecContainerSpecConfigOutput) FileUid

Represents the file UID. Defaults to `0`.

func (ServiceTaskSpecContainerSpecConfigOutput) ToServiceTaskSpecContainerSpecConfigOutput

func (o ServiceTaskSpecContainerSpecConfigOutput) ToServiceTaskSpecContainerSpecConfigOutput() ServiceTaskSpecContainerSpecConfigOutput

func (ServiceTaskSpecContainerSpecConfigOutput) ToServiceTaskSpecContainerSpecConfigOutputWithContext

func (o ServiceTaskSpecContainerSpecConfigOutput) ToServiceTaskSpecContainerSpecConfigOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecConfigOutput

type ServiceTaskSpecContainerSpecDnsConfig

type ServiceTaskSpecContainerSpecDnsConfig struct {
	// The IP addresses of the name servers
	Nameservers []string `pulumi:"nameservers"`
	// A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)
	Options []string `pulumi:"options"`
	// A search list for host-name lookup
	Searches []string `pulumi:"searches"`
}

type ServiceTaskSpecContainerSpecDnsConfigArgs

type ServiceTaskSpecContainerSpecDnsConfigArgs struct {
	// The IP addresses of the name servers
	Nameservers pulumi.StringArrayInput `pulumi:"nameservers"`
	// A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)
	Options pulumi.StringArrayInput `pulumi:"options"`
	// A search list for host-name lookup
	Searches pulumi.StringArrayInput `pulumi:"searches"`
}

func (ServiceTaskSpecContainerSpecDnsConfigArgs) ElementType

func (ServiceTaskSpecContainerSpecDnsConfigArgs) ToServiceTaskSpecContainerSpecDnsConfigOutput

func (i ServiceTaskSpecContainerSpecDnsConfigArgs) ToServiceTaskSpecContainerSpecDnsConfigOutput() ServiceTaskSpecContainerSpecDnsConfigOutput

func (ServiceTaskSpecContainerSpecDnsConfigArgs) ToServiceTaskSpecContainerSpecDnsConfigOutputWithContext

func (i ServiceTaskSpecContainerSpecDnsConfigArgs) ToServiceTaskSpecContainerSpecDnsConfigOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecDnsConfigOutput

func (ServiceTaskSpecContainerSpecDnsConfigArgs) ToServiceTaskSpecContainerSpecDnsConfigPtrOutput

func (i ServiceTaskSpecContainerSpecDnsConfigArgs) ToServiceTaskSpecContainerSpecDnsConfigPtrOutput() ServiceTaskSpecContainerSpecDnsConfigPtrOutput

func (ServiceTaskSpecContainerSpecDnsConfigArgs) ToServiceTaskSpecContainerSpecDnsConfigPtrOutputWithContext

func (i ServiceTaskSpecContainerSpecDnsConfigArgs) ToServiceTaskSpecContainerSpecDnsConfigPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecDnsConfigPtrOutput

type ServiceTaskSpecContainerSpecDnsConfigInput

type ServiceTaskSpecContainerSpecDnsConfigInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecDnsConfigOutput() ServiceTaskSpecContainerSpecDnsConfigOutput
	ToServiceTaskSpecContainerSpecDnsConfigOutputWithContext(context.Context) ServiceTaskSpecContainerSpecDnsConfigOutput
}

ServiceTaskSpecContainerSpecDnsConfigInput is an input type that accepts ServiceTaskSpecContainerSpecDnsConfigArgs and ServiceTaskSpecContainerSpecDnsConfigOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecDnsConfigInput` via:

ServiceTaskSpecContainerSpecDnsConfigArgs{...}

type ServiceTaskSpecContainerSpecDnsConfigOutput

type ServiceTaskSpecContainerSpecDnsConfigOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecDnsConfigOutput) ElementType

func (ServiceTaskSpecContainerSpecDnsConfigOutput) Nameservers

The IP addresses of the name servers

func (ServiceTaskSpecContainerSpecDnsConfigOutput) Options

A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)

func (ServiceTaskSpecContainerSpecDnsConfigOutput) Searches

A search list for host-name lookup

func (ServiceTaskSpecContainerSpecDnsConfigOutput) ToServiceTaskSpecContainerSpecDnsConfigOutput

func (o ServiceTaskSpecContainerSpecDnsConfigOutput) ToServiceTaskSpecContainerSpecDnsConfigOutput() ServiceTaskSpecContainerSpecDnsConfigOutput

func (ServiceTaskSpecContainerSpecDnsConfigOutput) ToServiceTaskSpecContainerSpecDnsConfigOutputWithContext

func (o ServiceTaskSpecContainerSpecDnsConfigOutput) ToServiceTaskSpecContainerSpecDnsConfigOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecDnsConfigOutput

func (ServiceTaskSpecContainerSpecDnsConfigOutput) ToServiceTaskSpecContainerSpecDnsConfigPtrOutput

func (o ServiceTaskSpecContainerSpecDnsConfigOutput) ToServiceTaskSpecContainerSpecDnsConfigPtrOutput() ServiceTaskSpecContainerSpecDnsConfigPtrOutput

func (ServiceTaskSpecContainerSpecDnsConfigOutput) ToServiceTaskSpecContainerSpecDnsConfigPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecDnsConfigOutput) ToServiceTaskSpecContainerSpecDnsConfigPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecDnsConfigPtrOutput

type ServiceTaskSpecContainerSpecDnsConfigPtrInput

type ServiceTaskSpecContainerSpecDnsConfigPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecDnsConfigPtrOutput() ServiceTaskSpecContainerSpecDnsConfigPtrOutput
	ToServiceTaskSpecContainerSpecDnsConfigPtrOutputWithContext(context.Context) ServiceTaskSpecContainerSpecDnsConfigPtrOutput
}

ServiceTaskSpecContainerSpecDnsConfigPtrInput is an input type that accepts ServiceTaskSpecContainerSpecDnsConfigArgs, ServiceTaskSpecContainerSpecDnsConfigPtr and ServiceTaskSpecContainerSpecDnsConfigPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecDnsConfigPtrInput` via:

        ServiceTaskSpecContainerSpecDnsConfigArgs{...}

or:

        nil

type ServiceTaskSpecContainerSpecDnsConfigPtrOutput

type ServiceTaskSpecContainerSpecDnsConfigPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecDnsConfigPtrOutput) Elem

func (ServiceTaskSpecContainerSpecDnsConfigPtrOutput) ElementType

func (ServiceTaskSpecContainerSpecDnsConfigPtrOutput) Nameservers

The IP addresses of the name servers

func (ServiceTaskSpecContainerSpecDnsConfigPtrOutput) Options

A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)

func (ServiceTaskSpecContainerSpecDnsConfigPtrOutput) Searches

A search list for host-name lookup

func (ServiceTaskSpecContainerSpecDnsConfigPtrOutput) ToServiceTaskSpecContainerSpecDnsConfigPtrOutput

func (o ServiceTaskSpecContainerSpecDnsConfigPtrOutput) ToServiceTaskSpecContainerSpecDnsConfigPtrOutput() ServiceTaskSpecContainerSpecDnsConfigPtrOutput

func (ServiceTaskSpecContainerSpecDnsConfigPtrOutput) ToServiceTaskSpecContainerSpecDnsConfigPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecDnsConfigPtrOutput) ToServiceTaskSpecContainerSpecDnsConfigPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecDnsConfigPtrOutput

type ServiceTaskSpecContainerSpecHealthcheck

type ServiceTaskSpecContainerSpecHealthcheck struct {
	// Time between running the check (ms|s|m|h). Defaults to `0s`.
	Interval *string `pulumi:"interval"`
	// Consecutive failures needed to report unhealthy. Defaults to `0`
	Retries *int `pulumi:"retries"`
	// Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
	StartPeriod *string `pulumi:"startPeriod"`
	// The test to perform as list
	Tests []string `pulumi:"tests"`
	// Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
	Timeout *string `pulumi:"timeout"`
}

type ServiceTaskSpecContainerSpecHealthcheckArgs

type ServiceTaskSpecContainerSpecHealthcheckArgs struct {
	// Time between running the check (ms|s|m|h). Defaults to `0s`.
	Interval pulumi.StringPtrInput `pulumi:"interval"`
	// Consecutive failures needed to report unhealthy. Defaults to `0`
	Retries pulumi.IntPtrInput `pulumi:"retries"`
	// Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.
	StartPeriod pulumi.StringPtrInput `pulumi:"startPeriod"`
	// The test to perform as list
	Tests pulumi.StringArrayInput `pulumi:"tests"`
	// Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.
	Timeout pulumi.StringPtrInput `pulumi:"timeout"`
}

func (ServiceTaskSpecContainerSpecHealthcheckArgs) ElementType

func (ServiceTaskSpecContainerSpecHealthcheckArgs) ToServiceTaskSpecContainerSpecHealthcheckOutput

func (i ServiceTaskSpecContainerSpecHealthcheckArgs) ToServiceTaskSpecContainerSpecHealthcheckOutput() ServiceTaskSpecContainerSpecHealthcheckOutput

func (ServiceTaskSpecContainerSpecHealthcheckArgs) ToServiceTaskSpecContainerSpecHealthcheckOutputWithContext

func (i ServiceTaskSpecContainerSpecHealthcheckArgs) ToServiceTaskSpecContainerSpecHealthcheckOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecHealthcheckOutput

func (ServiceTaskSpecContainerSpecHealthcheckArgs) ToServiceTaskSpecContainerSpecHealthcheckPtrOutput

func (i ServiceTaskSpecContainerSpecHealthcheckArgs) ToServiceTaskSpecContainerSpecHealthcheckPtrOutput() ServiceTaskSpecContainerSpecHealthcheckPtrOutput

func (ServiceTaskSpecContainerSpecHealthcheckArgs) ToServiceTaskSpecContainerSpecHealthcheckPtrOutputWithContext

func (i ServiceTaskSpecContainerSpecHealthcheckArgs) ToServiceTaskSpecContainerSpecHealthcheckPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecHealthcheckPtrOutput

type ServiceTaskSpecContainerSpecHealthcheckInput

type ServiceTaskSpecContainerSpecHealthcheckInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecHealthcheckOutput() ServiceTaskSpecContainerSpecHealthcheckOutput
	ToServiceTaskSpecContainerSpecHealthcheckOutputWithContext(context.Context) ServiceTaskSpecContainerSpecHealthcheckOutput
}

ServiceTaskSpecContainerSpecHealthcheckInput is an input type that accepts ServiceTaskSpecContainerSpecHealthcheckArgs and ServiceTaskSpecContainerSpecHealthcheckOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecHealthcheckInput` via:

ServiceTaskSpecContainerSpecHealthcheckArgs{...}

type ServiceTaskSpecContainerSpecHealthcheckOutput

type ServiceTaskSpecContainerSpecHealthcheckOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecHealthcheckOutput) ElementType

func (ServiceTaskSpecContainerSpecHealthcheckOutput) Interval

Time between running the check (ms|s|m|h). Defaults to `0s`.

func (ServiceTaskSpecContainerSpecHealthcheckOutput) Retries

Consecutive failures needed to report unhealthy. Defaults to `0`

func (ServiceTaskSpecContainerSpecHealthcheckOutput) StartPeriod

Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.

func (ServiceTaskSpecContainerSpecHealthcheckOutput) Tests

The test to perform as list

func (ServiceTaskSpecContainerSpecHealthcheckOutput) Timeout

Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.

func (ServiceTaskSpecContainerSpecHealthcheckOutput) ToServiceTaskSpecContainerSpecHealthcheckOutput

func (o ServiceTaskSpecContainerSpecHealthcheckOutput) ToServiceTaskSpecContainerSpecHealthcheckOutput() ServiceTaskSpecContainerSpecHealthcheckOutput

func (ServiceTaskSpecContainerSpecHealthcheckOutput) ToServiceTaskSpecContainerSpecHealthcheckOutputWithContext

func (o ServiceTaskSpecContainerSpecHealthcheckOutput) ToServiceTaskSpecContainerSpecHealthcheckOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecHealthcheckOutput

func (ServiceTaskSpecContainerSpecHealthcheckOutput) ToServiceTaskSpecContainerSpecHealthcheckPtrOutput

func (o ServiceTaskSpecContainerSpecHealthcheckOutput) ToServiceTaskSpecContainerSpecHealthcheckPtrOutput() ServiceTaskSpecContainerSpecHealthcheckPtrOutput

func (ServiceTaskSpecContainerSpecHealthcheckOutput) ToServiceTaskSpecContainerSpecHealthcheckPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecHealthcheckOutput) ToServiceTaskSpecContainerSpecHealthcheckPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecHealthcheckPtrOutput

type ServiceTaskSpecContainerSpecHealthcheckPtrInput

type ServiceTaskSpecContainerSpecHealthcheckPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecHealthcheckPtrOutput() ServiceTaskSpecContainerSpecHealthcheckPtrOutput
	ToServiceTaskSpecContainerSpecHealthcheckPtrOutputWithContext(context.Context) ServiceTaskSpecContainerSpecHealthcheckPtrOutput
}

ServiceTaskSpecContainerSpecHealthcheckPtrInput is an input type that accepts ServiceTaskSpecContainerSpecHealthcheckArgs, ServiceTaskSpecContainerSpecHealthcheckPtr and ServiceTaskSpecContainerSpecHealthcheckPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecHealthcheckPtrInput` via:

        ServiceTaskSpecContainerSpecHealthcheckArgs{...}

or:

        nil

type ServiceTaskSpecContainerSpecHealthcheckPtrOutput

type ServiceTaskSpecContainerSpecHealthcheckPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecHealthcheckPtrOutput) Elem

func (ServiceTaskSpecContainerSpecHealthcheckPtrOutput) ElementType

func (ServiceTaskSpecContainerSpecHealthcheckPtrOutput) Interval

Time between running the check (ms|s|m|h). Defaults to `0s`.

func (ServiceTaskSpecContainerSpecHealthcheckPtrOutput) Retries

Consecutive failures needed to report unhealthy. Defaults to `0`

func (ServiceTaskSpecContainerSpecHealthcheckPtrOutput) StartPeriod

Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.

func (ServiceTaskSpecContainerSpecHealthcheckPtrOutput) Tests

The test to perform as list

func (ServiceTaskSpecContainerSpecHealthcheckPtrOutput) Timeout

Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.

func (ServiceTaskSpecContainerSpecHealthcheckPtrOutput) ToServiceTaskSpecContainerSpecHealthcheckPtrOutput

func (o ServiceTaskSpecContainerSpecHealthcheckPtrOutput) ToServiceTaskSpecContainerSpecHealthcheckPtrOutput() ServiceTaskSpecContainerSpecHealthcheckPtrOutput

func (ServiceTaskSpecContainerSpecHealthcheckPtrOutput) ToServiceTaskSpecContainerSpecHealthcheckPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecHealthcheckPtrOutput) ToServiceTaskSpecContainerSpecHealthcheckPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecHealthcheckPtrOutput

type ServiceTaskSpecContainerSpecHost

type ServiceTaskSpecContainerSpecHost struct {
	// The name of the host
	Host string `pulumi:"host"`
	// The ip of the host
	Ip string `pulumi:"ip"`
}

type ServiceTaskSpecContainerSpecHostArgs

type ServiceTaskSpecContainerSpecHostArgs struct {
	// The name of the host
	Host pulumi.StringInput `pulumi:"host"`
	// The ip of the host
	Ip pulumi.StringInput `pulumi:"ip"`
}

func (ServiceTaskSpecContainerSpecHostArgs) ElementType

func (ServiceTaskSpecContainerSpecHostArgs) ToServiceTaskSpecContainerSpecHostOutput

func (i ServiceTaskSpecContainerSpecHostArgs) ToServiceTaskSpecContainerSpecHostOutput() ServiceTaskSpecContainerSpecHostOutput

func (ServiceTaskSpecContainerSpecHostArgs) ToServiceTaskSpecContainerSpecHostOutputWithContext

func (i ServiceTaskSpecContainerSpecHostArgs) ToServiceTaskSpecContainerSpecHostOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecHostOutput

type ServiceTaskSpecContainerSpecHostArray

type ServiceTaskSpecContainerSpecHostArray []ServiceTaskSpecContainerSpecHostInput

func (ServiceTaskSpecContainerSpecHostArray) ElementType

func (ServiceTaskSpecContainerSpecHostArray) ToServiceTaskSpecContainerSpecHostArrayOutput

func (i ServiceTaskSpecContainerSpecHostArray) ToServiceTaskSpecContainerSpecHostArrayOutput() ServiceTaskSpecContainerSpecHostArrayOutput

func (ServiceTaskSpecContainerSpecHostArray) ToServiceTaskSpecContainerSpecHostArrayOutputWithContext

func (i ServiceTaskSpecContainerSpecHostArray) ToServiceTaskSpecContainerSpecHostArrayOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecHostArrayOutput

type ServiceTaskSpecContainerSpecHostArrayInput

type ServiceTaskSpecContainerSpecHostArrayInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecHostArrayOutput() ServiceTaskSpecContainerSpecHostArrayOutput
	ToServiceTaskSpecContainerSpecHostArrayOutputWithContext(context.Context) ServiceTaskSpecContainerSpecHostArrayOutput
}

ServiceTaskSpecContainerSpecHostArrayInput is an input type that accepts ServiceTaskSpecContainerSpecHostArray and ServiceTaskSpecContainerSpecHostArrayOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecHostArrayInput` via:

ServiceTaskSpecContainerSpecHostArray{ ServiceTaskSpecContainerSpecHostArgs{...} }

type ServiceTaskSpecContainerSpecHostArrayOutput

type ServiceTaskSpecContainerSpecHostArrayOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecHostArrayOutput) ElementType

func (ServiceTaskSpecContainerSpecHostArrayOutput) Index

func (ServiceTaskSpecContainerSpecHostArrayOutput) ToServiceTaskSpecContainerSpecHostArrayOutput

func (o ServiceTaskSpecContainerSpecHostArrayOutput) ToServiceTaskSpecContainerSpecHostArrayOutput() ServiceTaskSpecContainerSpecHostArrayOutput

func (ServiceTaskSpecContainerSpecHostArrayOutput) ToServiceTaskSpecContainerSpecHostArrayOutputWithContext

func (o ServiceTaskSpecContainerSpecHostArrayOutput) ToServiceTaskSpecContainerSpecHostArrayOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecHostArrayOutput

type ServiceTaskSpecContainerSpecHostInput

type ServiceTaskSpecContainerSpecHostInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecHostOutput() ServiceTaskSpecContainerSpecHostOutput
	ToServiceTaskSpecContainerSpecHostOutputWithContext(context.Context) ServiceTaskSpecContainerSpecHostOutput
}

ServiceTaskSpecContainerSpecHostInput is an input type that accepts ServiceTaskSpecContainerSpecHostArgs and ServiceTaskSpecContainerSpecHostOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecHostInput` via:

ServiceTaskSpecContainerSpecHostArgs{...}

type ServiceTaskSpecContainerSpecHostOutput

type ServiceTaskSpecContainerSpecHostOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecHostOutput) ElementType

func (ServiceTaskSpecContainerSpecHostOutput) Host

The name of the host

func (ServiceTaskSpecContainerSpecHostOutput) Ip

The ip of the host

func (ServiceTaskSpecContainerSpecHostOutput) ToServiceTaskSpecContainerSpecHostOutput

func (o ServiceTaskSpecContainerSpecHostOutput) ToServiceTaskSpecContainerSpecHostOutput() ServiceTaskSpecContainerSpecHostOutput

func (ServiceTaskSpecContainerSpecHostOutput) ToServiceTaskSpecContainerSpecHostOutputWithContext

func (o ServiceTaskSpecContainerSpecHostOutput) ToServiceTaskSpecContainerSpecHostOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecHostOutput

type ServiceTaskSpecContainerSpecInput

type ServiceTaskSpecContainerSpecInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecOutput() ServiceTaskSpecContainerSpecOutput
	ToServiceTaskSpecContainerSpecOutputWithContext(context.Context) ServiceTaskSpecContainerSpecOutput
}

ServiceTaskSpecContainerSpecInput is an input type that accepts ServiceTaskSpecContainerSpecArgs and ServiceTaskSpecContainerSpecOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecInput` via:

ServiceTaskSpecContainerSpecArgs{...}

type ServiceTaskSpecContainerSpecLabel

type ServiceTaskSpecContainerSpecLabel struct {
	// Name of the label
	Label string `pulumi:"label"`
	// Value of the label
	Value string `pulumi:"value"`
}

type ServiceTaskSpecContainerSpecLabelArgs

type ServiceTaskSpecContainerSpecLabelArgs struct {
	// Name of the label
	Label pulumi.StringInput `pulumi:"label"`
	// Value of the label
	Value pulumi.StringInput `pulumi:"value"`
}

func (ServiceTaskSpecContainerSpecLabelArgs) ElementType

func (ServiceTaskSpecContainerSpecLabelArgs) ToServiceTaskSpecContainerSpecLabelOutput

func (i ServiceTaskSpecContainerSpecLabelArgs) ToServiceTaskSpecContainerSpecLabelOutput() ServiceTaskSpecContainerSpecLabelOutput

func (ServiceTaskSpecContainerSpecLabelArgs) ToServiceTaskSpecContainerSpecLabelOutputWithContext

func (i ServiceTaskSpecContainerSpecLabelArgs) ToServiceTaskSpecContainerSpecLabelOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecLabelOutput

type ServiceTaskSpecContainerSpecLabelArray

type ServiceTaskSpecContainerSpecLabelArray []ServiceTaskSpecContainerSpecLabelInput

func (ServiceTaskSpecContainerSpecLabelArray) ElementType

func (ServiceTaskSpecContainerSpecLabelArray) ToServiceTaskSpecContainerSpecLabelArrayOutput

func (i ServiceTaskSpecContainerSpecLabelArray) ToServiceTaskSpecContainerSpecLabelArrayOutput() ServiceTaskSpecContainerSpecLabelArrayOutput

func (ServiceTaskSpecContainerSpecLabelArray) ToServiceTaskSpecContainerSpecLabelArrayOutputWithContext

func (i ServiceTaskSpecContainerSpecLabelArray) ToServiceTaskSpecContainerSpecLabelArrayOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecLabelArrayOutput

type ServiceTaskSpecContainerSpecLabelArrayInput

type ServiceTaskSpecContainerSpecLabelArrayInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecLabelArrayOutput() ServiceTaskSpecContainerSpecLabelArrayOutput
	ToServiceTaskSpecContainerSpecLabelArrayOutputWithContext(context.Context) ServiceTaskSpecContainerSpecLabelArrayOutput
}

ServiceTaskSpecContainerSpecLabelArrayInput is an input type that accepts ServiceTaskSpecContainerSpecLabelArray and ServiceTaskSpecContainerSpecLabelArrayOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecLabelArrayInput` via:

ServiceTaskSpecContainerSpecLabelArray{ ServiceTaskSpecContainerSpecLabelArgs{...} }

type ServiceTaskSpecContainerSpecLabelArrayOutput

type ServiceTaskSpecContainerSpecLabelArrayOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecLabelArrayOutput) ElementType

func (ServiceTaskSpecContainerSpecLabelArrayOutput) Index

func (ServiceTaskSpecContainerSpecLabelArrayOutput) ToServiceTaskSpecContainerSpecLabelArrayOutput

func (o ServiceTaskSpecContainerSpecLabelArrayOutput) ToServiceTaskSpecContainerSpecLabelArrayOutput() ServiceTaskSpecContainerSpecLabelArrayOutput

func (ServiceTaskSpecContainerSpecLabelArrayOutput) ToServiceTaskSpecContainerSpecLabelArrayOutputWithContext

func (o ServiceTaskSpecContainerSpecLabelArrayOutput) ToServiceTaskSpecContainerSpecLabelArrayOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecLabelArrayOutput

type ServiceTaskSpecContainerSpecLabelInput

type ServiceTaskSpecContainerSpecLabelInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecLabelOutput() ServiceTaskSpecContainerSpecLabelOutput
	ToServiceTaskSpecContainerSpecLabelOutputWithContext(context.Context) ServiceTaskSpecContainerSpecLabelOutput
}

ServiceTaskSpecContainerSpecLabelInput is an input type that accepts ServiceTaskSpecContainerSpecLabelArgs and ServiceTaskSpecContainerSpecLabelOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecLabelInput` via:

ServiceTaskSpecContainerSpecLabelArgs{...}

type ServiceTaskSpecContainerSpecLabelOutput

type ServiceTaskSpecContainerSpecLabelOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecLabelOutput) ElementType

func (ServiceTaskSpecContainerSpecLabelOutput) Label

Name of the label

func (ServiceTaskSpecContainerSpecLabelOutput) ToServiceTaskSpecContainerSpecLabelOutput

func (o ServiceTaskSpecContainerSpecLabelOutput) ToServiceTaskSpecContainerSpecLabelOutput() ServiceTaskSpecContainerSpecLabelOutput

func (ServiceTaskSpecContainerSpecLabelOutput) ToServiceTaskSpecContainerSpecLabelOutputWithContext

func (o ServiceTaskSpecContainerSpecLabelOutput) ToServiceTaskSpecContainerSpecLabelOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecLabelOutput

func (ServiceTaskSpecContainerSpecLabelOutput) Value

Value of the label

type ServiceTaskSpecContainerSpecMount

type ServiceTaskSpecContainerSpecMount struct {
	// Optional configuration for the bind type
	BindOptions *ServiceTaskSpecContainerSpecMountBindOptions `pulumi:"bindOptions"`
	// Whether the mount should be read-only
	ReadOnly *bool `pulumi:"readOnly"`
	// Mount source (e.g. a volume name, a host path)
	Source *string `pulumi:"source"`
	// Container path
	Target string `pulumi:"target"`
	// Optional configuration for the tmpfs type
	TmpfsOptions *ServiceTaskSpecContainerSpecMountTmpfsOptions `pulumi:"tmpfsOptions"`
	// The mount type
	Type string `pulumi:"type"`
	// Optional configuration for the volume type
	VolumeOptions *ServiceTaskSpecContainerSpecMountVolumeOptions `pulumi:"volumeOptions"`
}

type ServiceTaskSpecContainerSpecMountArgs

type ServiceTaskSpecContainerSpecMountArgs struct {
	// Optional configuration for the bind type
	BindOptions ServiceTaskSpecContainerSpecMountBindOptionsPtrInput `pulumi:"bindOptions"`
	// Whether the mount should be read-only
	ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"`
	// Mount source (e.g. a volume name, a host path)
	Source pulumi.StringPtrInput `pulumi:"source"`
	// Container path
	Target pulumi.StringInput `pulumi:"target"`
	// Optional configuration for the tmpfs type
	TmpfsOptions ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrInput `pulumi:"tmpfsOptions"`
	// The mount type
	Type pulumi.StringInput `pulumi:"type"`
	// Optional configuration for the volume type
	VolumeOptions ServiceTaskSpecContainerSpecMountVolumeOptionsPtrInput `pulumi:"volumeOptions"`
}

func (ServiceTaskSpecContainerSpecMountArgs) ElementType

func (ServiceTaskSpecContainerSpecMountArgs) ToServiceTaskSpecContainerSpecMountOutput

func (i ServiceTaskSpecContainerSpecMountArgs) ToServiceTaskSpecContainerSpecMountOutput() ServiceTaskSpecContainerSpecMountOutput

func (ServiceTaskSpecContainerSpecMountArgs) ToServiceTaskSpecContainerSpecMountOutputWithContext

func (i ServiceTaskSpecContainerSpecMountArgs) ToServiceTaskSpecContainerSpecMountOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountOutput

type ServiceTaskSpecContainerSpecMountArray

type ServiceTaskSpecContainerSpecMountArray []ServiceTaskSpecContainerSpecMountInput

func (ServiceTaskSpecContainerSpecMountArray) ElementType

func (ServiceTaskSpecContainerSpecMountArray) ToServiceTaskSpecContainerSpecMountArrayOutput

func (i ServiceTaskSpecContainerSpecMountArray) ToServiceTaskSpecContainerSpecMountArrayOutput() ServiceTaskSpecContainerSpecMountArrayOutput

func (ServiceTaskSpecContainerSpecMountArray) ToServiceTaskSpecContainerSpecMountArrayOutputWithContext

func (i ServiceTaskSpecContainerSpecMountArray) ToServiceTaskSpecContainerSpecMountArrayOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountArrayOutput

type ServiceTaskSpecContainerSpecMountArrayInput

type ServiceTaskSpecContainerSpecMountArrayInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecMountArrayOutput() ServiceTaskSpecContainerSpecMountArrayOutput
	ToServiceTaskSpecContainerSpecMountArrayOutputWithContext(context.Context) ServiceTaskSpecContainerSpecMountArrayOutput
}

ServiceTaskSpecContainerSpecMountArrayInput is an input type that accepts ServiceTaskSpecContainerSpecMountArray and ServiceTaskSpecContainerSpecMountArrayOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecMountArrayInput` via:

ServiceTaskSpecContainerSpecMountArray{ ServiceTaskSpecContainerSpecMountArgs{...} }

type ServiceTaskSpecContainerSpecMountArrayOutput

type ServiceTaskSpecContainerSpecMountArrayOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecMountArrayOutput) ElementType

func (ServiceTaskSpecContainerSpecMountArrayOutput) Index

func (ServiceTaskSpecContainerSpecMountArrayOutput) ToServiceTaskSpecContainerSpecMountArrayOutput

func (o ServiceTaskSpecContainerSpecMountArrayOutput) ToServiceTaskSpecContainerSpecMountArrayOutput() ServiceTaskSpecContainerSpecMountArrayOutput

func (ServiceTaskSpecContainerSpecMountArrayOutput) ToServiceTaskSpecContainerSpecMountArrayOutputWithContext

func (o ServiceTaskSpecContainerSpecMountArrayOutput) ToServiceTaskSpecContainerSpecMountArrayOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountArrayOutput

type ServiceTaskSpecContainerSpecMountBindOptions

type ServiceTaskSpecContainerSpecMountBindOptions struct {
	// Bind propagation refers to whether or not mounts created within a given bind-mount or named volume can be propagated to replicas of that mount. See the [docs](https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation) for details. Defaults to `rprivate`
	Propagation *string `pulumi:"propagation"`
}

type ServiceTaskSpecContainerSpecMountBindOptionsArgs

type ServiceTaskSpecContainerSpecMountBindOptionsArgs struct {
	// Bind propagation refers to whether or not mounts created within a given bind-mount or named volume can be propagated to replicas of that mount. See the [docs](https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation) for details. Defaults to `rprivate`
	Propagation pulumi.StringPtrInput `pulumi:"propagation"`
}

func (ServiceTaskSpecContainerSpecMountBindOptionsArgs) ElementType

func (ServiceTaskSpecContainerSpecMountBindOptionsArgs) ToServiceTaskSpecContainerSpecMountBindOptionsOutput

func (i ServiceTaskSpecContainerSpecMountBindOptionsArgs) ToServiceTaskSpecContainerSpecMountBindOptionsOutput() ServiceTaskSpecContainerSpecMountBindOptionsOutput

func (ServiceTaskSpecContainerSpecMountBindOptionsArgs) ToServiceTaskSpecContainerSpecMountBindOptionsOutputWithContext

func (i ServiceTaskSpecContainerSpecMountBindOptionsArgs) ToServiceTaskSpecContainerSpecMountBindOptionsOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountBindOptionsOutput

func (ServiceTaskSpecContainerSpecMountBindOptionsArgs) ToServiceTaskSpecContainerSpecMountBindOptionsPtrOutput

func (i ServiceTaskSpecContainerSpecMountBindOptionsArgs) ToServiceTaskSpecContainerSpecMountBindOptionsPtrOutput() ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput

func (ServiceTaskSpecContainerSpecMountBindOptionsArgs) ToServiceTaskSpecContainerSpecMountBindOptionsPtrOutputWithContext

func (i ServiceTaskSpecContainerSpecMountBindOptionsArgs) ToServiceTaskSpecContainerSpecMountBindOptionsPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput

type ServiceTaskSpecContainerSpecMountBindOptionsInput

type ServiceTaskSpecContainerSpecMountBindOptionsInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecMountBindOptionsOutput() ServiceTaskSpecContainerSpecMountBindOptionsOutput
	ToServiceTaskSpecContainerSpecMountBindOptionsOutputWithContext(context.Context) ServiceTaskSpecContainerSpecMountBindOptionsOutput
}

ServiceTaskSpecContainerSpecMountBindOptionsInput is an input type that accepts ServiceTaskSpecContainerSpecMountBindOptionsArgs and ServiceTaskSpecContainerSpecMountBindOptionsOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecMountBindOptionsInput` via:

ServiceTaskSpecContainerSpecMountBindOptionsArgs{...}

type ServiceTaskSpecContainerSpecMountBindOptionsOutput

type ServiceTaskSpecContainerSpecMountBindOptionsOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecMountBindOptionsOutput) ElementType

func (ServiceTaskSpecContainerSpecMountBindOptionsOutput) Propagation

Bind propagation refers to whether or not mounts created within a given bind-mount or named volume can be propagated to replicas of that mount. See the [docs](https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation) for details. Defaults to `rprivate`

func (ServiceTaskSpecContainerSpecMountBindOptionsOutput) ToServiceTaskSpecContainerSpecMountBindOptionsOutput

func (o ServiceTaskSpecContainerSpecMountBindOptionsOutput) ToServiceTaskSpecContainerSpecMountBindOptionsOutput() ServiceTaskSpecContainerSpecMountBindOptionsOutput

func (ServiceTaskSpecContainerSpecMountBindOptionsOutput) ToServiceTaskSpecContainerSpecMountBindOptionsOutputWithContext

func (o ServiceTaskSpecContainerSpecMountBindOptionsOutput) ToServiceTaskSpecContainerSpecMountBindOptionsOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountBindOptionsOutput

func (ServiceTaskSpecContainerSpecMountBindOptionsOutput) ToServiceTaskSpecContainerSpecMountBindOptionsPtrOutput

func (o ServiceTaskSpecContainerSpecMountBindOptionsOutput) ToServiceTaskSpecContainerSpecMountBindOptionsPtrOutput() ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput

func (ServiceTaskSpecContainerSpecMountBindOptionsOutput) ToServiceTaskSpecContainerSpecMountBindOptionsPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecMountBindOptionsOutput) ToServiceTaskSpecContainerSpecMountBindOptionsPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput

type ServiceTaskSpecContainerSpecMountBindOptionsPtrInput

type ServiceTaskSpecContainerSpecMountBindOptionsPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecMountBindOptionsPtrOutput() ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput
	ToServiceTaskSpecContainerSpecMountBindOptionsPtrOutputWithContext(context.Context) ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput
}

ServiceTaskSpecContainerSpecMountBindOptionsPtrInput is an input type that accepts ServiceTaskSpecContainerSpecMountBindOptionsArgs, ServiceTaskSpecContainerSpecMountBindOptionsPtr and ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecMountBindOptionsPtrInput` via:

        ServiceTaskSpecContainerSpecMountBindOptionsArgs{...}

or:

        nil

type ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput

type ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput) Elem

func (ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput) ElementType

func (ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput) Propagation

Bind propagation refers to whether or not mounts created within a given bind-mount or named volume can be propagated to replicas of that mount. See the [docs](https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation) for details. Defaults to `rprivate`

func (ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput) ToServiceTaskSpecContainerSpecMountBindOptionsPtrOutput

func (ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput) ToServiceTaskSpecContainerSpecMountBindOptionsPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput) ToServiceTaskSpecContainerSpecMountBindOptionsPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountBindOptionsPtrOutput

type ServiceTaskSpecContainerSpecMountInput

type ServiceTaskSpecContainerSpecMountInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecMountOutput() ServiceTaskSpecContainerSpecMountOutput
	ToServiceTaskSpecContainerSpecMountOutputWithContext(context.Context) ServiceTaskSpecContainerSpecMountOutput
}

ServiceTaskSpecContainerSpecMountInput is an input type that accepts ServiceTaskSpecContainerSpecMountArgs and ServiceTaskSpecContainerSpecMountOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecMountInput` via:

ServiceTaskSpecContainerSpecMountArgs{...}

type ServiceTaskSpecContainerSpecMountOutput

type ServiceTaskSpecContainerSpecMountOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecMountOutput) BindOptions

Optional configuration for the bind type

func (ServiceTaskSpecContainerSpecMountOutput) ElementType

func (ServiceTaskSpecContainerSpecMountOutput) ReadOnly

Whether the mount should be read-only

func (ServiceTaskSpecContainerSpecMountOutput) Source

Mount source (e.g. a volume name, a host path)

func (ServiceTaskSpecContainerSpecMountOutput) Target

Container path

func (ServiceTaskSpecContainerSpecMountOutput) TmpfsOptions

Optional configuration for the tmpfs type

func (ServiceTaskSpecContainerSpecMountOutput) ToServiceTaskSpecContainerSpecMountOutput

func (o ServiceTaskSpecContainerSpecMountOutput) ToServiceTaskSpecContainerSpecMountOutput() ServiceTaskSpecContainerSpecMountOutput

func (ServiceTaskSpecContainerSpecMountOutput) ToServiceTaskSpecContainerSpecMountOutputWithContext

func (o ServiceTaskSpecContainerSpecMountOutput) ToServiceTaskSpecContainerSpecMountOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountOutput

func (ServiceTaskSpecContainerSpecMountOutput) Type

The mount type

func (ServiceTaskSpecContainerSpecMountOutput) VolumeOptions

Optional configuration for the volume type

type ServiceTaskSpecContainerSpecMountTmpfsOptions

type ServiceTaskSpecContainerSpecMountTmpfsOptions struct {
	// The permission mode for the tmpfs mount in an integer
	Mode *int `pulumi:"mode"`
	// The size for the tmpfs mount in bytes
	SizeBytes *int `pulumi:"sizeBytes"`
}

type ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs

type ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs struct {
	// The permission mode for the tmpfs mount in an integer
	Mode pulumi.IntPtrInput `pulumi:"mode"`
	// The size for the tmpfs mount in bytes
	SizeBytes pulumi.IntPtrInput `pulumi:"sizeBytes"`
}

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs) ElementType

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs) ToServiceTaskSpecContainerSpecMountTmpfsOptionsOutput

func (i ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs) ToServiceTaskSpecContainerSpecMountTmpfsOptionsOutput() ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs) ToServiceTaskSpecContainerSpecMountTmpfsOptionsOutputWithContext

func (i ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs) ToServiceTaskSpecContainerSpecMountTmpfsOptionsOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs) ToServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput

func (i ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs) ToServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput() ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs) ToServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutputWithContext

func (i ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs) ToServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput

type ServiceTaskSpecContainerSpecMountTmpfsOptionsInput

type ServiceTaskSpecContainerSpecMountTmpfsOptionsInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecMountTmpfsOptionsOutput() ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput
	ToServiceTaskSpecContainerSpecMountTmpfsOptionsOutputWithContext(context.Context) ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput
}

ServiceTaskSpecContainerSpecMountTmpfsOptionsInput is an input type that accepts ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs and ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecMountTmpfsOptionsInput` via:

ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs{...}

type ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput

type ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput) ElementType

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput) Mode

The permission mode for the tmpfs mount in an integer

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput) SizeBytes

The size for the tmpfs mount in bytes

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput) ToServiceTaskSpecContainerSpecMountTmpfsOptionsOutput

func (o ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput) ToServiceTaskSpecContainerSpecMountTmpfsOptionsOutput() ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput) ToServiceTaskSpecContainerSpecMountTmpfsOptionsOutputWithContext

func (o ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput) ToServiceTaskSpecContainerSpecMountTmpfsOptionsOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput) ToServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput

func (o ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput) ToServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput() ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput) ToServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecMountTmpfsOptionsOutput) ToServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput

type ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrInput

type ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput() ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput
	ToServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutputWithContext(context.Context) ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput
}

ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrInput is an input type that accepts ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs, ServiceTaskSpecContainerSpecMountTmpfsOptionsPtr and ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrInput` via:

        ServiceTaskSpecContainerSpecMountTmpfsOptionsArgs{...}

or:

        nil

type ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput

type ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput) Elem

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput) ElementType

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput) Mode

The permission mode for the tmpfs mount in an integer

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput) SizeBytes

The size for the tmpfs mount in bytes

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput) ToServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput

func (ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput) ToServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput) ToServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountTmpfsOptionsPtrOutput

type ServiceTaskSpecContainerSpecMountVolumeOptions

type ServiceTaskSpecContainerSpecMountVolumeOptions struct {
	// Name of the driver to use to create the volume
	DriverName *string `pulumi:"driverName"`
	// key/value map of driver specific options
	DriverOptions map[string]string `pulumi:"driverOptions"`
	// User-defined key/value metadata
	Labels []ServiceTaskSpecContainerSpecMountVolumeOptionsLabel `pulumi:"labels"`
	// Populate volume with data from the target
	NoCopy *bool `pulumi:"noCopy"`
}

type ServiceTaskSpecContainerSpecMountVolumeOptionsArgs

type ServiceTaskSpecContainerSpecMountVolumeOptionsArgs struct {
	// Name of the driver to use to create the volume
	DriverName pulumi.StringPtrInput `pulumi:"driverName"`
	// key/value map of driver specific options
	DriverOptions pulumi.StringMapInput `pulumi:"driverOptions"`
	// User-defined key/value metadata
	Labels ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayInput `pulumi:"labels"`
	// Populate volume with data from the target
	NoCopy pulumi.BoolPtrInput `pulumi:"noCopy"`
}

func (ServiceTaskSpecContainerSpecMountVolumeOptionsArgs) ElementType

func (ServiceTaskSpecContainerSpecMountVolumeOptionsArgs) ToServiceTaskSpecContainerSpecMountVolumeOptionsOutput

func (i ServiceTaskSpecContainerSpecMountVolumeOptionsArgs) ToServiceTaskSpecContainerSpecMountVolumeOptionsOutput() ServiceTaskSpecContainerSpecMountVolumeOptionsOutput

func (ServiceTaskSpecContainerSpecMountVolumeOptionsArgs) ToServiceTaskSpecContainerSpecMountVolumeOptionsOutputWithContext

func (i ServiceTaskSpecContainerSpecMountVolumeOptionsArgs) ToServiceTaskSpecContainerSpecMountVolumeOptionsOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountVolumeOptionsOutput

func (ServiceTaskSpecContainerSpecMountVolumeOptionsArgs) ToServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput

func (i ServiceTaskSpecContainerSpecMountVolumeOptionsArgs) ToServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput() ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput

func (ServiceTaskSpecContainerSpecMountVolumeOptionsArgs) ToServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutputWithContext

func (i ServiceTaskSpecContainerSpecMountVolumeOptionsArgs) ToServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput

type ServiceTaskSpecContainerSpecMountVolumeOptionsInput

type ServiceTaskSpecContainerSpecMountVolumeOptionsInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecMountVolumeOptionsOutput() ServiceTaskSpecContainerSpecMountVolumeOptionsOutput
	ToServiceTaskSpecContainerSpecMountVolumeOptionsOutputWithContext(context.Context) ServiceTaskSpecContainerSpecMountVolumeOptionsOutput
}

ServiceTaskSpecContainerSpecMountVolumeOptionsInput is an input type that accepts ServiceTaskSpecContainerSpecMountVolumeOptionsArgs and ServiceTaskSpecContainerSpecMountVolumeOptionsOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecMountVolumeOptionsInput` via:

ServiceTaskSpecContainerSpecMountVolumeOptionsArgs{...}

type ServiceTaskSpecContainerSpecMountVolumeOptionsLabel

type ServiceTaskSpecContainerSpecMountVolumeOptionsLabel struct {
	// Name of the label
	Label string `pulumi:"label"`
	// Value of the label
	Value string `pulumi:"value"`
}

type ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArgs

type ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArgs struct {
	// Name of the label
	Label pulumi.StringInput `pulumi:"label"`
	// Value of the label
	Value pulumi.StringInput `pulumi:"value"`
}

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArgs) ElementType

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArgs) ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArgs) ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutputWithContext

func (i ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArgs) ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput

type ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArray

type ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArray []ServiceTaskSpecContainerSpecMountVolumeOptionsLabelInput

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArray) ElementType

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArray) ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput

func (i ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArray) ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput() ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArray) ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutputWithContext

func (i ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArray) ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput

type ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayInput

type ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput() ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput
	ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutputWithContext(context.Context) ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput
}

ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayInput is an input type that accepts ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArray and ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayInput` via:

ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArray{ ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArgs{...} }

type ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput

type ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput) ElementType

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput) Index

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutputWithContext

func (o ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArrayOutput

type ServiceTaskSpecContainerSpecMountVolumeOptionsLabelInput

type ServiceTaskSpecContainerSpecMountVolumeOptionsLabelInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput() ServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput
	ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutputWithContext(context.Context) ServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput
}

ServiceTaskSpecContainerSpecMountVolumeOptionsLabelInput is an input type that accepts ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArgs and ServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecMountVolumeOptionsLabelInput` via:

ServiceTaskSpecContainerSpecMountVolumeOptionsLabelArgs{...}

type ServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput

type ServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput) ElementType

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput) Label

Name of the label

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutputWithContext

func (o ServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput

func (ServiceTaskSpecContainerSpecMountVolumeOptionsLabelOutput) Value

Value of the label

type ServiceTaskSpecContainerSpecMountVolumeOptionsOutput

type ServiceTaskSpecContainerSpecMountVolumeOptionsOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecMountVolumeOptionsOutput) DriverName

Name of the driver to use to create the volume

func (ServiceTaskSpecContainerSpecMountVolumeOptionsOutput) DriverOptions

key/value map of driver specific options

func (ServiceTaskSpecContainerSpecMountVolumeOptionsOutput) ElementType

func (ServiceTaskSpecContainerSpecMountVolumeOptionsOutput) Labels

User-defined key/value metadata

func (ServiceTaskSpecContainerSpecMountVolumeOptionsOutput) NoCopy

Populate volume with data from the target

func (ServiceTaskSpecContainerSpecMountVolumeOptionsOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsOutput

func (ServiceTaskSpecContainerSpecMountVolumeOptionsOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsOutputWithContext

func (o ServiceTaskSpecContainerSpecMountVolumeOptionsOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountVolumeOptionsOutput

func (ServiceTaskSpecContainerSpecMountVolumeOptionsOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput

func (o ServiceTaskSpecContainerSpecMountVolumeOptionsOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput() ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput

func (ServiceTaskSpecContainerSpecMountVolumeOptionsOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecMountVolumeOptionsOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput

type ServiceTaskSpecContainerSpecMountVolumeOptionsPtrInput

type ServiceTaskSpecContainerSpecMountVolumeOptionsPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput() ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput
	ToServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutputWithContext(context.Context) ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput
}

ServiceTaskSpecContainerSpecMountVolumeOptionsPtrInput is an input type that accepts ServiceTaskSpecContainerSpecMountVolumeOptionsArgs, ServiceTaskSpecContainerSpecMountVolumeOptionsPtr and ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecMountVolumeOptionsPtrInput` via:

        ServiceTaskSpecContainerSpecMountVolumeOptionsArgs{...}

or:

        nil

type ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput

type ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput) DriverName

Name of the driver to use to create the volume

func (ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput) DriverOptions

key/value map of driver specific options

func (ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput) Elem

func (ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput) ElementType

func (ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput) Labels

User-defined key/value metadata

func (ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput) NoCopy

Populate volume with data from the target

func (ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput

func (ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput) ToServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecMountVolumeOptionsPtrOutput

type ServiceTaskSpecContainerSpecOutput

type ServiceTaskSpecContainerSpecOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecOutput) Args

Arguments to the command

func (ServiceTaskSpecContainerSpecOutput) Commands

The command/entrypoint to be run in the image. According to the [docker cli](https://github.com/docker/cli/blob/v20.10.7/cli/command/service/opts.go#L705) the override of the entrypoint is also passed to the `command` property and there is no `entrypoint` attribute in the `ContainerSpec` of the service.

func (ServiceTaskSpecContainerSpecOutput) Configs

References to zero or more configs that will be exposed to the service

func (ServiceTaskSpecContainerSpecOutput) Dir

The working directory for commands to run in

func (ServiceTaskSpecContainerSpecOutput) DnsConfig

Specification for DNS related configurations in resolver configuration file (`resolv.conf`)

func (ServiceTaskSpecContainerSpecOutput) ElementType

func (ServiceTaskSpecContainerSpecOutput) Env

A list of environment variables in the form VAR="value"

func (ServiceTaskSpecContainerSpecOutput) Groups

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

func (ServiceTaskSpecContainerSpecOutput) Healthcheck

A test to perform to check that the container is healthy

func (ServiceTaskSpecContainerSpecOutput) Hostname

The hostname to use for the container, as a valid RFC 1123 hostname

func (ServiceTaskSpecContainerSpecOutput) Hosts

A list of hostname/IP mappings to add to the container's hosts file

func (ServiceTaskSpecContainerSpecOutput) Image

The image name to use for the containers of the service, like `nginx:1.17.6`. Also use the data-source or resource of `RemoteImage` with the `repoDigest` or `RegistryImage` with the `name` attribute for this, as shown in the examples.

func (ServiceTaskSpecContainerSpecOutput) Isolation

Isolation technology of the containers running the service. (Windows only). Defaults to `default`.

func (ServiceTaskSpecContainerSpecOutput) Labels

User-defined key/value metadata

func (ServiceTaskSpecContainerSpecOutput) Mounts

Specification for mounts to be added to containers created as part of the service

func (ServiceTaskSpecContainerSpecOutput) Privileges

Security options for the container

func (ServiceTaskSpecContainerSpecOutput) ReadOnly

Mount the container's root filesystem as read only

func (ServiceTaskSpecContainerSpecOutput) Secrets

References to zero or more secrets that will be exposed to the service

func (ServiceTaskSpecContainerSpecOutput) StopGracePeriod

Amount of time to wait for the container to terminate before forcefully removing it (ms|s|m|h). If not specified or '0s' the destroy will not check if all tasks/containers of the service terminate.

func (ServiceTaskSpecContainerSpecOutput) StopSignal

Signal to stop the container

func (ServiceTaskSpecContainerSpecOutput) Sysctl added in v4.1.0

Sysctls config (Linux only)

func (ServiceTaskSpecContainerSpecOutput) ToServiceTaskSpecContainerSpecOutput

func (o ServiceTaskSpecContainerSpecOutput) ToServiceTaskSpecContainerSpecOutput() ServiceTaskSpecContainerSpecOutput

func (ServiceTaskSpecContainerSpecOutput) ToServiceTaskSpecContainerSpecOutputWithContext

func (o ServiceTaskSpecContainerSpecOutput) ToServiceTaskSpecContainerSpecOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecOutput

func (ServiceTaskSpecContainerSpecOutput) ToServiceTaskSpecContainerSpecPtrOutput

func (o ServiceTaskSpecContainerSpecOutput) ToServiceTaskSpecContainerSpecPtrOutput() ServiceTaskSpecContainerSpecPtrOutput

func (ServiceTaskSpecContainerSpecOutput) ToServiceTaskSpecContainerSpecPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecOutput) ToServiceTaskSpecContainerSpecPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPtrOutput

func (ServiceTaskSpecContainerSpecOutput) User

The user inside the container

type ServiceTaskSpecContainerSpecPrivileges

type ServiceTaskSpecContainerSpecPrivileges struct {
	// CredentialSpec for managed service account (Windows only)
	CredentialSpec *ServiceTaskSpecContainerSpecPrivilegesCredentialSpec `pulumi:"credentialSpec"`
	// SELinux labels of the container
	SeLinuxContext *ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext `pulumi:"seLinuxContext"`
}

type ServiceTaskSpecContainerSpecPrivilegesArgs

type ServiceTaskSpecContainerSpecPrivilegesArgs struct {
	// CredentialSpec for managed service account (Windows only)
	CredentialSpec ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrInput `pulumi:"credentialSpec"`
	// SELinux labels of the container
	SeLinuxContext ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrInput `pulumi:"seLinuxContext"`
}

func (ServiceTaskSpecContainerSpecPrivilegesArgs) ElementType

func (ServiceTaskSpecContainerSpecPrivilegesArgs) ToServiceTaskSpecContainerSpecPrivilegesOutput

func (i ServiceTaskSpecContainerSpecPrivilegesArgs) ToServiceTaskSpecContainerSpecPrivilegesOutput() ServiceTaskSpecContainerSpecPrivilegesOutput

func (ServiceTaskSpecContainerSpecPrivilegesArgs) ToServiceTaskSpecContainerSpecPrivilegesOutputWithContext

func (i ServiceTaskSpecContainerSpecPrivilegesArgs) ToServiceTaskSpecContainerSpecPrivilegesOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesOutput

func (ServiceTaskSpecContainerSpecPrivilegesArgs) ToServiceTaskSpecContainerSpecPrivilegesPtrOutput

func (i ServiceTaskSpecContainerSpecPrivilegesArgs) ToServiceTaskSpecContainerSpecPrivilegesPtrOutput() ServiceTaskSpecContainerSpecPrivilegesPtrOutput

func (ServiceTaskSpecContainerSpecPrivilegesArgs) ToServiceTaskSpecContainerSpecPrivilegesPtrOutputWithContext

func (i ServiceTaskSpecContainerSpecPrivilegesArgs) ToServiceTaskSpecContainerSpecPrivilegesPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesPtrOutput

type ServiceTaskSpecContainerSpecPrivilegesCredentialSpec

type ServiceTaskSpecContainerSpecPrivilegesCredentialSpec struct {
	// Load credential spec from this file
	File *string `pulumi:"file"`
	// Load credential spec from this value in the Windows registry
	Registry *string `pulumi:"registry"`
}

type ServiceTaskSpecContainerSpecPrivilegesCredentialSpecArgs

type ServiceTaskSpecContainerSpecPrivilegesCredentialSpecArgs struct {
	// Load credential spec from this file
	File pulumi.StringPtrInput `pulumi:"file"`
	// Load credential spec from this value in the Windows registry
	Registry pulumi.StringPtrInput `pulumi:"registry"`
}

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecArgs) ElementType

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecArgs) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecArgs) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputWithContext

func (i ServiceTaskSpecContainerSpecPrivilegesCredentialSpecArgs) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecArgs) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput

func (i ServiceTaskSpecContainerSpecPrivilegesCredentialSpecArgs) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput() ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecArgs) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutputWithContext

func (i ServiceTaskSpecContainerSpecPrivilegesCredentialSpecArgs) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput

type ServiceTaskSpecContainerSpecPrivilegesCredentialSpecInput

type ServiceTaskSpecContainerSpecPrivilegesCredentialSpecInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput() ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput
	ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputWithContext(context.Context) ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput
}

ServiceTaskSpecContainerSpecPrivilegesCredentialSpecInput is an input type that accepts ServiceTaskSpecContainerSpecPrivilegesCredentialSpecArgs and ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecPrivilegesCredentialSpecInput` via:

ServiceTaskSpecContainerSpecPrivilegesCredentialSpecArgs{...}

type ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput

type ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput) ElementType

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput) File

Load credential spec from this file

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput) Registry

Load credential spec from this value in the Windows registry

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputWithContext

func (o ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutput) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput

type ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrInput

type ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput() ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput
	ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutputWithContext(context.Context) ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput
}

ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrInput is an input type that accepts ServiceTaskSpecContainerSpecPrivilegesCredentialSpecArgs, ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtr and ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrInput` via:

        ServiceTaskSpecContainerSpecPrivilegesCredentialSpecArgs{...}

or:

        nil

type ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput

type ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput) Elem

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput) ElementType

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput) File

Load credential spec from this file

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput) Registry

Load credential spec from this value in the Windows registry

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput

func (ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput) ToServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesCredentialSpecPtrOutput

type ServiceTaskSpecContainerSpecPrivilegesInput

type ServiceTaskSpecContainerSpecPrivilegesInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecPrivilegesOutput() ServiceTaskSpecContainerSpecPrivilegesOutput
	ToServiceTaskSpecContainerSpecPrivilegesOutputWithContext(context.Context) ServiceTaskSpecContainerSpecPrivilegesOutput
}

ServiceTaskSpecContainerSpecPrivilegesInput is an input type that accepts ServiceTaskSpecContainerSpecPrivilegesArgs and ServiceTaskSpecContainerSpecPrivilegesOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecPrivilegesInput` via:

ServiceTaskSpecContainerSpecPrivilegesArgs{...}

type ServiceTaskSpecContainerSpecPrivilegesOutput

type ServiceTaskSpecContainerSpecPrivilegesOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecPrivilegesOutput) CredentialSpec

CredentialSpec for managed service account (Windows only)

func (ServiceTaskSpecContainerSpecPrivilegesOutput) ElementType

func (ServiceTaskSpecContainerSpecPrivilegesOutput) SeLinuxContext

SELinux labels of the container

func (ServiceTaskSpecContainerSpecPrivilegesOutput) ToServiceTaskSpecContainerSpecPrivilegesOutput

func (o ServiceTaskSpecContainerSpecPrivilegesOutput) ToServiceTaskSpecContainerSpecPrivilegesOutput() ServiceTaskSpecContainerSpecPrivilegesOutput

func (ServiceTaskSpecContainerSpecPrivilegesOutput) ToServiceTaskSpecContainerSpecPrivilegesOutputWithContext

func (o ServiceTaskSpecContainerSpecPrivilegesOutput) ToServiceTaskSpecContainerSpecPrivilegesOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesOutput

func (ServiceTaskSpecContainerSpecPrivilegesOutput) ToServiceTaskSpecContainerSpecPrivilegesPtrOutput

func (o ServiceTaskSpecContainerSpecPrivilegesOutput) ToServiceTaskSpecContainerSpecPrivilegesPtrOutput() ServiceTaskSpecContainerSpecPrivilegesPtrOutput

func (ServiceTaskSpecContainerSpecPrivilegesOutput) ToServiceTaskSpecContainerSpecPrivilegesPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecPrivilegesOutput) ToServiceTaskSpecContainerSpecPrivilegesPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesPtrOutput

type ServiceTaskSpecContainerSpecPrivilegesPtrInput

type ServiceTaskSpecContainerSpecPrivilegesPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecPrivilegesPtrOutput() ServiceTaskSpecContainerSpecPrivilegesPtrOutput
	ToServiceTaskSpecContainerSpecPrivilegesPtrOutputWithContext(context.Context) ServiceTaskSpecContainerSpecPrivilegesPtrOutput
}

ServiceTaskSpecContainerSpecPrivilegesPtrInput is an input type that accepts ServiceTaskSpecContainerSpecPrivilegesArgs, ServiceTaskSpecContainerSpecPrivilegesPtr and ServiceTaskSpecContainerSpecPrivilegesPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecPrivilegesPtrInput` via:

        ServiceTaskSpecContainerSpecPrivilegesArgs{...}

or:

        nil

type ServiceTaskSpecContainerSpecPrivilegesPtrOutput

type ServiceTaskSpecContainerSpecPrivilegesPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecPrivilegesPtrOutput) CredentialSpec

CredentialSpec for managed service account (Windows only)

func (ServiceTaskSpecContainerSpecPrivilegesPtrOutput) Elem

func (ServiceTaskSpecContainerSpecPrivilegesPtrOutput) ElementType

func (ServiceTaskSpecContainerSpecPrivilegesPtrOutput) SeLinuxContext

SELinux labels of the container

func (ServiceTaskSpecContainerSpecPrivilegesPtrOutput) ToServiceTaskSpecContainerSpecPrivilegesPtrOutput

func (o ServiceTaskSpecContainerSpecPrivilegesPtrOutput) ToServiceTaskSpecContainerSpecPrivilegesPtrOutput() ServiceTaskSpecContainerSpecPrivilegesPtrOutput

func (ServiceTaskSpecContainerSpecPrivilegesPtrOutput) ToServiceTaskSpecContainerSpecPrivilegesPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecPrivilegesPtrOutput) ToServiceTaskSpecContainerSpecPrivilegesPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesPtrOutput

type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext

type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext struct {
	// Disable SELinux
	Disable *bool `pulumi:"disable"`
	// SELinux level label
	Level *string `pulumi:"level"`
	// SELinux role label
	Role *string `pulumi:"role"`
	// SELinux type label
	Type *string `pulumi:"type"`
	// SELinux user label
	User *string `pulumi:"user"`
}

type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextArgs

type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextArgs struct {
	// Disable SELinux
	Disable pulumi.BoolPtrInput `pulumi:"disable"`
	// SELinux level label
	Level pulumi.StringPtrInput `pulumi:"level"`
	// SELinux role label
	Role pulumi.StringPtrInput `pulumi:"role"`
	// SELinux type label
	Type pulumi.StringPtrInput `pulumi:"type"`
	// SELinux user label
	User pulumi.StringPtrInput `pulumi:"user"`
}

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextArgs) ElementType

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextArgs) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextArgs) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputWithContext

func (i ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextArgs) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextArgs) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput

func (i ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextArgs) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput() ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextArgs) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutputWithContext

func (i ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextArgs) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput

type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextInput

type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput() ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput
	ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputWithContext(context.Context) ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput
}

ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextInput is an input type that accepts ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextArgs and ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextInput` via:

ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextArgs{...}

type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput

type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput) Disable

Disable SELinux

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput) ElementType

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput) Level

SELinux level label

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput) Role

SELinux role label

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputWithContext

func (o ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput) Type

SELinux type label

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutput) User

SELinux user label

type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrInput

type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput() ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput
	ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutputWithContext(context.Context) ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput
}

ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrInput is an input type that accepts ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextArgs, ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtr and ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrInput` via:

        ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextArgs{...}

or:

        nil

type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput

type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput) Disable

Disable SELinux

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput) Elem

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput) ElementType

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput) Level

SELinux level label

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput) Role

SELinux role label

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput) ToServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput) Type

SELinux type label

func (ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextPtrOutput) User

SELinux user label

type ServiceTaskSpecContainerSpecPtrInput

type ServiceTaskSpecContainerSpecPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecPtrOutput() ServiceTaskSpecContainerSpecPtrOutput
	ToServiceTaskSpecContainerSpecPtrOutputWithContext(context.Context) ServiceTaskSpecContainerSpecPtrOutput
}

ServiceTaskSpecContainerSpecPtrInput is an input type that accepts ServiceTaskSpecContainerSpecArgs, ServiceTaskSpecContainerSpecPtr and ServiceTaskSpecContainerSpecPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecPtrInput` via:

        ServiceTaskSpecContainerSpecArgs{...}

or:

        nil

type ServiceTaskSpecContainerSpecPtrOutput

type ServiceTaskSpecContainerSpecPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecPtrOutput) Args

Arguments to the command

func (ServiceTaskSpecContainerSpecPtrOutput) Commands

The command/entrypoint to be run in the image. According to the [docker cli](https://github.com/docker/cli/blob/v20.10.7/cli/command/service/opts.go#L705) the override of the entrypoint is also passed to the `command` property and there is no `entrypoint` attribute in the `ContainerSpec` of the service.

func (ServiceTaskSpecContainerSpecPtrOutput) Configs

References to zero or more configs that will be exposed to the service

func (ServiceTaskSpecContainerSpecPtrOutput) Dir

The working directory for commands to run in

func (ServiceTaskSpecContainerSpecPtrOutput) DnsConfig

Specification for DNS related configurations in resolver configuration file (`resolv.conf`)

func (ServiceTaskSpecContainerSpecPtrOutput) Elem

func (ServiceTaskSpecContainerSpecPtrOutput) ElementType

func (ServiceTaskSpecContainerSpecPtrOutput) Env

A list of environment variables in the form VAR="value"

func (ServiceTaskSpecContainerSpecPtrOutput) Groups

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

func (ServiceTaskSpecContainerSpecPtrOutput) Healthcheck

A test to perform to check that the container is healthy

func (ServiceTaskSpecContainerSpecPtrOutput) Hostname

The hostname to use for the container, as a valid RFC 1123 hostname

func (ServiceTaskSpecContainerSpecPtrOutput) Hosts

A list of hostname/IP mappings to add to the container's hosts file

func (ServiceTaskSpecContainerSpecPtrOutput) Image

The image name to use for the containers of the service, like `nginx:1.17.6`. Also use the data-source or resource of `RemoteImage` with the `repoDigest` or `RegistryImage` with the `name` attribute for this, as shown in the examples.

func (ServiceTaskSpecContainerSpecPtrOutput) Isolation

Isolation technology of the containers running the service. (Windows only). Defaults to `default`.

func (ServiceTaskSpecContainerSpecPtrOutput) Labels

User-defined key/value metadata

func (ServiceTaskSpecContainerSpecPtrOutput) Mounts

Specification for mounts to be added to containers created as part of the service

func (ServiceTaskSpecContainerSpecPtrOutput) Privileges

Security options for the container

func (ServiceTaskSpecContainerSpecPtrOutput) ReadOnly

Mount the container's root filesystem as read only

func (ServiceTaskSpecContainerSpecPtrOutput) Secrets

References to zero or more secrets that will be exposed to the service

func (ServiceTaskSpecContainerSpecPtrOutput) StopGracePeriod

Amount of time to wait for the container to terminate before forcefully removing it (ms|s|m|h). If not specified or '0s' the destroy will not check if all tasks/containers of the service terminate.

func (ServiceTaskSpecContainerSpecPtrOutput) StopSignal

Signal to stop the container

func (ServiceTaskSpecContainerSpecPtrOutput) Sysctl added in v4.1.0

Sysctls config (Linux only)

func (ServiceTaskSpecContainerSpecPtrOutput) ToServiceTaskSpecContainerSpecPtrOutput

func (o ServiceTaskSpecContainerSpecPtrOutput) ToServiceTaskSpecContainerSpecPtrOutput() ServiceTaskSpecContainerSpecPtrOutput

func (ServiceTaskSpecContainerSpecPtrOutput) ToServiceTaskSpecContainerSpecPtrOutputWithContext

func (o ServiceTaskSpecContainerSpecPtrOutput) ToServiceTaskSpecContainerSpecPtrOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecPtrOutput

func (ServiceTaskSpecContainerSpecPtrOutput) User

The user inside the container

type ServiceTaskSpecContainerSpecSecret

type ServiceTaskSpecContainerSpecSecret struct {
	// Represents the file GID. Defaults to `0`
	FileGid *string `pulumi:"fileGid"`
	// Represents represents the FileMode of the file. Defaults to `0o444`
	FileMode *int `pulumi:"fileMode"`
	// Represents the final filename in the filesystem
	FileName string `pulumi:"fileName"`
	// Represents the file UID. Defaults to `0`
	FileUid *string `pulumi:"fileUid"`
	// ID of the specific secret that we're referencing
	SecretId string `pulumi:"secretId"`
	// Name of the secret that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
	SecretName *string `pulumi:"secretName"`
}

type ServiceTaskSpecContainerSpecSecretArgs

type ServiceTaskSpecContainerSpecSecretArgs struct {
	// Represents the file GID. Defaults to `0`
	FileGid pulumi.StringPtrInput `pulumi:"fileGid"`
	// Represents represents the FileMode of the file. Defaults to `0o444`
	FileMode pulumi.IntPtrInput `pulumi:"fileMode"`
	// Represents the final filename in the filesystem
	FileName pulumi.StringInput `pulumi:"fileName"`
	// Represents the file UID. Defaults to `0`
	FileUid pulumi.StringPtrInput `pulumi:"fileUid"`
	// ID of the specific secret that we're referencing
	SecretId pulumi.StringInput `pulumi:"secretId"`
	// Name of the secret that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
	SecretName pulumi.StringPtrInput `pulumi:"secretName"`
}

func (ServiceTaskSpecContainerSpecSecretArgs) ElementType

func (ServiceTaskSpecContainerSpecSecretArgs) ToServiceTaskSpecContainerSpecSecretOutput

func (i ServiceTaskSpecContainerSpecSecretArgs) ToServiceTaskSpecContainerSpecSecretOutput() ServiceTaskSpecContainerSpecSecretOutput

func (ServiceTaskSpecContainerSpecSecretArgs) ToServiceTaskSpecContainerSpecSecretOutputWithContext

func (i ServiceTaskSpecContainerSpecSecretArgs) ToServiceTaskSpecContainerSpecSecretOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecSecretOutput

type ServiceTaskSpecContainerSpecSecretArray

type ServiceTaskSpecContainerSpecSecretArray []ServiceTaskSpecContainerSpecSecretInput

func (ServiceTaskSpecContainerSpecSecretArray) ElementType

func (ServiceTaskSpecContainerSpecSecretArray) ToServiceTaskSpecContainerSpecSecretArrayOutput

func (i ServiceTaskSpecContainerSpecSecretArray) ToServiceTaskSpecContainerSpecSecretArrayOutput() ServiceTaskSpecContainerSpecSecretArrayOutput

func (ServiceTaskSpecContainerSpecSecretArray) ToServiceTaskSpecContainerSpecSecretArrayOutputWithContext

func (i ServiceTaskSpecContainerSpecSecretArray) ToServiceTaskSpecContainerSpecSecretArrayOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecSecretArrayOutput

type ServiceTaskSpecContainerSpecSecretArrayInput

type ServiceTaskSpecContainerSpecSecretArrayInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecSecretArrayOutput() ServiceTaskSpecContainerSpecSecretArrayOutput
	ToServiceTaskSpecContainerSpecSecretArrayOutputWithContext(context.Context) ServiceTaskSpecContainerSpecSecretArrayOutput
}

ServiceTaskSpecContainerSpecSecretArrayInput is an input type that accepts ServiceTaskSpecContainerSpecSecretArray and ServiceTaskSpecContainerSpecSecretArrayOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecSecretArrayInput` via:

ServiceTaskSpecContainerSpecSecretArray{ ServiceTaskSpecContainerSpecSecretArgs{...} }

type ServiceTaskSpecContainerSpecSecretArrayOutput

type ServiceTaskSpecContainerSpecSecretArrayOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecSecretArrayOutput) ElementType

func (ServiceTaskSpecContainerSpecSecretArrayOutput) Index

func (ServiceTaskSpecContainerSpecSecretArrayOutput) ToServiceTaskSpecContainerSpecSecretArrayOutput

func (o ServiceTaskSpecContainerSpecSecretArrayOutput) ToServiceTaskSpecContainerSpecSecretArrayOutput() ServiceTaskSpecContainerSpecSecretArrayOutput

func (ServiceTaskSpecContainerSpecSecretArrayOutput) ToServiceTaskSpecContainerSpecSecretArrayOutputWithContext

func (o ServiceTaskSpecContainerSpecSecretArrayOutput) ToServiceTaskSpecContainerSpecSecretArrayOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecSecretArrayOutput

type ServiceTaskSpecContainerSpecSecretInput

type ServiceTaskSpecContainerSpecSecretInput interface {
	pulumi.Input

	ToServiceTaskSpecContainerSpecSecretOutput() ServiceTaskSpecContainerSpecSecretOutput
	ToServiceTaskSpecContainerSpecSecretOutputWithContext(context.Context) ServiceTaskSpecContainerSpecSecretOutput
}

ServiceTaskSpecContainerSpecSecretInput is an input type that accepts ServiceTaskSpecContainerSpecSecretArgs and ServiceTaskSpecContainerSpecSecretOutput values. You can construct a concrete instance of `ServiceTaskSpecContainerSpecSecretInput` via:

ServiceTaskSpecContainerSpecSecretArgs{...}

type ServiceTaskSpecContainerSpecSecretOutput

type ServiceTaskSpecContainerSpecSecretOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecContainerSpecSecretOutput) ElementType

func (ServiceTaskSpecContainerSpecSecretOutput) FileGid

Represents the file GID. Defaults to `0`

func (ServiceTaskSpecContainerSpecSecretOutput) FileMode

Represents represents the FileMode of the file. Defaults to `0o444`

func (ServiceTaskSpecContainerSpecSecretOutput) FileName

Represents the final filename in the filesystem

func (ServiceTaskSpecContainerSpecSecretOutput) FileUid

Represents the file UID. Defaults to `0`

func (ServiceTaskSpecContainerSpecSecretOutput) SecretId

ID of the specific secret that we're referencing

func (ServiceTaskSpecContainerSpecSecretOutput) SecretName

Name of the secret that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID

func (ServiceTaskSpecContainerSpecSecretOutput) ToServiceTaskSpecContainerSpecSecretOutput

func (o ServiceTaskSpecContainerSpecSecretOutput) ToServiceTaskSpecContainerSpecSecretOutput() ServiceTaskSpecContainerSpecSecretOutput

func (ServiceTaskSpecContainerSpecSecretOutput) ToServiceTaskSpecContainerSpecSecretOutputWithContext

func (o ServiceTaskSpecContainerSpecSecretOutput) ToServiceTaskSpecContainerSpecSecretOutputWithContext(ctx context.Context) ServiceTaskSpecContainerSpecSecretOutput

type ServiceTaskSpecInput

type ServiceTaskSpecInput interface {
	pulumi.Input

	ToServiceTaskSpecOutput() ServiceTaskSpecOutput
	ToServiceTaskSpecOutputWithContext(context.Context) ServiceTaskSpecOutput
}

ServiceTaskSpecInput is an input type that accepts ServiceTaskSpecArgs and ServiceTaskSpecOutput values. You can construct a concrete instance of `ServiceTaskSpecInput` via:

ServiceTaskSpecArgs{...}

type ServiceTaskSpecLogDriver

type ServiceTaskSpecLogDriver struct {
	// The logging driver to use
	Name string `pulumi:"name"`
	// The options for the logging driver
	Options map[string]string `pulumi:"options"`
}

type ServiceTaskSpecLogDriverArgs

type ServiceTaskSpecLogDriverArgs struct {
	// The logging driver to use
	Name pulumi.StringInput `pulumi:"name"`
	// The options for the logging driver
	Options pulumi.StringMapInput `pulumi:"options"`
}

func (ServiceTaskSpecLogDriverArgs) ElementType

func (ServiceTaskSpecLogDriverArgs) ToServiceTaskSpecLogDriverOutput

func (i ServiceTaskSpecLogDriverArgs) ToServiceTaskSpecLogDriverOutput() ServiceTaskSpecLogDriverOutput

func (ServiceTaskSpecLogDriverArgs) ToServiceTaskSpecLogDriverOutputWithContext

func (i ServiceTaskSpecLogDriverArgs) ToServiceTaskSpecLogDriverOutputWithContext(ctx context.Context) ServiceTaskSpecLogDriverOutput

func (ServiceTaskSpecLogDriverArgs) ToServiceTaskSpecLogDriverPtrOutput

func (i ServiceTaskSpecLogDriverArgs) ToServiceTaskSpecLogDriverPtrOutput() ServiceTaskSpecLogDriverPtrOutput

func (ServiceTaskSpecLogDriverArgs) ToServiceTaskSpecLogDriverPtrOutputWithContext

func (i ServiceTaskSpecLogDriverArgs) ToServiceTaskSpecLogDriverPtrOutputWithContext(ctx context.Context) ServiceTaskSpecLogDriverPtrOutput

type ServiceTaskSpecLogDriverInput

type ServiceTaskSpecLogDriverInput interface {
	pulumi.Input

	ToServiceTaskSpecLogDriverOutput() ServiceTaskSpecLogDriverOutput
	ToServiceTaskSpecLogDriverOutputWithContext(context.Context) ServiceTaskSpecLogDriverOutput
}

ServiceTaskSpecLogDriverInput is an input type that accepts ServiceTaskSpecLogDriverArgs and ServiceTaskSpecLogDriverOutput values. You can construct a concrete instance of `ServiceTaskSpecLogDriverInput` via:

ServiceTaskSpecLogDriverArgs{...}

type ServiceTaskSpecLogDriverOutput

type ServiceTaskSpecLogDriverOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecLogDriverOutput) ElementType

func (ServiceTaskSpecLogDriverOutput) Name

The logging driver to use

func (ServiceTaskSpecLogDriverOutput) Options

The options for the logging driver

func (ServiceTaskSpecLogDriverOutput) ToServiceTaskSpecLogDriverOutput

func (o ServiceTaskSpecLogDriverOutput) ToServiceTaskSpecLogDriverOutput() ServiceTaskSpecLogDriverOutput

func (ServiceTaskSpecLogDriverOutput) ToServiceTaskSpecLogDriverOutputWithContext

func (o ServiceTaskSpecLogDriverOutput) ToServiceTaskSpecLogDriverOutputWithContext(ctx context.Context) ServiceTaskSpecLogDriverOutput

func (ServiceTaskSpecLogDriverOutput) ToServiceTaskSpecLogDriverPtrOutput

func (o ServiceTaskSpecLogDriverOutput) ToServiceTaskSpecLogDriverPtrOutput() ServiceTaskSpecLogDriverPtrOutput

func (ServiceTaskSpecLogDriverOutput) ToServiceTaskSpecLogDriverPtrOutputWithContext

func (o ServiceTaskSpecLogDriverOutput) ToServiceTaskSpecLogDriverPtrOutputWithContext(ctx context.Context) ServiceTaskSpecLogDriverPtrOutput

type ServiceTaskSpecLogDriverPtrInput

type ServiceTaskSpecLogDriverPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecLogDriverPtrOutput() ServiceTaskSpecLogDriverPtrOutput
	ToServiceTaskSpecLogDriverPtrOutputWithContext(context.Context) ServiceTaskSpecLogDriverPtrOutput
}

ServiceTaskSpecLogDriverPtrInput is an input type that accepts ServiceTaskSpecLogDriverArgs, ServiceTaskSpecLogDriverPtr and ServiceTaskSpecLogDriverPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecLogDriverPtrInput` via:

        ServiceTaskSpecLogDriverArgs{...}

or:

        nil

type ServiceTaskSpecLogDriverPtrOutput

type ServiceTaskSpecLogDriverPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecLogDriverPtrOutput) Elem

func (ServiceTaskSpecLogDriverPtrOutput) ElementType

func (ServiceTaskSpecLogDriverPtrOutput) Name

The logging driver to use

func (ServiceTaskSpecLogDriverPtrOutput) Options

The options for the logging driver

func (ServiceTaskSpecLogDriverPtrOutput) ToServiceTaskSpecLogDriverPtrOutput

func (o ServiceTaskSpecLogDriverPtrOutput) ToServiceTaskSpecLogDriverPtrOutput() ServiceTaskSpecLogDriverPtrOutput

func (ServiceTaskSpecLogDriverPtrOutput) ToServiceTaskSpecLogDriverPtrOutputWithContext

func (o ServiceTaskSpecLogDriverPtrOutput) ToServiceTaskSpecLogDriverPtrOutputWithContext(ctx context.Context) ServiceTaskSpecLogDriverPtrOutput

type ServiceTaskSpecNetworksAdvanced added in v4.1.0

type ServiceTaskSpecNetworksAdvanced struct {
	// The network aliases of the container in the specific network.
	Aliases []string `pulumi:"aliases"`
	// An array of driver options for the network, e.g. `opts1=value`
	DriverOpts []string `pulumi:"driverOpts"`
	// The name/id of the network.
	Name string `pulumi:"name"`
}

type ServiceTaskSpecNetworksAdvancedArgs added in v4.1.0

type ServiceTaskSpecNetworksAdvancedArgs struct {
	// The network aliases of the container in the specific network.
	Aliases pulumi.StringArrayInput `pulumi:"aliases"`
	// An array of driver options for the network, e.g. `opts1=value`
	DriverOpts pulumi.StringArrayInput `pulumi:"driverOpts"`
	// The name/id of the network.
	Name pulumi.StringInput `pulumi:"name"`
}

func (ServiceTaskSpecNetworksAdvancedArgs) ElementType added in v4.1.0

func (ServiceTaskSpecNetworksAdvancedArgs) ToServiceTaskSpecNetworksAdvancedOutput added in v4.1.0

func (i ServiceTaskSpecNetworksAdvancedArgs) ToServiceTaskSpecNetworksAdvancedOutput() ServiceTaskSpecNetworksAdvancedOutput

func (ServiceTaskSpecNetworksAdvancedArgs) ToServiceTaskSpecNetworksAdvancedOutputWithContext added in v4.1.0

func (i ServiceTaskSpecNetworksAdvancedArgs) ToServiceTaskSpecNetworksAdvancedOutputWithContext(ctx context.Context) ServiceTaskSpecNetworksAdvancedOutput

type ServiceTaskSpecNetworksAdvancedArray added in v4.1.0

type ServiceTaskSpecNetworksAdvancedArray []ServiceTaskSpecNetworksAdvancedInput

func (ServiceTaskSpecNetworksAdvancedArray) ElementType added in v4.1.0

func (ServiceTaskSpecNetworksAdvancedArray) ToServiceTaskSpecNetworksAdvancedArrayOutput added in v4.1.0

func (i ServiceTaskSpecNetworksAdvancedArray) ToServiceTaskSpecNetworksAdvancedArrayOutput() ServiceTaskSpecNetworksAdvancedArrayOutput

func (ServiceTaskSpecNetworksAdvancedArray) ToServiceTaskSpecNetworksAdvancedArrayOutputWithContext added in v4.1.0

func (i ServiceTaskSpecNetworksAdvancedArray) ToServiceTaskSpecNetworksAdvancedArrayOutputWithContext(ctx context.Context) ServiceTaskSpecNetworksAdvancedArrayOutput

type ServiceTaskSpecNetworksAdvancedArrayInput added in v4.1.0

type ServiceTaskSpecNetworksAdvancedArrayInput interface {
	pulumi.Input

	ToServiceTaskSpecNetworksAdvancedArrayOutput() ServiceTaskSpecNetworksAdvancedArrayOutput
	ToServiceTaskSpecNetworksAdvancedArrayOutputWithContext(context.Context) ServiceTaskSpecNetworksAdvancedArrayOutput
}

ServiceTaskSpecNetworksAdvancedArrayInput is an input type that accepts ServiceTaskSpecNetworksAdvancedArray and ServiceTaskSpecNetworksAdvancedArrayOutput values. You can construct a concrete instance of `ServiceTaskSpecNetworksAdvancedArrayInput` via:

ServiceTaskSpecNetworksAdvancedArray{ ServiceTaskSpecNetworksAdvancedArgs{...} }

type ServiceTaskSpecNetworksAdvancedArrayOutput added in v4.1.0

type ServiceTaskSpecNetworksAdvancedArrayOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecNetworksAdvancedArrayOutput) ElementType added in v4.1.0

func (ServiceTaskSpecNetworksAdvancedArrayOutput) Index added in v4.1.0

func (ServiceTaskSpecNetworksAdvancedArrayOutput) ToServiceTaskSpecNetworksAdvancedArrayOutput added in v4.1.0

func (o ServiceTaskSpecNetworksAdvancedArrayOutput) ToServiceTaskSpecNetworksAdvancedArrayOutput() ServiceTaskSpecNetworksAdvancedArrayOutput

func (ServiceTaskSpecNetworksAdvancedArrayOutput) ToServiceTaskSpecNetworksAdvancedArrayOutputWithContext added in v4.1.0

func (o ServiceTaskSpecNetworksAdvancedArrayOutput) ToServiceTaskSpecNetworksAdvancedArrayOutputWithContext(ctx context.Context) ServiceTaskSpecNetworksAdvancedArrayOutput

type ServiceTaskSpecNetworksAdvancedInput added in v4.1.0

type ServiceTaskSpecNetworksAdvancedInput interface {
	pulumi.Input

	ToServiceTaskSpecNetworksAdvancedOutput() ServiceTaskSpecNetworksAdvancedOutput
	ToServiceTaskSpecNetworksAdvancedOutputWithContext(context.Context) ServiceTaskSpecNetworksAdvancedOutput
}

ServiceTaskSpecNetworksAdvancedInput is an input type that accepts ServiceTaskSpecNetworksAdvancedArgs and ServiceTaskSpecNetworksAdvancedOutput values. You can construct a concrete instance of `ServiceTaskSpecNetworksAdvancedInput` via:

ServiceTaskSpecNetworksAdvancedArgs{...}

type ServiceTaskSpecNetworksAdvancedOutput added in v4.1.0

type ServiceTaskSpecNetworksAdvancedOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecNetworksAdvancedOutput) Aliases added in v4.1.0

The network aliases of the container in the specific network.

func (ServiceTaskSpecNetworksAdvancedOutput) DriverOpts added in v4.1.0

An array of driver options for the network, e.g. `opts1=value`

func (ServiceTaskSpecNetworksAdvancedOutput) ElementType added in v4.1.0

func (ServiceTaskSpecNetworksAdvancedOutput) Name added in v4.1.0

The name/id of the network.

func (ServiceTaskSpecNetworksAdvancedOutput) ToServiceTaskSpecNetworksAdvancedOutput added in v4.1.0

func (o ServiceTaskSpecNetworksAdvancedOutput) ToServiceTaskSpecNetworksAdvancedOutput() ServiceTaskSpecNetworksAdvancedOutput

func (ServiceTaskSpecNetworksAdvancedOutput) ToServiceTaskSpecNetworksAdvancedOutputWithContext added in v4.1.0

func (o ServiceTaskSpecNetworksAdvancedOutput) ToServiceTaskSpecNetworksAdvancedOutputWithContext(ctx context.Context) ServiceTaskSpecNetworksAdvancedOutput

type ServiceTaskSpecOutput

type ServiceTaskSpecOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecOutput) ContainerSpec

The spec for each container

func (ServiceTaskSpecOutput) ElementType

func (ServiceTaskSpecOutput) ElementType() reflect.Type

func (ServiceTaskSpecOutput) ForceUpdate

func (o ServiceTaskSpecOutput) ForceUpdate() pulumi.IntPtrOutput

A counter that triggers an update even if no relevant parameters have been changed. See the [spec](https://github.com/docker/swarmkit/blob/master/api/specs.proto#L126).

func (ServiceTaskSpecOutput) LogDriver

Specifies the log driver to use for tasks created from this spec. If not present, the default one for the swarm will be used, finally falling back to the engine default if not specified

func (ServiceTaskSpecOutput) NetworksAdvanceds added in v4.1.0

The networks the container is attached to

func (ServiceTaskSpecOutput) Placement

The placement preferences

func (ServiceTaskSpecOutput) Resources

Resource requirements which apply to each individual container created as part of the service

func (ServiceTaskSpecOutput) RestartPolicy

Specification for the restart policy which applies to containers created as part of this service.

func (ServiceTaskSpecOutput) Runtime

Runtime is the type of runtime specified for the task executor. See the [types](https://github.com/moby/moby/blob/master/api/types/swarm/runtime.go).

func (ServiceTaskSpecOutput) ToServiceTaskSpecOutput

func (o ServiceTaskSpecOutput) ToServiceTaskSpecOutput() ServiceTaskSpecOutput

func (ServiceTaskSpecOutput) ToServiceTaskSpecOutputWithContext

func (o ServiceTaskSpecOutput) ToServiceTaskSpecOutputWithContext(ctx context.Context) ServiceTaskSpecOutput

func (ServiceTaskSpecOutput) ToServiceTaskSpecPtrOutput

func (o ServiceTaskSpecOutput) ToServiceTaskSpecPtrOutput() ServiceTaskSpecPtrOutput

func (ServiceTaskSpecOutput) ToServiceTaskSpecPtrOutputWithContext

func (o ServiceTaskSpecOutput) ToServiceTaskSpecPtrOutputWithContext(ctx context.Context) ServiceTaskSpecPtrOutput

type ServiceTaskSpecPlacement

type ServiceTaskSpecPlacement struct {
	// An array of constraints. e.g.: `node.role==manager`
	Constraints []string `pulumi:"constraints"`
	// Maximum number of replicas for per node (default value is `0`, which is unlimited)
	MaxReplicas *int `pulumi:"maxReplicas"`
	// Platforms stores all the platforms that the service's image can run on
	Platforms []ServiceTaskSpecPlacementPlatform `pulumi:"platforms"`
	// Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence, e.g.: `spread=node.role.manager`
	Prefs []string `pulumi:"prefs"`
}

type ServiceTaskSpecPlacementArgs

type ServiceTaskSpecPlacementArgs struct {
	// An array of constraints. e.g.: `node.role==manager`
	Constraints pulumi.StringArrayInput `pulumi:"constraints"`
	// Maximum number of replicas for per node (default value is `0`, which is unlimited)
	MaxReplicas pulumi.IntPtrInput `pulumi:"maxReplicas"`
	// Platforms stores all the platforms that the service's image can run on
	Platforms ServiceTaskSpecPlacementPlatformArrayInput `pulumi:"platforms"`
	// Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence, e.g.: `spread=node.role.manager`
	Prefs pulumi.StringArrayInput `pulumi:"prefs"`
}

func (ServiceTaskSpecPlacementArgs) ElementType

func (ServiceTaskSpecPlacementArgs) ToServiceTaskSpecPlacementOutput

func (i ServiceTaskSpecPlacementArgs) ToServiceTaskSpecPlacementOutput() ServiceTaskSpecPlacementOutput

func (ServiceTaskSpecPlacementArgs) ToServiceTaskSpecPlacementOutputWithContext

func (i ServiceTaskSpecPlacementArgs) ToServiceTaskSpecPlacementOutputWithContext(ctx context.Context) ServiceTaskSpecPlacementOutput

func (ServiceTaskSpecPlacementArgs) ToServiceTaskSpecPlacementPtrOutput

func (i ServiceTaskSpecPlacementArgs) ToServiceTaskSpecPlacementPtrOutput() ServiceTaskSpecPlacementPtrOutput

func (ServiceTaskSpecPlacementArgs) ToServiceTaskSpecPlacementPtrOutputWithContext

func (i ServiceTaskSpecPlacementArgs) ToServiceTaskSpecPlacementPtrOutputWithContext(ctx context.Context) ServiceTaskSpecPlacementPtrOutput

type ServiceTaskSpecPlacementInput

type ServiceTaskSpecPlacementInput interface {
	pulumi.Input

	ToServiceTaskSpecPlacementOutput() ServiceTaskSpecPlacementOutput
	ToServiceTaskSpecPlacementOutputWithContext(context.Context) ServiceTaskSpecPlacementOutput
}

ServiceTaskSpecPlacementInput is an input type that accepts ServiceTaskSpecPlacementArgs and ServiceTaskSpecPlacementOutput values. You can construct a concrete instance of `ServiceTaskSpecPlacementInput` via:

ServiceTaskSpecPlacementArgs{...}

type ServiceTaskSpecPlacementOutput

type ServiceTaskSpecPlacementOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecPlacementOutput) Constraints

An array of constraints. e.g.: `node.role==manager`

func (ServiceTaskSpecPlacementOutput) ElementType

func (ServiceTaskSpecPlacementOutput) MaxReplicas

Maximum number of replicas for per node (default value is `0`, which is unlimited)

func (ServiceTaskSpecPlacementOutput) Platforms

Platforms stores all the platforms that the service's image can run on

func (ServiceTaskSpecPlacementOutput) Prefs

Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence, e.g.: `spread=node.role.manager`

func (ServiceTaskSpecPlacementOutput) ToServiceTaskSpecPlacementOutput

func (o ServiceTaskSpecPlacementOutput) ToServiceTaskSpecPlacementOutput() ServiceTaskSpecPlacementOutput

func (ServiceTaskSpecPlacementOutput) ToServiceTaskSpecPlacementOutputWithContext

func (o ServiceTaskSpecPlacementOutput) ToServiceTaskSpecPlacementOutputWithContext(ctx context.Context) ServiceTaskSpecPlacementOutput

func (ServiceTaskSpecPlacementOutput) ToServiceTaskSpecPlacementPtrOutput

func (o ServiceTaskSpecPlacementOutput) ToServiceTaskSpecPlacementPtrOutput() ServiceTaskSpecPlacementPtrOutput

func (ServiceTaskSpecPlacementOutput) ToServiceTaskSpecPlacementPtrOutputWithContext

func (o ServiceTaskSpecPlacementOutput) ToServiceTaskSpecPlacementPtrOutputWithContext(ctx context.Context) ServiceTaskSpecPlacementPtrOutput

type ServiceTaskSpecPlacementPlatform

type ServiceTaskSpecPlacementPlatform struct {
	// The architecture, e.g. `amd64`
	Architecture string `pulumi:"architecture"`
	// The operation system, e.g. `linux`
	Os string `pulumi:"os"`
}

type ServiceTaskSpecPlacementPlatformArgs

type ServiceTaskSpecPlacementPlatformArgs struct {
	// The architecture, e.g. `amd64`
	Architecture pulumi.StringInput `pulumi:"architecture"`
	// The operation system, e.g. `linux`
	Os pulumi.StringInput `pulumi:"os"`
}

func (ServiceTaskSpecPlacementPlatformArgs) ElementType

func (ServiceTaskSpecPlacementPlatformArgs) ToServiceTaskSpecPlacementPlatformOutput

func (i ServiceTaskSpecPlacementPlatformArgs) ToServiceTaskSpecPlacementPlatformOutput() ServiceTaskSpecPlacementPlatformOutput

func (ServiceTaskSpecPlacementPlatformArgs) ToServiceTaskSpecPlacementPlatformOutputWithContext

func (i ServiceTaskSpecPlacementPlatformArgs) ToServiceTaskSpecPlacementPlatformOutputWithContext(ctx context.Context) ServiceTaskSpecPlacementPlatformOutput

type ServiceTaskSpecPlacementPlatformArray

type ServiceTaskSpecPlacementPlatformArray []ServiceTaskSpecPlacementPlatformInput

func (ServiceTaskSpecPlacementPlatformArray) ElementType

func (ServiceTaskSpecPlacementPlatformArray) ToServiceTaskSpecPlacementPlatformArrayOutput

func (i ServiceTaskSpecPlacementPlatformArray) ToServiceTaskSpecPlacementPlatformArrayOutput() ServiceTaskSpecPlacementPlatformArrayOutput

func (ServiceTaskSpecPlacementPlatformArray) ToServiceTaskSpecPlacementPlatformArrayOutputWithContext

func (i ServiceTaskSpecPlacementPlatformArray) ToServiceTaskSpecPlacementPlatformArrayOutputWithContext(ctx context.Context) ServiceTaskSpecPlacementPlatformArrayOutput

type ServiceTaskSpecPlacementPlatformArrayInput

type ServiceTaskSpecPlacementPlatformArrayInput interface {
	pulumi.Input

	ToServiceTaskSpecPlacementPlatformArrayOutput() ServiceTaskSpecPlacementPlatformArrayOutput
	ToServiceTaskSpecPlacementPlatformArrayOutputWithContext(context.Context) ServiceTaskSpecPlacementPlatformArrayOutput
}

ServiceTaskSpecPlacementPlatformArrayInput is an input type that accepts ServiceTaskSpecPlacementPlatformArray and ServiceTaskSpecPlacementPlatformArrayOutput values. You can construct a concrete instance of `ServiceTaskSpecPlacementPlatformArrayInput` via:

ServiceTaskSpecPlacementPlatformArray{ ServiceTaskSpecPlacementPlatformArgs{...} }

type ServiceTaskSpecPlacementPlatformArrayOutput

type ServiceTaskSpecPlacementPlatformArrayOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecPlacementPlatformArrayOutput) ElementType

func (ServiceTaskSpecPlacementPlatformArrayOutput) Index

func (ServiceTaskSpecPlacementPlatformArrayOutput) ToServiceTaskSpecPlacementPlatformArrayOutput

func (o ServiceTaskSpecPlacementPlatformArrayOutput) ToServiceTaskSpecPlacementPlatformArrayOutput() ServiceTaskSpecPlacementPlatformArrayOutput

func (ServiceTaskSpecPlacementPlatformArrayOutput) ToServiceTaskSpecPlacementPlatformArrayOutputWithContext

func (o ServiceTaskSpecPlacementPlatformArrayOutput) ToServiceTaskSpecPlacementPlatformArrayOutputWithContext(ctx context.Context) ServiceTaskSpecPlacementPlatformArrayOutput

type ServiceTaskSpecPlacementPlatformInput

type ServiceTaskSpecPlacementPlatformInput interface {
	pulumi.Input

	ToServiceTaskSpecPlacementPlatformOutput() ServiceTaskSpecPlacementPlatformOutput
	ToServiceTaskSpecPlacementPlatformOutputWithContext(context.Context) ServiceTaskSpecPlacementPlatformOutput
}

ServiceTaskSpecPlacementPlatformInput is an input type that accepts ServiceTaskSpecPlacementPlatformArgs and ServiceTaskSpecPlacementPlatformOutput values. You can construct a concrete instance of `ServiceTaskSpecPlacementPlatformInput` via:

ServiceTaskSpecPlacementPlatformArgs{...}

type ServiceTaskSpecPlacementPlatformOutput

type ServiceTaskSpecPlacementPlatformOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecPlacementPlatformOutput) Architecture

The architecture, e.g. `amd64`

func (ServiceTaskSpecPlacementPlatformOutput) ElementType

func (ServiceTaskSpecPlacementPlatformOutput) Os

The operation system, e.g. `linux`

func (ServiceTaskSpecPlacementPlatformOutput) ToServiceTaskSpecPlacementPlatformOutput

func (o ServiceTaskSpecPlacementPlatformOutput) ToServiceTaskSpecPlacementPlatformOutput() ServiceTaskSpecPlacementPlatformOutput

func (ServiceTaskSpecPlacementPlatformOutput) ToServiceTaskSpecPlacementPlatformOutputWithContext

func (o ServiceTaskSpecPlacementPlatformOutput) ToServiceTaskSpecPlacementPlatformOutputWithContext(ctx context.Context) ServiceTaskSpecPlacementPlatformOutput

type ServiceTaskSpecPlacementPtrInput

type ServiceTaskSpecPlacementPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecPlacementPtrOutput() ServiceTaskSpecPlacementPtrOutput
	ToServiceTaskSpecPlacementPtrOutputWithContext(context.Context) ServiceTaskSpecPlacementPtrOutput
}

ServiceTaskSpecPlacementPtrInput is an input type that accepts ServiceTaskSpecPlacementArgs, ServiceTaskSpecPlacementPtr and ServiceTaskSpecPlacementPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecPlacementPtrInput` via:

        ServiceTaskSpecPlacementArgs{...}

or:

        nil

type ServiceTaskSpecPlacementPtrOutput

type ServiceTaskSpecPlacementPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecPlacementPtrOutput) Constraints

An array of constraints. e.g.: `node.role==manager`

func (ServiceTaskSpecPlacementPtrOutput) Elem

func (ServiceTaskSpecPlacementPtrOutput) ElementType

func (ServiceTaskSpecPlacementPtrOutput) MaxReplicas

Maximum number of replicas for per node (default value is `0`, which is unlimited)

func (ServiceTaskSpecPlacementPtrOutput) Platforms

Platforms stores all the platforms that the service's image can run on

func (ServiceTaskSpecPlacementPtrOutput) Prefs

Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence, e.g.: `spread=node.role.manager`

func (ServiceTaskSpecPlacementPtrOutput) ToServiceTaskSpecPlacementPtrOutput

func (o ServiceTaskSpecPlacementPtrOutput) ToServiceTaskSpecPlacementPtrOutput() ServiceTaskSpecPlacementPtrOutput

func (ServiceTaskSpecPlacementPtrOutput) ToServiceTaskSpecPlacementPtrOutputWithContext

func (o ServiceTaskSpecPlacementPtrOutput) ToServiceTaskSpecPlacementPtrOutputWithContext(ctx context.Context) ServiceTaskSpecPlacementPtrOutput

type ServiceTaskSpecPtrInput

type ServiceTaskSpecPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecPtrOutput() ServiceTaskSpecPtrOutput
	ToServiceTaskSpecPtrOutputWithContext(context.Context) ServiceTaskSpecPtrOutput
}

ServiceTaskSpecPtrInput is an input type that accepts ServiceTaskSpecArgs, ServiceTaskSpecPtr and ServiceTaskSpecPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecPtrInput` via:

        ServiceTaskSpecArgs{...}

or:

        nil

type ServiceTaskSpecPtrOutput

type ServiceTaskSpecPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecPtrOutput) ContainerSpec

The spec for each container

func (ServiceTaskSpecPtrOutput) Elem

func (ServiceTaskSpecPtrOutput) ElementType

func (ServiceTaskSpecPtrOutput) ElementType() reflect.Type

func (ServiceTaskSpecPtrOutput) ForceUpdate

A counter that triggers an update even if no relevant parameters have been changed. See the [spec](https://github.com/docker/swarmkit/blob/master/api/specs.proto#L126).

func (ServiceTaskSpecPtrOutput) LogDriver

Specifies the log driver to use for tasks created from this spec. If not present, the default one for the swarm will be used, finally falling back to the engine default if not specified

func (ServiceTaskSpecPtrOutput) NetworksAdvanceds added in v4.1.0

The networks the container is attached to

func (ServiceTaskSpecPtrOutput) Placement

The placement preferences

func (ServiceTaskSpecPtrOutput) Resources

Resource requirements which apply to each individual container created as part of the service

func (ServiceTaskSpecPtrOutput) RestartPolicy

Specification for the restart policy which applies to containers created as part of this service.

func (ServiceTaskSpecPtrOutput) Runtime

Runtime is the type of runtime specified for the task executor. See the [types](https://github.com/moby/moby/blob/master/api/types/swarm/runtime.go).

func (ServiceTaskSpecPtrOutput) ToServiceTaskSpecPtrOutput

func (o ServiceTaskSpecPtrOutput) ToServiceTaskSpecPtrOutput() ServiceTaskSpecPtrOutput

func (ServiceTaskSpecPtrOutput) ToServiceTaskSpecPtrOutputWithContext

func (o ServiceTaskSpecPtrOutput) ToServiceTaskSpecPtrOutputWithContext(ctx context.Context) ServiceTaskSpecPtrOutput

type ServiceTaskSpecResources

type ServiceTaskSpecResources struct {
	// Describes the resources which can be advertised by a node and requested by a task
	Limits *ServiceTaskSpecResourcesLimits `pulumi:"limits"`
	// An object describing the resources which can be advertised by a node and requested by a task
	Reservation *ServiceTaskSpecResourcesReservation `pulumi:"reservation"`
}

type ServiceTaskSpecResourcesArgs

type ServiceTaskSpecResourcesArgs struct {
	// Describes the resources which can be advertised by a node and requested by a task
	Limits ServiceTaskSpecResourcesLimitsPtrInput `pulumi:"limits"`
	// An object describing the resources which can be advertised by a node and requested by a task
	Reservation ServiceTaskSpecResourcesReservationPtrInput `pulumi:"reservation"`
}

func (ServiceTaskSpecResourcesArgs) ElementType

func (ServiceTaskSpecResourcesArgs) ToServiceTaskSpecResourcesOutput

func (i ServiceTaskSpecResourcesArgs) ToServiceTaskSpecResourcesOutput() ServiceTaskSpecResourcesOutput

func (ServiceTaskSpecResourcesArgs) ToServiceTaskSpecResourcesOutputWithContext

func (i ServiceTaskSpecResourcesArgs) ToServiceTaskSpecResourcesOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesOutput

func (ServiceTaskSpecResourcesArgs) ToServiceTaskSpecResourcesPtrOutput

func (i ServiceTaskSpecResourcesArgs) ToServiceTaskSpecResourcesPtrOutput() ServiceTaskSpecResourcesPtrOutput

func (ServiceTaskSpecResourcesArgs) ToServiceTaskSpecResourcesPtrOutputWithContext

func (i ServiceTaskSpecResourcesArgs) ToServiceTaskSpecResourcesPtrOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesPtrOutput

type ServiceTaskSpecResourcesInput

type ServiceTaskSpecResourcesInput interface {
	pulumi.Input

	ToServiceTaskSpecResourcesOutput() ServiceTaskSpecResourcesOutput
	ToServiceTaskSpecResourcesOutputWithContext(context.Context) ServiceTaskSpecResourcesOutput
}

ServiceTaskSpecResourcesInput is an input type that accepts ServiceTaskSpecResourcesArgs and ServiceTaskSpecResourcesOutput values. You can construct a concrete instance of `ServiceTaskSpecResourcesInput` via:

ServiceTaskSpecResourcesArgs{...}

type ServiceTaskSpecResourcesLimits

type ServiceTaskSpecResourcesLimits struct {
	// The amounf of memory in bytes the container allocates
	MemoryBytes *int `pulumi:"memoryBytes"`
	// CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`
	NanoCpus *int `pulumi:"nanoCpus"`
}

type ServiceTaskSpecResourcesLimitsArgs

type ServiceTaskSpecResourcesLimitsArgs struct {
	// The amounf of memory in bytes the container allocates
	MemoryBytes pulumi.IntPtrInput `pulumi:"memoryBytes"`
	// CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`
	NanoCpus pulumi.IntPtrInput `pulumi:"nanoCpus"`
}

func (ServiceTaskSpecResourcesLimitsArgs) ElementType

func (ServiceTaskSpecResourcesLimitsArgs) ToServiceTaskSpecResourcesLimitsOutput

func (i ServiceTaskSpecResourcesLimitsArgs) ToServiceTaskSpecResourcesLimitsOutput() ServiceTaskSpecResourcesLimitsOutput

func (ServiceTaskSpecResourcesLimitsArgs) ToServiceTaskSpecResourcesLimitsOutputWithContext

func (i ServiceTaskSpecResourcesLimitsArgs) ToServiceTaskSpecResourcesLimitsOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesLimitsOutput

func (ServiceTaskSpecResourcesLimitsArgs) ToServiceTaskSpecResourcesLimitsPtrOutput

func (i ServiceTaskSpecResourcesLimitsArgs) ToServiceTaskSpecResourcesLimitsPtrOutput() ServiceTaskSpecResourcesLimitsPtrOutput

func (ServiceTaskSpecResourcesLimitsArgs) ToServiceTaskSpecResourcesLimitsPtrOutputWithContext

func (i ServiceTaskSpecResourcesLimitsArgs) ToServiceTaskSpecResourcesLimitsPtrOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesLimitsPtrOutput

type ServiceTaskSpecResourcesLimitsInput

type ServiceTaskSpecResourcesLimitsInput interface {
	pulumi.Input

	ToServiceTaskSpecResourcesLimitsOutput() ServiceTaskSpecResourcesLimitsOutput
	ToServiceTaskSpecResourcesLimitsOutputWithContext(context.Context) ServiceTaskSpecResourcesLimitsOutput
}

ServiceTaskSpecResourcesLimitsInput is an input type that accepts ServiceTaskSpecResourcesLimitsArgs and ServiceTaskSpecResourcesLimitsOutput values. You can construct a concrete instance of `ServiceTaskSpecResourcesLimitsInput` via:

ServiceTaskSpecResourcesLimitsArgs{...}

type ServiceTaskSpecResourcesLimitsOutput

type ServiceTaskSpecResourcesLimitsOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecResourcesLimitsOutput) ElementType

func (ServiceTaskSpecResourcesLimitsOutput) MemoryBytes

The amounf of memory in bytes the container allocates

func (ServiceTaskSpecResourcesLimitsOutput) NanoCpus

CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`

func (ServiceTaskSpecResourcesLimitsOutput) ToServiceTaskSpecResourcesLimitsOutput

func (o ServiceTaskSpecResourcesLimitsOutput) ToServiceTaskSpecResourcesLimitsOutput() ServiceTaskSpecResourcesLimitsOutput

func (ServiceTaskSpecResourcesLimitsOutput) ToServiceTaskSpecResourcesLimitsOutputWithContext

func (o ServiceTaskSpecResourcesLimitsOutput) ToServiceTaskSpecResourcesLimitsOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesLimitsOutput

func (ServiceTaskSpecResourcesLimitsOutput) ToServiceTaskSpecResourcesLimitsPtrOutput

func (o ServiceTaskSpecResourcesLimitsOutput) ToServiceTaskSpecResourcesLimitsPtrOutput() ServiceTaskSpecResourcesLimitsPtrOutput

func (ServiceTaskSpecResourcesLimitsOutput) ToServiceTaskSpecResourcesLimitsPtrOutputWithContext

func (o ServiceTaskSpecResourcesLimitsOutput) ToServiceTaskSpecResourcesLimitsPtrOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesLimitsPtrOutput

type ServiceTaskSpecResourcesLimitsPtrInput

type ServiceTaskSpecResourcesLimitsPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecResourcesLimitsPtrOutput() ServiceTaskSpecResourcesLimitsPtrOutput
	ToServiceTaskSpecResourcesLimitsPtrOutputWithContext(context.Context) ServiceTaskSpecResourcesLimitsPtrOutput
}

ServiceTaskSpecResourcesLimitsPtrInput is an input type that accepts ServiceTaskSpecResourcesLimitsArgs, ServiceTaskSpecResourcesLimitsPtr and ServiceTaskSpecResourcesLimitsPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecResourcesLimitsPtrInput` via:

        ServiceTaskSpecResourcesLimitsArgs{...}

or:

        nil

type ServiceTaskSpecResourcesLimitsPtrOutput

type ServiceTaskSpecResourcesLimitsPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecResourcesLimitsPtrOutput) Elem

func (ServiceTaskSpecResourcesLimitsPtrOutput) ElementType

func (ServiceTaskSpecResourcesLimitsPtrOutput) MemoryBytes

The amounf of memory in bytes the container allocates

func (ServiceTaskSpecResourcesLimitsPtrOutput) NanoCpus

CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`

func (ServiceTaskSpecResourcesLimitsPtrOutput) ToServiceTaskSpecResourcesLimitsPtrOutput

func (o ServiceTaskSpecResourcesLimitsPtrOutput) ToServiceTaskSpecResourcesLimitsPtrOutput() ServiceTaskSpecResourcesLimitsPtrOutput

func (ServiceTaskSpecResourcesLimitsPtrOutput) ToServiceTaskSpecResourcesLimitsPtrOutputWithContext

func (o ServiceTaskSpecResourcesLimitsPtrOutput) ToServiceTaskSpecResourcesLimitsPtrOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesLimitsPtrOutput

type ServiceTaskSpecResourcesOutput

type ServiceTaskSpecResourcesOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecResourcesOutput) ElementType

func (ServiceTaskSpecResourcesOutput) Limits

Describes the resources which can be advertised by a node and requested by a task

func (ServiceTaskSpecResourcesOutput) Reservation

An object describing the resources which can be advertised by a node and requested by a task

func (ServiceTaskSpecResourcesOutput) ToServiceTaskSpecResourcesOutput

func (o ServiceTaskSpecResourcesOutput) ToServiceTaskSpecResourcesOutput() ServiceTaskSpecResourcesOutput

func (ServiceTaskSpecResourcesOutput) ToServiceTaskSpecResourcesOutputWithContext

func (o ServiceTaskSpecResourcesOutput) ToServiceTaskSpecResourcesOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesOutput

func (ServiceTaskSpecResourcesOutput) ToServiceTaskSpecResourcesPtrOutput

func (o ServiceTaskSpecResourcesOutput) ToServiceTaskSpecResourcesPtrOutput() ServiceTaskSpecResourcesPtrOutput

func (ServiceTaskSpecResourcesOutput) ToServiceTaskSpecResourcesPtrOutputWithContext

func (o ServiceTaskSpecResourcesOutput) ToServiceTaskSpecResourcesPtrOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesPtrOutput

type ServiceTaskSpecResourcesPtrInput

type ServiceTaskSpecResourcesPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecResourcesPtrOutput() ServiceTaskSpecResourcesPtrOutput
	ToServiceTaskSpecResourcesPtrOutputWithContext(context.Context) ServiceTaskSpecResourcesPtrOutput
}

ServiceTaskSpecResourcesPtrInput is an input type that accepts ServiceTaskSpecResourcesArgs, ServiceTaskSpecResourcesPtr and ServiceTaskSpecResourcesPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecResourcesPtrInput` via:

        ServiceTaskSpecResourcesArgs{...}

or:

        nil

type ServiceTaskSpecResourcesPtrOutput

type ServiceTaskSpecResourcesPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecResourcesPtrOutput) Elem

func (ServiceTaskSpecResourcesPtrOutput) ElementType

func (ServiceTaskSpecResourcesPtrOutput) Limits

Describes the resources which can be advertised by a node and requested by a task

func (ServiceTaskSpecResourcesPtrOutput) Reservation

An object describing the resources which can be advertised by a node and requested by a task

func (ServiceTaskSpecResourcesPtrOutput) ToServiceTaskSpecResourcesPtrOutput

func (o ServiceTaskSpecResourcesPtrOutput) ToServiceTaskSpecResourcesPtrOutput() ServiceTaskSpecResourcesPtrOutput

func (ServiceTaskSpecResourcesPtrOutput) ToServiceTaskSpecResourcesPtrOutputWithContext

func (o ServiceTaskSpecResourcesPtrOutput) ToServiceTaskSpecResourcesPtrOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesPtrOutput

type ServiceTaskSpecResourcesReservation

type ServiceTaskSpecResourcesReservation struct {
	// User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, GPU=UUID1)
	GenericResources *ServiceTaskSpecResourcesReservationGenericResources `pulumi:"genericResources"`
	// The amounf of memory in bytes the container allocates
	MemoryBytes *int `pulumi:"memoryBytes"`
	// CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`
	NanoCpus *int `pulumi:"nanoCpus"`
}

type ServiceTaskSpecResourcesReservationArgs

type ServiceTaskSpecResourcesReservationArgs struct {
	// User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, GPU=UUID1)
	GenericResources ServiceTaskSpecResourcesReservationGenericResourcesPtrInput `pulumi:"genericResources"`
	// The amounf of memory in bytes the container allocates
	MemoryBytes pulumi.IntPtrInput `pulumi:"memoryBytes"`
	// CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`
	NanoCpus pulumi.IntPtrInput `pulumi:"nanoCpus"`
}

func (ServiceTaskSpecResourcesReservationArgs) ElementType

func (ServiceTaskSpecResourcesReservationArgs) ToServiceTaskSpecResourcesReservationOutput

func (i ServiceTaskSpecResourcesReservationArgs) ToServiceTaskSpecResourcesReservationOutput() ServiceTaskSpecResourcesReservationOutput

func (ServiceTaskSpecResourcesReservationArgs) ToServiceTaskSpecResourcesReservationOutputWithContext

func (i ServiceTaskSpecResourcesReservationArgs) ToServiceTaskSpecResourcesReservationOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesReservationOutput

func (ServiceTaskSpecResourcesReservationArgs) ToServiceTaskSpecResourcesReservationPtrOutput

func (i ServiceTaskSpecResourcesReservationArgs) ToServiceTaskSpecResourcesReservationPtrOutput() ServiceTaskSpecResourcesReservationPtrOutput

func (ServiceTaskSpecResourcesReservationArgs) ToServiceTaskSpecResourcesReservationPtrOutputWithContext

func (i ServiceTaskSpecResourcesReservationArgs) ToServiceTaskSpecResourcesReservationPtrOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesReservationPtrOutput

type ServiceTaskSpecResourcesReservationGenericResources

type ServiceTaskSpecResourcesReservationGenericResources struct {
	// The Integer resources
	DiscreteResourcesSpecs []string `pulumi:"discreteResourcesSpecs"`
	// The String resources
	NamedResourcesSpecs []string `pulumi:"namedResourcesSpecs"`
}

type ServiceTaskSpecResourcesReservationGenericResourcesArgs

type ServiceTaskSpecResourcesReservationGenericResourcesArgs struct {
	// The Integer resources
	DiscreteResourcesSpecs pulumi.StringArrayInput `pulumi:"discreteResourcesSpecs"`
	// The String resources
	NamedResourcesSpecs pulumi.StringArrayInput `pulumi:"namedResourcesSpecs"`
}

func (ServiceTaskSpecResourcesReservationGenericResourcesArgs) ElementType

func (ServiceTaskSpecResourcesReservationGenericResourcesArgs) ToServiceTaskSpecResourcesReservationGenericResourcesOutput

func (ServiceTaskSpecResourcesReservationGenericResourcesArgs) ToServiceTaskSpecResourcesReservationGenericResourcesOutputWithContext

func (i ServiceTaskSpecResourcesReservationGenericResourcesArgs) ToServiceTaskSpecResourcesReservationGenericResourcesOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesReservationGenericResourcesOutput

func (ServiceTaskSpecResourcesReservationGenericResourcesArgs) ToServiceTaskSpecResourcesReservationGenericResourcesPtrOutput

func (i ServiceTaskSpecResourcesReservationGenericResourcesArgs) ToServiceTaskSpecResourcesReservationGenericResourcesPtrOutput() ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput

func (ServiceTaskSpecResourcesReservationGenericResourcesArgs) ToServiceTaskSpecResourcesReservationGenericResourcesPtrOutputWithContext

func (i ServiceTaskSpecResourcesReservationGenericResourcesArgs) ToServiceTaskSpecResourcesReservationGenericResourcesPtrOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput

type ServiceTaskSpecResourcesReservationGenericResourcesInput

type ServiceTaskSpecResourcesReservationGenericResourcesInput interface {
	pulumi.Input

	ToServiceTaskSpecResourcesReservationGenericResourcesOutput() ServiceTaskSpecResourcesReservationGenericResourcesOutput
	ToServiceTaskSpecResourcesReservationGenericResourcesOutputWithContext(context.Context) ServiceTaskSpecResourcesReservationGenericResourcesOutput
}

ServiceTaskSpecResourcesReservationGenericResourcesInput is an input type that accepts ServiceTaskSpecResourcesReservationGenericResourcesArgs and ServiceTaskSpecResourcesReservationGenericResourcesOutput values. You can construct a concrete instance of `ServiceTaskSpecResourcesReservationGenericResourcesInput` via:

ServiceTaskSpecResourcesReservationGenericResourcesArgs{...}

type ServiceTaskSpecResourcesReservationGenericResourcesOutput

type ServiceTaskSpecResourcesReservationGenericResourcesOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecResourcesReservationGenericResourcesOutput) DiscreteResourcesSpecs

The Integer resources

func (ServiceTaskSpecResourcesReservationGenericResourcesOutput) ElementType

func (ServiceTaskSpecResourcesReservationGenericResourcesOutput) NamedResourcesSpecs

The String resources

func (ServiceTaskSpecResourcesReservationGenericResourcesOutput) ToServiceTaskSpecResourcesReservationGenericResourcesOutput

func (ServiceTaskSpecResourcesReservationGenericResourcesOutput) ToServiceTaskSpecResourcesReservationGenericResourcesOutputWithContext

func (o ServiceTaskSpecResourcesReservationGenericResourcesOutput) ToServiceTaskSpecResourcesReservationGenericResourcesOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesReservationGenericResourcesOutput

func (ServiceTaskSpecResourcesReservationGenericResourcesOutput) ToServiceTaskSpecResourcesReservationGenericResourcesPtrOutput

func (ServiceTaskSpecResourcesReservationGenericResourcesOutput) ToServiceTaskSpecResourcesReservationGenericResourcesPtrOutputWithContext

func (o ServiceTaskSpecResourcesReservationGenericResourcesOutput) ToServiceTaskSpecResourcesReservationGenericResourcesPtrOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput

type ServiceTaskSpecResourcesReservationGenericResourcesPtrInput

type ServiceTaskSpecResourcesReservationGenericResourcesPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecResourcesReservationGenericResourcesPtrOutput() ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput
	ToServiceTaskSpecResourcesReservationGenericResourcesPtrOutputWithContext(context.Context) ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput
}

ServiceTaskSpecResourcesReservationGenericResourcesPtrInput is an input type that accepts ServiceTaskSpecResourcesReservationGenericResourcesArgs, ServiceTaskSpecResourcesReservationGenericResourcesPtr and ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecResourcesReservationGenericResourcesPtrInput` via:

        ServiceTaskSpecResourcesReservationGenericResourcesArgs{...}

or:

        nil

type ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput

type ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput) DiscreteResourcesSpecs

The Integer resources

func (ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput) Elem

func (ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput) ElementType

func (ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput) NamedResourcesSpecs

The String resources

func (ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput) ToServiceTaskSpecResourcesReservationGenericResourcesPtrOutput

func (ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput) ToServiceTaskSpecResourcesReservationGenericResourcesPtrOutputWithContext

func (o ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput) ToServiceTaskSpecResourcesReservationGenericResourcesPtrOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesReservationGenericResourcesPtrOutput

type ServiceTaskSpecResourcesReservationInput

type ServiceTaskSpecResourcesReservationInput interface {
	pulumi.Input

	ToServiceTaskSpecResourcesReservationOutput() ServiceTaskSpecResourcesReservationOutput
	ToServiceTaskSpecResourcesReservationOutputWithContext(context.Context) ServiceTaskSpecResourcesReservationOutput
}

ServiceTaskSpecResourcesReservationInput is an input type that accepts ServiceTaskSpecResourcesReservationArgs and ServiceTaskSpecResourcesReservationOutput values. You can construct a concrete instance of `ServiceTaskSpecResourcesReservationInput` via:

ServiceTaskSpecResourcesReservationArgs{...}

type ServiceTaskSpecResourcesReservationOutput

type ServiceTaskSpecResourcesReservationOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecResourcesReservationOutput) ElementType

func (ServiceTaskSpecResourcesReservationOutput) GenericResources

User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, GPU=UUID1)

func (ServiceTaskSpecResourcesReservationOutput) MemoryBytes

The amounf of memory in bytes the container allocates

func (ServiceTaskSpecResourcesReservationOutput) NanoCpus

CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`

func (ServiceTaskSpecResourcesReservationOutput) ToServiceTaskSpecResourcesReservationOutput

func (o ServiceTaskSpecResourcesReservationOutput) ToServiceTaskSpecResourcesReservationOutput() ServiceTaskSpecResourcesReservationOutput

func (ServiceTaskSpecResourcesReservationOutput) ToServiceTaskSpecResourcesReservationOutputWithContext

func (o ServiceTaskSpecResourcesReservationOutput) ToServiceTaskSpecResourcesReservationOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesReservationOutput

func (ServiceTaskSpecResourcesReservationOutput) ToServiceTaskSpecResourcesReservationPtrOutput

func (o ServiceTaskSpecResourcesReservationOutput) ToServiceTaskSpecResourcesReservationPtrOutput() ServiceTaskSpecResourcesReservationPtrOutput

func (ServiceTaskSpecResourcesReservationOutput) ToServiceTaskSpecResourcesReservationPtrOutputWithContext

func (o ServiceTaskSpecResourcesReservationOutput) ToServiceTaskSpecResourcesReservationPtrOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesReservationPtrOutput

type ServiceTaskSpecResourcesReservationPtrInput

type ServiceTaskSpecResourcesReservationPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecResourcesReservationPtrOutput() ServiceTaskSpecResourcesReservationPtrOutput
	ToServiceTaskSpecResourcesReservationPtrOutputWithContext(context.Context) ServiceTaskSpecResourcesReservationPtrOutput
}

ServiceTaskSpecResourcesReservationPtrInput is an input type that accepts ServiceTaskSpecResourcesReservationArgs, ServiceTaskSpecResourcesReservationPtr and ServiceTaskSpecResourcesReservationPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecResourcesReservationPtrInput` via:

        ServiceTaskSpecResourcesReservationArgs{...}

or:

        nil

type ServiceTaskSpecResourcesReservationPtrOutput

type ServiceTaskSpecResourcesReservationPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecResourcesReservationPtrOutput) Elem

func (ServiceTaskSpecResourcesReservationPtrOutput) ElementType

func (ServiceTaskSpecResourcesReservationPtrOutput) GenericResources

User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, GPU=UUID1)

func (ServiceTaskSpecResourcesReservationPtrOutput) MemoryBytes

The amounf of memory in bytes the container allocates

func (ServiceTaskSpecResourcesReservationPtrOutput) NanoCpus

CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`

func (ServiceTaskSpecResourcesReservationPtrOutput) ToServiceTaskSpecResourcesReservationPtrOutput

func (o ServiceTaskSpecResourcesReservationPtrOutput) ToServiceTaskSpecResourcesReservationPtrOutput() ServiceTaskSpecResourcesReservationPtrOutput

func (ServiceTaskSpecResourcesReservationPtrOutput) ToServiceTaskSpecResourcesReservationPtrOutputWithContext

func (o ServiceTaskSpecResourcesReservationPtrOutput) ToServiceTaskSpecResourcesReservationPtrOutputWithContext(ctx context.Context) ServiceTaskSpecResourcesReservationPtrOutput

type ServiceTaskSpecRestartPolicy

type ServiceTaskSpecRestartPolicy struct {
	// Condition for restart
	Condition *string `pulumi:"condition"`
	// Delay between restart attempts (ms|s|m|h)
	Delay *string `pulumi:"delay"`
	// Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored)
	MaxAttempts *int `pulumi:"maxAttempts"`
	// The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h)
	Window *string `pulumi:"window"`
}

type ServiceTaskSpecRestartPolicyArgs

type ServiceTaskSpecRestartPolicyArgs struct {
	// Condition for restart
	Condition pulumi.StringPtrInput `pulumi:"condition"`
	// Delay between restart attempts (ms|s|m|h)
	Delay pulumi.StringPtrInput `pulumi:"delay"`
	// Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored)
	MaxAttempts pulumi.IntPtrInput `pulumi:"maxAttempts"`
	// The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h)
	Window pulumi.StringPtrInput `pulumi:"window"`
}

func (ServiceTaskSpecRestartPolicyArgs) ElementType

func (ServiceTaskSpecRestartPolicyArgs) ToServiceTaskSpecRestartPolicyOutput

func (i ServiceTaskSpecRestartPolicyArgs) ToServiceTaskSpecRestartPolicyOutput() ServiceTaskSpecRestartPolicyOutput

func (ServiceTaskSpecRestartPolicyArgs) ToServiceTaskSpecRestartPolicyOutputWithContext

func (i ServiceTaskSpecRestartPolicyArgs) ToServiceTaskSpecRestartPolicyOutputWithContext(ctx context.Context) ServiceTaskSpecRestartPolicyOutput

func (ServiceTaskSpecRestartPolicyArgs) ToServiceTaskSpecRestartPolicyPtrOutput

func (i ServiceTaskSpecRestartPolicyArgs) ToServiceTaskSpecRestartPolicyPtrOutput() ServiceTaskSpecRestartPolicyPtrOutput

func (ServiceTaskSpecRestartPolicyArgs) ToServiceTaskSpecRestartPolicyPtrOutputWithContext

func (i ServiceTaskSpecRestartPolicyArgs) ToServiceTaskSpecRestartPolicyPtrOutputWithContext(ctx context.Context) ServiceTaskSpecRestartPolicyPtrOutput

type ServiceTaskSpecRestartPolicyInput

type ServiceTaskSpecRestartPolicyInput interface {
	pulumi.Input

	ToServiceTaskSpecRestartPolicyOutput() ServiceTaskSpecRestartPolicyOutput
	ToServiceTaskSpecRestartPolicyOutputWithContext(context.Context) ServiceTaskSpecRestartPolicyOutput
}

ServiceTaskSpecRestartPolicyInput is an input type that accepts ServiceTaskSpecRestartPolicyArgs and ServiceTaskSpecRestartPolicyOutput values. You can construct a concrete instance of `ServiceTaskSpecRestartPolicyInput` via:

ServiceTaskSpecRestartPolicyArgs{...}

type ServiceTaskSpecRestartPolicyOutput

type ServiceTaskSpecRestartPolicyOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecRestartPolicyOutput) Condition

Condition for restart

func (ServiceTaskSpecRestartPolicyOutput) Delay

Delay between restart attempts (ms|s|m|h)

func (ServiceTaskSpecRestartPolicyOutput) ElementType

func (ServiceTaskSpecRestartPolicyOutput) MaxAttempts

Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored)

func (ServiceTaskSpecRestartPolicyOutput) ToServiceTaskSpecRestartPolicyOutput

func (o ServiceTaskSpecRestartPolicyOutput) ToServiceTaskSpecRestartPolicyOutput() ServiceTaskSpecRestartPolicyOutput

func (ServiceTaskSpecRestartPolicyOutput) ToServiceTaskSpecRestartPolicyOutputWithContext

func (o ServiceTaskSpecRestartPolicyOutput) ToServiceTaskSpecRestartPolicyOutputWithContext(ctx context.Context) ServiceTaskSpecRestartPolicyOutput

func (ServiceTaskSpecRestartPolicyOutput) ToServiceTaskSpecRestartPolicyPtrOutput

func (o ServiceTaskSpecRestartPolicyOutput) ToServiceTaskSpecRestartPolicyPtrOutput() ServiceTaskSpecRestartPolicyPtrOutput

func (ServiceTaskSpecRestartPolicyOutput) ToServiceTaskSpecRestartPolicyPtrOutputWithContext

func (o ServiceTaskSpecRestartPolicyOutput) ToServiceTaskSpecRestartPolicyPtrOutputWithContext(ctx context.Context) ServiceTaskSpecRestartPolicyPtrOutput

func (ServiceTaskSpecRestartPolicyOutput) Window

The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h)

type ServiceTaskSpecRestartPolicyPtrInput

type ServiceTaskSpecRestartPolicyPtrInput interface {
	pulumi.Input

	ToServiceTaskSpecRestartPolicyPtrOutput() ServiceTaskSpecRestartPolicyPtrOutput
	ToServiceTaskSpecRestartPolicyPtrOutputWithContext(context.Context) ServiceTaskSpecRestartPolicyPtrOutput
}

ServiceTaskSpecRestartPolicyPtrInput is an input type that accepts ServiceTaskSpecRestartPolicyArgs, ServiceTaskSpecRestartPolicyPtr and ServiceTaskSpecRestartPolicyPtrOutput values. You can construct a concrete instance of `ServiceTaskSpecRestartPolicyPtrInput` via:

        ServiceTaskSpecRestartPolicyArgs{...}

or:

        nil

type ServiceTaskSpecRestartPolicyPtrOutput

type ServiceTaskSpecRestartPolicyPtrOutput struct{ *pulumi.OutputState }

func (ServiceTaskSpecRestartPolicyPtrOutput) Condition

Condition for restart

func (ServiceTaskSpecRestartPolicyPtrOutput) Delay

Delay between restart attempts (ms|s|m|h)

func (ServiceTaskSpecRestartPolicyPtrOutput) Elem

func (ServiceTaskSpecRestartPolicyPtrOutput) ElementType

func (ServiceTaskSpecRestartPolicyPtrOutput) MaxAttempts

Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored)

func (ServiceTaskSpecRestartPolicyPtrOutput) ToServiceTaskSpecRestartPolicyPtrOutput

func (o ServiceTaskSpecRestartPolicyPtrOutput) ToServiceTaskSpecRestartPolicyPtrOutput() ServiceTaskSpecRestartPolicyPtrOutput

func (ServiceTaskSpecRestartPolicyPtrOutput) ToServiceTaskSpecRestartPolicyPtrOutputWithContext

func (o ServiceTaskSpecRestartPolicyPtrOutput) ToServiceTaskSpecRestartPolicyPtrOutputWithContext(ctx context.Context) ServiceTaskSpecRestartPolicyPtrOutput

func (ServiceTaskSpecRestartPolicyPtrOutput) Window

The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h)

type ServiceUpdateConfig

type ServiceUpdateConfig struct {
	// Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`.
	Delay *string `pulumi:"delay"`
	// Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`.
	FailureAction *string `pulumi:"failureAction"`
	// Failure rate to tolerate during an update. Defaults to `0.0`.
	MaxFailureRatio *string `pulumi:"maxFailureRatio"`
	// Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
	Monitor *string `pulumi:"monitor"`
	// Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
	Order *string `pulumi:"order"`
	// Maximum number of tasks to be updated in one iteration. Defaults to `1`
	Parallelism *int `pulumi:"parallelism"`
}

type ServiceUpdateConfigArgs

type ServiceUpdateConfigArgs struct {
	// Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`.
	Delay pulumi.StringPtrInput `pulumi:"delay"`
	// Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`.
	FailureAction pulumi.StringPtrInput `pulumi:"failureAction"`
	// Failure rate to tolerate during an update. Defaults to `0.0`.
	MaxFailureRatio pulumi.StringPtrInput `pulumi:"maxFailureRatio"`
	// Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.
	Monitor pulumi.StringPtrInput `pulumi:"monitor"`
	// Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.
	Order pulumi.StringPtrInput `pulumi:"order"`
	// Maximum number of tasks to be updated in one iteration. Defaults to `1`
	Parallelism pulumi.IntPtrInput `pulumi:"parallelism"`
}

func (ServiceUpdateConfigArgs) ElementType

func (ServiceUpdateConfigArgs) ElementType() reflect.Type

func (ServiceUpdateConfigArgs) ToServiceUpdateConfigOutput

func (i ServiceUpdateConfigArgs) ToServiceUpdateConfigOutput() ServiceUpdateConfigOutput

func (ServiceUpdateConfigArgs) ToServiceUpdateConfigOutputWithContext

func (i ServiceUpdateConfigArgs) ToServiceUpdateConfigOutputWithContext(ctx context.Context) ServiceUpdateConfigOutput

func (ServiceUpdateConfigArgs) ToServiceUpdateConfigPtrOutput

func (i ServiceUpdateConfigArgs) ToServiceUpdateConfigPtrOutput() ServiceUpdateConfigPtrOutput

func (ServiceUpdateConfigArgs) ToServiceUpdateConfigPtrOutputWithContext

func (i ServiceUpdateConfigArgs) ToServiceUpdateConfigPtrOutputWithContext(ctx context.Context) ServiceUpdateConfigPtrOutput

type ServiceUpdateConfigInput

type ServiceUpdateConfigInput interface {
	pulumi.Input

	ToServiceUpdateConfigOutput() ServiceUpdateConfigOutput
	ToServiceUpdateConfigOutputWithContext(context.Context) ServiceUpdateConfigOutput
}

ServiceUpdateConfigInput is an input type that accepts ServiceUpdateConfigArgs and ServiceUpdateConfigOutput values. You can construct a concrete instance of `ServiceUpdateConfigInput` via:

ServiceUpdateConfigArgs{...}

type ServiceUpdateConfigOutput

type ServiceUpdateConfigOutput struct{ *pulumi.OutputState }

func (ServiceUpdateConfigOutput) Delay

Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`.

func (ServiceUpdateConfigOutput) ElementType

func (ServiceUpdateConfigOutput) ElementType() reflect.Type

func (ServiceUpdateConfigOutput) FailureAction

Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`.

func (ServiceUpdateConfigOutput) MaxFailureRatio

func (o ServiceUpdateConfigOutput) MaxFailureRatio() pulumi.StringPtrOutput

Failure rate to tolerate during an update. Defaults to `0.0`.

func (ServiceUpdateConfigOutput) Monitor

Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.

func (ServiceUpdateConfigOutput) Order

Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.

func (ServiceUpdateConfigOutput) Parallelism

Maximum number of tasks to be updated in one iteration. Defaults to `1`

func (ServiceUpdateConfigOutput) ToServiceUpdateConfigOutput

func (o ServiceUpdateConfigOutput) ToServiceUpdateConfigOutput() ServiceUpdateConfigOutput

func (ServiceUpdateConfigOutput) ToServiceUpdateConfigOutputWithContext

func (o ServiceUpdateConfigOutput) ToServiceUpdateConfigOutputWithContext(ctx context.Context) ServiceUpdateConfigOutput

func (ServiceUpdateConfigOutput) ToServiceUpdateConfigPtrOutput

func (o ServiceUpdateConfigOutput) ToServiceUpdateConfigPtrOutput() ServiceUpdateConfigPtrOutput

func (ServiceUpdateConfigOutput) ToServiceUpdateConfigPtrOutputWithContext

func (o ServiceUpdateConfigOutput) ToServiceUpdateConfigPtrOutputWithContext(ctx context.Context) ServiceUpdateConfigPtrOutput

type ServiceUpdateConfigPtrInput

type ServiceUpdateConfigPtrInput interface {
	pulumi.Input

	ToServiceUpdateConfigPtrOutput() ServiceUpdateConfigPtrOutput
	ToServiceUpdateConfigPtrOutputWithContext(context.Context) ServiceUpdateConfigPtrOutput
}

ServiceUpdateConfigPtrInput is an input type that accepts ServiceUpdateConfigArgs, ServiceUpdateConfigPtr and ServiceUpdateConfigPtrOutput values. You can construct a concrete instance of `ServiceUpdateConfigPtrInput` via:

        ServiceUpdateConfigArgs{...}

or:

        nil

type ServiceUpdateConfigPtrOutput

type ServiceUpdateConfigPtrOutput struct{ *pulumi.OutputState }

func (ServiceUpdateConfigPtrOutput) Delay

Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`.

func (ServiceUpdateConfigPtrOutput) Elem

func (ServiceUpdateConfigPtrOutput) ElementType

func (ServiceUpdateConfigPtrOutput) FailureAction

Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`.

func (ServiceUpdateConfigPtrOutput) MaxFailureRatio

Failure rate to tolerate during an update. Defaults to `0.0`.

func (ServiceUpdateConfigPtrOutput) Monitor

Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`.

func (ServiceUpdateConfigPtrOutput) Order

Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`.

func (ServiceUpdateConfigPtrOutput) Parallelism

Maximum number of tasks to be updated in one iteration. Defaults to `1`

func (ServiceUpdateConfigPtrOutput) ToServiceUpdateConfigPtrOutput

func (o ServiceUpdateConfigPtrOutput) ToServiceUpdateConfigPtrOutput() ServiceUpdateConfigPtrOutput

func (ServiceUpdateConfigPtrOutput) ToServiceUpdateConfigPtrOutputWithContext

func (o ServiceUpdateConfigPtrOutput) ToServiceUpdateConfigPtrOutputWithContext(ctx context.Context) ServiceUpdateConfigPtrOutput

type Tag

type Tag struct {
	pulumi.CustomResourceState

	// Name of the source image.
	SourceImage pulumi.StringOutput `pulumi:"sourceImage"`
	// ImageID of the source image in the format of `sha256:<<ID>>`
	SourceImageId pulumi.StringOutput `pulumi:"sourceImageId"`
	// Name of the target image.
	TargetImage pulumi.StringOutput `pulumi:"targetImage"`
}

Creates a docker tag. It has the exact same functionality as the `docker tag` command. Deleting the resource will neither delete the source nor target images. The source image must exist on the machine running the docker daemon.

func GetTag

func GetTag(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TagState, opts ...pulumi.ResourceOption) (*Tag, error)

GetTag gets an existing Tag resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTag

func NewTag(ctx *pulumi.Context,
	name string, args *TagArgs, opts ...pulumi.ResourceOption) (*Tag, error)

NewTag registers a new resource with the given unique name, arguments, and options.

func (*Tag) ElementType

func (*Tag) ElementType() reflect.Type

func (*Tag) ToTagOutput

func (i *Tag) ToTagOutput() TagOutput

func (*Tag) ToTagOutputWithContext

func (i *Tag) ToTagOutputWithContext(ctx context.Context) TagOutput

type TagArgs

type TagArgs struct {
	// Name of the source image.
	SourceImage pulumi.StringInput
	// Name of the target image.
	TargetImage pulumi.StringInput
}

The set of arguments for constructing a Tag resource.

func (TagArgs) ElementType

func (TagArgs) ElementType() reflect.Type

type TagArray

type TagArray []TagInput

func (TagArray) ElementType

func (TagArray) ElementType() reflect.Type

func (TagArray) ToTagArrayOutput

func (i TagArray) ToTagArrayOutput() TagArrayOutput

func (TagArray) ToTagArrayOutputWithContext

func (i TagArray) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput

type TagArrayInput

type TagArrayInput interface {
	pulumi.Input

	ToTagArrayOutput() TagArrayOutput
	ToTagArrayOutputWithContext(context.Context) TagArrayOutput
}

TagArrayInput is an input type that accepts TagArray and TagArrayOutput values. You can construct a concrete instance of `TagArrayInput` via:

TagArray{ TagArgs{...} }

type TagArrayOutput

type TagArrayOutput struct{ *pulumi.OutputState }

func (TagArrayOutput) ElementType

func (TagArrayOutput) ElementType() reflect.Type

func (TagArrayOutput) Index

func (TagArrayOutput) ToTagArrayOutput

func (o TagArrayOutput) ToTagArrayOutput() TagArrayOutput

func (TagArrayOutput) ToTagArrayOutputWithContext

func (o TagArrayOutput) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput

type TagInput

type TagInput interface {
	pulumi.Input

	ToTagOutput() TagOutput
	ToTagOutputWithContext(ctx context.Context) TagOutput
}

type TagMap

type TagMap map[string]TagInput

func (TagMap) ElementType

func (TagMap) ElementType() reflect.Type

func (TagMap) ToTagMapOutput

func (i TagMap) ToTagMapOutput() TagMapOutput

func (TagMap) ToTagMapOutputWithContext

func (i TagMap) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput

type TagMapInput

type TagMapInput interface {
	pulumi.Input

	ToTagMapOutput() TagMapOutput
	ToTagMapOutputWithContext(context.Context) TagMapOutput
}

TagMapInput is an input type that accepts TagMap and TagMapOutput values. You can construct a concrete instance of `TagMapInput` via:

TagMap{ "key": TagArgs{...} }

type TagMapOutput

type TagMapOutput struct{ *pulumi.OutputState }

func (TagMapOutput) ElementType

func (TagMapOutput) ElementType() reflect.Type

func (TagMapOutput) MapIndex

func (o TagMapOutput) MapIndex(k pulumi.StringInput) TagOutput

func (TagMapOutput) ToTagMapOutput

func (o TagMapOutput) ToTagMapOutput() TagMapOutput

func (TagMapOutput) ToTagMapOutputWithContext

func (o TagMapOutput) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput

type TagOutput

type TagOutput struct{ *pulumi.OutputState }

func (TagOutput) ElementType

func (TagOutput) ElementType() reflect.Type

func (TagOutput) SourceImage

func (o TagOutput) SourceImage() pulumi.StringOutput

Name of the source image.

func (TagOutput) SourceImageId

func (o TagOutput) SourceImageId() pulumi.StringOutput

ImageID of the source image in the format of `sha256:<<ID>>`

func (TagOutput) TargetImage

func (o TagOutput) TargetImage() pulumi.StringOutput

Name of the target image.

func (TagOutput) ToTagOutput

func (o TagOutput) ToTagOutput() TagOutput

func (TagOutput) ToTagOutputWithContext

func (o TagOutput) ToTagOutputWithContext(ctx context.Context) TagOutput

type TagState

type TagState struct {
	// Name of the source image.
	SourceImage pulumi.StringPtrInput
	// ImageID of the source image in the format of `sha256:<<ID>>`
	SourceImageId pulumi.StringPtrInput
	// Name of the target image.
	TargetImage pulumi.StringPtrInput
}

func (TagState) ElementType

func (TagState) ElementType() reflect.Type

type Volume

type Volume struct {
	pulumi.CustomResourceState

	// Driver type for the volume. Defaults to `local`.
	Driver pulumi.StringOutput `pulumi:"driver"`
	// Options specific to the driver.
	DriverOpts pulumi.MapOutput `pulumi:"driverOpts"`
	// User-defined key/value metadata
	Labels VolumeLabelArrayOutput `pulumi:"labels"`
	// The mountpoint of the volume.
	Mountpoint pulumi.StringOutput `pulumi:"mountpoint"`
	// The name of the Docker volume (will be generated if not provided).
	Name pulumi.StringOutput `pulumi:"name"`
}

<!-- Bug: Type and Name are switched --> Creates and destroys a volume in Docker. This can be used alongside Container to prepare volumes that can be shared across containers.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-docker/sdk/v4/go/docker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := docker.NewVolume(ctx, "sharedVolume", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

### Example

Assuming you created a `volume` as follows

#!/bin/bash

docker volume create

prints the long ID

524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d

you provide the definition for the resource as follows

terraform

resource "docker_volume" "foo" {

name = "524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d"

}

then the import command is as follows

#!/bin/bash

```sh $ pulumi import docker:index/volume:Volume foo 524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d ```

func GetVolume

func GetVolume(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VolumeState, opts ...pulumi.ResourceOption) (*Volume, error)

GetVolume gets an existing Volume resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVolume

func NewVolume(ctx *pulumi.Context,
	name string, args *VolumeArgs, opts ...pulumi.ResourceOption) (*Volume, error)

NewVolume registers a new resource with the given unique name, arguments, and options.

func (*Volume) ElementType

func (*Volume) ElementType() reflect.Type

func (*Volume) ToVolumeOutput

func (i *Volume) ToVolumeOutput() VolumeOutput

func (*Volume) ToVolumeOutputWithContext

func (i *Volume) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

type VolumeArgs

type VolumeArgs struct {
	// Driver type for the volume. Defaults to `local`.
	Driver pulumi.StringPtrInput
	// Options specific to the driver.
	DriverOpts pulumi.MapInput
	// User-defined key/value metadata
	Labels VolumeLabelArrayInput
	// The name of the Docker volume (will be generated if not provided).
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Volume resource.

func (VolumeArgs) ElementType

func (VolumeArgs) ElementType() reflect.Type

type VolumeArray

type VolumeArray []VolumeInput

func (VolumeArray) ElementType

func (VolumeArray) ElementType() reflect.Type

func (VolumeArray) ToVolumeArrayOutput

func (i VolumeArray) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArray) ToVolumeArrayOutputWithContext

func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeArrayInput

type VolumeArrayInput interface {
	pulumi.Input

	ToVolumeArrayOutput() VolumeArrayOutput
	ToVolumeArrayOutputWithContext(context.Context) VolumeArrayOutput
}

VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. You can construct a concrete instance of `VolumeArrayInput` via:

VolumeArray{ VolumeArgs{...} }

type VolumeArrayOutput

type VolumeArrayOutput struct{ *pulumi.OutputState }

func (VolumeArrayOutput) ElementType

func (VolumeArrayOutput) ElementType() reflect.Type

func (VolumeArrayOutput) Index

func (VolumeArrayOutput) ToVolumeArrayOutput

func (o VolumeArrayOutput) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArrayOutput) ToVolumeArrayOutputWithContext

func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeInput

type VolumeInput interface {
	pulumi.Input

	ToVolumeOutput() VolumeOutput
	ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
}

type VolumeLabel

type VolumeLabel struct {
	// Name of the label
	Label string `pulumi:"label"`
	// Value of the label
	Value string `pulumi:"value"`
}

type VolumeLabelArgs

type VolumeLabelArgs struct {
	// Name of the label
	Label pulumi.StringInput `pulumi:"label"`
	// Value of the label
	Value pulumi.StringInput `pulumi:"value"`
}

func (VolumeLabelArgs) ElementType

func (VolumeLabelArgs) ElementType() reflect.Type

func (VolumeLabelArgs) ToVolumeLabelOutput

func (i VolumeLabelArgs) ToVolumeLabelOutput() VolumeLabelOutput

func (VolumeLabelArgs) ToVolumeLabelOutputWithContext

func (i VolumeLabelArgs) ToVolumeLabelOutputWithContext(ctx context.Context) VolumeLabelOutput

type VolumeLabelArray

type VolumeLabelArray []VolumeLabelInput

func (VolumeLabelArray) ElementType

func (VolumeLabelArray) ElementType() reflect.Type

func (VolumeLabelArray) ToVolumeLabelArrayOutput

func (i VolumeLabelArray) ToVolumeLabelArrayOutput() VolumeLabelArrayOutput

func (VolumeLabelArray) ToVolumeLabelArrayOutputWithContext

func (i VolumeLabelArray) ToVolumeLabelArrayOutputWithContext(ctx context.Context) VolumeLabelArrayOutput

type VolumeLabelArrayInput

type VolumeLabelArrayInput interface {
	pulumi.Input

	ToVolumeLabelArrayOutput() VolumeLabelArrayOutput
	ToVolumeLabelArrayOutputWithContext(context.Context) VolumeLabelArrayOutput
}

VolumeLabelArrayInput is an input type that accepts VolumeLabelArray and VolumeLabelArrayOutput values. You can construct a concrete instance of `VolumeLabelArrayInput` via:

VolumeLabelArray{ VolumeLabelArgs{...} }

type VolumeLabelArrayOutput

type VolumeLabelArrayOutput struct{ *pulumi.OutputState }

func (VolumeLabelArrayOutput) ElementType

func (VolumeLabelArrayOutput) ElementType() reflect.Type

func (VolumeLabelArrayOutput) Index

func (VolumeLabelArrayOutput) ToVolumeLabelArrayOutput

func (o VolumeLabelArrayOutput) ToVolumeLabelArrayOutput() VolumeLabelArrayOutput

func (VolumeLabelArrayOutput) ToVolumeLabelArrayOutputWithContext

func (o VolumeLabelArrayOutput) ToVolumeLabelArrayOutputWithContext(ctx context.Context) VolumeLabelArrayOutput

type VolumeLabelInput

type VolumeLabelInput interface {
	pulumi.Input

	ToVolumeLabelOutput() VolumeLabelOutput
	ToVolumeLabelOutputWithContext(context.Context) VolumeLabelOutput
}

VolumeLabelInput is an input type that accepts VolumeLabelArgs and VolumeLabelOutput values. You can construct a concrete instance of `VolumeLabelInput` via:

VolumeLabelArgs{...}

type VolumeLabelOutput

type VolumeLabelOutput struct{ *pulumi.OutputState }

func (VolumeLabelOutput) ElementType

func (VolumeLabelOutput) ElementType() reflect.Type

func (VolumeLabelOutput) Label

Name of the label

func (VolumeLabelOutput) ToVolumeLabelOutput

func (o VolumeLabelOutput) ToVolumeLabelOutput() VolumeLabelOutput

func (VolumeLabelOutput) ToVolumeLabelOutputWithContext

func (o VolumeLabelOutput) ToVolumeLabelOutputWithContext(ctx context.Context) VolumeLabelOutput

func (VolumeLabelOutput) Value

Value of the label

type VolumeMap

type VolumeMap map[string]VolumeInput

func (VolumeMap) ElementType

func (VolumeMap) ElementType() reflect.Type

func (VolumeMap) ToVolumeMapOutput

func (i VolumeMap) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMap) ToVolumeMapOutputWithContext

func (i VolumeMap) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput

type VolumeMapInput

type VolumeMapInput interface {
	pulumi.Input

	ToVolumeMapOutput() VolumeMapOutput
	ToVolumeMapOutputWithContext(context.Context) VolumeMapOutput
}

VolumeMapInput is an input type that accepts VolumeMap and VolumeMapOutput values. You can construct a concrete instance of `VolumeMapInput` via:

VolumeMap{ "key": VolumeArgs{...} }

type VolumeMapOutput

type VolumeMapOutput struct{ *pulumi.OutputState }

func (VolumeMapOutput) ElementType

func (VolumeMapOutput) ElementType() reflect.Type

func (VolumeMapOutput) MapIndex

func (VolumeMapOutput) ToVolumeMapOutput

func (o VolumeMapOutput) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMapOutput) ToVolumeMapOutputWithContext

func (o VolumeMapOutput) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput

type VolumeOutput

type VolumeOutput struct{ *pulumi.OutputState }

func (VolumeOutput) Driver

func (o VolumeOutput) Driver() pulumi.StringOutput

Driver type for the volume. Defaults to `local`.

func (VolumeOutput) DriverOpts

func (o VolumeOutput) DriverOpts() pulumi.MapOutput

Options specific to the driver.

func (VolumeOutput) ElementType

func (VolumeOutput) ElementType() reflect.Type

func (VolumeOutput) Labels

User-defined key/value metadata

func (VolumeOutput) Mountpoint

func (o VolumeOutput) Mountpoint() pulumi.StringOutput

The mountpoint of the volume.

func (VolumeOutput) Name

func (o VolumeOutput) Name() pulumi.StringOutput

The name of the Docker volume (will be generated if not provided).

func (VolumeOutput) ToVolumeOutput

func (o VolumeOutput) ToVolumeOutput() VolumeOutput

func (VolumeOutput) ToVolumeOutputWithContext

func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

type VolumeState

type VolumeState struct {
	// Driver type for the volume. Defaults to `local`.
	Driver pulumi.StringPtrInput
	// Options specific to the driver.
	DriverOpts pulumi.MapInput
	// User-defined key/value metadata
	Labels VolumeLabelArrayInput
	// The mountpoint of the volume.
	Mountpoint pulumi.StringPtrInput
	// The name of the Docker volume (will be generated if not provided).
	Name pulumi.StringPtrInput
}

func (VolumeState) ElementType

func (VolumeState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL