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.
- Instance
Id 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/global
is supported. - Project string
- Config
Config
Args - Config of the Instance.
- Instance
Id 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/global
is supported. - Project string
- config
Config
Args - 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/global
is supported. - project str
- config Property Map
- Config of the Instance.
- instance
Id 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/global
is 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
ACTIVE
state. - Create
Time string - Creation timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the Instance.
- State
Message string - Extra information of Instance.State if the state is
FAILED
. - Update
Time string - Last update timestamp.
- Build
Build
Response - Build info of the Instance if it's in
ACTIVE
state. - Create
Time string - Creation timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the Instance.
- State
Message string - Extra information of Instance.State if the state is
FAILED
. - Update
Time string - Last update timestamp.
- build
Build
Response - Build info of the Instance if it's in
ACTIVE
state. - create
Time String - Creation timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the Instance.
- state
Message String - Extra information of Instance.State if the state is
FAILED
. - update
Time String - Last update timestamp.
- build
Build
Response - Build info of the Instance if it's in
ACTIVE
state. - create
Time string - Creation timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The current state of the Instance.
- state
Message string - Extra information of Instance.State if the state is
FAILED
. - update
Time string - Last update timestamp.
- build
Build
Response - Build info of the Instance if it's in
ACTIVE
state. - 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
ACTIVE
state. - create
Time String - Creation timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the Instance.
- state
Message String - Extra information of Instance.State if the state is
FAILED
. - update
Time String - Last update timestamp.
Supporting Types
BuildResponse, BuildResponseArgs
- Commit
Id string - Commit ID of the latest commit in the build.
- Commit
Time string - Commit time of the latest commit in the build.
- Repo string
- Path of the open source repository: github.com/apigee/registry.
- Commit
Id string - Commit ID of the latest commit in the build.
- Commit
Time string - Commit time of the latest commit in the build.
- Repo string
- Path of the open source repository: github.com/apigee/registry.
- commit
Id String - Commit ID of the latest commit in the build.
- commit
Time String - Commit time of the latest commit in the build.
- repo String
- Path of the open source repository: github.com/apigee/registry.
- commit
Id string - Commit ID of the latest commit in the build.
- commit
Time 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.
- commit
Id String - Commit ID of the latest commit in the build.
- commit
Time String - Commit time of the latest commit in the build.
- repo String
- Path of the open source repository: github.com/apigee/registry.
Config, ConfigArgs
- Cmek
Key stringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must match InstanceConfig.location.
- Cmek
Key stringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must match InstanceConfig.location.
- cmek
Key StringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must match InstanceConfig.location.
- cmek
Key stringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must 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 thelocation
must match InstanceConfig.location.
- cmek
Key StringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must match InstanceConfig.location.
ConfigResponse, ConfigResponseArgs
- Cmek
Key stringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must match InstanceConfig.location. - Location string
- The GCP location where the Instance resides.
- Cmek
Key stringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must match InstanceConfig.location. - Location string
- The GCP location where the Instance resides.
- cmek
Key StringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must match InstanceConfig.location. - location String
- The GCP location where the Instance resides.
- cmek
Key stringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must 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 thelocation
must match InstanceConfig.location. - location str
- The GCP location where the Instance resides.
- cmek
Key StringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must 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.