gcp.apigee.EnvironmentKeyvaluemapsEntries
Explore with Pulumi AI
Creates key value entries in a key value map scoped to an environment.
To get more information about EnvironmentKeyvaluemapsEntries, see:
- API documentation
- How-to Guides
Example Usage
Apigee Environment Keyvaluemaps Entries Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const current = gcp.organizations.getClientConfig({});
const apigeeNetwork = new gcp.compute.Network("apigee_network", {name: "apigee-network"});
const apigeeRange = new gcp.compute.GlobalAddress("apigee_range", {
name: "apigee-range",
purpose: "VPC_PEERING",
addressType: "INTERNAL",
prefixLength: 16,
network: apigeeNetwork.id,
});
const apigeeVpcConnection = new gcp.servicenetworking.Connection("apigee_vpc_connection", {
network: apigeeNetwork.id,
service: "servicenetworking.googleapis.com",
reservedPeeringRanges: [apigeeRange.name],
});
const apigeeOrg = new gcp.apigee.Organization("apigee_org", {
analyticsRegion: "us-central1",
projectId: current.then(current => current.project),
authorizedNetwork: apigeeNetwork.id,
}, {
dependsOn: [apigeeVpcConnection],
});
const apigeeEnvironment = new gcp.apigee.Environment("apigee_environment", {
orgId: apigeeOrg.id,
name: "tf-test-env",
description: "Apigee Environment",
displayName: "Apigee Environment",
});
const apigeeInstance = new gcp.apigee.Instance("apigee_instance", {
name: "tf-test-instance",
location: "us-central1",
orgId: apigeeOrg.id,
});
const apigeeInstanceAttachment = new gcp.apigee.InstanceAttachment("apigee_instance_attachment", {
instanceId: apigeeInstance.id,
environment: apigeeEnvironment.name,
});
const apigeeEnvironmentKeyvaluemaps = new gcp.apigee.EnvironmentKeyvaluemaps("apigee_environment_keyvaluemaps", {
envId: createApigeeEnvironment.id,
name: "tf-test-env-kvms",
}, {
dependsOn: [
apigeeOrg,
apigeeEnvironment,
apigeeInstance,
apigeeInstanceAttachment,
],
});
const apigeeEnvironmentKeyvaluemapsEntries = new gcp.apigee.EnvironmentKeyvaluemapsEntries("apigee_environment_keyvaluemaps_entries", {
envKeyvaluemapId: apigeeEnvironmentKeyvaluemaps.id,
name: "testName",
value: "testValue",
}, {
dependsOn: [
apigeeOrg,
apigeeEnvironment,
apigeeInstance,
apigeeInstanceAttachment,
apigeeEnvironmentKeyvaluemaps,
],
});
import pulumi
import pulumi_gcp as gcp
current = gcp.organizations.get_client_config()
apigee_network = gcp.compute.Network("apigee_network", name="apigee-network")
apigee_range = gcp.compute.GlobalAddress("apigee_range",
name="apigee-range",
purpose="VPC_PEERING",
address_type="INTERNAL",
prefix_length=16,
network=apigee_network.id)
apigee_vpc_connection = gcp.servicenetworking.Connection("apigee_vpc_connection",
network=apigee_network.id,
service="servicenetworking.googleapis.com",
reserved_peering_ranges=[apigee_range.name])
apigee_org = gcp.apigee.Organization("apigee_org",
analytics_region="us-central1",
project_id=current.project,
authorized_network=apigee_network.id,
opts = pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
apigee_environment = gcp.apigee.Environment("apigee_environment",
org_id=apigee_org.id,
name="tf-test-env",
description="Apigee Environment",
display_name="Apigee Environment")
apigee_instance = gcp.apigee.Instance("apigee_instance",
name="tf-test-instance",
location="us-central1",
org_id=apigee_org.id)
apigee_instance_attachment = gcp.apigee.InstanceAttachment("apigee_instance_attachment",
instance_id=apigee_instance.id,
environment=apigee_environment.name)
apigee_environment_keyvaluemaps = gcp.apigee.EnvironmentKeyvaluemaps("apigee_environment_keyvaluemaps",
env_id=create_apigee_environment["id"],
name="tf-test-env-kvms",
opts = pulumi.ResourceOptions(depends_on=[
apigee_org,
apigee_environment,
apigee_instance,
apigee_instance_attachment,
]))
apigee_environment_keyvaluemaps_entries = gcp.apigee.EnvironmentKeyvaluemapsEntries("apigee_environment_keyvaluemaps_entries",
env_keyvaluemap_id=apigee_environment_keyvaluemaps.id,
name="testName",
value="testValue",
opts = pulumi.ResourceOptions(depends_on=[
apigee_org,
apigee_environment,
apigee_instance,
apigee_instance_attachment,
apigee_environment_keyvaluemaps,
]))
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/apigee"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := organizations.GetClientConfig(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
apigeeNetwork, err := compute.NewNetwork(ctx, "apigee_network", &compute.NetworkArgs{
Name: pulumi.String("apigee-network"),
})
if err != nil {
return err
}
apigeeRange, err := compute.NewGlobalAddress(ctx, "apigee_range", &compute.GlobalAddressArgs{
Name: pulumi.String("apigee-range"),
Purpose: pulumi.String("VPC_PEERING"),
AddressType: pulumi.String("INTERNAL"),
PrefixLength: pulumi.Int(16),
Network: apigeeNetwork.ID(),
})
if err != nil {
return err
}
apigeeVpcConnection, err := servicenetworking.NewConnection(ctx, "apigee_vpc_connection", &servicenetworking.ConnectionArgs{
Network: apigeeNetwork.ID(),
Service: pulumi.String("servicenetworking.googleapis.com"),
ReservedPeeringRanges: pulumi.StringArray{
apigeeRange.Name,
},
})
if err != nil {
return err
}
apigeeOrg, err := apigee.NewOrganization(ctx, "apigee_org", &apigee.OrganizationArgs{
AnalyticsRegion: pulumi.String("us-central1"),
ProjectId: pulumi.String(current.Project),
AuthorizedNetwork: apigeeNetwork.ID(),
}, pulumi.DependsOn([]pulumi.Resource{
apigeeVpcConnection,
}))
if err != nil {
return err
}
apigeeEnvironment, err := apigee.NewEnvironment(ctx, "apigee_environment", &apigee.EnvironmentArgs{
OrgId: apigeeOrg.ID(),
Name: pulumi.String("tf-test-env"),
Description: pulumi.String("Apigee Environment"),
DisplayName: pulumi.String("Apigee Environment"),
})
if err != nil {
return err
}
apigeeInstance, err := apigee.NewInstance(ctx, "apigee_instance", &apigee.InstanceArgs{
Name: pulumi.String("tf-test-instance"),
Location: pulumi.String("us-central1"),
OrgId: apigeeOrg.ID(),
})
if err != nil {
return err
}
apigeeInstanceAttachment, err := apigee.NewInstanceAttachment(ctx, "apigee_instance_attachment", &apigee.InstanceAttachmentArgs{
InstanceId: apigeeInstance.ID(),
Environment: apigeeEnvironment.Name,
})
if err != nil {
return err
}
apigeeEnvironmentKeyvaluemaps, err := apigee.NewEnvironmentKeyvaluemaps(ctx, "apigee_environment_keyvaluemaps", &apigee.EnvironmentKeyvaluemapsArgs{
EnvId: pulumi.Any(createApigeeEnvironment.Id),
Name: pulumi.String("tf-test-env-kvms"),
}, pulumi.DependsOn([]pulumi.Resource{
apigeeOrg,
apigeeEnvironment,
apigeeInstance,
apigeeInstanceAttachment,
}))
if err != nil {
return err
}
_, err = apigee.NewEnvironmentKeyvaluemapsEntries(ctx, "apigee_environment_keyvaluemaps_entries", &apigee.EnvironmentKeyvaluemapsEntriesArgs{
EnvKeyvaluemapId: apigeeEnvironmentKeyvaluemaps.ID(),
Name: pulumi.String("testName"),
Value: pulumi.String("testValue"),
}, pulumi.DependsOn([]pulumi.Resource{
apigeeOrg,
apigeeEnvironment,
apigeeInstance,
apigeeInstanceAttachment,
apigeeEnvironmentKeyvaluemaps,
}))
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 current = Gcp.Organizations.GetClientConfig.Invoke();
var apigeeNetwork = new Gcp.Compute.Network("apigee_network", new()
{
Name = "apigee-network",
});
var apigeeRange = new Gcp.Compute.GlobalAddress("apigee_range", new()
{
Name = "apigee-range",
Purpose = "VPC_PEERING",
AddressType = "INTERNAL",
PrefixLength = 16,
Network = apigeeNetwork.Id,
});
var apigeeVpcConnection = new Gcp.ServiceNetworking.Connection("apigee_vpc_connection", new()
{
Network = apigeeNetwork.Id,
Service = "servicenetworking.googleapis.com",
ReservedPeeringRanges = new[]
{
apigeeRange.Name,
},
});
var apigeeOrg = new Gcp.Apigee.Organization("apigee_org", new()
{
AnalyticsRegion = "us-central1",
ProjectId = current.Apply(getClientConfigResult => getClientConfigResult.Project),
AuthorizedNetwork = apigeeNetwork.Id,
}, new CustomResourceOptions
{
DependsOn =
{
apigeeVpcConnection,
},
});
var apigeeEnvironment = new Gcp.Apigee.Environment("apigee_environment", new()
{
OrgId = apigeeOrg.Id,
Name = "tf-test-env",
Description = "Apigee Environment",
DisplayName = "Apigee Environment",
});
var apigeeInstance = new Gcp.Apigee.Instance("apigee_instance", new()
{
Name = "tf-test-instance",
Location = "us-central1",
OrgId = apigeeOrg.Id,
});
var apigeeInstanceAttachment = new Gcp.Apigee.InstanceAttachment("apigee_instance_attachment", new()
{
InstanceId = apigeeInstance.Id,
Environment = apigeeEnvironment.Name,
});
var apigeeEnvironmentKeyvaluemaps = new Gcp.Apigee.EnvironmentKeyvaluemaps("apigee_environment_keyvaluemaps", new()
{
EnvId = createApigeeEnvironment.Id,
Name = "tf-test-env-kvms",
}, new CustomResourceOptions
{
DependsOn =
{
apigeeOrg,
apigeeEnvironment,
apigeeInstance,
apigeeInstanceAttachment,
},
});
var apigeeEnvironmentKeyvaluemapsEntries = new Gcp.Apigee.EnvironmentKeyvaluemapsEntries("apigee_environment_keyvaluemaps_entries", new()
{
EnvKeyvaluemapId = apigeeEnvironmentKeyvaluemaps.Id,
Name = "testName",
Value = "testValue",
}, new CustomResourceOptions
{
DependsOn =
{
apigeeOrg,
apigeeEnvironment,
apigeeInstance,
apigeeInstanceAttachment,
apigeeEnvironmentKeyvaluemaps,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.compute.Network;
import com.pulumi.gcp.compute.NetworkArgs;
import com.pulumi.gcp.compute.GlobalAddress;
import com.pulumi.gcp.compute.GlobalAddressArgs;
import com.pulumi.gcp.servicenetworking.Connection;
import com.pulumi.gcp.servicenetworking.ConnectionArgs;
import com.pulumi.gcp.apigee.Organization;
import com.pulumi.gcp.apigee.OrganizationArgs;
import com.pulumi.gcp.apigee.Environment;
import com.pulumi.gcp.apigee.EnvironmentArgs;
import com.pulumi.gcp.apigee.Instance;
import com.pulumi.gcp.apigee.InstanceArgs;
import com.pulumi.gcp.apigee.InstanceAttachment;
import com.pulumi.gcp.apigee.InstanceAttachmentArgs;
import com.pulumi.gcp.apigee.EnvironmentKeyvaluemaps;
import com.pulumi.gcp.apigee.EnvironmentKeyvaluemapsArgs;
import com.pulumi.gcp.apigee.EnvironmentKeyvaluemapsEntries;
import com.pulumi.gcp.apigee.EnvironmentKeyvaluemapsEntriesArgs;
import com.pulumi.resources.CustomResourceOptions;
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 current = OrganizationsFunctions.getClientConfig();
var apigeeNetwork = new Network("apigeeNetwork", NetworkArgs.builder()
.name("apigee-network")
.build());
var apigeeRange = new GlobalAddress("apigeeRange", GlobalAddressArgs.builder()
.name("apigee-range")
.purpose("VPC_PEERING")
.addressType("INTERNAL")
.prefixLength(16)
.network(apigeeNetwork.id())
.build());
var apigeeVpcConnection = new Connection("apigeeVpcConnection", ConnectionArgs.builder()
.network(apigeeNetwork.id())
.service("servicenetworking.googleapis.com")
.reservedPeeringRanges(apigeeRange.name())
.build());
var apigeeOrg = new Organization("apigeeOrg", OrganizationArgs.builder()
.analyticsRegion("us-central1")
.projectId(current.applyValue(getClientConfigResult -> getClientConfigResult.project()))
.authorizedNetwork(apigeeNetwork.id())
.build(), CustomResourceOptions.builder()
.dependsOn(apigeeVpcConnection)
.build());
var apigeeEnvironment = new Environment("apigeeEnvironment", EnvironmentArgs.builder()
.orgId(apigeeOrg.id())
.name("tf-test-env")
.description("Apigee Environment")
.displayName("Apigee Environment")
.build());
var apigeeInstance = new Instance("apigeeInstance", InstanceArgs.builder()
.name("tf-test-instance")
.location("us-central1")
.orgId(apigeeOrg.id())
.build());
var apigeeInstanceAttachment = new InstanceAttachment("apigeeInstanceAttachment", InstanceAttachmentArgs.builder()
.instanceId(apigeeInstance.id())
.environment(apigeeEnvironment.name())
.build());
var apigeeEnvironmentKeyvaluemaps = new EnvironmentKeyvaluemaps("apigeeEnvironmentKeyvaluemaps", EnvironmentKeyvaluemapsArgs.builder()
.envId(createApigeeEnvironment.id())
.name("tf-test-env-kvms")
.build(), CustomResourceOptions.builder()
.dependsOn(
apigeeOrg,
apigeeEnvironment,
apigeeInstance,
apigeeInstanceAttachment)
.build());
var apigeeEnvironmentKeyvaluemapsEntries = new EnvironmentKeyvaluemapsEntries("apigeeEnvironmentKeyvaluemapsEntries", EnvironmentKeyvaluemapsEntriesArgs.builder()
.envKeyvaluemapId(apigeeEnvironmentKeyvaluemaps.id())
.name("testName")
.value("testValue")
.build(), CustomResourceOptions.builder()
.dependsOn(
apigeeOrg,
apigeeEnvironment,
apigeeInstance,
apigeeInstanceAttachment,
apigeeEnvironmentKeyvaluemaps)
.build());
}
}
resources:
apigeeNetwork:
type: gcp:compute:Network
name: apigee_network
properties:
name: apigee-network
apigeeRange:
type: gcp:compute:GlobalAddress
name: apigee_range
properties:
name: apigee-range
purpose: VPC_PEERING
addressType: INTERNAL
prefixLength: 16
network: ${apigeeNetwork.id}
apigeeVpcConnection:
type: gcp:servicenetworking:Connection
name: apigee_vpc_connection
properties:
network: ${apigeeNetwork.id}
service: servicenetworking.googleapis.com
reservedPeeringRanges:
- ${apigeeRange.name}
apigeeOrg:
type: gcp:apigee:Organization
name: apigee_org
properties:
analyticsRegion: us-central1
projectId: ${current.project}
authorizedNetwork: ${apigeeNetwork.id}
options:
dependson:
- ${apigeeVpcConnection}
apigeeEnvironment:
type: gcp:apigee:Environment
name: apigee_environment
properties:
orgId: ${apigeeOrg.id}
name: tf-test-env
description: Apigee Environment
displayName: Apigee Environment
apigeeInstance:
type: gcp:apigee:Instance
name: apigee_instance
properties:
name: tf-test-instance
location: us-central1
orgId: ${apigeeOrg.id}
apigeeInstanceAttachment:
type: gcp:apigee:InstanceAttachment
name: apigee_instance_attachment
properties:
instanceId: ${apigeeInstance.id}
environment: ${apigeeEnvironment.name}
apigeeEnvironmentKeyvaluemaps:
type: gcp:apigee:EnvironmentKeyvaluemaps
name: apigee_environment_keyvaluemaps
properties:
envId: ${createApigeeEnvironment.id}
name: tf-test-env-kvms
options:
dependson:
- ${apigeeOrg}
- ${apigeeEnvironment}
- ${apigeeInstance}
- ${apigeeInstanceAttachment}
apigeeEnvironmentKeyvaluemapsEntries:
type: gcp:apigee:EnvironmentKeyvaluemapsEntries
name: apigee_environment_keyvaluemaps_entries
properties:
envKeyvaluemapId: ${apigeeEnvironmentKeyvaluemaps.id}
name: testName
value: testValue
options:
dependson:
- ${apigeeOrg}
- ${apigeeEnvironment}
- ${apigeeInstance}
- ${apigeeInstanceAttachment}
- ${apigeeEnvironmentKeyvaluemaps}
variables:
current:
fn::invoke:
Function: gcp:organizations:getClientConfig
Arguments: {}
Create EnvironmentKeyvaluemapsEntries Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnvironmentKeyvaluemapsEntries(name: string, args: EnvironmentKeyvaluemapsEntriesArgs, opts?: CustomResourceOptions);
@overload
def EnvironmentKeyvaluemapsEntries(resource_name: str,
args: EnvironmentKeyvaluemapsEntriesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnvironmentKeyvaluemapsEntries(resource_name: str,
opts: Optional[ResourceOptions] = None,
env_keyvaluemap_id: Optional[str] = None,
value: Optional[str] = None,
name: Optional[str] = None)
func NewEnvironmentKeyvaluemapsEntries(ctx *Context, name string, args EnvironmentKeyvaluemapsEntriesArgs, opts ...ResourceOption) (*EnvironmentKeyvaluemapsEntries, error)
public EnvironmentKeyvaluemapsEntries(string name, EnvironmentKeyvaluemapsEntriesArgs args, CustomResourceOptions? opts = null)
public EnvironmentKeyvaluemapsEntries(String name, EnvironmentKeyvaluemapsEntriesArgs args)
public EnvironmentKeyvaluemapsEntries(String name, EnvironmentKeyvaluemapsEntriesArgs args, CustomResourceOptions options)
type: gcp:apigee:EnvironmentKeyvaluemapsEntries
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EnvironmentKeyvaluemapsEntriesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EnvironmentKeyvaluemapsEntriesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EnvironmentKeyvaluemapsEntriesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnvironmentKeyvaluemapsEntriesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnvironmentKeyvaluemapsEntriesArgs
- 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 environmentKeyvaluemapsEntriesResource = new Gcp.Apigee.EnvironmentKeyvaluemapsEntries("environmentKeyvaluemapsEntriesResource", new()
{
EnvKeyvaluemapId = "string",
Value = "string",
Name = "string",
});
example, err := apigee.NewEnvironmentKeyvaluemapsEntries(ctx, "environmentKeyvaluemapsEntriesResource", &apigee.EnvironmentKeyvaluemapsEntriesArgs{
EnvKeyvaluemapId: pulumi.String("string"),
Value: pulumi.String("string"),
Name: pulumi.String("string"),
})
var environmentKeyvaluemapsEntriesResource = new EnvironmentKeyvaluemapsEntries("environmentKeyvaluemapsEntriesResource", EnvironmentKeyvaluemapsEntriesArgs.builder()
.envKeyvaluemapId("string")
.value("string")
.name("string")
.build());
environment_keyvaluemaps_entries_resource = gcp.apigee.EnvironmentKeyvaluemapsEntries("environmentKeyvaluemapsEntriesResource",
env_keyvaluemap_id="string",
value="string",
name="string")
const environmentKeyvaluemapsEntriesResource = new gcp.apigee.EnvironmentKeyvaluemapsEntries("environmentKeyvaluemapsEntriesResource", {
envKeyvaluemapId: "string",
value: "string",
name: "string",
});
type: gcp:apigee:EnvironmentKeyvaluemapsEntries
properties:
envKeyvaluemapId: string
name: string
value: string
EnvironmentKeyvaluemapsEntries 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 EnvironmentKeyvaluemapsEntries resource accepts the following input properties:
- Env
Keyvaluemap stringId - The Apigee environment keyvalumaps Id associated with the Apigee environment,
in the format
organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}
. - Value string
- Required. Data or payload that is being retrieved and associated with the unique key.
- Name string
- Required. Resource URI that can be used to identify the scope of the key value map entries.
- Env
Keyvaluemap stringId - The Apigee environment keyvalumaps Id associated with the Apigee environment,
in the format
organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}
. - Value string
- Required. Data or payload that is being retrieved and associated with the unique key.
- Name string
- Required. Resource URI that can be used to identify the scope of the key value map entries.
- env
Keyvaluemap StringId - The Apigee environment keyvalumaps Id associated with the Apigee environment,
in the format
organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}
. - value String
- Required. Data or payload that is being retrieved and associated with the unique key.
- name String
- Required. Resource URI that can be used to identify the scope of the key value map entries.
- env
Keyvaluemap stringId - The Apigee environment keyvalumaps Id associated with the Apigee environment,
in the format
organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}
. - value string
- Required. Data or payload that is being retrieved and associated with the unique key.
- name string
- Required. Resource URI that can be used to identify the scope of the key value map entries.
- env_
keyvaluemap_ strid - The Apigee environment keyvalumaps Id associated with the Apigee environment,
in the format
organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}
. - value str
- Required. Data or payload that is being retrieved and associated with the unique key.
- name str
- Required. Resource URI that can be used to identify the scope of the key value map entries.
- env
Keyvaluemap StringId - The Apigee environment keyvalumaps Id associated with the Apigee environment,
in the format
organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}
. - value String
- Required. Data or payload that is being retrieved and associated with the unique key.
- name String
- Required. Resource URI that can be used to identify the scope of the key value map entries.
Outputs
All input properties are implicitly available as output properties. Additionally, the EnvironmentKeyvaluemapsEntries 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 EnvironmentKeyvaluemapsEntries Resource
Get an existing EnvironmentKeyvaluemapsEntries 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?: EnvironmentKeyvaluemapsEntriesState, opts?: CustomResourceOptions): EnvironmentKeyvaluemapsEntries
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
env_keyvaluemap_id: Optional[str] = None,
name: Optional[str] = None,
value: Optional[str] = None) -> EnvironmentKeyvaluemapsEntries
func GetEnvironmentKeyvaluemapsEntries(ctx *Context, name string, id IDInput, state *EnvironmentKeyvaluemapsEntriesState, opts ...ResourceOption) (*EnvironmentKeyvaluemapsEntries, error)
public static EnvironmentKeyvaluemapsEntries Get(string name, Input<string> id, EnvironmentKeyvaluemapsEntriesState? state, CustomResourceOptions? opts = null)
public static EnvironmentKeyvaluemapsEntries get(String name, Output<String> id, EnvironmentKeyvaluemapsEntriesState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Env
Keyvaluemap stringId - The Apigee environment keyvalumaps Id associated with the Apigee environment,
in the format
organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}
. - Name string
- Required. Resource URI that can be used to identify the scope of the key value map entries.
- Value string
- Required. Data or payload that is being retrieved and associated with the unique key.
- Env
Keyvaluemap stringId - The Apigee environment keyvalumaps Id associated with the Apigee environment,
in the format
organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}
. - Name string
- Required. Resource URI that can be used to identify the scope of the key value map entries.
- Value string
- Required. Data or payload that is being retrieved and associated with the unique key.
- env
Keyvaluemap StringId - The Apigee environment keyvalumaps Id associated with the Apigee environment,
in the format
organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}
. - name String
- Required. Resource URI that can be used to identify the scope of the key value map entries.
- value String
- Required. Data or payload that is being retrieved and associated with the unique key.
- env
Keyvaluemap stringId - The Apigee environment keyvalumaps Id associated with the Apigee environment,
in the format
organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}
. - name string
- Required. Resource URI that can be used to identify the scope of the key value map entries.
- value string
- Required. Data or payload that is being retrieved and associated with the unique key.
- env_
keyvaluemap_ strid - The Apigee environment keyvalumaps Id associated with the Apigee environment,
in the format
organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}
. - name str
- Required. Resource URI that can be used to identify the scope of the key value map entries.
- value str
- Required. Data or payload that is being retrieved and associated with the unique key.
- env
Keyvaluemap StringId - The Apigee environment keyvalumaps Id associated with the Apigee environment,
in the format
organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}
. - name String
- Required. Resource URI that can be used to identify the scope of the key value map entries.
- value String
- Required. Data or payload that is being retrieved and associated with the unique key.
Import
EnvironmentKeyvaluemapsEntries can be imported using any of these accepted formats:
{{env_keyvaluemap_id}}/entries/{{name}}
{{env_keyvaluemap_id}}/{{name}}
When using the pulumi import
command, EnvironmentKeyvaluemapsEntries can be imported using one of the formats above. For example:
$ pulumi import gcp:apigee/environmentKeyvaluemapsEntries:EnvironmentKeyvaluemapsEntries default {{env_keyvaluemap_id}}/entries/{{name}}
$ pulumi import gcp:apigee/environmentKeyvaluemapsEntries:EnvironmentKeyvaluemapsEntries default {{env_keyvaluemap_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.