mse

package
v2.35.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// The whitelist.
	AclEntryLists pulumi.StringArrayOutput `pulumi:"aclEntryLists"`
	// The alias of MSE Cluster.
	ClusterAliasName pulumi.StringPtrOutput `pulumi:"clusterAliasName"`
	// The engine specification of MSE Cluster. Valid values: `MSE_SC_1_2_200_c`, `MSE_SC_2`, `MSE_SC_4_8_200_c_4_200_c`, `MSE_SC_8_16_200_c`.
	ClusterSpecification pulumi.StringOutput `pulumi:"clusterSpecification"`
	// The type of MSE Cluster.
	ClusterType pulumi.StringOutput `pulumi:"clusterType"`
	// The version of MSE Cluster.
	ClusterVersion pulumi.StringOutput `pulumi:"clusterVersion"`
	// The type of Disk.
	DiskType pulumi.StringPtrOutput `pulumi:"diskType"`
	// The count of instance.
	InstanceCount pulumi.IntOutput `pulumi:"instanceCount"`
	// The type of network. Range limit: 1~5.
	NetType pulumi.StringOutput `pulumi:"netType"`
	// The specification of private network SLB.
	PrivateSlbSpecification pulumi.StringPtrOutput `pulumi:"privateSlbSpecification"`
	// The public network bandwidth. `0` means no access to the public network.
	PubNetworkFlow pulumi.StringPtrOutput `pulumi:"pubNetworkFlow"`
	// The specification of public network SLB.
	PubSlbSpecification pulumi.StringPtrOutput `pulumi:"pubSlbSpecification"`
	// The status of MSE Cluster.
	Status pulumi.StringOutput `pulumi:"status"`
	// The id of VSwitch.
	VswitchId pulumi.StringPtrOutput `pulumi:"vswitchId"`
}

Provides a MSE Cluster resource. It is a one-stop microservice platform for the industry's mainstream open source microservice frameworks Spring Cloud and Dubbo, providing governance center, managed registry and managed configuration center.

