1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. apigee
  5. EnvReferences
Google Cloud v8.27.0 published on Thursday, Apr 17, 2025 by Pulumi

gcp.apigee.EnvReferences

Explore with Pulumi AI

An Environment Reference in Apigee.

To get more information about EnvReferences, see:

Create EnvReferences Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new EnvReferences(name: string, args: EnvReferencesArgs, opts?: CustomResourceOptions);
@overload
def EnvReferences(resource_name: str,
                  args: EnvReferencesArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def EnvReferences(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  env_id: Optional[str] = None,
                  refers: Optional[str] = None,
                  resource_type: Optional[str] = None,
                  description: Optional[str] = None,
                  name: Optional[str] = None)
func NewEnvReferences(ctx *Context, name string, args EnvReferencesArgs, opts ...ResourceOption) (*EnvReferences, error)
public EnvReferences(string name, EnvReferencesArgs args, CustomResourceOptions? opts = null)
public EnvReferences(String name, EnvReferencesArgs args)
public EnvReferences(String name, EnvReferencesArgs args, CustomResourceOptions options)
type: gcp:apigee:EnvReferences
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. EnvReferencesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. EnvReferencesArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. EnvReferencesArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. EnvReferencesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. EnvReferencesArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var envReferencesResource = new Gcp.Apigee.EnvReferences("envReferencesResource", new()
{
    EnvId = "string",
    Refers = "string",
    ResourceType = "string",
    Description = "string",
    Name = "string",
});
Copy
example, err := apigee.NewEnvReferences(ctx, "envReferencesResource", &apigee.EnvReferencesArgs{
	EnvId:        pulumi.String("string"),
	Refers:       pulumi.String("string"),
	ResourceType: pulumi.String("string"),
	Description:  pulumi.String("string"),
	Name:         pulumi.String("string"),
})
Copy
var envReferencesResource = new EnvReferences("envReferencesResource", EnvReferencesArgs.builder()
    .envId("string")
    .refers("string")
    .resourceType("string")
    .description("string")
    .name("string")
    .build());
Copy
env_references_resource = gcp.apigee.EnvReferences("envReferencesResource",
    env_id="string",
    refers="string",
    resource_type="string",
    description="string",
    name="string")
Copy
const envReferencesResource = new gcp.apigee.EnvReferences("envReferencesResource", {
    envId: "string",
    refers: "string",
    resourceType: "string",
    description: "string",
    name: "string",
});
Copy
type: gcp:apigee:EnvReferences
properties:
    description: string
    envId: string
    name: string
    refers: string
    resourceType: string
Copy

EnvReferences Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The EnvReferences resource accepts the following input properties:

EnvId
This property is required.
Changes to this property will trigger replacement.
string
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


Refers This property is required. string
Required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resourceType.
ResourceType
This property is required.
Changes to this property will trigger replacement.
string
The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
Description Changes to this property will trigger replacement. string
Optional. A human-readable description of this reference.
Name Changes to this property will trigger replacement. string
Required. The resource id of this reference. Values must match the regular expression [\w\s-.]+.
EnvId
This property is required.
Changes to this property will trigger replacement.
string
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


Refers This property is required. string
Required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resourceType.
ResourceType
This property is required.
Changes to this property will trigger replacement.
string
The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
Description Changes to this property will trigger replacement. string
Optional. A human-readable description of this reference.
Name Changes to this property will trigger replacement. string
Required. The resource id of this reference. Values must match the regular expression [\w\s-.]+.
envId
This property is required.
Changes to this property will trigger replacement.
String
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


refers This property is required. String
Required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resourceType.
resourceType
This property is required.
Changes to this property will trigger replacement.
String
The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
description Changes to this property will trigger replacement. String
Optional. A human-readable description of this reference.
name Changes to this property will trigger replacement. String
Required. The resource id of this reference. Values must match the regular expression [\w\s-.]+.
envId
This property is required.
Changes to this property will trigger replacement.
string
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


refers This property is required. string
Required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resourceType.
resourceType
This property is required.
Changes to this property will trigger replacement.
string
The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
description Changes to this property will trigger replacement. string
Optional. A human-readable description of this reference.
name Changes to this property will trigger replacement. string
Required. The resource id of this reference. Values must match the regular expression [\w\s-.]+.
env_id
This property is required.
Changes to this property will trigger replacement.
str
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


refers This property is required. str
Required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resourceType.
resource_type
This property is required.
Changes to this property will trigger replacement.
str
The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
description Changes to this property will trigger replacement. str
Optional. A human-readable description of this reference.
name Changes to this property will trigger replacement. str
Required. The resource id of this reference. Values must match the regular expression [\w\s-.]+.
envId
This property is required.
Changes to this property will trigger replacement.
String
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


refers This property is required. String
Required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resourceType.
resourceType
This property is required.
Changes to this property will trigger replacement.
String
The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
description Changes to this property will trigger replacement. String
Optional. A human-readable description of this reference.
name Changes to this property will trigger replacement. String
Required. The resource id of this reference. Values must match the regular expression [\w\s-.]+.

Outputs

All input properties are implicitly available as output properties. Additionally, the EnvReferences resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing EnvReferences Resource

Get an existing EnvReferences resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: EnvReferencesState, opts?: CustomResourceOptions): EnvReferences
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        env_id: Optional[str] = None,
        name: Optional[str] = None,
        refers: Optional[str] = None,
        resource_type: Optional[str] = None) -> EnvReferences
