1. Registry
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. realtimecompute
  6. getVariables
Viewing docs for Alibaba Cloud v4.0.1
published on Tuesday, Oct 27, 2026 by Pulumi
alicloud logo alicloud logo
Viewing docs for Alibaba Cloud v4.0.1
published on Tuesday, Oct 27, 2026 by Pulumi

    This data source provides the Realtime Compute Variables of the current Alibaba Cloud user.

    NOTE: Available since v1.294.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const _default = alicloud.oss.getBuckets({});
    const defaultNetwork = new alicloud.vpc.Network("default", {
        isDefault: false,
        cidrBlock: "172.16.0.0/16",
        vpcName: name,
    });
    const defaultSwitch = new alicloud.vpc.Switch("default", {
        isDefault: false,
        vpcId: defaultNetwork.id,
        zoneId: "cn-hangzhou-i",
        cidrBlock: "172.16.0.0/24",
        vswitchName: name,
    });
    const defaultUser = new alicloud.ram.User("default", {
        name: name,
        displayName: "displayname",
        mobile: "86-18888888888",
        email: "hello.uuu@aaa.com",
        comments: "yoyoyo",
    });
    const defaultVvpInstance = new alicloud.realtimecompute.VvpInstance("default", {
        vvpInstanceName: name,
        storage: {
            oss: {
                bucket: _default.then(_default => _default.buckets?.[0]?.name),
            },
        },
        vpcId: defaultNetwork.id,
        vswitchIds: [defaultSwitch.id],
        resourceSpec: {
            cpu: 8,
            memoryGb: 32,
        },
        paymentType: "PayAsYouGo",
        zoneId: defaultSwitch.zoneId,
    });
    const defaultVariable = new alicloud.realtimecompute.Variable("default", {
        name: name,
        namespace: pulumi.interpolate`${defaultVvpInstance.vvpInstanceName}-default`,
        workspace: defaultVvpInstance.resourceId,
        kind: "Clear",
        value: "YourPassword123!",
        description: name,
    });
    const ids = alicloud.realtimecompute.getVariablesOutput({
        ids: [defaultVariable.id],
        workspace: defaultVariable.workspace,
        namespace: defaultVariable.namespace,
    });
    export const realtimeComputeVariablesId0 = ids.apply(ids => ids.variables?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default = alicloud.oss.get_buckets()
    default_network = alicloud.vpc.Network("default",
        is_default=False,
        cidr_block="172.16.0.0/16",
        vpc_name=name)
    default_switch = alicloud.vpc.Switch("default",
        is_default=False,
        vpc_id=default_network.id,
        zone_id="cn-hangzhou-i",
        cidr_block="172.16.0.0/24",
        vswitch_name=name)
    default_user = alicloud.ram.User("default",
        name=name,
        display_name="displayname",
        mobile="86-18888888888",
        email="hello.uuu@aaa.com",
        comments="yoyoyo")
    default_vvp_instance = alicloud.realtimecompute.VvpInstance("default",
        vvp_instance_name=name,
        storage={
            "oss": {
                "bucket": default.buckets[0].name,
            },
        },
        vpc_id=default_network.id,
        vswitch_ids=[default_switch.id],
        resource_spec={
            "cpu": 8,
            "memory_gb": 32,
        },
        payment_type="PayAsYouGo",
        zone_id=default_switch.zone_id)
    default_variable = alicloud.realtimecompute.Variable("default",
        name=name,
        namespace=default_vvp_instance.vvp_instance_name.apply(lambda vvp_instance_name: f"{vvp_instance_name}-default"),
        workspace=default_vvp_instance.resource_id,
        kind="Clear",
        value="YourPassword123!",
        description=name)
    ids = alicloud.realtimecompute.get_variables_output(ids=[default_variable.id],
        workspace=default_variable.workspace,
        namespace=default_variable.namespace)
    pulumi.export("realtimeComputeVariablesId0", ids.variables[0].id)
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-alicloud/sdk/v4/go/alicloud/oss"
    	"github.com/pulumi/pulumi-alicloud/sdk/v4/go/alicloud/ram"
    	"github.com/pulumi/pulumi-alicloud/sdk/v4/go/alicloud/realtimecompute"
    	"github.com/pulumi/pulumi-alicloud/sdk/v4/go/alicloud/vpc"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_default, err := oss.GetBuckets(ctx, &oss.GetBucketsArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
    			IsDefault: pulumi.Bool(false),
    			CidrBlock: pulumi.String("172.16.0.0/16"),
    			VpcName:   pulumi.String(name),
    		})
    		if err != nil {
    			return err
    		}
    		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
    			IsDefault:   pulumi.Bool(false),
    			VpcId:       defaultNetwork.ID(),
    			ZoneId:      pulumi.String("cn-hangzhou-i"),
    			CidrBlock:   pulumi.String("172.16.0.0/24"),
    			VswitchName: pulumi.String(name),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ram.NewUser(ctx, "default", &ram.UserArgs{
    			Name:        pulumi.String(name),
    			DisplayName: pulumi.String("displayname"),
    			Mobile:      pulumi.String("86-18888888888"),
    			Email:       pulumi.String("hello.uuu@aaa.com"),
    			Comments:    pulumi.String("yoyoyo"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultVvpInstance, err := realtimecompute.NewVvpInstance(ctx, "default", &realtimecompute.VvpInstanceArgs{
    			VvpInstanceName: pulumi.String(name),
    			Storage: &realtimecompute.VvpInstanceStorageArgs{
    				Oss: &realtimecompute.VvpInstanceStorageOssArgs{
    					Bucket: pulumi.String(_default.Buckets[0].Name),
    				},
    			},
    			VpcId: defaultNetwork.ID(),
    			VswitchIds: pulumi.StringArray{
    				defaultSwitch.ID(),
    			},
    			ResourceSpec: &realtimecompute.VvpInstanceResourceSpecArgs{
    				Cpu:      pulumi.Int(8),
    				MemoryGb: pulumi.Int(32),
    			},
    			PaymentType: pulumi.String("PayAsYouGo"),
    			ZoneId:      defaultSwitch.ZoneId,
    		})
    		if err != nil {
    			return err
    		}
    		defaultVariable, err := realtimecompute.NewVariable(ctx, "default", &realtimecompute.VariableArgs{
    			Name: pulumi.String(name),
    			Namespace: defaultVvpInstance.VvpInstanceName.ApplyT(func(vvpInstanceName string) (string, error) {
    				return fmt.Sprintf("%v-default", vvpInstanceName), nil
    			}).(pulumi.StringOutput),
    			Workspace:   defaultVvpInstance.ResourceId,
    			Kind:        pulumi.String("Clear"),
    			Value:       pulumi.String("YourPassword123!"),
    			Description: pulumi.String(name),
    		})
    		if err != nil {
    			return err
    		}
    		ids := realtimecompute.GetVariablesOutput(ctx, realtimecompute.GetVariablesOutputArgs{
    			Ids: pulumi.StringArray{
    				defaultVariable.ID(),
    			},
    			Workspace: defaultVariable.Workspace,
    			Namespace: defaultVariable.Namespace,
    		}, nil)
    		ctx.Export("realtimeComputeVariablesId0", ids.ApplyT(func(ids realtimecompute.GetVariablesResult) (*string, error) {
    			return ids.Variables[0].Id, nil
    		}).(pulumi.StringPtrOutput))
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var @default = AliCloud.Oss.GetBuckets.Invoke();
    
        var defaultNetwork = new AliCloud.Vpc.Network("default", new()
        {
            IsDefault = false,
            CidrBlock = "172.16.0.0/16",
            VpcName = name,
        });
    
        var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
        {
            IsDefault = false,
            VpcId = defaultNetwork.Id,
            ZoneId = "cn-hangzhou-i",
            CidrBlock = "172.16.0.0/24",
            VswitchName = name,
        });
    
        var defaultUser = new AliCloud.Ram.User("default", new()
        {
            Name = name,
            DisplayName = "displayname",
            Mobile = "86-18888888888",
            Email = "hello.uuu@aaa.com",
            Comments = "yoyoyo",
        });
    
        var defaultVvpInstance = new AliCloud.RealtimeCompute.VvpInstance("default", new()
        {
            VvpInstanceName = name,
            Storage = new AliCloud.RealtimeCompute.Inputs.VvpInstanceStorageArgs
            {
                Oss = new AliCloud.RealtimeCompute.Inputs.VvpInstanceStorageOssArgs
                {
                    Bucket = @default.Apply(@default => @default.Apply(getBucketsResult => getBucketsResult.Buckets[0]?.Name)),
                },
            },
            VpcId = defaultNetwork.Id,
            VswitchIds = new[]
            {
                defaultSwitch.Id,
            },
            ResourceSpec = new AliCloud.RealtimeCompute.Inputs.VvpInstanceResourceSpecArgs
            {
                Cpu = 8,
                MemoryGb = 32,
            },
            PaymentType = "PayAsYouGo",
            ZoneId = defaultSwitch.ZoneId,
        });
    
        var defaultVariable = new AliCloud.RealtimeCompute.Variable("default", new()
        {
            Name = name,
            Namespace = defaultVvpInstance.VvpInstanceName.Apply(vvpInstanceName => $"{vvpInstanceName}-default"),
            Workspace = defaultVvpInstance.ResourceId,
            Kind = "Clear",
            Value = "YourPassword123!",
            Description = name,
        });
    
        var ids = AliCloud.RealtimeCompute.GetVariables.Invoke(new()
        {
            Ids = new[]
            {
                defaultVariable.Id,
            },
            Workspace = defaultVariable.Workspace,
            Namespace = defaultVariable.Namespace,
        });
    
        return new Dictionary<string, object?>
        {
            ["realtimeComputeVariablesId0"] = ids.Apply(getVariablesResult => getVariablesResult.Variables[0]?.Id),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.oss.OssFunctions;
    import com.pulumi.alicloud.oss.inputs.GetBucketsArgs;
    import com.pulumi.alicloud.vpc.Network;
    import com.pulumi.alicloud.vpc.NetworkArgs;
    import com.pulumi.alicloud.vpc.Switch;
    import com.pulumi.alicloud.vpc.SwitchArgs;
    import com.pulumi.alicloud.ram.User;
    import com.pulumi.alicloud.ram.UserArgs;
    import com.pulumi.alicloud.realtimecompute.VvpInstance;
    import com.pulumi.alicloud.realtimecompute.VvpInstanceArgs;
    import com.pulumi.alicloud.realtimecompute.inputs.VvpInstanceStorageArgs;
    import com.pulumi.alicloud.realtimecompute.inputs.VvpInstanceStorageOssArgs;
    import com.pulumi.alicloud.realtimecompute.inputs.VvpInstanceResourceSpecArgs;
    import com.pulumi.alicloud.realtimecompute.Variable;
    import com.pulumi.alicloud.realtimecompute.VariableArgs;
    import com.pulumi.alicloud.realtimecompute.RealtimecomputeFunctions;
    import com.pulumi.alicloud.realtimecompute.inputs.GetVariablesArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 config = ctx.config();
            final var name = config.get("name").orElse("terraform-example");
            final var default = OssFunctions.getBuckets(GetBucketsArgs.builder()
                .build());
    
            var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
                .isDefault(false)
                .cidrBlock("172.16.0.0/16")
                .vpcName(name)
                .build());
    
            var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
                .isDefault(false)
                .vpcId(defaultNetwork.id())
                .zoneId("cn-hangzhou-i")
                .cidrBlock("172.16.0.0/24")
                .vswitchName(name)
                .build());
    
            var defaultUser = new User("defaultUser", UserArgs.builder()
                .name(name)
                .displayName("displayname")
                .mobile("86-18888888888")
                .email("hello.uuu@aaa.com")
                .comments("yoyoyo")
                .build());
    
            var defaultVvpInstance = new VvpInstance("defaultVvpInstance", VvpInstanceArgs.builder()
                .vvpInstanceName(name)
                .storage(VvpInstanceStorageArgs.builder()
                    .oss(VvpInstanceStorageOssArgs.builder()
                        .bucket(default_.buckets()[0].name())
                        .build())
                    .build())
                .vpcId(defaultNetwork.id())
                .vswitchIds(defaultSwitch.id())
                .resourceSpec(VvpInstanceResourceSpecArgs.builder()
                    .cpu(8)
                    .memoryGb(32)
                    .build())
                .paymentType("PayAsYouGo")
                .zoneId(defaultSwitch.zoneId())
                .build());
    
            var defaultVariable = new Variable("defaultVariable", VariableArgs.builder()
                .name(name)
                .namespace(defaultVvpInstance.vvpInstanceName().applyValue(_vvpInstanceName -> String.format("%s-default", _vvpInstanceName)))
                .workspace(defaultVvpInstance.resourceId())
                .kind("Clear")
                .value("YourPassword123!")
                .description(name)
                .build());
    
            final var ids = RealtimecomputeFunctions.getVariables(GetVariablesArgs.builder()
                .ids(defaultVariable.id())
                .workspace(defaultVariable.workspace())
                .namespace(defaultVariable.namespace())
                .build());
    
            ctx.export("realtimeComputeVariablesId0", ids.applyValue(_ids -> _ids.variables().get(0).id()));
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      defaultNetwork:
        type: alicloud:vpc:Network
        name: default
        properties:
          isDefault: false
          cidrBlock: 172.16.0.0/16
          vpcName: ${name}
      defaultSwitch:
        type: alicloud:vpc:Switch
        name: default
        properties:
          isDefault: false
          vpcId: ${defaultNetwork.id}
          zoneId: cn-hangzhou-i
          cidrBlock: 172.16.0.0/24
          vswitchName: ${name}
      defaultUser:
        type: alicloud:ram:User
        name: default
        properties:
          name: ${name}
          displayName: displayname
          mobile: 86-18888888888
          email: hello.uuu@aaa.com
          comments: yoyoyo
      defaultVvpInstance:
        type: alicloud:realtimecompute:VvpInstance
        name: default
        properties:
          vvpInstanceName: ${name}
          storage:
            oss:
              bucket: ${default.buckets[0].name}
          vpcId: ${defaultNetwork.id}
          vswitchIds:
            - ${defaultSwitch.id}
          resourceSpec:
            cpu: '8'
            memoryGb: '32'
          paymentType: PayAsYouGo
          zoneId: ${defaultSwitch.zoneId}
      defaultVariable:
        type: alicloud:realtimecompute:Variable
        name: default
        properties:
          name: ${name}
          namespace: ${defaultVvpInstance.vvpInstanceName}-default
          workspace: ${defaultVvpInstance.resourceId}
          kind: Clear
          value: YourPassword123!
          description: ${name}
    variables:
      default:
        fn::invoke:
          function: alicloud:oss:getBuckets
          arguments: {}
      ids:
        fn::invoke:
          function: alicloud:realtimecompute:getVariables
          arguments:
            ids:
              - ${defaultVariable.id}
            workspace: ${defaultVariable.workspace}
            namespace: ${defaultVariable.namespace}
    outputs:
      realtimeComputeVariablesId0: ${ids.variables[0].id}
    
    terraform {
      required_providers {
        alicloud = {
          source = "pulumi/alicloud"
        }
      }
    }
    
    data "alicloud_oss_buckets" "default" {
    }
    data "alicloud_realtimecompute_variables" "ids" {
      ids       = [alicloud_realtimecompute_variable.default.id]
      workspace = alicloud_realtimecompute_variable.default.workspace
      namespace = alicloud_realtimecompute_variable.default.namespace
    }
    
    resource "alicloud_vpc_network" "default" {
      lifecycle {
        create_before_destroy = true
      }
      is_default = false
      cidr_block = "172.16.0.0/16"
      vpc_name   = var.name
    }
    resource "alicloud_vpc_switch" "default" {
      lifecycle {
        create_before_destroy = true
      }
      is_default   = false
      vpc_id       = alicloud_vpc_network.default.id
      zone_id      = "cn-hangzhou-i"
      cidr_block   = "172.16.0.0/24"
      vswitch_name = var.name
    }
    resource "alicloud_ram_user" "default" {
      lifecycle {
        create_before_destroy = true
      }
      name         = var.name
      display_name = "displayname"
      mobile       = "86-18888888888"
      email        = "hello.uuu@aaa.com"
      comments     = "yoyoyo"
    }
    resource "alicloud_realtimecompute_vvp_instance" "default" {
      lifecycle {
        create_before_destroy = true
      }
      vvp_instance_name = var.name
      storage = {
        oss = {
          bucket = data.alicloud_oss_buckets.default.buckets[0].name
        }
      }
      vpc_id      = alicloud_vpc_network.default.id
      vswitch_ids = [alicloud_vpc_switch.default.id]
      resource_spec = {
        cpu       = "8"
        memory_gb = "32"
      }
      payment_type = "PayAsYouGo"
      zone_id      = alicloud_vpc_switch.default.zone_id
    }
    resource "alicloud_realtimecompute_variable" "default" {
      lifecycle {
        create_before_destroy = true
      }
      name        = var.name
      namespace   ="${alicloud_realtimecompute_vvp_instance.default.vvp_instance_name}-default"
      workspace   = alicloud_realtimecompute_vvp_instance.default.resource_id
      kind        = "Clear"
      value       = "YourPassword123!"
      description = var.name
    }
    variable "name" {
      type    = string
      default = "terraform-example"
    }
    output "realtimeComputeVariablesId0" {
      value = data.alicloud_realtimecompute_variables.ids.variables[0].id
    }
    

    Using getVariables

    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 getVariables(args: GetVariablesArgs, opts?: InvokeOptions): Promise<GetVariablesResult>
    function getVariablesOutput(args: GetVariablesOutputArgs, opts?: InvokeOutputOptions): Output<GetVariablesResult>
    def get_variables(ids: Optional[Sequence[str]] = None,
                      name_regex: Optional[str] = None,
                      namespace: Optional[str] = None,
                      output_file: Optional[str] = None,
                      workspace: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetVariablesResult
    def get_variables_output(ids: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                      name_regex: pulumi.Input[Optional[str]] = None,
                      namespace: pulumi.Input[Optional[str]] = None,
                      output_file: pulumi.Input[Optional[str]] = None,
                      workspace: pulumi.Input[Optional[str]] = None,
                      opts: Optional[InvokeOutputOptions] = None) -> Output[GetVariablesResult]
    func GetVariables(ctx *Context, args *GetVariablesArgs, opts ...InvokeOption) (*GetVariablesResult, error)
    func GetVariablesOutput(ctx *Context, args *GetVariablesOutputArgs, opts ...InvokeOption) GetVariablesResultOutput

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

    public static class GetVariables 
    {
        public static Task<GetVariablesResult> InvokeAsync(GetVariablesArgs args, InvokeOptions? opts = null)
        public static Output<GetVariablesResult> Invoke(GetVariablesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetVariablesResult> Invoke(GetVariablesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetVariablesResult> getVariables(GetVariablesArgs args, InvokeOptions options)
    public static Output<GetVariablesResult> getVariables(GetVariablesArgs args, InvokeOptions options)
    public static Output<GetVariablesResult> getVariables(GetVariablesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: alicloud:realtimecompute/getVariables:getVariables
      arguments:
        # arguments dictionary
    data "alicloud_realtimecompute_get_variables" "name" {
        # arguments
    }

    The following arguments are supported:

    Namespace string
    The name of the namespace.
    Workspace string
    The ID of the workspace.
    Ids List<string>
    A list of Variable IDs. It formats as <workspace>:<namespace>:<name>.
    NameRegex string
    A regex string to filter results by Variable name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Namespace string
    The name of the namespace.
    Workspace string
    The ID of the workspace.
    Ids []string
    A list of Variable IDs. It formats as <workspace>:<namespace>:<name>.
    NameRegex string
    A regex string to filter results by Variable name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    namespace string
    The name of the namespace.
    workspace string
    The ID of the workspace.
    ids list(string)
    A list of Variable IDs. It formats as <workspace>:<namespace>:<name>.
    name_regex string
    A regex string to filter results by Variable name.
    output_file string
    File name where to save data source results (after running pulumi preview).
    namespace String
    The name of the namespace.
    workspace String
    The ID of the workspace.
    ids List<String>
    A list of Variable IDs. It formats as <workspace>:<namespace>:<name>.
    nameRegex String
    A regex string to filter results by Variable name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    namespace string
    The name of the namespace.
    workspace string
    The ID of the workspace.
    ids string[]
    A list of Variable IDs. It formats as <workspace>:<namespace>:<name>.
    nameRegex string
    A regex string to filter results by Variable name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    namespace str
    The name of the namespace.
    workspace str
    The ID of the workspace.
    ids Sequence[str]
    A list of Variable IDs. It formats as <workspace>:<namespace>:<name>.
    name_regex str
    A regex string to filter results by Variable name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    namespace String
    The name of the namespace.
    workspace String
    The ID of the workspace.
    ids List<String>
    A list of Variable IDs. It formats as <workspace>:<namespace>:<name>.
    nameRegex String
    A regex string to filter results by Variable name.
    outputFile String
    File name where to save data source results (after running pulumi preview).

    getVariables Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    Names List<string>
    A list of Variable names.
    Namespace string
    The name of the namespace.
    Variables List<Pulumi.AliCloud.RealtimeCompute.Outputs.GetVariablesVariable>
    A list of Variables. Each element contains the following attributes:
    Workspace string
    The workspace ID.
    NameRegex string
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Names []string
    A list of Variable names.
    Namespace string
    The name of the namespace.
    Variables []GetVariablesVariable
    A list of Variables. Each element contains the following attributes:
    Workspace string
    The workspace ID.
    NameRegex string
    OutputFile string
    id string
    The provider-assigned unique ID for this managed resource.
    ids list(string)
    names list(string)
    A list of Variable names.
    namespace string
    The name of the namespace.
    variables list(object)
    A list of Variables. Each element contains the following attributes:
    workspace string
    The workspace ID.
    name_regex string
    output_file string
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    A list of Variable names.
    namespace String
    The name of the namespace.
    variables List<GetVariablesVariable>
    A list of Variables. Each element contains the following attributes:
    workspace String
    The workspace ID.
    nameRegex String
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    names string[]
    A list of Variable names.
    namespace string
    The name of the namespace.
    variables GetVariablesVariable[]
    A list of Variables. Each element contains the following attributes:
    workspace string
    The workspace ID.
    nameRegex string
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    names Sequence[str]
    A list of Variable names.
    namespace str
    The name of the namespace.
    variables Sequence[GetVariablesVariable]
    A list of Variables. Each element contains the following attributes:
    workspace str
    The workspace ID.
    name_regex str
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    A list of Variable names.
    namespace String
    The name of the namespace.
    variables List<Property Map>
    A list of Variables. Each element contains the following attributes:
    workspace String
    The workspace ID.
    nameRegex String
    outputFile String

    Supporting Types

    GetVariablesVariable

    Description string
    The description of the variable.
    Id string
    The ID of the Variable.
    Kind string
    The kind of the variable, currently supports Plain.
    Name string
    The name of the variable.
    Namespace string
    The name of the namespace.
    Value string
    The value of the variable.
    Workspace string
    The ID of the workspace.
    Description string
    The description of the variable.
    Id string
    The ID of the Variable.
    Kind string
    The kind of the variable, currently supports Plain.
    Name string
    The name of the variable.
    Namespace string
    The name of the namespace.
    Value string
    The value of the variable.
    Workspace string
    The ID of the workspace.
    description string
    The description of the variable.
    id string
    The ID of the Variable.
    kind string
    The kind of the variable, currently supports Plain.
    name string
    The name of the variable.
    namespace string
    The name of the namespace.
    value string
    The value of the variable.
    workspace string
    The ID of the workspace.
    description String
    The description of the variable.
    id String
    The ID of the Variable.
    kind String
    The kind of the variable, currently supports Plain.
    name String
    The name of the variable.
    namespace String
    The name of the namespace.
    value String
    The value of the variable.
    workspace String
    The ID of the workspace.
    description string
    The description of the variable.
    id string
    The ID of the Variable.
    kind string
    The kind of the variable, currently supports Plain.
    name string
    The name of the variable.
    namespace string
    The name of the namespace.
    value string
    The value of the variable.
    workspace string
    The ID of the workspace.
    description str
    The description of the variable.
    id str
    The ID of the Variable.
    kind str
    The kind of the variable, currently supports Plain.
    name str
    The name of the variable.
    namespace str
    The name of the namespace.
    value str
    The value of the variable.
    workspace str
    The ID of the workspace.
    description String
    The description of the variable.
    id String
    The ID of the Variable.
    kind String
    The kind of the variable, currently supports Plain.
    name String
    The name of the variable.
    namespace String
    The name of the namespace.
    value String
    The value of the variable.
    workspace String
    The ID of the workspace.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo alicloud logo
    Viewing docs for Alibaba Cloud v4.0.1
    published on Tuesday, Oct 27, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial