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 exampleCloudRegion = gcore.getCloudRegion({
regionId: 11,
showVolumeTypes: false,
});
import pulumi
import pulumi_gcore as gcore
example_cloud_region = gcore.get_cloud_region(region_id=11,
show_volume_types=False)
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.GetCloudRegion(ctx, &gcore.GetCloudRegionArgs{
RegionId: pulumi.Float64Ref(11),
ShowVolumeTypes: pulumi.BoolRef(false),
}, 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 exampleCloudRegion = Gcore.GetCloudRegion.Invoke(new()
{
RegionId = 11,
ShowVolumeTypes = false,
});
});
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.GetCloudRegionArgs;
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 exampleCloudRegion = GcoreFunctions.getCloudRegion(GetCloudRegionArgs.builder()
.regionId(11)
.showVolumeTypes(false)
.build());
}
}
variables:
exampleCloudRegion:
fn::invoke:
function: gcore:getCloudRegion
arguments:
regionId: 11
showVolumeTypes: false
Using getCloudRegion
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 getCloudRegion(args: GetCloudRegionArgs, opts?: InvokeOptions): Promise<GetCloudRegionResult>
function getCloudRegionOutput(args: GetCloudRegionOutputArgs, opts?: InvokeOptions): Output<GetCloudRegionResult>def get_cloud_region(region_id: Optional[float] = None,
show_volume_types: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudRegionResult
def get_cloud_region_output(region_id: Optional[pulumi.Input[float]] = None,
show_volume_types: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudRegionResult]func GetCloudRegion(ctx *Context, args *GetCloudRegionArgs, opts ...InvokeOption) (*GetCloudRegionResult, error)
func GetCloudRegionOutput(ctx *Context, args *GetCloudRegionOutputArgs, opts ...InvokeOption) GetCloudRegionResultOutput> Note: This function is named GetCloudRegion in the Go SDK.
public static class GetCloudRegion
{
public static Task<GetCloudRegionResult> InvokeAsync(GetCloudRegionArgs args, InvokeOptions? opts = null)
public static Output<GetCloudRegionResult> Invoke(GetCloudRegionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudRegionResult> getCloudRegion(GetCloudRegionArgs args, InvokeOptions options)
public static Output<GetCloudRegionResult> getCloudRegion(GetCloudRegionArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getCloudRegion:getCloudRegion
arguments:
# arguments dictionaryThe following arguments are supported:
- Region
Id double - Region ID
- Show
Volume boolTypes - If true, null
available_volume_typeis replaced with a list of available volume types.
- Region
Id float64 - Region ID
- Show
Volume boolTypes - If true, null
available_volume_typeis replaced with a list of available volume types.
- region
Id Double - Region ID
- show
Volume BooleanTypes - If true, null
available_volume_typeis replaced with a list of available volume types.
- region
Id number - Region ID
- show
Volume booleanTypes - If true, null
available_volume_typeis replaced with a list of available volume types.
- region_
id float - Region ID
- show_
volume_ booltypes - If true, null
available_volume_typeis replaced with a list of available volume types.
- region
Id Number - Region ID
- show
Volume BooleanTypes - If true, null
available_volume_typeis replaced with a list of available volume types.
getCloudRegion Result
The following output properties are available:
- 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 Region 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
- Show
Volume boolTypes - If true, null
available_volume_typeis replaced with a list of available volume types. - 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".
- Region
Id double - Region ID
- 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 Region 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
- Show
Volume boolTypes - If true, null
available_volume_typeis replaced with a list of available volume types. - 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".
- Region
Id float64 - Region ID
- 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 Region 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
- show
Volume BooleanTypes - If true, null
available_volume_typeis replaced with a list of available volume types. - 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".
- region
Id Double - Region ID
- 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 Region 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
- show
Volume booleanTypes - If true, null
available_volume_typeis replaced with a list of available volume types. - 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".
- region
Id number - Region ID
- 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 Region 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
- show_
volume_ booltypes - If true, null
available_volume_typeis replaced with a list of available volume types. - 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".
- region_
id float - Region ID
- 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
- show
Volume BooleanTypes - If true, null
available_volume_typeis replaced with a list of available volume types. - 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".
- region
Id Number - Region ID
Supporting Types
GetCloudRegionCoordinates
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
