Перейти к основному содержимому

servercore_global_router_zone_v1

Provides a list of zones in the Servercore 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.

For more information about global router, see the official Servercore documentation. For example, cloud platform networks in the ru-3 pool belong to the ru-3 zone. Zones are logically aggregated into Zone Groups.

Example Usage

data "servercore_global_router_zone_v1" "zone_1" {
name = "ru-1"
service = "vpc"
}

Argument Reference

  • name - (Required) Pool name, for example, ru-3. Learn more about available pools in the Availability matrix.

  • service - (Optional) Name of the service. Available names are: vpc, dedicated, infra.

Attributes Reference

  • id - Unique identifier of the zone.

  • name - Name of the zone.

  • service - Service name of the zone.

  • visible_name - Name of the zone to display in the Control Panel.

  • enable - 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.

  • allow_create - 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_update - 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.

  • allow_delete - 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.

  • created_at - Time when the zone was created.

  • updated_at - Time when the zone was updated.

  • options - Zone custom options.

  • groups - List of zone groups that include this zone.

    • id - Unique identifier of the zone group.
    • name - Zone group name.
    • description - Optional description for the zone group.
    • created_at - Time when the zone group was created.
    • updated_at - Time when the zone group was updated.