Creates and manages a global router subnet that connects an existing cloud platform private subnet to a global router in the Global Router service using public API v1. To create a cloud platform subnet, use the openstack_networking_subnet_v2 resource.
For more information about cloud platform private networks and subnets, 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 globalRouterVpcSubnet1 = new selectel.GlobalRouterVpcSubnetV1("global_router_vpc_subnet_1", {
networkId: globalRouterVpcNetwork1.id,
osSubnetId: subnet1.id,
cidr: "10.10.10.0/24",
gateway: "10.10.10.13",
serviceAddresses: [
"10.10.10.253",
"10.10.10.254",
],
name: "my_super_vpc_subnet",
tags: [
"blue",
"red",
],
});
import pulumi
import pulumi_selectel as selectel
global_router_vpc_subnet1 = selectel.GlobalRouterVpcSubnetV1("global_router_vpc_subnet_1",
network_id=global_router_vpc_network1["id"],
os_subnet_id=subnet1["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_vpc_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.NewGlobalRouterVpcSubnetV1(ctx, "global_router_vpc_subnet_1", &selectel.GlobalRouterVpcSubnetV1Args{
NetworkId: pulumi.Any(globalRouterVpcNetwork1.Id),
OsSubnetId: pulumi.Any(subnet1.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_vpc_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 globalRouterVpcSubnet1 = new Selectel.GlobalRouterVpcSubnetV1("global_router_vpc_subnet_1", new()
{
NetworkId = globalRouterVpcNetwork1.Id,
OsSubnetId = subnet1.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_vpc_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.GlobalRouterVpcSubnetV1;
import com.pulumi.selectel.GlobalRouterVpcSubnetV1Args;
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 globalRouterVpcSubnet1 = new GlobalRouterVpcSubnetV1("globalRouterVpcSubnet1", GlobalRouterVpcSubnetV1Args.builder()
.networkId(globalRouterVpcNetwork1.id())
.osSubnetId(subnet1.id())
.cidr("10.10.10.0/24")
.gateway("10.10.10.13")
.serviceAddresses(
"10.10.10.253",
"10.10.10.254")
.name("my_super_vpc_subnet")
.tags(
"blue",
"red")
.build());
}
}
resources:
globalRouterVpcSubnet1:
type: selectel:GlobalRouterVpcSubnetV1
name: global_router_vpc_subnet_1
properties:
networkId: ${globalRouterVpcNetwork1.id}
osSubnetId: ${subnet1.id}
cidr: 10.10.10.0/24
gateway: 10.10.10.13
serviceAddresses:
- 10.10.10.253
- 10.10.10.254
name: my_super_vpc_subnet
tags:
- blue
- red
Create GlobalRouterVpcSubnetV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GlobalRouterVpcSubnetV1(name: string, args: GlobalRouterVpcSubnetV1Args, opts?: CustomResourceOptions);@overload
def GlobalRouterVpcSubnetV1(resource_name: str,
args: GlobalRouterVpcSubnetV1Args,
opts: Optional[ResourceOptions] = None)
@overload
def GlobalRouterVpcSubnetV1(resource_name: str,
opts: Optional[ResourceOptions] = None,
cidr: Optional[str] = None,
network_id: Optional[str] = None,
os_subnet_id: Optional[str] = None,
gateway: Optional[str] = None,
global_router_vpc_subnet_v1_id: Optional[str] = None,
name: Optional[str] = None,
service_addresses: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[GlobalRouterVpcSubnetV1TimeoutsArgs] = None)func NewGlobalRouterVpcSubnetV1(ctx *Context, name string, args GlobalRouterVpcSubnetV1Args, opts ...ResourceOption) (*GlobalRouterVpcSubnetV1, error)public GlobalRouterVpcSubnetV1(string name, GlobalRouterVpcSubnetV1Args args, CustomResourceOptions? opts = null)
public GlobalRouterVpcSubnetV1(String name, GlobalRouterVpcSubnetV1Args args)
public GlobalRouterVpcSubnetV1(String name, GlobalRouterVpcSubnetV1Args args, CustomResourceOptions options)
type: selectel:GlobalRouterVpcSubnetV1
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 GlobalRouterVpcSubnetV1Args
- 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 GlobalRouterVpcSubnetV1Args
- 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 GlobalRouterVpcSubnetV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GlobalRouterVpcSubnetV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GlobalRouterVpcSubnetV1Args
- 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 globalRouterVpcSubnetV1Resource = new Selectel.GlobalRouterVpcSubnetV1("globalRouterVpcSubnetV1Resource", new()
{
Cidr = "string",
NetworkId = "string",
OsSubnetId = "string",
Gateway = "string",
GlobalRouterVpcSubnetV1Id = "string",
Name = "string",
ServiceAddresses = new[]
{
"string",
},
Tags = new[]
{
"string",
},
Timeouts = new Selectel.Inputs.GlobalRouterVpcSubnetV1TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := selectel.NewGlobalRouterVpcSubnetV1(ctx, "globalRouterVpcSubnetV1Resource", &selectel.GlobalRouterVpcSubnetV1Args{
Cidr: pulumi.String("string"),
NetworkId: pulumi.String("string"),
OsSubnetId: pulumi.String("string"),
Gateway: pulumi.String("string"),
GlobalRouterVpcSubnetV1Id: pulumi.String("string"),
Name: pulumi.String("string"),
ServiceAddresses: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &selectel.GlobalRouterVpcSubnetV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var globalRouterVpcSubnetV1Resource = new GlobalRouterVpcSubnetV1("globalRouterVpcSubnetV1Resource", GlobalRouterVpcSubnetV1Args.builder()
.cidr("string")
.networkId("string")
.osSubnetId("string")
.gateway("string")
.globalRouterVpcSubnetV1Id("string")
.name("string")
.serviceAddresses("string")
.tags("string")
.timeouts(GlobalRouterVpcSubnetV1TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
global_router_vpc_subnet_v1_resource = selectel.GlobalRouterVpcSubnetV1("globalRouterVpcSubnetV1Resource",
cidr="string",
network_id="string",
os_subnet_id="string",
gateway="string",
global_router_vpc_subnet_v1_id="string",
name="string",
service_addresses=["string"],
tags=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const globalRouterVpcSubnetV1Resource = new selectel.GlobalRouterVpcSubnetV1("globalRouterVpcSubnetV1Resource", {
cidr: "string",
networkId: "string",
osSubnetId: "string",
gateway: "string",
globalRouterVpcSubnetV1Id: "string",
name: "string",
serviceAddresses: ["string"],
tags: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: selectel:GlobalRouterVpcSubnetV1
properties:
cidr: string
gateway: string
globalRouterVpcSubnetV1Id: string
name: string
networkId: string
osSubnetId: string
serviceAddresses:
- string
tags:
- string
timeouts:
create: string
delete: string
update: string
GlobalRouterVpcSubnetV1 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 GlobalRouterVpcSubnetV1 resource accepts the following input properties:
- Cidr string
- Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. 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 cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Os
Subnet stringId - Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. 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 stringVpc Subnet V1Id - Unique identifier of the global router subnet.
- Name string
- Name of the global router subnet. Does not have to match the name of the cloud platform 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>
- List of global router subnet tags.
- Timeouts
Global
Router Vpc Subnet V1Timeouts
- Cidr string
- Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. 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 cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Os
Subnet stringId - Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. 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 stringVpc Subnet V1Id - Unique identifier of the global router subnet.
- Name string
- Name of the global router subnet. Does not have to match the name of the cloud platform 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
- List of global router subnet tags.
- Timeouts
Global
Router Vpc Subnet V1Timeouts Args
- cidr String
- Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. 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 cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- os
Subnet StringId - Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. 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 StringVpc Subnet V1Id - Unique identifier of the global router subnet.
- name String
- Name of the global router subnet. Does not have to match the name of the cloud platform 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>
- List of global router subnet tags.
- timeouts
Global
Router Vpc Subnet V1Timeouts
- cidr string
- Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. 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 cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- os
Subnet stringId - Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. 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 stringVpc Subnet V1Id - Unique identifier of the global router subnet.
- name string
- Name of the global router subnet. Does not have to match the name of the cloud platform 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[]
- List of global router subnet tags.
- timeouts
Global
Router Vpc Subnet V1Timeouts
- cidr str
- Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. 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 cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- os_
subnet_ strid - Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. 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_ strvpc_ subnet_ v1_ id - Unique identifier of the global router subnet.
- name str
- Name of the global router subnet. Does not have to match the name of the cloud platform 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]
- List of global router subnet tags.
- timeouts
Global
Router Vpc Subnet V1Timeouts Args
- cidr String
- Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. 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 cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- os
Subnet StringId - Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. 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 StringVpc Subnet V1Id - Unique identifier of the global router subnet.
- name String
- Name of the global router subnet. Does not have to match the name of the cloud platform 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>
- List of global router subnet tags.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the GlobalRouterVpcSubnetV1 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.
- Project
Id string - Unique identifier of the associated project.
- 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.
- Project
Id string - Unique identifier of the associated project.
- 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.
- project
Id String - Unique identifier of the associated project.
- 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.
- project
Id string - Unique identifier of the associated project.
- 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.
- project_
id str - Unique identifier of the associated project.
- 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.
- project
Id String - Unique identifier of the associated project.
- 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 GlobalRouterVpcSubnetV1 Resource
Get an existing GlobalRouterVpcSubnetV1 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?: GlobalRouterVpcSubnetV1State, opts?: CustomResourceOptions): GlobalRouterVpcSubnetV1@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_vpc_subnet_v1_id: Optional[str] = None,
name: Optional[str] = None,
netops_subnet_id: Optional[str] = None,
network_id: Optional[str] = None,
os_subnet_id: Optional[str] = None,
project_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[GlobalRouterVpcSubnetV1TimeoutsArgs] = None,
updated_at: Optional[str] = None) -> GlobalRouterVpcSubnetV1func GetGlobalRouterVpcSubnetV1(ctx *Context, name string, id IDInput, state *GlobalRouterVpcSubnetV1State, opts ...ResourceOption) (*GlobalRouterVpcSubnetV1, error)public static GlobalRouterVpcSubnetV1 Get(string name, Input<string> id, GlobalRouterVpcSubnetV1State? state, CustomResourceOptions? opts = null)public static GlobalRouterVpcSubnetV1 get(String name, Output<String> id, GlobalRouterVpcSubnetV1State state, CustomResourceOptions options)resources: _: type: selectel:GlobalRouterVpcSubnetV1 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. Retrieved from the openstack_networking_subnet_v2 data source. 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 stringVpc Subnet V1Id - Unique identifier of the global router subnet.
- Name string
- Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
- Netops
Subnet stringId - Option for internal usage.
- Network
Id string - Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Os
Subnet stringId - Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Project
Id string - Unique identifier of the associated project.
- 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>
- List of global router subnet tags.
- Timeouts
Global
Router Vpc 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. Retrieved from the openstack_networking_subnet_v2 data source. 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 stringVpc Subnet V1Id - Unique identifier of the global router subnet.
- Name string
- Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
- Netops
Subnet stringId - Option for internal usage.
- Network
Id string - Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Os
Subnet stringId - Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- Project
Id string - Unique identifier of the associated project.
- 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
- List of global router subnet tags.
- Timeouts
Global
Router Vpc 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. Retrieved from the openstack_networking_subnet_v2 data source. 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 StringVpc Subnet V1Id - Unique identifier of the global router subnet.
- name String
- Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
- netops
Subnet StringId - Option for internal usage.
- network
Id String - Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- os
Subnet StringId - Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- project
Id String - Unique identifier of the associated project.
- 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>
- List of global router subnet tags.
- timeouts
Global
Router Vpc 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. Retrieved from the openstack_networking_subnet_v2 data source. 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 stringVpc Subnet V1Id - Unique identifier of the global router subnet.
- name string
- Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
- netops
Subnet stringId - Option for internal usage.
- network
Id string - Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- os
Subnet stringId - Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- project
Id string - Unique identifier of the associated project.
- 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[]
- List of global router subnet tags.
- timeouts
Global
Router Vpc 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. Retrieved from the openstack_networking_subnet_v2 data source. 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_ strvpc_ subnet_ v1_ id - Unique identifier of the global router subnet.
- name str
- Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
- netops_
subnet_ strid - Option for internal usage.
- network_
id str - Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- os_
subnet_ strid - Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- project_
id str - Unique identifier of the associated project.
- 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]
- List of global router subnet tags.
- timeouts
Global
Router Vpc 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. Retrieved from the openstack_networking_subnet_v2 data source. 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 StringVpc Subnet V1Id - Unique identifier of the global router subnet.
- name String
- Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
- netops
Subnet StringId - Option for internal usage.
- network
Id String - Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- os
Subnet StringId - Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
- project
Id String - Unique identifier of the associated project.
- 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>
- List of global router subnet tags.
- timeouts Property Map
- updated
At String - Time when the global router subnet was updated.
Supporting Types
GlobalRouterVpcSubnetV1Timeouts, GlobalRouterVpcSubnetV1TimeoutsArgs
Package Details
- Repository
- selectel selectel/terraform-provider-selectel
- License
- Notes
- This Pulumi package is based on the
selectelTerraform Provider.
