harness logo
Harness v0.0.5, Oct 31 22

harness.getYamlConfig

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:

Path string

Path to the yaml file.

AppId string

Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.).

Path string

Path to the yaml file.

AppId string

Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.).

path String

Path to the yaml file.

appId String

Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.).

path string

Path to the yaml file.

appId string

Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.).

path str

Path to the yaml file.

app_id str

Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.).

path String

Path to the yaml file.

appId String

Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.).

getYamlConfig Result

The following output properties are available:

Content string

Content of the yaml file.

Id string

Unique identifier of the yaml resource.

Name string

Name of the yaml resource.

Path string

Path to the yaml file.

AppId string

Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.).

Content string

Content of the yaml file.

Id string

Unique identifier of the yaml resource.

Name string

Name of the yaml resource.

Path string

Path to the yaml file.

AppId string

Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.).

content String

Content of the yaml file.

id String

Unique identifier of the yaml resource.

name String

Name of the yaml resource.

path String

Path to the yaml file.

appId String

Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.).

content string

Content of the yaml file.

id string

Unique identifier of the yaml resource.

name string

Name of the yaml resource.

path string

Path to the yaml file.

appId string

Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.).

content str

Content of the yaml file.

id str

Unique identifier of the yaml resource.

name str

Name of the yaml resource.

path str

Path to the yaml file.

app_id str

Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.).

content String

Content of the yaml file.

id String

Unique identifier of the yaml resource.

name String

Name of the yaml resource.

path String

Path to the yaml file.

appId String

Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.).

Package Details

Repository
harness lbrlabs/pulumi-harness
License
Apache-2.0
Notes

This Pulumi package is based on the harness Terraform Provider.