1. Packages
  2. Selectel Provider
  3. API Docs
  4. getGlobalRouterZoneV1
selectel 7.5.2 published on Saturday, Jan 31, 2026 by selectel
selectel logo
selectel 7.5.2 published on Saturday, Jan 31, 2026 by selectel

    Provides a list of zones in the Global Router service using public API v1. A zone represents a logical grouping of network resources that are used by a service or a product within one pool. Zones are logically aggregated into zone groups. For example, cloud platform networks in the ru-3 pool belong to the ru-3 zone. 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 zone1 = selectel.getGlobalRouterZoneV1({
        name: "ru-3",
        service: "vpc",
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    zone1 = selectel.get_global_router_zone_v1(name="ru-3",
        service="vpc")
    
    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.GetGlobalRouterZoneV1(ctx, &selectel.GetGlobalRouterZoneV1Args{
    			Name:    "ru-3",
    			Service: pulumi.StringRef("vpc"),
    		}, nil)
    		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 zone1 = Selectel.GetGlobalRouterZoneV1.Invoke(new()
        {
            Name = "ru-3",
            Service = "vpc",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.selectel.SelectelFunctions;
    import com.pulumi.selectel.inputs.GetGlobalRouterZoneV1Args;
    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 zone1 = SelectelFunctions.getGlobalRouterZoneV1(GetGlobalRouterZoneV1Args.builder()
                .name("ru-3")
                .service("vpc")
                .build());
    
        }
    }
    
    variables:
      zone1:
        fn::invoke:
          function: selectel:getGlobalRouterZoneV1
          arguments:
            name: ru-3
            service: vpc
    

    Using getGlobalRouterZoneV1

    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 getGlobalRouterZoneV1(args: GetGlobalRouterZoneV1Args, opts?: InvokeOptions): Promise<GetGlobalRouterZoneV1Result>
    function getGlobalRouterZoneV1Output(args: GetGlobalRouterZoneV1OutputArgs, opts?: InvokeOptions): Output<GetGlobalRouterZoneV1Result>
    def get_global_router_zone_v1(id: Optional[str] = None,
                                  name: Optional[str] = None,
                                  service: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetGlobalRouterZoneV1Result
    def get_global_router_zone_v1_output(id: Optional[pulumi.Input[str]] = None,
                                  name: Optional[pulumi.Input[str]] = None,
                                  service: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetGlobalRouterZoneV1Result]
    func GetGlobalRouterZoneV1(ctx *Context, args *GetGlobalRouterZoneV1Args, opts ...InvokeOption) (*GetGlobalRouterZoneV1Result, error)
    func GetGlobalRouterZoneV1Output(ctx *Context, args *GetGlobalRouterZoneV1OutputArgs, opts ...InvokeOption) GetGlobalRouterZoneV1ResultOutput

    > Note: This function is named GetGlobalRouterZoneV1 in the Go SDK.

    public static class GetGlobalRouterZoneV1 
    {
        public static Task<GetGlobalRouterZoneV1Result> InvokeAsync(GetGlobalRouterZoneV1Args args, InvokeOptions? opts = null)
        public static Output<GetGlobalRouterZoneV1Result> Invoke(GetGlobalRouterZoneV1InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGlobalRouterZoneV1Result> getGlobalRouterZoneV1(GetGlobalRouterZoneV1Args args, InvokeOptions options)
    public static Output<GetGlobalRouterZoneV1Result> getGlobalRouterZoneV1(GetGlobalRouterZoneV1Args args, InvokeOptions options)
    
    fn::invoke:
      function: selectel:index/getGlobalRouterZoneV1:getGlobalRouterZoneV1
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Pool, for example, ru-3. Learn more about available pools in the Availability matrix.
    Id string
    Unique identifier of the zone group.
    Service string
    Name of the service. Available names are vpc, dedicated, vmware, and infra.
    Name string
    Pool, for example, ru-3. Learn more about available pools in the Availability matrix.
    Id string
    Unique identifier of the zone group.
    Service string
    Name of the service. Available names are vpc, dedicated, vmware, and infra.
    name String
    Pool, for example, ru-3. Learn more about available pools in the Availability matrix.
    id String
    Unique identifier of the zone group.
    service String
    Name of the service. Available names are vpc, dedicated, vmware, and infra.
    name string
    Pool, for example, ru-3. Learn more about available pools in the Availability matrix.
    id string
    Unique identifier of the zone group.
    service string
    Name of the service. Available names are vpc, dedicated, vmware, and infra.
    name str
    Pool, for example, ru-3. Learn more about available pools in the Availability matrix.
    id str
    Unique identifier of the zone group.
    service str
    Name of the service. Available names are vpc, dedicated, vmware, and infra.
    name String
    Pool, for example, ru-3. Learn more about available pools in the Availability matrix.
    id String
    Unique identifier of the zone group.
    service String
    Name of the service. Available names are vpc, dedicated, vmware, and infra.

    getGlobalRouterZoneV1 Result

    The following output properties are available:

    AllowCreate bool
    Boolean flag, indicates whether the network can be created in the zone. False means that the zone is temporarily under maintenance and networks cannot be created in it.
    AllowDelete bool
    Boolean flag, indicates whether the network in the zone can be deleted. False means that the zone is temporarily under maintenance and networks in it cannot be deleted.
    AllowUpdate bool
    Boolean flag, indicates whether the network can be updated in the zone. False means that the zone is temporarily under maintenance and networks in it cannot be updated.
    CreatedAt string
    Time when the zone group was created.
    Enable bool
    Boolean flag, indicates whether networks in the zone can be created, updated, or deleted. False means that the zone is temporarily under maintenance and networks in it cannot be created, updated, or deleted.
    Groups List<GetGlobalRouterZoneV1Group>
    List of zone groups that include this zone.
    Id string
    Unique identifier of the zone group.
    Name string
    Zone group name.
    Options string
    Zone custom options.
    Service string
    Service name of the zone.
    UpdatedAt string
    Time when the zone group was updated.
    VisibleName string
    Name of the zone to display in the Control Panel.
    AllowCreate bool
    Boolean flag, indicates whether the network can be created in the zone. False means that the zone is temporarily under maintenance and networks cannot be created in it.
    AllowDelete bool
    Boolean flag, indicates whether the network in the zone can be deleted. False means that the zone is temporarily under maintenance and networks in it cannot be deleted.
    AllowUpdate bool
    Boolean flag, indicates whether the network can be updated in the zone. False means that the zone is temporarily under maintenance and networks in it cannot be updated.
    CreatedAt string
    Time when the zone group was created.
    Enable bool
    Boolean flag, indicates whether networks in the zone can be created, updated, or deleted. False means that the zone is temporarily under maintenance and networks in it cannot be created, updated, or deleted.
    Groups []GetGlobalRouterZoneV1Group
    List of zone groups that include this zone.
    Id string
    Unique identifier of the zone group.
    Name string
    Zone group name.
    Options string
    Zone custom options.
    Service string
    Service name of the zone.
    UpdatedAt string
    Time when the zone group was updated.
    VisibleName string
    Name of the zone to display in the Control Panel.
    allowCreate Boolean
    Boolean flag, indicates whether the network can be created in the zone. False means that the zone is temporarily under maintenance and networks cannot be created in it.
    allowDelete Boolean
    Boolean flag, indicates whether the network in the zone can be deleted. False means that the zone is temporarily under maintenance and networks in it cannot be deleted.
    allowUpdate Boolean
    Boolean flag, indicates whether the network can be updated in the zone. False means that the zone is temporarily under maintenance and networks in it cannot be updated.
    createdAt String
    Time when the zone group was created.
    enable Boolean
    Boolean flag, indicates whether networks in the zone can be created, updated, or deleted. False means that the zone is temporarily under maintenance and networks in it cannot be created, updated, or deleted.
    groups List<GetGlobalRouterZoneV1Group>
    List of zone groups that include this zone.
    id String
    Unique identifier of the zone group.
    name String
    Zone group name.
    options String
    Zone custom options.
    service String
    Service name of the zone.
    updatedAt String
    Time when the zone group was updated.
    visibleName String
    Name of the zone to display in the Control Panel.
    allowCreate boolean
    Boolean flag, indicates whether the network can be created in the zone. False means that the zone is temporarily under maintenance and networks cannot be created in it.
    allowDelete boolean
    Boolean flag, indicates whether the network in the zone can be deleted. False means that the zone is temporarily under maintenance and networks in it cannot be deleted.
    allowUpdate boolean
    Boolean flag, indicates whether the network can be updated in the zone. False means that the zone is temporarily under maintenance and networks in it cannot be updated.
    createdAt string
    Time when the zone group was created.
    enable boolean
    Boolean flag, indicates whether networks in the zone can be created, updated, or deleted. False means that the zone is temporarily under maintenance and networks in it cannot be created, updated, or deleted.
    groups GetGlobalRouterZoneV1Group[]
    List of zone groups that include this zone.
    id string
    Unique identifier of the zone group.
    name string
    Zone group name.
    options string
    Zone custom options.
    service string
    Service name of the zone.
    updatedAt string
    Time when the zone group was updated.
    visibleName string
    Name of the zone to display in the Control Panel.
    allow_create bool
    Boolean flag, indicates whether the network can be created in the zone. False means that the zone is temporarily under maintenance and networks cannot be created in it.
    allow_delete bool
    Boolean flag, indicates whether the network in the zone can be deleted. False means that the zone is temporarily under maintenance and networks in it cannot be deleted.
    allow_update bool
    Boolean flag, indicates whether the network can be updated in the zone. False means that the zone is temporarily under maintenance and networks in it cannot be updated.
    created_at str
    Time when the zone group was created.
    enable bool
    Boolean flag, indicates whether networks in the zone can be created, updated, or deleted. False means that the zone is temporarily under maintenance and networks in it cannot be created, updated, or deleted.
    groups Sequence[GetGlobalRouterZoneV1Group]
    List of zone groups that include this zone.
    id str
    Unique identifier of the zone group.
    name str
    Zone group name.
    options str
    Zone custom options.
    service str
    Service name of the zone.
    updated_at str
    Time when the zone group was updated.
    visible_name str
    Name of the zone to display in the Control Panel.
    allowCreate Boolean
    Boolean flag, indicates whether the network can be created in the zone. False means that the zone is temporarily under maintenance and networks cannot be created in it.
    allowDelete Boolean
    Boolean flag, indicates whether the network in the zone can be deleted. False means that the zone is temporarily under maintenance and networks in it cannot be deleted.
    allowUpdate Boolean
    Boolean flag, indicates whether the network can be updated in the zone. False means that the zone is temporarily under maintenance and networks in it cannot be updated.
    createdAt String
    Time when the zone group was created.
    enable Boolean
    Boolean flag, indicates whether networks in the zone can be created, updated, or deleted. False means that the zone is temporarily under maintenance and networks in it cannot be created, updated, or deleted.
    groups List<Property Map>
    List of zone groups that include this zone.
    id String
    Unique identifier of the zone group.
    name String
    Zone group name.
    options String
    Zone custom options.
    service String
    Service name of the zone.
    updatedAt String
    Time when the zone group was updated.
    visibleName String
    Name of the zone to display in the Control Panel.

    Supporting Types

    GetGlobalRouterZoneV1Group

    CreatedAt string
    Time when the zone group was created.
    Description string
    Optional description of the zone group.
    Id string
    Unique identifier of the zone group.
    Name string
    Pool, for example, ru-3. Learn more about available pools in the Availability matrix.
    UpdatedAt string
    Time when the zone group was updated.
    CreatedAt string
    Time when the zone group was created.
    Description string
    Optional description of the zone group.
    Id string
    Unique identifier of the zone group.
    Name string
    Pool, for example, ru-3. Learn more about available pools in the Availability matrix.
    UpdatedAt string
    Time when the zone group was updated.
    createdAt String
    Time when the zone group was created.
    description String
    Optional description of the zone group.
    id String
    Unique identifier of the zone group.
    name String
    Pool, for example, ru-3. Learn more about available pools in the Availability matrix.
    updatedAt String
    Time when the zone group was updated.
    createdAt string
    Time when the zone group was created.
    description string
    Optional description of the zone group.
    id string
    Unique identifier of the zone group.
    name string
    Pool, for example, ru-3. Learn more about available pools in the Availability matrix.
    updatedAt string
    Time when the zone group was updated.
    created_at str
    Time when the zone group was created.
    description str
    Optional description of the zone group.
    id str
    Unique identifier of the zone group.
    name str
    Pool, for example, ru-3. Learn more about available pools in the Availability matrix.
    updated_at str
    Time when the zone group was updated.
    createdAt String
    Time when the zone group was created.
    description String
    Optional description of the zone group.
    id String
    Unique identifier of the zone group.
    name String
    Pool, for example, ru-3. Learn more about available pools in the Availability matrix.
    updatedAt String
    Time when the zone group was updated.

    Package Details

    Repository
    selectel selectel/terraform-provider-selectel
    License
    Notes
    This Pulumi package is based on the selectel Terraform Provider.
    selectel logo
    selectel 7.5.2 published on Saturday, Jan 31, 2026 by selectel
      Meet Neo: Your AI Platform Teammate