Google Cloud v8.21.0 published on Wednesday, Mar 5, 2025 by Pulumi
gcp.parametermanager.getParameterVersionRender
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const basic = gcp.parametermanager.getParameterVersionRender({
    parameter: "test-parameter",
    parameterVersionId: "test-parameter-version",
});
import pulumi
import pulumi_gcp as gcp
basic = gcp.parametermanager.get_parameter_version_render(parameter="test-parameter",
    parameter_version_id="test-parameter-version")
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/parametermanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := parametermanager.GetParameterVersionRender(ctx, ¶metermanager.GetParameterVersionRenderArgs{
			Parameter:          "test-parameter",
			ParameterVersionId: "test-parameter-version",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var basic = Gcp.ParameterManager.GetParameterVersionRender.Invoke(new()
    {
        Parameter = "test-parameter",
        ParameterVersionId = "test-parameter-version",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.parametermanager.ParametermanagerFunctions;
import com.pulumi.gcp.parametermanager.inputs.GetParameterVersionRenderArgs;
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 basic = ParametermanagerFunctions.getParameterVersionRender(GetParameterVersionRenderArgs.builder()
            .parameter("test-parameter")
            .parameterVersionId("test-parameter-version")
            .build());
    }
}
variables:
  basic:
    fn::invoke:
      function: gcp:parametermanager:getParameterVersionRender
      arguments:
        parameter: test-parameter
        parameterVersionId: test-parameter-version
Using getParameterVersionRender
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 getParameterVersionRender(args: GetParameterVersionRenderArgs, opts?: InvokeOptions): Promise<GetParameterVersionRenderResult>
function getParameterVersionRenderOutput(args: GetParameterVersionRenderOutputArgs, opts?: InvokeOptions): Output<GetParameterVersionRenderResult>def get_parameter_version_render(parameter: Optional[str] = None,
                                 parameter_version_id: Optional[str] = None,
                                 project: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetParameterVersionRenderResult
def get_parameter_version_render_output(parameter: Optional[pulumi.Input[str]] = None,
                                 parameter_version_id: Optional[pulumi.Input[str]] = None,
                                 project: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetParameterVersionRenderResult]func GetParameterVersionRender(ctx *Context, args *GetParameterVersionRenderArgs, opts ...InvokeOption) (*GetParameterVersionRenderResult, error)
func GetParameterVersionRenderOutput(ctx *Context, args *GetParameterVersionRenderOutputArgs, opts ...InvokeOption) GetParameterVersionRenderResultOutput> Note: This function is named GetParameterVersionRender in the Go SDK.
public static class GetParameterVersionRender 
{
    public static Task<GetParameterVersionRenderResult> InvokeAsync(GetParameterVersionRenderArgs args, InvokeOptions? opts = null)
    public static Output<GetParameterVersionRenderResult> Invoke(GetParameterVersionRenderInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetParameterVersionRenderResult> getParameterVersionRender(GetParameterVersionRenderArgs args, InvokeOptions options)
public static Output<GetParameterVersionRenderResult> getParameterVersionRender(GetParameterVersionRenderArgs args, InvokeOptions options)
fn::invoke:
  function: gcp:parametermanager/getParameterVersionRender:getParameterVersionRender
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Parameter string
- The Parameter for obtaining the Parameter Version.
This can be either the reference of the parameter as in projects/{{project}}/locations/global/parameters/{{parameter_id}}or only the name of the parameter as in{{parameter_id}}.
- ParameterVersion stringId 
- The version of the parameter to get.
- Project string
- The project for retrieving the Parameter Version. If it's not specified, the provider project will be used.
- Parameter string
- The Parameter for obtaining the Parameter Version.
This can be either the reference of the parameter as in projects/{{project}}/locations/global/parameters/{{parameter_id}}or only the name of the parameter as in{{parameter_id}}.
- ParameterVersion stringId 
- The version of the parameter to get.
- Project string
- The project for retrieving the Parameter Version. If it's not specified, the provider project will be used.
- parameter String
- The Parameter for obtaining the Parameter Version.
This can be either the reference of the parameter as in projects/{{project}}/locations/global/parameters/{{parameter_id}}or only the name of the parameter as in{{parameter_id}}.
- parameterVersion StringId 
- The version of the parameter to get.
- project String
- The project for retrieving the Parameter Version. If it's not specified, the provider project will be used.
- parameter string
- The Parameter for obtaining the Parameter Version.
This can be either the reference of the parameter as in projects/{{project}}/locations/global/parameters/{{parameter_id}}or only the name of the parameter as in{{parameter_id}}.
- parameterVersion stringId 
- The version of the parameter to get.
- project string
- The project for retrieving the Parameter Version. If it's not specified, the provider project will be used.
- parameter str
- The Parameter for obtaining the Parameter Version.
This can be either the reference of the parameter as in projects/{{project}}/locations/global/parameters/{{parameter_id}}or only the name of the parameter as in{{parameter_id}}.
- parameter_version_ strid 
- The version of the parameter to get.
- project str
- The project for retrieving the Parameter Version. If it's not specified, the provider project will be used.
- parameter String
- The Parameter for obtaining the Parameter Version.
This can be either the reference of the parameter as in projects/{{project}}/locations/global/parameters/{{parameter_id}}or only the name of the parameter as in{{parameter_id}}.
- parameterVersion StringId 
- The version of the parameter to get.
- project String
- The project for retrieving the Parameter Version. If it's not specified, the provider project will be used.
getParameterVersionRender Result
The following output properties are available:
- Disabled bool
- The current state of the Parameter Version.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name of the ParameterVersion. Format:
projects/{{project}}/locations/global/parameters/{{parameter_id}}/versions/{{parameter_version_id}}
- Parameter string
- ParameterData string
- The Parameter data.
- ParameterVersion stringId 
- Project string
- RenderedParameter stringData 
- The Rendered Parameter Data specifies that if you use __REF__()to reference a secret and the format is JSON or YAML, the placeholder__REF__()will be replaced with the actual secret value. However, if the format is UNFORMATTED, it will stay the same as the originalparameter_data.
- Disabled bool
- The current state of the Parameter Version.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name of the ParameterVersion. Format:
projects/{{project}}/locations/global/parameters/{{parameter_id}}/versions/{{parameter_version_id}}
- Parameter string
- ParameterData string
- The Parameter data.
- ParameterVersion stringId 
- Project string
- RenderedParameter stringData 
- The Rendered Parameter Data specifies that if you use __REF__()to reference a secret and the format is JSON or YAML, the placeholder__REF__()will be replaced with the actual secret value. However, if the format is UNFORMATTED, it will stay the same as the originalparameter_data.
- disabled Boolean
- The current state of the Parameter Version.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name of the ParameterVersion. Format:
projects/{{project}}/locations/global/parameters/{{parameter_id}}/versions/{{parameter_version_id}}
- parameter String
- parameterData String
- The Parameter data.
- parameterVersion StringId 
- project String
- renderedParameter StringData 
- The Rendered Parameter Data specifies that if you use __REF__()to reference a secret and the format is JSON or YAML, the placeholder__REF__()will be replaced with the actual secret value. However, if the format is UNFORMATTED, it will stay the same as the originalparameter_data.
- disabled boolean
- The current state of the Parameter Version.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The resource name of the ParameterVersion. Format:
projects/{{project}}/locations/global/parameters/{{parameter_id}}/versions/{{parameter_version_id}}
- parameter string
- parameterData string
- The Parameter data.
- parameterVersion stringId 
- project string
- renderedParameter stringData 
- The Rendered Parameter Data specifies that if you use __REF__()to reference a secret and the format is JSON or YAML, the placeholder__REF__()will be replaced with the actual secret value. However, if the format is UNFORMATTED, it will stay the same as the originalparameter_data.
- disabled bool
- The current state of the Parameter Version.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The resource name of the ParameterVersion. Format:
projects/{{project}}/locations/global/parameters/{{parameter_id}}/versions/{{parameter_version_id}}
- parameter str
- parameter_data str
- The Parameter data.
- parameter_version_ strid 
- project str
- rendered_parameter_ strdata 
- The Rendered Parameter Data specifies that if you use __REF__()to reference a secret and the format is JSON or YAML, the placeholder__REF__()will be replaced with the actual secret value. However, if the format is UNFORMATTED, it will stay the same as the originalparameter_data.
- disabled Boolean
- The current state of the Parameter Version.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name of the ParameterVersion. Format:
projects/{{project}}/locations/global/parameters/{{parameter_id}}/versions/{{parameter_version_id}}
- parameter String
- parameterData String
- The Parameter data.
- parameterVersion StringId 
- project String
- renderedParameter StringData 
- The Rendered Parameter Data specifies that if you use __REF__()to reference a secret and the format is JSON or YAML, the placeholder__REF__()will be replaced with the actual secret value. However, if the format is UNFORMATTED, it will stay the same as the originalparameter_data.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the google-betaTerraform Provider.