> **NOTE:** Available in 1.94.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/mse"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mse.NewCluster(ctx, "example", &mse.ClusterArgs{
			AclEntryLists: pulumi.StringArray{
				pulumi.String("127.0.0.1/32"),
			},
			ClusterAliasName:     pulumi.String("tf-testAccMseCluster"),
			ClusterSpecification: pulumi.String("MSE_SC_1_2_200_c"),
			ClusterType:          pulumi.String("Eureka"),
			ClusterVersion:       pulumi.String("EUREKA_1_9_3"),
			InstanceCount:        pulumi.Int(1),
			NetType:              pulumi.String("privatenet"),
			PubNetworkFlow:       pulumi.String("1"),
			VswitchId:            pulumi.String("vsw-123456"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

MSE Cluster can be imported using the id, e.g.

```sh

$ pulumi import alicloud:mse/cluster:Cluster example mse-cn-0d9xxxx

```

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

NewCluster registers a new resource with the given unique name, arguments, and options.

func (*Cluster) ElementType added in v2.25.1

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput added in v2.25.1

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext added in v2.25.1

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (*Cluster) ToClusterPtrOutput added in v2.35.1

func (i *Cluster) ToClusterPtrOutput() ClusterPtrOutput

func (*Cluster) ToClusterPtrOutputWithContext added in v2.35.1

func (i *Cluster) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterArgs

type ClusterArgs struct {
	// The whitelist.
	AclEntryLists pulumi.StringArrayInput
	// The alias of MSE Cluster.
	ClusterAliasName pulumi.StringPtrInput
	// The engine specification of MSE Cluster. Valid values: `MSE_SC_1_2_200_c`, `MSE_SC_2`, `MSE_SC_4_8_200_c_4_200_c`, `MSE_SC_8_16_200_c`.
	ClusterSpecification pulumi.StringInput
	// The type of MSE Cluster.
	ClusterType pulumi.StringInput
	// The version of MSE Cluster.
	ClusterVersion pulumi.StringInput
	// The type of Disk.
	DiskType pulumi.StringPtrInput
	// The count of instance.
	InstanceCount pulumi.IntInput
	// The type of network. Range limit: 1~5.
	NetType pulumi.StringInput
	// The specification of private network SLB.
	PrivateSlbSpecification pulumi.StringPtrInput
	// The public network bandwidth. `0` means no access to the public network.
	PubNetworkFlow pulumi.StringPtrInput
	// The specification of public network SLB.
	PubSlbSpecification pulumi.StringPtrInput
	// The id of VSwitch.
	VswitchId pulumi.StringPtrInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray added in v2.35.1

type ClusterArray []ClusterInput

func (ClusterArray) ElementType added in v2.35.1

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput added in v2.35.1

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext added in v2.35.1

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput added in v2.35.1

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput added in v2.35.1

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType added in v2.35.1

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index added in v2.35.1

func (ClusterArrayOutput) ToClusterArrayOutput added in v2.35.1

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext added in v2.35.1

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterInput added in v2.25.1

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterMap added in v2.35.1

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType added in v2.35.1

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput added in v2.35.1

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext added in v2.35.1

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput added in v2.35.1

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput added in v2.35.1

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType added in v2.35.1

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex added in v2.35.1

func (ClusterMapOutput) ToClusterMapOutput added in v2.35.1

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext added in v2.35.1

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterOutput added in v2.25.1

type ClusterOutput struct {
	*pulumi.OutputState
}

func (ClusterOutput) ElementType added in v2.25.1

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) ToClusterOutput added in v2.25.1

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext added in v2.25.1

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (ClusterOutput) ToClusterPtrOutput added in v2.35.1

func (o ClusterOutput) ToClusterPtrOutput() ClusterPtrOutput

func (ClusterOutput) ToClusterPtrOutputWithContext added in v2.35.1

func (o ClusterOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterPtrInput added in v2.35.1

type ClusterPtrInput interface {
	pulumi.Input

	ToClusterPtrOutput() ClusterPtrOutput
	ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput
}

type ClusterPtrOutput added in v2.35.1

type ClusterPtrOutput struct {
	*pulumi.OutputState
}

func (ClusterPtrOutput) ElementType added in v2.35.1

func (ClusterPtrOutput) ElementType() reflect.Type

func (ClusterPtrOutput) ToClusterPtrOutput added in v2.35.1

func (o ClusterPtrOutput) ToClusterPtrOutput() ClusterPtrOutput

func (ClusterPtrOutput) ToClusterPtrOutputWithContext added in v2.35.1

func (o ClusterPtrOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterState

type ClusterState struct {
	// The whitelist.
	AclEntryLists pulumi.StringArrayInput
	// The alias of MSE Cluster.
	ClusterAliasName pulumi.StringPtrInput
	// The engine specification of MSE Cluster. Valid values: `MSE_SC_1_2_200_c`, `MSE_SC_2`, `MSE_SC_4_8_200_c_4_200_c`, `MSE_SC_8_16_200_c`.
	ClusterSpecification pulumi.StringPtrInput
	// The type of MSE Cluster.
	ClusterType pulumi.StringPtrInput
	// The version of MSE Cluster.
	ClusterVersion pulumi.StringPtrInput
	// The type of Disk.
	DiskType pulumi.StringPtrInput
	// The count of instance.
	InstanceCount pulumi.IntPtrInput
	// The type of network. Range limit: 1~5.
	NetType pulumi.StringPtrInput
	// The specification of private network SLB.
	PrivateSlbSpecification pulumi.StringPtrInput
	// The public network bandwidth. `0` means no access to the public network.
	PubNetworkFlow pulumi.StringPtrInput
	// The specification of public network SLB.
	PubSlbSpecification pulumi.StringPtrInput
	// The status of MSE Cluster.
	Status pulumi.StringPtrInput
	// The id of VSwitch.
	VswitchId pulumi.StringPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type GetClustersArgs

type GetClustersArgs struct {
	// The alias name of MSE Cluster.
	ClusterAliasName *string `pulumi:"clusterAliasName"`
	EnableDetails    *bool   `pulumi:"enableDetails"`
	// A list of MSE Cluster ids.
	Ids []string `pulumi:"ids"`
	// A regex string to filter the results by the cluster alias name.
	NameRegex   *string `pulumi:"nameRegex"`
	OutputFile  *string `pulumi:"outputFile"`
	RequestPars *string `pulumi:"requestPars"`
	// The status of MSE Cluster. Valid: `DESTROY_FAILED`, `DESTROY_ING`, `DESTROY_SUCCESS`, `INIT_FAILED`, `INIT_ING`, `INIT_SUCCESS`, `INIT_TIME_OUT`, `RESTART_FAILED`, `RESTART_ING`, `RESTART_SUCCESS`, `SCALE_FAILED`, `SCALE_ING`, `SCALE_SUCCESS`
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getClusters.

type GetClustersCluster

type GetClustersCluster struct {
	// The id of acl.
	AclId string `pulumi:"aclId"`
	// The version of app.
	AppVersion string `pulumi:"appVersion"`
	// ID of the MSE Cluster.
	ClusterId string `pulumi:"clusterId"`
	// ID of the OOS Executions.
	ClusterName string `pulumi:"clusterName"`
	// The type of MSE Cluster.
	ClusterType string `pulumi:"clusterType"`
	// The num of cpu.
	Cpu int `pulumi:"cpu"`
	// The health status of MSE Cluster.
	HealthStatus string `pulumi:"healthStatus"`
	// ID of the MSE Cluster.
	Id string `pulumi:"id"`
	// Time-consuming to create.
	InitCostTime int `pulumi:"initCostTime"`
	// The count of instance.
	InstanceCount int `pulumi:"instanceCount"`
	// ID of the MSE Cluster.
	InstanceId string `pulumi:"instanceId"`
	// The list of instances.
	InstanceModels []GetClustersClusterInstanceModel `pulumi:"instanceModels"`
	// The address of public network.
	InternetAddress string `pulumi:"internetAddress"`
	// The domain of public network.
	InternetDomain string `pulumi:"internetDomain"`
	// The port of public network.
	InternetPort string `pulumi:"internetPort"`
	// The address of private network.
	IntranetAddress string `pulumi:"intranetAddress"`
	// The domain of private network.
	IntranetDomain string `pulumi:"intranetDomain"`
	// The port of private network.
	IntranetPort string `pulumi:"intranetPort"`
	// The memory size.
	MemoryCapacity int `pulumi:"memoryCapacity"`
	// The type of payment.
	PayInfo string `pulumi:"payInfo"`
	// The public network bandwidth.
	PubNetworkFlow string `pulumi:"pubNetworkFlow"`
	// The status of MSE Cluster. Valid: `DESTROY_FAILED`, `DESTROY_ING`, `DESTROY_SUCCESS`, `INIT_FAILED`, `INIT_ING`, `INIT_SUCCESS`, `INIT_TIME_OUT`, `RESTART_FAILED`, `RESTART_ING`, `RESTART_SUCCESS`, `SCALE_FAILED`, `SCALE_ING`, `SCALE_SUCCESS`
	Status string `pulumi:"status"`
}

type GetClustersClusterArgs

type GetClustersClusterArgs struct {
	// The id of acl.
	AclId pulumi.StringInput `pulumi:"aclId"`
	// The version of app.
	AppVersion pulumi.StringInput `pulumi:"appVersion"`
	// ID of the MSE Cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// ID of the OOS Executions.
	ClusterName pulumi.StringInput `pulumi:"clusterName"`
	// The type of MSE Cluster.
	ClusterType pulumi.StringInput `pulumi:"clusterType"`
	// The num of cpu.
	Cpu pulumi.IntInput `pulumi:"cpu"`
	// The health status of MSE Cluster.
	HealthStatus pulumi.StringInput `pulumi:"healthStatus"`
	// ID of the MSE Cluster.
	Id pulumi.StringInput `pulumi:"id"`
	// Time-consuming to create.
	InitCostTime pulumi.IntInput `pulumi:"initCostTime"`
	// The count of instance.
	InstanceCount pulumi.IntInput `pulumi:"instanceCount"`
	// ID of the MSE Cluster.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The list of instances.
	InstanceModels GetClustersClusterInstanceModelArrayInput `pulumi:"instanceModels"`
	// The address of public network.
	InternetAddress pulumi.StringInput `pulumi:"internetAddress"`
	// The domain of public network.
	InternetDomain pulumi.StringInput `pulumi:"internetDomain"`
	// The port of public network.
	InternetPort pulumi.StringInput `pulumi:"internetPort"`
	// The address of private network.
	IntranetAddress pulumi.StringInput `pulumi:"intranetAddress"`
	// The domain of private network.
	IntranetDomain pulumi.StringInput `pulumi:"intranetDomain"`
	// The port of private network.
	IntranetPort pulumi.StringInput `pulumi:"intranetPort"`
	// The memory size.
	MemoryCapacity pulumi.IntInput `pulumi:"memoryCapacity"`
	// The type of payment.
	PayInfo pulumi.StringInput `pulumi:"payInfo"`
	// The public network bandwidth.
	PubNetworkFlow pulumi.StringInput `pulumi:"pubNetworkFlow"`
	// The status of MSE Cluster. Valid: `DESTROY_FAILED`, `DESTROY_ING`, `DESTROY_SUCCESS`, `INIT_FAILED`, `INIT_ING`, `INIT_SUCCESS`, `INIT_TIME_OUT`, `RESTART_FAILED`, `RESTART_ING`, `RESTART_SUCCESS`, `SCALE_FAILED`, `SCALE_ING`, `SCALE_SUCCESS`
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetClustersClusterArgs) ElementType

func (GetClustersClusterArgs) ElementType() reflect.Type

func (GetClustersClusterArgs) ToGetClustersClusterOutput

func (i GetClustersClusterArgs) ToGetClustersClusterOutput() GetClustersClusterOutput

func (GetClustersClusterArgs) ToGetClustersClusterOutputWithContext

func (i GetClustersClusterArgs) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput

type GetClustersClusterArray

type GetClustersClusterArray []GetClustersClusterInput

func (GetClustersClusterArray) ElementType

func (GetClustersClusterArray) ElementType() reflect.Type

func (GetClustersClusterArray) ToGetClustersClusterArrayOutput

func (i GetClustersClusterArray) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput

func (GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext

func (i GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput

type GetClustersClusterArrayInput

type GetClustersClusterArrayInput interface {
	pulumi.Input

	ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
	ToGetClustersClusterArrayOutputWithContext(context.Context) GetClustersClusterArrayOutput
}

GetClustersClusterArrayInput is an input type that accepts GetClustersClusterArray and GetClustersClusterArrayOutput values. You can construct a concrete instance of `GetClustersClusterArrayInput` via:

GetClustersClusterArray{ GetClustersClusterArgs{...} }

type GetClustersClusterArrayOutput

type GetClustersClusterArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterArrayOutput) ElementType

func (GetClustersClusterArrayOutput) Index

func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput

func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput

func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext

func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput

type GetClustersClusterInput

type GetClustersClusterInput interface {
	pulumi.Input

	ToGetClustersClusterOutput() GetClustersClusterOutput
	ToGetClustersClusterOutputWithContext(context.Context) GetClustersClusterOutput
}

GetClustersClusterInput is an input type that accepts GetClustersClusterArgs and GetClustersClusterOutput values. You can construct a concrete instance of `GetClustersClusterInput` via:

GetClustersClusterArgs{...}

type GetClustersClusterInstanceModel

type GetClustersClusterInstanceModel struct {
	// The health status of MSE Cluster.
	HealthStatus    string `pulumi:"healthStatus"`
	InstanceType    string `pulumi:"instanceType"`
	InternetIp      string `pulumi:"internetIp"`
	Ip              string `pulumi:"ip"`
	PodName         string `pulumi:"podName"`
	Role            string `pulumi:"role"`
	SingleTunnelVip string `pulumi:"singleTunnelVip"`
	Vip             string `pulumi:"vip"`
}

type GetClustersClusterInstanceModelArgs

type GetClustersClusterInstanceModelArgs struct {
	// The health status of MSE Cluster.
	HealthStatus    pulumi.StringInput `pulumi:"healthStatus"`
	InstanceType    pulumi.StringInput `pulumi:"instanceType"`
	InternetIp      pulumi.StringInput `pulumi:"internetIp"`
	Ip              pulumi.StringInput `pulumi:"ip"`
	PodName         pulumi.StringInput `pulumi:"podName"`
	Role            pulumi.StringInput `pulumi:"role"`
	SingleTunnelVip pulumi.StringInput `pulumi:"singleTunnelVip"`
	Vip             pulumi.StringInput `pulumi:"vip"`
}

func (GetClustersClusterInstanceModelArgs) ElementType

func (GetClustersClusterInstanceModelArgs) ToGetClustersClusterInstanceModelOutput

func (i GetClustersClusterInstanceModelArgs) ToGetClustersClusterInstanceModelOutput() GetClustersClusterInstanceModelOutput

func (GetClustersClusterInstanceModelArgs) ToGetClustersClusterInstanceModelOutputWithContext

func (i GetClustersClusterInstanceModelArgs) ToGetClustersClusterInstanceModelOutputWithContext(ctx context.Context) GetClustersClusterInstanceModelOutput

type GetClustersClusterInstanceModelArray

type GetClustersClusterInstanceModelArray []GetClustersClusterInstanceModelInput

func (GetClustersClusterInstanceModelArray) ElementType

func (GetClustersClusterInstanceModelArray) ToGetClustersClusterInstanceModelArrayOutput

func (i GetClustersClusterInstanceModelArray) ToGetClustersClusterInstanceModelArrayOutput() GetClustersClusterInstanceModelArrayOutput

func (GetClustersClusterInstanceModelArray) ToGetClustersClusterInstanceModelArrayOutputWithContext

func (i GetClustersClusterInstanceModelArray) ToGetClustersClusterInstanceModelArrayOutputWithContext(ctx context.Context) GetClustersClusterInstanceModelArrayOutput

type GetClustersClusterInstanceModelArrayInput

type GetClustersClusterInstanceModelArrayInput interface {
	pulumi.Input

	ToGetClustersClusterInstanceModelArrayOutput() GetClustersClusterInstanceModelArrayOutput
	ToGetClustersClusterInstanceModelArrayOutputWithContext(context.Context) GetClustersClusterInstanceModelArrayOutput
}

GetClustersClusterInstanceModelArrayInput is an input type that accepts GetClustersClusterInstanceModelArray and GetClustersClusterInstanceModelArrayOutput values. You can construct a concrete instance of `GetClustersClusterInstanceModelArrayInput` via:

GetClustersClusterInstanceModelArray{ GetClustersClusterInstanceModelArgs{...} }

type GetClustersClusterInstanceModelArrayOutput

type GetClustersClusterInstanceModelArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterInstanceModelArrayOutput) ElementType

func (GetClustersClusterInstanceModelArrayOutput) Index

func (GetClustersClusterInstanceModelArrayOutput) ToGetClustersClusterInstanceModelArrayOutput

func (o GetClustersClusterInstanceModelArrayOutput) ToGetClustersClusterInstanceModelArrayOutput() GetClustersClusterInstanceModelArrayOutput

func (GetClustersClusterInstanceModelArrayOutput) ToGetClustersClusterInstanceModelArrayOutputWithContext

func (o GetClustersClusterInstanceModelArrayOutput) ToGetClustersClusterInstanceModelArrayOutputWithContext(ctx context.Context) GetClustersClusterInstanceModelArrayOutput

type GetClustersClusterInstanceModelInput

type GetClustersClusterInstanceModelInput interface {
	pulumi.Input

	ToGetClustersClusterInstanceModelOutput() GetClustersClusterInstanceModelOutput
	ToGetClustersClusterInstanceModelOutputWithContext(context.Context) GetClustersClusterInstanceModelOutput
}

GetClustersClusterInstanceModelInput is an input type that accepts GetClustersClusterInstanceModelArgs and GetClustersClusterInstanceModelOutput values. You can construct a concrete instance of `GetClustersClusterInstanceModelInput` via:

GetClustersClusterInstanceModelArgs{...}

type GetClustersClusterInstanceModelOutput

type GetClustersClusterInstanceModelOutput struct{ *pulumi.OutputState }

func (GetClustersClusterInstanceModelOutput) ElementType

func (GetClustersClusterInstanceModelOutput) HealthStatus

The health status of MSE Cluster.

func (GetClustersClusterInstanceModelOutput) InstanceType

func (GetClustersClusterInstanceModelOutput) InternetIp

func (GetClustersClusterInstanceModelOutput) Ip

func (GetClustersClusterInstanceModelOutput) PodName

func (GetClustersClusterInstanceModelOutput) Role

func (GetClustersClusterInstanceModelOutput) SingleTunnelVip

func (GetClustersClusterInstanceModelOutput) ToGetClustersClusterInstanceModelOutput

func (o GetClustersClusterInstanceModelOutput) ToGetClustersClusterInstanceModelOutput() GetClustersClusterInstanceModelOutput

func (GetClustersClusterInstanceModelOutput) ToGetClustersClusterInstanceModelOutputWithContext

func (o GetClustersClusterInstanceModelOutput) ToGetClustersClusterInstanceModelOutputWithContext(ctx context.Context) GetClustersClusterInstanceModelOutput

func (GetClustersClusterInstanceModelOutput) Vip

type GetClustersClusterOutput

type GetClustersClusterOutput struct{ *pulumi.OutputState }

func (GetClustersClusterOutput) AclId

The id of acl.

func (GetClustersClusterOutput) AppVersion

The version of app.

func (GetClustersClusterOutput) ClusterId

ID of the MSE Cluster.

func (GetClustersClusterOutput) ClusterName

ID of the OOS Executions.

func (GetClustersClusterOutput) ClusterType

The type of MSE Cluster.

func (GetClustersClusterOutput) Cpu

The num of cpu.

func (GetClustersClusterOutput) ElementType

func (GetClustersClusterOutput) ElementType() reflect.Type

func (GetClustersClusterOutput) HealthStatus

func (o GetClustersClusterOutput) HealthStatus() pulumi.StringOutput

The health status of MSE Cluster.

func (GetClustersClusterOutput) Id

ID of the MSE Cluster.

func (GetClustersClusterOutput) InitCostTime

func (o GetClustersClusterOutput) InitCostTime() pulumi.IntOutput

Time-consuming to create.

func (GetClustersClusterOutput) InstanceCount

func (o GetClustersClusterOutput) InstanceCount() pulumi.IntOutput

The count of instance.

func (GetClustersClusterOutput) InstanceId

ID of the MSE Cluster.

func (GetClustersClusterOutput) InstanceModels

The list of instances.

func (GetClustersClusterOutput) InternetAddress

func (o GetClustersClusterOutput) InternetAddress() pulumi.StringOutput

The address of public network.

func (GetClustersClusterOutput) InternetDomain

func (o GetClustersClusterOutput) InternetDomain() pulumi.StringOutput

The domain of public network.

func (GetClustersClusterOutput) InternetPort

func (o GetClustersClusterOutput) InternetPort() pulumi.StringOutput

The port of public network.

func (GetClustersClusterOutput) IntranetAddress

func (o GetClustersClusterOutput) IntranetAddress() pulumi.StringOutput

The address of private network.

func (GetClustersClusterOutput) IntranetDomain

func (o GetClustersClusterOutput) IntranetDomain() pulumi.StringOutput

The domain of private network.

func (GetClustersClusterOutput) IntranetPort

func (o GetClustersClusterOutput) IntranetPort() pulumi.StringOutput

The port of private network.

func (GetClustersClusterOutput) MemoryCapacity

func (o GetClustersClusterOutput) MemoryCapacity() pulumi.IntOutput

The memory size.

func (GetClustersClusterOutput) PayInfo

The type of payment.

func (GetClustersClusterOutput) PubNetworkFlow

func (o GetClustersClusterOutput) PubNetworkFlow() pulumi.StringOutput

The public network bandwidth.

func (GetClustersClusterOutput) Status

The status of MSE Cluster. Valid: `DESTROY_FAILED`, `DESTROY_ING`, `DESTROY_SUCCESS`, `INIT_FAILED`, `INIT_ING`, `INIT_SUCCESS`, `INIT_TIME_OUT`, `RESTART_FAILED`, `RESTART_ING`, `RESTART_SUCCESS`, `SCALE_FAILED`, `SCALE_ING`, `SCALE_SUCCESS`

func (GetClustersClusterOutput) ToGetClustersClusterOutput

func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput

func (GetClustersClusterOutput) ToGetClustersClusterOutputWithContext

func (o GetClustersClusterOutput) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput

type GetClustersResult

type GetClustersResult struct {
	ClusterAliasName *string `pulumi:"clusterAliasName"`
	// A list of MSE Clusters. Each element contains the following attributes:
	Clusters      []GetClustersCluster `pulumi:"clusters"`
	EnableDetails *bool                `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of MSE Cluster ids.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of MSE Cluster names.
	Names       []string `pulumi:"names"`
	OutputFile  *string  `pulumi:"outputFile"`
	RequestPars *string  `pulumi:"requestPars"`
	// The status of MSE Cluster.
	Status *string `pulumi:"status"`
}

A collection of values returned by getClusters.

func GetClusters

func GetClusters(ctx *pulumi.Context, args *GetClustersArgs, opts ...pulumi.InvokeOption) (*GetClustersResult, error)

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

> **NOTE:** Available in v1.94.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/mse"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "INIT_SUCCESS"
		example, err := mse.GetClusters(ctx, &mse.GetClustersArgs{
			Ids: []string{
				"mse-cn-0d9xxxx",
			},
			Status: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("clusterId", example.Clusters[0].Id)
		return nil
	})
}

```

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL