1. Packages
  2. Harness Provider
  3. API Docs
  4. cloudprovider
  5. getDelegateIds
Harness v0.7.3 published on Friday, Apr 18, 2025 by Pulumi

harness.cloudprovider.getDelegateIds

Explore with Pulumi AI

Harness v0.7.3 published on Friday, Apr 18, 2025 by Pulumi

Use this data source to get a list of delegate ID’s matching the specified search criteria.

Using getDelegateIds

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 getDelegateIds(args: GetDelegateIdsArgs, opts?: InvokeOptions): Promise<GetDelegateIdsResult>
function getDelegateIdsOutput(args: GetDelegateIdsOutputArgs, opts?: InvokeOptions): Output<GetDelegateIdsResult>
Copy
def get_delegate_ids(name: Optional[str] = None,
                     status: Optional[str] = None,
                     type: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetDelegateIdsResult
def get_delegate_ids_output(name: Optional[pulumi.Input[str]] = None,
                     status: Optional[pulumi.Input[str]] = None,
                     type: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetDelegateIdsResult]
Copy
func GetDelegateIds(ctx *Context, args *GetDelegateIdsArgs, opts ...InvokeOption) (*GetDelegateIdsResult, error)
func GetDelegateIdsOutput(ctx *Context, args *GetDelegateIdsOutputArgs, opts ...InvokeOption) GetDelegateIdsResultOutput
Copy

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

public static class GetDelegateIds 
{
    public static Task<GetDelegateIdsResult> InvokeAsync(GetDelegateIdsArgs args, InvokeOptions? opts = null)
    public static Output<GetDelegateIdsResult> Invoke(GetDelegateIdsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDelegateIdsResult> getDelegateIds(GetDelegateIdsArgs args, InvokeOptions options)
public static Output<GetDelegateIdsResult> getDelegateIds(GetDelegateIdsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: harness:cloudprovider/getDelegateIds:getDelegateIds
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name string
The name of the delegate to query for.
Status string
The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITINGFORAPPROVAL
Type string
The type of the delegate to query for. Valid values are DOCKER, ECS, HELMDELEGATE, KUBERNETES, SHELLSCRIPT
Name string
The name of the delegate to query for.
Status string
The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITINGFORAPPROVAL
Type string
The type of the delegate to query for. Valid values are DOCKER, ECS, HELMDELEGATE, KUBERNETES, SHELLSCRIPT
name String
The name of the delegate to query for.
status String
The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITINGFORAPPROVAL
type String
The type of the delegate to query for. Valid values are DOCKER, ECS, HELMDELEGATE, KUBERNETES, SHELLSCRIPT
name string
The name of the delegate to query for.
status string
The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITINGFORAPPROVAL
type string
The type of the delegate to query for. Valid values are DOCKER, ECS, HELMDELEGATE, KUBERNETES, SHELLSCRIPT
name str
The name of the delegate to query for.
status str
The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITINGFORAPPROVAL
type str
The type of the delegate to query for. Valid values are DOCKER, ECS, HELMDELEGATE, KUBERNETES, SHELLSCRIPT
name String
The name of the delegate to query for.
status String
The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITINGFORAPPROVAL
type String
The type of the delegate to query for. Valid values are DOCKER, ECS, HELMDELEGATE, KUBERNETES, SHELLSCRIPT

getDelegateIds Result

The following output properties are available:

DelegateIds List<string>
A list of delegate ID's matching the specified search criteria.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the delegate to query for.
Status string
The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITINGFORAPPROVAL
Type string
The type of the delegate to query for. Valid values are DOCKER, ECS, HELMDELEGATE, KUBERNETES, SHELLSCRIPT
DelegateIds []string
A list of delegate ID's matching the specified search criteria.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the delegate to query for.
Status string
The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITINGFORAPPROVAL
Type string
The type of the delegate to query for. Valid values are DOCKER, ECS, HELMDELEGATE, KUBERNETES, SHELLSCRIPT
delegateIds List<String>
A list of delegate ID's matching the specified search criteria.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the delegate to query for.
status String
The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITINGFORAPPROVAL
type String
The type of the delegate to query for. Valid values are DOCKER, ECS, HELMDELEGATE, KUBERNETES, SHELLSCRIPT
delegateIds string[]
A list of delegate ID's matching the specified search criteria.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the delegate to query for.
status string
The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITINGFORAPPROVAL
type string
The type of the delegate to query for. Valid values are DOCKER, ECS, HELMDELEGATE, KUBERNETES, SHELLSCRIPT
delegate_ids Sequence[str]
A list of delegate ID's matching the specified search criteria.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the delegate to query for.
status str
The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITINGFORAPPROVAL
type str
The type of the delegate to query for. Valid values are DOCKER, ECS, HELMDELEGATE, KUBERNETES, SHELLSCRIPT
delegateIds List<String>
A list of delegate ID's matching the specified search criteria.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the delegate to query for.
status String
The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITINGFORAPPROVAL
type String
The type of the delegate to query for. Valid values are DOCKER, ECS, HELMDELEGATE, KUBERNETES, SHELLSCRIPT

Package Details

Repository
harness pulumi/pulumi-harness
License
Apache-2.0
Notes
This Pulumi package is based on the harness Terraform Provider.
Harness v0.7.3 published on Friday, Apr 18, 2025 by Pulumi