Google Cloud v8.21.0 published on Wednesday, Mar 5, 2025 by Pulumi
gcp.parametermanager.getRegionalParameterVersion
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const basic = gcp.parametermanager.getRegionalParameterVersion({
    parameter: "test-regional-parameter",
    parameterVersionId: "test-regional-parameter-version",
    location: "us-central1",
});
import pulumi
import pulumi_gcp as gcp
basic = gcp.parametermanager.get_regional_parameter_version(parameter="test-regional-parameter",
    parameter_version_id="test-regional-parameter-version",
    location="us-central1")
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.LookupRegionalParameterVersion(ctx, ¶metermanager.LookupRegionalParameterVersionArgs{
			Parameter:          "test-regional-parameter",
			ParameterVersionId: "test-regional-parameter-version",
			Location:           pulumi.StringRef("us-central1"),
		}, 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.GetRegionalParameterVersion.Invoke(new()
    {
        Parameter = "test-regional-parameter",
        ParameterVersionId = "test-regional-parameter-version",
        Location = "us-central1",
    });
});
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.GetRegionalParameterVersionArgs;
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.getRegionalParameterVersion(GetRegionalParameterVersionArgs.builder()
            .parameter("test-regional-parameter")
            .parameterVersionId("test-regional-parameter-version")
            .location("us-central1")
            .build());
    }
}
variables:
  basic:
    fn::invoke:
      function: gcp:parametermanager:getRegionalParameterVersion
      arguments:
        parameter: test-regional-parameter
        parameterVersionId: test-regional-parameter-version
        location: us-central1
