@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
69 lines (68 loc) • 2.27 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source to get a list of delegate ID's matching the specified search criteria.
*/
export declare function getDelegateIds(args?: GetDelegateIdsArgs, opts?: pulumi.InvokeOptions): Promise<GetDelegateIdsResult>;
/**
* A collection of arguments for invoking getDelegateIds.
*/
export interface GetDelegateIdsArgs {
/**
* The name of the delegate to query for.
*/
name?: string;
/**
* The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITING*FOR*APPROVAL
*/
status?: string;
/**
* The type of the delegate to query for. Valid values are DOCKER, ECS, HELM*DELEGATE, KUBERNETES, SHELL*SCRIPT
*/
type?: string;
}
/**
* A collection of values returned by getDelegateIds.
*/
export interface GetDelegateIdsResult {
/**
* A list of delegate ID's matching the specified search criteria.
*/
readonly delegateIds: string[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The name of the delegate to query for.
*/
readonly name?: string;
/**
* The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITING*FOR*APPROVAL
*/
readonly status?: string;
/**
* The type of the delegate to query for. Valid values are DOCKER, ECS, HELM*DELEGATE, KUBERNETES, SHELL*SCRIPT
*/
readonly type?: string;
}
/**
* Use this data source to get a list of delegate ID's matching the specified search criteria.
*/
export declare function getDelegateIdsOutput(args?: GetDelegateIdsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDelegateIdsResult>;
/**
* A collection of arguments for invoking getDelegateIds.
*/
export interface GetDelegateIdsOutputArgs {
/**
* The name of the delegate to query for.
*/
name?: pulumi.Input<string>;
/**
* The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITING*FOR*APPROVAL
*/
status?: pulumi.Input<string>;
/**
* The type of the delegate to query for. Valid values are DOCKER, ECS, HELM*DELEGATE, KUBERNETES, SHELL*SCRIPT
*/
type?: pulumi.Input<string>;
}