Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi
harness.platform.getGitopsRepoCert
Explore with Pulumi AI
Data source for retrieving a GitOps Repository Certificate. It fetches all the certificates that are added to the provided agent.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.PlatformFunctions;
import com.pulumi.harness.platform.inputs.GetGitopsRepoCertArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = PlatformFunctions.getGitopsRepoCert(GetGitopsRepoCertArgs.builder()
.identifier("identifier")
.accountId("account_id")
.projectId("project_id")
.orgId("org_id")
.agentId("agent_id")
.build());
}
}
variables:
test:
fn::invoke:
Function: harness:platform:getGitopsRepoCert
Arguments:
identifier: identifier
accountId: account_id
projectId: project_id
orgId: org_id
agentId: agent_id
Using getGitopsRepoCert
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 getGitopsRepoCert(args: GetGitopsRepoCertArgs, opts?: InvokeOptions): Promise<GetGitopsRepoCertResult>
function getGitopsRepoCertOutput(args: GetGitopsRepoCertOutputArgs, opts?: InvokeOptions): Output<GetGitopsRepoCertResult>
def get_gitops_repo_cert(account_id: Optional[str] = None,
agent_id: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGitopsRepoCertResult
def get_gitops_repo_cert_output(account_id: Optional[pulumi.Input[str]] = None,
agent_id: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGitopsRepoCertResult]
func GetGitopsRepoCert(ctx *Context, args *GetGitopsRepoCertArgs, opts ...InvokeOption) (*GetGitopsRepoCertResult, error)
func GetGitopsRepoCertOutput(ctx *Context, args *GetGitopsRepoCertOutputArgs, opts ...InvokeOption) GetGitopsRepoCertResultOutput
> Note: This function is named GetGitopsRepoCert
in the Go SDK.
public static class GetGitopsRepoCert
{
public static Task<GetGitopsRepoCertResult> InvokeAsync(GetGitopsRepoCertArgs args, InvokeOptions? opts = null)
public static Output<GetGitopsRepoCertResult> Invoke(GetGitopsRepoCertInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGitopsRepoCertResult> getGitopsRepoCert(GetGitopsRepoCertArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:platform/getGitopsRepoCert:getGitopsRepoCert
arguments:
# arguments dictionary
The following arguments are supported:
- account_
id str - Account identifier of the GitOps repository certificate.
- agent_
id str - Agent identifier of the GitOps repository certificate.
- org_
id str - Organization identifier of the GitOps repository certificate.
- project_
id str - Project identifier of the GitOps repository certificate.
getGitopsRepoCert Result
The following output properties are available:
- Account
Id string - Account identifier of the GitOps repository certificate.
- Id string
- The provider-assigned unique ID for this managed resource.
- Agent
Id string - Agent identifier of the GitOps repository certificate.
- Org
Id string - Organization identifier of the GitOps repository certificate.
- Project
Id string - Project identifier of the GitOps repository certificate.
- Account
Id string - Account identifier of the GitOps repository certificate.
- Id string
- The provider-assigned unique ID for this managed resource.
- Agent
Id string - Agent identifier of the GitOps repository certificate.
- Org
Id string - Organization identifier of the GitOps repository certificate.
- Project
Id string - Project identifier of the GitOps repository certificate.
- account
Id String - Account identifier of the GitOps repository certificate.
- id String
- The provider-assigned unique ID for this managed resource.
- agent
Id String - Agent identifier of the GitOps repository certificate.
- org
Id String - Organization identifier of the GitOps repository certificate.
- project
Id String - Project identifier of the GitOps repository certificate.
- account
Id string - Account identifier of the GitOps repository certificate.
- id string
- The provider-assigned unique ID for this managed resource.
- agent
Id string - Agent identifier of the GitOps repository certificate.
- org
Id string - Organization identifier of the GitOps repository certificate.
- project
Id string - Project identifier of the GitOps repository certificate.
- account_
id str - Account identifier of the GitOps repository certificate.
- id str
- The provider-assigned unique ID for this managed resource.
- agent_
id str - Agent identifier of the GitOps repository certificate.
- org_
id str - Organization identifier of the GitOps repository certificate.
- project_
id str - Project identifier of the GitOps repository certificate.
- account
Id String - Account identifier of the GitOps repository certificate.
- id String
- The provider-assigned unique ID for this managed resource.
- agent
Id String - Agent identifier of the GitOps repository certificate.
- org
Id String - Organization identifier of the GitOps repository certificate.
- project
Id String - Project identifier of the GitOps repository certificate.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.