func GetEnvReferences(ctx *Context, name string, id IDInput, state *EnvReferencesState, opts ...ResourceOption) (*EnvReferences, error)
public static EnvReferences Get(string name, Input<string> id, EnvReferencesState? state, CustomResourceOptions? opts = null)
public static EnvReferences get(String name, Output<String> id, EnvReferencesState state, CustomResourceOptions options)
resources:  _:    type: gcp:apigee:EnvReferences    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Description Changes to this property will trigger replacement. string
Optional. A human-readable description of this reference.
EnvId Changes to this property will trigger replacement. string
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


Name Changes to this property will trigger replacement. string
Required. The resource id of this reference. Values must match the regular expression [\w\s-.]+.
Refers string
Required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resourceType.
ResourceType Changes to this property will trigger replacement. string
The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
Description Changes to this property will trigger replacement. string
Optional. A human-readable description of this reference.
EnvId Changes to this property will trigger replacement. string
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


Name Changes to this property will trigger replacement. string
Required. The resource id of this reference. Values must match the regular expression [\w\s-.]+.
Refers string
Required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resourceType.
ResourceType Changes to this property will trigger replacement. string
The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
description Changes to this property will trigger replacement. String
Optional. A human-readable description of this reference.
envId Changes to this property will trigger replacement. String
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


name Changes to this property will trigger replacement. String
Required. The resource id of this reference. Values must match the regular expression [\w\s-.]+.
refers String
Required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resourceType.
resourceType Changes to this property will trigger replacement. String
The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
description Changes to this property will trigger replacement. string
Optional. A human-readable description of this reference.
envId Changes to this property will trigger replacement. string
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


name Changes to this property will trigger replacement. string
Required. The resource id of this reference. Values must match the regular expression [\w\s-.]+.
refers string
Required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resourceType.
resourceType Changes to this property will trigger replacement. string
The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
description Changes to this property will trigger replacement. str
Optional. A human-readable description of this reference.
env_id Changes to this property will trigger replacement. str
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


name Changes to this property will trigger replacement. str
Required. The resource id of this reference. Values must match the regular expression [\w\s-.]+.
refers str
Required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resourceType.
resource_type Changes to this property will trigger replacement. str
The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
description Changes to this property will trigger replacement. String
Optional. A human-readable description of this reference.
envId Changes to this property will trigger replacement. String
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


name Changes to this property will trigger replacement. String
Required. The resource id of this reference. Values must match the regular expression [\w\s-.]+.
refers String
Required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resourceType.
resourceType Changes to this property will trigger replacement. String
The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.

Import

EnvReferences can be imported using any of these accepted formats:

  • {{env_id}}/references/{{name}}

  • {{env_id}}/{{name}}

When using the pulumi import command, EnvReferences can be imported using one of the formats above. For example:

$ pulumi import gcp:apigee/envReferences:EnvReferences default {{env_id}}/references/{{name}}
Copy
$ pulumi import gcp:apigee/envReferences:EnvReferences default {{env_id}}/{{name}}
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.