Google Cloud v8.27.0 published on Thursday, Apr 17, 2025 by Pulumi
gcp.parametermanager.getRegionalParameters
Explore with Pulumi AI
Use this data source to list the Parameter Manager Regional Parameters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const regional_parameters = gcp.parametermanager.getRegionalParameters({
    location: "us-central1",
});
import pulumi
import pulumi_gcp as gcp
regional_parameters = gcp.parametermanager.get_regional_parameters(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.GetRegionalParameters(ctx, ¶metermanager.GetRegionalParametersArgs{
			Location: "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 regional_parameters = Gcp.ParameterManager.GetRegionalParameters.Invoke(new()
    {
        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.GetRegionalParametersArgs;
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 regional-parameters = ParametermanagerFunctions.getRegionalParameters(GetRegionalParametersArgs.builder()
            .location("us-central1")
            .build());
    }
}
variables:
  regional-parameters:
    fn::invoke:
      function: gcp:parametermanager:getRegionalParameters
      arguments:
        location: us-central1
Using getRegionalParameters
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 getRegionalParameters(args: GetRegionalParametersArgs, opts?: InvokeOptions): Promise<GetRegionalParametersResult>
function getRegionalParametersOutput(args: GetRegionalParametersOutputArgs, opts?: InvokeOptions): Output<GetRegionalParametersResult>def get_regional_parameters(filter: Optional[str] = None,
                            location: Optional[str] = None,
                            project: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetRegionalParametersResult
def get_regional_parameters_output(filter: Optional[pulumi.Input[str]] = None,
                            location: Optional[pulumi.Input[str]] = None,
                            project: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetRegionalParametersResult]func GetRegionalParameters(ctx *Context, args *GetRegionalParametersArgs, opts ...InvokeOption) (*GetRegionalParametersResult, error)
func GetRegionalParametersOutput(ctx *Context, args *GetRegionalParametersOutputArgs, opts ...InvokeOption) GetRegionalParametersResultOutput> Note: This function is named GetRegionalParameters in the Go SDK.
public static class GetRegionalParameters 
{
    public static Task<GetRegionalParametersResult> InvokeAsync(GetRegionalParametersArgs args, InvokeOptions? opts = null)
    public static Output<GetRegionalParametersResult> Invoke(GetRegionalParametersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRegionalParametersResult> getRegionalParameters(GetRegionalParametersArgs args, InvokeOptions options)
public static Output<GetRegionalParametersResult> getRegionalParameters(GetRegionalParametersArgs args, InvokeOptions options)
fn::invoke:
  function: gcp:parametermanager/getRegionalParameters:getRegionalParameters
  arguments:
    # arguments dictionaryThe following arguments are supported:
getRegionalParameters Result
The following output properties are available:
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Location string
 - Parameters
List<Get
Regional Parameters Parameter>  - A list of regional parameters matching the filter. Structure is defined below.
 - Project string
 - The ID of the project in which the resource belongs.
 - Filter string
 
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Location string
 - Parameters
[]Get
Regional Parameters Parameter  - A list of regional parameters matching the filter. Structure is defined below.
 - Project string
 - The ID of the project in which the resource belongs.
 - Filter string
 
- id String
 - The provider-assigned unique ID for this managed resource.
 - location String
 - parameters
List<Get
Regional Parameters Parameter>  - A list of regional parameters matching the filter. Structure is defined below.
 - project String
 - The ID of the project in which the resource belongs.
 - filter String
 
- id string
 - The provider-assigned unique ID for this managed resource.
 - location string
 - parameters
Get
Regional Parameters Parameter[]  - A list of regional parameters matching the filter. Structure is defined below.
 - project string
 - The ID of the project in which the resource belongs.
 - filter string
 
- id str
 - The provider-assigned unique ID for this managed resource.
 - location str
 - parameters
Sequence[Get
Regional Parameters Parameter]  - A list of regional parameters matching the filter. Structure is defined below.
 - project str
 - The ID of the project in which the resource belongs.
 - filter str
 
- id String
 - The provider-assigned unique ID for this managed resource.
 - location String
 - parameters List<Property Map>
 - A list of regional parameters matching the filter. Structure is defined below.
 - project String
 - The ID of the project in which the resource belongs.
 - filter String
 
Supporting Types
GetRegionalParametersParameter   
- Create
Time string - The time at which the regional parameter was created.
 - Effective
Labels Dictionary<string, string> - Format string
 - The format type of the regional parameter.
 - Kms
Key string - The resource name of the Cloud KMS CryptoKey used to encrypt regional parameter version payload. Format 
projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}} - Labels Dictionary<string, string>
 - The labels assigned to the regional parameter.
 - Location string
 - The location of regional parameter.
 - Name string
 - The resource name of the regional parameter. Format: 
projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}} - Parameter
Id string - The unique name of the resource.
 - Policy
Members List<GetRegional Parameters Parameter Policy Member>  - An object containing a unique resource identity tied to the regional parameter. Structure is documented below.
 - Project string
 - The ID of the project.
 - Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
 - Update
Time string - The time at which the regional parameter was updated.
 
- Create
Time string - The time at which the regional parameter was created.
 - Effective
Labels map[string]string - Format string
 - The format type of the regional parameter.
 - Kms
Key string - The resource name of the Cloud KMS CryptoKey used to encrypt regional parameter version payload. Format 
projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}} - Labels map[string]string
 - The labels assigned to the regional parameter.
 - Location string
 - The location of regional parameter.
 - Name string
 - The resource name of the regional parameter. Format: 
projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}} - Parameter
Id string - The unique name of the resource.
 - Policy
Members []GetRegional Parameters Parameter Policy Member  - An object containing a unique resource identity tied to the regional parameter. Structure is documented below.
 - Project string
 - The ID of the project.
 - Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
 - Update
Time string - The time at which the regional parameter was updated.
 
- create
Time String - The time at which the regional parameter was created.
 - effective
Labels Map<String,String> - format String
 - The format type of the regional parameter.
 - kms
Key String - The resource name of the Cloud KMS CryptoKey used to encrypt regional parameter version payload. Format 
projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}} - labels Map<String,String>
 - The labels assigned to the regional parameter.
 - location String
 - The location of regional parameter.
 - name String
 - The resource name of the regional parameter. Format: 
projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}} - parameter
Id String - The unique name of the resource.
 - policy
Members List<GetRegional Parameters Parameter Policy Member>  - An object containing a unique resource identity tied to the regional parameter. Structure is documented below.
 - project String
 - The ID of the project.
 - pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
 - update
Time String - The time at which the regional parameter was updated.
 
- create
Time string - The time at which the regional parameter was created.
 - effective
Labels {[key: string]: string} - format string
 - The format type of the regional parameter.
 - kms
Key string - The resource name of the Cloud KMS CryptoKey used to encrypt regional parameter version payload. Format 
projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}} - labels {[key: string]: string}
 - The labels assigned to the regional parameter.
 - location string
 - The location of regional parameter.
 - name string
 - The resource name of the regional parameter. Format: 
projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}} - parameter
Id string - The unique name of the resource.
 - policy
Members GetRegional Parameters Parameter Policy Member[]  - An object containing a unique resource identity tied to the regional parameter. Structure is documented below.
 - project string
 - The ID of the project.
 - pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
 - update
Time string - The time at which the regional parameter was updated.
 
- create_
time str - The time at which the regional parameter was created.
 - effective_
labels Mapping[str, str] - format str
 - The format type of the regional parameter.
 - kms_
key str - The resource name of the Cloud KMS CryptoKey used to encrypt regional parameter version payload. Format 
projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}} - labels Mapping[str, str]
 - The labels assigned to the regional parameter.
 - location str
 - The location of regional parameter.
 - name str
 - The resource name of the regional parameter. Format: 
projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}} - parameter_
id str - The unique name of the resource.
 - policy_
members Sequence[GetRegional Parameters Parameter Policy Member]  - An object containing a unique resource identity tied to the regional parameter. Structure is documented below.
 - project str
 - The ID of the project.
 - pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
 - update_
time str - The time at which the regional parameter was updated.
 
- create
Time String - The time at which the regional parameter was created.
 - effective
Labels Map<String> - format String
 - The format type of the regional parameter.
 - kms
Key String - The resource name of the Cloud KMS CryptoKey used to encrypt regional parameter version payload. Format 
projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}} - labels Map<String>
 - The labels assigned to the regional parameter.
 - location String
 - The location of regional parameter.
 - name String
 - The resource name of the regional parameter. Format: 
projects/{{project}}/locations/{{location}}/parameters/{{parameter_id}} - parameter
Id String - The unique name of the resource.
 - policy
Members List<Property Map> - An object containing a unique resource identity tied to the regional parameter. Structure is documented below.
 - project String
 - The ID of the project.
 - pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
 - update
Time String - The time at which the regional parameter was updated.
 
GetRegionalParametersParameterPolicyMember     
- Iam
Policy stringName Principal  - AM policy binding member referring to a Google Cloud resource by user-assigned name. If a resource is deleted and recreated with the same name, the binding will be applicable to the
new resource. Format:
principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/{{location}}/parameters/{{parameter_id}} - Iam
Policy stringUid Principal  - IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier.
If a resource is deleted and recreated with the same name, the binding will not be applicable to the
new resource. Format:
principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/{{location}}/parameters/{{uid}} 
- Iam
Policy stringName Principal  - AM policy binding member referring to a Google Cloud resource by user-assigned name. If a resource is deleted and recreated with the same name, the binding will be applicable to the
new resource. Format:
principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/{{location}}/parameters/{{parameter_id}} - Iam
Policy stringUid Principal  - IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier.
If a resource is deleted and recreated with the same name, the binding will not be applicable to the
new resource. Format:
principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/{{location}}/parameters/{{uid}} 
- iam
Policy StringName Principal  - AM policy binding member referring to a Google Cloud resource by user-assigned name. If a resource is deleted and recreated with the same name, the binding will be applicable to the
new resource. Format:
principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/{{location}}/parameters/{{parameter_id}} - iam
Policy StringUid Principal  - IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier.
If a resource is deleted and recreated with the same name, the binding will not be applicable to the
new resource. Format:
principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/{{location}}/parameters/{{uid}} 
- iam
Policy stringName Principal  - AM policy binding member referring to a Google Cloud resource by user-assigned name. If a resource is deleted and recreated with the same name, the binding will be applicable to the
new resource. Format:
principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/{{location}}/parameters/{{parameter_id}} - iam
Policy stringUid Principal  - IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier.
If a resource is deleted and recreated with the same name, the binding will not be applicable to the
new resource. Format:
principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/{{location}}/parameters/{{uid}} 
- iam_
policy_ strname_ principal  - AM policy binding member referring to a Google Cloud resource by user-assigned name. If a resource is deleted and recreated with the same name, the binding will be applicable to the
new resource. Format:
principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/{{location}}/parameters/{{parameter_id}} - iam_
policy_ struid_ principal  - IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier.
If a resource is deleted and recreated with the same name, the binding will not be applicable to the
new resource. Format:
principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/{{location}}/parameters/{{uid}} 
- iam
Policy StringName Principal  - AM policy binding member referring to a Google Cloud resource by user-assigned name. If a resource is deleted and recreated with the same name, the binding will be applicable to the
new resource. Format:
principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/{{location}}/parameters/{{parameter_id}} - iam
Policy StringUid Principal  - IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier.
If a resource is deleted and recreated with the same name, the binding will not be applicable to the
new resource. Format:
principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/{{location}}/parameters/{{uid}} 
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.