1. Packages
  2. Volcengine
  3. API Docs
  4. clb
  5. Zones
Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine

volcengine.clb.Zones

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine

    Use this data source to query detailed information of clb zones

    Example Usage

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

    Using Zones

    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 zones(args: ZonesArgs, opts?: InvokeOptions): Promise<ZonesResult>
    function zonesOutput(args: ZonesOutputArgs, opts?: InvokeOptions): Output<ZonesResult>
    def zones(output_file: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> ZonesResult
    def zones_output(output_file: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[ZonesResult]
    func Zones(ctx *Context, args *ZonesArgs, opts ...InvokeOption) (*ZonesResult, error)
    func ZonesOutput(ctx *Context, args *ZonesOutputArgs, opts ...InvokeOption) ZonesResultOutput
    public static class Zones 
    {
        public static Task<ZonesResult> InvokeAsync(ZonesArgs args, InvokeOptions? opts = null)
        public static Output<ZonesResult> Invoke(ZonesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ZonesResult> zones(ZonesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:clb:Zones
      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.

    Zones Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    MasterZones List<ZonesMasterZone>
    The master zones list.
    TotalCount int
    The total count of zone query.
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    MasterZones []ZonesMasterZone
    The master zones list.
    TotalCount int
    The total count of zone query.
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    masterZones List<ZonesMasterZone>
    The master zones list.
    totalCount Integer
    The total count of zone query.
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    masterZones ZonesMasterZone[]
    The master zones list.
    totalCount number
    The total count of zone query.
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    master_zones Sequence[ZonesMasterZone]
    The master zones list.
    total_count int
    The total count of zone query.
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    masterZones List<Property Map>
    The master zones list.
    totalCount Number
    The total count of zone query.
    outputFile String

    Supporting Types

    ZonesMasterZone

    SlaveZones List<ZonesMasterZoneSlaveZone>
    The slave zones list.
    ZoneId string
    The master zone id.
    SlaveZones []ZonesMasterZoneSlaveZone
    The slave zones list.
    ZoneId string
    The master zone id.
    slaveZones List<ZonesMasterZoneSlaveZone>
    The slave zones list.
    zoneId String
    The master zone id.
    slaveZones ZonesMasterZoneSlaveZone[]
    The slave zones list.
    zoneId string
    The master zone id.
    slave_zones Sequence[ZonesMasterZoneSlaveZone]
    The slave zones list.
    zone_id str
    The master zone id.
    slaveZones List<Property Map>
    The slave zones list.
    zoneId String
    The master zone id.

    ZonesMasterZoneSlaveZone

    ZoneId string
    The master zone id.
    ZoneId string
    The master zone id.
    zoneId String
    The master zone id.
    zoneId string
    The master zone id.
    zone_id str
    The master zone id.
    zoneId String
    The master zone id.

    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.25 published on Tuesday, Jul 2, 2024 by Volcengine