1. Packages
  2. Volcengine
  3. API Docs
  4. escloud_v2
  5. getEscloudZonesV2
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

volcengine.escloud_v2.getEscloudZonesV2

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

    Use this data source to query detailed information of escloud zones v2

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.escloud_v2.getEscloudZonesV2({});
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.escloud_v2.get_escloud_zones_v2()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud_v2"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := escloud_v2.GetEscloudZonesV2(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Escloud_v2.GetEscloudZonesV2.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.escloud_v2.Escloud_v2Functions;
    import com.pulumi.volcengine.escloud_v2.inputs.GetEscloudZonesV2Args;
    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 foo = Escloud_v2Functions.getEscloudZonesV2();
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:escloud_v2:getEscloudZonesV2
          Arguments: {}
    

    Using getEscloudZonesV2

    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 getEscloudZonesV2(args: GetEscloudZonesV2Args, opts?: InvokeOptions): Promise<GetEscloudZonesV2Result>
    function getEscloudZonesV2Output(args: GetEscloudZonesV2OutputArgs, opts?: InvokeOptions): Output<GetEscloudZonesV2Result>
    def get_escloud_zones_v2(output_file: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetEscloudZonesV2Result
    def get_escloud_zones_v2_output(output_file: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetEscloudZonesV2Result]
    func GetEscloudZonesV2(ctx *Context, args *GetEscloudZonesV2Args, opts ...InvokeOption) (*GetEscloudZonesV2Result, error)
    func GetEscloudZonesV2Output(ctx *Context, args *GetEscloudZonesV2OutputArgs, opts ...InvokeOption) GetEscloudZonesV2ResultOutput

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

    public static class GetEscloudZonesV2 
    {
        public static Task<GetEscloudZonesV2Result> InvokeAsync(GetEscloudZonesV2Args args, InvokeOptions? opts = null)
        public static Output<GetEscloudZonesV2Result> Invoke(GetEscloudZonesV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEscloudZonesV2Result> getEscloudZonesV2(GetEscloudZonesV2Args args, InvokeOptions options)
    public static Output<GetEscloudZonesV2Result> getEscloudZonesV2(GetEscloudZonesV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:escloud_v2/getEscloudZonesV2:getEscloudZonesV2
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OutputFile string
    File name where to save data source results.
    OutputFile string
    File name where to save data source results.
    outputFile String
    File name where to save data source results.
    outputFile string
    File name where to save data source results.
    output_file str
    File name where to save data source results.
    outputFile String
    File name where to save data source results.

    getEscloudZonesV2 Result

    The following output properties are available:

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

    Supporting Types

    GetEscloudZonesV2Zone

    RegionId string
    The region ID of zone.
    ZoneId string
    The ID of zone.
    ZoneName string
    The name of zone.
    ZoneStatus string
    The status of zone.
    RegionId string
    The region ID of zone.
    ZoneId string
    The ID of zone.
    ZoneName string
    The name of zone.
    ZoneStatus string
    The status of zone.
    regionId String
    The region ID of zone.
    zoneId String
    The ID of zone.
    zoneName String
    The name of zone.
    zoneStatus String
    The status of zone.
    regionId string
    The region ID of zone.
    zoneId string
    The ID of zone.
    zoneName string
    The name of zone.
    zoneStatus string
    The status of zone.
    region_id str
    The region ID of zone.
    zone_id str
    The ID of zone.
    zone_name str
    The name of zone.
    zone_status str
    The status of zone.
    regionId String
    The region ID of zone.
    zoneId String
    The ID of zone.
    zoneName String
    The name of zone.
    zoneStatus String
    The status of 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
    Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine