Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi
harness.getYamlConfig
Explore with Pulumi AI
Data source for retrieving a yaml config.
Using getYamlConfig
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 getYamlConfig(args: GetYamlConfigArgs, opts?: InvokeOptions): Promise<GetYamlConfigResult>
function getYamlConfigOutput(args: GetYamlConfigOutputArgs, opts?: InvokeOptions): Output<GetYamlConfigResult>
def get_yaml_config(app_id: Optional[str] = None,
path: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetYamlConfigResult
def get_yaml_config_output(app_id: Optional[pulumi.Input[str]] = None,
path: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetYamlConfigResult]
func LookupYamlConfig(ctx *Context, args *LookupYamlConfigArgs, opts ...InvokeOption) (*LookupYamlConfigResult, error)
func LookupYamlConfigOutput(ctx *Context, args *LookupYamlConfigOutputArgs, opts ...InvokeOption) LookupYamlConfigResultOutput
> Note: This function is named LookupYamlConfig
in the Go SDK.
public static class GetYamlConfig
{
public static Task<GetYamlConfigResult> InvokeAsync(GetYamlConfigArgs args, InvokeOptions? opts = null)
public static Output<GetYamlConfigResult> Invoke(GetYamlConfigInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetYamlConfigResult> getYamlConfig(GetYamlConfigArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:index/getYamlConfig:getYamlConfig
arguments:
# arguments dictionary
The following arguments are supported:
getYamlConfig Result
The following output properties are available:
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.