Skip to main content

ResourceControl

Resource ResourceControl in pulumi-portainer.
3 min read

Resource ResourceControl in pulumi-portainer.

Pulumi type: portainer:index/resourceControl:ResourceControl.

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
administratorsOnlybooleannoWhether the resource is restricted to Portainer administrators only.
portainerResourceControlIdstringno
publicbooleannoWhether the resource is publicly accessible to all Portainer users.
resourceControlIdnumbernoIdentifier of an existing Portainer resource control to manage directly instead of looking it up via resourceId and type.
resourceIdstringnoIdentifier of the underlying Portainer resource (e.g. stack ID) the resource control applies to.
subResourceIdsstring[]noIdentifiers of sub-resources covered by the same control, such as the services and volumes of a stack. Only used when the control is created by this resource.
teamsnumber[]noList of Portainer team identifiers granted access to the resource.
typenumbernoResource type that the control protects (1 = container, 2 = service, 3 = volume, 4 = network, 5 = secret, 6 = stack, 7 = config). Defaults to 6 (stack).
usersnumber[]noList of Portainer user identifiers granted access to the resource.

Outputs#

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

PropertyTypeComputedDescription
administratorsOnlybooleannoWhether the resource is restricted to Portainer administrators only.
portainerResourceControlIdstringno
publicbooleannoWhether the resource is publicly accessible to all Portainer users.
resourceControlIdnumbernoIdentifier of an existing Portainer resource control to manage directly instead of looking it up via resourceId and type.
resourceIdstringnoIdentifier of the underlying Portainer resource (e.g. stack ID) the resource control applies to.
subResourceIdsstring[]noIdentifiers of sub-resources covered by the same control, such as the services and volumes of a stack. Only used when the control is created by this resource.
teamsnumber[]noList of Portainer team identifiers granted access to the resource.
typenumbernoResource type that the control protects (1 = container, 2 = service, 3 = volume, 4 = network, 5 = secret, 6 = stack, 7 = config). Defaults to 6 (stack).
usersnumber[]noList of Portainer user identifiers granted access to the resource.