Google Cloud v8.21.0 published on Wednesday, Mar 5, 2025 by Pulumi
gcp.parametermanager.getParameters
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const parameters = gcp.parametermanager.getParameters({});
import pulumi
import pulumi_gcp as gcp
parameters = gcp.parametermanager.get_parameters()
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.GetParameters(ctx, ¶metermanager.GetParametersArgs{}, 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 parameters = Gcp.ParameterManager.GetParameters.Invoke();
});
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.GetParametersArgs;
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 parameters = ParametermanagerFunctions.getParameters();
    }
}
variables:
  parameters:
    fn::invoke:
      function: gcp:parametermanager:getParameters
      arguments: {}
Using getParameters
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 getParameters(args: GetParametersArgs, opts?: InvokeOptions): Promise<GetParametersResult>
function getParametersOutput(args: GetParametersOutputArgs, opts?: InvokeOptions): Output<GetParametersResult>def get_parameters(filter: Optional[str] = None,
                   project: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetParametersResult
def get_parameters_output(filter: Optional[pulumi.Input[str]] = None,
                   project: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetParametersResult]func GetParameters(ctx *Context, args *GetParametersArgs, opts ...InvokeOption) (*GetParametersResult, error)
func GetParametersOutput(ctx *Context, args *GetParametersOutputArgs, opts ...InvokeOption) GetParametersResultOutput> Note: This function is named GetParameters in the Go SDK.
public static class GetParameters 
{
    public static Task<GetParametersResult> InvokeAsync(GetParametersArgs args, InvokeOptions? opts = null)
    public static Output<GetParametersResult> Invoke(GetParametersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetParametersResult> getParameters(GetParametersArgs args, InvokeOptions options)
public static Output<GetParametersResult> getParameters(GetParametersArgs args, InvokeOptions options)
fn::invoke:
  function: gcp:parametermanager/getParameters:getParameters
  arguments:
    # arguments dictionaryThe following arguments are supported:
getParameters Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Parameters
List<GetParameters Parameter> 
- A list of 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.
- Parameters
[]GetParameters Parameter 
- A list of 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.
- parameters
List<GetParameters Parameter> 
- A list of 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.
- parameters
GetParameters Parameter[] 
- A list of 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.
- parameters
Sequence[GetParameters Parameter] 
- A list of 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.
- parameters List<Property Map>
- A list of parameters matching the filter. Structure is defined below.
- project String
- The ID of the project in which the resource belongs.
- filter String
Supporting Types
GetParametersParameter  
- CreateTime string
- The time at which the parameter was created.
- EffectiveLabels Dictionary<string, string>
- Format string
- The format type of the parameter.
- Labels Dictionary<string, string>
- The labels assigned to the parameter.
- Name string
- The resource name of the parameter. Format: projects/{{project}}/locations/global/parameters/{{parameter_id}}
- ParameterId string
- The unique name of the resource.
- PolicyMembers List<GetParameters Parameter Policy Member> 
- An object containing a unique resource identity tied to the parameter. Structure is documented below.
- Project string
- The ID of the project.
- PulumiLabels Dictionary<string, string>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- UpdateTime string
- The time at which the parameter was updated.
- CreateTime string
- The time at which the parameter was created.
- EffectiveLabels map[string]string
- Format string
- The format type of the parameter.
- Labels map[string]string
- The labels assigned to the parameter.
- Name string
- The resource name of the parameter. Format: projects/{{project}}/locations/global/parameters/{{parameter_id}}
- ParameterId string
- The unique name of the resource.
- PolicyMembers []GetParameters Parameter Policy Member 
- An object containing a unique resource identity tied to the parameter. Structure is documented below.
- Project string
- The ID of the project.
- PulumiLabels map[string]string
- The combination of labels configured directly on the resource and default labels configured on the provider.
- UpdateTime string
- The time at which the parameter was updated.
- createTime String
- The time at which the parameter was created.
- effectiveLabels Map<String,String>
- format String
- The format type of the parameter.
- labels Map<String,String>
- The labels assigned to the parameter.
- name String
- The resource name of the parameter. Format: projects/{{project}}/locations/global/parameters/{{parameter_id}}
- parameterId String
- The unique name of the resource.
- policyMembers List<GetParameters Parameter Policy Member> 
- An object containing a unique resource identity tied to the parameter. Structure is documented below.
- project String
- The ID of the project.
- pulumiLabels Map<String,String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- updateTime String
- The time at which the parameter was updated.
- createTime string
- The time at which the parameter was created.
- effectiveLabels {[key: string]: string}
- format string
- The format type of the parameter.
- labels {[key: string]: string}
- The labels assigned to the parameter.
- name string
- The resource name of the parameter. Format: projects/{{project}}/locations/global/parameters/{{parameter_id}}
- parameterId string
- The unique name of the resource.
- policyMembers GetParameters Parameter Policy Member[] 
- An object containing a unique resource identity tied to the parameter. Structure is documented below.
- project string
- The ID of the project.
- pulumiLabels {[key: string]: string}
- The combination of labels configured directly on the resource and default labels configured on the provider.
- updateTime string
- The time at which the parameter was updated.
- create_time str
- The time at which the parameter was created.
- effective_labels Mapping[str, str]
- format str
- The format type of the parameter.
- labels Mapping[str, str]
- The labels assigned to the parameter.
- name str
- The resource name of the parameter. Format: projects/{{project}}/locations/global/parameters/{{parameter_id}}
- parameter_id str
- The unique name of the resource.
- policy_members Sequence[GetParameters Parameter Policy Member] 
- An object containing a unique resource identity tied to the 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 parameter was updated.
- createTime String
- The time at which the parameter was created.
- effectiveLabels Map<String>
- format String
- The format type of the parameter.
- labels Map<String>
- The labels assigned to the parameter.
- name String
- The resource name of the parameter. Format: projects/{{project}}/locations/global/parameters/{{parameter_id}}
- parameterId String
- The unique name of the resource.
- policyMembers List<Property Map>
- An object containing a unique resource identity tied to the parameter. Structure is documented below.
- project String
- The ID of the project.
- pulumiLabels Map<String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- updateTime String
- The time at which the parameter was updated.
GetParametersParameterPolicyMember    
- IamPolicy 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/global/parameters/{{parameter_id}}
- IamPolicy 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/global/parameters/{{uid}}
- IamPolicy 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/global/parameters/{{parameter_id}}
- IamPolicy 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/global/parameters/{{uid}}
- iamPolicy 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/global/parameters/{{parameter_id}}
- iamPolicy 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/global/parameters/{{uid}}
- iamPolicy 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/global/parameters/{{parameter_id}}
- iamPolicy 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/global/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/global/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/global/parameters/{{uid}}
- iamPolicy 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/global/parameters/{{parameter_id}}
- iamPolicy 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/global/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.