Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigeeregistry/v1.Instance
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Provisions instance resources for the Registry. Auto-naming is currently not supported for this resource.
Create Instance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);@overload
def Instance(resource_name: str,
             args: InstanceArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Instance(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             config: Optional[ConfigArgs] = None,
             instance_id: Optional[str] = None,
             location: Optional[str] = None,
             name: Optional[str] = None,
             project: Optional[str] = None)func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: google-native:apigeeregistry/v1:Instance
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 InstanceArgs
- 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 InstanceArgs
- 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 InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- 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 exampleinstanceResourceResourceFromApigeeregistryv1 = new GoogleNative.ApigeeRegistry.V1.Instance("exampleinstanceResourceResourceFromApigeeregistryv1", new()
{
    Config = new GoogleNative.ApigeeRegistry.V1.Inputs.ConfigArgs
    {
        CmekKeyName = "string",
    },
    InstanceId = "string",
    Location = "string",
    Name = "string",
    Project = "string",
});
example, err := apigeeregistry.NewInstance(ctx, "exampleinstanceResourceResourceFromApigeeregistryv1", &apigeeregistry.InstanceArgs{
	Config: &apigeeregistry.ConfigArgs{
		CmekKeyName: pulumi.String("string"),
	},
	InstanceId: pulumi.String("string"),
	Location:   pulumi.String("string"),
	Name:       pulumi.String("string"),
	Project:    pulumi.String("string"),
})
var exampleinstanceResourceResourceFromApigeeregistryv1 = new Instance("exampleinstanceResourceResourceFromApigeeregistryv1", InstanceArgs.builder()
    .config(ConfigArgs.builder()
        .cmekKeyName("string")
        .build())
    .instanceId("string")
    .location("string")
    .name("string")
    .project("string")
    .build());
exampleinstance_resource_resource_from_apigeeregistryv1 = google_native.apigeeregistry.v1.Instance("exampleinstanceResourceResourceFromApigeeregistryv1",
    config={
        "cmek_key_name": "string",
    },
    instance_id="string",
    location="string",
    name="string",
    project="string")
const exampleinstanceResourceResourceFromApigeeregistryv1 = new google_native.apigeeregistry.v1.Instance("exampleinstanceResourceResourceFromApigeeregistryv1", {
    config: {
        cmekKeyName: "string",
    },
    instanceId: "string",
    location: "string",
    name: "string",
    project: "string",
});
type: google-native:apigeeregistry/v1:Instance
properties:
    config:
        cmekKeyName: string
    instanceId: string
    location: string
    name: string
    project: string
Instance 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 Instance resource accepts the following input properties:
- Config
Pulumi.Google Native. Apigee Registry. V1. Inputs. Config 
- Config of the Instance.
- InstanceId string
- Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource.
- Location string
- Name string
- Format: projects/*/locations/*/instance. Currently onlylocations/globalis supported.
- Project string
- Config
ConfigArgs 
- Config of the Instance.
- InstanceId string
- Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource.
- Location string
- Name string
- Format: projects/*/locations/*/instance. Currently onlylocations/globalis supported.
- Project string
- config
ConfigArgs 
- Config of the Instance.
- instance_id str
- Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource.
- location str
- name str
- Format: projects/*/locations/*/instance. Currently onlylocations/globalis supported.
- project str
- config Property Map
- Config of the Instance.
- instanceId String
- Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource.
- location String
- name String
- Format: projects/*/locations/*/instance. Currently onlylocations/globalis supported.
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Build
Pulumi.Google Native. Apigee Registry. V1. Outputs. Build Response 
- Build info of the Instance if it's in ACTIVEstate.
- CreateTime string
- Creation timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the Instance.
- StateMessage string
- Extra information of Instance.State if the state is FAILED.
- UpdateTime string
- Last update timestamp.
- Build
BuildResponse 
- Build info of the Instance if it's in ACTIVEstate.
- CreateTime string
- Creation timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the Instance.
- StateMessage string
- Extra information of Instance.State if the state is FAILED.
- UpdateTime string
- Last update timestamp.
- build
BuildResponse 
- Build info of the Instance if it's in ACTIVEstate.
- createTime String
- Creation timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the Instance.
- stateMessage String
- Extra information of Instance.State if the state is FAILED.
- updateTime String
- Last update timestamp.
- build
BuildResponse 
- Build info of the Instance if it's in ACTIVEstate.
- createTime string
- Creation timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The current state of the Instance.
- stateMessage string
- Extra information of Instance.State if the state is FAILED.
- updateTime string
- Last update timestamp.
- build
BuildResponse 
- Build info of the Instance if it's in ACTIVEstate.
- create_time str
- Creation timestamp.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- The current state of the Instance.
- state_message str
- Extra information of Instance.State if the state is FAILED.
- update_time str
- Last update timestamp.
- build Property Map
- Build info of the Instance if it's in ACTIVEstate.
- createTime String
- Creation timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the Instance.
- stateMessage String
- Extra information of Instance.State if the state is FAILED.
- updateTime String
- Last update timestamp.
Supporting Types
BuildResponse, BuildResponseArgs    
- CommitId string
- Commit ID of the latest commit in the build.
- CommitTime string
- Commit time of the latest commit in the build.
- Repo string
- Path of the open source repository: github.com/apigee/registry.
- CommitId string
- Commit ID of the latest commit in the build.
- CommitTime string
- Commit time of the latest commit in the build.
- Repo string
- Path of the open source repository: github.com/apigee/registry.
- commitId String
- Commit ID of the latest commit in the build.
- commitTime String
- Commit time of the latest commit in the build.
- repo String
- Path of the open source repository: github.com/apigee/registry.
- commitId string
- Commit ID of the latest commit in the build.
- commitTime string
- Commit time of the latest commit in the build.
- repo string
- Path of the open source repository: github.com/apigee/registry.
- commit_id str
- Commit ID of the latest commit in the build.
- commit_time str
- Commit time of the latest commit in the build.
- repo str
- Path of the open source repository: github.com/apigee/registry.
- commitId String
- Commit ID of the latest commit in the build.
- commitTime String
- Commit time of the latest commit in the build.
- repo String
- Path of the open source repository: github.com/apigee/registry.
Config, ConfigArgs  
- CmekKey stringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- CmekKey stringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- cmekKey StringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- cmekKey stringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- cmek_key_ strname 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- cmekKey StringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
ConfigResponse, ConfigResponseArgs    
- CmekKey stringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- Location string
- The GCP location where the Instance resides.
- CmekKey stringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- Location string
- The GCP location where the Instance resides.
- cmekKey StringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- location String
- The GCP location where the Instance resides.
- cmekKey stringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- location string
- The GCP location where the Instance resides.
- cmek_key_ strname 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- location str
- The GCP location where the Instance resides.
- cmekKey StringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- location String
- The GCP location where the Instance resides.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.