Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network google_compute_network}.
import { computeNetwork } from '@cdktf/provider-google'
new computeNetwork.ComputeNetwork(scope: Construct, id: string, config: ComputeNetworkConfig)| Name | Type | Description |
|---|---|---|
scope |
constructs.Construct |
The scope in which to define this construct. |
id |
string |
The scoped construct ID. |
config |
ComputeNetworkConfig |
No description. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: ComputeNetworkConfig
| Name | Description |
|---|---|
toString |
Returns a string representation of this construct. |
addOverride |
No description. |
overrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
resetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
toHclTerraform |
No description. |
toMetadata |
No description. |
toTerraform |
Adds this resource to the terraform JSON output. |
addMoveTarget |
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
hasResourceMove |
No description. |
importFrom |
No description. |
interpolationForAttribute |
No description. |
moveFromId |
Move the resource corresponding to "id" to this resource. |
moveTo |
Moves this resource to the target resource given by moveTarget. |
moveToId |
Moves this resource to the resource corresponding to "id". |
putParams |
No description. |
putTimeouts |
No description. |
resetAutoCreateSubnetworks |
No description. |
resetBgpAlwaysCompareMed |
No description. |
resetBgpBestPathSelectionMode |
No description. |
resetBgpInterRegionCost |
No description. |
resetDeleteDefaultRoutesOnCreate |
No description. |
resetDescription |
No description. |
resetEnableUlaInternalIpv6 |
No description. |
resetId |
No description. |
resetInternalIpv6Range |
No description. |
resetMtu |
No description. |
resetNetworkFirewallPolicyEnforcementOrder |
No description. |
resetNetworkProfile |
No description. |
resetParams |
No description. |
resetProject |
No description. |
resetRoutingMode |
No description. |
resetTimeouts |
No description. |
public toString(): stringReturns a string representation of this construct.
public addOverride(path: string, value: any): void- Type: string
- Type: any
public overrideLogicalId(newLogicalId: string): voidOverrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
public resetOverrideLogicalId(): voidResets a previously passed logical Id to use the auto-generated logical id again.
public toHclTerraform(): anypublic toMetadata(): anypublic toTerraform(): anyAdds this resource to the terraform JSON output.
public addMoveTarget(moveTarget: string): voidAdds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
- Type: string
The string move target that will correspond to this resource.
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}- Type: string
public getListAttribute(terraformAttribute: string): string[]- Type: string
public getNumberAttribute(terraformAttribute: string): number- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}- Type: string
public getStringAttribute(terraformAttribute: string): string- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}- Type: string
public hasResourceMove(): TerraformResourceMoveByTarget | TerraformResourceMoveByIdpublic importFrom(id: string, provider?: TerraformProvider): void- Type: string
- Type: cdktf.TerraformProvider
public interpolationForAttribute(terraformAttribute: string): IResolvable- Type: string
public moveFromId(id: string): voidMove the resource corresponding to "id" to this resource.
Note that the resource being moved from must be marked as moved using it's instance function.
- Type: string
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
public moveTo(moveTarget: string, index?: string | number): voidMoves this resource to the target resource given by moveTarget.
- Type: string
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- Type: string | number
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
public moveToId(id: string): voidMoves this resource to the resource corresponding to "id".
- Type: string
Full id of resource to move to, e.g. "aws_s3_bucket.example".
public putParams(value: ComputeNetworkParams): void- Type: ComputeNetworkParams
public putTimeouts(value: ComputeNetworkTimeouts): void- Type: ComputeNetworkTimeouts
public resetAutoCreateSubnetworks(): voidpublic resetBgpAlwaysCompareMed(): voidpublic resetBgpBestPathSelectionMode(): voidpublic resetBgpInterRegionCost(): voidpublic resetDeleteDefaultRoutesOnCreate(): voidpublic resetDescription(): voidpublic resetEnableUlaInternalIpv6(): voidpublic resetId(): voidpublic resetInternalIpv6Range(): voidpublic resetMtu(): voidpublic resetNetworkFirewallPolicyEnforcementOrder(): voidpublic resetNetworkProfile(): voidpublic resetParams(): voidpublic resetProject(): voidpublic resetRoutingMode(): voidpublic resetTimeouts(): void| Name | Description |
|---|---|
isConstruct |
Checks if x is a construct. |
isTerraformElement |
No description. |
isTerraformResource |
No description. |
generateConfigForImport |
Generates CDKTF code for importing a ComputeNetwork resource upon running "cdktf plan ". |
import { computeNetwork } from '@cdktf/provider-google'
computeNetwork.ComputeNetwork.isConstruct(x: any)Checks if x is a construct.
Use this method instead of instanceof to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct in each copy of the constructs library
is seen as a different class, and an instance of one class will not test as
instanceof the other class. npm install will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof will behave
unpredictably. It is safest to avoid using instanceof, and using
this type-testing method instead.
- Type: any
Any object.
import { computeNetwork } from '@cdktf/provider-google'
computeNetwork.ComputeNetwork.isTerraformElement(x: any)- Type: any
import { computeNetwork } from '@cdktf/provider-google'
computeNetwork.ComputeNetwork.isTerraformResource(x: any)- Type: any
import { computeNetwork } from '@cdktf/provider-google'
computeNetwork.ComputeNetwork.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider)Generates CDKTF code for importing a ComputeNetwork resource upon running "cdktf plan ".
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The construct id used in the generated config for the ComputeNetwork to import.
- Type: string
The id of the existing ComputeNetwork that should be imported.
Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#import import section} in the documentation of this resource for the id to use
- Type: cdktf.TerraformProvider
? Optional instance of the provider where the ComputeNetwork to import is found.
| Name | Type | Description |
|---|---|---|
node |
constructs.Node |
The tree node. |
cdktfStack |
cdktf.TerraformStack |
No description. |
fqn |
string |
No description. |
friendlyUniqueId |
string |
No description. |
terraformMetaArguments |
{[ key: string ]: any} |
No description. |
terraformResourceType |
string |
No description. |
terraformGeneratorMetadata |
cdktf.TerraformProviderGeneratorMetadata |
No description. |
connection |
cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection |
No description. |
count |
number | cdktf.TerraformCount |
No description. |
dependsOn |
string[] |
No description. |
forEach |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] |
No description. |
gatewayIpv4 |
string |
No description. |
networkId |
string |
No description. |
numericId |
string |
No description. |
params |
ComputeNetworkParamsOutputReference |
No description. |
selfLink |
string |
No description. |
timeouts |
ComputeNetworkTimeoutsOutputReference |
No description. |
autoCreateSubnetworksInput |
boolean | cdktf.IResolvable |
No description. |
bgpAlwaysCompareMedInput |
boolean | cdktf.IResolvable |
No description. |
bgpBestPathSelectionModeInput |
string |
No description. |
bgpInterRegionCostInput |
string |
No description. |
deleteDefaultRoutesOnCreateInput |
boolean | cdktf.IResolvable |
No description. |
descriptionInput |
string |
No description. |
enableUlaInternalIpv6Input |
boolean | cdktf.IResolvable |
No description. |
idInput |
string |
No description. |
internalIpv6RangeInput |
string |
No description. |
mtuInput |
number |
No description. |
nameInput |
string |
No description. |
networkFirewallPolicyEnforcementOrderInput |
string |
No description. |
networkProfileInput |
string |
No description. |
paramsInput |
ComputeNetworkParams |
No description. |
projectInput |
string |
No description. |
routingModeInput |
string |
No description. |
timeoutsInput |
cdktf.IResolvable | ComputeNetworkTimeouts |
No description. |
autoCreateSubnetworks |
boolean | cdktf.IResolvable |
No description. |
bgpAlwaysCompareMed |
boolean | cdktf.IResolvable |
No description. |
bgpBestPathSelectionMode |
string |
No description. |
bgpInterRegionCost |
string |
No description. |
deleteDefaultRoutesOnCreate |
boolean | cdktf.IResolvable |
No description. |
description |
string |
No description. |
enableUlaInternalIpv6 |
boolean | cdktf.IResolvable |
No description. |
id |
string |
No description. |
internalIpv6Range |
string |
No description. |
mtu |
number |
No description. |
name |
string |
No description. |
networkFirewallPolicyEnforcementOrder |
string |
No description. |
networkProfile |
string |
No description. |
project |
string |
No description. |
routingMode |
string |
No description. |
public readonly node: Node;- Type: constructs.Node
The tree node.
public readonly cdktfStack: TerraformStack;- Type: cdktf.TerraformStack
public readonly fqn: string;- Type: string
public readonly friendlyUniqueId: string;- Type: string
public readonly terraformMetaArguments: {[ key: string ]: any};- Type: {[ key: string ]: any}
public readonly terraformResourceType: string;- Type: string
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;- Type: cdktf.TerraformProviderGeneratorMetadata
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;- Type: number | cdktf.TerraformCount
public readonly dependsOn: string[];- Type: string[]
public readonly forEach: ITerraformIterator;- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;- Type: cdktf.TerraformProvider
public readonly provisioners: (FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner)[];- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly gatewayIpv4: string;- Type: string
public readonly networkId: string;- Type: string
public readonly numericId: string;- Type: string
public readonly params: ComputeNetworkParamsOutputReference;public readonly selfLink: string;- Type: string
public readonly timeouts: ComputeNetworkTimeoutsOutputReference;public readonly autoCreateSubnetworksInput: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
public readonly bgpAlwaysCompareMedInput: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
public readonly bgpBestPathSelectionModeInput: string;- Type: string
public readonly bgpInterRegionCostInput: string;- Type: string
public readonly deleteDefaultRoutesOnCreateInput: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
public readonly descriptionInput: string;- Type: string
public readonly enableUlaInternalIpv6Input: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
public readonly idInput: string;- Type: string
public readonly internalIpv6RangeInput: string;- Type: string
public readonly mtuInput: number;- Type: number
public readonly nameInput: string;- Type: string
public readonly networkFirewallPolicyEnforcementOrderInput: string;- Type: string
public readonly networkProfileInput: string;- Type: string
public readonly paramsInput: ComputeNetworkParams;- Type: ComputeNetworkParams
public readonly projectInput: string;- Type: string
public readonly routingModeInput: string;- Type: string
public readonly timeoutsInput: IResolvable | ComputeNetworkTimeouts;- Type: cdktf.IResolvable | ComputeNetworkTimeouts
public readonly autoCreateSubnetworks: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
public readonly bgpAlwaysCompareMed: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
public readonly bgpBestPathSelectionMode: string;- Type: string
public readonly bgpInterRegionCost: string;- Type: string
public readonly deleteDefaultRoutesOnCreate: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
public readonly description: string;- Type: string
public readonly enableUlaInternalIpv6: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
public readonly id: string;- Type: string
public readonly internalIpv6Range: string;- Type: string
public readonly mtu: number;- Type: number
public readonly name: string;- Type: string
public readonly networkFirewallPolicyEnforcementOrder: string;- Type: string
public readonly networkProfile: string;- Type: string
public readonly project: string;- Type: string
public readonly routingMode: string;- Type: string
| Name | Type | Description |
|---|---|---|
tfResourceType |
string |
No description. |
public readonly tfResourceType: string;- Type: string
import { computeNetwork } from '@cdktf/provider-google'
const computeNetworkConfig: computeNetwork.ComputeNetworkConfig = { ... }| Name | Type | Description |
|---|---|---|
connection |
cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection |
No description. |
count |
number | cdktf.TerraformCount |
No description. |
dependsOn |
cdktf.ITerraformDependable[] |
No description. |
forEach |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] |
No description. |
name |
string |
Name of the resource. |
autoCreateSubnetworks |
boolean | cdktf.IResolvable |
When set to 'true', the network is created in "auto subnet mode" and it will create a subnet for each region automatically across the '10.128.0.0/9' address range. |
bgpAlwaysCompareMed |
boolean | cdktf.IResolvable |
Enables/disables the comparison of MED across routes with different Neighbor ASNs. |
bgpBestPathSelectionMode |
string |
The BGP best selection algorithm to be employed. MODE can be LEGACY or STANDARD. Possible values: ["LEGACY", "STANDARD"]. |
bgpInterRegionCost |
string |
Choice of the behavior of inter-regional cost and MED in the BPS algorithm. Possible values: ["DEFAULT", "ADD_COST_TO_MED"]. |
deleteDefaultRoutesOnCreate |
boolean | cdktf.IResolvable |
If set to 'true', default routes ('0.0.0.0/0') will be deleted immediately after network creation. Defaults to 'false'. |
description |
string |
An optional description of this resource. The resource must be recreated to modify this field. |
enableUlaInternalIpv6 |
boolean | cdktf.IResolvable |
Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. |
id |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#id ComputeNetwork#id}. |
internalIpv6Range |
string |
When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. |
mtu |
number |
Maximum Transmission Unit in bytes. |
networkFirewallPolicyEnforcementOrder |
string |
Set the order that Firewall Rules and Firewall Policies are evaluated. Default value: "AFTER_CLASSIC_FIREWALL" Possible values: ["BEFORE_CLASSIC_FIREWALL", "AFTER_CLASSIC_FIREWALL"]. |
networkProfile |
string |
A full or partial URL of the network profile to apply to this network. |
params |
ComputeNetworkParams |
params block. |
project |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#project ComputeNetwork#project}. |
routingMode |
string |
The network-wide routing mode to use. |
timeouts |
ComputeNetworkTimeouts |
timeouts block. |
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;- Type: number | cdktf.TerraformCount
public readonly dependsOn: ITerraformDependable[];- Type: cdktf.ITerraformDependable[]
public readonly forEach: ITerraformIterator;- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;- Type: cdktf.TerraformProvider
public readonly provisioners: (FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner)[];- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly name: string;- Type: string
Name of the resource.
Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression 'a-z?' which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#name ComputeNetwork#name}
public readonly autoCreateSubnetworks: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
When set to 'true', the network is created in "auto subnet mode" and it will create a subnet for each region automatically across the '10.128.0.0/9' address range.
When set to 'false', the network is created in "custom subnet mode" so the user can explicitly connect subnetwork resources.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#auto_create_subnetworks ComputeNetwork#auto_create_subnetworks}
public readonly bgpAlwaysCompareMed: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
Enables/disables the comparison of MED across routes with different Neighbor ASNs.
This value can only be set if the --bgp-best-path-selection-mode is STANDARD
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#bgp_always_compare_med ComputeNetwork#bgp_always_compare_med}
public readonly bgpBestPathSelectionMode: string;- Type: string
The BGP best selection algorithm to be employed. MODE can be LEGACY or STANDARD. Possible values: ["LEGACY", "STANDARD"].
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#bgp_best_path_selection_mode ComputeNetwork#bgp_best_path_selection_mode}
public readonly bgpInterRegionCost: string;- Type: string
Choice of the behavior of inter-regional cost and MED in the BPS algorithm. Possible values: ["DEFAULT", "ADD_COST_TO_MED"].
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#bgp_inter_region_cost ComputeNetwork#bgp_inter_region_cost}
public readonly deleteDefaultRoutesOnCreate: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
If set to 'true', default routes ('0.0.0.0/0') will be deleted immediately after network creation. Defaults to 'false'.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#delete_default_routes_on_create ComputeNetwork#delete_default_routes_on_create}
public readonly description: string;- Type: string
An optional description of this resource. The resource must be recreated to modify this field.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#description ComputeNetwork#description}
public readonly enableUlaInternalIpv6: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#enable_ula_internal_ipv6 ComputeNetwork#enable_ula_internal_ipv6}
public readonly id: string;- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#id ComputeNetwork#id}.
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
public readonly internalIpv6Range: string;- Type: string
When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20.
The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#internal_ipv6_range ComputeNetwork#internal_ipv6_range}
public readonly mtu: number;- Type: number
Maximum Transmission Unit in bytes.
The default value is 1460 bytes. The minimum value for this field is 1300 and the maximum value is 8896 bytes (jumbo frames). Note that packets larger than 1500 bytes (standard Ethernet) can be subject to TCP-MSS clamping or dropped with an ICMP 'Fragmentation-Needed' message if the packets are routed to the Internet or other VPCs with varying MTUs.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#mtu ComputeNetwork#mtu}
public readonly networkFirewallPolicyEnforcementOrder: string;- Type: string
Set the order that Firewall Rules and Firewall Policies are evaluated. Default value: "AFTER_CLASSIC_FIREWALL" Possible values: ["BEFORE_CLASSIC_FIREWALL", "AFTER_CLASSIC_FIREWALL"].
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#network_firewall_policy_enforcement_order ComputeNetwork#network_firewall_policy_enforcement_order}
public readonly networkProfile: string;- Type: string
A full or partial URL of the network profile to apply to this network.
This field can be set only at resource creation time. For example, the following are valid URLs:
- https://www.googleapis.com/compute/v1/projects/{projectId}/global/networkProfiles/{network_profile_name}
- projects/{projectId}/global/networkProfiles/{network_profile_name}
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#network_profile ComputeNetwork#network_profile}
public readonly params: ComputeNetworkParams;- Type: ComputeNetworkParams
params block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#params ComputeNetwork#params}
public readonly project: string;- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#project ComputeNetwork#project}.
public readonly routingMode: string;- Type: string
The network-wide routing mode to use.
If set to 'REGIONAL', this network's cloud routers will only advertise routes with subnetworks of this network in the same region as the router. If set to 'GLOBAL', this network's cloud routers will advertise routes with all subnetworks of this network, across regions. Possible values: ["REGIONAL", "GLOBAL"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#routing_mode ComputeNetwork#routing_mode}
public readonly timeouts: ComputeNetworkTimeouts;- Type: ComputeNetworkTimeouts
timeouts block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#timeouts ComputeNetwork#timeouts}
import { computeNetwork } from '@cdktf/provider-google'
const computeNetworkParams: computeNetwork.ComputeNetworkParams = { ... }| Name | Type | Description |
|---|---|---|
resourceManagerTags |
{[ key: string ]: string} |
Resource manager tags to be bound to the network. |
public readonly resourceManagerTags: {[ key: string ]: string};- Type: {[ key: string ]: string}
Resource manager tags to be bound to the network.
Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#resource_manager_tags ComputeNetwork#resource_manager_tags}
import { computeNetwork } from '@cdktf/provider-google'
const computeNetworkTimeouts: computeNetwork.ComputeNetworkTimeouts = { ... }| Name | Type | Description |
|---|---|---|
create |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#create ComputeNetwork#create}. |
delete |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#delete ComputeNetwork#delete}. |
update |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#update ComputeNetwork#update}. |
public readonly create: string;- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#create ComputeNetwork#create}.
public readonly delete: string;- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#delete ComputeNetwork#delete}.
public readonly update: string;- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.50.0/docs/resources/compute_network#update ComputeNetwork#update}.
import { computeNetwork } from '@cdktf/provider-google'
new computeNetwork.ComputeNetworkParamsOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)| Name | Type | Description |
|---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
| Name | Description |
|---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
resetResourceManagerTags |
No description. |
public computeFqn(): stringpublic getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}- Type: string
public getListAttribute(terraformAttribute: string): string[]- Type: string
public getNumberAttribute(terraformAttribute: string): number- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}- Type: string
public getStringAttribute(terraformAttribute: string): string- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}- Type: string
public interpolationForAttribute(property: string): IResolvable- Type: string
public resolve(_context: IResolveContext): anyProduce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): stringReturn a string representation of this resolvable object.
Returns a reversible string representation.
public resetResourceManagerTags(): void| Name | Type | Description |
|---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
resourceManagerTagsInput |
{[ key: string ]: string} |
No description. |
resourceManagerTags |
{[ key: string ]: string} |
No description. |
internalValue |
ComputeNetworkParams |
No description. |
public readonly creationStack: string[];- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public readonly fqn: string;- Type: string
public readonly resourceManagerTagsInput: {[ key: string ]: string};- Type: {[ key: string ]: string}
public readonly resourceManagerTags: {[ key: string ]: string};- Type: {[ key: string ]: string}
public readonly internalValue: ComputeNetworkParams;- Type: ComputeNetworkParams
import { computeNetwork } from '@cdktf/provider-google'
new computeNetwork.ComputeNetworkTimeoutsOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)| Name | Type | Description |
|---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
| Name | Description |
|---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
resetCreate |
No description. |
resetDelete |
No description. |
resetUpdate |
No description. |
public computeFqn(): stringpublic getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}- Type: string
public getListAttribute(terraformAttribute: string): string[]- Type: string
public getNumberAttribute(terraformAttribute: string): number- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}- Type: string
public getStringAttribute(terraformAttribute: string): string- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}- Type: string
public interpolationForAttribute(property: string): IResolvable- Type: string
public resolve(_context: IResolveContext): anyProduce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): stringReturn a string representation of this resolvable object.
Returns a reversible string representation.
public resetCreate(): voidpublic resetDelete(): voidpublic resetUpdate(): void| Name | Type | Description |
|---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
createInput |
string |
No description. |
deleteInput |
string |
No description. |
updateInput |
string |
No description. |
create |
string |
No description. |
delete |
string |
No description. |
update |
string |
No description. |
internalValue |
cdktf.IResolvable | ComputeNetworkTimeouts |
No description. |
public readonly creationStack: string[];- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public readonly fqn: string;- Type: string
public readonly createInput: string;- Type: string
public readonly deleteInput: string;- Type: string
public readonly updateInput: string;- Type: string
public readonly create: string;- Type: string
public readonly delete: string;- Type: string
public readonly update: string;- Type: string
public readonly internalValue: IResolvable | ComputeNetworkTimeouts;- Type: cdktf.IResolvable | ComputeNetworkTimeouts