Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
Regions represent available Gcore cloud data centers with information about supported services and volume types.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const exampleCloudRegions = gcore.getCloudRegions({
displayName: "Luxembourg",
product: "inference",
});
import pulumi
import pulumi_gcore as gcore
example_cloud_regions = gcore.get_cloud_regions(display_name="Luxembourg",
product="inference")
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.GetCloudRegions(ctx, &gcore.GetCloudRegionsArgs{
DisplayName: pulumi.StringRef("Luxembourg"),
Product: pulumi.StringRef("inference"),
}, 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 exampleCloudRegions = Gcore.GetCloudRegions.Invoke(new()
{
DisplayName = "Luxembourg",
Product = "inference",
});
});
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.GetCloudRegionsArgs;
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 exampleCloudRegions = GcoreFunctions.getCloudRegions(GetCloudRegionsArgs.builder()
.displayName("Luxembourg")
.product("inference")
.build());
}
}
variables:
exampleCloudRegions:
fn::invoke:
function: gcore:getCloudRegions
arguments:
displayName: Luxembourg
product: inference
Using getCloudRegions
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 getCloudRegions(args: GetCloudRegionsArgs, opts?: InvokeOptions): Promise<GetCloudRegionsResult>
function getCloudRegionsOutput(args: GetCloudRegionsOutputArgs, opts?: InvokeOptions): Output<GetCloudRegionsResult>def get_cloud_regions(display_name: Optional[str] = None,
max_items: Optional[float] = None,
order_by: Optional[str] = None,
product: Optional[str] = None,
show_volume_types: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudRegionsResult
def get_cloud_regions_output(display_name: Optional[pulumi.Input[str]] = None,
max_items: Optional[pulumi.Input[float]] = None,
order_by: Optional[pulumi.Input[str]] = None,
product: Optional[pulumi.Input[str]] = None,
show_volume_types: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudRegionsResult]func GetCloudRegions(ctx *Context, args *GetCloudRegionsArgs, opts ...InvokeOption) (*GetCloudRegionsResult, error)
func GetCloudRegionsOutput(ctx *Context, args *GetCloudRegionsOutputArgs, opts ...InvokeOption) GetCloudRegionsResultOutput> Note: This function is named GetCloudRegions in the Go SDK.
public static class GetCloudRegions
{
public static Task<GetCloudRegionsResult> InvokeAsync(GetCloudRegionsArgs args, InvokeOptions? opts = null)
public static Output<GetCloudRegionsResult> Invoke(GetCloudRegionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudRegionsResult> getCloudRegions(GetCloudRegionsArgs args, InvokeOptions options)
public static Output<GetCloudRegionsResult> getCloudRegions(GetCloudRegionsArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getCloudRegions:getCloudRegions
arguments:
# arguments dictionaryThe following arguments are supported:
- Display
Name string - Filter regions by display name. Case-insensitive exact match.
- Max
Items double - Max items to fetch, default: 1000
- Order
By string - Order by field and direction. Available values: "createdat.asc", "createdat.desc", "displayname.asc", "displayname.desc".
- Product string
- If defined then return only regions that support given product. Available values: "containers", "inference".
- Show
Volume boolTypes - If true, null
available_volume_typeis replaced with a list of available volume types.
- Display
Name string - Filter regions by display name. Case-insensitive exact match.
- Max
Items float64 - Max items to fetch, default: 1000
- Order
By string - Order by field and direction. Available values: "createdat.asc", "createdat.desc", "displayname.asc", "displayname.desc".
- Product string
- If defined then return only regions that support given product. Available values: "containers", "inference".
- Show
Volume boolTypes - If true, null
available_volume_typeis replaced with a list of available volume types.
- display
Name String - Filter regions by display name. Case-insensitive exact match.
- max
Items Double - Max items to fetch, default: 1000
- order
By String - Order by field and direction. Available values: "createdat.asc", "createdat.desc", "displayname.asc", "displayname.desc".
- product String
- If defined then return only regions that support given product. Available values: "containers", "inference".
- show
Volume BooleanTypes - If true, null
available_volume_typeis replaced with a list of available volume types.
- display
Name string - Filter regions by display name. Case-insensitive exact match.
- max
Items number - Max items to fetch, default: 1000
- order
By string - Order by field and direction. Available values: "createdat.asc", "createdat.desc", "displayname.asc", "displayname.desc".
- product string
- If defined then return only regions that support given product. Available values: "containers", "inference".
- show
Volume booleanTypes - If true, null
available_volume_typeis replaced with a list of available volume types.
- display_
name str - Filter regions by display name. Case-insensitive exact match.
- max_
items float - Max items to fetch, default: 1000
- order_
by str - Order by field and direction. Available values: "createdat.asc", "createdat.desc", "displayname.asc", "displayname.desc".
- product str
- If defined then return only regions that support given product. Available values: "containers", "inference".
- show_
volume_ booltypes - If true, null
available_volume_typeis replaced with a list of available volume types.
- display
Name String - Filter regions by display name. Case-insensitive exact match.
- max
Items Number - Max items to fetch, default: 1000
- order
By String - Order by field and direction. Available values: "createdat.asc", "createdat.desc", "displayname.asc", "displayname.desc".
- product String
- If defined then return only regions that support given product. Available values: "containers", "inference".
- show
Volume BooleanTypes - If true, null
available_volume_typeis replaced with a list of available volume types.
getCloudRegions Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Cloud Regions Item> - The items returned by the data source
- Order
By string - Order by field and direction. Available values: "createdat.asc", "createdat.desc", "displayname.asc", "displayname.desc".
- Show
Volume boolTypes - If true, null
available_volume_typeis replaced with a list of available volume types. - Display
Name string - Filter regions by display name. Case-insensitive exact match.
- Max
Items double - Max items to fetch, default: 1000
- Product string
- If defined then return only regions that support given product. Available values: "containers", "inference".
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Cloud Regions Item - The items returned by the data source
- Order
By string - Order by field and direction. Available values: "createdat.asc", "createdat.desc", "displayname.asc", "displayname.desc".
- Show
Volume boolTypes - If true, null
available_volume_typeis replaced with a list of available volume types. - Display
Name string - Filter regions by display name. Case-insensitive exact match.
- Max
Items float64 - Max items to fetch, default: 1000
- Product string
- If defined then return only regions that support given product. Available values: "containers", "inference".
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Cloud Regions Item> - The items returned by the data source
- order
By String - Order by field and direction. Available values: "createdat.asc", "createdat.desc", "displayname.asc", "displayname.desc".
- show
Volume BooleanTypes - If true, null
available_volume_typeis replaced with a list of available volume types. - display
Name String - Filter regions by display name. Case-insensitive exact match.
- max
Items Double - Max items to fetch, default: 1000
- product String
- If defined then return only regions that support given product. Available values: "containers", "inference".
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Cloud Regions Item[] - The items returned by the data source
- order
By string - Order by field and direction. Available values: "createdat.asc", "createdat.desc", "displayname.asc", "displayname.desc".
- show
Volume booleanTypes - If true, null
available_volume_typeis replaced with a list of available volume types. - display
Name string - Filter regions by display name. Case-insensitive exact match.
- max
Items number - Max items to fetch, default: 1000
- product string
- If defined then return only regions that support given product. Available values: "containers", "inference".
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Cloud Regions Item] - The items returned by the data source
- order_
by str - Order by field and direction. Available values: "createdat.asc", "createdat.desc", "displayname.asc", "displayname.desc".
- show_
volume_ booltypes - If true, null
available_volume_typeis replaced with a list of available volume types. - display_
name str - Filter regions by display name. Case-insensitive exact match.
- max_
items float - Max items to fetch, default: 1000
- product str
- If defined then return only regions that support given product. Available values: "containers", "inference".
- 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 - Order by field and direction. Available values: "createdat.asc", "createdat.desc", "displayname.asc", "displayname.desc".
- show
Volume BooleanTypes - If true, null
available_volume_typeis replaced with a list of available volume types. - display
Name String - Filter regions by display name. Case-insensitive exact match.
- max
Items Number - Max items to fetch, default: 1000
- product String
- If defined then return only regions that support given product. Available values: "containers", "inference".
Supporting Types
GetCloudRegionsItem
- Access
Level string - The access level of the region. Available values: "core", "edge".
- Available
Volume List<string>Types - List of available volume types, 'standard', 'ssd_hiiops', 'cold'].
- Coordinates
Get
Cloud Regions Item Coordinates - Coordinates of the region
- Country string
- Two-letter country code, ISO 3166-1 alpha-2
- Created
At string - Region creation date and time
- Created
On string - This field is deprecated. Use
created_atinstead. - Ddos
Endpoint doubleId - DDoS endpoint ID
- Display
Name string - Human-readable region name
- Endpoint
Type string - Endpoint type Available values: "admin", "internal", "public".
- External
Network stringId - External network ID for Neutron
- List<string>
- List of available file share types
- Has
Ai bool - Region has AI capability
- Has
Ai boolGpu - Region has AI GPU capability
- Has
Baremetal bool - Region has bare metal capability
- Has
Basic boolVm - Region has basic vm capability
- Has
Dbaas bool - Region has DBAAS service
- Has
Ddos bool - Region has Advanced DDoS Protection capability
- Has
K8s bool - Region has managed kubernetes capability
- Has
Kvm bool - Region has KVM virtualization capability
- Has
Sfs bool - Region has SFS capability
- Id double
- Region ID
- Keystone
Id double - Foreign key to Keystone entity
- Keystone
Name string - Technical region name
- Metrics
Database doubleId - Foreign key to Metrics database entity
- State string
- Region state Available values: "ACTIVE", "DELETED", "DELETING", "DELETION_FAILED", "INACTIVE", "MAINTENANCE", "NEW".
- Vlan
Physical stringNetwork - Physical network name to create vlan networks
- Zone string
- Geographical zone Available values: "AMERICAS", "APAC", "EMEA", "RUSSIAANDCIS".
- Access
Level string - The access level of the region. Available values: "core", "edge".
- Available
Volume []stringTypes - List of available volume types, 'standard', 'ssd_hiiops', 'cold'].
- Coordinates
Get
Cloud Regions Item Coordinates - Coordinates of the region
- Country string
- Two-letter country code, ISO 3166-1 alpha-2
- Created
At string - Region creation date and time
- Created
On string - This field is deprecated. Use
created_atinstead. - Ddos
Endpoint float64Id - DDoS endpoint ID
- Display
Name string - Human-readable region name
- Endpoint
Type string - Endpoint type Available values: "admin", "internal", "public".
- External
Network stringId - External network ID for Neutron
- []string
- List of available file share types
- Has
Ai bool - Region has AI capability
- Has
Ai boolGpu - Region has AI GPU capability
- Has
Baremetal bool - Region has bare metal capability
- Has
Basic boolVm - Region has basic vm capability
- Has
Dbaas bool - Region has DBAAS service
- Has
Ddos bool - Region has Advanced DDoS Protection capability
- Has
K8s bool - Region has managed kubernetes capability
- Has
Kvm bool - Region has KVM virtualization capability
- Has
Sfs bool - Region has SFS capability
- Id float64
- Region ID
- Keystone
Id float64 - Foreign key to Keystone entity
- Keystone
Name string - Technical region name
- Metrics
Database float64Id - Foreign key to Metrics database entity
- State string
- Region state Available values: "ACTIVE", "DELETED", "DELETING", "DELETION_FAILED", "INACTIVE", "MAINTENANCE", "NEW".
- Vlan
Physical stringNetwork - Physical network name to create vlan networks
- Zone string
- Geographical zone Available values: "AMERICAS", "APAC", "EMEA", "RUSSIAANDCIS".
- access
Level String - The access level of the region. Available values: "core", "edge".
- available
Volume List<String>Types - List of available volume types, 'standard', 'ssd_hiiops', 'cold'].
- coordinates
Get
Cloud Regions Item Coordinates - Coordinates of the region
- country String
- Two-letter country code, ISO 3166-1 alpha-2
- created
At String - Region creation date and time
- created
On String - This field is deprecated. Use
created_atinstead. - ddos
Endpoint DoubleId - DDoS endpoint ID
- display
Name String - Human-readable region name
- endpoint
Type String - Endpoint type Available values: "admin", "internal", "public".
- external
Network StringId - External network ID for Neutron
- List<String>
- List of available file share types
- has
Ai Boolean - Region has AI capability
- has
Ai BooleanGpu - Region has AI GPU capability
- has
Baremetal Boolean - Region has bare metal capability
- has
Basic BooleanVm - Region has basic vm capability
- has
Dbaas Boolean - Region has DBAAS service
- has
Ddos Boolean - Region has Advanced DDoS Protection capability
- has
K8s Boolean - Region has managed kubernetes capability
- has
Kvm Boolean - Region has KVM virtualization capability
- has
Sfs Boolean - Region has SFS capability
- id Double
- Region ID
- keystone
Id Double - Foreign key to Keystone entity
- keystone
Name String - Technical region name
- metrics
Database DoubleId - Foreign key to Metrics database entity
- state String
- Region state Available values: "ACTIVE", "DELETED", "DELETING", "DELETION_FAILED", "INACTIVE", "MAINTENANCE", "NEW".
- vlan
Physical StringNetwork - Physical network name to create vlan networks
- zone String
- Geographical zone Available values: "AMERICAS", "APAC", "EMEA", "RUSSIAANDCIS".
- access
Level string - The access level of the region. Available values: "core", "edge".
- available
Volume string[]Types - List of available volume types, 'standard', 'ssd_hiiops', 'cold'].
- coordinates
Get
Cloud Regions Item Coordinates - Coordinates of the region
- country string
- Two-letter country code, ISO 3166-1 alpha-2
- created
At string - Region creation date and time
- created
On string - This field is deprecated. Use
created_atinstead. - ddos
Endpoint numberId - DDoS endpoint ID
- display
Name string - Human-readable region name
- endpoint
Type string - Endpoint type Available values: "admin", "internal", "public".
- external
Network stringId - External network ID for Neutron
- string[]
- List of available file share types
- has
Ai boolean - Region has AI capability
- has
Ai booleanGpu - Region has AI GPU capability
- has
Baremetal boolean - Region has bare metal capability
- has
Basic booleanVm - Region has basic vm capability
- has
Dbaas boolean - Region has DBAAS service
- has
Ddos boolean - Region has Advanced DDoS Protection capability
- has
K8s boolean - Region has managed kubernetes capability
- has
Kvm boolean - Region has KVM virtualization capability
- has
Sfs boolean - Region has SFS capability
- id number
- Region ID
- keystone
Id number - Foreign key to Keystone entity
- keystone
Name string - Technical region name
- metrics
Database numberId - Foreign key to Metrics database entity
- state string
- Region state Available values: "ACTIVE", "DELETED", "DELETING", "DELETION_FAILED", "INACTIVE", "MAINTENANCE", "NEW".
- vlan
Physical stringNetwork - Physical network name to create vlan networks
- zone string
- Geographical zone Available values: "AMERICAS", "APAC", "EMEA", "RUSSIAANDCIS".
- access_
level str - The access level of the region. Available values: "core", "edge".
- available_
volume_ Sequence[str]types - List of available volume types, 'standard', 'ssd_hiiops', 'cold'].
- coordinates
Get
Cloud Regions Item Coordinates - Coordinates of the region
- country str
- Two-letter country code, ISO 3166-1 alpha-2
- created_
at str - Region creation date and time
- created_
on str - This field is deprecated. Use
created_atinstead. - ddos_
endpoint_ floatid - DDoS endpoint ID
- display_
name str - Human-readable region name
- endpoint_
type str - Endpoint type Available values: "admin", "internal", "public".
- external_
network_ strid - External network ID for Neutron
- Sequence[str]
- List of available file share types
- has_
ai bool - Region has AI capability
- has_
ai_ boolgpu - Region has AI GPU capability
- has_
baremetal bool - Region has bare metal capability
- has_
basic_ boolvm - Region has basic vm capability
- has_
dbaas bool - Region has DBAAS service
- has_
ddos bool - Region has Advanced DDoS Protection capability
- has_
k8s bool - Region has managed kubernetes capability
- has_
kvm bool - Region has KVM virtualization capability
- has_
sfs bool - Region has SFS capability
- id float
- Region ID
- keystone_
id float - Foreign key to Keystone entity
- keystone_
name str - Technical region name
- metrics_
database_ floatid - Foreign key to Metrics database entity
- state str
- Region state Available values: "ACTIVE", "DELETED", "DELETING", "DELETION_FAILED", "INACTIVE", "MAINTENANCE", "NEW".
- vlan_
physical_ strnetwork - Physical network name to create vlan networks
- zone str
- Geographical zone Available values: "AMERICAS", "APAC", "EMEA", "RUSSIAANDCIS".
- access
Level String - The access level of the region. Available values: "core", "edge".
- available
Volume List<String>Types - List of available volume types, 'standard', 'ssd_hiiops', 'cold'].
- coordinates Property Map
- Coordinates of the region
- country String
- Two-letter country code, ISO 3166-1 alpha-2
- created
At String - Region creation date and time
- created
On String - This field is deprecated. Use
created_atinstead. - ddos
Endpoint NumberId - DDoS endpoint ID
- display
Name String - Human-readable region name
- endpoint
Type String - Endpoint type Available values: "admin", "internal", "public".
- external
Network StringId - External network ID for Neutron
- List<String>
- List of available file share types
- has
Ai Boolean - Region has AI capability
- has
Ai BooleanGpu - Region has AI GPU capability
- has
Baremetal Boolean - Region has bare metal capability
- has
Basic BooleanVm - Region has basic vm capability
- has
Dbaas Boolean - Region has DBAAS service
- has
Ddos Boolean - Region has Advanced DDoS Protection capability
- has
K8s Boolean - Region has managed kubernetes capability
- has
Kvm Boolean - Region has KVM virtualization capability
- has
Sfs Boolean - Region has SFS capability
- id Number
- Region ID
- keystone
Id Number - Foreign key to Keystone entity
- keystone
Name String - Technical region name
- metrics
Database NumberId - Foreign key to Metrics database entity
- state String
- Region state Available values: "ACTIVE", "DELETED", "DELETING", "DELETION_FAILED", "INACTIVE", "MAINTENANCE", "NEW".
- vlan
Physical StringNetwork - Physical network name to create vlan networks
- zone String
- Geographical zone Available values: "AMERICAS", "APAC", "EMEA", "RUSSIAANDCIS".
GetCloudRegionsItemCoordinates
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.2
published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
