Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi
alicloud.actiontrail.getInstances
Explore with Pulumi AI
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 dictionaryThe following arguments are supported:
- Enable
Details bool - Ids List<string>
 - A list of instance IDs to filter results.
 - Name
Regex string - A regex string to filter results by the instance name.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). 
- Enable
Details bool - Ids []string
 - A list of instance IDs to filter results.
 - Name
Regex string - A regex string to filter results by the instance name.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). 
- enable
Details Boolean - ids List<String>
 - A list of instance IDs to filter results.
 - name
Regex String - A regex string to filter results by the instance name.
 - output
File String - File name where to save data source results (after running 
pulumi preview). 
- enable
Details boolean - ids string[]
 - A list of instance IDs to filter results.
 - name
Regex string - A regex string to filter results by the instance name.
 - output
File 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). 
- enable
Details Boolean - ids List<String>
 - A list of instance IDs to filter results.
 - name
Regex String - A regex string to filter results by the instance name.
 - output
File 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.
Ali Cloud. Action Trail. Outputs. Get Instances Instance>  - A list of instances. Each element contains the following attributes:
 - Names List<string>
 - A list of instance names.
 - Enable
Details bool - Name
Regex string - Output
File string 
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Ids []string
 - A list of instance IDs.
 - Instances
[]Get
Instances Instance  - A list of instances. Each element contains the following attributes:
 - Names []string
 - A list of instance names.
 - Enable
Details bool - Name
Regex string - Output
File string 
- id String
 - The provider-assigned unique ID for this managed resource.
 - ids List<String>
 - A list of instance IDs.
 - instances
List<Get
Instances Instance>  - A list of instances. Each element contains the following attributes:
 - names List<String>
 - A list of instance names.
 - enable
Details Boolean - name
Regex String - output
File String 
- id string
 - The provider-assigned unique ID for this managed resource.
 - ids string[]
 - A list of instance IDs.
 - instances
Get
Instances Instance[]  - A list of instances. Each element contains the following attributes:
 - names string[]
 - A list of instance names.
 - enable
Details boolean - name
Regex string - output
File string 
- id str
 - The provider-assigned unique ID for this managed resource.
 - ids Sequence[str]
 - A list of instance IDs.
 - instances
Sequence[Get
Instances Instance]  - 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.
 - enable
Details Boolean - name
Regex String - output
File String 
Supporting Types
GetInstancesInstance  
- Allowed
Lists List<Pulumi.Ali Cloud. Action Trail. Inputs. Get Instances Instance Allowed List>  - The allowed list of the instance.
 - Config string
 - The config the instance.
 - Create
Time string - 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 string - The domain point of the instance.
 - Eip
Max int - The peak bandwidth of the instance.
 - End
Point string - The endPoint to access the instance.
 - Expired
Time int - The expired time of the instance.
 - Id string
 - 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 string
 - Name of the instance.
 - Paid
Type string - The paid type of the instance.
 - Partition
Num int - (Available in 1.194.0+) The number of partitions.
 - Sasl
Domain stringEndpoint  - The SASL domain point of the instance.
 - Security
Group string - 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 string - The kafka openSource version of the instance.
 - Spec
Type string - The spec type of the instance.
 - Ssl
Domain stringEndpoint  - The SSL domain point of the instance.
 - Ssl
End stringPoint  - The SSL end point of the instance.
 - Topic
Quota int - The max num of topic can be create of the instance.
 - Upgrade
Service List<Pulumi.Detail Infos Ali Cloud. Action Trail. Inputs. Get Instances Instance Upgrade Service Detail Info>  - The UpgradeServiceDetailInfo List.
 - Vpc
Id string - The ID of attaching VPC to instance.
 - Vswitch
Id string - The ID of attaching vswitch to instance.
 - Zone
Id string - The ID of attaching zone to instance.
 - Dictionary<string, object>
 - A mapping of tags to assign to the instance.
 
- Allowed
Lists []GetInstances Instance Allowed List  - The allowed list of the instance.
 - Config string
 - The config the instance.
 - Create
Time string - 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 string - The domain point of the instance.
 - Eip
Max int - The peak bandwidth of the instance.
 - End
Point string - The endPoint to access the instance.
 - Expired
Time int - The expired time of the instance.
 - Id string
 - 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 string
 - Name of the instance.
 - Paid
Type string - The paid type of the instance.
 - Partition
Num int - (Available in 1.194.0+) The number of partitions.
 - Sasl
Domain stringEndpoint  - The SASL domain point of the instance.
 - Security
Group string - 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 string - The kafka openSource version of the instance.
 - Spec
Type string - The spec type of the instance.
 - Ssl
Domain stringEndpoint  - The SSL domain point of the instance.
 - Ssl
End stringPoint  - The SSL end point of the instance.
 - Topic
Quota int - The max num of topic can be create of the instance.
 - Upgrade
Service []GetDetail Infos Instances Instance Upgrade Service Detail Info  - The UpgradeServiceDetailInfo List.
 - Vpc
Id string - The ID of attaching VPC to instance.
 - Vswitch
