Harness

v0.0.5 published on Monday, Oct 31, 2022 by lbrlabs

getDelegateIds

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

Example Usage

Coming soon!

Coming soon!

Coming soon!

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";

const example = pulumi.output(harness.DelegateDs({
    name: "harness-delegate",
}));

Coming soon!

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>
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]
func GetDelegateIds(ctx *Context, args *GetDelegateIdsArgs, opts ...InvokeOption) (*GetDelegateIdsResult, error)
func GetDelegateIdsOutput(ctx *Context, args *GetDelegateIdsOutputArgs, opts ...InvokeOption) GetDelegateIdsResultOutput

> 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)
}
public static CompletableFuture<GetDelegateIdsResult> getDelegateIds(GetDelegateIdsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: harness:cloudprovider/getDelegateIds:getDelegateIds
  arguments:
    # arguments dictionary

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
https://github.com/lbrlabs/pulumi-harness
License
Apache-2.0
Notes

This Pulumi package is based on the harness Terraform Provider.