1. Packages
  2. Alicloud Provider
  3. API Docs
  4. actiontrail
  5. getInstances
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.actiontrail.getInstances

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    This data source provides a list of ALIKAFKA Instances in an Alibaba Cloud account according to the specified filters.

    NOTE: Available in 1.59.0+

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const instanceName = config.get("instanceName") || "alikafkaInstanceName";
    const default = alicloud.getZones({
        availableResourceCreation: "VSwitch",
    });
    const defaultNetwork = new alicloud.vpc.Network("default", {cidrBlock: "172.16.0.0/12"});
    const defaultSwitch = new alicloud.vpc.Switch("default", {
        vpcId: defaultNetwork.id,
        cidrBlock: "172.16.0.0/24",
        zoneId: _default.then(_default => _default.zones?.[0]?.id),
    });
    const defaultInstance = new alicloud.alikafka.Instance("default", {
        name: instanceName,
        partitionNum: 50,
        diskType: 1,
        diskSize: 500,
        deployType: 4,
        ioMax: 20,
        vswitchId: defaultSwitch.id,
    });
    const instancesDs = alicloud.actiontrail.getInstances({
        nameRegex: "alikafkaInstanceName",
        outputFile: "instances.txt",
    });
    export const firstInstanceName = instancesDs.then(instancesDs => instancesDs.instances?.[0]?.name);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    instance_name = config.get("instanceName")
    if instance_name is None:
        instance_name = "alikafkaInstanceName"
    default = alicloud.get_zones(available_resource_creation="VSwitch")
    default_network = alicloud.vpc.Network("default", cidr_block="172.16.0.0/12")
    default_switch = alicloud.vpc.Switch("default",
        vpc_id=default_network.id,
        cidr_block="172.16.0.0/24",
        zone_id=default.zones[0].id)
    default_instance = alicloud.alikafka.Instance("default",
        name=instance_name,
        partition_num=50,
        disk_type=1,
        disk_size=500,
        deploy_type=4,
        io_max=20,
        vswitch_id=default_switch.id)
    instances_ds = alicloud.actiontrail.get_instances(name_regex="alikafkaInstanceName",
        output_file="instances.txt")
    pulumi.export("firstInstanceName", instances_ds.instances[0].name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/actiontrail"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/alikafka"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/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, "")
    		instanceName := "alikafkaInstanceName"
    		if param := cfg.Get("instanceName"); param != "" {
    			instanceName = param
    		}
    		_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
    			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
    			CidrBlock: pulumi.String("172.16.0.0/12"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
    			VpcId:     defaultNetwork.ID(),
    			CidrBlock: pulumi.String("172.16.0.0/24"),
    			ZoneId:    pulumi.String(_default.Zones[0].Id),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = alikafka.NewInstance(ctx, "default", &alikafka.InstanceArgs{
    			Name:         pulumi.String(instanceName),
    			PartitionNum: pulumi.Int(50),
    			DiskType:     pulumi.Int(1),
    			DiskSize:     pulumi.Int(500),
    			DeployType:   pulumi.Int(4),
    			IoMax:        pulumi.Int(20),
    			VswitchId:    defaultSwitch.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		instancesDs, err := actiontrail.GetInstances(ctx, &actiontrail.GetInstancesArgs{
    			NameRegex:  pulumi.StringRef("alikafkaInstanceName"),
    			OutputFile: pulumi.StringRef("instances.txt"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("firstInstanceName", instancesDs.Instances[0].Name)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var instanceName = config.Get("instanceName") ?? "alikafkaInstanceName";
        var @default = AliCloud.GetZones.Invoke(new()
        {
            AvailableResourceCreation = "VSwitch",
        });
    
        var defaultNetwork = new AliCloud.Vpc.Network("default", new()
        {
            CidrBlock = "172.16.0.0/12",
        });
    
        var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
        {
            VpcId = defaultNetwork.Id,
            CidrBlock = "172.16.0.0/24",
            ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
        });
    
        var defaultInstance = new AliCloud.AliKafka.Instance("default", new()
        {
            Name = instanceName,
            PartitionNum = 50,
            DiskType = 1,
            DiskSize = 500,
            DeployType = 4,
            IoMax = 20,
            VswitchId = defaultSwitch.Id,
        });
    
        var instancesDs = AliCloud.ActionTrail.GetInstances.Invoke(new()
        {
            NameRegex = "alikafkaInstanceName",
            OutputFile = "instances.txt",
        });
    
        return new Dictionary<string, object?>
        {
            ["firstInstanceName"] = instancesDs.Apply(getInstancesResult => getInstancesResult.Instances[0]?.Name),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.AlicloudFunctions;
    import com.pulumi.alicloud.inputs.GetZonesArgs;
    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.alikafka.Instance;
    import com.pulumi.alicloud.alikafka.InstanceArgs;
    import com.pulumi.alicloud.actiontrail.ActiontrailFunctions;
    import com.pulumi.alicloud.actiontrail.inputs.GetInstancesArgs;
    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 config = ctx.config();
            final var instanceName = config.get("instanceName").orElse("alikafkaInstanceName");
            final var default = AlicloudFunctions.getZones(GetZonesArgs.builder()
                .availableResourceCreation("VSwitch")
                .build());
    
            var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
                .cidrBlock("172.16.0.0/12")
                .build());
    
            var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
                .vpcId(defaultNetwork.id())
                .cidrBlock("172.16.0.0/24")
                .zoneId(default_.zones()[0].id())
                .build());
    
            var defaultInstance = new Instance("defaultInstance", InstanceArgs.builder()
                .name(instanceName)
                .partitionNum("50")
                .diskType("1")
                .diskSize("500")
                .deployType("4")
                .ioMax("20")
                .vswitchId(defaultSwitch.id())
                .build());
    
            final var instancesDs = ActiontrailFunctions.getInstances(GetInstancesArgs.builder()
                .nameRegex("alikafkaInstanceName")
                .outputFile("instances.txt")
                .build());
    
            ctx.export("firstInstanceName", instancesDs.applyValue(getInstancesResult -> getInstancesResult.instances()[0].name()));
        }
    }
    
    configuration:
      instanceName:
        type: string
        default: alikafkaInstanceName
    resources:
      defaultNetwork:
        type: alicloud:vpc:Network
        name: default
        properties:
          cidrBlock: 172.16.0.0/12
      defaultSwitch:
        type: alicloud:vpc:Switch
        name: default
        properties:
          vpcId: ${defaultNetwork.id}
          cidrBlock: 172.16.0.0/24
          zoneId: ${default.zones[0].id}
      defaultInstance:
        type: alicloud:alikafka:Instance
        name: default
        properties:
          name: ${instanceName}
          partitionNum: '50'
          diskType: '1'
          diskSize: '500'
          deployType: '4'
          ioMax: '20'
          vswitchId: ${defaultSwitch.id}
    variables:
      default:
        fn::invoke:
          Function: alicloud:getZones
          Arguments:
            availableResourceCreation: VSwitch
      instancesDs:
        fn::invoke:
          Function: alicloud:actiontrail:getInstances
          Arguments:
            nameRegex: alikafkaInstanceName
            outputFile: instances.txt
    outputs:
      firstInstanceName: ${instancesDs.instances[0].name}
    

    Using getInstances

    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 getInstances(args: GetInstancesArgs, opts?: InvokeOptions): Promise<GetInstancesResult>
    function getInstancesOutput(args: GetInstancesOutputArgs, opts?: InvokeOptions): Output<GetInstancesResult>
    def get_instances(enable_details: Optional[bool] = None,
                      ids: Optional[Sequence[str]] = None,
                      name_regex: Optional[str] = None,
                      output_file: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetInstancesResult
    def get_instances_output(enable_details: Optional[pulumi.Input[bool]] = None,
                      ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                      name_regex: Optional[pulumi.Input[str]] = None,
                      output_file: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetInstancesResult]
    func GetInstances(ctx *Context, args *GetInstancesArgs, opts ...InvokeOption) (*GetInstancesResult, error)
    func GetInstancesOutput(ctx *Context, args *GetInstancesOutputArgs, opts ...InvokeOption) GetInstancesResultOutput

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

    public static class GetInstances 
    {
        public static Task<GetInstancesResult> InvokeAsync(GetInstancesArgs args, InvokeOptions? opts = null)
        public static Output<GetInstancesResult> Invoke(GetInstancesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstancesResult> getInstances(GetInstancesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:actiontrail/getInstances:getInstances
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EnableDetails bool
    Ids List<string>
    A list of instance IDs to filter results.
    NameRegex string
    A regex string to filter results by the instance name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    EnableDetails bool
    Ids []string
    A list of instance IDs to filter results.
    NameRegex string
    A regex string to filter results by the instance name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    enableDetails Boolean
    ids List<String>
    A list of instance IDs to filter results.
    nameRegex String
    A regex string to filter results by the instance name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    enableDetails boolean
    ids string[]
    A list of instance IDs to filter results.
    nameRegex string
    A regex string to filter results by the instance name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    enable_details bool
    ids Sequence[str]
    A list of instance IDs to filter results.
    name_regex str
    A regex string to filter results by the instance name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    enableDetails Boolean
    ids List<String>
    A list of instance IDs to filter results.
    nameRegex String
    A regex string to filter results by the instance name.
    outputFile String
    File name where to save data source results (after running pulumi preview).

    getInstances Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    A list of instance IDs.
    Instances List<Pulumi.AliCloud.ActionTrail.Outputs.GetInstancesInstance>
    A list of instances. Each element contains the following attributes:
    Names List<string>
    A list of instance names.
    EnableDetails bool
    NameRegex string
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    A list of instance IDs.
    Instances []GetInstancesInstance
    A list of instances. Each element contains the following attributes:
    Names []string
    A list of instance names.
    EnableDetails bool
    NameRegex string
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of instance IDs.
    instances List<GetInstancesInstance>
    A list of instances. Each element contains the following attributes:
    names List<String>
    A list of instance names.
    enableDetails Boolean
    nameRegex String
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    A list of instance IDs.
    instances GetInstancesInstance[]
    A list of instances. Each element contains the following attributes:
    names string[]
    A list of instance names.
    enableDetails boolean
    nameRegex string
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    A list of instance IDs.
    instances Sequence[GetInstancesInstance]
    A list of instances. Each element contains the following attributes:
    names Sequence[str]
    A list of instance names.
    enable_details bool
    name_regex str
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of instance IDs.
    instances List<Property Map>
    A list of instances. Each element contains the following attributes:
    names List<String>
    A list of instance names.
    enableDetails Boolean
    nameRegex String
    outputFile String

    Supporting Types

    GetInstancesInstance

    AllowedLists List<Pulumi.AliCloud.ActionTrail.Inputs.GetInstancesInstanceAllowedList>
    The allowed list of the instance.
    Config string
    The config the instance.
    CreateTime string
    The create time of the instance.
    DeployType int
    The deployed type of the instance.
    DiskSize int
    The disk size of the instance.
    DiskType int
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    DomainEndpoint string
    The domain point of the instance.
    EipMax int
    The peak bandwidth of the instance.
    EndPoint string
    The endPoint to access the instance.
    ExpiredTime int
    The expired time of the instance.
    Id string
    ID of the instance.
    IoMax int
    The peak value of io of the instance.
    MsgRetain int
    The msg retain of the instance.
    Name string
    Name of the instance.
    PaidType string
    The paid type of the instance.
    PartitionNum int
    (Available in 1.194.0+) The number of partitions.
    SaslDomainEndpoint string
    The SASL domain point of the instance.
    SecurityGroup string
    The security group of the instance.
    ServiceStatus int
    The current status of the instance. -1: unknown status, 0: wait deploy, 1: initializing, 2: preparing, 3 starting, 5: in service, 7: wait upgrade, 8: upgrading, 10: released, 15: freeze, 101: deploy error, 102: upgrade error.
    ServiceVersion string
    The kafka openSource version of the instance.
    SpecType string
    The spec type of the instance.
    SslDomainEndpoint string
    The SSL domain point of the instance.
    SslEndPoint string
    The SSL end point of the instance.
    TopicQuota int
    The max num of topic can be create of the instance.
    UpgradeServiceDetailInfos List<Pulumi.AliCloud.ActionTrail.Inputs.GetInstancesInstanceUpgradeServiceDetailInfo>
    The UpgradeServiceDetailInfo List.
    VpcId string
    The ID of attaching VPC to instance.
    VswitchId string
    The ID of attaching vswitch to instance.
    ZoneId string
    The ID of attaching zone to instance.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the instance.
    AllowedLists []GetInstancesInstanceAllowedList
    The allowed list of the instance.
    Config string
    The config the instance.
    CreateTime string
    The create time of the instance.
    DeployType int
    The deployed type of the instance.
    DiskSize int
    The disk size of the instance.
    DiskType int
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    DomainEndpoint string
    The domain point of the instance.
    EipMax int
    The peak bandwidth of the instance.
    EndPoint string
    The endPoint to access the instance.
    ExpiredTime int
    The expired time of the instance.
    Id string
    ID of the instance.
    IoMax int
    The peak value of io of the instance.
    MsgRetain int
    The msg retain of the instance.
    Name string
    Name of the instance.
    PaidType string
    The paid type of the instance.
    PartitionNum int
    (Available in 1.194.0+) The number of partitions.
    SaslDomainEndpoint string
    The SASL domain point of the instance.
    SecurityGroup string
    The security group of the instance.
    ServiceStatus int
    The current status of the instance. -1: unknown status, 0: wait deploy, 1: initializing, 2: preparing, 3 starting, 5: in service, 7: wait upgrade, 8: upgrading, 10: released, 15: freeze, 101: deploy error, 102: upgrade error.
    ServiceVersion string
    The kafka openSource version of the instance.
    SpecType string
    The spec type of the instance.
    SslDomainEndpoint string
    The SSL domain point of the instance.
    SslEndPoint string
    The SSL end point of the instance.
    TopicQuota int
    The max num of topic can be create of the instance.
    UpgradeServiceDetailInfos []GetInstancesInstanceUpgradeServiceDetailInfo
    The UpgradeServiceDetailInfo List.
    VpcId string
    The ID of attaching VPC to instance.
    VswitchId string
    The ID of attaching vswitch to instance.
    ZoneId string
    The ID of attaching zone to instance.
    Tags map[string]string
    A mapping of tags to assign to the instance.
    allowedLists List<GetInstancesInstanceAllowedList>
    The allowed list of the instance.
    config String
    The config the instance.
    createTime String
    The create time of the instance.
    deployType Integer
    The deployed type of the instance.
    diskSize Integer
    The disk size of the instance.
    diskType Integer
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    domainEndpoint String
    The domain point of the instance.
    eipMax Integer
    The peak bandwidth of the instance.
    endPoint String
    The endPoint to access the instance.
    expiredTime Integer
    The expired time of the instance.
    id String
    ID of the instance.
    ioMax Integer
    The peak value of io of the instance.
    msgRetain Integer
    The msg retain of the instance.
    name String
    Name of the instance.
    paidType String
    The paid type of the instance.
    partitionNum Integer
    (Available in 1.194.0+) The number of partitions.
    saslDomainEndpoint String
    The SASL domain point of the instance.
    securityGroup String
    The security group of the instance.
    serviceStatus Integer
    The current status of the instance. -1: unknown status, 0: wait deploy, 1: initializing, 2: preparing, 3 starting, 5: in service, 7: wait upgrade, 8: upgrading, 10: released, 15: freeze, 101: deploy error, 102: upgrade error.
    serviceVersion String
    The kafka openSource version of the instance.
    specType String
    The spec type of the instance.
    sslDomainEndpoint String
    The SSL domain point of the instance.
    sslEndPoint String
    The SSL end point of the instance.
    topicQuota Integer
    The max num of topic can be create of the instance.
    upgradeServiceDetailInfos List<GetInstancesInstanceUpgradeServiceDetailInfo>
    The UpgradeServiceDetailInfo List.
    vpcId String
    The ID of attaching VPC to instance.
    vswitchId String
    The ID of attaching vswitch to instance.
    zoneId String
    The ID of attaching zone to instance.
    tags Map<String,String>
    A mapping of tags to assign to the instance.
    allowedLists GetInstancesInstanceAllowedList[]
    The allowed list of the instance.
    config string
    The config the instance.
    createTime string
    The create time of the instance.
    deployType number
    The deployed type of the instance.
    diskSize number
    The disk size of the instance.
    diskType number
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    domainEndpoint string
    The domain point of the instance.
    eipMax number
    The peak bandwidth of the instance.
    endPoint string
    The endPoint to access the instance.
    expiredTime number
    The expired time of the instance.
    id string
    ID of the instance.
    ioMax number
    The peak value of io of the instance.
    msgRetain number
    The msg retain of the instance.
    name string
    Name of the instance.
    paidType string
    The paid type of the instance.
    partitionNum number
    (Available in 1.194.0+) The number of partitions.
    saslDomainEndpoint string
    The SASL domain point of the instance.
    securityGroup string
    The security group of the instance.
    serviceStatus number
    The current status of the instance. -1: unknown status, 0: wait deploy, 1: initializing, 2: preparing, 3 starting, 5: in service, 7: wait upgrade, 8: upgrading, 10: released, 15: freeze, 101: deploy error, 102: upgrade error.
    serviceVersion string
    The kafka openSource version of the instance.
    specType string
    The spec type of the instance.
    sslDomainEndpoint string
    The SSL domain point of the instance.
    sslEndPoint string
    The SSL end point of the instance.
    topicQuota number
    The max num of topic can be create of the instance.
    upgradeServiceDetailInfos GetInstancesInstanceUpgradeServiceDetailInfo[]
    The UpgradeServiceDetailInfo List.
    vpcId string
    The ID of attaching VPC to instance.
    vswitchId string
    The ID of attaching vswitch to instance.
    zoneId string
    The ID of attaching zone to instance.
    tags {[key: string]: string}
    A mapping of tags to assign to the instance.
    allowed_lists Sequence[GetInstancesInstanceAllowedList]
    The allowed list of the instance.
    config str
    The config the instance.
    create_time str
    The create time of the instance.
    deploy_type int
    The deployed type of the instance.
    disk_size int
    The disk size of the instance.
    disk_type int
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    domain_endpoint str
    The domain point of the instance.
    eip_max int
    The peak bandwidth of the instance.
    end_point str
    The endPoint to access the instance.
    expired_time int
    The expired time of the instance.
    id str
    ID of the instance.
    io_max int
    The peak value of io of the instance.
    msg_retain int
    The msg retain of the instance.
    name str
    Name of the instance.
    str
    The paid type of the instance.
    partition_num int
    (Available in 1.194.0+) The number of partitions.
    sasl_domain_endpoint str
    The SASL domain point of the instance.
    security_group str
    The security group of the instance.
    service_status int
    The current status of the instance. -1: unknown status, 0: wait deploy, 1: initializing, 2: preparing, 3 starting, 5: in service, 7: wait upgrade, 8: upgrading, 10: released, 15: freeze, 101: deploy error, 102: upgrade error.
    service_version str
    The kafka openSource version of the instance.
    spec_type str
    The spec type of the instance.
    ssl_domain_endpoint str
    The SSL domain point of the instance.
    ssl_end_point str
    The SSL end point of the instance.
    topic_quota int
    The max num of topic can be create of the instance.
    upgrade_service_detail_infos Sequence[GetInstancesInstanceUpgradeServiceDetailInfo]
    The UpgradeServiceDetailInfo List.
    vpc_id str
    The ID of attaching VPC to instance.
    vswitch_id str
    The ID of attaching vswitch to instance.
    zone_id str
    The ID of attaching zone to instance.
    tags Mapping[str, str]
    A mapping of tags to assign to the instance.
    allowedLists List<Property Map>
    The allowed list of the instance.
    config String
    The config the instance.
    createTime String
    The create time of the instance.
    deployType Number
    The deployed type of the instance.
    diskSize Number
    The disk size of the instance.
    diskType Number
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    domainEndpoint String
    The domain point of the instance.
    eipMax Number
    The peak bandwidth of the instance.
    endPoint String
    The endPoint to access the instance.
    expiredTime Number
    The expired time of the instance.
    id String
    ID of the instance.
    ioMax Number
    The peak value of io of the instance.
    msgRetain Number
    The msg retain of the instance.
    name String
    Name of the instance.
    paidType String
    The paid type of the instance.
    partitionNum Number
    (Available in 1.194.0+) The number of partitions.
    saslDomainEndpoint String
    The SASL domain point of the instance.
    securityGroup String
    The security group of the instance.
    serviceStatus Number
    The current status of the instance. -1: unknown status, 0: wait deploy, 1: initializing, 2: preparing, 3 starting, 5: in service, 7: wait upgrade, 8: upgrading, 10: released, 15: freeze, 101: deploy error, 102: upgrade error.
    serviceVersion String
    The kafka openSource version of the instance.
    specType String
    The spec type of the instance.
    sslDomainEndpoint String
    The SSL domain point of the instance.
    sslEndPoint String
    The SSL end point of the instance.
    topicQuota Number
    The max num of topic can be create of the instance.
    upgradeServiceDetailInfos List<Property Map>
    The UpgradeServiceDetailInfo List.
    vpcId String
    The ID of attaching VPC to instance.
    vswitchId String
    The ID of attaching vswitch to instance.
    zoneId String
    The ID of attaching zone to instance.
    tags Map<String>
    A mapping of tags to assign to the instance.

    GetInstancesInstanceAllowedList

    DeployType string
    The deployed type of the instance.
    InternetLists []GetInstancesInstanceAllowedListInternetList
    The internet list of the instance.
    VpcLists []GetInstancesInstanceAllowedListVpcList
    The vpc list of the instance.
    deployType String
    The deployed type of the instance.
    internetLists List<GetInstancesInstanceAllowedListInternetList>
    The internet list of the instance.
    vpcLists List<GetInstancesInstanceAllowedListVpcList>
    The vpc list of the instance.
    deployType string
    The deployed type of the instance.
    internetLists GetInstancesInstanceAllowedListInternetList[]
    The internet list of the instance.
    vpcLists GetInstancesInstanceAllowedListVpcList[]
    The vpc list of the instance.
    deploy_type str
    The deployed type of the instance.
    internet_lists Sequence[GetInstancesInstanceAllowedListInternetList]
    The internet list of the instance.
    vpc_lists Sequence[GetInstancesInstanceAllowedListVpcList]
    The vpc list of the instance.
    deployType String
    The deployed type of the instance.
    internetLists List<Property Map>
    The internet list of the instance.
    vpcLists List<Property Map>
    The vpc list of the instance.

    GetInstancesInstanceAllowedListInternetList

    AllowedIpLists List<string>
    The allowed ip list of the internet_list.
    PortRange string
    The port range of the internet_list.
    AllowedIpLists []string
    The allowed ip list of the internet_list.
    PortRange string
    The port range of the internet_list.
    allowedIpLists List<String>
    The allowed ip list of the internet_list.
    portRange String
    The port range of the internet_list.
    allowedIpLists string[]
    The allowed ip list of the internet_list.
    portRange string
    The port range of the internet_list.
    allowed_ip_lists Sequence[str]
    The allowed ip list of the internet_list.
    port_range str
    The port range of the internet_list.
    allowedIpLists List<String>
    The allowed ip list of the internet_list.
    portRange String
    The port range of the internet_list.

    GetInstancesInstanceAllowedListVpcList

    AllowedIpLists List<string>
    The allowed ip list of the internet_list.
    PortRange string
    The port range of the internet_list.
    AllowedIpLists []string
    The allowed ip list of the internet_list.
    PortRange string
    The port range of the internet_list.
    allowedIpLists List<String>
    The allowed ip list of the internet_list.
    portRange String
    The port range of the internet_list.
    allowedIpLists string[]
    The allowed ip list of the internet_list.
    portRange string
    The port range of the internet_list.
    allowed_ip_lists Sequence[str]
    The allowed ip list of the internet_list.
    port_range str
    The port range of the internet_list.
    allowedIpLists List<String>
    The allowed ip list of the internet_list.
    portRange String
    The port range of the internet_list.

    GetInstancesInstanceUpgradeServiceDetailInfo

    Current2OpenSourceVersion string
    The Current2OpenSourceVersion of the instance.
    Current2OpenSourceVersion string
    The Current2OpenSourceVersion of the instance.
    current2OpenSourceVersion String
    The Current2OpenSourceVersion of the instance.
    current2OpenSourceVersion string
    The Current2OpenSourceVersion of the instance.
    current2_open_source_version str
    The Current2OpenSourceVersion of the instance.
    current2OpenSourceVersion String
    The Current2OpenSourceVersion of the instance.

    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
    Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi