Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi
harness.platform.getInputSet
Explore with Pulumi AI
Data source for retrieving a Harness input set.
Using getInputSet
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 getInputSet(args: GetInputSetArgs, opts?: InvokeOptions): Promise<GetInputSetResult>
function getInputSetOutput(args: GetInputSetOutputArgs, opts?: InvokeOptions): Output<GetInputSetResult>
def get_input_set(git_details: Optional[GetInputSetGitDetails] = None,
identifier: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
pipeline_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInputSetResult
def get_input_set_output(git_details: Optional[pulumi.Input[GetInputSetGitDetailsArgs]] = None,
identifier: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
pipeline_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInputSetResult]
func LookupInputSet(ctx *Context, args *LookupInputSetArgs, opts ...InvokeOption) (*LookupInputSetResult, error)
func LookupInputSetOutput(ctx *Context, args *LookupInputSetOutputArgs, opts ...InvokeOption) LookupInputSetResultOutput
> Note: This function is named LookupInputSet
in the Go SDK.
public static class GetInputSet
{
public static Task<GetInputSetResult> InvokeAsync(GetInputSetArgs args, InvokeOptions? opts = null)
public static Output<GetInputSetResult> Invoke(GetInputSetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInputSetResult> getInputSet(GetInputSetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:platform/getInputSet:getInputSet
arguments:
# arguments dictionary
The following arguments are supported:
- Org
Id string - Unique identifier of the organization.
- Pipeline
Id string - Identifier of the pipeline
- Project
Id string - Unique identifier of the project.
- Git
Details GetInput Set Git Details - Contains parameters related to creating an Entity for Git Experience.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Pipeline
Id string - Identifier of the pipeline
- Project
Id string - Unique identifier of the project.
- Git
Details GetInput Set Git Details - Contains parameters related to creating an Entity for Git Experience.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- pipeline
Id String - Identifier of the pipeline
- project
Id String - Unique identifier of the project.
- git
Details GetInput Set Git Details - Contains parameters related to creating an Entity for Git Experience.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
- org
Id string - Unique identifier of the organization.
- pipeline
Id string - Identifier of the pipeline
- project
Id string - Unique identifier of the project.
- git
Details GetInput Set Git Details - Contains parameters related to creating an Entity for Git Experience.
- identifier string
- Unique identifier of the resource.
- name string
- Name of the resource.
- org_
id str - Unique identifier of the organization.
- pipeline_
id str - Identifier of the pipeline
- project_
id str - Unique identifier of the project.
- git_
details GetInput Set Git Details - Contains parameters related to creating an Entity for Git Experience.
- identifier str
- Unique identifier of the resource.
- name str
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- pipeline
Id String - Identifier of the pipeline
- project
Id String - Unique identifier of the project.
- git
Details Property Map - Contains parameters related to creating an Entity for Git Experience.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
getInputSet Result
The following output properties are available:
- Description string
- Description of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Org
Id string - Unique identifier of the organization.
- Pipeline
Id string - Identifier of the pipeline
- Project
Id string - Unique identifier of the project.
- List<string>
- Tags to associate with the resource.
- Yaml string
- Input Set YAML
- Git
Details GetInput Set Git Details - Contains parameters related to creating an Entity for Git Experience.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- Description string
- Description of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Org
Id string - Unique identifier of the organization.
- Pipeline
Id string - Identifier of the pipeline
- Project
Id string - Unique identifier of the project.
- []string
- Tags to associate with the resource.
- Yaml string
- Input Set YAML
- Git
Details GetInput Set Git Details - Contains parameters related to creating an Entity for Git Experience.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- description String
- Description of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- org
Id String - Unique identifier of the organization.
- pipeline
Id String - Identifier of the pipeline
- project
Id String - Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- yaml String
- Input Set YAML
- git
Details GetInput Set Git Details - Contains parameters related to creating an Entity for Git Experience.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
- description string
- Description of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- org
Id string - Unique identifier of the organization.
- pipeline
Id string - Identifier of the pipeline
- project
Id string - Unique identifier of the project.
- string[]
- Tags to associate with the resource.
- yaml string
- Input Set YAML
- git
Details GetInput Set Git Details - Contains parameters related to creating an Entity for Git Experience.
- identifier string
- Unique identifier of the resource.
- name string
- Name of the resource.
- description str
- Description of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- org_
id str - Unique identifier of the organization.
- pipeline_
id str - Identifier of the pipeline
- project_
id str - Unique identifier of the project.
- Sequence[str]
- Tags to associate with the resource.
- yaml str
- Input Set YAML
- git_
details GetInput Set Git Details - Contains parameters related to creating an Entity for Git Experience.
- identifier str
- Unique identifier of the resource.
- name str
- Name of the resource.
- description String
- Description of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- org
Id String - Unique identifier of the organization.
- pipeline
Id String - Identifier of the pipeline
- project
Id String - Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- yaml String
- Input Set YAML
- git
Details Property Map - Contains parameters related to creating an Entity for Git Experience.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
Supporting Types
GetInputSetGitDetails
- Base
Branch string - Name of the default branch (this checks out a new branch titled by branch_name).
- Branch
Name string - Name of the branch.
- Commit
Message string - Commit message used for the merge commit.
- Connector
Ref string - Identifier of the Harness Connector used for CRUD operations on the Entity.
- File
Path string - File path of the Entity in the repository.
- Last
Commit stringId - Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- Last
Object stringId - Last object identifier (for Github). To be provided only when updating Pipeline.
- Parent
Entity stringConnector Ref - Connector reference for Parent Entity (Pipeline).
- Parent
Entity stringRepo Name - Repository name for Parent Entity (Pipeline).
- Repo
Name string - Name of the repository.
- Store
Type string - Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
- Base
Branch string - Name of the default branch (this checks out a new branch titled by branch_name).
- Branch
Name string - Name of the branch.
- Commit
Message string - Commit message used for the merge commit.
- Connector
Ref string - Identifier of the Harness Connector used for CRUD operations on the Entity.
- File
Path string - File path of the Entity in the repository.
- Last
Commit stringId - Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- Last
Object stringId - Last object identifier (for Github). To be provided only when updating Pipeline.
- Parent
Entity stringConnector Ref - Connector reference for Parent Entity (Pipeline).
- Parent
Entity stringRepo Name - Repository name for Parent Entity (Pipeline).
- Repo
Name string - Name of the repository.
- Store
Type string - Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
- base
Branch String - Name of the default branch (this checks out a new branch titled by branch_name).
- branch
Name String - Name of the branch.
- commit
Message String - Commit message used for the merge commit.
- connector
Ref String - Identifier of the Harness Connector used for CRUD operations on the Entity.
- file
Path String - File path of the Entity in the repository.
- last
Commit StringId - Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- last
Object StringId - Last object identifier (for Github). To be provided only when updating Pipeline.
- parent
Entity StringConnector Ref - Connector reference for Parent Entity (Pipeline).
- parent
Entity StringRepo Name - Repository name for Parent Entity (Pipeline).
- repo
Name String - Name of the repository.
- store
Type String - Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
- base
Branch string - Name of the default branch (this checks out a new branch titled by branch_name).
- branch
Name string - Name of the branch.
- commit
Message string - Commit message used for the merge commit.
- connector
Ref string - Identifier of the Harness Connector used for CRUD operations on the Entity.
- file
Path string - File path of the Entity in the repository.
- last
Commit stringId - Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- last
Object stringId - Last object identifier (for Github). To be provided only when updating Pipeline.
- parent
Entity stringConnector Ref - Connector reference for Parent Entity (Pipeline).
- parent
Entity stringRepo Name - Repository name for Parent Entity (Pipeline).
- repo
Name string - Name of the repository.
- store
Type string - Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
- base_
branch str - Name of the default branch (this checks out a new branch titled by branch_name).
- branch_
name str - Name of the branch.
- commit_
message str - Commit message used for the merge commit.
- connector_
ref str - Identifier of the Harness Connector used for CRUD operations on the Entity.
- file_
path str - File path of the Entity in the repository.
- last_
commit_ strid - Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- last_
object_ strid - Last object identifier (for Github). To be provided only when updating Pipeline.
- parent_
entity_ strconnector_ ref - Connector reference for Parent Entity (Pipeline).
- parent_
entity_ strrepo_ name - Repository name for Parent Entity (Pipeline).
- repo_
name str - Name of the repository.
- store_
type str - Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
- base
Branch String - Name of the default branch (this checks out a new branch titled by branch_name).
- branch
Name String - Name of the branch.
- commit
Message String - Commit message used for the merge commit.
- connector
Ref String - Identifier of the Harness Connector used for CRUD operations on the Entity.
- file
Path String - File path of the Entity in the repository.
- last
Commit StringId - Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- last
Object StringId - Last object identifier (for Github). To be provided only when updating Pipeline.
- parent
Entity StringConnector Ref - Connector reference for Parent Entity (Pipeline).
- parent
Entity StringRepo Name - Repository name for Parent Entity (Pipeline).
- repo
Name String - Name of the repository.
- store
Type String - Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.