Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
published on Monday, Mar 30, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
published on Monday, Mar 30, 2026 by g-core
Subnets define IP address ranges within a network for instance connectivity, with support for DHCP and DNS configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const exampleCloudNetworkSubnets = gcore.getCloudNetworkSubnets({
projectId: 1,
regionId: 1,
networkId: "b30d0de7-bca2-4c83-9c57-9e645bd2cc92",
tagKeys: [
"key1",
"key2",
],
tagKeyValue: "tag_key_value",
});
import pulumi
import pulumi_gcore as gcore
example_cloud_network_subnets = gcore.get_cloud_network_subnets(project_id=1,
region_id=1,
network_id="b30d0de7-bca2-4c83-9c57-9e645bd2cc92",
tag_keys=[
"key1",
"key2",
],
tag_key_value="tag_key_value")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gcore.GetCloudNetworkSubnets(ctx, &gcore.GetCloudNetworkSubnetsArgs{
ProjectId: pulumi.Float64Ref(1),
RegionId: pulumi.Float64Ref(1),
NetworkId: pulumi.StringRef("b30d0de7-bca2-4c83-9c57-9e645bd2cc92"),
TagKeys: []string{
"key1",
"key2",
},
TagKeyValue: pulumi.StringRef("tag_key_value"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcore = Pulumi.Gcore;
return await Deployment.RunAsync(() =>
{
var exampleCloudNetworkSubnets = Gcore.GetCloudNetworkSubnets.Invoke(new()
{
ProjectId = 1,
RegionId = 1,
NetworkId = "b30d0de7-bca2-4c83-9c57-9e645bd2cc92",
TagKeys = new[]
{
"key1",
"key2",
},
TagKeyValue = "tag_key_value",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.GcoreFunctions;
import com.pulumi.gcore.inputs.GetCloudNetworkSubnetsArgs;
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) {
final var exampleCloudNetworkSubnets = GcoreFunctions.getCloudNetworkSubnets(GetCloudNetworkSubnetsArgs.builder()
.projectId(1)
.regionId(1)
.networkId("b30d0de7-bca2-4c83-9c57-9e645bd2cc92")
.tagKeys(
"key1",
"key2")
.tagKeyValue("tag_key_value")
.build());
}
}
variables:
exampleCloudNetworkSubnets:
fn::invoke:
function: gcore:getCloudNetworkSubnets
arguments:
projectId: 1
regionId: 1
networkId: b30d0de7-bca2-4c83-9c57-9e645bd2cc92
tagKeys:
- key1
- key2
tagKeyValue: tag_key_value
Using getCloudNetworkSubnets
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCloudNetworkSubnets(args: GetCloudNetworkSubnetsArgs, opts?: InvokeOptions): Promise<GetCloudNetworkSubnetsResult>
function getCloudNetworkSubnetsOutput(args: GetCloudNetworkSubnetsOutputArgs, opts?: InvokeOptions): Output<GetCloudNetworkSubnetsResult>def get_cloud_network_subnets(max_items: Optional[float] = None,
network_id: Optional[str] = None,
order_by: Optional[str] = None,
owned_by: Optional[str] = None,
project_id: Optional[float] = None,
region_id: Optional[float] = None,
tag_key_value: Optional[str] = None,
tag_keys: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudNetworkSubnetsResult
def get_cloud_network_subnets_output(max_items: Optional[pulumi.Input[float]] = None,
network_id: Optional[pulumi.Input[str]] = None,
order_by: Optional[pulumi.Input[str]] = None,
owned_by: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[float]] = None,
region_id: Optional[pulumi.Input[float]] = None,
tag_key_value: Optional[pulumi.Input[str]] = None,
tag_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudNetworkSubnetsResult]func GetCloudNetworkSubnets(ctx *Context, args *GetCloudNetworkSubnetsArgs, opts ...InvokeOption) (*GetCloudNetworkSubnetsResult, error)
func GetCloudNetworkSubnetsOutput(ctx *Context, args *GetCloudNetworkSubnetsOutputArgs, opts ...InvokeOption) GetCloudNetworkSubnetsResultOutput> Note: This function is named GetCloudNetworkSubnets in the Go SDK.
public static class GetCloudNetworkSubnets
{
public static Task<GetCloudNetworkSubnetsResult> InvokeAsync(GetCloudNetworkSubnetsArgs args, InvokeOptions? opts = null)
public static Output<GetCloudNetworkSubnetsResult> Invoke(GetCloudNetworkSubnetsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudNetworkSubnetsResult> getCloudNetworkSubnets(GetCloudNetworkSubnetsArgs args, InvokeOptions options)
public static Output<GetCloudNetworkSubnetsResult> getCloudNetworkSubnets(GetCloudNetworkSubnetsArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getCloudNetworkSubnets:getCloudNetworkSubnets
arguments:
# arguments dictionaryThe following arguments are supported:
- Max
Items double - Max items to fetch, default: 1000
- Network
Id string - Only list subnets of this network
- Order
By string - Ordering subnets list result by
name,created_at,updated_at,available_ips,total_ips, andcidr(default) fields of the subnet and directions (name.asc). Available values: "availableips.asc", "availableips.desc", "cidr.asc", "cidr.desc", "createdat.asc", "createdat.desc", "name.asc", "name.desc", "totalips.asc", "totalips.desc", "updatedat.asc", "updatedat.desc". - Owned
By string - Controls which subnets are returned. 'project' (default) returns only subnets owned by the project. 'any' returns all subnets from networks available to the project, including subnets from shared networks. Available values: "any", "project".
- Project
Id double - Project ID
- Region
Id double - Region ID
- Tag
Key stringValue - Optional. Filter by tag key-value pairs.
- Tag
Keys List<string> - Optional. Filter by tag keys. ?
tag_key=key1&tag_key=key2
- Max
Items float64 - Max items to fetch, default: 1000
- Network
Id string - Only list subnets of this network
- Order
By string - Ordering subnets list result by
name,created_at,updated_at,available_ips,total_ips, andcidr(default) fields of the subnet and directions (name.asc). Available values: "availableips.asc", "availableips.desc", "cidr.asc", "cidr.desc", "createdat.asc", "createdat.desc", "name.asc", "name.desc", "totalips.asc", "totalips.desc", "updatedat.asc", "updatedat.desc". - Owned
By string - Controls which subnets are returned. 'project' (default) returns only subnets owned by the project. 'any' returns all subnets from networks available to the project, including subnets from shared networks. Available values: "any", "project".
- Project
Id float64 - Project ID
- Region
Id float64 - Region ID
- Tag
Key stringValue - Optional. Filter by tag key-value pairs.
- Tag
Keys []string - Optional. Filter by tag keys. ?
tag_key=key1&tag_key=key2
- max
Items Double - Max items to fetch, default: 1000
- network
Id String - Only list subnets of this network
- order
By String - Ordering subnets list result by
name,created_at,updated_at,available_ips,total_ips, andcidr(default) fields of the subnet and directions (name.asc). Available values: "availableips.asc", "availableips.desc", "cidr.asc", "cidr.desc", "createdat.asc", "createdat.desc", "name.asc", "name.desc", "totalips.asc", "totalips.desc", "updatedat.asc", "updatedat.desc". - owned
By String - Controls which subnets are returned. 'project' (default) returns only subnets owned by the project. 'any' returns all subnets from networks available to the project, including subnets from shared networks. Available values: "any", "project".
- project
Id Double - Project ID
- region
Id Double - Region ID
- tag
Key StringValue - Optional. Filter by tag key-value pairs.
- tag
Keys List<String> - Optional. Filter by tag keys. ?
tag_key=key1&tag_key=key2
- max
Items number - Max items to fetch, default: 1000
- network
Id string - Only list subnets of this network
- order
By string - Ordering subnets list result by
name,created_at,updated_at,available_ips,total_ips, andcidr(default) fields of the subnet and directions (name.asc). Available values: "availableips.asc", "availableips.desc", "cidr.asc", "cidr.desc", "createdat.asc", "createdat.desc", "name.asc", "name.desc", "totalips.asc", "totalips.desc", "updatedat.asc", "updatedat.desc". - owned
By string - Controls which subnets are returned. 'project' (default) returns only subnets owned by the project. 'any' returns all subnets from networks available to the project, including subnets from shared networks. Available values: "any", "project".
- project
Id number - Project ID
- region
Id number - Region ID
- tag
Key stringValue - Optional. Filter by tag key-value pairs.
- tag
Keys string[] - Optional. Filter by tag keys. ?
tag_key=key1&tag_key=key2
- max_
items float - Max items to fetch, default: 1000
- network_
id str - Only list subnets of this network
- order_
by str - Ordering subnets list result by
name,created_at,updated_at,available_ips,total_ips, andcidr(default) fields of the subnet and directions (name.asc). Available values: "availableips.asc", "availableips.desc", "cidr.asc", "cidr.desc", "createdat.asc", "createdat.desc", "name.asc", "name.desc", "totalips.asc", "totalips.desc", "updatedat.asc", "updatedat.desc". - owned_
by str - Controls which subnets are returned. 'project' (default) returns only subnets owned by the project. 'any' returns all subnets from networks available to the project, including subnets from shared networks. Available values: "any", "project".
- project_
id float - Project ID
- region_
id float - Region ID
- tag_
key_ strvalue - Optional. Filter by tag key-value pairs.
- tag_
keys Sequence[str] - Optional. Filter by tag keys. ?
tag_key=key1&tag_key=key2
- max
Items Number - Max items to fetch, default: 1000
- network
Id String - Only list subnets of this network
- order
By String - Ordering subnets list result by
name,created_at,updated_at,available_ips,total_ips, andcidr(default) fields of the subnet and directions (name.asc). Available values: "availableips.asc", "availableips.desc", "cidr.asc", "cidr.desc", "createdat.asc", "createdat.desc", "name.asc", "name.desc", "totalips.asc", "totalips.desc", "updatedat.asc", "updatedat.desc". - owned
By String - Controls which subnets are returned. 'project' (default) returns only subnets owned by the project. 'any' returns all subnets from networks available to the project, including subnets from shared networks. Available values: "any", "project".
- project
Id Number - Project ID
- region
Id Number - Region ID
- tag
Key StringValue - Optional. Filter by tag key-value pairs.
- tag
Keys List<String> - Optional. Filter by tag keys. ?
tag_key=key1&tag_key=key2
getCloudNetworkSubnets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Cloud Network Subnets Item> - The items returned by the data source
- Order
By string - Ordering subnets list result by
name,created_at,updated_at,available_ips,total_ips, andcidr(default) fields of the subnet and directions (name.asc). Available values: "availableips.asc", "availableips.desc", "cidr.asc", "cidr.desc", "createdat.asc", "createdat.desc", "name.asc", "name.desc", "totalips.asc", "totalips.desc", "updatedat.asc", "updatedat.desc". - Owned
By string - Controls which subnets are returned. 'project' (default) returns only subnets owned by the project. 'any' returns all subnets from networks available to the project, including subnets from shared networks. Available values: "any", "project".
- Max
Items double - Max items to fetch, default: 1000
- Network
Id string - Only list subnets of this network
- Project
Id double - Project ID
- Region
Id double - Region ID
- Tag
Key stringValue - Optional. Filter by tag key-value pairs.
- Tag
Keys List<string> - Optional. Filter by tag keys. ?
tag_key=key1&tag_key=key2
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Cloud Network Subnets Item - The items returned by the data source
- Order
By string - Ordering subnets list result by
name,created_at,updated_at,available_ips,total_ips, andcidr(default) fields of the subnet and directions (name.asc). Available values: "availableips.asc", "availableips.desc", "cidr.asc", "cidr.desc", "createdat.asc", "createdat.desc", "name.asc", "name.desc", "totalips.asc", "totalips.desc", "updatedat.asc", "updatedat.desc". - Owned
By string - Controls which subnets are returned. 'project' (default) returns only subnets owned by the project. 'any' returns all subnets from networks available to the project, including subnets from shared networks. Available values: "any", "project".
- Max
Items float64 - Max items to fetch, default: 1000
- Network
Id string - Only list subnets of this network
- Project
Id float64 - Project ID
- Region
Id float64 - Region ID
- Tag
Key stringValue - Optional. Filter by tag key-value pairs.
- Tag
Keys []string - Optional. Filter by tag keys. ?
tag_key=key1&tag_key=key2
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Cloud Network Subnets Item> - The items returned by the data source
- order
By String - Ordering subnets list result by
name,created_at,updated_at,available_ips,total_ips, andcidr(default) fields of the subnet and directions (name.asc). Available values: "availableips.asc", "availableips.desc", "cidr.asc", "cidr.desc", "createdat.asc", "createdat.desc", "name.asc", "name.desc", "totalips.asc", "totalips.desc", "updatedat.asc", "updatedat.desc". - owned
By String - Controls which subnets are returned. 'project' (default) returns only subnets owned by the project. 'any' returns all subnets from networks available to the project, including subnets from shared networks. Available values: "any", "project".
- max
Items Double - Max items to fetch, default: 1000
- network
Id String - Only list subnets of this network
- project
Id Double - Project ID
- region
Id Double - Region ID
- tag
Key StringValue - Optional. Filter by tag key-value pairs.
- tag
Keys List<String> - Optional. Filter by tag keys. ?
tag_key=key1&tag_key=key2
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Cloud Network Subnets Item[] - The items returned by the data source
- order
By string - Ordering subnets list result by
name,created_at,updated_at,available_ips,total_ips, andcidr(default) fields of the subnet and directions (name.asc). Available values: "availableips.asc", "availableips.desc", "cidr.asc", "cidr.desc", "createdat.asc", "createdat.desc", "name.asc", "name.desc", "totalips.asc", "totalips.desc", "updatedat.asc", "updatedat.desc". - owned
By string - Controls which subnets are returned. 'project' (default) returns only subnets owned by the project. 'any' returns all subnets from networks available to the project, including subnets from shared networks. Available values: "any", "project".
- max
Items number - Max items to fetch, default: 1000
- network
Id string - Only list subnets of this network
- project
Id number - Project ID
- region
Id number - Region ID
- tag
Key stringValue - Optional. Filter by tag key-value pairs.
- tag
Keys string[] - Optional. Filter by tag keys. ?
tag_key=key1&tag_key=key2
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Cloud Network Subnets Item] - The items returned by the data source
- order_
by str - Ordering subnets list result by
name,created_at,updated_at,available_ips,total_ips, andcidr(default) fields of the subnet and directions (name.asc). Available values: "availableips.asc", "availableips.desc", "cidr.asc", "cidr.desc", "createdat.asc", "createdat.desc", "name.asc", "name.desc", "totalips.asc", "totalips.desc", "updatedat.asc", "updatedat.desc". - owned_
by str - Controls which subnets are returned. 'project' (default) returns only subnets owned by the project. 'any' returns all subnets from networks available to the project, including subnets from shared networks. Available values: "any", "project".
- max_
items float - Max items to fetch, default: 1000
- network_
id str - Only list subnets of this network
- project_
id float - Project ID
- region_
id float - Region ID
- tag_
key_ strvalue - Optional. Filter by tag key-value pairs.
- tag_
keys Sequence[str] - Optional. Filter by tag keys. ?
tag_key=key1&tag_key=key2
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- The items returned by the data source
- order
By String - Ordering subnets list result by
name,created_at,updated_at,available_ips,total_ips, andcidr(default) fields of the subnet and directions (name.asc). Available values: "availableips.asc", "availableips.desc", "cidr.asc", "cidr.desc", "createdat.asc", "createdat.desc", "name.asc", "name.desc", "totalips.asc", "totalips.desc", "updatedat.asc", "updatedat.desc". - owned
By String - Controls which subnets are returned. 'project' (default) returns only subnets owned by the project. 'any' returns all subnets from networks available to the project, including subnets from shared networks. Available values: "any", "project".
- max
Items Number - Max items to fetch, default: 1000
- network
Id String - Only list subnets of this network
- project
Id Number - Project ID
- region
Id Number - Region ID
- tag
Key StringValue - Optional. Filter by tag key-value pairs.
- tag
Keys List<String> - Optional. Filter by tag keys. ?
tag_key=key1&tag_key=key2
Supporting Types
GetCloudNetworkSubnetsItem
- Available
Ips double - Number of available ips in subnet
- Cidr string
- CIDR
- Created
At string - Datetime when the subnet was created
- Creator
Task stringId - Task that created this entity
- Dns
Nameservers List<string> - List IP addresses of a DNS resolver reachable from the network
- Enable
Dhcp bool - True if DHCP should be enabled
- Gateway
Ip string - Default GW IPv4 address, advertised in DHCP routes of this subnet. If null, no gateway is advertised by this subnet.
- Has
Router bool - Deprecated. Always returns
false. - Host
Routes List<GetCloud Network Subnets Item Host Route> - List of custom static routes to advertise via DHCP.
- Id string
- Subnet id.
- Ip
Version double - IP version Available values: 4, 6.
- Name string
- Subnet name
- Network
Id string - Network ID
- Project
Id double - Project ID
- Region string
- Region name
- Region
Id double - Region ID
-
List<Get
Cloud Network Subnets Item Tag> - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- Total
Ips double - Total number of ips in subnet
- Updated
At string - Datetime when the subnet was last updated
- Available
Ips float64 - Number of available ips in subnet
- Cidr string
- CIDR
- Created
At string - Datetime when the subnet was created
- Creator
Task stringId - Task that created this entity
- Dns
Nameservers []string - List IP addresses of a DNS resolver reachable from the network
- Enable
Dhcp bool - True if DHCP should be enabled
- Gateway
Ip string - Default GW IPv4 address, advertised in DHCP routes of this subnet. If null, no gateway is advertised by this subnet.
- Has
Router bool - Deprecated. Always returns
false. - Host
Routes []GetCloud Network Subnets Item Host Route - List of custom static routes to advertise via DHCP.
- Id string
- Subnet id.
- Ip
Version float64 - IP version Available values: 4, 6.
- Name string
- Subnet name
- Network
Id string - Network ID
- Project
Id float64 - Project ID
- Region string
- Region name
- Region
Id float64 - Region ID
-
[]Get
Cloud Network Subnets Item Tag - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- Total
Ips float64 - Total number of ips in subnet
- Updated
At string - Datetime when the subnet was last updated
- available
Ips Double - Number of available ips in subnet
- cidr String
- CIDR
- created
At String - Datetime when the subnet was created
- creator
Task StringId - Task that created this entity
- dns
Nameservers List<String> - List IP addresses of a DNS resolver reachable from the network
- enable
Dhcp Boolean - True if DHCP should be enabled
- gateway
Ip String - Default GW IPv4 address, advertised in DHCP routes of this subnet. If null, no gateway is advertised by this subnet.
- has
Router Boolean - Deprecated. Always returns
false. - host
Routes List<GetCloud Network Subnets Item Host Route> - List of custom static routes to advertise via DHCP.
- id String
- Subnet id.
- ip
Version Double - IP version Available values: 4, 6.
- name String
- Subnet name
- network
Id String - Network ID
- project
Id Double - Project ID
- region String
- Region name
- region
Id Double - Region ID
-
List<Get
Cloud Network Subnets Item Tag> - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- total
Ips Double - Total number of ips in subnet
- updated
At String - Datetime when the subnet was last updated
- available
Ips number - Number of available ips in subnet
- cidr string
- CIDR
- created
At string - Datetime when the subnet was created
- creator
Task stringId - Task that created this entity
- dns
Nameservers string[] - List IP addresses of a DNS resolver reachable from the network
- enable
Dhcp boolean - True if DHCP should be enabled
- gateway
Ip string - Default GW IPv4 address, advertised in DHCP routes of this subnet. If null, no gateway is advertised by this subnet.
- has
Router boolean - Deprecated. Always returns
false. - host
Routes GetCloud Network Subnets Item Host Route[] - List of custom static routes to advertise via DHCP.
- id string
- Subnet id.
- ip
Version number - IP version Available values: 4, 6.
- name string
- Subnet name
- network
Id string - Network ID
- project
Id number - Project ID
- region string
- Region name
- region
Id number - Region ID
-
Get
Cloud Network Subnets Item Tag[] - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- total
Ips number - Total number of ips in subnet
- updated
At string - Datetime when the subnet was last updated
- available_
ips float - Number of available ips in subnet
- cidr str
- CIDR
- created_
at str - Datetime when the subnet was created
- creator_
task_ strid - Task that created this entity
- dns_
nameservers Sequence[str] - List IP addresses of a DNS resolver reachable from the network
- enable_
dhcp bool - True if DHCP should be enabled
- gateway_
ip str - Default GW IPv4 address, advertised in DHCP routes of this subnet. If null, no gateway is advertised by this subnet.
- has_
router bool - Deprecated. Always returns
false. - host_
routes Sequence[GetCloud Network Subnets Item Host Route] - List of custom static routes to advertise via DHCP.
- id str
- Subnet id.
- ip_
version float - IP version Available values: 4, 6.
- name str
- Subnet name
- network_
id str - Network ID
- project_
id float - Project ID
- region str
- Region name
- region_
id float - Region ID
-
Sequence[Get
Cloud Network Subnets Item Tag] - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- total_
ips float - Total number of ips in subnet
- updated_
at str - Datetime when the subnet was last updated
- available
Ips Number - Number of available ips in subnet
- cidr String
- CIDR
- created
At String - Datetime when the subnet was created
- creator
Task StringId - Task that created this entity
- dns
Nameservers List<String> - List IP addresses of a DNS resolver reachable from the network
- enable
Dhcp Boolean - True if DHCP should be enabled
- gateway
Ip String - Default GW IPv4 address, advertised in DHCP routes of this subnet. If null, no gateway is advertised by this subnet.
- has
Router Boolean - Deprecated. Always returns
false. - host
Routes List<Property Map> - List of custom static routes to advertise via DHCP.
- id String
- Subnet id.
- ip
Version Number - IP version Available values: 4, 6.
- name String
- Subnet name
- network
Id String - Network ID
- project
Id Number - Project ID
- region String
- Region name
- region
Id Number - Region ID
- List<Property Map>
- List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- total
Ips Number - Total number of ips in subnet
- updated
At String - Datetime when the subnet was last updated
GetCloudNetworkSubnetsItemHostRoute
- Destination string
- CIDR of destination IPv4 or IPv6 subnet.
- Nexthop string
- IPv4 or IPv6 address to forward traffic to if it's destination IP matches 'destination' CIDR.
- Destination string
- CIDR of destination IPv4 or IPv6 subnet.
- Nexthop string
- IPv4 or IPv6 address to forward traffic to if it's destination IP matches 'destination' CIDR.
- destination String
- CIDR of destination IPv4 or IPv6 subnet.
- nexthop String
- IPv4 or IPv6 address to forward traffic to if it's destination IP matches 'destination' CIDR.
- destination string
- CIDR of destination IPv4 or IPv6 subnet.
- nexthop string
- IPv4 or IPv6 address to forward traffic to if it's destination IP matches 'destination' CIDR.
- destination str
- CIDR of destination IPv4 or IPv6 subnet.
- nexthop str
- IPv4 or IPv6 address to forward traffic to if it's destination IP matches 'destination' CIDR.
- destination String
- CIDR of destination IPv4 or IPv6 subnet.
- nexthop String
- IPv4 or IPv6 address to forward traffic to if it's destination IP matches 'destination' CIDR.
GetCloudNetworkSubnetsItemTag
- Key string
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- Read
Only bool - If true, the tag is read-only and cannot be modified by the user
- Value string
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- Key string
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- Read
Only bool - If true, the tag is read-only and cannot be modified by the user
- Value string
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- key String
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- read
Only Boolean - If true, the tag is read-only and cannot be modified by the user
- value String
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- key string
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- read
Only boolean - If true, the tag is read-only and cannot be modified by the user
- value string
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- key str
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- read_
only bool - If true, the tag is read-only and cannot be modified by the user
- value str
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- key String
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- read
Only Boolean - If true, the tag is read-only and cannot be modified by the user
- value String
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
published on Monday, Mar 30, 2026 by g-core