Id string - The ID of attaching vswitch to instance.
 - Zone
Id string - The ID of attaching zone to instance.
 - map[string]interface{}
 - A mapping of tags to assign to the instance.
 
- allowed
Lists List<GetInstances Instance Allowed List>  - The allowed list of the instance.
 - config String
 - The config the instance.
 - create
Time String - The create time of the instance.
 - deploy
Type Integer - The deployed type of the instance.
 - disk
Size Integer - The disk size of the instance.
 - disk
Type Integer - The disk type of the instance. 0: efficient cloud disk , 1: SSD.
 - domain
Endpoint String - The domain point of the instance.
 - eip
Max Integer - The peak bandwidth of the instance.
 - end
Point String - The endPoint to access the instance.
 - expired
Time Integer - The expired time of the instance.
 - id String
 - ID of the instance.
 - io
Max Integer - The peak value of io of the instance.
 - msg
Retain Integer - The msg retain of the instance.
 - name String
 - Name of the instance.
 - paid
Type String - The paid type of the instance.
 - partition
Num Integer - (Available in 1.194.0+) The number of partitions.
 - sasl
Domain StringEndpoint  - The SASL domain point of the instance.
 - security
Group String - The security group of the instance.
 - service
Status 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.
 - service
Version String - The kafka openSource version of the instance.
 - spec
Type String - The spec type of the instance.
 - ssl
Domain StringEndpoint  - The SSL domain point of the instance.
 - ssl
End StringPoint  - The SSL end point of the instance.
 - topic
Quota Integer - The max num of topic can be create of the instance.
 - upgrade
Service List<GetDetail Infos Instances Instance Upgrade Service Detail Info>  - The UpgradeServiceDetailInfo List.
 - vpc
Id String - The ID of attaching VPC to instance.
 - vswitch
Id String - The ID of attaching vswitch to instance.
 - zone
Id String - The ID of attaching zone to instance.
 - Map<String,Object>
 - A mapping of tags to assign to the instance.
 
- allowed
Lists GetInstances Instance Allowed List[]  - The allowed list of the instance.
 - config string
 - The config the instance.
 - create
Time string - The create time of the instance.
 - deploy
Type number - The deployed type of the instance.
 - disk
Size number - The disk size of the instance.
 - disk
Type number - The disk type of the instance. 0: efficient cloud disk , 1: SSD.
 - domain
Endpoint string - The domain point of the instance.
 - eip
Max number - The peak bandwidth of the instance.
 - end
Point string - The endPoint to access the instance.
 - expired
Time number - The expired time of the instance.
 - id string
 - ID of the instance.
 - io
Max number - The peak value of io of the instance.
 - msg
Retain number - The msg retain of the instance.
 - name string
 - Name of the instance.
 - paid
Type string - The paid type of the instance.
 - partition
Num number - (Available in 1.194.0+) The number of partitions.
 - sasl
Domain stringEndpoint  - The SASL domain point of the instance.
 - security
Group string - The security group of the instance.
 - service
Status 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.
 - service
Version string - The kafka openSource version of the instance.
 - spec
Type string - The spec type of the instance.
 - ssl
Domain stringEndpoint  - The SSL domain point of the instance.
 - ssl
End stringPoint  - The SSL end point of the instance.
 - topic
Quota number - The max num of topic can be create of the instance.
 - upgrade
Service GetDetail Infos Instances Instance Upgrade Service Detail Info[]  - The UpgradeServiceDetailInfo List.
 - vpc
Id string - The ID of attaching VPC to instance.
 - vswitch
Id string - The ID of attaching vswitch to instance.
 - zone
Id string - The ID of attaching zone to instance.
 - {[key: string]: any}
 - A mapping of tags to assign to the instance.
 
- allowed_
lists Sequence[GetInstances Instance Allowed List]  - 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.
 - paid_
type str - The paid type of the instance.
 - partition_
num int - (Available in 1.194.0+) The number of partitions.
 - sasl_
domain_ strendpoint  - 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_ strendpoint  - The SSL domain point of the instance.
 - ssl_
end_ strpoint  - The SSL end point of the instance.
 - topic_
quota int - The max num of topic can be create of the instance.
 - upgrade_
service_ Sequence[Getdetail_ infos Instances Instance Upgrade Service Detail Info]  - 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.
 - Mapping[str, Any]
 - A mapping of tags to assign to the instance.
 
- allowed
Lists List<Property Map> - The allowed list of the instance.
 - config String
 - The config the instance.
 - create
Time String - The create time of the instance.
 - deploy
Type Number - The deployed type of the instance.
 - disk
Size Number - The disk size of the instance.
 - disk
Type Number - The disk type of the instance. 0: efficient cloud disk , 1: SSD.
 - domain
Endpoint String - The domain point of the instance.
 - eip
Max Number - The peak bandwidth of the instance.
 - end
Point String - The endPoint to access the instance.
 - expired
Time Number - The expired time of the instance.
 - id String
 - ID of the instance.
 - io
Max Number - The peak value of io of the instance.
 - msg
Retain Number - The msg retain of the instance.
 - name String
 - Name of the instance.
 - paid
Type String - The paid type of the instance.
 - partition
Num Number - (Available in 1.194.0+) The number of partitions.
 - sasl
Domain StringEndpoint  - The SASL domain point of the instance.
 - security
Group String - The security group of the instance.
 - service
Status 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.
 - service
Version String - The kafka openSource version of the instance.
 - spec
Type String - The spec type of the instance.
 - ssl
Domain StringEndpoint  - The SSL domain point of the instance.
 - ssl
End StringPoint  - The SSL end point of the instance.
 - topic
Quota Number - The max num of topic can be create of the instance.
 - upgrade
Service List<Property Map>Detail Infos  - The UpgradeServiceDetailInfo List.
 - vpc
Id String - The ID of attaching VPC to instance.
 - vswitch
Id String - The ID of attaching vswitch to instance.
 - zone
Id String - The ID of attaching zone to instance.
 - Map<Any>
 - A mapping of tags to assign to the instance.
 
GetInstancesInstanceAllowedList    
- Deploy
Type string - The deployed type of the instance.
 - Internet
Lists List<Pulumi.Ali Cloud. Action Trail. Inputs. Get Instances Instance Allowed List Internet List>  - The internet list of the instance.
 - Vpc
Lists List<Pulumi.Ali Cloud. Action Trail. Inputs. Get Instances Instance Allowed List Vpc List>  - The vpc list of the instance.
 
- Deploy
Type string - The deployed type of the instance.
 - Internet
Lists []GetInstances Instance Allowed List Internet List  - The internet list of the instance.
 - Vpc
Lists []GetInstances Instance Allowed List Vpc List  - The vpc list of the instance.
 
- deploy
Type String - The deployed type of the instance.
 - internet
Lists List<GetInstances Instance Allowed List Internet List>  - The internet list of the instance.
 - vpc
Lists List<GetInstances Instance Allowed List Vpc List>  - The vpc list of the instance.
 
- deploy
Type string - The deployed type of the instance.
 - internet
Lists GetInstances Instance Allowed List Internet List[]  - The internet list of the instance.
 - vpc
Lists GetInstances Instance Allowed List Vpc List[]  - The vpc list of the instance.
 
- deploy_
type str - The deployed type of the instance.
 - internet_
lists Sequence[GetInstances Instance Allowed List Internet List]  - The internet list of the instance.
 - vpc_
lists Sequence[GetInstances Instance Allowed List Vpc List]  - The vpc list of the instance.
 
- deploy
Type String - The deployed type of the instance.
 - internet
Lists List<Property Map> - The internet list of the instance.
 - vpc
Lists List<Property Map> - The vpc list of the instance.
 
GetInstancesInstanceAllowedListInternetList      
- Allowed
Ip List<string>Lists  - The allowed ip list of the internet_list.
 - Port
Range string - The port range of the internet_list.
 
- Allowed
Ip []stringLists  - The allowed ip list of the internet_list.
 - Port
Range string - The port range of the internet_list.
 
- allowed
Ip List<String>Lists  - The allowed ip list of the internet_list.
 - port
Range String - The port range of the internet_list.
 
- allowed
Ip string[]Lists  - The allowed ip list of the internet_list.
 - port
Range string - The port range of the internet_list.
 
- allowed_
ip_ Sequence[str]lists  - The allowed ip list of the internet_list.
 - port_
range str - The port range of the internet_list.
 
- allowed
Ip List<String>Lists  - The allowed ip list of the internet_list.
 - port
Range String - The port range of the internet_list.
 
GetInstancesInstanceAllowedListVpcList      
- Allowed
Ip List<string>Lists  - The allowed ip list of the internet_list.
 - Port
Range string - The port range of the internet_list.
 
- Allowed
Ip []stringLists  - The allowed ip list of the internet_list.
 - Port
Range string - The port range of the internet_list.
 
- allowed
Ip List<String>Lists  - The allowed ip list of the internet_list.
 - port
Range String - The port range of the internet_list.
 
- allowed
Ip string[]Lists  - The allowed ip list of the internet_list.
 - port
Range string - The port range of the internet_list.
 
- allowed_
ip_ Sequence[str]lists  - The allowed ip list of the internet_list.
 - port_
range str - The port range of the internet_list.
 
- allowed
Ip List<String>Lists  - The allowed ip list of the internet_list.
 - port
Range String - The port range of the internet_list.
 
GetInstancesInstanceUpgradeServiceDetailInfo      
- Current2Open
Source stringVersion  - The Current2OpenSourceVersion of the instance.
 
- Current2Open
Source stringVersion  - The Current2OpenSourceVersion of the instance.
 
- current2Open
Source StringVersion  - The Current2OpenSourceVersion of the instance.
 
- current2Open
Source stringVersion  - The Current2OpenSourceVersion of the instance.
 
- current2_
open_ strsource_ version  - The Current2OpenSourceVersion of the instance.
 
- current2Open
Source StringVersion  - 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 
alicloudTerraform Provider.