gcp.apigee.EnvReferences
Explore with Pulumi AI
An Environment Reference
in Apigee.
To get more information about EnvReferences, see:
- API documentation
- How-to Guides
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",
});
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"),
})
var envReferencesResource = new EnvReferences("envReferencesResource", EnvReferencesArgs.builder()
.envId("string")
.refers("string")
.resourceType("string")
.description("string")
.name("string")
.build());
env_references_resource = gcp.apigee.EnvReferences("envReferencesResource",
env_id="string",
refers="string",
resource_type="string",
description="string",
name="string")
const envReferencesResource = new gcp.apigee.EnvReferences("envReferencesResource", {
envId: "string",
refers: "string",
resourceType: "string",
description: "string",
name: "string",
});
type: gcp:apigee:EnvReferences
properties:
description: string
envId: string
name: string
refers: string
resourceType: string
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:
- Env
Id This property is required. Changes to this property will trigger replacement.
- 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.
- Resource
Type This property is required. Changes to this property will trigger replacement.
- The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
- Description
Changes to this property will trigger replacement.
- Optional. A human-readable description of this reference.
- Name
Changes to this property will trigger replacement.
- 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.
- 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.
- Resource
Type This property is required. Changes to this property will trigger replacement.
- The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
- Description
Changes to this property will trigger replacement.
- Optional. A human-readable description of this reference.
- Name
Changes to this property will trigger replacement.
- 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.
- 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.
- resource
Type This property is required. Changes to this property will trigger replacement.
- The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
- description
Changes to this property will trigger replacement.
- Optional. A human-readable description of this reference.
- name
Changes to this property will trigger replacement.
- 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.
- 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.
- resource
Type This property is required. Changes to this property will trigger replacement.
- The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
- description
Changes to this property will trigger replacement.
- Optional. A human-readable description of this reference.
- name
Changes to this property will trigger replacement.
- 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.
- 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.
- The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
- description
Changes to this property will trigger replacement.
- Optional. A human-readable description of this reference.
- name
Changes to this property will trigger replacement.
- 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.
- 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.
- resource
Type This property is required. Changes to this property will trigger replacement.
- The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
- description
Changes to this property will trigger replacement.
- Optional. A human-readable description of this reference.
- name
Changes to this property will trigger replacement.
- 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.
- Description
Changes to this property will trigger replacement.
- Optional. A human-readable description of this reference.
- Env
Id Changes to this property will trigger replacement.
- 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.
- 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.
- Resource
Type Changes to this property will trigger replacement.
- The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
- Description
Changes to this property will trigger replacement.
- Optional. A human-readable description of this reference.
- Env
Id Changes to this property will trigger replacement.
- 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.
- 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.
- Resource
Type Changes to this property will trigger replacement.
- The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
- description
Changes to this property will trigger replacement.
- Optional. A human-readable description of this reference.
- env
Id Changes to this property will trigger replacement.
- 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.
- 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.
- resource
Type Changes to this property will trigger replacement.
- The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
- description
Changes to this property will trigger replacement.
- Optional. A human-readable description of this reference.
- env
Id Changes to this property will trigger replacement.
- 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.
- 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.
- resource
Type Changes to this property will trigger replacement.
- The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
- description
Changes to this property will trigger replacement.
- Optional. A human-readable description of this reference.
- env_
id Changes to this property will trigger replacement.
- 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.
- 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.
- The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
- description
Changes to this property will trigger replacement.
- Optional. A human-readable description of this reference.
- env
Id Changes to this property will trigger replacement.
- 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.
- 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.
- resource
Type Changes to this property will trigger replacement.
- 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}}
$ pulumi import gcp:apigee/envReferences:EnvReferences default {{env_id}}/{{name}}
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.