getPlugin

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

Example Usage

With alias

data "docker.Plugin" "by_alias" { alias = "sample-volume-plugin:latest" }

With ID

data "docker.Plugin" "by_id" { id = "e9a9db917b3bfd6706b5d3a66d4bceb9f" }

@param argument A collection of arguments for invoking getPlugin.
@return A collection of values returned by getPlugin.

suspend fun getPlugin(alias: String? = null, id: String? = null): GetPluginResult

Return

A collection of values returned by getPlugin.

Parameters

alias

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

id

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

See also


suspend fun getPlugin(argument: suspend GetPluginPlainArgsBuilder.() -> Unit): GetPluginResult

Return

A collection of values returned by getPlugin.

Parameters

argument

Builder for com.pulumi.docker.kotlin.inputs.GetPluginPlainArgs.

See also