getPlugin

Reads the local Docker plugin. The plugin must be installed locally. {{% examples %}}

Example Usage

With alias

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

Return

A collection of values returned by getPlugin.

Parameters

argument

A collection of arguments for invoking 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