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 Entry Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Entry(name: string, args: EntryArgs, opts?: CustomResourceOptions);@overload
def Entry(resource_name: str,
args: EntryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Entry(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_id: Optional[str] = None,
keyvaluemap_id: Optional[str] = None,
organization_id: Optional[str] = None,
value: Optional[str] = None,
name: Optional[str] = None)func NewEntry(ctx *Context, name string, args EntryArgs, opts ...ResourceOption) (*Entry, error)public Entry(string name, EntryArgs args, CustomResourceOptions? opts = null)type: google-native:apigee/v1:Entry
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_apigee_v1_entry" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args EntryArgs
- 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 EntryArgs
- 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 EntryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EntryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EntryArgs
- 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 entryResource = new GoogleNative.Apigee.V1.Entry("entryResource", new()
{
ApiId = "string",
KeyvaluemapId = "string",
OrganizationId = "string",
Value = "string",
Name = "string",
});
example, err := apigee.NewEntry(ctx, "entryResource", &apigee.EntryArgs{
ApiId: pulumi.String("string"),
KeyvaluemapId: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
Value: pulumi.String("string"),
Name: pulumi.String("string"),
})
resource "google-native_apigee_v1_entry" "entryResource" {
lifecycle {
create_before_destroy = true
}
api_id = "string"
keyvaluemap_id = "string"
organization_id = "string"
value = "string"
name = "string"
}
var entryResource = new com.pulumi.googlenative.apigee_v1.Entry("entryResource", com.pulumi.googlenative.apigee_v1.EntryArgs.builder()
.apiId("string")
.keyvaluemapId("string")
.organizationId("string")
.value("string")
.name("string")
.build());
entry_resource = google_native.apigee.v1.Entry("entryResource",
api_id="string",
keyvaluemap_id="string",
organization_id="string",
value="string",
name="string")
const entryResource = new google_native.apigee.v1.Entry("entryResource", {
apiId: "string",
keyvaluemapId: "string",
organizationId: "string",
value: "string",
name: "string",
});
type: google-native:apigee/v1:Entry
properties:
apiId: string
keyvaluemapId: string
name: string
organizationId: string
value: string
Entry 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 Entry resource accepts the following input properties:
- Api
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.
- Api
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.
- api_
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.
- api
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.
- api
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.
- api_
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.
- api
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 Entry 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 Entry Resource
Get an existing Entry 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): Entry@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Entryfunc GetEntry(ctx *Context, name string, id IDInput, state *EntryState, opts ...ResourceOption) (*Entry, error)public static Entry Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Entry get(String name, Output<String> id, CustomResourceOptions options)resources: existingEntry: type: google-native:apigee/v1:Entry get: id: ${id}import {
to = google-native_apigee_v1_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 EntryState
- 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