1. Packages
  2. Volcengine
  3. API Docs
  4. nlb
  5. getZones
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
volcengine logo
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine

    Using getZones

    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 getZones(args: GetZonesArgs, opts?: InvokeOptions): Promise<GetZonesResult>
    function getZonesOutput(args: GetZonesOutputArgs, opts?: InvokeOptions): Output<GetZonesResult>
    def get_zones(output_file: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetZonesResult
    def get_zones_output(output_file: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetZonesResult]
    func GetZones(ctx *Context, args *GetZonesArgs, opts ...InvokeOption) (*GetZonesResult, error)
    func GetZonesOutput(ctx *Context, args *GetZonesOutputArgs, opts ...InvokeOption) GetZonesResultOutput

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

    public static class GetZones 
    {
        public static Task<GetZonesResult> InvokeAsync(GetZonesArgs args, InvokeOptions? opts = null)
        public static Output<GetZonesResult> Invoke(GetZonesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetZonesResult> getZones(GetZonesArgs args, InvokeOptions options)
    public static Output<GetZonesResult> getZones(GetZonesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:nlb/getZones:getZones
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OutputFile string
    OutputFile string
    outputFile String
    outputFile string
    outputFile String

    getZones Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    Zones List<GetZonesZone>
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    Zones []GetZonesZone
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    zones List<GetZonesZone>
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    zones GetZonesZone[]
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    zones Sequence[GetZonesZone]
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    zones List<Property Map>
    outputFile String

    Supporting Types

    GetZonesZone

    ZoneId string
    The id of the zone.
    ZoneId string
    The id of the zone.
    zoneId String
    The id of the zone.
    zoneId string
    The id of the zone.
    zone_id str
    The id of the zone.
    zoneId String
    The id of the zone.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Viewing docs for Volcengine v0.0.47
    published on Friday, Mar 13, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.