1. Packages
  2. Gcore Provider
  3. API Docs
  4. getCloudRegion
Viewing docs for gcore 2.0.0-alpha.3
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

    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 dictionary

    The following arguments are supported:

    RegionId double
    Region ID
    ShowVolumeTypes bool
    If true, null available_volume_type is replaced with a list of available volume types.
    RegionId float64
    Region ID
    ShowVolumeTypes bool
    If true, null available_volume_type is replaced with a list of available volume types.
    regionId Double
    Region ID
    showVolumeTypes Boolean
    If true, null available_volume_type is replaced with a list of available volume types.
    regionId number
    Region ID
    showVolumeTypes boolean
    If true, null available_volume_type is replaced with a list of available volume types.
    region_id float
    Region ID
    show_volume_types bool
    If true, null available_volume_type is replaced with a list of available volume types.
    regionId Number
    Region ID
    showVolumeTypes Boolean
    If true, null available_volume_type is replaced with a list of available volume types.

    getCloudRegion Result

    The following output properties are available:

    AccessLevel string
    The access level of the region. Available values: "core", "edge".
    AvailableVolumeTypes List<string>
    List of available volume types, 'standard', 'ssd_hiiops', 'cold'].
    Coordinates GetCloudRegionCoordinates
    Coordinates of the region
    Country string
    Two-letter country code, ISO 3166-1 alpha-2
    CreatedAt string
    Region creation date and time
    CreatedOn string
    This field is deprecated. Use created_at instead.

    Deprecated: Deprecated

    DdosEndpointId double
    DDoS endpoint ID

    Deprecated: Deprecated

    DisplayName string
    Human-readable region name
    EndpointType string
    Endpoint type Available values: "admin", "internal", "public".
    ExternalNetworkId string
    External network ID for Neutron
    FileShareTypes List<string>
    List of available file share types
    HasAi bool
    Region has AI capability
    HasAiGpu bool
    Region has AI GPU capability
    HasBaremetal bool
    Region has bare metal capability
    HasBasicVm bool
    Region has basic vm capability
    HasDbaas bool
    Region has DBAAS service
    HasDdos bool
    Region has Advanced DDoS Protection capability
    HasK8s bool
    Region has managed kubernetes capability
    HasKvm bool
    Region has KVM virtualization capability
    HasSfs bool
    Region has SFS capability
    Id double
    Region ID
    KeystoneId double
    Foreign key to Keystone entity
    KeystoneName string
    Technical region name
    MetricsDatabaseId double
    Foreign key to Metrics database entity
    ShowVolumeTypes bool
    If true, null available_volume_type is replaced with a list of available volume types.
    State string
    Region state Available values: "ACTIVE", "DELETED", "DELETING", "DELETION_FAILED", "INACTIVE", "MAINTENANCE", "NEW".
    VlanPhysicalNetwork string
    Physical network name to create vlan networks
    Zone string
    Geographical zone Available values: "AMERICAS", "APAC", "EMEA", "RUSSIAANDCIS".
    RegionId double
    Region ID
    AccessLevel string
    The access level of the region. Available values: "core", "edge".
    AvailableVolumeTypes []string
    List of available volume types, 'standard', 'ssd_hiiops', 'cold'].
    Coordinates GetCloudRegionCoordinates
    Coordinates of the region
    Country string
    Two-letter country code, ISO 3166-1 alpha-2
    CreatedAt string
    Region creation date and time
    CreatedOn string
    This field is deprecated. Use created_at instead.

    Deprecated: Deprecated

    DdosEndpointId float64
    DDoS endpoint ID

    Deprecated: Deprecated

    DisplayName string
    Human-readable region name
    EndpointType string
    Endpoint type Available values: "admin", "internal", "public".
    ExternalNetworkId string
    External network ID for Neutron
    FileShareTypes []string
    List of available file share types
    HasAi bool
    Region has AI capability
    HasAiGpu bool
    Region has AI GPU capability
    HasBaremetal bool
    Region has bare metal capability
    HasBasicVm bool
    Region has basic vm capability
    HasDbaas bool
    Region has DBAAS service
    HasDdos bool
    Region has Advanced DDoS Protection capability
    HasK8s bool
    Region has managed kubernetes capability
    HasKvm bool
    Region has KVM virtualization capability
    HasSfs bool
    Region has SFS capability
    Id float64
    Region ID
    KeystoneId float64
    Foreign key to Keystone entity
    KeystoneName string
    Technical region name
    MetricsDatabaseId float64
    Foreign key to Metrics database entity
    ShowVolumeTypes bool
    If true, null available_volume_type is replaced with a list of available volume types.
    State string
    Region state Available values: "ACTIVE", "DELETED", "DELETING", "DELETION_FAILED", "INACTIVE", "MAINTENANCE", "NEW".
    VlanPhysicalNetwork string
    Physical network name to create vlan networks
    Zone string
    Geographical zone Available values: "AMERICAS", "APAC", "EMEA", "RUSSIAANDCIS".
    RegionId float64
    Region ID
    accessLevel String
    The access level of the region. Available values: "core", "edge".
    availableVolumeTypes List<String>
    List of available volume types, 'standard', 'ssd_hiiops', 'cold'].
    coordinates GetCloudRegionCoordinates
    Coordinates of the region
    country String
    Two-letter country code, ISO 3166-1 alpha-2
    createdAt String
    Region creation date and time
    createdOn String
    This field is deprecated. Use created_at instead.

    Deprecated: Deprecated

    ddosEndpointId Double
    DDoS endpoint ID

    Deprecated: Deprecated

    displayName String
    Human-readable region name
    endpointType String
    Endpoint type Available values: "admin", "internal", "public".
    externalNetworkId String
    External network ID for Neutron
    fileShareTypes List<String>
    List of available file share types
    hasAi Boolean
    Region has AI capability
    hasAiGpu Boolean
    Region has AI GPU capability
    hasBaremetal Boolean
    Region has bare metal capability
    hasBasicVm Boolean
    Region has basic vm capability
    hasDbaas Boolean
    Region has DBAAS service
    hasDdos Boolean
    Region has Advanced DDoS Protection capability
    hasK8s Boolean
    Region has managed kubernetes capability
    hasKvm Boolean
    Region has KVM virtualization capability
    hasSfs Boolean
    Region has SFS capability
    id Double
    Region ID
    keystoneId Double
    Foreign key to Keystone entity
    keystoneName String
    Technical region name
    metricsDatabaseId Double
    Foreign key to Metrics database entity
    showVolumeTypes Boolean
    If true, null available_volume_type is replaced with a list of available volume types.
    state String
    Region state Available values: "ACTIVE", "DELETED", "DELETING", "DELETION_FAILED", "INACTIVE", "MAINTENANCE", "NEW".
    vlanPhysicalNetwork String
    Physical network name to create vlan networks
    zone String
    Geographical zone Available values: "AMERICAS", "APAC", "EMEA", "RUSSIAANDCIS".
    regionId Double
    Region ID
    accessLevel string
    The access level of the region. Available values: "core", "edge".
    availableVolumeTypes string[]
    List of available volume types, 'standard', 'ssd_hiiops', 'cold'].
    coordinates GetCloudRegionCoordinates
    Coordinates of the region
    country string
    Two-letter country code, ISO 3166-1 alpha-2
    createdAt string
    Region creation date and time
    createdOn string
    This field is deprecated. Use created_at instead.

    Deprecated: Deprecated

    ddosEndpointId number
    DDoS endpoint ID

    Deprecated: Deprecated

    displayName string
    Human-readable region name
    endpointType string
    Endpoint type Available values: "admin", "internal", "public".
    externalNetworkId string
    External network ID for Neutron
    fileShareTypes string[]
    List of available file share types
    hasAi boolean
    Region has AI capability
    hasAiGpu boolean
    Region has AI GPU capability
    hasBaremetal boolean
    Region has bare metal capability
    hasBasicVm boolean
    Region has basic vm capability
    hasDbaas boolean
    Region has DBAAS service
    hasDdos boolean
    Region has Advanced DDoS Protection capability
    hasK8s boolean
    Region has managed kubernetes capability
    hasKvm boolean
    Region has KVM virtualization capability
    hasSfs boolean
    Region has SFS capability
    id number
    Region ID
    keystoneId number
    Foreign key to Keystone entity
    keystoneName string
    Technical region name
    metricsDatabaseId number
    Foreign key to Metrics database entity
    showVolumeTypes boolean
    If true, null available_volume_type is replaced with a list of available volume types.
    state string
    Region state Available values: "ACTIVE", "DELETED", "DELETING", "DELETION_FAILED", "INACTIVE", "MAINTENANCE", "NEW".
    vlanPhysicalNetwork string
    Physical network name to create vlan networks
    zone string
    Geographical zone Available values: "AMERICAS", "APAC", "EMEA", "RUSSIAANDCIS".
    regionId number
    Region ID
    access_level str
    The access level of the region. Available values: "core", "edge".
    available_volume_types Sequence[str]
    List of available volume types, 'standard', 'ssd_hiiops', 'cold'].
    coordinates GetCloudRegionCoordinates
    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_at instead.

    Deprecated: Deprecated

    ddos_endpoint_id float
    DDoS endpoint ID

    Deprecated: Deprecated

    display_name str
    Human-readable region name
    endpoint_type str
    Endpoint type Available values: "admin", "internal", "public".
    external_network_id str
    External network ID for Neutron
    file_share_types Sequence[str]
    List of available file share types
    has_ai bool
    Region has AI capability
    has_ai_gpu bool
    Region has AI GPU capability
    has_baremetal bool
    Region has bare metal capability
    has_basic_vm bool
    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_id float
    Foreign key to Metrics database entity
    show_volume_types bool
    If true, null available_volume_type is replaced with a list of available volume types.
    state str
    Region state Available values: "ACTIVE", "DELETED", "DELETING", "DELETION_FAILED", "INACTIVE", "MAINTENANCE", "NEW".
    vlan_physical_network str
    Physical network name to create vlan networks
    zone str
    Geographical zone Available values: "AMERICAS", "APAC", "EMEA", "RUSSIAANDCIS".
    region_id float
    Region ID
    accessLevel String
    The access level of the region. Available values: "core", "edge".
    availableVolumeTypes List<String>
    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
    createdAt String
    Region creation date and time
    createdOn String
    This field is deprecated. Use created_at instead.

    Deprecated: Deprecated

    ddosEndpointId Number
    DDoS endpoint ID

    Deprecated: Deprecated

    displayName String
    Human-readable region name
    endpointType String
    Endpoint type Available values: "admin", "internal", "public".
    externalNetworkId String
    External network ID for Neutron
    fileShareTypes List<String>
    List of available file share types
    hasAi Boolean
    Region has AI capability
    hasAiGpu Boolean
    Region has AI GPU capability
    hasBaremetal Boolean
    Region has bare metal capability
    hasBasicVm Boolean
    Region has basic vm capability
    hasDbaas Boolean
    Region has DBAAS service
    hasDdos Boolean
    Region has Advanced DDoS Protection capability
    hasK8s Boolean
    Region has managed kubernetes capability
    hasKvm Boolean
    Region has KVM virtualization capability
    hasSfs Boolean
    Region has SFS capability
    id Number
    Region ID
    keystoneId Number
    Foreign key to Keystone entity
    keystoneName String
    Technical region name
    metricsDatabaseId Number
    Foreign key to Metrics database entity
    showVolumeTypes Boolean
    If true, null available_volume_type is replaced with a list of available volume types.
    state String
    Region state Available values: "ACTIVE", "DELETED", "DELETING", "DELETION_FAILED", "INACTIVE", "MAINTENANCE", "NEW".
    vlanPhysicalNetwork String
    Physical network name to create vlan networks
    zone String
    Geographical zone Available values: "AMERICAS", "APAC", "EMEA", "RUSSIAANDCIS".
    regionId Number
    Region ID

    Supporting Types

    GetCloudRegionCoordinates

    Latitude string
    Longitude string
    Latitude string
    Longitude string
    latitude String
    longitude String
    latitude string
    longitude string
    latitude String
    longitude String

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    Viewing docs for gcore 2.0.0-alpha.3
    published on Monday, Mar 30, 2026 by g-core
      Try Pulumi Cloud free. Your team will thank you.