Skip to main content

EndpointRelations

Resource EndpointRelations in pulumi-portainer.
3 min read

Resource EndpointRelations in pulumi-portainer.

Pulumi type: portainer:index/endpointRelations:EndpointRelations.

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
endpointRelationsIdstringno
relationsEndpointRelationsRelation (input)[]yesRelations to apply, one block per environment. Portainer applies them in a single transaction, so either all of them land or none do.

Outputs#

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

PropertyTypeComputedDescription
endpointRelationsIdstringno
relationsEndpointRelationsRelation (output)[]noRelations to apply, one block per environment. Portainer applies them in a single transaction, so either all of them land or none do.

EndpointRelationsRelation (input)#

Input object EndpointRelationsRelation. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
edgeGroupIdsnumber[]noEdge group identifiers the environment belongs to, replacing whatever it had. Omit the attribute to leave its edge groups alone; there is no way to clear them here, because Portainer cannot tell an intentional "none" from "do not touch".
endpointIdnumberyesIdentifier of the environment the relations apply to.
groupIdnumbernoEnvironment group the environment is moved to. Zero, the default, leaves its group untouched — Portainer only applies a non-zero value.
tagIdsnumber[]noTag identifiers assigned to the environment, replacing whatever it had. Omit the attribute to leave its tags alone; use portainer.Environment to clear them.

EndpointRelationsRelation (output)#

Output object EndpointRelationsRelation. Fields below belong to this object.

PropertyTypeAlways presentDescription
edgeGroupIdsnumber[]noEdge group identifiers the environment belongs to, replacing whatever it had. Omit the attribute to leave its edge groups alone; there is no way to clear them here, because Portainer cannot tell an intentional "none" from "do not touch".
endpointIdnumberyesIdentifier of the environment the relations apply to.
groupIdnumbernoEnvironment group the environment is moved to. Zero, the default, leaves its group untouched — Portainer only applies a non-zero value.
tagIdsnumber[]noTag identifiers assigned to the environment, replacing whatever it had. Omit the attribute to leave its tags alone; use portainer.Environment to clear them.