Skip to main content

Check

Resource Check in pulumi-portainer.
2 min read

Resource Check in pulumi-portainer.

Pulumi type: portainer:index/check:Check.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
checkIdstringno
desiredStatestringnoDesired container state (e.g. running).
endpointIdnumberyesIdentifier of the Portainer endpoint hosting the stack to check.
maxRetriesnumbernoMaximum retries for each service check.
revisionstringyesExpected revision (image tag) of running containers/services.
servicesListstringyesComma-separated list of service names (without stack prefix).
stackNamestringyesName of the Portainer stack whose service status is being validated.
waitnumbernoInitial wait before the first check (seconds).
waitBetweenChecksnumbernoWait time between retry checks (seconds).

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
checkIdstringno
desiredStatestringnoDesired container state (e.g. running).
endpointIdnumbernoIdentifier of the Portainer endpoint hosting the stack to check.
maxRetriesnumbernoMaximum retries for each service check.
outputstringyesHuman-readable summary of the check results returned by the provider.
revisionstringnoExpected revision (image tag) of running containers/services.
servicesListstringnoComma-separated list of service names (without stack prefix).
stackNamestringnoName of the Portainer stack whose service status is being validated.
waitnumbernoInitial wait before the first check (seconds).
waitBetweenChecksnumbernoWait time between retry checks (seconds).