Creates and manages a global router subnet that connects an existing dedicated server private subnet to a global router in the Global Router service using public API v1. Learn how to add a private subnet in the control panel.
For more information about dedicated server networks, see the official Selectel documentation. For more information about global routers, see the official Selectel documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as selectel from "@pulumi/selectel";
const globalRouterDedicatedSubnet1 = new selectel.GlobalRouterDedicatedSubnetV1("global_router_dedicated_subnet_1", {
networkId: globalRouterDedicatedNetwork1.id,
cidr: "10.10.10.0/24",
gateway: "10.10.10.13",
serviceAddresses: [
"10.10.10.253",
"10.10.10.254",
],
name: "my_super_dedicated_subnet",
tags: [
"blue",
"red",
],
});
import pulumi
import pulumi_selectel as selectel
global_router_dedicated_subnet1 = selectel.GlobalRouterDedicatedSubnetV1("global_router_dedicated_subnet_1",
network_id=global_router_dedicated_network1["id"],
cidr="10.10.10.0/24",
gateway="10.10.10.13",
service_addresses=[
"10.10.10.253",
"10.10.10.254",
],
name="my_super_dedicated_subnet",
tags=[
"blue",
"red",
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v7/selectel"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := selectel.NewGlobalRouterDedicatedSubnetV1(ctx, "global_router_dedicated_subnet_1", &selectel.GlobalRouterDedicatedSubnetV1Args{
NetworkId: pulumi.Any(globalRouterDedicatedNetwork1.Id),
Cidr: pulumi.String("10.10.10.0/24"),
Gateway: pulumi.String("10.10.10.13"),
ServiceAddresses: pulumi.StringArray{
pulumi.String("10.10.10.253"),
pulumi.String("10.10.10.254"),
},
Name: pulumi.String("my_super_dedicated_subnet"),
Tags: pulumi.StringArray{
pulumi.String("blue"),
pulumi.String("red"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Selectel = Pulumi.Selectel;
return await Deployment.RunAsync(() =>
{
var globalRouterDedicatedSubnet1 = new Selectel.GlobalRouterDedicatedSubnetV1("global_router_dedicated_subnet_1", new()
{
NetworkId = globalRouterDedicatedNetwork1.Id,
Cidr = "10.10.10.0/24",
Gateway = "10.10.10.13",
ServiceAddresses = new[]
{
"10.10.10.253",
"10.10.10.254",
},
Name = "my_super_dedicated_subnet",
Tags = new[]
{
"blue",
"red",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.selectel.GlobalRouterDedicatedSubnetV1;
import com.pulumi.selectel.GlobalRouterDedicatedSubnetV1Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var globalRouterDedicatedSubnet1 = new GlobalRouterDedicatedSubnetV1("globalRouterDedicatedSubnet1", GlobalRouterDedicatedSubnetV1Args.builder()
.networkId(globalRouterDedicatedNetwork1.id())
.cidr("10.10.10.0/24")
.gateway("10.10.10.13")
.serviceAddresses(
"10.10.10.253",
"10.10.10.254")
.name("my_super_dedicated_subnet")
.tags(
"blue",
"red")
.build());
}
}
resources:
globalRouterDedicatedSubnet1:
type: selectel:GlobalRouterDedicatedSubnetV1
name: global_router_dedicated_subnet_1
properties:
networkId: ${globalRouterDedicatedNetwork1.id}
cidr: 10.10.10.0/24
gateway: 10.10.10.13
serviceAddresses:
- 10.10.10.253
- 10.10.10.254
name: my_super_dedicated_subnet
tags:
- blue
- red
Create GlobalRouterDedicatedSubnetV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GlobalRouterDedicatedSubnetV1(name: string, args: GlobalRouterDedicatedSubnetV1Args, opts?: CustomResourceOptions);@overload
def GlobalRouterDedicatedSubnetV1(resource_name: str,
args: GlobalRouterDedicatedSubnetV1Args,
opts: Optional[ResourceOptions] = None)
@overload
def GlobalRouterDedicatedSubnetV1(resource_name: str,
opts: Optional[ResourceOptions] = None,
cidr: Optional[str] = None,
network_id: Optional[str] = None,
gateway: Optional[str] = None,
global_router_dedicated_subnet_v1_id: Optional[str] = None,
name: Optional[str] = None,
service_addresses: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[GlobalRouterDedicatedSubnetV1TimeoutsArgs] = None)func NewGlobalRouterDedicatedSubnetV1(ctx *Context, name string, args GlobalRouterDedicatedSubnetV1Args, opts ...ResourceOption) (*GlobalRouterDedicatedSubnetV1, error)public GlobalRouterDedicatedSubnetV1(string name, GlobalRouterDedicatedSubnetV1Args args, CustomResourceOptions? opts = null)
public GlobalRouterDedicatedSubnetV1(String name, GlobalRouterDedicatedSubnetV1Args args)
public GlobalRouterDedicatedSubnetV1(String name, GlobalRouterDedicatedSubnetV1Args args, CustomResourceOptions options)
type: selectel:GlobalRouterDedicatedSubnetV1
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 GlobalRouterDedicatedSubnetV1Args
- 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 GlobalRouterDedicatedSubnetV1Args
- 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 GlobalRouterDedicatedSubnetV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GlobalRouterDedicatedSubnetV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GlobalRouterDedicatedSubnetV1Args
- 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 globalRouterDedicatedSubnetV1Resource = new Selectel.GlobalRouterDedicatedSubnetV1("globalRouterDedicatedSubnetV1Resource", new()
{
Cidr = "string",
NetworkId = "string",
Gateway = "string",
GlobalRouterDedicatedSubnetV1Id = "string",
Name = "string",
ServiceAddresses = new[]
{
"string",
},
Tags = new[]
{
"string",
},
Timeouts = new Selectel.Inputs.GlobalRouterDedicatedSubnetV1TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := selectel.NewGlobalRouterDedicatedSubnetV1(ctx, "globalRouterDedicatedSubnetV1Resource", &selectel.GlobalRouterDedicatedSubnetV1Args{
Cidr: pulumi.String("string"),
NetworkId: pulumi.String("string"),
Gateway: pulumi.String("string"),
GlobalRouterDedicatedSubnetV1Id: pulumi.String("string"),
Name: pulumi.String("string"),
ServiceAddresses: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &selectel.GlobalRouterDedicatedSubnetV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var globalRouterDedicatedSubnetV1Resource = new GlobalRouterDedicatedSubnetV1("globalRouterDedicatedSubnetV1Resource", GlobalRouterDedicatedSubnetV1Args.builder()
.cidr("string")
.networkId("string")
.gateway("string")
.globalRouterDedicatedSubnetV1Id("string")
.name("string")
.serviceAddresses("string")
.tags("string")
.timeouts(GlobalRouterDedicatedSubnetV1TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
global_router_dedicated_subnet_v1_resource = selectel.GlobalRouterDedicatedSubnetV1("globalRouterDedicatedSubnetV1Resource",
cidr="string",
network_id="string",
gateway="string",
global_router_dedicated_subnet_v1_id="string",
name="string",
service_addresses=["string"],
tags=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const globalRouterDedicatedSubnetV1Resource = new selectel.GlobalRouterDedicatedSubnetV1("globalRouterDedicatedSubnetV1Resource", {
cidr: "string",
networkId: "string",
gateway: "string",
globalRouterDedicatedSubnetV1Id: "string",
name: "string",
serviceAddresses: ["string"],
tags: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: selectel:GlobalRouterDedicatedSubnetV1
properties:
cidr: string
gateway: string
globalRouterDedicatedSubnetV1Id: string
name: string
networkId: string
serviceAddresses:
- string
tags:
- string
timeouts:
create: string
delete: string
update: string
GlobalRouterDedicatedSubnetV1 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 GlobalRouterDedicatedSubnetV1 resource accepts the following input properties:
- Cidr string
- Subnet IP address range in CIDR notation. To get subnet CIDR, in the Control panel, go to Dedicated servers ⟶ the Private subnets tab ⟶ copy the subnet CIDR. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Network
Id string - Unique identifier of the global router network, that was created for the dedicated server network to which the subnet belongs. Retrieved from the selectel.GlobalRouterDedicatedNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Gateway string
- Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Global
Router stringDedicated Subnet V1Id - Unique identifier of the global router subnet.
- Name string
- Name of the global router subnet.
- Service
Addresses List<string> - Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- List<string>
- — (Optional) List of global router subnet tags.
- Timeouts
Global
Router Dedicated Subnet V1Timeouts
- Cidr string
- Subnet IP address range in CIDR notation. To get subnet CIDR, in the Control panel, go to Dedicated servers ⟶ the Private subnets tab ⟶ copy the subnet CIDR. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Network
Id string - Unique identifier of the global router network, that was created for the dedicated server network to which the subnet belongs. Retrieved from the selectel.GlobalRouterDedicatedNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Gateway string
- Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Global
Router stringDedicated Subnet V1Id - Unique identifier of the global router subnet.
- Name string
- Name of the global router subnet.
- Service
Addresses []string - Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- []string
- — (Optional) List of global router subnet tags.
- Timeouts
Global
Router Dedicated Subnet V1Timeouts Args
- cidr String
- Subnet IP address range in CIDR notation. To get subnet CIDR, in the Control panel, go to Dedicated servers ⟶ the Private subnets tab ⟶ copy the subnet CIDR. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- network
Id String - Unique identifier of the global router network, that was created for the dedicated server network to which the subnet belongs. Retrieved from the selectel.GlobalRouterDedicatedNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- gateway String
- Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- global
Router StringDedicated Subnet V1Id - Unique identifier of the global router subnet.
- name String
- Name of the global router subnet.
- service
Addresses List<String> - Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- List<String>
- — (Optional) List of global router subnet tags.
- timeouts
Global
Router Dedicated Subnet V1Timeouts
- cidr string
- Subnet IP address range in CIDR notation. To get subnet CIDR, in the Control panel, go to Dedicated servers ⟶ the Private subnets tab ⟶ copy the subnet CIDR. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- network
Id string - Unique identifier of the global router network, that was created for the dedicated server network to which the subnet belongs. Retrieved from the selectel.GlobalRouterDedicatedNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- gateway string
- Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- global
Router stringDedicated Subnet V1Id - Unique identifier of the global router subnet.
- name string
- Name of the global router subnet.
- service
Addresses string[] - Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- string[]
- — (Optional) List of global router subnet tags.
- timeouts
Global
Router Dedicated Subnet V1Timeouts
- cidr str
- Subnet IP address range in CIDR notation. To get subnet CIDR, in the Control panel, go to Dedicated servers ⟶ the Private subnets tab ⟶ copy the subnet CIDR. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- network_
id str - Unique identifier of the global router network, that was created for the dedicated server network to which the subnet belongs. Retrieved from the selectel.GlobalRouterDedicatedNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- gateway str
- Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- global_
router_ strdedicated_ subnet_ v1_ id - Unique identifier of the global router subnet.
- name str
- Name of the global router subnet.
- service_
addresses Sequence[str] - Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Sequence[str]
- — (Optional) List of global router subnet tags.
- timeouts
Global
Router Dedicated Subnet V1Timeouts Args
- cidr String
- Subnet IP address range in CIDR notation. To get subnet CIDR, in the Control panel, go to Dedicated servers ⟶ the Private subnets tab ⟶ copy the subnet CIDR. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- network
Id String - Unique identifier of the global router network, that was created for the dedicated server network to which the subnet belongs. Retrieved from the selectel.GlobalRouterDedicatedNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- gateway String
- Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- global
Router StringDedicated Subnet V1Id - Unique identifier of the global router subnet.
- name String
- Name of the global router subnet.
- service
Addresses List<String> - Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- List<String>
- — (Optional) List of global router subnet tags.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the GlobalRouterDedicatedSubnetV1 resource produces the following output properties:
- Account
Id string - Selectel account ID.
- Created
At string - Time when the global router subnet was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Netops
Subnet stringId - Option for internal usage.
- Status string
- Global router subnet status.
- Sv
Subnet stringId - Option for internal usage.
- Updated
At string - Time when the global router subnet was updated.
- Account
Id string - Selectel account ID.
- Created
At string - Time when the global router subnet was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Netops
Subnet stringId - Option for internal usage.
- Status string
- Global router subnet status.
- Sv
Subnet stringId - Option for internal usage.
- Updated
At string - Time when the global router subnet was updated.
- account
Id String - Selectel account ID.
- created
At String - Time when the global router subnet was created.
- id String
- The provider-assigned unique ID for this managed resource.
- netops
Subnet StringId - Option for internal usage.
- status String
- Global router subnet status.
- sv
Subnet StringId - Option for internal usage.
- updated
At String - Time when the global router subnet was updated.
- account
Id string - Selectel account ID.
- created
At string - Time when the global router subnet was created.
- id string
- The provider-assigned unique ID for this managed resource.
- netops
Subnet stringId - Option for internal usage.
- status string
- Global router subnet status.
- sv
Subnet stringId - Option for internal usage.
- updated
At string - Time when the global router subnet was updated.
- account_
id str - Selectel account ID.
- created_
at str - Time when the global router subnet was created.
- id str
- The provider-assigned unique ID for this managed resource.
- netops_
subnet_ strid - Option for internal usage.
- status str
- Global router subnet status.
- sv_
subnet_ strid - Option for internal usage.
- updated_
at str - Time when the global router subnet was updated.
- account
Id String - Selectel account ID.
- created
At String - Time when the global router subnet was created.
- id String
- The provider-assigned unique ID for this managed resource.
- netops
Subnet StringId - Option for internal usage.
- status String
- Global router subnet status.
- sv
Subnet StringId - Option for internal usage.
- updated
At String - Time when the global router subnet was updated.
Look up Existing GlobalRouterDedicatedSubnetV1 Resource
Get an existing GlobalRouterDedicatedSubnetV1 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GlobalRouterDedicatedSubnetV1State, opts?: CustomResourceOptions): GlobalRouterDedicatedSubnetV1@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
cidr: Optional[str] = None,
created_at: Optional[str] = None,
gateway: Optional[str] = None,
global_router_dedicated_subnet_v1_id: Optional[str] = None,
name: Optional[str] = None,
netops_subnet_id: Optional[str] = None,
network_id: Optional[str] = None,
service_addresses: Optional[Sequence[str]] = None,
status: Optional[str] = None,
sv_subnet_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[GlobalRouterDedicatedSubnetV1TimeoutsArgs] = None,
updated_at: Optional[str] = None) -> GlobalRouterDedicatedSubnetV1func GetGlobalRouterDedicatedSubnetV1(ctx *Context, name string, id IDInput, state *GlobalRouterDedicatedSubnetV1State, opts ...ResourceOption) (*GlobalRouterDedicatedSubnetV1, error)public static GlobalRouterDedicatedSubnetV1 Get(string name, Input<string> id, GlobalRouterDedicatedSubnetV1State? state, CustomResourceOptions? opts = null)public static GlobalRouterDedicatedSubnetV1 get(String name, Output<String> id, GlobalRouterDedicatedSubnetV1State state, CustomResourceOptions options)resources: _: type: selectel:GlobalRouterDedicatedSubnetV1 get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Selectel account ID.
- Cidr string
- Subnet IP address range in CIDR notation. To get subnet CIDR, in the Control panel, go to Dedicated servers ⟶ the Private subnets tab ⟶ copy the subnet CIDR. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Created
At string - Time when the global router subnet was created.
- Gateway string
- Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Global
Router stringDedicated Subnet V1Id - Unique identifier of the global router subnet.
- Name string
- Name of the global router subnet.
- Netops
Subnet stringId - Option for internal usage.
- Network
Id string - Unique identifier of the global router network, that was created for the dedicated server network to which the subnet belongs. Retrieved from the selectel.GlobalRouterDedicatedNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Service
Addresses List<string> - Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Status string
- Global router subnet status.
- Sv
Subnet stringId - Option for internal usage.
- List<string>
- — (Optional) List of global router subnet tags.
- Timeouts
Global
Router Dedicated Subnet V1Timeouts - Updated
At string - Time when the global router subnet was updated.
- Account
Id string - Selectel account ID.
- Cidr string
- Subnet IP address range in CIDR notation. To get subnet CIDR, in the Control panel, go to Dedicated servers ⟶ the Private subnets tab ⟶ copy the subnet CIDR. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Created
At string - Time when the global router subnet was created.
- Gateway string
- Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Global
Router stringDedicated Subnet V1Id - Unique identifier of the global router subnet.
- Name string
- Name of the global router subnet.
- Netops
Subnet stringId - Option for internal usage.
- Network
Id string - Unique identifier of the global router network, that was created for the dedicated server network to which the subnet belongs. Retrieved from the selectel.GlobalRouterDedicatedNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Service
Addresses []string - Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Status string
- Global router subnet status.
- Sv
Subnet stringId - Option for internal usage.
- []string
- — (Optional) List of global router subnet tags.
- Timeouts
Global
Router Dedicated Subnet V1Timeouts Args - Updated
At string - Time when the global router subnet was updated.
- account
Id String - Selectel account ID.
- cidr String
- Subnet IP address range in CIDR notation. To get subnet CIDR, in the Control panel, go to Dedicated servers ⟶ the Private subnets tab ⟶ copy the subnet CIDR. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- created
At String - Time when the global router subnet was created.
- gateway String
- Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- global
Router StringDedicated Subnet V1Id - Unique identifier of the global router subnet.
- name String
- Name of the global router subnet.
- netops
Subnet StringId - Option for internal usage.
- network
Id String - Unique identifier of the global router network, that was created for the dedicated server network to which the subnet belongs. Retrieved from the selectel.GlobalRouterDedicatedNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- service
Addresses List<String> - Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- status String
- Global router subnet status.
- sv
Subnet StringId - Option for internal usage.
- List<String>
- — (Optional) List of global router subnet tags.
- timeouts
Global
Router Dedicated Subnet V1Timeouts - updated
At String - Time when the global router subnet was updated.
- account
Id string - Selectel account ID.
- cidr string
- Subnet IP address range in CIDR notation. To get subnet CIDR, in the Control panel, go to Dedicated servers ⟶ the Private subnets tab ⟶ copy the subnet CIDR. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- created
At string - Time when the global router subnet was created.
- gateway string
- Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- global
Router stringDedicated Subnet V1Id - Unique identifier of the global router subnet.
- name string
- Name of the global router subnet.
- netops
Subnet stringId - Option for internal usage.
- network
Id string - Unique identifier of the global router network, that was created for the dedicated server network to which the subnet belongs. Retrieved from the selectel.GlobalRouterDedicatedNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- service
Addresses string[] - Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- status string
- Global router subnet status.
- sv
Subnet stringId - Option for internal usage.
- string[]
- — (Optional) List of global router subnet tags.
- timeouts
Global
Router Dedicated Subnet V1Timeouts - updated
At string - Time when the global router subnet was updated.
- account_
id str - Selectel account ID.
- cidr str
- Subnet IP address range in CIDR notation. To get subnet CIDR, in the Control panel, go to Dedicated servers ⟶ the Private subnets tab ⟶ copy the subnet CIDR. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- created_
at str - Time when the global router subnet was created.
- gateway str
- Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- global_
router_ strdedicated_ subnet_ v1_ id - Unique identifier of the global router subnet.
- name str
- Name of the global router subnet.
- netops_
subnet_ strid - Option for internal usage.
- network_
id str - Unique identifier of the global router network, that was created for the dedicated server network to which the subnet belongs. Retrieved from the selectel.GlobalRouterDedicatedNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- service_
addresses Sequence[str] - Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- status str
- Global router subnet status.
- sv_
subnet_ strid - Option for internal usage.
- Sequence[str]
- — (Optional) List of global router subnet tags.
- timeouts
Global
Router Dedicated Subnet V1Timeouts Args - updated_
at str - Time when the global router subnet was updated.
- account
Id String - Selectel account ID.
- cidr String
- Subnet IP address range in CIDR notation. To get subnet CIDR, in the Control panel, go to Dedicated servers ⟶ the Private subnets tab ⟶ copy the subnet CIDR. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- created
At String - Time when the global router subnet was created.
- gateway String
- Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- global
Router StringDedicated Subnet V1Id - Unique identifier of the global router subnet.
- name String
- Name of the global router subnet.
- netops
Subnet StringId - Option for internal usage.
- network
Id String - Unique identifier of the global router network, that was created for the dedicated server network to which the subnet belongs. Retrieved from the selectel.GlobalRouterDedicatedNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- service
Addresses List<String> - Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- status String
- Global router subnet status.
- sv
Subnet StringId - Option for internal usage.
- List<String>
- — (Optional) List of global router subnet tags.
- timeouts Property Map
- updated
At String - Time when the global router subnet was updated.
Supporting Types
GlobalRouterDedicatedSubnetV1Timeouts, GlobalRouterDedicatedSubnetV1TimeoutsArgs
Package Details
- Repository
- selectel selectel/terraform-provider-selectel
- License
- Notes
- This Pulumi package is based on the
selectelTerraform Provider.
