PluginArgs

data class PluginArgs(val alias: Output<String>? = null, val enableTimeout: Output<Int>? = null, val enabled: Output<Boolean>? = null, val envs: Output<List<String>>? = null, val forceDestroy: Output<Boolean>? = null, val forceDisable: Output<Boolean>? = null, val grantAllPermissions: Output<Boolean>? = null, val grantPermissions: Output<List<PluginGrantPermissionArgs>>? = null, val name: Output<String>? = null) : ConvertibleToJava<PluginArgs>

Manages the lifecycle of a Docker plugin.

Import

#!/bin/bash

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

Constructors

Link copied to clipboard
constructor(alias: Output<String>? = null, enableTimeout: Output<Int>? = null, enabled: Output<Boolean>? = null, envs: Output<List<String>>? = null, forceDestroy: Output<Boolean>? = null, forceDisable: Output<Boolean>? = null, grantAllPermissions: Output<Boolean>? = null, grantPermissions: Output<List<PluginGrantPermissionArgs>>? = null, name: Output<String>? = null)

Properties

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

Docker Plugin alias

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

If true the plugin is enabled. Defaults to true

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

HTTP client timeout to enable the plugin

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

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

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

If true, then the plugin is destroyed forcibly

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

If true, then the plugin is disabled forcibly

Link copied to clipboard
val grantAllPermissions: Output<Boolean>? = null

If true, grant all permissions necessary to run the plugin

Link copied to clipboard

Grant specific permissions only

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

Docker Plugin name

Functions

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