ServiceConfigArgs

data class ServiceConfigArgs(val data: Output<String>? = null, val name: Output<String>? = null) : ConvertibleToJava<ServiceConfigArgs>

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

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

Constructors

Link copied to clipboard
constructor(data: Output<String>? = null, name: Output<String>? = null)

Properties

Link copied to clipboard
val data: Output<String>? = null

Base64-url-safe-encoded config data

Link copied to clipboard
val name: Output<String>? = null

User-defined name of the config

Functions

Link copied to clipboard
open override fun toJava(): ServiceConfigArgs