Plugin

class Plugin : KotlinCustomResource

Manages the lifecycle of a Docker plugin.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.docker.Plugin;
import com.pulumi.docker.PluginArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var sample_volume_plugin = new Plugin("sample-volume-plugin", PluginArgs.builder()
.alias("sample-volume-plugin")
.enableTimeout(60)
.enabled(false)
.envs("DEBUG=1")
.forceDestroy(true)
.forceDisable(true)
.grantAllPermissions(true)
.build());
}
}

Import

#!/bin/bash

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

Properties

Link copied to clipboard
val alias: Output<String>

Docker Plugin alias

Link copied to clipboard
val enabled: Output<Boolean>?

If true the plugin is enabled. Defaults to true

Link copied to clipboard
val enableTimeout: Output<Int>?

HTTP client timeout to enable the plugin

Link copied to clipboard
val envs: Output<List<String>>

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

Link copied to clipboard
val forceDestroy: Output<Boolean>?

If true, then the plugin is destroyed forcibly

Link copied to clipboard
val forceDisable: Output<Boolean>?

If true, then the plugin is disabled forcibly

Link copied to clipboard

If true, grant all permissions necessary to run the plugin

Link copied to clipboard

Grant specific permissions only

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Docker Plugin name

Link copied to clipboard
val pluginReference: Output<String>

Docker Plugin Reference

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>