1. Packages
  2. Octopusdeploy Provider
  3. API Docs
  4. getKubernetesAgentWorkers
octopusdeploy 0.43.0 published on Thursday, Apr 17, 2025 by octopusdeploylabs

octopusdeploy.getKubernetesAgentWorkers

Explore with Pulumi AI

Provides information about existing kubernetes agent workers.

Using getKubernetesAgentWorkers

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getKubernetesAgentWorkers(args: GetKubernetesAgentWorkersArgs, opts?: InvokeOptions): Promise<GetKubernetesAgentWorkersResult>
function getKubernetesAgentWorkersOutput(args: GetKubernetesAgentWorkersOutputArgs, opts?: InvokeOptions): Output<GetKubernetesAgentWorkersResult>
Copy
def get_kubernetes_agent_workers(health_statuses: Optional[Sequence[str]] = None,
                                 ids: Optional[Sequence[str]] = None,
                                 is_disabled: Optional[bool] = None,
                                 name: Optional[str] = None,
                                 partial_name: Optional[str] = None,
                                 roles: Optional[Sequence[str]] = None,
                                 shell_names: Optional[Sequence[str]] = None,
                                 skip: Optional[float] = None,
                                 space_id: Optional[str] = None,
                                 take: Optional[float] = None,
                                 thumbprint: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetKubernetesAgentWorkersResult
def get_kubernetes_agent_workers_output(health_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                 ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                 is_disabled: Optional[pulumi.Input[bool]] = None,
                                 name: Optional[pulumi.Input[str]] = None,
                                 partial_name: Optional[pulumi.Input[str]] = None,
                                 roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                 shell_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                 skip: Optional[pulumi.Input[float]] = None,
                                 space_id: Optional[pulumi.Input[str]] = None,
                                 take: Optional[pulumi.Input[float]] = None,
                                 thumbprint: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesAgentWorkersResult]
Copy
func GetKubernetesAgentWorkers(ctx *Context, args *GetKubernetesAgentWorkersArgs, opts ...InvokeOption) (*GetKubernetesAgentWorkersResult, error)
func GetKubernetesAgentWorkersOutput(ctx *Context, args *GetKubernetesAgentWorkersOutputArgs, opts ...InvokeOption) GetKubernetesAgentWorkersResultOutput
Copy

> Note: This function is named GetKubernetesAgentWorkers in the Go SDK.

public static class GetKubernetesAgentWorkers 
{
    public static Task<GetKubernetesAgentWorkersResult> InvokeAsync(GetKubernetesAgentWorkersArgs args, InvokeOptions? opts = null)
    public static Output<GetKubernetesAgentWorkersResult> Invoke(GetKubernetesAgentWorkersInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetKubernetesAgentWorkersResult> getKubernetesAgentWorkers(GetKubernetesAgentWorkersArgs args, InvokeOptions options)
public static Output<GetKubernetesAgentWorkersResult> getKubernetesAgentWorkers(GetKubernetesAgentWorkersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: octopusdeploy:index/getKubernetesAgentWorkers:getKubernetesAgentWorkers
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

HealthStatuses List<string>
A filter to search by a list of health statuses of resources. Valid health statuses are HasWarnings, Healthy, Unavailable, Unhealthy, or Unknown.
Ids List<string>
A filter to search by a list of IDs.
IsDisabled bool
A filter to search by the disabled status of a resource.
Name string
A filter to search by name.
PartialName string
A filter to search by the partial match of a name.
Roles List<string>
A filter to search by a list of role IDs.
ShellNames List<string>
A list of shell names to match in the query and/or search
Skip double
A filter to specify the number of items to skip in the response.
SpaceId string
The space ID associated with this resource.
Take double
A filter to specify the number of items to take (or return) in the response.
Thumbprint string
The thumbprint of the deployment target to match in the query and/or search
HealthStatuses []string
A filter to search by a list of health statuses of resources. Valid health statuses are HasWarnings, Healthy, Unavailable, Unhealthy, or Unknown.
Ids []string
A filter to search by a list of IDs.
IsDisabled bool
A filter to search by the disabled status of a resource.
Name string
A filter to search by name.
PartialName string
A filter to search by the partial match of a name.
Roles []string
A filter to search by a list of role IDs.
ShellNames []string
A list of shell names to match in the query and/or search
Skip float64
A filter to specify the number of items to skip in the response.
SpaceId string
The space ID associated with this resource.
Take float64
A filter to specify the number of items to take (or return) in the response.
Thumbprint string
The thumbprint of the deployment target to match in the query and/or search
healthStatuses List<String>
A filter to search by a list of health statuses of resources. Valid health statuses are HasWarnings, Healthy, Unavailable, Unhealthy, or Unknown.
ids List<String>
A filter to search by a list of IDs.
isDisabled Boolean
A filter to search by the disabled status of a resource.
name String
A filter to search by name.
partialName String
A filter to search by the partial match of a name.
roles List<String>
A filter to search by a list of role IDs.
shellNames List<String>
A list of shell names to match in the query and/or search
skip Double
A filter to specify the number of items to skip in the response.
spaceId String
The space ID associated with this resource.
take Double
A filter to specify the number of items to take (or return) in the response.
thumbprint String
The thumbprint of the deployment target to match in the query and/or search
healthStatuses string[]
A filter to search by a list of health statuses of resources. Valid health statuses are HasWarnings, Healthy, Unavailable, Unhealthy, or Unknown.
ids string[]
A filter to search by a list of IDs.
isDisabled boolean
A filter to search by the disabled status of a resource.
name string
A filter to search by name.
partialName string
A filter to search by the partial match of a name.
roles string[]
A filter to search by a list of role IDs.
shellNames string[]
A list of shell names to match in the query and/or search
skip number
A filter to specify the number of items to skip in the response.
spaceId string
The space ID associated with this resource.
take number
A filter to specify the number of items to take (or return) in the response.
thumbprint string
The thumbprint of the deployment target to match in the query and/or search
health_statuses Sequence[str]
A filter to search by a list of health statuses of resources. Valid health statuses are HasWarnings, Healthy, Unavailable, Unhealthy, or Unknown.
ids Sequence[str]
A filter to search by a list of IDs.
is_disabled bool
A filter to search by the disabled status of a resource.
name str
A filter to search by name.
partial_name str
A filter to search by the partial match of a name.
roles Sequence[str]
A filter to search by a list of role IDs.
shell_names Sequence[str]
A list of shell names to match in the query and/or search
skip float
A filter to specify the number of items to skip in the response.
space_id str
The space ID associated with this resource.
take float
A filter to specify the number of items to take (or return) in the response.
thumbprint str
The thumbprint of the deployment target to match in the query and/or search
healthStatuses List<String>
A filter to search by a list of health statuses of resources. Valid health statuses are HasWarnings, Healthy, Unavailable, Unhealthy, or Unknown.
ids List<String>
A filter to search by a list of IDs.
isDisabled Boolean
A filter to search by the disabled status of a resource.
name String
A filter to search by name.
partialName String
A filter to search by the partial match of a name.
roles List<String>
A filter to search by a list of role IDs.
shellNames List<String>
A list of shell names to match in the query and/or search
skip Number
A filter to specify the number of items to skip in the response.
spaceId String
The space ID associated with this resource.
take Number
A filter to specify the number of items to take (or return) in the response.
thumbprint String
The thumbprint of the deployment target to match in the query and/or search

getKubernetesAgentWorkers Result

The following output properties are available:

Id string
An auto-generated identifier that includes the timestamp when this data source was last modified.
KubernetesAgentWorkers List<GetKubernetesAgentWorkersKubernetesAgentWorker>
A list of kubernetes agent workers that match the filter(s).
SpaceId string
The space ID associated with this resource.
HealthStatuses List<string>
A filter to search by a list of health statuses of resources. Valid health statuses are HasWarnings, Healthy, Unavailable, Unhealthy, or Unknown.
Ids List<string>
A filter to search by a list of IDs.
IsDisabled bool
A filter to search by the disabled status of a resource.
Name string
A filter to search by name.
PartialName string
A filter to search by the partial match of a name.
Roles List<string>
A filter to search by a list of role IDs.
ShellNames List<string>
A list of shell names to match in the query and/or search
Skip double
A filter to specify the number of items to skip in the response.
Take double
A filter to specify the number of items to take (or return) in the response.
Thumbprint string
The thumbprint of the deployment target to match in the query and/or search
Id string
An auto-generated identifier that includes the timestamp when this data source was last modified.
KubernetesAgentWorkers []GetKubernetesAgentWorkersKubernetesAgentWorker
A list of kubernetes agent workers that match the filter(s).
SpaceId string
The space ID associated with this resource.
HealthStatuses []string
A filter to search by a list of health statuses of resources. Valid health statuses are HasWarnings, Healthy, Unavailable, Unhealthy, or Unknown.
Ids []string
A filter to search by a list of IDs.
IsDisabled bool
A filter to search by the disabled status of a resource.
Name string
A filter to search by name.
PartialName string
A filter to search by the partial match of a name.
Roles []string
A filter to search by a list of role IDs.
ShellNames []string
A list of shell names to match in the query and/or search
Skip float64
A filter to specify the number of items to skip in the response.
Take float64
A filter to specify the number of items to take (or return) in the response.
Thumbprint string
The thumbprint of the deployment target to match in the query and/or search
id String
An auto-generated identifier that includes the timestamp when this data source was last modified.
kubernetesAgentWorkers List<GetKubernetesAgentWorkersKubernetesAgentWorker>
A list of kubernetes agent workers that match the filter(s).
spaceId String
The space ID associated with this resource.
healthStatuses List<String>
A filter to search by a list of health statuses of resources. Valid health statuses are HasWarnings, Healthy, Unavailable, Unhealthy, or Unknown.
ids List<String>
A filter to search by a list of IDs.
isDisabled Boolean
A filter to search by the disabled status of a resource.
name String
A filter to search by name.
partialName String
A filter to search by the partial match of a name.
roles List<String>
A filter to search by a list of role IDs.
shellNames List<String>
A list of shell names to match in the query and/or search
skip Double
A filter to specify the number of items to skip in the response.
take Double
A filter to specify the number of items to take (or return) in the response.
thumbprint String
The thumbprint of the deployment target to match in the query and/or search
id string
An auto-generated identifier that includes the timestamp when this data source was last modified.
kubernetesAgentWorkers GetKubernetesAgentWorkersKubernetesAgentWorker[]
A list of kubernetes agent workers that match the filter(s).
spaceId string
The space ID associated with this resource.
healthStatuses string[]
A filter to search by a list of health statuses of resources. Valid health statuses are HasWarnings, Healthy, Unavailable, Unhealthy, or Unknown.
ids string[]
A filter to search by a list of IDs.
isDisabled boolean
A filter to search by the disabled status of a resource.
name string
A filter to search by name.
partialName string
A filter to search by the partial match of a name.
roles string[]
A filter to search by a list of role IDs.
shellNames string[]
A list of shell names to match in the query and/or search
skip number
A filter to specify the number of items to skip in the response.
take number
A filter to specify the number of items to take (or return) in the response.
thumbprint string
The thumbprint of the deployment target to match in the query and/or search
id str
An auto-generated identifier that includes the timestamp when this data source was last modified.
kubernetes_agent_workers Sequence[GetKubernetesAgentWorkersKubernetesAgentWorker]
A list of kubernetes agent workers that match the filter(s).
space_id str
The space ID associated with this resource.
health_statuses Sequence[str]
A filter to search by a list of health statuses of resources. Valid health statuses are HasWarnings, Healthy, Unavailable, Unhealthy, or Unknown.
ids Sequence[str]
A filter to search by a list of IDs.
is_disabled bool
A filter to search by the disabled status of a resource.
name str
A filter to search by name.
partial_name str
A filter to search by the partial match of a name.
roles Sequence[str]
A filter to search by a list of role IDs.
shell_names Sequence[str]
A list of shell names to match in the query and/or search
skip float
A filter to specify the number of items to skip in the response.
take float
A filter to specify the number of items to take (or return) in the response.
thumbprint str
The thumbprint of the deployment target to match in the query and/or search
id String
An auto-generated identifier that includes the timestamp when this data source was last modified.
kubernetesAgentWorkers List<Property Map>
A list of kubernetes agent workers that match the filter(s).
spaceId String
The space ID associated with this resource.
healthStatuses List<String>
A filter to search by a list of health statuses of resources. Valid health statuses are HasWarnings, Healthy, Unavailable, Unhealthy, or Unknown.
ids List<String>
A filter to search by a list of IDs.
isDisabled Boolean
A filter to search by the disabled status of a resource.
name String
A filter to search by name.
partialName String
A filter to search by the partial match of a name.
roles List<String>
A filter to search by a list of role IDs.
shellNames List<String>
A list of shell names to match in the query and/or search
skip Number
A filter to specify the number of items to skip in the response.
take Number
A filter to specify the number of items to take (or return) in the response.
thumbprint String
The thumbprint of the deployment target to match in the query and/or search

Supporting Types

GetKubernetesAgentWorkersKubernetesAgentWorker

AgentHelmReleaseName This property is required. string
AgentKubernetesNamespace This property is required. string
AgentTentacleVersion This property is required. string
AgentUpgradeStatus This property is required. string
AgentVersion This property is required. string
CommunicationMode This property is required. string
Id This property is required. string
IsDisabled This property is required. bool
MachinePolicyId This property is required. string
Name This property is required. string
SpaceId This property is required. string
Thumbprint This property is required. string
UpgradeLocked This property is required. bool
Uri This property is required. string
WorkerPoolIds This property is required. List<string>
AgentHelmReleaseName This property is required. string
AgentKubernetesNamespace This property is required. string
AgentTentacleVersion This property is required. string
AgentUpgradeStatus This property is required. string
AgentVersion This property is required. string
CommunicationMode This property is required. string
Id This property is required. string
IsDisabled This property is required. bool
MachinePolicyId This property is required. string
Name This property is required. string
SpaceId This property is required. string
Thumbprint This property is required. string
UpgradeLocked This property is required. bool
Uri This property is required. string
WorkerPoolIds This property is required. []string
agentHelmReleaseName This property is required. String
agentKubernetesNamespace This property is required. String
agentTentacleVersion This property is required. String
agentUpgradeStatus This property is required. String
agentVersion This property is required. String
communicationMode This property is required. String
id This property is required. String
isDisabled This property is required. Boolean
machinePolicyId This property is required. String
name This property is required. String
spaceId This property is required. String
thumbprint This property is required. String
upgradeLocked This property is required. Boolean
uri This property is required. String
workerPoolIds This property is required. List<String>
agentHelmReleaseName This property is required. string
agentKubernetesNamespace This property is required. string
agentTentacleVersion This property is required. string
agentUpgradeStatus This property is required. string
agentVersion This property is required. string
communicationMode This property is required. string
id This property is required. string
isDisabled This property is required. boolean
machinePolicyId This property is required. string
name This property is required. string
spaceId This property is required. string
thumbprint This property is required. string
upgradeLocked This property is required. boolean
uri This property is required. string
workerPoolIds This property is required. string[]
agent_helm_release_name This property is required. str
agent_kubernetes_namespace This property is required. str
agent_tentacle_version This property is required. str
agent_upgrade_status This property is required. str
agent_version This property is required. str
communication_mode This property is required. str
id This property is required. str
is_disabled This property is required. bool
machine_policy_id This property is required. str
name This property is required. str
space_id This property is required. str
thumbprint This property is required. str
upgrade_locked This property is required. bool
uri This property is required. str
worker_pool_ids This property is required. Sequence[str]
agentHelmReleaseName This property is required. String
agentKubernetesNamespace This property is required. String
agentTentacleVersion This property is required. String
agentUpgradeStatus This property is required. String
agentVersion This property is required. String
communicationMode This property is required. String
id This property is required. String
isDisabled This property is required. Boolean
machinePolicyId This property is required. String
name This property is required. String
spaceId This property is required. String
thumbprint This property is required. String
upgradeLocked This property is required. Boolean
uri This property is required. String
workerPoolIds This property is required. List<String>

Package Details

Repository
octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
License
Notes
This Pulumi package is based on the octopusdeploy Terraform Provider.