Skip to main content

KubernetesDeleteObject

Resource KubernetesDeleteObject in pulumi-portainer.
2 min read

Resource KubernetesDeleteObject in pulumi-portainer.

Pulumi type: portainer:index/kubernetesDeleteObject:KubernetesDeleteObject.

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
environmentIdnumberyesIdentifier of the Portainer Kubernetes environment from which the resources are deleted.
kubernetesDeleteObjectIdstringno
namesstring[]yesList of resource names to delete within the target namespace or cluster scope.
namespacestringyesKubernetes namespace containing the resources to delete (ignored for cluster-scoped types).
resourceTypestringyesType of Kubernetes resource to delete. One of cronJobs, ingresses, jobs, roleBindings, roles, serviceAccounts, services, clusterRoleBindings, clusterRoles.

Outputs#

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

PropertyTypeComputedDescription
environmentIdnumbernoIdentifier of the Portainer Kubernetes environment from which the resources are deleted.
kubernetesDeleteObjectIdstringno
namesstring[]noList of resource names to delete within the target namespace or cluster scope.
namespacestringnoKubernetes namespace containing the resources to delete (ignored for cluster-scoped types).
resourceTypestringnoType of Kubernetes resource to delete. One of cronJobs, ingresses, jobs, roleBindings, roles, serviceAccounts, services, clusterRoleBindings, clusterRoles.