Using getRegionalParameterVersion
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 getRegionalParameterVersion(args: GetRegionalParameterVersionArgs, opts?: InvokeOptions): Promise<GetRegionalParameterVersionResult>
function getRegionalParameterVersionOutput(args: GetRegionalParameterVersionOutputArgs, opts?: InvokeOptions): Output<GetRegionalParameterVersionResult>def get_regional_parameter_version(location: Optional[str] = None,
                                   parameter: Optional[str] = None,
                                   parameter_version_id: Optional[str] = None,
                                   project: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetRegionalParameterVersionResult
def get_regional_parameter_version_output(location: Optional[pulumi.Input[str]] = None,
                                   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[GetRegionalParameterVersionResult]func LookupRegionalParameterVersion(ctx *Context, args *LookupRegionalParameterVersionArgs, opts ...InvokeOption) (*LookupRegionalParameterVersionResult, error)
func LookupRegionalParameterVersionOutput(ctx *Context, args *LookupRegionalParameterVersionOutputArgs, opts ...InvokeOption) LookupRegionalParameterVersionResultOutput> Note: This function is named LookupRegionalParameterVersion in the Go SDK.
public static class GetRegionalParameterVersion 
{
    public static Task<GetRegionalParameterVersionResult> InvokeAsync(GetRegionalParameterVersionArgs args, InvokeOptions? opts = null)
    public static Output<GetRegionalParameterVersionResult> Invoke(GetRegionalParameterVersionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRegionalParameterVersionResult> getRegionalParameterVersion(GetRegionalParameterVersionArgs args, InvokeOptions options)
public static Output<GetRegionalParameterVersionResult> getRegionalParameterVersion(GetRegionalParameterVersionArgs args, InvokeOptions options)
fn::invoke:
  function: gcp:parametermanager/getRegionalParameterVersion:getRegionalParameterVersion
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Parameter string
- The parameter for obtaining the Regional Parameter Version.
This can be either the reference of the regional parameter as in projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}or only the name of the regional parameter as in{{parameter_id}}.
- ParameterVersion stringId 
- The version of the regional parameter to get.
- Location string
- The location of regional parameter.
- Project string
- The project for retrieving the Regional Parameter Version. If it's not specified, the provider project will be used.
- Parameter string
- The parameter for obtaining the Regional Parameter Version.
This can be either the reference of the regional parameter as in projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}or only the name of the regional parameter as in{{parameter_id}}.
- ParameterVersion stringId 
- The version of the regional parameter to get.
- Location string
- The location of regional parameter.
- Project string
- The project for retrieving the Regional Parameter Version. If it's not specified, the provider project will be used.
- parameter String
- The parameter for obtaining the Regional Parameter Version.
This can be either the reference of the regional parameter as in projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}or only the name of the regional parameter as in{{parameter_id}}.
- parameterVersion StringId 
- The version of the regional parameter to get.
- location String
- The location of regional parameter.
- project String
- The project for retrieving the Regional Parameter Version. If it's not specified, the provider project will be used.
- parameter string
- The parameter for obtaining the Regional Parameter Version.
This can be either the reference of the regional parameter as in projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}or only the name of the regional parameter as in{{parameter_id}}.
- parameterVersion stringId 
- The version of the regional parameter to get.
- location string
- The location of regional parameter.
- project string
- The project for retrieving the Regional Parameter Version. If it's not specified, the provider project will be used.
- parameter str
- The parameter for obtaining the Regional Parameter Version.
This can be either the reference of the regional parameter as in projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}or only the name of the regional parameter as in{{parameter_id}}.
- parameter_version_ strid 
- The version of the regional parameter to get.
- location str
- The location of regional parameter.
- project str
- The project for retrieving the Regional Parameter Version. If it's not specified, the provider project will be used.
- parameter String
- The parameter for obtaining the Regional Parameter Version.
This can be either the reference of the regional parameter as in projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}or only the name of the regional parameter as in{{parameter_id}}.
- parameterVersion StringId 
- The version of the regional parameter to get.
- location String
- The location of regional parameter.
- project String
- The project for retrieving the Regional Parameter Version. If it's not specified, the provider project will be used.
getRegionalParameterVersion Result
The following output properties are available:
- CreateTime string
- The time at which the Regional Parameter Version was created.
- Disabled bool
- The current state of the Regional Parameter Version.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Name string
- The resource name of the Regional Parameter Version. Format:
projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}/versions/{{parameter_version_id}}
- Parameter string
- ParameterData string
- The regional parameter data.
- ParameterVersion stringId 
- Project string
- UpdateTime string
- The time at which the Regional Parameter Version was last updated.
- CreateTime string
- The time at which the Regional Parameter Version was created.
- Disabled bool
- The current state of the Regional Parameter Version.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Name string
- The resource name of the Regional Parameter Version. Format:
projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}/versions/{{parameter_version_id}}
- Parameter string
- ParameterData string
- The regional parameter data.
- ParameterVersion stringId 
- Project string
- UpdateTime string
- The time at which the Regional Parameter Version was last updated.
- createTime String
- The time at which the Regional Parameter Version was created.
- disabled Boolean
- The current state of the Regional Parameter Version.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- name String
- The resource name of the Regional Parameter Version. Format:
projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}/versions/{{parameter_version_id}}
- parameter String
- parameterData String
- The regional parameter data.
- parameterVersion StringId 
- project String
- updateTime String
- The time at which the Regional Parameter Version was last updated.
- createTime string
- The time at which the Regional Parameter Version was created.
- disabled boolean
- The current state of the Regional Parameter Version.
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- name string
- The resource name of the Regional Parameter Version. Format:
projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}/versions/{{parameter_version_id}}
- parameter string
- parameterData string
- The regional parameter data.
- parameterVersion stringId 
- project string
- updateTime string
- The time at which the Regional Parameter Version was last updated.
- create_time str
- The time at which the Regional Parameter Version was created.
- disabled bool
- The current state of the Regional Parameter Version.
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- name str
- The resource name of the Regional Parameter Version. Format:
projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}/versions/{{parameter_version_id}}
- parameter str
- parameter_data str
- The regional parameter data.
- parameter_version_ strid 
- project str
- update_time str
- The time at which the Regional Parameter Version was last updated.
- createTime String
- The time at which the Regional Parameter Version was created.
- disabled Boolean
- The current state of the Regional Parameter Version.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- name String
- The resource name of the Regional Parameter Version. Format:
projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}}/versions/{{parameter_version_id}}
- parameter String
- parameterData String
- The regional parameter data.
- parameterVersion StringId 
- project String
- updateTime String
- The time at which the Regional Parameter Version was last updated.
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.