harness.platform.getGitopsAgent
Using getGitopsAgent
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 getGitopsAgent(args: GetGitopsAgentArgs, opts?: InvokeOptions): Promise<GetGitopsAgentResult>
function getGitopsAgentOutput(args: GetGitopsAgentOutputArgs, opts?: InvokeOptions): Output<GetGitopsAgentResult>
def get_gitops_agent(account_id: Optional[str] = None,
identifier: Optional[str] = None,
metadatas: Optional[Sequence[GetGitopsAgentMetadata]] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGitopsAgentResult
def get_gitops_agent_output(account_id: Optional[pulumi.Input[str]] = None,
identifier: Optional[pulumi.Input[str]] = None,
metadatas: Optional[pulumi.Input[Sequence[pulumi.Input[GetGitopsAgentMetadataArgs]]]] = None,
name: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGitopsAgentResult]
func GetGitopsAgent(ctx *Context, args *GetGitopsAgentArgs, opts ...InvokeOption) (*GetGitopsAgentResult, error)
func GetGitopsAgentOutput(ctx *Context, args *GetGitopsAgentOutputArgs, opts ...InvokeOption) GetGitopsAgentResultOutput
> Note: This function is named GetGitopsAgent
in the Go SDK.
public static class GetGitopsAgent
{
public static Task<GetGitopsAgentResult> InvokeAsync(GetGitopsAgentArgs args, InvokeOptions? opts = null)
public static Output<GetGitopsAgentResult> Invoke(GetGitopsAgentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGitopsAgentResult> getGitopsAgent(GetGitopsAgentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:platform/getGitopsAgent:getGitopsAgent
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string - Identifier string
- Metadatas
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Get Gitops Agent Metadata> - Name string
- Org
Id string - Project
Id string - Type string
- Account
Id string - Identifier string
- Metadatas
[]Get
Gitops Agent Metadata - Name string
- Org
Id string - Project
Id string - Type string
- account
Id String - identifier String
- metadatas
List<Get
Gitops Agent Metadata> - name String
- org
Id String - project
Id String - type String
- account
Id string - identifier string
- metadatas
Get
Gitops Agent Metadata[] - name string
- org
Id string - project
Id string - type string
- account_
id str - identifier str
- metadatas
Sequence[Get
Gitops Agent Metadata] - name str
- org_
id str - project_
id str - type str
- account
Id String - identifier String
- metadatas List<Property Map>
- name String
- org
Id String - project
Id String - type String
getGitopsAgent Result
The following output properties are available:
- Account
Id string - Description string
- Id string
The provider-assigned unique ID for this managed resource.
- Identifier string
- Metadatas
List<Lbrlabs.
Pulumi Package. Harness. Platform. Outputs. Get Gitops Agent Metadata> - Name string
- Org
Id string - Project
Id string - Dictionary<string, string>
- Type string
- Account
Id string - Description string
- Id string
The provider-assigned unique ID for this managed resource.
- Identifier string
- Metadatas
[]Get
Gitops Agent Metadata - Name string
- Org
Id string - Project
Id string - map[string]string
- Type string
- account
Id String - description String
- id String
The provider-assigned unique ID for this managed resource.
- identifier String
- metadatas
List<Get
Gitops Agent Metadata> - name String
- org
Id String - project
Id String - Map<String,String>
- type String
- account
Id string - description string
- id string
The provider-assigned unique ID for this managed resource.
- identifier string
- metadatas
Get
Gitops Agent Metadata[] - name string
- org
Id string - project
Id string - {[key: string]: string}
- type string
- account_
id str - description str
- id str
The provider-assigned unique ID for this managed resource.
- identifier str
- metadatas
Sequence[Get
Gitops Agent Metadata] - name str
- org_
id str - project_
id str - Mapping[str, str]
- type str
- account
Id String - description String
- id String
The provider-assigned unique ID for this managed resource.
- identifier String
- metadatas List<Property Map>
- name String
- org
Id String - project
Id String - Map<String>
- type String
Supporting Types
GetGitopsAgentMetadata
- Namespace string
- High
Availability bool
- Namespace string
- High
Availability bool
- namespace String
- high
Availability Boolean
- namespace string
- high
Availability boolean
- namespace str
- high_
availability bool
- namespace String
- high
Availability Boolean
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
harness
Terraform Provider.