gcp.apigee.EnvKeystore
Explore with Pulumi AI
An Environment KeyStore
in Apigee.
To get more information about EnvKeystore, see:
- API documentation
- How-to Guides
Create EnvKeystore Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnvKeystore(name: string, args: EnvKeystoreArgs, opts?: CustomResourceOptions);
@overload
def EnvKeystore(resource_name: str,
args: EnvKeystoreArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnvKeystore(resource_name: str,
opts: Optional[ResourceOptions] = None,
env_id: Optional[str] = None,
name: Optional[str] = None)
func NewEnvKeystore(ctx *Context, name string, args EnvKeystoreArgs, opts ...ResourceOption) (*EnvKeystore, error)
public EnvKeystore(string name, EnvKeystoreArgs args, CustomResourceOptions? opts = null)
public EnvKeystore(String name, EnvKeystoreArgs args)
public EnvKeystore(String name, EnvKeystoreArgs args, CustomResourceOptions options)
type: gcp:apigee:EnvKeystore
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 EnvKeystoreArgs
- 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 EnvKeystoreArgs
- 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 EnvKeystoreArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnvKeystoreArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnvKeystoreArgs
- 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 envKeystoreResource = new Gcp.Apigee.EnvKeystore("envKeystoreResource", new()
{
EnvId = "string",
Name = "string",
});
example, err := apigee.NewEnvKeystore(ctx, "envKeystoreResource", &apigee.EnvKeystoreArgs{
EnvId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var envKeystoreResource = new EnvKeystore("envKeystoreResource", EnvKeystoreArgs.builder()
.envId("string")
.name("string")
.build());
env_keystore_resource = gcp.apigee.EnvKeystore("envKeystoreResource",
env_id="string",
name="string")
const envKeystoreResource = new gcp.apigee.EnvKeystore("envKeystoreResource", {
envId: "string",
name: "string",
});
type: gcp:apigee:EnvKeystore
properties:
envId: string
name: string
EnvKeystore Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The EnvKeystore resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the EnvKeystore resource produces the following output properties:
Look up Existing EnvKeystore Resource
Get an existing EnvKeystore 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?: EnvKeystoreState, opts?: CustomResourceOptions): EnvKeystore
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aliases: Optional[Sequence[str]] = None,
env_id: Optional[str] = None,
name: Optional[str] = None) -> EnvKeystore
func GetEnvKeystore(ctx *Context, name string, id IDInput, state *EnvKeystoreState, opts ...ResourceOption) (*EnvKeystore, error)
public static EnvKeystore Get(string name, Input<string> id, EnvKeystoreState? state, CustomResourceOptions? opts = null)
public static EnvKeystore get(String name, Output<String> id, EnvKeystoreState 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.
Import
EnvKeystore can be imported using any of these accepted formats:
{{env_id}}/keystores/{{name}}
{{env_id}}/{{name}}
When using the pulumi import
command, EnvKeystore can be imported using one of the formats above. For example:
$ pulumi import gcp:apigee/envKeystore:EnvKeystore default {{env_id}}/keystores/{{name}}
$ pulumi import gcp:apigee/envKeystore:EnvKeystore 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.