ConnectorArgs class
The set of arguments for Connector. The set of arguments for Connector.
Constructors
-
ConnectorArgs({Input<
String?> ? deletionPolicy, Input<String?> ? ipCidrRange, Input<String?> ? machineType, Input<int?> ? maxInstances, Input<int?> ? maxThroughput, Input<int?> ? minInstances, Input<int?> ? minThroughput, Input<String?> ? name, Input<String?> ? network, Input<String?> ? project, Input<String?> ? region, Input<ConnectorSubnet?> ? subnet}) -
Creates a new ConnectorArgs.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.ipCidrRangeThe range of internal addresses that follows RFC 4632 notation. Example:10.132.0.0/28.machineTypeMachine type of VM Instance underlying connector. Default is e2-micromaxInstancesMaximum value of instances in autoscaling group underlying the connector. Value must be between 3 and 10, inclusive. Must bemaxThroughputMaximum throughput of the connector in Mbps, must be greater thanminThroughput. Default is 300. Refers to the expected throughputminInstancesMinimum value of instances in autoscaling group underlying the connector. Value must be between 2 and 9, inclusive. Must beminThroughputMinimum throughput of the connector in Mbps. Default and min is 200. Refers to the expected throughput when using an e2-micro machine type.nameThe name of the resource (Max 25 characters).networkName or selfLink of the VPC network. Required ifipCidrRangeis set.projectThe ID of the project in which the resource belongs.regionRegion where the VPC Access connector resides. If it is not provided, the provider region is used.subnetThe subnet in which to house the connectorconst -
ConnectorArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ipCidrRange
→ Input<
String?> ? -
The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28.final -
machineType
→ Input<
String?> ? -
Machine type of VM Instance underlying connector. Default is e2-micro
final
-
maxInstances
→ Input<
int?> ? -
Maximum value of instances in autoscaling group underlying the connector. Value must be between 3 and 10, inclusive. Must be
higher than the value specified by min_instances. Required alongside
minInstancesif not usingminThroughput/maxThroughput.final -
maxThroughput
→ Input<
int?> ? -
Maximum throughput of the connector in Mbps, must be greater than
minThroughput. Default is 300. Refers to the expected throughput when using an e2-micro machine type. Value must be a multiple of 100 from 300 through 1000. Must be higher than the value specified by min_throughput. Only one ofmaxThroughputandmaxInstancescan be specified. The use of maxThroughput is discouraged in favor of max_instances.final -
minInstances
→ Input<
int?> ? -
Minimum value of instances in autoscaling group underlying the connector. Value must be between 2 and 9, inclusive. Must be
lower than the value specified by max_instances. Required alongside
maxInstancesif not usingminThroughput/maxThroughput.final -
minThroughput
→ Input<
int?> ? -
Minimum throughput of the connector in Mbps. Default and min is 200. Refers to the expected throughput when using an e2-micro machine type.
Value must be a multiple of 100 from 200 through 900. Must be lower than the value specified by max_throughput.
Only one of
minThroughputandminInstancescan be specified. The use of minThroughput is discouraged in favor of min_instances.final -
name
→ Input<
String?> ? -
The name of the resource (Max 25 characters).
final
-
network
→ Input<
String?> ? -
Name or selfLink of the VPC network. Required if
ipCidrRangeis set.final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
region
→ Input<
String?> ? -
Region where the VPC Access connector resides. If it is not provided, the provider region is used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subnet
→ Input<
ConnectorSubnet?> ? -
The subnet in which to house the connector
Structure is documented below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited