This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
Creates key value entries in a key value map scoped to an organization, environment, or API proxy. Note: Supported for Apigee hybrid 1.8.x and higher.
Create EnvironmentEntry Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnvironmentEntry(name: string, args: EnvironmentEntryArgs, opts?: CustomResourceOptions);@overload
def EnvironmentEntry(resource_name: str,
args: EnvironmentEntryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnvironmentEntry(resource_name: str,
opts: Optional[ResourceOptions] = None,
environment_id: Optional[str] = None,
keyvaluemap_id: Optional[str] = None,
organization_id: Optional[str] = None,
value: Optional[str] = None,
name: Optional[str] = None)func NewEnvironmentEntry(ctx *Context, name string, args EnvironmentEntryArgs, opts ...ResourceOption) (*EnvironmentEntry, error)public EnvironmentEntry(string name, EnvironmentEntryArgs args, CustomResourceOptions? opts = null)
public EnvironmentEntry(String name, EnvironmentEntryArgs args)
public EnvironmentEntry(String name, EnvironmentEntryArgs args, CustomResourceOptions options)
type: google-native:apigee/v1:EnvironmentEntry
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_apigee_v1_environment_entry" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args EnvironmentEntryArgs
- 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 EnvironmentEntryArgs
- 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 EnvironmentEntryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnvironmentEntryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnvironmentEntryArgs
- 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 environmentEntryResource = new GoogleNative.Apigee.V1.EnvironmentEntry("environmentEntryResource", new()
{
EnvironmentId = "string",
KeyvaluemapId = "string",
OrganizationId = "string",
Value = "string",
Name = "string",
});
example, err := apigee.NewEnvironmentEntry(ctx, "environmentEntryResource", &apigee.EnvironmentEntryArgs{
EnvironmentId: pulumi.String("string"),
KeyvaluemapId: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
Value: pulumi.String("string"),
Name: pulumi.String("string"),
})
resource "google-native_apigee_v1_environment_entry" "environmentEntryResource" {
lifecycle {
create_before_destroy = true
}
environment_id = "string"
keyvaluemap_id = "string"
organization_id = "string"
value = "string"
name = "string"
}
var environmentEntryResource = new EnvironmentEntry("environmentEntryResource", EnvironmentEntryArgs.builder()
.environmentId("string")
.keyvaluemapId("string")
.organizationId("string")
.value("string")
.name("string")
.build());
environment_entry_resource = google_native.apigee.v1.EnvironmentEntry("environmentEntryResource",
environment_id="string",
keyvaluemap_id="string",
organization_id="string",
value="string",
name="string")
const environmentEntryResource = new google_native.apigee.v1.EnvironmentEntry("environmentEntryResource", {
environmentId: "string",
keyvaluemapId: "string",
organizationId: "string",
value: "string",
name: "string",
});
type: google-native:apigee/v1:EnvironmentEntry
properties:
environmentId: string
keyvaluemapId: string
name: string
organizationId: string
value: string
EnvironmentEntry 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 EnvironmentEntry resource accepts the following input properties:
- Environment
Id string - Keyvaluemap
Id string - Organization
Id string - Value string
- Data or payload that is being retrieved and associated with the unique key.
- Name string
- Resource URI that can be used to identify the scope of the key value map entries.
- Environment
Id string - Keyvaluemap
Id string - Organization
Id string - Value string
- Data or payload that is being retrieved and associated with the unique key.
- Name string
- Resource URI that can be used to identify the scope of the key value map entries.
- environment_
id string - keyvaluemap_
id string - organization_
id string - value string
- Data or payload that is being retrieved and associated with the unique key.
- name string
- Resource URI that can be used to identify the scope of the key value map entries.
- environment
Id String - keyvaluemap
Id String - organization
Id String - value String
- Data or payload that is being retrieved and associated with the unique key.
- name String
- Resource URI that can be used to identify the scope of the key value map entries.
- environment
Id string - keyvaluemap
Id string - organization
Id string - value string
- Data or payload that is being retrieved and associated with the unique key.
- name string
- Resource URI that can be used to identify the scope of the key value map entries.
- environment_
id str - keyvaluemap_
id str - organization_
id str - value str
- Data or payload that is being retrieved and associated with the unique key.
- name str
- Resource URI that can be used to identify the scope of the key value map entries.
- environment
Id String - keyvaluemap
Id String - organization
Id String - value String
- Data or payload that is being retrieved and associated with the unique key.
- name String
- 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 EnvironmentEntry 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 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 EnvironmentEntry Resource
Get an existing EnvironmentEntry 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>, opts?: CustomResourceOptions): EnvironmentEntry@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> EnvironmentEntryfunc GetEnvironmentEntry(ctx *Context, name string, id IDInput, state *EnvironmentEntryState, opts ...ResourceOption) (*EnvironmentEntry, error)public static EnvironmentEntry Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static EnvironmentEntry get(String name, Output<String> id, CustomResourceOptions options)resources: existingEnvironmentEntry: type: google-native:apigee/v1:EnvironmentEntry get: id: ${id}import {
to = google-native_apigee_v1_environment_entry.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state EnvironmentEntryState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi