Documentation
¶
Index ¶
- type Cluster
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- type ClusterInput
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- type ClusterOutput
- func (o ClusterOutput) AclEntryLists() pulumi.StringArrayOutput
- func (o ClusterOutput) AppVersion() pulumi.StringOutput
- func (o ClusterOutput) ClusterAliasName() pulumi.StringPtrOutput
- func (o ClusterOutput) ClusterId() pulumi.StringOutput
- func (o ClusterOutput) ClusterSpecification() pulumi.StringOutput
- func (o ClusterOutput) ClusterType() pulumi.StringOutput
- func (o ClusterOutput) ClusterVersion() pulumi.StringOutput
- func (o ClusterOutput) ConnectionType() pulumi.StringOutput
- func (o ClusterOutput) DiskType() pulumi.StringPtrOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) InstanceCount() pulumi.IntOutput
- func (o ClusterOutput) MseVersion() pulumi.StringOutput
- func (o ClusterOutput) NetType() pulumi.StringOutput
- func (o ClusterOutput) PaymentType() pulumi.StringOutput
- func (o ClusterOutput) PrivateSlbSpecification() pulumi.StringPtrOutput
- func (o ClusterOutput) PubNetworkFlow() pulumi.StringOutput
- func (o ClusterOutput) PubSlbSpecification() pulumi.StringPtrOutput
- func (o ClusterOutput) RequestPars() pulumi.StringPtrOutput
- func (o ClusterOutput) ResourceGroupId() pulumi.StringOutput
- func (o ClusterOutput) Status() pulumi.StringOutput
- func (o ClusterOutput) Tags() pulumi.MapOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- func (o ClusterOutput) VpcId() pulumi.StringOutput
- func (o ClusterOutput) VswitchId() pulumi.StringPtrOutput
- type ClusterState
- type EngineNamespace
- type EngineNamespaceArgs
- type EngineNamespaceArray
- type EngineNamespaceArrayInput
- type EngineNamespaceArrayOutput
- func (EngineNamespaceArrayOutput) ElementType() reflect.Type
- func (o EngineNamespaceArrayOutput) Index(i pulumi.IntInput) EngineNamespaceOutput
- func (o EngineNamespaceArrayOutput) ToEngineNamespaceArrayOutput() EngineNamespaceArrayOutput
- func (o EngineNamespaceArrayOutput) ToEngineNamespaceArrayOutputWithContext(ctx context.Context) EngineNamespaceArrayOutput
- type EngineNamespaceInput
- type EngineNamespaceMap
- type EngineNamespaceMapInput
- type EngineNamespaceMapOutput
- func (EngineNamespaceMapOutput) ElementType() reflect.Type
- func (o EngineNamespaceMapOutput) MapIndex(k pulumi.StringInput) EngineNamespaceOutput
- func (o EngineNamespaceMapOutput) ToEngineNamespaceMapOutput() EngineNamespaceMapOutput
- func (o EngineNamespaceMapOutput) ToEngineNamespaceMapOutputWithContext(ctx context.Context) EngineNamespaceMapOutput
- type EngineNamespaceOutput
- func (o EngineNamespaceOutput) AcceptLanguage() pulumi.StringPtrOutput
- func (o EngineNamespaceOutput) ClusterId() pulumi.StringOutput
- func (EngineNamespaceOutput) ElementType() reflect.Type
- func (o EngineNamespaceOutput) NamespaceId() pulumi.StringOutput
- func (o EngineNamespaceOutput) NamespaceShowName() pulumi.StringOutput
- func (o EngineNamespaceOutput) ToEngineNamespaceOutput() EngineNamespaceOutput
- func (o EngineNamespaceOutput) ToEngineNamespaceOutputWithContext(ctx context.Context) EngineNamespaceOutput
- type EngineNamespaceState
- type Gateway
- type GatewayArgs
- type GatewayArray
- type GatewayArrayInput
- type GatewayArrayOutput
- type GatewayInput
- type GatewayMap
- type GatewayMapInput
- type GatewayMapOutput
- type GatewayOutput
- func (o GatewayOutput) BackupVswitchId() pulumi.StringPtrOutput
- func (o GatewayOutput) DeleteSlb() pulumi.BoolPtrOutput
- func (GatewayOutput) ElementType() reflect.Type
- func (o GatewayOutput) EnterpriseSecurityGroup() pulumi.BoolPtrOutput
- func (o GatewayOutput) GatewayName() pulumi.StringPtrOutput
- func (o GatewayOutput) InternetSlbSpec() pulumi.StringPtrOutput
- func (o GatewayOutput) Replica() pulumi.IntOutput
- func (o GatewayOutput) SlbLists() GatewaySlbListArrayOutput
- func (o GatewayOutput) SlbSpec() pulumi.StringPtrOutput
- func (o GatewayOutput) Spec() pulumi.StringOutput
- func (o GatewayOutput) Status() pulumi.StringOutput
- func (o GatewayOutput) ToGatewayOutput() GatewayOutput
- func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
- func (o GatewayOutput) VpcId() pulumi.StringOutput
- func (o GatewayOutput) VswitchId() pulumi.StringOutput
- type GatewaySlbList
- type GatewaySlbListArgs
- type GatewaySlbListArray
- type GatewaySlbListArrayInput
- type GatewaySlbListArrayOutput
- func (GatewaySlbListArrayOutput) ElementType() reflect.Type
- func (o GatewaySlbListArrayOutput) Index(i pulumi.IntInput) GatewaySlbListOutput
- func (o GatewaySlbListArrayOutput) ToGatewaySlbListArrayOutput() GatewaySlbListArrayOutput
- func (o GatewaySlbListArrayOutput) ToGatewaySlbListArrayOutputWithContext(ctx context.Context) GatewaySlbListArrayOutput
- type GatewaySlbListInput
- type GatewaySlbListOutput
- func (o GatewaySlbListOutput) AssociateId() pulumi.StringPtrOutput
- func (GatewaySlbListOutput) ElementType() reflect.Type
- func (o GatewaySlbListOutput) GatewaySlbMode() pulumi.StringPtrOutput
- func (o GatewaySlbListOutput) GatewaySlbStatus() pulumi.StringPtrOutput
- func (o GatewaySlbListOutput) GmtCreate() pulumi.StringPtrOutput
- func (o GatewaySlbListOutput) SlbId() pulumi.StringPtrOutput
- func (o GatewaySlbListOutput) SlbIp() pulumi.StringPtrOutput
- func (o GatewaySlbListOutput) SlbPort() pulumi.StringPtrOutput
- func (o GatewaySlbListOutput) ToGatewaySlbListOutput() GatewaySlbListOutput
- func (o GatewaySlbListOutput) ToGatewaySlbListOutputWithContext(ctx context.Context) GatewaySlbListOutput
- func (o GatewaySlbListOutput) Type() pulumi.StringPtrOutput
- type GatewayState
- type GetClustersArgs
- type GetClustersCluster
- type GetClustersClusterArgs
- type GetClustersClusterArray
- type GetClustersClusterArrayInput
- type GetClustersClusterArrayOutput
- func (GetClustersClusterArrayOutput) ElementType() reflect.Type
- func (o GetClustersClusterArrayOutput) Index(i pulumi.IntInput) GetClustersClusterOutput
- func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
- func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput
- type GetClustersClusterInput
- type GetClustersClusterInstanceModel
- type GetClustersClusterInstanceModelArgs
- func (GetClustersClusterInstanceModelArgs) ElementType() reflect.Type
- func (i GetClustersClusterInstanceModelArgs) ToGetClustersClusterInstanceModelOutput() GetClustersClusterInstanceModelOutput
- func (i GetClustersClusterInstanceModelArgs) ToGetClustersClusterInstanceModelOutputWithContext(ctx context.Context) GetClustersClusterInstanceModelOutput
- type GetClustersClusterInstanceModelArray
- func (GetClustersClusterInstanceModelArray) ElementType() reflect.Type
- func (i GetClustersClusterInstanceModelArray) ToGetClustersClusterInstanceModelArrayOutput() GetClustersClusterInstanceModelArrayOutput
- func (i GetClustersClusterInstanceModelArray) ToGetClustersClusterInstanceModelArrayOutputWithContext(ctx context.Context) GetClustersClusterInstanceModelArrayOutput
- type GetClustersClusterInstanceModelArrayInput
- type GetClustersClusterInstanceModelArrayOutput
- func (GetClustersClusterInstanceModelArrayOutput) ElementType() reflect.Type
- func (o GetClustersClusterInstanceModelArrayOutput) Index(i pulumi.IntInput) GetClustersClusterInstanceModelOutput
- func (o GetClustersClusterInstanceModelArrayOutput) ToGetClustersClusterInstanceModelArrayOutput() GetClustersClusterInstanceModelArrayOutput
- func (o GetClustersClusterInstanceModelArrayOutput) ToGetClustersClusterInstanceModelArrayOutputWithContext(ctx context.Context) GetClustersClusterInstanceModelArrayOutput
- type GetClustersClusterInstanceModelInput
- type GetClustersClusterInstanceModelOutput
- func (GetClustersClusterInstanceModelOutput) ElementType() reflect.Type
- func (o GetClustersClusterInstanceModelOutput) HealthStatus() pulumi.StringOutput
- func (o GetClustersClusterInstanceModelOutput) InstanceType() pulumi.StringOutput
- func (o GetClustersClusterInstanceModelOutput) InternetIp() pulumi.StringOutput
- func (o GetClustersClusterInstanceModelOutput) Ip() pulumi.StringOutput
- func (o GetClustersClusterInstanceModelOutput) PodName() pulumi.StringOutput
- func (o GetClustersClusterInstanceModelOutput) Role() pulumi.StringOutput
- func (o GetClustersClusterInstanceModelOutput) SingleTunnelVip() pulumi.StringOutput
- func (o GetClustersClusterInstanceModelOutput) ToGetClustersClusterInstanceModelOutput() GetClustersClusterInstanceModelOutput
- func (o GetClustersClusterInstanceModelOutput) ToGetClustersClusterInstanceModelOutputWithContext(ctx context.Context) GetClustersClusterInstanceModelOutput
- func (o GetClustersClusterInstanceModelOutput) Vip() pulumi.StringOutput
- type GetClustersClusterOutput
- func (o GetClustersClusterOutput) AclId() pulumi.StringOutput
- func (o GetClustersClusterOutput) AppVersion() pulumi.StringOutput
- func (o GetClustersClusterOutput) ClusterId() pulumi.StringOutput
- func (o GetClustersClusterOutput) ClusterName() pulumi.StringOutput
- func (o GetClustersClusterOutput) ClusterType() pulumi.StringOutput
- func (o GetClustersClusterOutput) Cpu() pulumi.IntOutput
- func (GetClustersClusterOutput) ElementType() reflect.Type
- func (o GetClustersClusterOutput) HealthStatus() pulumi.StringOutput
- func (o GetClustersClusterOutput) Id() pulumi.StringOutput
- func (o GetClustersClusterOutput) InitCostTime() pulumi.IntOutput
- func (o GetClustersClusterOutput) InstanceCount() pulumi.IntOutput
- func (o GetClustersClusterOutput) InstanceId() pulumi.StringOutput
- func (o GetClustersClusterOutput) InstanceModels() GetClustersClusterInstanceModelArrayOutput
- func (o GetClustersClusterOutput) InternetAddress() pulumi.StringOutput
- func (o GetClustersClusterOutput) InternetDomain() pulumi.StringOutput
- func (o GetClustersClusterOutput) InternetPort() pulumi.StringOutput
- func (o GetClustersClusterOutput) IntranetAddress() pulumi.StringOutput
- func (o GetClustersClusterOutput) IntranetDomain() pulumi.StringOutput
- func (o GetClustersClusterOutput) IntranetPort() pulumi.StringOutput
- func (o GetClustersClusterOutput) MemoryCapacity() pulumi.IntOutput
- func (o GetClustersClusterOutput) PayInfo() pulumi.StringOutput
- func (o GetClustersClusterOutput) PubNetworkFlow() pulumi.StringOutput
- func (o GetClustersClusterOutput) Status() pulumi.StringOutput
- func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput
- func (o GetClustersClusterOutput) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput
- type GetClustersOutputArgs
- type GetClustersResult
- type GetClustersResultOutput
- func (o GetClustersResultOutput) ClusterAliasName() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) Clusters() GetClustersClusterArrayOutput
- func (GetClustersResultOutput) ElementType() reflect.Type
- func (o GetClustersResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetClustersResultOutput) Id() pulumi.StringOutput
- func (o GetClustersResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetClustersResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) Names() pulumi.StringArrayOutput
- func (o GetClustersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) RequestPars() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) Status() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput
- func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput
- type GetEngineNamespacesArgs
- type GetEngineNamespacesNamespace
- type GetEngineNamespacesNamespaceArgs
- func (GetEngineNamespacesNamespaceArgs) ElementType() reflect.Type
- func (i GetEngineNamespacesNamespaceArgs) ToGetEngineNamespacesNamespaceOutput() GetEngineNamespacesNamespaceOutput
- func (i GetEngineNamespacesNamespaceArgs) ToGetEngineNamespacesNamespaceOutputWithContext(ctx context.Context) GetEngineNamespacesNamespaceOutput
- type GetEngineNamespacesNamespaceArray
- func (GetEngineNamespacesNamespaceArray) ElementType() reflect.Type
- func (i GetEngineNamespacesNamespaceArray) ToGetEngineNamespacesNamespaceArrayOutput() GetEngineNamespacesNamespaceArrayOutput
- func (i GetEngineNamespacesNamespaceArray) ToGetEngineNamespacesNamespaceArrayOutputWithContext(ctx context.Context) GetEngineNamespacesNamespaceArrayOutput
- type GetEngineNamespacesNamespaceArrayInput
- type GetEngineNamespacesNamespaceArrayOutput
- func (GetEngineNamespacesNamespaceArrayOutput) ElementType() reflect.Type
- func (o GetEngineNamespacesNamespaceArrayOutput) Index(i pulumi.IntInput) GetEngineNamespacesNamespaceOutput
- func (o GetEngineNamespacesNamespaceArrayOutput) ToGetEngineNamespacesNamespaceArrayOutput() GetEngineNamespacesNamespaceArrayOutput
- func (o GetEngineNamespacesNamespaceArrayOutput) ToGetEngineNamespacesNamespaceArrayOutputWithContext(ctx context.Context) GetEngineNamespacesNamespaceArrayOutput
- type GetEngineNamespacesNamespaceInput
- type GetEngineNamespacesNamespaceOutput
- func (o GetEngineNamespacesNamespaceOutput) ConfigCount() pulumi.IntOutput
- func (GetEngineNamespacesNamespaceOutput) ElementType() reflect.Type
- func (o GetEngineNamespacesNamespaceOutput) Id() pulumi.StringOutput
- func (o GetEngineNamespacesNamespaceOutput) NamespaceDesc() pulumi.StringOutput
- func (o GetEngineNamespacesNamespaceOutput) NamespaceId() pulumi.StringOutput
- func (o GetEngineNamespacesNamespaceOutput) NamespaceShowName() pulumi.StringOutput
- func (o GetEngineNamespacesNamespaceOutput) Quota() pulumi.IntOutput
- func (o GetEngineNamespacesNamespaceOutput) ServiceCount() pulumi.StringOutput
- func (o GetEngineNamespacesNamespaceOutput) ToGetEngineNamespacesNamespaceOutput() GetEngineNamespacesNamespaceOutput
- func (o GetEngineNamespacesNamespaceOutput) ToGetEngineNamespacesNamespaceOutputWithContext(ctx context.Context) GetEngineNamespacesNamespaceOutput
- func (o GetEngineNamespacesNamespaceOutput) Type() pulumi.IntOutput
- type GetEngineNamespacesOutputArgs
- type GetEngineNamespacesResult
- type GetEngineNamespacesResultOutput
- func (o GetEngineNamespacesResultOutput) AcceptLanguage() pulumi.StringPtrOutput
- func (o GetEngineNamespacesResultOutput) ClusterId() pulumi.StringOutput
- func (GetEngineNamespacesResultOutput) ElementType() reflect.Type
- func (o GetEngineNamespacesResultOutput) Id() pulumi.StringOutput
- func (o GetEngineNamespacesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEngineNamespacesResultOutput) Namespaces() GetEngineNamespacesNamespaceArrayOutput
- func (o GetEngineNamespacesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEngineNamespacesResultOutput) ToGetEngineNamespacesResultOutput() GetEngineNamespacesResultOutput
- func (o GetEngineNamespacesResultOutput) ToGetEngineNamespacesResultOutputWithContext(ctx context.Context) GetEngineNamespacesResultOutput
- type GetGatewaysArgs
- type GetGatewaysGateway
- type GetGatewaysGatewayArgs
- type GetGatewaysGatewayArray
- type GetGatewaysGatewayArrayInput
- type GetGatewaysGatewayArrayOutput
- func (GetGatewaysGatewayArrayOutput) ElementType() reflect.Type
- func (o GetGatewaysGatewayArrayOutput) Index(i pulumi.IntInput) GetGatewaysGatewayOutput
- func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput
- func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetGatewaysGatewayArrayOutput
- type GetGatewaysGatewayInput
- type GetGatewaysGatewayOutput
- func (o GetGatewaysGatewayOutput) BackupVswitchId() pulumi.StringOutput
- func (GetGatewaysGatewayOutput) ElementType() reflect.Type
- func (o GetGatewaysGatewayOutput) GatewayName() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) GatewayUniqueId() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) Id() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) PaymentType() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) Replica() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) SlbLists() GetGatewaysGatewaySlbListArrayOutput
- func (o GetGatewaysGatewayOutput) Spec() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) Status() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput
- func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutputWithContext(ctx context.Context) GetGatewaysGatewayOutput
- func (o GetGatewaysGatewayOutput) VpcId() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) VswitchId() pulumi.StringOutput
- type GetGatewaysGatewaySlbList
- type GetGatewaysGatewaySlbListArgs
- func (GetGatewaysGatewaySlbListArgs) ElementType() reflect.Type
- func (i GetGatewaysGatewaySlbListArgs) ToGetGatewaysGatewaySlbListOutput() GetGatewaysGatewaySlbListOutput
- func (i GetGatewaysGatewaySlbListArgs) ToGetGatewaysGatewaySlbListOutputWithContext(ctx context.Context) GetGatewaysGatewaySlbListOutput
- type GetGatewaysGatewaySlbListArray
- func (GetGatewaysGatewaySlbListArray) ElementType() reflect.Type
- func (i GetGatewaysGatewaySlbListArray) ToGetGatewaysGatewaySlbListArrayOutput() GetGatewaysGatewaySlbListArrayOutput
- func (i GetGatewaysGatewaySlbListArray) ToGetGatewaysGatewaySlbListArrayOutputWithContext(ctx context.Context) GetGatewaysGatewaySlbListArrayOutput
- type GetGatewaysGatewaySlbListArrayInput
- type GetGatewaysGatewaySlbListArrayOutput
- func (GetGatewaysGatewaySlbListArrayOutput) ElementType() reflect.Type
- func (o GetGatewaysGatewaySlbListArrayOutput) Index(i pulumi.IntInput) GetGatewaysGatewaySlbListOutput
- func (o GetGatewaysGatewaySlbListArrayOutput) ToGetGatewaysGatewaySlbListArrayOutput() GetGatewaysGatewaySlbListArrayOutput
- func (o GetGatewaysGatewaySlbListArrayOutput) ToGetGatewaysGatewaySlbListArrayOutputWithContext(ctx context.Context) GetGatewaysGatewaySlbListArrayOutput
- type GetGatewaysGatewaySlbListInput
- type GetGatewaysGatewaySlbListOutput
- func (o GetGatewaysGatewaySlbListOutput) AssociateId() pulumi.StringOutput
- func (GetGatewaysGatewaySlbListOutput) ElementType() reflect.Type
- func (o GetGatewaysGatewaySlbListOutput) GatewaySlbMode() pulumi.StringOutput
- func (o GetGatewaysGatewaySlbListOutput) GatewaySlbStatus() pulumi.StringOutput
- func (o GetGatewaysGatewaySlbListOutput) GmtCreate() pulumi.StringOutput
- func (o GetGatewaysGatewaySlbListOutput) SlbId() pulumi.StringOutput
- func (o GetGatewaysGatewaySlbListOutput) SlbIp() pulumi.StringOutput
- func (o GetGatewaysGatewaySlbListOutput) SlbPort() pulumi.StringOutput
- func (o GetGatewaysGatewaySlbListOutput) ToGetGatewaysGatewaySlbListOutput() GetGatewaysGatewaySlbListOutput
- func (o GetGatewaysGatewaySlbListOutput) ToGetGatewaysGatewaySlbListOutputWithContext(ctx context.Context) GetGatewaysGatewaySlbListOutput
- func (o GetGatewaysGatewaySlbListOutput) Type() pulumi.StringOutput
- type GetGatewaysOutputArgs
- type GetGatewaysResult
- type GetGatewaysResultOutput
- func (GetGatewaysResultOutput) ElementType() reflect.Type
- func (o GetGatewaysResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetGatewaysResultOutput) GatewayName() pulumi.StringPtrOutput
- func (o GetGatewaysResultOutput) Gateways() GetGatewaysGatewayArrayOutput
- func (o GetGatewaysResultOutput) Id() pulumi.StringOutput
- func (o GetGatewaysResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetGatewaysResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetGatewaysResultOutput) Names() pulumi.StringArrayOutput
- func (o GetGatewaysResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetGatewaysResultOutput) Status() pulumi.StringPtrOutput
- func (o GetGatewaysResultOutput) ToGetGatewaysResultOutput() GetGatewaysResultOutput
- func (o GetGatewaysResultOutput) ToGetGatewaysResultOutputWithContext(ctx context.Context) GetGatewaysResultOutput
- func (o GetGatewaysResultOutput) VpcId() pulumi.StringPtrOutput
- type GetZnodesArgs
- type GetZnodesOutputArgs
- type GetZnodesResult
- type GetZnodesResultOutput
- func (o GetZnodesResultOutput) AcceptLanguage() pulumi.StringPtrOutput
- func (o GetZnodesResultOutput) ClusterId() pulumi.StringOutput
- func (GetZnodesResultOutput) ElementType() reflect.Type
- func (o GetZnodesResultOutput) Id() pulumi.StringOutput
- func (o GetZnodesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetZnodesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetZnodesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetZnodesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetZnodesResultOutput) Path() pulumi.StringOutput
- func (o GetZnodesResultOutput) ToGetZnodesResultOutput() GetZnodesResultOutput
- func (o GetZnodesResultOutput) ToGetZnodesResultOutputWithContext(ctx context.Context) GetZnodesResultOutput
- func (o GetZnodesResultOutput) Znodes() GetZnodesZnodeArrayOutput
- type GetZnodesZnode
- type GetZnodesZnodeArgs
- type GetZnodesZnodeArray
- type GetZnodesZnodeArrayInput
- type GetZnodesZnodeArrayOutput
- func (GetZnodesZnodeArrayOutput) ElementType() reflect.Type
- func (o GetZnodesZnodeArrayOutput) Index(i pulumi.IntInput) GetZnodesZnodeOutput
- func (o GetZnodesZnodeArrayOutput) ToGetZnodesZnodeArrayOutput() GetZnodesZnodeArrayOutput
- func (o GetZnodesZnodeArrayOutput) ToGetZnodesZnodeArrayOutputWithContext(ctx context.Context) GetZnodesZnodeArrayOutput
- type GetZnodesZnodeInput
- type GetZnodesZnodeOutput
- func (o GetZnodesZnodeOutput) ClusterId() pulumi.StringOutput
- func (o GetZnodesZnodeOutput) Data() pulumi.StringOutput
- func (o GetZnodesZnodeOutput) Dir() pulumi.BoolOutput
- func (GetZnodesZnodeOutput) ElementType() reflect.Type
- func (o GetZnodesZnodeOutput) Id() pulumi.StringOutput
- func (o GetZnodesZnodeOutput) Path() pulumi.StringOutput
- func (o GetZnodesZnodeOutput) ToGetZnodesZnodeOutput() GetZnodesZnodeOutput
- func (o GetZnodesZnodeOutput) ToGetZnodesZnodeOutputWithContext(ctx context.Context) GetZnodesZnodeOutput
- func (o GetZnodesZnodeOutput) ZnodeName() pulumi.StringOutput
- type Znode
- type ZnodeArgs
- type ZnodeArray
- type ZnodeArrayInput
- type ZnodeArrayOutput
- type ZnodeInput
- type ZnodeMap
- type ZnodeMapInput
- type ZnodeMapOutput
- type ZnodeOutput
- func (o ZnodeOutput) AcceptLanguage() pulumi.StringPtrOutput
- func (o ZnodeOutput) ClusterId() pulumi.StringOutput
- func (o ZnodeOutput) Data() pulumi.StringPtrOutput
- func (ZnodeOutput) ElementType() reflect.Type
- func (o ZnodeOutput) Path() pulumi.StringOutput
- func (o ZnodeOutput) ToZnodeOutput() ZnodeOutput
- func (o ZnodeOutput) ToZnodeOutputWithContext(ctx context.Context) ZnodeOutput
- type ZnodeState
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. **NOTE:** This attribute is invalid when the value of `pubNetworkFlow` is `0` and the value of `netType` is `privatenet`. AclEntryLists pulumi.StringArrayOutput `pulumi:"aclEntryLists"` // (Available in v1.205.0+) The application version. AppVersion pulumi.StringOutput `pulumi:"appVersion"` // The alias of MSE Cluster. ClusterAliasName pulumi.StringPtrOutput `pulumi:"clusterAliasName"` // (Available in v1.162.0+) The id of Cluster. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // The engine specification of MSE Cluster. **NOTE:** From version 1.188.0, `clusterSpecification` can be modified. Valid values: // - `MSE_SC_1_2_60_c`: 1C2G // - `MSE_SC_2_4_60_c`: 2C4G // - `MSE_SC_4_8_60_c`: 4C8G // - `MSE_SC_8_16_60_c`: 8C16G ClusterSpecification pulumi.StringOutput `pulumi:"clusterSpecification"` // The type of MSE Cluster. ClusterType pulumi.StringOutput `pulumi:"clusterType"` // The version of MSE Cluster. See [details](https://www.alibabacloud.com/help/en/mse/developer-reference/api-mse-2019-05-31-createcluster) ClusterVersion pulumi.StringOutput `pulumi:"clusterVersion"` // The connection type. Valid values: `slb`. ConnectionType pulumi.StringOutput `pulumi:"connectionType"` // The type of Disk. DiskType pulumi.StringPtrOutput `pulumi:"diskType"` // The count of instance. **NOTE:** From version 1.188.0, `instanceCount` can be modified. InstanceCount pulumi.IntOutput `pulumi:"instanceCount"` // The version of MSE. Valid values: `mseDev` or `msePro`. MseVersion pulumi.StringOutput `pulumi:"mseVersion"` // The type of network. Valid values: "privatenet" and "pubnet". NetType pulumi.StringOutput `pulumi:"netType"` // Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. PaymentType pulumi.StringOutput `pulumi:"paymentType"` // 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.StringOutput `pulumi:"pubNetworkFlow"` // The specification of public network SLB. PubSlbSpecification pulumi.StringPtrOutput `pulumi:"pubSlbSpecification"` // The extended request parameters in the JSON format. RequestPars pulumi.StringPtrOutput `pulumi:"requestPars"` // The resource group of the resource. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // The status of MSE Cluster. Status pulumi.StringOutput `pulumi:"status"` // The tag of the resource. Tags pulumi.MapOutput `pulumi:"tags"` // The id of the VPC. VpcId pulumi.StringOutput `pulumi:"vpcId"` // The id of VSwitch. VswitchId pulumi.StringPtrOutput `pulumi:"vswitchId"` }
## 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 ¶
func (*Cluster) ToClusterOutput ¶
func (i *Cluster) ToClusterOutput() ClusterOutput
func (*Cluster) ToClusterOutputWithContext ¶
func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
type ClusterArgs ¶
type ClusterArgs struct { // The whitelist. **NOTE:** This attribute is invalid when the value of `pubNetworkFlow` is `0` and the value of `netType` is `privatenet`. AclEntryLists pulumi.StringArrayInput // The alias of MSE Cluster. ClusterAliasName pulumi.StringPtrInput // The engine specification of MSE Cluster. **NOTE:** From version 1.188.0, `clusterSpecification` can be modified. Valid values: // - `MSE_SC_1_2_60_c`: 1C2G // - `MSE_SC_2_4_60_c`: 2C4G // - `MSE_SC_4_8_60_c`: 4C8G // - `MSE_SC_8_16_60_c`: 8C16G ClusterSpecification pulumi.StringInput // The type of MSE Cluster. ClusterType pulumi.StringInput // The version of MSE Cluster. See [details](https://www.alibabacloud.com/help/en/mse/developer-reference/api-mse-2019-05-31-createcluster) ClusterVersion pulumi.StringInput // The connection type. Valid values: `slb`. ConnectionType pulumi.StringPtrInput // The type of Disk. DiskType pulumi.StringPtrInput // The count of instance. **NOTE:** From version 1.188.0, `instanceCount` can be modified. InstanceCount pulumi.IntInput // The version of MSE. Valid values: `mseDev` or `msePro`. MseVersion pulumi.StringPtrInput // The type of network. Valid values: "privatenet" and "pubnet". NetType pulumi.StringInput // Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. PaymentType 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.StringInput // The specification of public network SLB. PubSlbSpecification pulumi.StringPtrInput // The extended request parameters in the JSON format. RequestPars pulumi.StringPtrInput // The resource group of the resource. ResourceGroupId pulumi.StringPtrInput // The tag of the resource. Tags pulumi.MapInput // The id of the VPC. VpcId 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 ¶
type ClusterArray []ClusterInput
func (ClusterArray) ElementType ¶
func (ClusterArray) ElementType() reflect.Type
func (ClusterArray) ToClusterArrayOutput ¶
func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArray) ToClusterArrayOutputWithContext ¶
func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterArrayInput ¶
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 ¶
type ClusterArrayOutput struct{ *pulumi.OutputState }
func (ClusterArrayOutput) ElementType ¶
func (ClusterArrayOutput) ElementType() reflect.Type
func (ClusterArrayOutput) Index ¶
func (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
func (ClusterArrayOutput) ToClusterArrayOutput ¶
func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArrayOutput) ToClusterArrayOutputWithContext ¶
func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterInput ¶
type ClusterInput interface { pulumi.Input ToClusterOutput() ClusterOutput ToClusterOutputWithContext(ctx context.Context) ClusterOutput }
type ClusterMap ¶
type ClusterMap map[string]ClusterInput
func (ClusterMap) ElementType ¶
func (ClusterMap) ElementType() reflect.Type
func (ClusterMap) ToClusterMapOutput ¶
func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput
func (ClusterMap) ToClusterMapOutputWithContext ¶
func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterMapInput ¶
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 ¶
type ClusterMapOutput struct{ *pulumi.OutputState }
func (ClusterMapOutput) ElementType ¶
func (ClusterMapOutput) ElementType() reflect.Type
func (ClusterMapOutput) MapIndex ¶
func (o ClusterMapOutput) MapIndex(k pulumi.StringInput) ClusterOutput
func (ClusterMapOutput) ToClusterMapOutput ¶
func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput
func (ClusterMapOutput) ToClusterMapOutputWithContext ¶
func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterOutput ¶
type ClusterOutput struct{ *pulumi.OutputState }
func (ClusterOutput) AclEntryLists ¶ added in v3.27.0
func (o ClusterOutput) AclEntryLists() pulumi.StringArrayOutput
The whitelist. **NOTE:** This attribute is invalid when the value of `pubNetworkFlow` is `0` and the value of `netType` is `privatenet`.
func (ClusterOutput) AppVersion ¶ added in v3.38.0
func (o ClusterOutput) AppVersion() pulumi.StringOutput
(Available in v1.205.0+) The application version.
func (ClusterOutput) ClusterAliasName ¶ added in v3.27.0
func (o ClusterOutput) ClusterAliasName() pulumi.StringPtrOutput
The alias of MSE Cluster.
func (ClusterOutput) ClusterId ¶ added in v3.27.0
func (o ClusterOutput) ClusterId() pulumi.StringOutput
(Available in v1.162.0+) The id of Cluster.
func (ClusterOutput) ClusterSpecification ¶ added in v3.27.0
func (o ClusterOutput) ClusterSpecification() pulumi.StringOutput
The engine specification of MSE Cluster. **NOTE:** From version 1.188.0, `clusterSpecification` can be modified. Valid values: - `MSE_SC_1_2_60_c`: 1C2G - `MSE_SC_2_4_60_c`: 2C4G - `MSE_SC_4_8_60_c`: 4C8G - `MSE_SC_8_16_60_c`: 8C16G
func (ClusterOutput) ClusterType ¶ added in v3.27.0
func (o ClusterOutput) ClusterType() pulumi.StringOutput
The type of MSE Cluster.
func (ClusterOutput) ClusterVersion ¶ added in v3.27.0
func (o ClusterOutput) ClusterVersion() pulumi.StringOutput
The version of MSE Cluster. See [details](https://www.alibabacloud.com/help/en/mse/developer-reference/api-mse-2019-05-31-createcluster)
func (ClusterOutput) ConnectionType ¶ added in v3.29.0
func (o ClusterOutput) ConnectionType() pulumi.StringOutput
The connection type. Valid values: `slb`.
func (ClusterOutput) DiskType ¶ added in v3.27.0
func (o ClusterOutput) DiskType() pulumi.StringPtrOutput
The type of Disk.
func (ClusterOutput) ElementType ¶
func (ClusterOutput) ElementType() reflect.Type
func (ClusterOutput) InstanceCount ¶ added in v3.27.0
func (o ClusterOutput) InstanceCount() pulumi.IntOutput
The count of instance. **NOTE:** From version 1.188.0, `instanceCount` can be modified.
func (ClusterOutput) MseVersion ¶ added in v3.27.0
func (o ClusterOutput) MseVersion() pulumi.StringOutput
The version of MSE. Valid values: `mseDev` or `msePro`.
func (ClusterOutput) NetType ¶ added in v3.27.0
func (o ClusterOutput) NetType() pulumi.StringOutput
The type of network. Valid values: "privatenet" and "pubnet".
func (ClusterOutput) PaymentType ¶ added in v3.52.0
func (o ClusterOutput) PaymentType() pulumi.StringOutput
Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.
func (ClusterOutput) PrivateSlbSpecification ¶ added in v3.27.0
func (o ClusterOutput) PrivateSlbSpecification() pulumi.StringPtrOutput
The specification of private network SLB.
func (ClusterOutput) PubNetworkFlow ¶ added in v3.27.0
func (o ClusterOutput) PubNetworkFlow() pulumi.StringOutput
The public network bandwidth. `0` means no access to the public network.
func (ClusterOutput) PubSlbSpecification ¶ added in v3.27.0
func (o ClusterOutput) PubSlbSpecification() pulumi.StringPtrOutput
The specification of public network SLB.
func (ClusterOutput) RequestPars ¶ added in v3.29.0
func (o ClusterOutput) RequestPars() pulumi.StringPtrOutput
The extended request parameters in the JSON format.
func (ClusterOutput) ResourceGroupId ¶ added in v3.52.0
func (o ClusterOutput) ResourceGroupId() pulumi.StringOutput
The resource group of the resource.
func (ClusterOutput) Status ¶ added in v3.27.0
func (o ClusterOutput) Status() pulumi.StringOutput
The status of MSE Cluster.
func (ClusterOutput) Tags ¶ added in v3.52.0
func (o ClusterOutput) Tags() pulumi.MapOutput
The tag of the resource.
func (ClusterOutput) ToClusterOutput ¶
func (o ClusterOutput) ToClusterOutput() ClusterOutput
func (ClusterOutput) ToClusterOutputWithContext ¶
func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
func (ClusterOutput) VpcId ¶ added in v3.29.0
func (o ClusterOutput) VpcId() pulumi.StringOutput
The id of the VPC.
func (ClusterOutput) VswitchId ¶ added in v3.27.0
func (o ClusterOutput) VswitchId() pulumi.StringPtrOutput
The id of VSwitch.
type ClusterState ¶
type ClusterState struct { // The whitelist. **NOTE:** This attribute is invalid when the value of `pubNetworkFlow` is `0` and the value of `netType` is `privatenet`. AclEntryLists pulumi.StringArrayInput // (Available in v1.205.0+) The application version. AppVersion pulumi.StringPtrInput // The alias of MSE Cluster. ClusterAliasName pulumi.StringPtrInput // (Available in v1.162.0+) The id of Cluster. ClusterId pulumi.StringPtrInput // The engine specification of MSE Cluster. **NOTE:** From version 1.188.0, `clusterSpecification` can be modified. Valid values: // - `MSE_SC_1_2_60_c`: 1C2G // - `MSE_SC_2_4_60_c`: 2C4G // - `MSE_SC_4_8_60_c`: 4C8G // - `MSE_SC_8_16_60_c`: 8C16G ClusterSpecification pulumi.StringPtrInput // The type of MSE Cluster. ClusterType pulumi.StringPtrInput // The version of MSE Cluster. See [details](https://www.alibabacloud.com/help/en/mse/developer-reference/api-mse-2019-05-31-createcluster) ClusterVersion pulumi.StringPtrInput // The connection type. Valid values: `slb`. ConnectionType pulumi.StringPtrInput // The type of Disk. DiskType pulumi.StringPtrInput // The count of instance. **NOTE:** From version 1.188.0, `instanceCount` can be modified. InstanceCount pulumi.IntPtrInput // The version of MSE. Valid values: `mseDev` or `msePro`. MseVersion pulumi.StringPtrInput // The type of network. Valid values: "privatenet" and "pubnet". NetType pulumi.StringPtrInput // Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. PaymentType 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 extended request parameters in the JSON format. RequestPars pulumi.StringPtrInput // The resource group of the resource. ResourceGroupId pulumi.StringPtrInput // The status of MSE Cluster. Status pulumi.StringPtrInput // The tag of the resource. Tags pulumi.MapInput // The id of the VPC. VpcId pulumi.StringPtrInput // The id of VSwitch. VswitchId pulumi.StringPtrInput }
func (ClusterState) ElementType ¶
func (ClusterState) ElementType() reflect.Type
type EngineNamespace ¶ added in v3.20.0
type EngineNamespace struct { pulumi.CustomResourceState // The language type of the returned information. Valid values: `zh`, `en`. AcceptLanguage pulumi.StringPtrOutput `pulumi:"acceptLanguage"` // The id of the cluster. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // The id of Namespace. NamespaceId pulumi.StringOutput `pulumi:"namespaceId"` // The name of the Engine Namespace. NamespaceShowName pulumi.StringOutput `pulumi:"namespaceShowName"` }
Provides a Microservice Engine (MSE) Engine Namespace resource.
For information about Microservice Engine (MSE) Engine Namespace and how to use it, see [What is Engine Namespace](https://www.alibabacloud.com/help/en/mse/developer-reference/api-mse-2019-05-31-createenginenamespace).
> **NOTE:** Available in v1.166.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/mse" "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, "") name := "tf-example" if param := cfg.Get("name"); param != "" { name = param } example, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } exampleNetwork, err := vpc.NewNetwork(ctx, "example", &vpc.NetworkArgs{ VpcName: pulumi.String("terraform-example"), CidrBlock: pulumi.String("172.17.3.0/24"), }) if err != nil { return err } exampleSwitch, err := vpc.NewSwitch(ctx, "example", &vpc.SwitchArgs{ VswitchName: pulumi.String("terraform-example"), CidrBlock: pulumi.String("172.17.3.0/24"), VpcId: exampleNetwork.ID(), ZoneId: pulumi.String(example.Zones[0].Id), }) if err != nil { return err } _, err = mse.NewCluster(ctx, "default", &mse.ClusterArgs{ ConnectionType: pulumi.String("slb"), NetType: pulumi.String("privatenet"), VswitchId: exampleSwitch.ID(), ClusterSpecification: pulumi.String("MSE_SC_1_2_60_c"), ClusterVersion: pulumi.String("NACOS_2_0_0"), InstanceCount: pulumi.Int(1), PubNetworkFlow: pulumi.String("1"), ClusterAliasName: pulumi.String(name), MseVersion: pulumi.String("mse_dev"), ClusterType: pulumi.String("Nacos-Ans"), }) if err != nil { return err } _, err = mse.NewEngineNamespace(ctx, "example", &mse.EngineNamespaceArgs{ ClusterId: _default.ID(), NamespaceShowName: pulumi.String(name), NamespaceId: pulumi.String(name), }) if err != nil { return err } return nil }) }
```
## Import
Microservice Engine (MSE) Engine Namespace can be imported using the id, e.g.
```sh $ pulumi import alicloud:mse/engineNamespace:EngineNamespace example <cluster_id>:<namespace_id> ```
func GetEngineNamespace ¶ added in v3.20.0
func GetEngineNamespace(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EngineNamespaceState, opts ...pulumi.ResourceOption) (*EngineNamespace, error)
GetEngineNamespace gets an existing EngineNamespace 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 NewEngineNamespace ¶ added in v3.20.0
func NewEngineNamespace(ctx *pulumi.Context, name string, args *EngineNamespaceArgs, opts ...pulumi.ResourceOption) (*EngineNamespace, error)
NewEngineNamespace registers a new resource with the given unique name, arguments, and options.
func (*EngineNamespace) ElementType ¶ added in v3.20.0
func (*EngineNamespace) ElementType() reflect.Type
func (*EngineNamespace) ToEngineNamespaceOutput ¶ added in v3.20.0
func (i *EngineNamespace) ToEngineNamespaceOutput() EngineNamespaceOutput
func (*EngineNamespace) ToEngineNamespaceOutputWithContext ¶ added in v3.20.0
func (i *EngineNamespace) ToEngineNamespaceOutputWithContext(ctx context.Context) EngineNamespaceOutput
type EngineNamespaceArgs ¶ added in v3.20.0
type EngineNamespaceArgs struct { // The language type of the returned information. Valid values: `zh`, `en`. AcceptLanguage pulumi.StringPtrInput // The id of the cluster. ClusterId pulumi.StringInput // The id of Namespace. NamespaceId pulumi.StringInput // The name of the Engine Namespace. NamespaceShowName pulumi.StringInput }
The set of arguments for constructing a EngineNamespace resource.
func (EngineNamespaceArgs) ElementType ¶ added in v3.20.0
func (EngineNamespaceArgs) ElementType() reflect.Type
type EngineNamespaceArray ¶ added in v3.20.0
type EngineNamespaceArray []EngineNamespaceInput
func (EngineNamespaceArray) ElementType ¶ added in v3.20.0
func (EngineNamespaceArray) ElementType() reflect.Type
func (EngineNamespaceArray) ToEngineNamespaceArrayOutput ¶ added in v3.20.0
func (i EngineNamespaceArray) ToEngineNamespaceArrayOutput() EngineNamespaceArrayOutput
func (EngineNamespaceArray) ToEngineNamespaceArrayOutputWithContext ¶ added in v3.20.0
func (i EngineNamespaceArray) ToEngineNamespaceArrayOutputWithContext(ctx context.Context) EngineNamespaceArrayOutput
type EngineNamespaceArrayInput ¶ added in v3.20.0
type EngineNamespaceArrayInput interface { pulumi.Input ToEngineNamespaceArrayOutput() EngineNamespaceArrayOutput ToEngineNamespaceArrayOutputWithContext(context.Context) EngineNamespaceArrayOutput }
EngineNamespaceArrayInput is an input type that accepts EngineNamespaceArray and EngineNamespaceArrayOutput values. You can construct a concrete instance of `EngineNamespaceArrayInput` via:
EngineNamespaceArray{ EngineNamespaceArgs{...} }
type EngineNamespaceArrayOutput ¶ added in v3.20.0
type EngineNamespaceArrayOutput struct{ *pulumi.OutputState }
func (EngineNamespaceArrayOutput) ElementType ¶ added in v3.20.0
func (EngineNamespaceArrayOutput) ElementType() reflect.Type
func (EngineNamespaceArrayOutput) Index ¶ added in v3.20.0
func (o EngineNamespaceArrayOutput) Index(i pulumi.IntInput) EngineNamespaceOutput
func (EngineNamespaceArrayOutput) ToEngineNamespaceArrayOutput ¶ added in v3.20.0
func (o EngineNamespaceArrayOutput) ToEngineNamespaceArrayOutput() EngineNamespaceArrayOutput
func (EngineNamespaceArrayOutput) ToEngineNamespaceArrayOutputWithContext ¶ added in v3.20.0
func (o EngineNamespaceArrayOutput) ToEngineNamespaceArrayOutputWithContext(ctx context.Context) EngineNamespaceArrayOutput
type EngineNamespaceInput ¶ added in v3.20.0
type EngineNamespaceInput interface { pulumi.Input ToEngineNamespaceOutput() EngineNamespaceOutput ToEngineNamespaceOutputWithContext(ctx context.Context) EngineNamespaceOutput }
type EngineNamespaceMap ¶ added in v3.20.0
type EngineNamespaceMap map[string]EngineNamespaceInput
func (EngineNamespaceMap) ElementType ¶ added in v3.20.0
func (EngineNamespaceMap) ElementType() reflect.Type
func (EngineNamespaceMap) ToEngineNamespaceMapOutput ¶ added in v3.20.0
func (i EngineNamespaceMap) ToEngineNamespaceMapOutput() EngineNamespaceMapOutput
func (EngineNamespaceMap) ToEngineNamespaceMapOutputWithContext ¶ added in v3.20.0
func (i EngineNamespaceMap) ToEngineNamespaceMapOutputWithContext(ctx context.Context) EngineNamespaceMapOutput
type EngineNamespaceMapInput ¶ added in v3.20.0
type EngineNamespaceMapInput interface { pulumi.Input ToEngineNamespaceMapOutput() EngineNamespaceMapOutput ToEngineNamespaceMapOutputWithContext(context.Context) EngineNamespaceMapOutput }
EngineNamespaceMapInput is an input type that accepts EngineNamespaceMap and EngineNamespaceMapOutput values. You can construct a concrete instance of `EngineNamespaceMapInput` via:
EngineNamespaceMap{ "key": EngineNamespaceArgs{...} }
type EngineNamespaceMapOutput ¶ added in v3.20.0
type EngineNamespaceMapOutput struct{ *pulumi.OutputState }
func (EngineNamespaceMapOutput) ElementType ¶ added in v3.20.0
func (EngineNamespaceMapOutput) ElementType() reflect.Type
func (EngineNamespaceMapOutput) MapIndex ¶ added in v3.20.0
func (o EngineNamespaceMapOutput) MapIndex(k pulumi.StringInput) EngineNamespaceOutput
func (EngineNamespaceMapOutput) ToEngineNamespaceMapOutput ¶ added in v3.20.0
func (o EngineNamespaceMapOutput) ToEngineNamespaceMapOutput() EngineNamespaceMapOutput
func (EngineNamespaceMapOutput) ToEngineNamespaceMapOutputWithContext ¶ added in v3.20.0
func (o EngineNamespaceMapOutput) ToEngineNamespaceMapOutputWithContext(ctx context.Context) EngineNamespaceMapOutput
type EngineNamespaceOutput ¶ added in v3.20.0
type EngineNamespaceOutput struct{ *pulumi.OutputState }
func (EngineNamespaceOutput) AcceptLanguage ¶ added in v3.27.0
func (o EngineNamespaceOutput) AcceptLanguage() pulumi.StringPtrOutput
The language type of the returned information. Valid values: `zh`, `en`.
func (EngineNamespaceOutput) ClusterId ¶ added in v3.27.0
func (o EngineNamespaceOutput) ClusterId() pulumi.StringOutput
The id of the cluster.
func (EngineNamespaceOutput) ElementType ¶ added in v3.20.0
func (EngineNamespaceOutput) ElementType() reflect.Type
func (EngineNamespaceOutput) NamespaceId ¶ added in v3.27.0
func (o EngineNamespaceOutput) NamespaceId() pulumi.StringOutput
The id of Namespace.
func (EngineNamespaceOutput) NamespaceShowName ¶ added in v3.27.0
func (o EngineNamespaceOutput) NamespaceShowName() pulumi.StringOutput
The name of the Engine Namespace.
func (EngineNamespaceOutput) ToEngineNamespaceOutput ¶ added in v3.20.0
func (o EngineNamespaceOutput) ToEngineNamespaceOutput() EngineNamespaceOutput
func (EngineNamespaceOutput) ToEngineNamespaceOutputWithContext ¶ added in v3.20.0
func (o EngineNamespaceOutput) ToEngineNamespaceOutputWithContext(ctx context.Context) EngineNamespaceOutput
type EngineNamespaceState ¶ added in v3.20.0
type EngineNamespaceState struct { // The language type of the returned information. Valid values: `zh`, `en`. AcceptLanguage pulumi.StringPtrInput // The id of the cluster. ClusterId pulumi.StringPtrInput // The id of Namespace. NamespaceId pulumi.StringPtrInput // The name of the Engine Namespace. NamespaceShowName pulumi.StringPtrInput }
func (EngineNamespaceState) ElementType ¶ added in v3.20.0
func (EngineNamespaceState) ElementType() reflect.Type
type Gateway ¶ added in v3.18.0
type Gateway struct { pulumi.CustomResourceState // The backup vswitch id. BackupVswitchId pulumi.StringPtrOutput `pulumi:"backupVswitchId"` // Whether to delete the SLB purchased on behalf of the gateway at the same time. DeleteSlb pulumi.BoolPtrOutput `pulumi:"deleteSlb"` // Whether the enterprise security group type. EnterpriseSecurityGroup pulumi.BoolPtrOutput `pulumi:"enterpriseSecurityGroup"` // The name of the Gateway . GatewayName pulumi.StringPtrOutput `pulumi:"gatewayName"` // Public network SLB specifications. InternetSlbSpec pulumi.StringPtrOutput `pulumi:"internetSlbSpec"` // Number of Gateway Nodes. Replica pulumi.IntOutput `pulumi:"replica"` // A list of gateway Slb. SlbLists GatewaySlbListArrayOutput `pulumi:"slbLists"` // Private network SLB specifications. SlbSpec pulumi.StringPtrOutput `pulumi:"slbSpec"` // Gateway Node Specifications. Valid values: `MSE_GTW_2_4_200_c`, `MSE_GTW_4_8_200_c`, `MSE_GTW_8_16_200_c`, `MSE_GTW_16_32_200_c`. Spec pulumi.StringOutput `pulumi:"spec"` // The status of the gateway. Status pulumi.StringOutput `pulumi:"status"` // The ID of the vpc. VpcId pulumi.StringOutput `pulumi:"vpcId"` // The ID of the vswitch. VswitchId pulumi.StringOutput `pulumi:"vswitchId"` }
Provides a Microservice Engine (MSE) Gateway resource.
For information about Microservice Engine (MSE) Gateway and how to use it, see [What is Gateway](https://help.aliyun.com/document_detail/347638.html).
> **NOTE:** Available in v1.157.0+.
## Import
Microservice Engine (MSE) Gateway can be imported using the id, e.g.
```sh $ pulumi import alicloud:mse/gateway:Gateway example <id> ```
func GetGateway ¶ added in v3.18.0
func GetGateway(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GatewayState, opts ...pulumi.ResourceOption) (*Gateway, error)
GetGateway gets an existing Gateway 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 NewGateway ¶ added in v3.18.0
func NewGateway(ctx *pulumi.Context, name string, args *GatewayArgs, opts ...pulumi.ResourceOption) (*Gateway, error)
NewGateway registers a new resource with the given unique name, arguments, and options.
func (*Gateway) ElementType ¶ added in v3.18.0
func (*Gateway) ToGatewayOutput ¶ added in v3.18.0
func (i *Gateway) ToGatewayOutput() GatewayOutput
func (*Gateway) ToGatewayOutputWithContext ¶ added in v3.18.0
func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
type GatewayArgs ¶ added in v3.18.0
type GatewayArgs struct { // The backup vswitch id. BackupVswitchId pulumi.StringPtrInput // Whether to delete the SLB purchased on behalf of the gateway at the same time. DeleteSlb pulumi.BoolPtrInput // Whether the enterprise security group type. EnterpriseSecurityGroup pulumi.BoolPtrInput // The name of the Gateway . GatewayName pulumi.StringPtrInput // Public network SLB specifications. InternetSlbSpec pulumi.StringPtrInput // Number of Gateway Nodes. Replica pulumi.IntInput // Private network SLB specifications. SlbSpec pulumi.StringPtrInput // Gateway Node Specifications. Valid values: `MSE_GTW_2_4_200_c`, `MSE_GTW_4_8_200_c`, `MSE_GTW_8_16_200_c`, `MSE_GTW_16_32_200_c`. Spec pulumi.StringInput // The ID of the vpc. VpcId pulumi.StringInput // The ID of the vswitch. VswitchId pulumi.StringInput }
The set of arguments for constructing a Gateway resource.
func (GatewayArgs) ElementType ¶ added in v3.18.0
func (GatewayArgs) ElementType() reflect.Type
type GatewayArray ¶ added in v3.18.0
type GatewayArray []GatewayInput
func (GatewayArray) ElementType ¶ added in v3.18.0
func (GatewayArray) ElementType() reflect.Type
func (GatewayArray) ToGatewayArrayOutput ¶ added in v3.18.0
func (i GatewayArray) ToGatewayArrayOutput() GatewayArrayOutput
func (GatewayArray) ToGatewayArrayOutputWithContext ¶ added in v3.18.0
func (i GatewayArray) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput
type GatewayArrayInput ¶ added in v3.18.0
type GatewayArrayInput interface { pulumi.Input ToGatewayArrayOutput() GatewayArrayOutput ToGatewayArrayOutputWithContext(context.Context) GatewayArrayOutput }
GatewayArrayInput is an input type that accepts GatewayArray and GatewayArrayOutput values. You can construct a concrete instance of `GatewayArrayInput` via:
GatewayArray{ GatewayArgs{...} }
type GatewayArrayOutput ¶ added in v3.18.0
type GatewayArrayOutput struct{ *pulumi.OutputState }
func (GatewayArrayOutput) ElementType ¶ added in v3.18.0
func (GatewayArrayOutput) ElementType() reflect.Type
func (GatewayArrayOutput) Index ¶ added in v3.18.0
func (o GatewayArrayOutput) Index(i pulumi.IntInput) GatewayOutput
func (GatewayArrayOutput) ToGatewayArrayOutput ¶ added in v3.18.0
func (o GatewayArrayOutput) ToGatewayArrayOutput() GatewayArrayOutput
func (GatewayArrayOutput) ToGatewayArrayOutputWithContext ¶ added in v3.18.0
func (o GatewayArrayOutput) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput
type GatewayInput ¶ added in v3.18.0
type GatewayInput interface { pulumi.Input ToGatewayOutput() GatewayOutput ToGatewayOutputWithContext(ctx context.Context) GatewayOutput }
type GatewayMap ¶ added in v3.18.0
type GatewayMap map[string]GatewayInput
func (GatewayMap) ElementType ¶ added in v3.18.0
func (GatewayMap) ElementType() reflect.Type
func (GatewayMap) ToGatewayMapOutput ¶ added in v3.18.0
func (i GatewayMap) ToGatewayMapOutput() GatewayMapOutput
func (GatewayMap) ToGatewayMapOutputWithContext ¶ added in v3.18.0
func (i GatewayMap) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput
type GatewayMapInput ¶ added in v3.18.0
type GatewayMapInput interface { pulumi.Input ToGatewayMapOutput() GatewayMapOutput ToGatewayMapOutputWithContext(context.Context) GatewayMapOutput }
GatewayMapInput is an input type that accepts GatewayMap and GatewayMapOutput values. You can construct a concrete instance of `GatewayMapInput` via:
GatewayMap{ "key": GatewayArgs{...} }
type GatewayMapOutput ¶ added in v3.18.0
type GatewayMapOutput struct{ *pulumi.OutputState }
func (GatewayMapOutput) ElementType ¶ added in v3.18.0
func (GatewayMapOutput) ElementType() reflect.Type
func (GatewayMapOutput) MapIndex ¶ added in v3.18.0
func (o GatewayMapOutput) MapIndex(k pulumi.StringInput) GatewayOutput
func (GatewayMapOutput) ToGatewayMapOutput ¶ added in v3.18.0
func (o GatewayMapOutput) ToGatewayMapOutput() GatewayMapOutput
func (GatewayMapOutput) ToGatewayMapOutputWithContext ¶ added in v3.18.0
func (o GatewayMapOutput) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput
type GatewayOutput ¶ added in v3.18.0
type GatewayOutput struct{ *pulumi.OutputState }
func (GatewayOutput) BackupVswitchId ¶ added in v3.27.0
func (o GatewayOutput) BackupVswitchId() pulumi.StringPtrOutput
The backup vswitch id.
func (GatewayOutput) DeleteSlb ¶ added in v3.27.0
func (o GatewayOutput) DeleteSlb() pulumi.BoolPtrOutput
Whether to delete the SLB purchased on behalf of the gateway at the same time.
func (GatewayOutput) ElementType ¶ added in v3.18.0
func (GatewayOutput) ElementType() reflect.Type
func (GatewayOutput) EnterpriseSecurityGroup ¶ added in v3.27.0
func (o GatewayOutput) EnterpriseSecurityGroup() pulumi.BoolPtrOutput
Whether the enterprise security group type.
func (GatewayOutput) GatewayName ¶ added in v3.27.0
func (o GatewayOutput) GatewayName() pulumi.StringPtrOutput
The name of the Gateway .
func (GatewayOutput) InternetSlbSpec ¶ added in v3.27.0
func (o GatewayOutput) InternetSlbSpec() pulumi.StringPtrOutput
Public network SLB specifications.
func (GatewayOutput) Replica ¶ added in v3.27.0
func (o GatewayOutput) Replica() pulumi.IntOutput
Number of Gateway Nodes.
func (GatewayOutput) SlbLists ¶ added in v3.27.0
func (o GatewayOutput) SlbLists() GatewaySlbListArrayOutput
A list of gateway Slb.
func (GatewayOutput) SlbSpec ¶ added in v3.27.0
func (o GatewayOutput) SlbSpec() pulumi.StringPtrOutput
Private network SLB specifications.
func (GatewayOutput) Spec ¶ added in v3.27.0
func (o GatewayOutput) Spec() pulumi.StringOutput
Gateway Node Specifications. Valid values: `MSE_GTW_2_4_200_c`, `MSE_GTW_4_8_200_c`, `MSE_GTW_8_16_200_c`, `MSE_GTW_16_32_200_c`.
func (GatewayOutput) Status ¶ added in v3.27.0
func (o GatewayOutput) Status() pulumi.StringOutput
The status of the gateway.
func (GatewayOutput) ToGatewayOutput ¶ added in v3.18.0
func (o GatewayOutput) ToGatewayOutput() GatewayOutput
func (GatewayOutput) ToGatewayOutputWithContext ¶ added in v3.18.0
func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
func (GatewayOutput) VpcId ¶ added in v3.27.0
func (o GatewayOutput) VpcId() pulumi.StringOutput
The ID of the vpc.
func (GatewayOutput) VswitchId ¶ added in v3.27.0
func (o GatewayOutput) VswitchId() pulumi.StringOutput
The ID of the vswitch.
type GatewaySlbList ¶ added in v3.18.0
type GatewaySlbList struct { // The associate id. AssociateId *string `pulumi:"associateId"` // The Mode of the gateway slb. GatewaySlbMode *string `pulumi:"gatewaySlbMode"` // The Status of the gateway slb. GatewaySlbStatus *string `pulumi:"gatewaySlbStatus"` // The creation time of the gateway slb. GmtCreate *string `pulumi:"gmtCreate"` // The ID of the gateway slb. SlbId *string `pulumi:"slbId"` // The ip of the gateway slb. SlbIp *string `pulumi:"slbIp"` // The port of the gateway slb. SlbPort *string `pulumi:"slbPort"` // The type of the gateway slb. Type *string `pulumi:"type"` }
type GatewaySlbListArgs ¶ added in v3.18.0
type GatewaySlbListArgs struct { // The associate id. AssociateId pulumi.StringPtrInput `pulumi:"associateId"` // The Mode of the gateway slb. GatewaySlbMode pulumi.StringPtrInput `pulumi:"gatewaySlbMode"` // The Status of the gateway slb. GatewaySlbStatus pulumi.StringPtrInput `pulumi:"gatewaySlbStatus"` // The creation time of the gateway slb. GmtCreate pulumi.StringPtrInput `pulumi:"gmtCreate"` // The ID of the gateway slb. SlbId pulumi.StringPtrInput `pulumi:"slbId"` // The ip of the gateway slb. SlbIp pulumi.StringPtrInput `pulumi:"slbIp"` // The port of the gateway slb. SlbPort pulumi.StringPtrInput `pulumi:"slbPort"` // The type of the gateway slb. Type pulumi.StringPtrInput `pulumi:"type"` }
func (GatewaySlbListArgs) ElementType ¶ added in v3.18.0
func (GatewaySlbListArgs) ElementType() reflect.Type
func (GatewaySlbListArgs) ToGatewaySlbListOutput ¶ added in v3.18.0
func (i GatewaySlbListArgs) ToGatewaySlbListOutput() GatewaySlbListOutput
func (GatewaySlbListArgs) ToGatewaySlbListOutputWithContext ¶ added in v3.18.0
func (i GatewaySlbListArgs) ToGatewaySlbListOutputWithContext(ctx context.Context) GatewaySlbListOutput
type GatewaySlbListArray ¶ added in v3.18.0
type GatewaySlbListArray []GatewaySlbListInput
func (GatewaySlbListArray) ElementType ¶ added in v3.18.0
func (GatewaySlbListArray) ElementType() reflect.Type
func (GatewaySlbListArray) ToGatewaySlbListArrayOutput ¶ added in v3.18.0
func (i GatewaySlbListArray) ToGatewaySlbListArrayOutput() GatewaySlbListArrayOutput
func (GatewaySlbListArray) ToGatewaySlbListArrayOutputWithContext ¶ added in v3.18.0
func (i GatewaySlbListArray) ToGatewaySlbListArrayOutputWithContext(ctx context.Context) GatewaySlbListArrayOutput
type GatewaySlbListArrayInput ¶ added in v3.18.0
type GatewaySlbListArrayInput interface { pulumi.Input ToGatewaySlbListArrayOutput() GatewaySlbListArrayOutput ToGatewaySlbListArrayOutputWithContext(context.Context) GatewaySlbListArrayOutput }
GatewaySlbListArrayInput is an input type that accepts GatewaySlbListArray and GatewaySlbListArrayOutput values. You can construct a concrete instance of `GatewaySlbListArrayInput` via:
GatewaySlbListArray{ GatewaySlbListArgs{...} }
type GatewaySlbListArrayOutput ¶ added in v3.18.0
type GatewaySlbListArrayOutput struct{ *pulumi.OutputState }
func (GatewaySlbListArrayOutput) ElementType ¶ added in v3.18.0
func (GatewaySlbListArrayOutput) ElementType() reflect.Type
func (GatewaySlbListArrayOutput) Index ¶ added in v3.18.0
func (o GatewaySlbListArrayOutput) Index(i pulumi.IntInput) GatewaySlbListOutput
func (GatewaySlbListArrayOutput) ToGatewaySlbListArrayOutput ¶ added in v3.18.0
func (o GatewaySlbListArrayOutput) ToGatewaySlbListArrayOutput() GatewaySlbListArrayOutput
func (GatewaySlbListArrayOutput) ToGatewaySlbListArrayOutputWithContext ¶ added in v3.18.0
func (o GatewaySlbListArrayOutput) ToGatewaySlbListArrayOutputWithContext(ctx context.Context) GatewaySlbListArrayOutput
type GatewaySlbListInput ¶ added in v3.18.0
type GatewaySlbListInput interface { pulumi.Input ToGatewaySlbListOutput() GatewaySlbListOutput ToGatewaySlbListOutputWithContext(context.Context) GatewaySlbListOutput }
GatewaySlbListInput is an input type that accepts GatewaySlbListArgs and GatewaySlbListOutput values. You can construct a concrete instance of `GatewaySlbListInput` via:
GatewaySlbListArgs{...}
type GatewaySlbListOutput ¶ added in v3.18.0
type GatewaySlbListOutput struct{ *pulumi.OutputState }
func (GatewaySlbListOutput) AssociateId ¶ added in v3.18.0
func (o GatewaySlbListOutput) AssociateId() pulumi.StringPtrOutput
The associate id.
func (GatewaySlbListOutput) ElementType ¶ added in v3.18.0
func (GatewaySlbListOutput) ElementType() reflect.Type
func (GatewaySlbListOutput) GatewaySlbMode ¶ added in v3.18.0
func (o GatewaySlbListOutput) GatewaySlbMode() pulumi.StringPtrOutput
The Mode of the gateway slb.
func (GatewaySlbListOutput) GatewaySlbStatus ¶ added in v3.18.0
func (o GatewaySlbListOutput) GatewaySlbStatus() pulumi.StringPtrOutput
The Status of the gateway slb.
func (GatewaySlbListOutput) GmtCreate ¶ added in v3.18.0
func (o GatewaySlbListOutput) GmtCreate() pulumi.StringPtrOutput
The creation time of the gateway slb.
func (GatewaySlbListOutput) SlbId ¶ added in v3.18.0
func (o GatewaySlbListOutput) SlbId() pulumi.StringPtrOutput
The ID of the gateway slb.
func (GatewaySlbListOutput) SlbIp ¶ added in v3.18.0
func (o GatewaySlbListOutput) SlbIp() pulumi.StringPtrOutput
The ip of the gateway slb.
func (GatewaySlbListOutput) SlbPort ¶ added in v3.18.0
func (o GatewaySlbListOutput) SlbPort() pulumi.StringPtrOutput
The port of the gateway slb.
func (GatewaySlbListOutput) ToGatewaySlbListOutput ¶ added in v3.18.0
func (o GatewaySlbListOutput) ToGatewaySlbListOutput() GatewaySlbListOutput
func (GatewaySlbListOutput) ToGatewaySlbListOutputWithContext ¶ added in v3.18.0
func (o GatewaySlbListOutput) ToGatewaySlbListOutputWithContext(ctx context.Context) GatewaySlbListOutput
func (GatewaySlbListOutput) Type ¶ added in v3.18.0
func (o GatewaySlbListOutput) Type() pulumi.StringPtrOutput
The type of the gateway slb.
type GatewayState ¶ added in v3.18.0
type GatewayState struct { // The backup vswitch id. BackupVswitchId pulumi.StringPtrInput // Whether to delete the SLB purchased on behalf of the gateway at the same time. DeleteSlb pulumi.BoolPtrInput // Whether the enterprise security group type. EnterpriseSecurityGroup pulumi.BoolPtrInput // The name of the Gateway . GatewayName pulumi.StringPtrInput // Public network SLB specifications. InternetSlbSpec pulumi.StringPtrInput // Number of Gateway Nodes. Replica pulumi.IntPtrInput // A list of gateway Slb. SlbLists GatewaySlbListArrayInput // Private network SLB specifications. SlbSpec pulumi.StringPtrInput // Gateway Node Specifications. Valid values: `MSE_GTW_2_4_200_c`, `MSE_GTW_4_8_200_c`, `MSE_GTW_8_16_200_c`, `MSE_GTW_16_32_200_c`. Spec pulumi.StringPtrInput // The status of the gateway. Status pulumi.StringPtrInput // The ID of the vpc. VpcId pulumi.StringPtrInput // The ID of the vswitch. VswitchId pulumi.StringPtrInput }
func (GatewayState) ElementType ¶ added in v3.18.0
func (GatewayState) 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"` // File name where to save data source results (after running `pulumi preview`). 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) ElementType() reflect.Type
func (GetClustersClusterArrayOutput) Index ¶
func (o GetClustersClusterArrayOutput) Index(i pulumi.IntInput) GetClustersClusterOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (GetClustersClusterInstanceModelOutput) HealthStatus ¶
func (o GetClustersClusterInstanceModelOutput) HealthStatus() pulumi.StringOutput
The health status of MSE Cluster.
func (GetClustersClusterInstanceModelOutput) InstanceType ¶
func (o GetClustersClusterInstanceModelOutput) InstanceType() pulumi.StringOutput
func (GetClustersClusterInstanceModelOutput) InternetIp ¶
func (o GetClustersClusterInstanceModelOutput) InternetIp() pulumi.StringOutput
func (GetClustersClusterInstanceModelOutput) Ip ¶
func (o GetClustersClusterInstanceModelOutput) Ip() pulumi.StringOutput
func (GetClustersClusterInstanceModelOutput) PodName ¶
func (o GetClustersClusterInstanceModelOutput) PodName() pulumi.StringOutput
func (GetClustersClusterInstanceModelOutput) Role ¶
func (o GetClustersClusterInstanceModelOutput) Role() pulumi.StringOutput
func (GetClustersClusterInstanceModelOutput) SingleTunnelVip ¶
func (o GetClustersClusterInstanceModelOutput) SingleTunnelVip() pulumi.StringOutput
func (GetClustersClusterInstanceModelOutput) ToGetClustersClusterInstanceModelOutput ¶
func (o GetClustersClusterInstanceModelOutput) ToGetClustersClusterInstanceModelOutput() GetClustersClusterInstanceModelOutput
func (GetClustersClusterInstanceModelOutput) ToGetClustersClusterInstanceModelOutputWithContext ¶
func (o GetClustersClusterInstanceModelOutput) ToGetClustersClusterInstanceModelOutputWithContext(ctx context.Context) GetClustersClusterInstanceModelOutput
func (GetClustersClusterInstanceModelOutput) Vip ¶
func (o GetClustersClusterInstanceModelOutput) Vip() pulumi.StringOutput
type GetClustersClusterOutput ¶
type GetClustersClusterOutput struct{ *pulumi.OutputState }
func (GetClustersClusterOutput) AclId ¶
func (o GetClustersClusterOutput) AclId() pulumi.StringOutput
The id of acl.
func (GetClustersClusterOutput) AppVersion ¶
func (o GetClustersClusterOutput) AppVersion() pulumi.StringOutput
The version of app.
func (GetClustersClusterOutput) ClusterId ¶
func (o GetClustersClusterOutput) ClusterId() pulumi.StringOutput
ID of the MSE Cluster.
func (GetClustersClusterOutput) ClusterName ¶
func (o GetClustersClusterOutput) ClusterName() pulumi.StringOutput
ID of the OOS Executions.
func (GetClustersClusterOutput) ClusterType ¶
func (o GetClustersClusterOutput) ClusterType() pulumi.StringOutput
The type of MSE Cluster.
func (GetClustersClusterOutput) Cpu ¶
func (o GetClustersClusterOutput) Cpu() pulumi.IntOutput
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 ¶
func (o GetClustersClusterOutput) Id() pulumi.StringOutput
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 ¶
func (o GetClustersClusterOutput) InstanceId() pulumi.StringOutput
ID of the MSE Cluster.
func (GetClustersClusterOutput) InstanceModels ¶
func (o GetClustersClusterOutput) InstanceModels() GetClustersClusterInstanceModelArrayOutput
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 ¶
func (o GetClustersClusterOutput) PayInfo() pulumi.StringOutput
The type of payment.
func (GetClustersClusterOutput) PubNetworkFlow ¶
func (o GetClustersClusterOutput) PubNetworkFlow() pulumi.StringOutput
The public network bandwidth.
func (GetClustersClusterOutput) Status ¶
func (o GetClustersClusterOutput) Status() pulumi.StringOutput
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 GetClustersOutputArgs ¶ added in v3.9.0
type GetClustersOutputArgs struct { // The alias name of MSE Cluster. ClusterAliasName pulumi.StringPtrInput `pulumi:"clusterAliasName"` EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of MSE Cluster ids. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter the results by the cluster alias name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` RequestPars pulumi.StringPtrInput `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 pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getClusters.
func (GetClustersOutputArgs) ElementType ¶ added in v3.9.0
func (GetClustersOutputArgs) ElementType() reflect.Type
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/v3/go/alicloud/mse" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // Declare the data source example, err := mse.GetClusters(ctx, &mse.GetClustersArgs{ Ids: []string{ "mse-cn-0d9xxxx", }, Status: pulumi.StringRef("INIT_SUCCESS"), }, nil) if err != nil { return err } ctx.Export("clusterId", example.Clusters[0].Id) return nil }) }
```
type GetClustersResultOutput ¶ added in v3.9.0
type GetClustersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getClusters.
func GetClustersOutput ¶ added in v3.9.0
func GetClustersOutput(ctx *pulumi.Context, args GetClustersOutputArgs, opts ...pulumi.InvokeOption) GetClustersResultOutput
func (GetClustersResultOutput) ClusterAliasName ¶ added in v3.9.0
func (o GetClustersResultOutput) ClusterAliasName() pulumi.StringPtrOutput
func (GetClustersResultOutput) Clusters ¶ added in v3.9.0
func (o GetClustersResultOutput) Clusters() GetClustersClusterArrayOutput
A list of MSE Clusters. Each element contains the following attributes:
func (GetClustersResultOutput) ElementType ¶ added in v3.9.0
func (GetClustersResultOutput) ElementType() reflect.Type
func (GetClustersResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetClustersResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetClustersResultOutput) Id ¶ added in v3.9.0
func (o GetClustersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetClustersResultOutput) Ids ¶ added in v3.9.0
func (o GetClustersResultOutput) Ids() pulumi.StringArrayOutput
A list of MSE Cluster ids.
func (GetClustersResultOutput) NameRegex ¶ added in v3.9.0
func (o GetClustersResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetClustersResultOutput) Names ¶ added in v3.9.0
func (o GetClustersResultOutput) Names() pulumi.StringArrayOutput
A list of MSE Cluster names.
func (GetClustersResultOutput) OutputFile ¶ added in v3.9.0
func (o GetClustersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetClustersResultOutput) RequestPars ¶ added in v3.9.0
func (o GetClustersResultOutput) RequestPars() pulumi.StringPtrOutput
func (GetClustersResultOutput) Status ¶ added in v3.9.0
func (o GetClustersResultOutput) Status() pulumi.StringPtrOutput
The status of MSE Cluster.
func (GetClustersResultOutput) ToGetClustersResultOutput ¶ added in v3.9.0
func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput
func (GetClustersResultOutput) ToGetClustersResultOutputWithContext ¶ added in v3.9.0
func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput
type GetEngineNamespacesArgs ¶ added in v3.20.0
type GetEngineNamespacesArgs struct { // The language type of the returned information. Valid values: `zh`, `en`. AcceptLanguage *string `pulumi:"acceptLanguage"` // The id of the cluster. ClusterId string `pulumi:"clusterId"` // A list of Engine Namespace IDs. It is formatted to `<cluster_id>:<namespace_id>`. Ids []string `pulumi:"ids"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getEngineNamespaces.
type GetEngineNamespacesNamespace ¶ added in v3.20.0
type GetEngineNamespacesNamespace struct { // The Number of Configuration of the Namespace. ConfigCount int `pulumi:"configCount"` // The ID of the Engine Namespace. It is formatted to `<cluster_id>:<namespace_id>`. Id string `pulumi:"id"` // The description of the Namespace. NamespaceDesc string `pulumi:"namespaceDesc"` // The id of Namespace. NamespaceId string `pulumi:"namespaceId"` // The name of the Namespace. NamespaceShowName string `pulumi:"namespaceShowName"` // The Quota of the Namespace. Quota int `pulumi:"quota"` // The number of active services. ServiceCount string `pulumi:"serviceCount"` // The type of the Namespace, the value is as follows: // - '0': Global Configuration. // - '1': default namespace. // - '2': Custom Namespace. Type int `pulumi:"type"` }
type GetEngineNamespacesNamespaceArgs ¶ added in v3.20.0
type GetEngineNamespacesNamespaceArgs struct { // The Number of Configuration of the Namespace. ConfigCount pulumi.IntInput `pulumi:"configCount"` // The ID of the Engine Namespace. It is formatted to `<cluster_id>:<namespace_id>`. Id pulumi.StringInput `pulumi:"id"` // The description of the Namespace. NamespaceDesc pulumi.StringInput `pulumi:"namespaceDesc"` // The id of Namespace. NamespaceId pulumi.StringInput `pulumi:"namespaceId"` // The name of the Namespace. NamespaceShowName pulumi.StringInput `pulumi:"namespaceShowName"` // The Quota of the Namespace. Quota pulumi.IntInput `pulumi:"quota"` // The number of active services. ServiceCount pulumi.StringInput `pulumi:"serviceCount"` // The type of the Namespace, the value is as follows: // - '0': Global Configuration. // - '1': default namespace. // - '2': Custom Namespace. Type pulumi.IntInput `pulumi:"type"` }
func (GetEngineNamespacesNamespaceArgs) ElementType ¶ added in v3.20.0
func (GetEngineNamespacesNamespaceArgs) ElementType() reflect.Type
func (GetEngineNamespacesNamespaceArgs) ToGetEngineNamespacesNamespaceOutput ¶ added in v3.20.0
func (i GetEngineNamespacesNamespaceArgs) ToGetEngineNamespacesNamespaceOutput() GetEngineNamespacesNamespaceOutput
func (GetEngineNamespacesNamespaceArgs) ToGetEngineNamespacesNamespaceOutputWithContext ¶ added in v3.20.0
func (i GetEngineNamespacesNamespaceArgs) ToGetEngineNamespacesNamespaceOutputWithContext(ctx context.Context) GetEngineNamespacesNamespaceOutput
type GetEngineNamespacesNamespaceArray ¶ added in v3.20.0
type GetEngineNamespacesNamespaceArray []GetEngineNamespacesNamespaceInput
func (GetEngineNamespacesNamespaceArray) ElementType ¶ added in v3.20.0
func (GetEngineNamespacesNamespaceArray) ElementType() reflect.Type
func (GetEngineNamespacesNamespaceArray) ToGetEngineNamespacesNamespaceArrayOutput ¶ added in v3.20.0
func (i GetEngineNamespacesNamespaceArray) ToGetEngineNamespacesNamespaceArrayOutput() GetEngineNamespacesNamespaceArrayOutput
func (GetEngineNamespacesNamespaceArray) ToGetEngineNamespacesNamespaceArrayOutputWithContext ¶ added in v3.20.0
func (i GetEngineNamespacesNamespaceArray) ToGetEngineNamespacesNamespaceArrayOutputWithContext(ctx context.Context) GetEngineNamespacesNamespaceArrayOutput
type GetEngineNamespacesNamespaceArrayInput ¶ added in v3.20.0
type GetEngineNamespacesNamespaceArrayInput interface { pulumi.Input ToGetEngineNamespacesNamespaceArrayOutput() GetEngineNamespacesNamespaceArrayOutput ToGetEngineNamespacesNamespaceArrayOutputWithContext(context.Context) GetEngineNamespacesNamespaceArrayOutput }
GetEngineNamespacesNamespaceArrayInput is an input type that accepts GetEngineNamespacesNamespaceArray and GetEngineNamespacesNamespaceArrayOutput values. You can construct a concrete instance of `GetEngineNamespacesNamespaceArrayInput` via:
GetEngineNamespacesNamespaceArray{ GetEngineNamespacesNamespaceArgs{...} }
type GetEngineNamespacesNamespaceArrayOutput ¶ added in v3.20.0
type GetEngineNamespacesNamespaceArrayOutput struct{ *pulumi.OutputState }
func (GetEngineNamespacesNamespaceArrayOutput) ElementType ¶ added in v3.20.0
func (GetEngineNamespacesNamespaceArrayOutput) ElementType() reflect.Type
func (GetEngineNamespacesNamespaceArrayOutput) ToGetEngineNamespacesNamespaceArrayOutput ¶ added in v3.20.0
func (o GetEngineNamespacesNamespaceArrayOutput) ToGetEngineNamespacesNamespaceArrayOutput() GetEngineNamespacesNamespaceArrayOutput
func (GetEngineNamespacesNamespaceArrayOutput) ToGetEngineNamespacesNamespaceArrayOutputWithContext ¶ added in v3.20.0
func (o GetEngineNamespacesNamespaceArrayOutput) ToGetEngineNamespacesNamespaceArrayOutputWithContext(ctx context.Context) GetEngineNamespacesNamespaceArrayOutput
type GetEngineNamespacesNamespaceInput ¶ added in v3.20.0
type GetEngineNamespacesNamespaceInput interface { pulumi.Input ToGetEngineNamespacesNamespaceOutput() GetEngineNamespacesNamespaceOutput ToGetEngineNamespacesNamespaceOutputWithContext(context.Context) GetEngineNamespacesNamespaceOutput }
GetEngineNamespacesNamespaceInput is an input type that accepts GetEngineNamespacesNamespaceArgs and GetEngineNamespacesNamespaceOutput values. You can construct a concrete instance of `GetEngineNamespacesNamespaceInput` via:
GetEngineNamespacesNamespaceArgs{...}
type GetEngineNamespacesNamespaceOutput ¶ added in v3.20.0
type GetEngineNamespacesNamespaceOutput struct{ *pulumi.OutputState }
func (GetEngineNamespacesNamespaceOutput) ConfigCount ¶ added in v3.20.0
func (o GetEngineNamespacesNamespaceOutput) ConfigCount() pulumi.IntOutput
The Number of Configuration of the Namespace.
func (GetEngineNamespacesNamespaceOutput) ElementType ¶ added in v3.20.0
func (GetEngineNamespacesNamespaceOutput) ElementType() reflect.Type
func (GetEngineNamespacesNamespaceOutput) Id ¶ added in v3.20.0
func (o GetEngineNamespacesNamespaceOutput) Id() pulumi.StringOutput
The ID of the Engine Namespace. It is formatted to `<cluster_id>:<namespace_id>`.
func (GetEngineNamespacesNamespaceOutput) NamespaceDesc ¶ added in v3.20.0
func (o GetEngineNamespacesNamespaceOutput) NamespaceDesc() pulumi.StringOutput
The description of the Namespace.
func (GetEngineNamespacesNamespaceOutput) NamespaceId ¶ added in v3.20.0
func (o GetEngineNamespacesNamespaceOutput) NamespaceId() pulumi.StringOutput
The id of Namespace.
func (GetEngineNamespacesNamespaceOutput) NamespaceShowName ¶ added in v3.20.0
func (o GetEngineNamespacesNamespaceOutput) NamespaceShowName() pulumi.StringOutput
The name of the Namespace.
func (GetEngineNamespacesNamespaceOutput) Quota ¶ added in v3.20.0
func (o GetEngineNamespacesNamespaceOutput) Quota() pulumi.IntOutput
The Quota of the Namespace.
func (GetEngineNamespacesNamespaceOutput) ServiceCount ¶ added in v3.20.0
func (o GetEngineNamespacesNamespaceOutput) ServiceCount() pulumi.StringOutput
The number of active services.
func (GetEngineNamespacesNamespaceOutput) ToGetEngineNamespacesNamespaceOutput ¶ added in v3.20.0
func (o GetEngineNamespacesNamespaceOutput) ToGetEngineNamespacesNamespaceOutput() GetEngineNamespacesNamespaceOutput
func (GetEngineNamespacesNamespaceOutput) ToGetEngineNamespacesNamespaceOutputWithContext ¶ added in v3.20.0
func (o GetEngineNamespacesNamespaceOutput) ToGetEngineNamespacesNamespaceOutputWithContext(ctx context.Context) GetEngineNamespacesNamespaceOutput
func (GetEngineNamespacesNamespaceOutput) Type ¶ added in v3.20.0
func (o GetEngineNamespacesNamespaceOutput) Type() pulumi.IntOutput
The type of the Namespace, the value is as follows: - '0': Global Configuration. - '1': default namespace. - '2': Custom Namespace.
type GetEngineNamespacesOutputArgs ¶ added in v3.20.0
type GetEngineNamespacesOutputArgs struct { // The language type of the returned information. Valid values: `zh`, `en`. AcceptLanguage pulumi.StringPtrInput `pulumi:"acceptLanguage"` // The id of the cluster. ClusterId pulumi.StringInput `pulumi:"clusterId"` // A list of Engine Namespace IDs. It is formatted to `<cluster_id>:<namespace_id>`. Ids pulumi.StringArrayInput `pulumi:"ids"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getEngineNamespaces.
func (GetEngineNamespacesOutputArgs) ElementType ¶ added in v3.20.0
func (GetEngineNamespacesOutputArgs) ElementType() reflect.Type
type GetEngineNamespacesResult ¶ added in v3.20.0
type GetEngineNamespacesResult struct { AcceptLanguage *string `pulumi:"acceptLanguage"` ClusterId string `pulumi:"clusterId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` Namespaces []GetEngineNamespacesNamespace `pulumi:"namespaces"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getEngineNamespaces.
func GetEngineNamespaces ¶ added in v3.20.0
func GetEngineNamespaces(ctx *pulumi.Context, args *GetEngineNamespacesArgs, opts ...pulumi.InvokeOption) (*GetEngineNamespacesResult, error)
This data source provides the Mse Engine Namespaces of the current Alibaba Cloud user.
> **NOTE:** Available in v1.166.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/mse" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := mse.GetEngineNamespaces(ctx, &mse.GetEngineNamespacesArgs{ ClusterId: "example_value", Ids: []string{ "example_value", }, }, nil) if err != nil { return err } ctx.Export("mseEngineNamespaceId1", ids.Namespaces[0].Id) return nil }) }
```
type GetEngineNamespacesResultOutput ¶ added in v3.20.0
type GetEngineNamespacesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEngineNamespaces.
func GetEngineNamespacesOutput ¶ added in v3.20.0
func GetEngineNamespacesOutput(ctx *pulumi.Context, args GetEngineNamespacesOutputArgs, opts ...pulumi.InvokeOption) GetEngineNamespacesResultOutput
func (GetEngineNamespacesResultOutput) AcceptLanguage ¶ added in v3.20.0
func (o GetEngineNamespacesResultOutput) AcceptLanguage() pulumi.StringPtrOutput
func (GetEngineNamespacesResultOutput) ClusterId ¶ added in v3.20.0
func (o GetEngineNamespacesResultOutput) ClusterId() pulumi.StringOutput
func (GetEngineNamespacesResultOutput) ElementType ¶ added in v3.20.0
func (GetEngineNamespacesResultOutput) ElementType() reflect.Type
func (GetEngineNamespacesResultOutput) Id ¶ added in v3.20.0
func (o GetEngineNamespacesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEngineNamespacesResultOutput) Ids ¶ added in v3.20.0
func (o GetEngineNamespacesResultOutput) Ids() pulumi.StringArrayOutput
func (GetEngineNamespacesResultOutput) Namespaces ¶ added in v3.20.0
func (o GetEngineNamespacesResultOutput) Namespaces() GetEngineNamespacesNamespaceArrayOutput
func (GetEngineNamespacesResultOutput) OutputFile ¶ added in v3.20.0
func (o GetEngineNamespacesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEngineNamespacesResultOutput) ToGetEngineNamespacesResultOutput ¶ added in v3.20.0
func (o GetEngineNamespacesResultOutput) ToGetEngineNamespacesResultOutput() GetEngineNamespacesResultOutput
func (GetEngineNamespacesResultOutput) ToGetEngineNamespacesResultOutputWithContext ¶ added in v3.20.0
func (o GetEngineNamespacesResultOutput) ToGetEngineNamespacesResultOutputWithContext(ctx context.Context) GetEngineNamespacesResultOutput
type GetGatewaysArgs ¶ added in v3.19.0
type GetGatewaysArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // The name of the Gateway. GatewayName *string `pulumi:"gatewayName"` // A list of Gateway IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Gateway name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The status of the gateway. Valid values: `0`, `1`, `2`, `3`, `4`, `6`, `8`, `9`, `10`, `11`, `12`, `13`. Status *string `pulumi:"status"` // The ID of the VPC. VpcId *string `pulumi:"vpcId"` }
A collection of arguments for invoking getGateways.
type GetGatewaysGateway ¶ added in v3.19.0
type GetGatewaysGateway struct { // The backup vswitch id. BackupVswitchId string `pulumi:"backupVswitchId"` // The name of the Gateway. GatewayName string `pulumi:"gatewayName"` // Gateway unique identification. GatewayUniqueId string `pulumi:"gatewayUniqueId"` // The ID of the Gateway. Id string `pulumi:"id"` // The payment type of the resource. PaymentType string `pulumi:"paymentType"` // Number of Gateway Nodes. Replica string `pulumi:"replica"` // A list of gateway Slb. SlbLists []GetGatewaysGatewaySlbList `pulumi:"slbLists"` // Gateway Node Specifications. Spec string `pulumi:"spec"` // The status of the gateway. Status string `pulumi:"status"` // The ID of the vpc. VpcId string `pulumi:"vpcId"` // The ID of the vswitch. VswitchId string `pulumi:"vswitchId"` }
type GetGatewaysGatewayArgs ¶ added in v3.19.0
type GetGatewaysGatewayArgs struct { // The backup vswitch id. BackupVswitchId pulumi.StringInput `pulumi:"backupVswitchId"` // The name of the Gateway. GatewayName pulumi.StringInput `pulumi:"gatewayName"` // Gateway unique identification. GatewayUniqueId pulumi.StringInput `pulumi:"gatewayUniqueId"` // The ID of the Gateway. Id pulumi.StringInput `pulumi:"id"` // The payment type of the resource. PaymentType pulumi.StringInput `pulumi:"paymentType"` // Number of Gateway Nodes. Replica pulumi.StringInput `pulumi:"replica"` // A list of gateway Slb. SlbLists GetGatewaysGatewaySlbListArrayInput `pulumi:"slbLists"` // Gateway Node Specifications. Spec pulumi.StringInput `pulumi:"spec"` // The status of the gateway. Status pulumi.StringInput `pulumi:"status"` // The ID of the vpc. VpcId pulumi.StringInput `pulumi:"vpcId"` // The ID of the vswitch. VswitchId pulumi.StringInput `pulumi:"vswitchId"` }
func (GetGatewaysGatewayArgs) ElementType ¶ added in v3.19.0
func (GetGatewaysGatewayArgs) ElementType() reflect.Type
func (GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutput ¶ added in v3.19.0
func (i GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput
func (GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutputWithContext ¶ added in v3.19.0
func (i GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutputWithContext(ctx context.Context) GetGatewaysGatewayOutput
type GetGatewaysGatewayArray ¶ added in v3.19.0
type GetGatewaysGatewayArray []GetGatewaysGatewayInput
func (GetGatewaysGatewayArray) ElementType ¶ added in v3.19.0
func (GetGatewaysGatewayArray) ElementType() reflect.Type
func (GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutput ¶ added in v3.19.0
func (i GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput
func (GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutputWithContext ¶ added in v3.19.0
func (i GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetGatewaysGatewayArrayOutput
type GetGatewaysGatewayArrayInput ¶ added in v3.19.0
type GetGatewaysGatewayArrayInput interface { pulumi.Input ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput ToGetGatewaysGatewayArrayOutputWithContext(context.Context) GetGatewaysGatewayArrayOutput }
GetGatewaysGatewayArrayInput is an input type that accepts GetGatewaysGatewayArray and GetGatewaysGatewayArrayOutput values. You can construct a concrete instance of `GetGatewaysGatewayArrayInput` via:
GetGatewaysGatewayArray{ GetGatewaysGatewayArgs{...} }
type GetGatewaysGatewayArrayOutput ¶ added in v3.19.0
type GetGatewaysGatewayArrayOutput struct{ *pulumi.OutputState }
func (GetGatewaysGatewayArrayOutput) ElementType ¶ added in v3.19.0
func (GetGatewaysGatewayArrayOutput) ElementType() reflect.Type
func (GetGatewaysGatewayArrayOutput) Index ¶ added in v3.19.0
func (o GetGatewaysGatewayArrayOutput) Index(i pulumi.IntInput) GetGatewaysGatewayOutput
func (GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutput ¶ added in v3.19.0
func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput
func (GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutputWithContext ¶ added in v3.19.0
func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetGatewaysGatewayArrayOutput
type GetGatewaysGatewayInput ¶ added in v3.19.0
type GetGatewaysGatewayInput interface { pulumi.Input ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput ToGetGatewaysGatewayOutputWithContext(context.Context) GetGatewaysGatewayOutput }
GetGatewaysGatewayInput is an input type that accepts GetGatewaysGatewayArgs and GetGatewaysGatewayOutput values. You can construct a concrete instance of `GetGatewaysGatewayInput` via:
GetGatewaysGatewayArgs{...}
type GetGatewaysGatewayOutput ¶ added in v3.19.0
type GetGatewaysGatewayOutput struct{ *pulumi.OutputState }
func (GetGatewaysGatewayOutput) BackupVswitchId ¶ added in v3.19.0
func (o GetGatewaysGatewayOutput) BackupVswitchId() pulumi.StringOutput
The backup vswitch id.
func (GetGatewaysGatewayOutput) ElementType ¶ added in v3.19.0
func (GetGatewaysGatewayOutput) ElementType() reflect.Type
func (GetGatewaysGatewayOutput) GatewayName ¶ added in v3.19.0
func (o GetGatewaysGatewayOutput) GatewayName() pulumi.StringOutput
The name of the Gateway.
func (GetGatewaysGatewayOutput) GatewayUniqueId ¶ added in v3.19.0
func (o GetGatewaysGatewayOutput) GatewayUniqueId() pulumi.StringOutput
Gateway unique identification.
func (GetGatewaysGatewayOutput) Id ¶ added in v3.19.0
func (o GetGatewaysGatewayOutput) Id() pulumi.StringOutput
The ID of the Gateway.
func (GetGatewaysGatewayOutput) PaymentType ¶ added in v3.19.0
func (o GetGatewaysGatewayOutput) PaymentType() pulumi.StringOutput
The payment type of the resource.
func (GetGatewaysGatewayOutput) Replica ¶ added in v3.19.0
func (o GetGatewaysGatewayOutput) Replica() pulumi.StringOutput
Number of Gateway Nodes.
func (GetGatewaysGatewayOutput) SlbLists ¶ added in v3.19.0
func (o GetGatewaysGatewayOutput) SlbLists() GetGatewaysGatewaySlbListArrayOutput
A list of gateway Slb.
func (GetGatewaysGatewayOutput) Spec ¶ added in v3.19.0
func (o GetGatewaysGatewayOutput) Spec() pulumi.StringOutput
Gateway Node Specifications.
func (GetGatewaysGatewayOutput) Status ¶ added in v3.19.0
func (o GetGatewaysGatewayOutput) Status() pulumi.StringOutput
The status of the gateway.
func (GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutput ¶ added in v3.19.0
func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput
func (GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutputWithContext ¶ added in v3.19.0
func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutputWithContext(ctx context.Context) GetGatewaysGatewayOutput
func (GetGatewaysGatewayOutput) VpcId ¶ added in v3.19.0
func (o GetGatewaysGatewayOutput) VpcId() pulumi.StringOutput
The ID of the vpc.
func (GetGatewaysGatewayOutput) VswitchId ¶ added in v3.19.0
func (o GetGatewaysGatewayOutput) VswitchId() pulumi.StringOutput
The ID of the vswitch.
type GetGatewaysGatewaySlbList ¶ added in v3.19.0
type GetGatewaysGatewaySlbList struct { // The associate id. AssociateId string `pulumi:"associateId"` // The Mode of the gateway slb. GatewaySlbMode string `pulumi:"gatewaySlbMode"` // The Status of the gateway slb. GatewaySlbStatus string `pulumi:"gatewaySlbStatus"` // The creation time of the gateway slb. GmtCreate string `pulumi:"gmtCreate"` // The ID of the gateway slb. SlbId string `pulumi:"slbId"` // The ip of the gateway slb. SlbIp string `pulumi:"slbIp"` // The port of the gateway slb. SlbPort string `pulumi:"slbPort"` // The type of the gateway slb. Type string `pulumi:"type"` }
type GetGatewaysGatewaySlbListArgs ¶ added in v3.19.0
type GetGatewaysGatewaySlbListArgs struct { // The associate id. AssociateId pulumi.StringInput `pulumi:"associateId"` // The Mode of the gateway slb. GatewaySlbMode pulumi.StringInput `pulumi:"gatewaySlbMode"` // The Status of the gateway slb. GatewaySlbStatus pulumi.StringInput `pulumi:"gatewaySlbStatus"` // The creation time of the gateway slb. GmtCreate pulumi.StringInput `pulumi:"gmtCreate"` // The ID of the gateway slb. SlbId pulumi.StringInput `pulumi:"slbId"` // The ip of the gateway slb. SlbIp pulumi.StringInput `pulumi:"slbIp"` // The port of the gateway slb. SlbPort pulumi.StringInput `pulumi:"slbPort"` // The type of the gateway slb. Type pulumi.StringInput `pulumi:"type"` }
func (GetGatewaysGatewaySlbListArgs) ElementType ¶ added in v3.19.0
func (GetGatewaysGatewaySlbListArgs) ElementType() reflect.Type
func (GetGatewaysGatewaySlbListArgs) ToGetGatewaysGatewaySlbListOutput ¶ added in v3.19.0
func (i GetGatewaysGatewaySlbListArgs) ToGetGatewaysGatewaySlbListOutput() GetGatewaysGatewaySlbListOutput
func (GetGatewaysGatewaySlbListArgs) ToGetGatewaysGatewaySlbListOutputWithContext ¶ added in v3.19.0
func (i GetGatewaysGatewaySlbListArgs) ToGetGatewaysGatewaySlbListOutputWithContext(ctx context.Context) GetGatewaysGatewaySlbListOutput
type GetGatewaysGatewaySlbListArray ¶ added in v3.19.0
type GetGatewaysGatewaySlbListArray []GetGatewaysGatewaySlbListInput
func (GetGatewaysGatewaySlbListArray) ElementType ¶ added in v3.19.0
func (GetGatewaysGatewaySlbListArray) ElementType() reflect.Type
func (GetGatewaysGatewaySlbListArray) ToGetGatewaysGatewaySlbListArrayOutput ¶ added in v3.19.0
func (i GetGatewaysGatewaySlbListArray) ToGetGatewaysGatewaySlbListArrayOutput() GetGatewaysGatewaySlbListArrayOutput
func (GetGatewaysGatewaySlbListArray) ToGetGatewaysGatewaySlbListArrayOutputWithContext ¶ added in v3.19.0
func (i GetGatewaysGatewaySlbListArray) ToGetGatewaysGatewaySlbListArrayOutputWithContext(ctx context.Context) GetGatewaysGatewaySlbListArrayOutput
type GetGatewaysGatewaySlbListArrayInput ¶ added in v3.19.0
type GetGatewaysGatewaySlbListArrayInput interface { pulumi.Input ToGetGatewaysGatewaySlbListArrayOutput() GetGatewaysGatewaySlbListArrayOutput ToGetGatewaysGatewaySlbListArrayOutputWithContext(context.Context) GetGatewaysGatewaySlbListArrayOutput }
GetGatewaysGatewaySlbListArrayInput is an input type that accepts GetGatewaysGatewaySlbListArray and GetGatewaysGatewaySlbListArrayOutput values. You can construct a concrete instance of `GetGatewaysGatewaySlbListArrayInput` via:
GetGatewaysGatewaySlbListArray{ GetGatewaysGatewaySlbListArgs{...} }
type GetGatewaysGatewaySlbListArrayOutput ¶ added in v3.19.0
type GetGatewaysGatewaySlbListArrayOutput struct{ *pulumi.OutputState }
func (GetGatewaysGatewaySlbListArrayOutput) ElementType ¶ added in v3.19.0
func (GetGatewaysGatewaySlbListArrayOutput) ElementType() reflect.Type
func (GetGatewaysGatewaySlbListArrayOutput) Index ¶ added in v3.19.0
func (o GetGatewaysGatewaySlbListArrayOutput) Index(i pulumi.IntInput) GetGatewaysGatewaySlbListOutput
func (GetGatewaysGatewaySlbListArrayOutput) ToGetGatewaysGatewaySlbListArrayOutput ¶ added in v3.19.0
func (o GetGatewaysGatewaySlbListArrayOutput) ToGetGatewaysGatewaySlbListArrayOutput() GetGatewaysGatewaySlbListArrayOutput
func (GetGatewaysGatewaySlbListArrayOutput) ToGetGatewaysGatewaySlbListArrayOutputWithContext ¶ added in v3.19.0
func (o GetGatewaysGatewaySlbListArrayOutput) ToGetGatewaysGatewaySlbListArrayOutputWithContext(ctx context.Context) GetGatewaysGatewaySlbListArrayOutput
type GetGatewaysGatewaySlbListInput ¶ added in v3.19.0
type GetGatewaysGatewaySlbListInput interface { pulumi.Input ToGetGatewaysGatewaySlbListOutput() GetGatewaysGatewaySlbListOutput ToGetGatewaysGatewaySlbListOutputWithContext(context.Context) GetGatewaysGatewaySlbListOutput }
GetGatewaysGatewaySlbListInput is an input type that accepts GetGatewaysGatewaySlbListArgs and GetGatewaysGatewaySlbListOutput values. You can construct a concrete instance of `GetGatewaysGatewaySlbListInput` via:
GetGatewaysGatewaySlbListArgs{...}
type GetGatewaysGatewaySlbListOutput ¶ added in v3.19.0
type GetGatewaysGatewaySlbListOutput struct{ *pulumi.OutputState }
func (GetGatewaysGatewaySlbListOutput) AssociateId ¶ added in v3.19.0
func (o GetGatewaysGatewaySlbListOutput) AssociateId() pulumi.StringOutput
The associate id.
func (GetGatewaysGatewaySlbListOutput) ElementType ¶ added in v3.19.0
func (GetGatewaysGatewaySlbListOutput) ElementType() reflect.Type
func (GetGatewaysGatewaySlbListOutput) GatewaySlbMode ¶ added in v3.19.0
func (o GetGatewaysGatewaySlbListOutput) GatewaySlbMode() pulumi.StringOutput
The Mode of the gateway slb.
func (GetGatewaysGatewaySlbListOutput) GatewaySlbStatus ¶ added in v3.19.0
func (o GetGatewaysGatewaySlbListOutput) GatewaySlbStatus() pulumi.StringOutput
The Status of the gateway slb.
func (GetGatewaysGatewaySlbListOutput) GmtCreate ¶ added in v3.19.0
func (o GetGatewaysGatewaySlbListOutput) GmtCreate() pulumi.StringOutput
The creation time of the gateway slb.
func (GetGatewaysGatewaySlbListOutput) SlbId ¶ added in v3.19.0
func (o GetGatewaysGatewaySlbListOutput) SlbId() pulumi.StringOutput
The ID of the gateway slb.
func (GetGatewaysGatewaySlbListOutput) SlbIp ¶ added in v3.19.0
func (o GetGatewaysGatewaySlbListOutput) SlbIp() pulumi.StringOutput
The ip of the gateway slb.
func (GetGatewaysGatewaySlbListOutput) SlbPort ¶ added in v3.19.0
func (o GetGatewaysGatewaySlbListOutput) SlbPort() pulumi.StringOutput
The port of the gateway slb.
func (GetGatewaysGatewaySlbListOutput) ToGetGatewaysGatewaySlbListOutput ¶ added in v3.19.0
func (o GetGatewaysGatewaySlbListOutput) ToGetGatewaysGatewaySlbListOutput() GetGatewaysGatewaySlbListOutput
func (GetGatewaysGatewaySlbListOutput) ToGetGatewaysGatewaySlbListOutputWithContext ¶ added in v3.19.0
func (o GetGatewaysGatewaySlbListOutput) ToGetGatewaysGatewaySlbListOutputWithContext(ctx context.Context) GetGatewaysGatewaySlbListOutput
func (GetGatewaysGatewaySlbListOutput) Type ¶ added in v3.19.0
func (o GetGatewaysGatewaySlbListOutput) Type() pulumi.StringOutput
The type of the gateway slb.
type GetGatewaysOutputArgs ¶ added in v3.19.0
type GetGatewaysOutputArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // The name of the Gateway. GatewayName pulumi.StringPtrInput `pulumi:"gatewayName"` // A list of Gateway IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Gateway name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the gateway. Valid values: `0`, `1`, `2`, `3`, `4`, `6`, `8`, `9`, `10`, `11`, `12`, `13`. Status pulumi.StringPtrInput `pulumi:"status"` // The ID of the VPC. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
A collection of arguments for invoking getGateways.
func (GetGatewaysOutputArgs) ElementType ¶ added in v3.19.0
func (GetGatewaysOutputArgs) ElementType() reflect.Type
type GetGatewaysResult ¶ added in v3.19.0
type GetGatewaysResult struct { EnableDetails *bool `pulumi:"enableDetails"` GatewayName *string `pulumi:"gatewayName"` Gateways []GetGatewaysGateway `pulumi:"gateways"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Status *string `pulumi:"status"` VpcId *string `pulumi:"vpcId"` }
A collection of values returned by getGateways.
func GetGateways ¶ added in v3.19.0
func GetGateways(ctx *pulumi.Context, args *GetGatewaysArgs, opts ...pulumi.InvokeOption) (*GetGatewaysResult, error)
This data source provides the Mse Gateways of the current Alibaba Cloud user.
> **NOTE:** Available in v1.157.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/mse" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := mse.GetGateways(ctx, &mse.GetGatewaysArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("mseGatewayId1", ids.Gateways[0].Id) nameRegex, err := mse.GetGateways(ctx, &mse.GetGatewaysArgs{ NameRegex: pulumi.StringRef("^my-Gateway"), }, nil) if err != nil { return err } ctx.Export("mseGatewayId2", nameRegex.Gateways[0].Id) status, err := mse.GetGateways(ctx, &mse.GetGatewaysArgs{ Status: pulumi.StringRef("2"), }, nil) if err != nil { return err } ctx.Export("mseGatewayId3", status.Gateways[0].Id) return nil }) }
```
type GetGatewaysResultOutput ¶ added in v3.19.0
type GetGatewaysResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGateways.
func GetGatewaysOutput ¶ added in v3.19.0
func GetGatewaysOutput(ctx *pulumi.Context, args GetGatewaysOutputArgs, opts ...pulumi.InvokeOption) GetGatewaysResultOutput
func (GetGatewaysResultOutput) ElementType ¶ added in v3.19.0
func (GetGatewaysResultOutput) ElementType() reflect.Type
func (GetGatewaysResultOutput) EnableDetails ¶ added in v3.19.0
func (o GetGatewaysResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetGatewaysResultOutput) GatewayName ¶ added in v3.19.0
func (o GetGatewaysResultOutput) GatewayName() pulumi.StringPtrOutput
func (GetGatewaysResultOutput) Gateways ¶ added in v3.19.0
func (o GetGatewaysResultOutput) Gateways() GetGatewaysGatewayArrayOutput
func (GetGatewaysResultOutput) Id ¶ added in v3.19.0
func (o GetGatewaysResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGatewaysResultOutput) Ids ¶ added in v3.19.0
func (o GetGatewaysResultOutput) Ids() pulumi.StringArrayOutput
func (GetGatewaysResultOutput) NameRegex ¶ added in v3.19.0
func (o GetGatewaysResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetGatewaysResultOutput) Names ¶ added in v3.19.0
func (o GetGatewaysResultOutput) Names() pulumi.StringArrayOutput
func (GetGatewaysResultOutput) OutputFile ¶ added in v3.19.0
func (o GetGatewaysResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetGatewaysResultOutput) Status ¶ added in v3.19.0
func (o GetGatewaysResultOutput) Status() pulumi.StringPtrOutput
func (GetGatewaysResultOutput) ToGetGatewaysResultOutput ¶ added in v3.19.0
func (o GetGatewaysResultOutput) ToGetGatewaysResultOutput() GetGatewaysResultOutput
func (GetGatewaysResultOutput) ToGetGatewaysResultOutputWithContext ¶ added in v3.19.0
func (o GetGatewaysResultOutput) ToGetGatewaysResultOutputWithContext(ctx context.Context) GetGatewaysResultOutput
func (GetGatewaysResultOutput) VpcId ¶ added in v3.19.0
func (o GetGatewaysResultOutput) VpcId() pulumi.StringPtrOutput
type GetZnodesArgs ¶ added in v3.20.0
type GetZnodesArgs struct { // The language type of the returned information. Valid values: `zh` or `en`. AcceptLanguage *string `pulumi:"acceptLanguage"` // The ID of the Cluster. ClusterId string `pulumi:"clusterId"` // A list of Znode IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Znode name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The Node path. Path string `pulumi:"path"` }
A collection of arguments for invoking getZnodes.
type GetZnodesOutputArgs ¶ added in v3.20.0
type GetZnodesOutputArgs struct { // The language type of the returned information. Valid values: `zh` or `en`. AcceptLanguage pulumi.StringPtrInput `pulumi:"acceptLanguage"` // The ID of the Cluster. ClusterId pulumi.StringInput `pulumi:"clusterId"` // A list of Znode IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Znode name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The Node path. Path pulumi.StringInput `pulumi:"path"` }
A collection of arguments for invoking getZnodes.
func (GetZnodesOutputArgs) ElementType ¶ added in v3.20.0
func (GetZnodesOutputArgs) ElementType() reflect.Type
type GetZnodesResult ¶ added in v3.20.0
type GetZnodesResult struct { AcceptLanguage *string `pulumi:"acceptLanguage"` ClusterId string `pulumi:"clusterId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Path string `pulumi:"path"` Znodes []GetZnodesZnode `pulumi:"znodes"` }
A collection of values returned by getZnodes.
func GetZnodes ¶ added in v3.20.0
func GetZnodes(ctx *pulumi.Context, args *GetZnodesArgs, opts ...pulumi.InvokeOption) (*GetZnodesResult, error)
This data source provides the Mse Znodes of the current Alibaba Cloud user.
> **NOTE:** Available in v1.162.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/mse" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := mse.GetZnodes(ctx, &mse.GetZnodesArgs{ ClusterId: "example_value", Path: "/", Ids: []string{ "example_value-1", "example_value-2", }, }, nil) if err != nil { return err } ctx.Export("mseZnodeId1", ids.Znodes[0].Id) nameRegex, err := mse.GetZnodes(ctx, &mse.GetZnodesArgs{ Path: "/", ClusterId: "example_value", NameRegex: pulumi.StringRef("^my-Znode"), }, nil) if err != nil { return err } ctx.Export("mseZnodeId2", nameRegex.Znodes[0].Id) return nil }) }
```
type GetZnodesResultOutput ¶ added in v3.20.0
type GetZnodesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getZnodes.
func GetZnodesOutput ¶ added in v3.20.0
func GetZnodesOutput(ctx *pulumi.Context, args GetZnodesOutputArgs, opts ...pulumi.InvokeOption) GetZnodesResultOutput
func (GetZnodesResultOutput) AcceptLanguage ¶ added in v3.20.0
func (o GetZnodesResultOutput) AcceptLanguage() pulumi.StringPtrOutput
func (GetZnodesResultOutput) ClusterId ¶ added in v3.20.0
func (o GetZnodesResultOutput) ClusterId() pulumi.StringOutput
func (GetZnodesResultOutput) ElementType ¶ added in v3.20.0
func (GetZnodesResultOutput) ElementType() reflect.Type
func (GetZnodesResultOutput) Id ¶ added in v3.20.0
func (o GetZnodesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetZnodesResultOutput) Ids ¶ added in v3.20.0
func (o GetZnodesResultOutput) Ids() pulumi.StringArrayOutput
func (GetZnodesResultOutput) NameRegex ¶ added in v3.20.0
func (o GetZnodesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetZnodesResultOutput) Names ¶ added in v3.20.0
func (o GetZnodesResultOutput) Names() pulumi.StringArrayOutput
func (GetZnodesResultOutput) OutputFile ¶ added in v3.20.0
func (o GetZnodesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetZnodesResultOutput) Path ¶ added in v3.20.0
func (o GetZnodesResultOutput) Path() pulumi.StringOutput
func (GetZnodesResultOutput) ToGetZnodesResultOutput ¶ added in v3.20.0
func (o GetZnodesResultOutput) ToGetZnodesResultOutput() GetZnodesResultOutput
func (GetZnodesResultOutput) ToGetZnodesResultOutputWithContext ¶ added in v3.20.0
func (o GetZnodesResultOutput) ToGetZnodesResultOutputWithContext(ctx context.Context) GetZnodesResultOutput
func (GetZnodesResultOutput) Znodes ¶ added in v3.20.0
func (o GetZnodesResultOutput) Znodes() GetZnodesZnodeArrayOutput
type GetZnodesZnode ¶ added in v3.20.0
type GetZnodesZnode struct { // The ID of the Cluster. ClusterId string `pulumi:"clusterId"` // The Node data. Data string `pulumi:"data"` // Node list information, the value is as follows: Dir bool `pulumi:"dir"` // The ID of the Znode. The value formats as `<cluster_id>:<path>`. Id string `pulumi:"id"` // The Node path. Path string `pulumi:"path"` // The Node name. ZnodeName string `pulumi:"znodeName"` }
type GetZnodesZnodeArgs ¶ added in v3.20.0
type GetZnodesZnodeArgs struct { // The ID of the Cluster. ClusterId pulumi.StringInput `pulumi:"clusterId"` // The Node data. Data pulumi.StringInput `pulumi:"data"` // Node list information, the value is as follows: Dir pulumi.BoolInput `pulumi:"dir"` // The ID of the Znode. The value formats as `<cluster_id>:<path>`. Id pulumi.StringInput `pulumi:"id"` // The Node path. Path pulumi.StringInput `pulumi:"path"` // The Node name. ZnodeName pulumi.StringInput `pulumi:"znodeName"` }
func (GetZnodesZnodeArgs) ElementType ¶ added in v3.20.0
func (GetZnodesZnodeArgs) ElementType() reflect.Type
func (GetZnodesZnodeArgs) ToGetZnodesZnodeOutput ¶ added in v3.20.0
func (i GetZnodesZnodeArgs) ToGetZnodesZnodeOutput() GetZnodesZnodeOutput
func (GetZnodesZnodeArgs) ToGetZnodesZnodeOutputWithContext ¶ added in v3.20.0
func (i GetZnodesZnodeArgs) ToGetZnodesZnodeOutputWithContext(ctx context.Context) GetZnodesZnodeOutput
type GetZnodesZnodeArray ¶ added in v3.20.0
type GetZnodesZnodeArray []GetZnodesZnodeInput
func (GetZnodesZnodeArray) ElementType ¶ added in v3.20.0
func (GetZnodesZnodeArray) ElementType() reflect.Type
func (GetZnodesZnodeArray) ToGetZnodesZnodeArrayOutput ¶ added in v3.20.0
func (i GetZnodesZnodeArray) ToGetZnodesZnodeArrayOutput() GetZnodesZnodeArrayOutput
func (GetZnodesZnodeArray) ToGetZnodesZnodeArrayOutputWithContext ¶ added in v3.20.0
func (i GetZnodesZnodeArray) ToGetZnodesZnodeArrayOutputWithContext(ctx context.Context) GetZnodesZnodeArrayOutput
type GetZnodesZnodeArrayInput ¶ added in v3.20.0
type GetZnodesZnodeArrayInput interface { pulumi.Input ToGetZnodesZnodeArrayOutput() GetZnodesZnodeArrayOutput ToGetZnodesZnodeArrayOutputWithContext(context.Context) GetZnodesZnodeArrayOutput }
GetZnodesZnodeArrayInput is an input type that accepts GetZnodesZnodeArray and GetZnodesZnodeArrayOutput values. You can construct a concrete instance of `GetZnodesZnodeArrayInput` via:
GetZnodesZnodeArray{ GetZnodesZnodeArgs{...} }
type GetZnodesZnodeArrayOutput ¶ added in v3.20.0
type GetZnodesZnodeArrayOutput struct{ *pulumi.OutputState }
func (GetZnodesZnodeArrayOutput) ElementType ¶ added in v3.20.0
func (GetZnodesZnodeArrayOutput) ElementType() reflect.Type
func (GetZnodesZnodeArrayOutput) Index ¶ added in v3.20.0
func (o GetZnodesZnodeArrayOutput) Index(i pulumi.IntInput) GetZnodesZnodeOutput
func (GetZnodesZnodeArrayOutput) ToGetZnodesZnodeArrayOutput ¶ added in v3.20.0
func (o GetZnodesZnodeArrayOutput) ToGetZnodesZnodeArrayOutput() GetZnodesZnodeArrayOutput
func (GetZnodesZnodeArrayOutput) ToGetZnodesZnodeArrayOutputWithContext ¶ added in v3.20.0
func (o GetZnodesZnodeArrayOutput) ToGetZnodesZnodeArrayOutputWithContext(ctx context.Context) GetZnodesZnodeArrayOutput
type GetZnodesZnodeInput ¶ added in v3.20.0
type GetZnodesZnodeInput interface { pulumi.Input ToGetZnodesZnodeOutput() GetZnodesZnodeOutput ToGetZnodesZnodeOutputWithContext(context.Context) GetZnodesZnodeOutput }
GetZnodesZnodeInput is an input type that accepts GetZnodesZnodeArgs and GetZnodesZnodeOutput values. You can construct a concrete instance of `GetZnodesZnodeInput` via:
GetZnodesZnodeArgs{...}
type GetZnodesZnodeOutput ¶ added in v3.20.0
type GetZnodesZnodeOutput struct{ *pulumi.OutputState }
func (GetZnodesZnodeOutput) ClusterId ¶ added in v3.20.0
func (o GetZnodesZnodeOutput) ClusterId() pulumi.StringOutput
The ID of the Cluster.
func (GetZnodesZnodeOutput) Data ¶ added in v3.20.0
func (o GetZnodesZnodeOutput) Data() pulumi.StringOutput
The Node data.
func (GetZnodesZnodeOutput) Dir ¶ added in v3.20.0
func (o GetZnodesZnodeOutput) Dir() pulumi.BoolOutput
Node list information, the value is as follows:
func (GetZnodesZnodeOutput) ElementType ¶ added in v3.20.0
func (GetZnodesZnodeOutput) ElementType() reflect.Type
func (GetZnodesZnodeOutput) Id ¶ added in v3.20.0
func (o GetZnodesZnodeOutput) Id() pulumi.StringOutput
The ID of the Znode. The value formats as `<cluster_id>:<path>`.
func (GetZnodesZnodeOutput) Path ¶ added in v3.20.0
func (o GetZnodesZnodeOutput) Path() pulumi.StringOutput
The Node path.
func (GetZnodesZnodeOutput) ToGetZnodesZnodeOutput ¶ added in v3.20.0
func (o GetZnodesZnodeOutput) ToGetZnodesZnodeOutput() GetZnodesZnodeOutput
func (GetZnodesZnodeOutput) ToGetZnodesZnodeOutputWithContext ¶ added in v3.20.0
func (o GetZnodesZnodeOutput) ToGetZnodesZnodeOutputWithContext(ctx context.Context) GetZnodesZnodeOutput
func (GetZnodesZnodeOutput) ZnodeName ¶ added in v3.20.0
func (o GetZnodesZnodeOutput) ZnodeName() pulumi.StringOutput
The Node name.
type Znode ¶ added in v3.20.0
type Znode struct { pulumi.CustomResourceState // The language type of the returned information. Valid values: `zh` or `en`. AcceptLanguage pulumi.StringPtrOutput `pulumi:"acceptLanguage"` // The ID of the Cluster. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // The Node data. Data pulumi.StringPtrOutput `pulumi:"data"` // The Node path. The value must start with a forward slash (/). Path pulumi.StringOutput `pulumi:"path"` }
Provides a Microservice Engine (MSE) Znode resource.
For information about Microservice Engine (MSE) Znode and how to use it, see [What is Znode](https://help.aliyun.com/document_detail/393622.html).
> **NOTE:** Available in v1.162.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/mse" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } exampleNetwork, err := vpc.NewNetwork(ctx, "example", &vpc.NetworkArgs{ VpcName: pulumi.String("terraform-example"), CidrBlock: pulumi.String("172.17.3.0/24"), }) if err != nil { return err } exampleSwitch, err := vpc.NewSwitch(ctx, "example", &vpc.SwitchArgs{ VswitchName: pulumi.String("terraform-example"), CidrBlock: pulumi.String("172.17.3.0/24"), VpcId: exampleNetwork.ID(), ZoneId: pulumi.String(example.Zones[0].Id), }) if err != nil { return err } exampleCluster, err := mse.NewCluster(ctx, "example", &mse.ClusterArgs{ ClusterSpecification: pulumi.String("MSE_SC_1_2_60_c"), ClusterType: pulumi.String("ZooKeeper"), ClusterVersion: pulumi.String("ZooKeeper_3_8_0"), InstanceCount: pulumi.Int(1), NetType: pulumi.String("privatenet"), PubNetworkFlow: pulumi.String("1"), AclEntryLists: pulumi.StringArray{ pulumi.String("127.0.0.1/32"), }, ClusterAliasName: pulumi.String("terraform-example"), MseVersion: pulumi.String("mse_dev"), VswitchId: exampleSwitch.ID(), VpcId: exampleNetwork.ID(), }) if err != nil { return err } _, err = mse.NewZnode(ctx, "example", &mse.ZnodeArgs{ ClusterId: exampleCluster.ClusterId, Data: pulumi.String("terraform-example"), Path: pulumi.String("/example"), }) if err != nil { return err } return nil }) }
```
## Import
Microservice Engine (MSE) Znode can be imported using the id, e.g.
```sh $ pulumi import alicloud:mse/znode:Znode example <cluster_id>:<path> ```
func GetZnode ¶ added in v3.20.0
func GetZnode(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ZnodeState, opts ...pulumi.ResourceOption) (*Znode, error)
GetZnode gets an existing Znode 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 NewZnode ¶ added in v3.20.0
func NewZnode(ctx *pulumi.Context, name string, args *ZnodeArgs, opts ...pulumi.ResourceOption) (*Znode, error)
NewZnode registers a new resource with the given unique name, arguments, and options.
func (*Znode) ElementType ¶ added in v3.20.0
func (*Znode) ToZnodeOutput ¶ added in v3.20.0
func (i *Znode) ToZnodeOutput() ZnodeOutput
func (*Znode) ToZnodeOutputWithContext ¶ added in v3.20.0
func (i *Znode) ToZnodeOutputWithContext(ctx context.Context) ZnodeOutput
type ZnodeArgs ¶ added in v3.20.0
type ZnodeArgs struct { // The language type of the returned information. Valid values: `zh` or `en`. AcceptLanguage pulumi.StringPtrInput // The ID of the Cluster. ClusterId pulumi.StringInput // The Node data. Data pulumi.StringPtrInput // The Node path. The value must start with a forward slash (/). Path pulumi.StringInput }
The set of arguments for constructing a Znode resource.
func (ZnodeArgs) ElementType ¶ added in v3.20.0
type ZnodeArray ¶ added in v3.20.0
type ZnodeArray []ZnodeInput
func (ZnodeArray) ElementType ¶ added in v3.20.0
func (ZnodeArray) ElementType() reflect.Type
func (ZnodeArray) ToZnodeArrayOutput ¶ added in v3.20.0
func (i ZnodeArray) ToZnodeArrayOutput() ZnodeArrayOutput
func (ZnodeArray) ToZnodeArrayOutputWithContext ¶ added in v3.20.0
func (i ZnodeArray) ToZnodeArrayOutputWithContext(ctx context.Context) ZnodeArrayOutput
type ZnodeArrayInput ¶ added in v3.20.0
type ZnodeArrayInput interface { pulumi.Input ToZnodeArrayOutput() ZnodeArrayOutput ToZnodeArrayOutputWithContext(context.Context) ZnodeArrayOutput }
ZnodeArrayInput is an input type that accepts ZnodeArray and ZnodeArrayOutput values. You can construct a concrete instance of `ZnodeArrayInput` via:
ZnodeArray{ ZnodeArgs{...} }
type ZnodeArrayOutput ¶ added in v3.20.0
type ZnodeArrayOutput struct{ *pulumi.OutputState }
func (ZnodeArrayOutput) ElementType ¶ added in v3.20.0
func (ZnodeArrayOutput) ElementType() reflect.Type
func (ZnodeArrayOutput) Index ¶ added in v3.20.0
func (o ZnodeArrayOutput) Index(i pulumi.IntInput) ZnodeOutput
func (ZnodeArrayOutput) ToZnodeArrayOutput ¶ added in v3.20.0
func (o ZnodeArrayOutput) ToZnodeArrayOutput() ZnodeArrayOutput
func (ZnodeArrayOutput) ToZnodeArrayOutputWithContext ¶ added in v3.20.0
func (o ZnodeArrayOutput) ToZnodeArrayOutputWithContext(ctx context.Context) ZnodeArrayOutput
type ZnodeInput ¶ added in v3.20.0
type ZnodeInput interface { pulumi.Input ToZnodeOutput() ZnodeOutput ToZnodeOutputWithContext(ctx context.Context) ZnodeOutput }
type ZnodeMap ¶ added in v3.20.0
type ZnodeMap map[string]ZnodeInput
func (ZnodeMap) ElementType ¶ added in v3.20.0
func (ZnodeMap) ToZnodeMapOutput ¶ added in v3.20.0
func (i ZnodeMap) ToZnodeMapOutput() ZnodeMapOutput
func (ZnodeMap) ToZnodeMapOutputWithContext ¶ added in v3.20.0
func (i ZnodeMap) ToZnodeMapOutputWithContext(ctx context.Context) ZnodeMapOutput
type ZnodeMapInput ¶ added in v3.20.0
type ZnodeMapInput interface { pulumi.Input ToZnodeMapOutput() ZnodeMapOutput ToZnodeMapOutputWithContext(context.Context) ZnodeMapOutput }
ZnodeMapInput is an input type that accepts ZnodeMap and ZnodeMapOutput values. You can construct a concrete instance of `ZnodeMapInput` via:
ZnodeMap{ "key": ZnodeArgs{...} }
type ZnodeMapOutput ¶ added in v3.20.0
type ZnodeMapOutput struct{ *pulumi.OutputState }
func (ZnodeMapOutput) ElementType ¶ added in v3.20.0
func (ZnodeMapOutput) ElementType() reflect.Type
func (ZnodeMapOutput) MapIndex ¶ added in v3.20.0
func (o ZnodeMapOutput) MapIndex(k pulumi.StringInput) ZnodeOutput
func (ZnodeMapOutput) ToZnodeMapOutput ¶ added in v3.20.0
func (o ZnodeMapOutput) ToZnodeMapOutput() ZnodeMapOutput
func (ZnodeMapOutput) ToZnodeMapOutputWithContext ¶ added in v3.20.0
func (o ZnodeMapOutput) ToZnodeMapOutputWithContext(ctx context.Context) ZnodeMapOutput
type ZnodeOutput ¶ added in v3.20.0
type ZnodeOutput struct{ *pulumi.OutputState }
func (ZnodeOutput) AcceptLanguage ¶ added in v3.27.0
func (o ZnodeOutput) AcceptLanguage() pulumi.StringPtrOutput
The language type of the returned information. Valid values: `zh` or `en`.
func (ZnodeOutput) ClusterId ¶ added in v3.27.0
func (o ZnodeOutput) ClusterId() pulumi.StringOutput
The ID of the Cluster.
func (ZnodeOutput) Data ¶ added in v3.27.0
func (o ZnodeOutput) Data() pulumi.StringPtrOutput
The Node data.
func (ZnodeOutput) ElementType ¶ added in v3.20.0
func (ZnodeOutput) ElementType() reflect.Type
func (ZnodeOutput) Path ¶ added in v3.27.0
func (o ZnodeOutput) Path() pulumi.StringOutput
The Node path. The value must start with a forward slash (/).
func (ZnodeOutput) ToZnodeOutput ¶ added in v3.20.0
func (o ZnodeOutput) ToZnodeOutput() ZnodeOutput
func (ZnodeOutput) ToZnodeOutputWithContext ¶ added in v3.20.0
func (o ZnodeOutput) ToZnodeOutputWithContext(ctx context.Context) ZnodeOutput
type ZnodeState ¶ added in v3.20.0
type ZnodeState struct { // The language type of the returned information. Valid values: `zh` or `en`. AcceptLanguage pulumi.StringPtrInput // The ID of the Cluster. ClusterId pulumi.StringPtrInput // The Node data. Data pulumi.StringPtrInput // The Node path. The value must start with a forward slash (/). Path pulumi.StringPtrInput }
func (ZnodeState) ElementType ¶ added in v3.20.0
func (ZnodeState) ElementType() reflect.Type