Class ComputeNetwork

  • All Implemented Interfaces:
    com.hashicorp.cdktf.IInterpolatingParent, com.hashicorp.cdktf.ITerraformAddressable, com.hashicorp.cdktf.ITerraformDependable, com.hashicorp.cdktf.ITerraformResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.590Z")
    @Stability(Stable)
    public class ComputeNetwork
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network google_compute_network}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • ComputeNetwork

        protected ComputeNetwork​(software.amazon.jsii.JsiiObjectRef objRef)
      • ComputeNetwork

        protected ComputeNetwork​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • ComputeNetwork

        @Stability(Stable)
        public ComputeNetwork​(@NotNull
                              software.constructs.Construct scope,
                              @NotNull
                              String id,
                              @NotNull
                              ComputeNetworkConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network google_compute_network} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config - This parameter is required.
    • Method Detail

      • generateConfigForImport

        @Stability(Stable)
        @NotNull
        public static com.hashicorp.cdktf.ImportableResource generateConfigForImport​(@NotNull
                                                                                     software.constructs.Construct scope,
                                                                                     @NotNull
                                                                                     String importToId,
                                                                                     @NotNull
                                                                                     String importFromId,
                                                                                     @Nullable
                                                                                     com.hashicorp.cdktf.TerraformProvider provider)
        Generates CDKTF code for importing a ComputeNetwork resource upon running "cdktf plan ".

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        importToId - The construct id used in the generated config for the ComputeNetwork to import. This parameter is required.
        importFromId - The id of the existing ComputeNetwork that should be imported. This parameter is required.
        provider - ? Optional instance of the provider where the ComputeNetwork to import is found.
      • generateConfigForImport

        @Stability(Stable)
        @NotNull
        public static com.hashicorp.cdktf.ImportableResource generateConfigForImport​(@NotNull
                                                                                     software.constructs.Construct scope,
                                                                                     @NotNull
                                                                                     String importToId,
                                                                                     @NotNull
                                                                                     String importFromId)
        Generates CDKTF code for importing a ComputeNetwork resource upon running "cdktf plan ".

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        importToId - The construct id used in the generated config for the ComputeNetwork to import. This parameter is required.
        importFromId - The id of the existing ComputeNetwork that should be imported. This parameter is required.
      • putTimeouts

        @Stability(Stable)
        public void putTimeouts​(@NotNull
                                ComputeNetworkTimeouts value)
        Parameters:
        value - This parameter is required.
      • resetAutoCreateSubnetworks

        @Stability(Stable)
        public void resetAutoCreateSubnetworks()
      • resetDeleteDefaultRoutesOnCreate

        @Stability(Stable)
        public void resetDeleteDefaultRoutesOnCreate()
      • resetDescription

        @Stability(Stable)
        public void resetDescription()
      • resetEnableUlaInternalIpv6

        @Stability(Stable)
        public void resetEnableUlaInternalIpv6()
      • resetId

        @Stability(Stable)
        public void resetId()
      • resetInternalIpv6Range

        @Stability(Stable)
        public void resetInternalIpv6Range()
      • resetMtu

        @Stability(Stable)
        public void resetMtu()
      • resetNetworkFirewallPolicyEnforcementOrder

        @Stability(Stable)
        public void resetNetworkFirewallPolicyEnforcementOrder()
      • resetProject

        @Stability(Stable)
        public void resetProject()
      • resetRoutingMode

        @Stability(Stable)
        public void resetRoutingMode()
      • resetTimeouts

        @Stability(Stable)
        public void resetTimeouts()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformResource
      • synthesizeHclAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeHclAttributes()
        Overrides:
        synthesizeHclAttributes in class com.hashicorp.cdktf.TerraformResource
      • getGatewayIpv4

        @Stability(Stable)
        @NotNull
        public String getGatewayIpv4()
      • getNumericId

        @Stability(Stable)
        @NotNull
        public String getNumericId()
      • getSelfLink

        @Stability(Stable)
        @NotNull
        public String getSelfLink()
      • getAutoCreateSubnetworksInput

        @Stability(Stable)
        @Nullable
        public Object getAutoCreateSubnetworksInput()
      • getDeleteDefaultRoutesOnCreateInput

        @Stability(Stable)
        @Nullable
        public Object getDeleteDefaultRoutesOnCreateInput()
      • getDescriptionInput

        @Stability(Stable)
        @Nullable
        public String getDescriptionInput()
      • getEnableUlaInternalIpv6Input

        @Stability(Stable)
        @Nullable
        public Object getEnableUlaInternalIpv6Input()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getInternalIpv6RangeInput

        @Stability(Stable)
        @Nullable
        public String getInternalIpv6RangeInput()
      • getMtuInput

        @Stability(Stable)
        @Nullable
        public Number getMtuInput()
      • getNameInput

        @Stability(Stable)
        @Nullable
        public String getNameInput()
      • getNetworkFirewallPolicyEnforcementOrderInput

        @Stability(Stable)
        @Nullable
        public String getNetworkFirewallPolicyEnforcementOrderInput()
      • getProjectInput

        @Stability(Stable)
        @Nullable
        public String getProjectInput()
      • getRoutingModeInput

        @Stability(Stable)
        @Nullable
        public String getRoutingModeInput()
      • getTimeoutsInput

        @Stability(Stable)
        @Nullable
        public Object getTimeoutsInput()
      • getAutoCreateSubnetworks

        @Stability(Stable)
        @NotNull
        public Object getAutoCreateSubnetworks()
      • setAutoCreateSubnetworks

        @Stability(Stable)
        public void setAutoCreateSubnetworks​(@NotNull
                                             Boolean value)
      • setAutoCreateSubnetworks

        @Stability(Stable)
        public void setAutoCreateSubnetworks​(@NotNull
                                             com.hashicorp.cdktf.IResolvable value)
      • getDeleteDefaultRoutesOnCreate

        @Stability(Stable)
        @NotNull
        public Object getDeleteDefaultRoutesOnCreate()
      • setDeleteDefaultRoutesOnCreate

        @Stability(Stable)
        public void setDeleteDefaultRoutesOnCreate​(@NotNull
                                                   Boolean value)
      • setDeleteDefaultRoutesOnCreate

        @Stability(Stable)
        public void setDeleteDefaultRoutesOnCreate​(@NotNull
                                                   com.hashicorp.cdktf.IResolvable value)
      • getDescription

        @Stability(Stable)
        @NotNull
        public String getDescription()
      • setDescription

        @Stability(Stable)
        public void setDescription​(@NotNull
                                   String value)
      • getEnableUlaInternalIpv6

        @Stability(Stable)
        @NotNull
        public Object getEnableUlaInternalIpv6()
      • setEnableUlaInternalIpv6

        @Stability(Stable)
        public void setEnableUlaInternalIpv6​(@NotNull
                                             Boolean value)
      • setEnableUlaInternalIpv6

        @Stability(Stable)
        public void setEnableUlaInternalIpv6​(@NotNull
                                             com.hashicorp.cdktf.IResolvable value)
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)
      • getInternalIpv6Range

        @Stability(Stable)
        @NotNull
        public String getInternalIpv6Range()
      • setInternalIpv6Range

        @Stability(Stable)
        public void setInternalIpv6Range​(@NotNull
                                         String value)
      • getMtu

        @Stability(Stable)
        @NotNull
        public Number getMtu()
      • setMtu

        @Stability(Stable)
        public void setMtu​(@NotNull
                           Number value)
      • getName

        @Stability(Stable)
        @NotNull
        public String getName()
      • setName

        @Stability(Stable)
        public void setName​(@NotNull
                            String value)
      • getNetworkFirewallPolicyEnforcementOrder

        @Stability(Stable)
        @NotNull
        public String getNetworkFirewallPolicyEnforcementOrder()
      • setNetworkFirewallPolicyEnforcementOrder

        @Stability(Stable)
        public void setNetworkFirewallPolicyEnforcementOrder​(@NotNull
                                                             String value)
      • getProject

        @Stability(Stable)
        @NotNull
        public String getProject()
      • setProject

        @Stability(Stable)
        public void setProject​(@NotNull
                               String value)
      • getRoutingMode

        @Stability(Stable)
        @NotNull
        public String getRoutingMode()
      • setRoutingMode

        @Stability(Stable)
        public void setRoutingMode​(@NotNull
                                   String value)