Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.Instance
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates an Apigee runtime instance. The instance is accessible from the authorized network configured on the organization. Note: Not supported for Apigee hybrid.
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,
organization_id: Optional[str] = None,
consumer_accept_list: Optional[Sequence[str]] = None,
description: Optional[str] = None,
disk_encryption_key_name: Optional[str] = None,
display_name: Optional[str] = None,
ip_range: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
peering_cidr_range: Optional[InstancePeeringCidrRange] = 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:apigee/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 exampleinstanceResourceResourceFromApigeev1 = new GoogleNative.Apigee.V1.Instance("exampleinstanceResourceResourceFromApigeev1", new()
{
OrganizationId = "string",
ConsumerAcceptList = new[]
{
"string",
},
Description = "string",
DiskEncryptionKeyName = "string",
DisplayName = "string",
IpRange = "string",
Location = "string",
Name = "string",
PeeringCidrRange = GoogleNative.Apigee.V1.InstancePeeringCidrRange.CidrRangeUnspecified,
});
example, err := apigee.NewInstance(ctx, "exampleinstanceResourceResourceFromApigeev1", &apigee.InstanceArgs{
OrganizationId: pulumi.String("string"),
ConsumerAcceptList: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
DiskEncryptionKeyName: pulumi.String("string"),
DisplayName: pulumi.String("string"),
IpRange: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
PeeringCidrRange: apigee.InstancePeeringCidrRangeCidrRangeUnspecified,
})
var exampleinstanceResourceResourceFromApigeev1 = new Instance("exampleinstanceResourceResourceFromApigeev1", InstanceArgs.builder()
.organizationId("string")
.consumerAcceptList("string")
.description("string")
.diskEncryptionKeyName("string")
.displayName("string")
.ipRange("string")
.location("string")
.name("string")
.peeringCidrRange("CIDR_RANGE_UNSPECIFIED")
.build());
exampleinstance_resource_resource_from_apigeev1 = google_native.apigee.v1.Instance("exampleinstanceResourceResourceFromApigeev1",
organization_id="string",
consumer_accept_list=["string"],
description="string",
disk_encryption_key_name="string",
display_name="string",
ip_range="string",
location="string",
name="string",
peering_cidr_range=google_native.apigee.v1.InstancePeeringCidrRange.CIDR_RANGE_UNSPECIFIED)
const exampleinstanceResourceResourceFromApigeev1 = new google_native.apigee.v1.Instance("exampleinstanceResourceResourceFromApigeev1", {
organizationId: "string",
consumerAcceptList: ["string"],
description: "string",
diskEncryptionKeyName: "string",
displayName: "string",
ipRange: "string",
location: "string",
name: "string",
peeringCidrRange: google_native.apigee.v1.InstancePeeringCidrRange.CidrRangeUnspecified,
});
type: google-native:apigee/v1:Instance
properties:
consumerAcceptList:
- string
description: string
diskEncryptionKeyName: string
displayName: string
ipRange: string
location: string
name: string
organizationId: string
peeringCidrRange: CIDR_RANGE_UNSPECIFIED
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:
- Organization
Id string - Consumer
Accept List<string>List - Optional. Customer accept list represents the list of projects (id/number) on customer side that can privately connect to the service attachment. It is an optional field which the customers can provide during the instance creation. By default, the customer project associated with the Apigee organization will be included to the list.
- Description string
- Optional. Description of the instance.
- Disk
Encryption stringKey Name - Customer Managed Encryption Key (CMEK) used for disk and volume encryption. Required for Apigee paid subscriptions only. Use the following format:
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
- Display
Name string - Optional. Display name for the instance.
- Ip
Range string - Optional. Comma-separated list of CIDR blocks of length 22 and/or 28 used to create the Apigee instance. Providing CIDR ranges is optional. You can provide just /22 or /28 or both (or neither). Ranges you provide should be freely available as part of a larger named range you have allocated to the Service Networking peering. If this parameter is not provided, Apigee automatically requests an available /22 and /28 CIDR block from Service Networking. Use the /22 CIDR block for configuring your firewall needs to allow traffic from Apigee. Input formats:
a.b.c.d/22
ore.f.g.h/28
ora.b.c.d/22,e.f.g.h/28
- Location string
- Compute Engine location where the instance resides.
- Name string
- Resource ID of the instance. Values must match the regular expression
^a-z{0,30}[a-z\d]$
. - Peering
Cidr Pulumi.Range Google Native. Apigee. V1. Instance Peering Cidr Range - Optional. Size of the CIDR block range that will be reserved by the instance. PAID organizations support
SLASH_16
toSLASH_20
and defaults toSLASH_16
. Evaluation organizations support onlySLASH_23
.
- Organization
Id string - Consumer
Accept []stringList - Optional. Customer accept list represents the list of projects (id/number) on customer side that can privately connect to the service attachment. It is an optional field which the customers can provide during the instance creation. By default, the customer project associated with the Apigee organization will be included to the list.
- Description string
- Optional. Description of the instance.
- Disk
Encryption stringKey Name - Customer Managed Encryption Key (CMEK) used for disk and volume encryption. Required for Apigee paid subscriptions only. Use the following format:
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
- Display
Name string - Optional. Display name for the instance.
- Ip
Range string - Optional. Comma-separated list of CIDR blocks of length 22 and/or 28 used to create the Apigee instance. Providing CIDR ranges is optional. You can provide just /22 or /28 or both (or neither). Ranges you provide should be freely available as part of a larger named range you have allocated to the Service Networking peering. If this parameter is not provided, Apigee automatically requests an available /22 and /28 CIDR block from Service Networking. Use the /22 CIDR block for configuring your firewall needs to allow traffic from Apigee. Input formats:
a.b.c.d/22
ore.f.g.h/28
ora.b.c.d/22,e.f.g.h/28
- Location string
- Compute Engine location where the instance resides.
- Name string
- Resource ID of the instance. Values must match the regular expression
^a-z{0,30}[a-z\d]$
. - Peering
Cidr InstanceRange Peering Cidr Range - Optional. Size of the CIDR block range that will be reserved by the instance. PAID organizations support
SLASH_16
toSLASH_20
and defaults toSLASH_16
. Evaluation organizations support onlySLASH_23
.
- organization
Id String - consumer
Accept List<String>List - Optional. Customer accept list represents the list of projects (id/number) on customer side that can privately connect to the service attachment. It is an optional field which the customers can provide during the instance creation. By default, the customer project associated with the Apigee organization will be included to the list.
- description String
- Optional. Description of the instance.
- disk
Encryption StringKey Name - Customer Managed Encryption Key (CMEK) used for disk and volume encryption. Required for Apigee paid subscriptions only. Use the following format:
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
- display
Name String - Optional. Display name for the instance.
- ip
Range String - Optional. Comma-separated list of CIDR blocks of length 22 and/or 28 used to create the Apigee instance. Providing CIDR ranges is optional. You can provide just /22 or /28 or both (or neither). Ranges you provide should be freely available as part of a larger named range you have allocated to the Service Networking peering. If this parameter is not provided, Apigee automatically requests an available /22 and /28 CIDR block from Service Networking. Use the /22 CIDR block for configuring your firewall needs to allow traffic from Apigee. Input formats:
a.b.c.d/22
ore.f.g.h/28
ora.b.c.d/22,e.f.g.h/28
- location String
- Compute Engine location where the instance resides.
- name String
- Resource ID of the instance. Values must match the regular expression
^a-z{0,30}[a-z\d]$
. - peering
Cidr InstanceRange Peering Cidr Range - Optional. Size of the CIDR block range that will be reserved by the instance. PAID organizations support
SLASH_16
toSLASH_20
and defaults toSLASH_16
. Evaluation organizations support onlySLASH_23
.
- organization
Id string - consumer
Accept string[]List - Optional. Customer accept list represents the list of projects (id/number) on customer side that can privately connect to the service attachment. It is an optional field which the customers can provide during the instance creation. By default, the customer project associated with the Apigee organization will be included to the list.
- description string
- Optional. Description of the instance.
- disk
Encryption stringKey Name - Customer Managed Encryption Key (CMEK) used for disk and volume encryption. Required for Apigee paid subscriptions only. Use the following format:
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
- display
Name string - Optional. Display name for the instance.
- ip
Range string - Optional. Comma-separated list of CIDR blocks of length 22 and/or 28 used to create the Apigee instance. Providing CIDR ranges is optional. You can provide just /22 or /28 or both (or neither). Ranges you provide should be freely available as part of a larger named range you have allocated to the Service Networking peering. If this parameter is not provided, Apigee automatically requests an available /22 and /28 CIDR block from Service Networking. Use the /22 CIDR block for configuring your firewall needs to allow traffic from Apigee. Input formats:
a.b.c.d/22
ore.f.g.h/28
ora.b.c.d/22,e.f.g.h/28
- location string
- Compute Engine location where the instance resides.
- name string
- Resource ID of the instance. Values must match the regular expression
^a-z{0,30}[a-z\d]$
. - peering
Cidr InstanceRange Peering Cidr Range - Optional. Size of the CIDR block range that will be reserved by the instance. PAID organizations support
SLASH_16
toSLASH_20
and defaults toSLASH_16
. Evaluation organizations support onlySLASH_23
.
- organization_
id str - consumer_
accept_ Sequence[str]list - Optional. Customer accept list represents the list of projects (id/number) on customer side that can privately connect to the service attachment. It is an optional field which the customers can provide during the instance creation. By default, the customer project associated with the Apigee organization will be included to the list.
- description str
- Optional. Description of the instance.
- disk_
encryption_ strkey_ name - Customer Managed Encryption Key (CMEK) used for disk and volume encryption. Required for Apigee paid subscriptions only. Use the following format:
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
- display_
name str - Optional. Display name for the instance.
- ip_
range str - Optional. Comma-separated list of CIDR blocks of length 22 and/or 28 used to create the Apigee instance. Providing CIDR ranges is optional. You can provide just /22 or /28 or both (or neither). Ranges you provide should be freely available as part of a larger named range you have allocated to the Service Networking peering. If this parameter is not provided, Apigee automatically requests an available /22 and /28 CIDR block from Service Networking. Use the /22 CIDR block for configuring your firewall needs to allow traffic from Apigee. Input formats:
a.b.c.d/22
ore.f.g.h/28
ora.b.c.d/22,e.f.g.h/28
- location str
- Compute Engine location where the instance resides.
- name str
- Resource ID of the instance. Values must match the regular expression
^a-z{0,30}[a-z\d]$
. - peering_
cidr_ Instancerange Peering Cidr Range - Optional. Size of the CIDR block range that will be reserved by the instance. PAID organizations support
SLASH_16
toSLASH_20
and defaults toSLASH_16
. Evaluation organizations support onlySLASH_23
.
- organization
Id String - consumer
Accept List<String>List - Optional. Customer accept list represents the list of projects (id/number) on customer side that can privately connect to the service attachment. It is an optional field which the customers can provide during the instance creation. By default, the customer project associated with the Apigee organization will be included to the list.
- description String
- Optional. Description of the instance.
- disk
Encryption StringKey Name - Customer Managed Encryption Key (CMEK) used for disk and volume encryption. Required for Apigee paid subscriptions only. Use the following format:
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
- display
Name String - Optional. Display name for the instance.
- ip
Range String - Optional. Comma-separated list of CIDR blocks of length 22 and/or 28 used to create the Apigee instance. Providing CIDR ranges is optional. You can provide just /22 or /28 or both (or neither). Ranges you provide should be freely available as part of a larger named range you have allocated to the Service Networking peering. If this parameter is not provided, Apigee automatically requests an available /22 and /28 CIDR block from Service Networking. Use the /22 CIDR block for configuring your firewall needs to allow traffic from Apigee. Input formats:
a.b.c.d/22
ore.f.g.h/28
ora.b.c.d/22,e.f.g.h/28
- location String
- Compute Engine location where the instance resides.
- name String
- Resource ID of the instance. Values must match the regular expression
^a-z{0,30}[a-z\d]$
. - peering
Cidr "CIDR_RANGE_UNSPECIFIED" | "SLASH_16" | "SLASH_17" | "SLASH_18" | "SLASH_19" | "SLASH_20" | "SLASH_22" | "SLASH_23"Range - Optional. Size of the CIDR block range that will be reserved by the instance. PAID organizations support
SLASH_16
toSLASH_20
and defaults toSLASH_16
. Evaluation organizations support onlySLASH_23
.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Created
At string - Time the instance was created in milliseconds since epoch.
- Host string
- Internal hostname or IP address of the Apigee endpoint used by clients to connect to the service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - Time the instance was last modified in milliseconds since epoch.
- Port string
- Port number of the exposed Apigee endpoint.
- Runtime
Version string - Version of the runtime system running in the instance. The runtime system is the set of components that serve the API Proxy traffic in your Environments.
- Service
Attachment string - Resource name of the service attachment created for the instance in the format:
projects/*/regions/*/serviceAttachments/*
Apigee customers can privately forward traffic to this service attachment using the PSC endpoints. - State string
- State of the instance. Values other than
ACTIVE
means the resource is not ready to use.
- Created
At string - Time the instance was created in milliseconds since epoch.
- Host string
- Internal hostname or IP address of the Apigee endpoint used by clients to connect to the service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - Time the instance was last modified in milliseconds since epoch.
- Port string
- Port number of the exposed Apigee endpoint.
- Runtime
Version string - Version of the runtime system running in the instance. The runtime system is the set of components that serve the API Proxy traffic in your Environments.
- Service
Attachment string - Resource name of the service attachment created for the instance in the format:
projects/*/regions/*/serviceAttachments/*
Apigee customers can privately forward traffic to this service attachment using the PSC endpoints. - State string
- State of the instance. Values other than
ACTIVE
means the resource is not ready to use.
- created
At String - Time the instance was created in milliseconds since epoch.
- host String
- Internal hostname or IP address of the Apigee endpoint used by clients to connect to the service.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - Time the instance was last modified in milliseconds since epoch.
- port String
- Port number of the exposed Apigee endpoint.
- runtime
Version String - Version of the runtime system running in the instance. The runtime system is the set of components that serve the API Proxy traffic in your Environments.
- service
Attachment String - Resource name of the service attachment created for the instance in the format:
projects/*/regions/*/serviceAttachments/*
Apigee customers can privately forward traffic to this service attachment using the PSC endpoints. - state String
- State of the instance. Values other than
ACTIVE
means the resource is not ready to use.
- created
At string - Time the instance was created in milliseconds since epoch.
- host string
- Internal hostname or IP address of the Apigee endpoint used by clients to connect to the service.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringAt - Time the instance was last modified in milliseconds since epoch.
- port string
- Port number of the exposed Apigee endpoint.
- runtime
Version string - Version of the runtime system running in the instance. The runtime system is the set of components that serve the API Proxy traffic in your Environments.
- service
Attachment string - Resource name of the service attachment created for the instance in the format:
projects/*/regions/*/serviceAttachments/*
Apigee customers can privately forward traffic to this service attachment using the PSC endpoints. - state string
- State of the instance. Values other than
ACTIVE
means the resource is not ready to use.
- created_
at str - Time the instance was created in milliseconds since epoch.
- host str
- Internal hostname or IP address of the Apigee endpoint used by clients to connect to the service.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strat - Time the instance was last modified in milliseconds since epoch.
- port str
- Port number of the exposed Apigee endpoint.
- runtime_
version str - Version of the runtime system running in the instance. The runtime system is the set of components that serve the API Proxy traffic in your Environments.
- service_
attachment str - Resource name of the service attachment created for the instance in the format:
projects/*/regions/*/serviceAttachments/*
Apigee customers can privately forward traffic to this service attachment using the PSC endpoints. - state str
- State of the instance. Values other than
ACTIVE
means the resource is not ready to use.
- created
At String - Time the instance was created in milliseconds since epoch.
- host String
- Internal hostname or IP address of the Apigee endpoint used by clients to connect to the service.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - Time the instance was last modified in milliseconds since epoch.
- port String
- Port number of the exposed Apigee endpoint.
- runtime
Version String - Version of the runtime system running in the instance. The runtime system is the set of components that serve the API Proxy traffic in your Environments.
- service
Attachment String - Resource name of the service attachment created for the instance in the format:
projects/*/regions/*/serviceAttachments/*
Apigee customers can privately forward traffic to this service attachment using the PSC endpoints. - state String
- State of the instance. Values other than
ACTIVE
means the resource is not ready to use.
Supporting Types
InstancePeeringCidrRange, InstancePeeringCidrRangeArgs
- Cidr
Range Unspecified - CIDR_RANGE_UNSPECIFIEDRange not specified.
- Slash16
- SLASH_16
/16
CIDR range. - Slash17
- SLASH_17
/17
CIDR range. - Slash18
- SLASH_18
/18
CIDR range. - Slash19
- SLASH_19
/19
CIDR range. - Slash20
- SLASH_20
/20
CIDR range. - Slash22
- SLASH_22
/22
CIDR range. Supported for evaluation only. - Slash23
- SLASH_23
/23
CIDR range. Supported for evaluation only.
- Instance
Peering Cidr Range Cidr Range Unspecified - CIDR_RANGE_UNSPECIFIEDRange not specified.
- Instance
Peering Cidr Range Slash16 - SLASH_16
/16
CIDR range. - Instance
Peering Cidr Range Slash17 - SLASH_17
/17
CIDR range. - Instance
Peering Cidr Range Slash18 - SLASH_18
/18
CIDR range. - Instance
Peering Cidr Range Slash19 - SLASH_19
/19
CIDR range. - Instance
Peering Cidr Range Slash20 - SLASH_20
/20
CIDR range. - Instance
Peering Cidr Range Slash22 - SLASH_22
/22
CIDR range. Supported for evaluation only. - Instance
Peering Cidr Range Slash23 - SLASH_23
/23
CIDR range. Supported for evaluation only.
- Cidr
Range Unspecified - CIDR_RANGE_UNSPECIFIEDRange not specified.
- Slash16
- SLASH_16
/16
CIDR range. - Slash17
- SLASH_17
/17
CIDR range. - Slash18
- SLASH_18
/18
CIDR range. - Slash19
- SLASH_19
/19
CIDR range. - Slash20
- SLASH_20
/20
CIDR range. - Slash22
- SLASH_22
/22
CIDR range. Supported for evaluation only. - Slash23
- SLASH_23
/23
CIDR range. Supported for evaluation only.
- Cidr
Range Unspecified - CIDR_RANGE_UNSPECIFIEDRange not specified.
- Slash16
- SLASH_16
/16
CIDR range. - Slash17
- SLASH_17
/17
CIDR range. - Slash18
- SLASH_18
/18
CIDR range. - Slash19
- SLASH_19
/19
CIDR range. - Slash20
- SLASH_20
/20
CIDR range. - Slash22
- SLASH_22
/22
CIDR range. Supported for evaluation only. - Slash23
- SLASH_23
/23
CIDR range. Supported for evaluation only.
- CIDR_RANGE_UNSPECIFIED
- CIDR_RANGE_UNSPECIFIEDRange not specified.
- SLASH16
- SLASH_16
/16
CIDR range. - SLASH17
- SLASH_17
/17
CIDR range. - SLASH18
- SLASH_18
/18
CIDR range. - SLASH19
- SLASH_19
/19
CIDR range. - SLASH20
- SLASH_20
/20
CIDR range. - SLASH22
- SLASH_22
/22
CIDR range. Supported for evaluation only. - SLASH23
- SLASH_23
/23
CIDR range. Supported for evaluation only.
- "CIDR_RANGE_UNSPECIFIED"
- CIDR_RANGE_UNSPECIFIEDRange not specified.
- "SLASH_16"
- SLASH_16
/16
CIDR range. - "SLASH_17"
- SLASH_17
/17
CIDR range. - "SLASH_18"
- SLASH_18
/18
CIDR range. - "SLASH_19"
- SLASH_19
/19
CIDR range. - "SLASH_20"
- SLASH_20
/20
CIDR range. - "SLASH_22"
- SLASH_22
/22
CIDR range. Supported for evaluation only. - "SLASH_23"
- SLASH_23
/23
CIDR range. Supported for evaluation only.
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.