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

volcengine.escloud_v2.EscloudZonesV2

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine
    Deprecated: volcengine.escloud_v2.EscloudZonesV2 has been deprecated in favor of volcengine.escloud_v2.getEscloudZonesV2

    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 EscloudZonesV2

    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 escloudZonesV2(args: EscloudZonesV2Args, opts?: InvokeOptions): Promise<EscloudZonesV2Result>
    function escloudZonesV2Output(args: EscloudZonesV2OutputArgs, opts?: InvokeOptions): Output<EscloudZonesV2Result>
    def escloud_zones_v2(output_file: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> EscloudZonesV2Result
    def escloud_zones_v2_output(output_file: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[EscloudZonesV2Result]
    func EscloudZonesV2(ctx *Context, args *EscloudZonesV2Args, opts ...InvokeOption) (*EscloudZonesV2Result, error)
    func EscloudZonesV2Output(ctx *Context, args *EscloudZonesV2OutputArgs, opts ...InvokeOption) EscloudZonesV2ResultOutput
    public static class EscloudZonesV2 
    {
        public static Task<EscloudZonesV2Result> InvokeAsync(EscloudZonesV2Args args, InvokeOptions? opts = null)
        public static Output<EscloudZonesV2Result> Invoke(EscloudZonesV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<EscloudZonesV2Result> escloudZonesV2(EscloudZonesV2Args args, InvokeOptions options)
    public static Output<EscloudZonesV2Result> escloudZonesV2(EscloudZonesV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:escloud_v2:EscloudZonesV2
      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.

    EscloudZonesV2 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<EscloudZonesV2Zone>
    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 []EscloudZonesV2Zone
    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<EscloudZonesV2Zone>
    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 EscloudZonesV2Zone[]
    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[EscloudZonesV2Zone]
    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

    EscloudZonesV2Zone

    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