Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceBlockInfo
- type InstanceBlockInfoArgs
- func (InstanceBlockInfoArgs) ElementType() reflect.Type
- func (i InstanceBlockInfoArgs) ToInstanceBlockInfoOutput() InstanceBlockInfoOutput
- func (i InstanceBlockInfoArgs) ToInstanceBlockInfoOutputWithContext(ctx context.Context) InstanceBlockInfoOutput
- func (i InstanceBlockInfoArgs) ToInstanceBlockInfoPtrOutput() InstanceBlockInfoPtrOutput
- func (i InstanceBlockInfoArgs) ToInstanceBlockInfoPtrOutputWithContext(ctx context.Context) InstanceBlockInfoPtrOutput
- type InstanceBlockInfoInput
- type InstanceBlockInfoOutput
- func (o InstanceBlockInfoOutput) BlockSize() pulumi.IntPtrOutput
- func (InstanceBlockInfoOutput) ElementType() reflect.Type
- func (o InstanceBlockInfoOutput) GenerationInterval() pulumi.IntPtrOutput
- func (o InstanceBlockInfoOutput) ToInstanceBlockInfoOutput() InstanceBlockInfoOutput
- func (o InstanceBlockInfoOutput) ToInstanceBlockInfoOutputWithContext(ctx context.Context) InstanceBlockInfoOutput
- func (o InstanceBlockInfoOutput) ToInstanceBlockInfoPtrOutput() InstanceBlockInfoPtrOutput
- func (o InstanceBlockInfoOutput) ToInstanceBlockInfoPtrOutputWithContext(ctx context.Context) InstanceBlockInfoPtrOutput
- func (o InstanceBlockInfoOutput) TransactionQuantity() pulumi.IntPtrOutput
- type InstanceBlockInfoPtrInput
- type InstanceBlockInfoPtrOutput
- func (o InstanceBlockInfoPtrOutput) BlockSize() pulumi.IntPtrOutput
- func (o InstanceBlockInfoPtrOutput) Elem() InstanceBlockInfoOutput
- func (InstanceBlockInfoPtrOutput) ElementType() reflect.Type
- func (o InstanceBlockInfoPtrOutput) GenerationInterval() pulumi.IntPtrOutput
- func (o InstanceBlockInfoPtrOutput) ToInstanceBlockInfoPtrOutput() InstanceBlockInfoPtrOutput
- func (o InstanceBlockInfoPtrOutput) ToInstanceBlockInfoPtrOutputWithContext(ctx context.Context) InstanceBlockInfoPtrOutput
- func (o InstanceBlockInfoPtrOutput) TransactionQuantity() pulumi.IntPtrOutput
- type InstanceChannel
- type InstanceChannelArgs
- type InstanceChannelArray
- type InstanceChannelArrayInput
- type InstanceChannelArrayOutput
- func (InstanceChannelArrayOutput) ElementType() reflect.Type
- func (o InstanceChannelArrayOutput) Index(i pulumi.IntInput) InstanceChannelOutput
- func (o InstanceChannelArrayOutput) ToInstanceChannelArrayOutput() InstanceChannelArrayOutput
- func (o InstanceChannelArrayOutput) ToInstanceChannelArrayOutputWithContext(ctx context.Context) InstanceChannelArrayOutput
- type InstanceChannelInput
- type InstanceChannelOutput
- func (InstanceChannelOutput) ElementType() reflect.Type
- func (o InstanceChannelOutput) Name() pulumi.StringOutput
- func (o InstanceChannelOutput) OrgNames() pulumi.StringArrayOutput
- func (o InstanceChannelOutput) ToInstanceChannelOutput() InstanceChannelOutput
- func (o InstanceChannelOutput) ToInstanceChannelOutputWithContext(ctx context.Context) InstanceChannelOutput
- type InstanceCouchdb
- type InstanceCouchdbArgs
- func (InstanceCouchdbArgs) ElementType() reflect.Type
- func (i InstanceCouchdbArgs) ToInstanceCouchdbOutput() InstanceCouchdbOutput
- func (i InstanceCouchdbArgs) ToInstanceCouchdbOutputWithContext(ctx context.Context) InstanceCouchdbOutput
- func (i InstanceCouchdbArgs) ToInstanceCouchdbPtrOutput() InstanceCouchdbPtrOutput
- func (i InstanceCouchdbArgs) ToInstanceCouchdbPtrOutputWithContext(ctx context.Context) InstanceCouchdbPtrOutput
- type InstanceCouchdbInput
- type InstanceCouchdbOutput
- func (InstanceCouchdbOutput) ElementType() reflect.Type
- func (o InstanceCouchdbOutput) Password() pulumi.StringOutput
- func (o InstanceCouchdbOutput) ToInstanceCouchdbOutput() InstanceCouchdbOutput
- func (o InstanceCouchdbOutput) ToInstanceCouchdbOutputWithContext(ctx context.Context) InstanceCouchdbOutput
- func (o InstanceCouchdbOutput) ToInstanceCouchdbPtrOutput() InstanceCouchdbPtrOutput
- func (o InstanceCouchdbOutput) ToInstanceCouchdbPtrOutputWithContext(ctx context.Context) InstanceCouchdbPtrOutput
- func (o InstanceCouchdbOutput) UserName() pulumi.StringOutput
- type InstanceCouchdbPtrInput
- type InstanceCouchdbPtrOutput
- func (o InstanceCouchdbPtrOutput) Elem() InstanceCouchdbOutput
- func (InstanceCouchdbPtrOutput) ElementType() reflect.Type
- func (o InstanceCouchdbPtrOutput) Password() pulumi.StringPtrOutput
- func (o InstanceCouchdbPtrOutput) ToInstanceCouchdbPtrOutput() InstanceCouchdbPtrOutput
- func (o InstanceCouchdbPtrOutput) ToInstanceCouchdbPtrOutputWithContext(ctx context.Context) InstanceCouchdbPtrOutput
- func (o InstanceCouchdbPtrOutput) UserName() pulumi.StringPtrOutput
- type InstanceInput
- type InstanceKafka
- type InstanceKafkaArgs
- func (InstanceKafkaArgs) ElementType() reflect.Type
- func (i InstanceKafkaArgs) ToInstanceKafkaOutput() InstanceKafkaOutput
- func (i InstanceKafkaArgs) ToInstanceKafkaOutputWithContext(ctx context.Context) InstanceKafkaOutput
- func (i InstanceKafkaArgs) ToInstanceKafkaPtrOutput() InstanceKafkaPtrOutput
- func (i InstanceKafkaArgs) ToInstanceKafkaPtrOutputWithContext(ctx context.Context) InstanceKafkaPtrOutput
- type InstanceKafkaInput
- type InstanceKafkaOutput
- func (o InstanceKafkaOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (InstanceKafkaOutput) ElementType() reflect.Type
- func (o InstanceKafkaOutput) Flavor() pulumi.StringOutput
- func (o InstanceKafkaOutput) Name() pulumi.StringPtrOutput
- func (o InstanceKafkaOutput) StorageSize() pulumi.IntOutput
- func (o InstanceKafkaOutput) ToInstanceKafkaOutput() InstanceKafkaOutput
- func (o InstanceKafkaOutput) ToInstanceKafkaOutputWithContext(ctx context.Context) InstanceKafkaOutput
- func (o InstanceKafkaOutput) ToInstanceKafkaPtrOutput() InstanceKafkaPtrOutput
- func (o InstanceKafkaOutput) ToInstanceKafkaPtrOutputWithContext(ctx context.Context) InstanceKafkaPtrOutput
- type InstanceKafkaPtrInput
- type InstanceKafkaPtrOutput
- func (o InstanceKafkaPtrOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (o InstanceKafkaPtrOutput) Elem() InstanceKafkaOutput
- func (InstanceKafkaPtrOutput) ElementType() reflect.Type
- func (o InstanceKafkaPtrOutput) Flavor() pulumi.StringPtrOutput
- func (o InstanceKafkaPtrOutput) Name() pulumi.StringPtrOutput
- func (o InstanceKafkaPtrOutput) StorageSize() pulumi.IntPtrOutput
- func (o InstanceKafkaPtrOutput) ToInstanceKafkaPtrOutput() InstanceKafkaPtrOutput
- func (o InstanceKafkaPtrOutput) ToInstanceKafkaPtrOutputWithContext(ctx context.Context) InstanceKafkaPtrOutput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) AgentPortalAddresses() pulumi.StringArrayOutput
- func (o InstanceOutput) BlockInfo() InstanceBlockInfoPtrOutput
- func (o InstanceOutput) BlockchainType() pulumi.StringOutput
- func (o InstanceOutput) CceClusterId() pulumi.StringOutput
- func (o InstanceOutput) Channels() InstanceChannelArrayOutput
- func (o InstanceOutput) ClusterType() pulumi.StringOutput
- func (o InstanceOutput) Consensus() pulumi.StringOutput
- func (o InstanceOutput) Couchdb() InstanceCouchdbPtrOutput
- func (o InstanceOutput) CrossRegionSupport() pulumi.BoolOutput
- func (o InstanceOutput) DatabaseType() pulumi.StringOutput
- func (o InstanceOutput) DeleteObs() pulumi.BoolPtrOutput
- func (o InstanceOutput) DeleteStorage() pulumi.BoolPtrOutput
- func (o InstanceOutput) Edition() pulumi.IntOutput
- func (o InstanceOutput) EipEnable() pulumi.BoolPtrOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) EnterpriseProjectId() pulumi.StringOutput
- func (o InstanceOutput) FabricVersion() pulumi.StringOutput
- func (o InstanceOutput) Kafka() InstanceKafkaPtrOutput
- func (o InstanceOutput) Name() pulumi.StringOutput
- func (o InstanceOutput) OldServiceVersion() pulumi.StringOutput
- func (o InstanceOutput) OrdererNodeNum() pulumi.IntOutput
- func (o InstanceOutput) OrgDiskSize() pulumi.IntOutput
- func (o InstanceOutput) Password() pulumi.StringOutput
- func (o InstanceOutput) PeerOrgs() InstancePeerOrgArrayOutput
- func (o InstanceOutput) PurchaseType() pulumi.StringOutput
- func (o InstanceOutput) Region() pulumi.StringOutput
- func (o InstanceOutput) RestfulApiSupport() pulumi.BoolOutput
- func (o InstanceOutput) RollbackSupport() pulumi.BoolOutput
- func (o InstanceOutput) SecurityMechanism() pulumi.StringOutput
- func (o InstanceOutput) SfsTurbo() InstanceSfsTurboPtrOutput
- func (o InstanceOutput) Status() pulumi.StringOutput
- func (o InstanceOutput) Tc3Need() pulumi.BoolOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) Version() pulumi.StringOutput
- func (o InstanceOutput) VolumeType() pulumi.StringOutput
- type InstancePeerOrg
- type InstancePeerOrgAddress
- type InstancePeerOrgAddressArgs
- type InstancePeerOrgAddressArray
- func (InstancePeerOrgAddressArray) ElementType() reflect.Type
- func (i InstancePeerOrgAddressArray) ToInstancePeerOrgAddressArrayOutput() InstancePeerOrgAddressArrayOutput
- func (i InstancePeerOrgAddressArray) ToInstancePeerOrgAddressArrayOutputWithContext(ctx context.Context) InstancePeerOrgAddressArrayOutput
- type InstancePeerOrgAddressArrayInput
- type InstancePeerOrgAddressArrayOutput
- func (InstancePeerOrgAddressArrayOutput) ElementType() reflect.Type
- func (o InstancePeerOrgAddressArrayOutput) Index(i pulumi.IntInput) InstancePeerOrgAddressOutput
- func (o InstancePeerOrgAddressArrayOutput) ToInstancePeerOrgAddressArrayOutput() InstancePeerOrgAddressArrayOutput
- func (o InstancePeerOrgAddressArrayOutput) ToInstancePeerOrgAddressArrayOutputWithContext(ctx context.Context) InstancePeerOrgAddressArrayOutput
- type InstancePeerOrgAddressInput
- type InstancePeerOrgAddressOutput
- func (o InstancePeerOrgAddressOutput) DomainPort() pulumi.StringPtrOutput
- func (InstancePeerOrgAddressOutput) ElementType() reflect.Type
- func (o InstancePeerOrgAddressOutput) IpPort() pulumi.StringPtrOutput
- func (o InstancePeerOrgAddressOutput) ToInstancePeerOrgAddressOutput() InstancePeerOrgAddressOutput
- func (o InstancePeerOrgAddressOutput) ToInstancePeerOrgAddressOutputWithContext(ctx context.Context) InstancePeerOrgAddressOutput
- type InstancePeerOrgArgs
- type InstancePeerOrgArray
- type InstancePeerOrgArrayInput
- type InstancePeerOrgArrayOutput
- func (InstancePeerOrgArrayOutput) ElementType() reflect.Type
- func (o InstancePeerOrgArrayOutput) Index(i pulumi.IntInput) InstancePeerOrgOutput
- func (o InstancePeerOrgArrayOutput) ToInstancePeerOrgArrayOutput() InstancePeerOrgArrayOutput
- func (o InstancePeerOrgArrayOutput) ToInstancePeerOrgArrayOutputWithContext(ctx context.Context) InstancePeerOrgArrayOutput
- type InstancePeerOrgInput
- type InstancePeerOrgOutput
- func (o InstancePeerOrgOutput) Addresses() InstancePeerOrgAddressArrayOutput
- func (o InstancePeerOrgOutput) Count() pulumi.IntOutput
- func (InstancePeerOrgOutput) ElementType() reflect.Type
- func (o InstancePeerOrgOutput) OrgName() pulumi.StringOutput
- func (o InstancePeerOrgOutput) PvcName() pulumi.StringPtrOutput
- func (o InstancePeerOrgOutput) Status() pulumi.StringPtrOutput
- func (o InstancePeerOrgOutput) StatusDetail() pulumi.StringPtrOutput
- func (o InstancePeerOrgOutput) ToInstancePeerOrgOutput() InstancePeerOrgOutput
- func (o InstancePeerOrgOutput) ToInstancePeerOrgOutputWithContext(ctx context.Context) InstancePeerOrgOutput
- type InstanceSfsTurbo
- type InstanceSfsTurboArgs
- func (InstanceSfsTurboArgs) ElementType() reflect.Type
- func (i InstanceSfsTurboArgs) ToInstanceSfsTurboOutput() InstanceSfsTurboOutput
- func (i InstanceSfsTurboArgs) ToInstanceSfsTurboOutputWithContext(ctx context.Context) InstanceSfsTurboOutput
- func (i InstanceSfsTurboArgs) ToInstanceSfsTurboPtrOutput() InstanceSfsTurboPtrOutput
- func (i InstanceSfsTurboArgs) ToInstanceSfsTurboPtrOutputWithContext(ctx context.Context) InstanceSfsTurboPtrOutput
- type InstanceSfsTurboInput
- type InstanceSfsTurboOutput
- func (o InstanceSfsTurboOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (InstanceSfsTurboOutput) ElementType() reflect.Type
- func (o InstanceSfsTurboOutput) Flavor() pulumi.StringPtrOutput
- func (o InstanceSfsTurboOutput) ShareType() pulumi.StringPtrOutput
- func (o InstanceSfsTurboOutput) ToInstanceSfsTurboOutput() InstanceSfsTurboOutput
- func (o InstanceSfsTurboOutput) ToInstanceSfsTurboOutputWithContext(ctx context.Context) InstanceSfsTurboOutput
- func (o InstanceSfsTurboOutput) ToInstanceSfsTurboPtrOutput() InstanceSfsTurboPtrOutput
- func (o InstanceSfsTurboOutput) ToInstanceSfsTurboPtrOutputWithContext(ctx context.Context) InstanceSfsTurboPtrOutput
- func (o InstanceSfsTurboOutput) Type() pulumi.StringPtrOutput
- type InstanceSfsTurboPtrInput
- type InstanceSfsTurboPtrOutput
- func (o InstanceSfsTurboPtrOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (o InstanceSfsTurboPtrOutput) Elem() InstanceSfsTurboOutput
- func (InstanceSfsTurboPtrOutput) ElementType() reflect.Type
- func (o InstanceSfsTurboPtrOutput) Flavor() pulumi.StringPtrOutput
- func (o InstanceSfsTurboPtrOutput) ShareType() pulumi.StringPtrOutput
- func (o InstanceSfsTurboPtrOutput) ToInstanceSfsTurboPtrOutput() InstanceSfsTurboPtrOutput
- func (o InstanceSfsTurboPtrOutput) ToInstanceSfsTurboPtrOutputWithContext(ctx context.Context) InstanceSfsTurboPtrOutput
- func (o InstanceSfsTurboPtrOutput) Type() pulumi.StringPtrOutput
- type InstanceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.2
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type Instance ¶
type Instance struct { pulumi.CustomResourceState // The agent addresses and port numbers on the user data plane of the BCS service. // * `peer_orgs/pvc_name` - The name of the PersistenetVolumeClaim (PVC) used by the peer. // * `peer_orgs/status` - The peer status. The value contains `IsCreating`, `IsUpgrading`, `Adding/IsScaling`, // `Isdeleting`, `Normal`, `AbNormal` and `Unknown`. // * `peer_orgs/status_detail` - The peer status in the format like `1/1`. The denominator is the total number of peers in // the organization, and the numerator is the number of normal peers. // * `peer_orgs/address` - The peer domain name or IP address of the cluster. // * `peer_orgs/address/domain_port` - The domain name address. // * `peer_orgs/address/ip_port` - The IP address. // * `kafka/name` - The Kafka instance name. AgentPortalAddresses pulumi.StringArrayOutput `pulumi:"agentPortalAddresses"` // Specifies the configuration of block generation. The blockInfo object // structure is documented below. BlockInfo InstanceBlockInfoPtrOutput `pulumi:"blockInfo"` // Specifies the blockchain type of the BCS instance. Valid values // are `private` and `union`. Default is `private`. Changing this will create a new instance. BlockchainType pulumi.StringOutput `pulumi:"blockchainType"` // Specifies the ID of the CCE cluster to attach to the BCS instance. The // BCS service needs to exclusively occupy the CCE cluster. Please make sure that the CCE cluster is not occupied before // deploying the BCS service. Changing this will create a new instance. CceClusterId pulumi.StringOutput `pulumi:"cceClusterId"` // Specifies an array of one or more channels to attach to the BCS instance. If // omitted, the bcs instance will create a `channels` named `channel` by default. Changing this will create a new // instance. The channels object structure is documented below. Channels InstanceChannelArrayOutput `pulumi:"channels"` // The type of the cluster where the BCS service is deployed. ClusterType pulumi.StringOutput `pulumi:"clusterType"` // Specifies the consensus algorithm used by the BCS instance. The valid // values of fabric 1.4 are `solo`, `kafka` and `SFLIC`, and the valid values of fabric 2.0 are `SFLIC` // and `etcdraft`. Changing this will create a new instance. Consensus pulumi.StringOutput `pulumi:"consensus"` // Specifies the NoSQL database used by BCS instance. If omitted, the bcs instance // will create a `goleveldb`(File Database) database by default. This field is required when databaseType is `couchdb`. // Changing this will create a new instance. The couchdb object structure is documented below. Couchdb InstanceCouchdbPtrOutput `pulumi:"couchdb"` // Whether the BCS instance is deployed across regions. CrossRegionSupport pulumi.BoolOutput `pulumi:"crossRegionSupport"` // Specifies the type of the database used by the BCS service. // Valid values are `goleveldb` and `couchdb`. The default value is `goleveldb`. // If `couchdb` is used, specify the couchdb field. Changing this will create a new instance. DatabaseType pulumi.StringOutput `pulumi:"databaseType"` // Specified whether to delete the associated OBS bucket when deleting BCS instance. // `deleteObs` is used to delete the OBS created by the BCS instance of the Kafka consensus strategy. Default is false. DeleteObs pulumi.BoolPtrOutput `pulumi:"deleteObs"` // Specified whether to delete the associated SFS resources when deleting BCS // instance. Default is false. DeleteStorage pulumi.BoolPtrOutput `pulumi:"deleteStorage"` // Specifies Service edition of the BCS instance. Valid values are `1`, `2` and `4` // . Changing this will create a new instance. Edition pulumi.IntOutput `pulumi:"edition"` // Specifies whether to use the EIP of the CCE to bind the BCS instance. // Changing this will create a new instance. Defalut is true. EipEnable pulumi.BoolPtrOutput `pulumi:"eipEnable"` // Specifies the ID of the enterprise project that the BCS // instance belong to. Changing this will create a new instance. EnterpriseProjectId pulumi.StringOutput `pulumi:"enterpriseProjectId"` // Specifies version of fabric for the BCS instance. Valid values // are `1.4` and `2.0` // Changing this will create a new instance. FabricVersion pulumi.StringOutput `pulumi:"fabricVersion"` // Specifies the kafka configuration for the BCS instance. Changing this will create // a new instance. The kafka object structure is documented below. Kafka InstanceKafkaPtrOutput `pulumi:"kafka"` // Specifies the name of the channel. Changing this creates a new instance. Name pulumi.StringOutput `pulumi:"name"` // The version of an old BCS service. OldServiceVersion pulumi.StringOutput `pulumi:"oldServiceVersion"` // Specifies the number of peers in the orderer organizaion. Changing this // will create a new instance. OrdererNodeNum pulumi.IntOutput `pulumi:"ordererNodeNum"` // Specifies the storage capacity of peer organization. Changing this will // create a new instance. // + The minimum storage capacity of `efs` volume type is 500GB. OrgDiskSize pulumi.IntOutput `pulumi:"orgDiskSize"` // Specifies the password of the couch datebase. The password consists of 8 to // 26 characters and must consist at least three of following: uppercase letters, lowercase letters, digits, special // characters(!@$%^-_=+[{}]:,./?). Changing this creates a new instance. Password pulumi.StringOutput `pulumi:"password"` // Specifies an array of one or more Peer organizations to attach to the BCS // instance. Changing this will create a new instance. If omitted, the bcs instance will create a `peerOrgs` // named `organization` by default and the node count is 2. The peerOrgs object structure is documented below. PeerOrgs InstancePeerOrgArrayOutput `pulumi:"peerOrgs"` // The deployment type of the BCS instance. PurchaseType pulumi.StringOutput `pulumi:"purchaseType"` // Specifies the region in which to create the instance. If omitted, the // provider-level region will be used. Changing this will create a new instance. Region pulumi.StringOutput `pulumi:"region"` // Specified whether to add RESTful API support. Changing this will // create a new instance. RestfulApiSupport pulumi.BoolOutput `pulumi:"restfulApiSupport"` // Whether rollback is supported when the BCS service fails to br upgraded. RollbackSupport pulumi.BoolOutput `pulumi:"rollbackSupport"` // Specifies the secutity mechanism used by the BCS instance. Valid // values are `ECDSA` and `SM2`(Chinese cryptographic algorithms, The basic and professional don't support this // algorithm). Default is `ECDSA`. Changing this will create a new instance. SecurityMechanism pulumi.StringOutput `pulumi:"securityMechanism"` // Specifies the information about the SFS Turbo file system. Changing this will // create a new instance. The sfsTurbo object structure is documented below. SfsTurbo InstanceSfsTurboPtrOutput `pulumi:"sfsTurbo"` // The status of the BCS instance. Status pulumi.StringOutput `pulumi:"status"` // Specified whether to add Trusted computing platform. Changing this will create // a new instance. Tc3Need pulumi.BoolOutput `pulumi:"tc3Need"` // The service version of the BCS instance. Version pulumi.StringOutput `pulumi:"version"` // Specifies the storage volume type to attach to each organization of the // BCS instance. Valid values are `nfs` (SFS) and `efs` (SFS Turbo). Changing this will create a new instance. VolumeType pulumi.StringOutput `pulumi:"volumeType"` }
## Example Usage
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance 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 NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceArgs ¶
type InstanceArgs struct { // Specifies the configuration of block generation. The blockInfo object // structure is documented below. BlockInfo InstanceBlockInfoPtrInput // Specifies the blockchain type of the BCS instance. Valid values // are `private` and `union`. Default is `private`. Changing this will create a new instance. BlockchainType pulumi.StringPtrInput // Specifies the ID of the CCE cluster to attach to the BCS instance. The // BCS service needs to exclusively occupy the CCE cluster. Please make sure that the CCE cluster is not occupied before // deploying the BCS service. Changing this will create a new instance. CceClusterId pulumi.StringInput // Specifies an array of one or more channels to attach to the BCS instance. If // omitted, the bcs instance will create a `channels` named `channel` by default. Changing this will create a new // instance. The channels object structure is documented below. Channels InstanceChannelArrayInput // Specifies the consensus algorithm used by the BCS instance. The valid // values of fabric 1.4 are `solo`, `kafka` and `SFLIC`, and the valid values of fabric 2.0 are `SFLIC` // and `etcdraft`. Changing this will create a new instance. Consensus pulumi.StringInput // Specifies the NoSQL database used by BCS instance. If omitted, the bcs instance // will create a `goleveldb`(File Database) database by default. This field is required when databaseType is `couchdb`. // Changing this will create a new instance. The couchdb object structure is documented below. Couchdb InstanceCouchdbPtrInput // Specifies the type of the database used by the BCS service. // Valid values are `goleveldb` and `couchdb`. The default value is `goleveldb`. // If `couchdb` is used, specify the couchdb field. Changing this will create a new instance. DatabaseType pulumi.StringPtrInput // Specified whether to delete the associated OBS bucket when deleting BCS instance. // `deleteObs` is used to delete the OBS created by the BCS instance of the Kafka consensus strategy. Default is false. DeleteObs pulumi.BoolPtrInput // Specified whether to delete the associated SFS resources when deleting BCS // instance. Default is false. DeleteStorage pulumi.BoolPtrInput // Specifies Service edition of the BCS instance. Valid values are `1`, `2` and `4` // . Changing this will create a new instance. Edition pulumi.IntInput // Specifies whether to use the EIP of the CCE to bind the BCS instance. // Changing this will create a new instance. Defalut is true. EipEnable pulumi.BoolPtrInput // Specifies the ID of the enterprise project that the BCS // instance belong to. Changing this will create a new instance. EnterpriseProjectId pulumi.StringInput // Specifies version of fabric for the BCS instance. Valid values // are `1.4` and `2.0` // Changing this will create a new instance. FabricVersion pulumi.StringInput // Specifies the kafka configuration for the BCS instance. Changing this will create // a new instance. The kafka object structure is documented below. Kafka InstanceKafkaPtrInput // Specifies the name of the channel. Changing this creates a new instance. Name pulumi.StringPtrInput // Specifies the number of peers in the orderer organizaion. Changing this // will create a new instance. OrdererNodeNum pulumi.IntInput // Specifies the storage capacity of peer organization. Changing this will // create a new instance. // + The minimum storage capacity of `efs` volume type is 500GB. OrgDiskSize pulumi.IntInput // Specifies the password of the couch datebase. The password consists of 8 to // 26 characters and must consist at least three of following: uppercase letters, lowercase letters, digits, special // characters(!@$%^-_=+[{}]:,./?). Changing this creates a new instance. Password pulumi.StringInput // Specifies an array of one or more Peer organizations to attach to the BCS // instance. Changing this will create a new instance. If omitted, the bcs instance will create a `peerOrgs` // named `organization` by default and the node count is 2. The peerOrgs object structure is documented below. PeerOrgs InstancePeerOrgArrayInput // Specifies the region in which to create the instance. If omitted, the // provider-level region will be used. Changing this will create a new instance. Region pulumi.StringPtrInput // Specified whether to add RESTful API support. Changing this will // create a new instance. RestfulApiSupport pulumi.BoolPtrInput // Specifies the secutity mechanism used by the BCS instance. Valid // values are `ECDSA` and `SM2`(Chinese cryptographic algorithms, The basic and professional don't support this // algorithm). Default is `ECDSA`. Changing this will create a new instance. SecurityMechanism pulumi.StringPtrInput // Specifies the information about the SFS Turbo file system. Changing this will // create a new instance. The sfsTurbo object structure is documented below. SfsTurbo InstanceSfsTurboPtrInput // Specified whether to add Trusted computing platform. Changing this will create // a new instance. Tc3Need pulumi.BoolPtrInput // Specifies the storage volume type to attach to each organization of the // BCS instance. Valid values are `nfs` (SFS) and `efs` (SFS Turbo). Changing this will create a new instance. VolumeType pulumi.StringInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceBlockInfo ¶
type InstanceBlockInfo struct { // Specifies the volume of the block, the unit is MB. The default value is 2. // Changing this creates a new instance. BlockSize *int `pulumi:"blockSize"` // Specifies the block generation time, the unit is second. The defalt // value is 2. Changing this creates a new instance. GenerationInterval *int `pulumi:"generationInterval"` // Specifies the number of transactions included in the block. The // defalt value is 500. Changing this creates a new instance. TransactionQuantity *int `pulumi:"transactionQuantity"` }
type InstanceBlockInfoArgs ¶
type InstanceBlockInfoArgs struct { // Specifies the volume of the block, the unit is MB. The default value is 2. // Changing this creates a new instance. BlockSize pulumi.IntPtrInput `pulumi:"blockSize"` // Specifies the block generation time, the unit is second. The defalt // value is 2. Changing this creates a new instance. GenerationInterval pulumi.IntPtrInput `pulumi:"generationInterval"` // Specifies the number of transactions included in the block. The // defalt value is 500. Changing this creates a new instance. TransactionQuantity pulumi.IntPtrInput `pulumi:"transactionQuantity"` }
func (InstanceBlockInfoArgs) ElementType ¶
func (InstanceBlockInfoArgs) ElementType() reflect.Type
func (InstanceBlockInfoArgs) ToInstanceBlockInfoOutput ¶
func (i InstanceBlockInfoArgs) ToInstanceBlockInfoOutput() InstanceBlockInfoOutput
func (InstanceBlockInfoArgs) ToInstanceBlockInfoOutputWithContext ¶
func (i InstanceBlockInfoArgs) ToInstanceBlockInfoOutputWithContext(ctx context.Context) InstanceBlockInfoOutput
func (InstanceBlockInfoArgs) ToInstanceBlockInfoPtrOutput ¶
func (i InstanceBlockInfoArgs) ToInstanceBlockInfoPtrOutput() InstanceBlockInfoPtrOutput
func (InstanceBlockInfoArgs) ToInstanceBlockInfoPtrOutputWithContext ¶
func (i InstanceBlockInfoArgs) ToInstanceBlockInfoPtrOutputWithContext(ctx context.Context) InstanceBlockInfoPtrOutput
type InstanceBlockInfoInput ¶
type InstanceBlockInfoInput interface { pulumi.Input ToInstanceBlockInfoOutput() InstanceBlockInfoOutput ToInstanceBlockInfoOutputWithContext(context.Context) InstanceBlockInfoOutput }
InstanceBlockInfoInput is an input type that accepts InstanceBlockInfoArgs and InstanceBlockInfoOutput values. You can construct a concrete instance of `InstanceBlockInfoInput` via:
InstanceBlockInfoArgs{...}
type InstanceBlockInfoOutput ¶
type InstanceBlockInfoOutput struct{ *pulumi.OutputState }
func (InstanceBlockInfoOutput) BlockSize ¶
func (o InstanceBlockInfoOutput) BlockSize() pulumi.IntPtrOutput
Specifies the volume of the block, the unit is MB. The default value is 2. Changing this creates a new instance.
func (InstanceBlockInfoOutput) ElementType ¶
func (InstanceBlockInfoOutput) ElementType() reflect.Type
func (InstanceBlockInfoOutput) GenerationInterval ¶
func (o InstanceBlockInfoOutput) GenerationInterval() pulumi.IntPtrOutput
Specifies the block generation time, the unit is second. The defalt value is 2. Changing this creates a new instance.
func (InstanceBlockInfoOutput) ToInstanceBlockInfoOutput ¶
func (o InstanceBlockInfoOutput) ToInstanceBlockInfoOutput() InstanceBlockInfoOutput
func (InstanceBlockInfoOutput) ToInstanceBlockInfoOutputWithContext ¶
func (o InstanceBlockInfoOutput) ToInstanceBlockInfoOutputWithContext(ctx context.Context) InstanceBlockInfoOutput
func (InstanceBlockInfoOutput) ToInstanceBlockInfoPtrOutput ¶
func (o InstanceBlockInfoOutput) ToInstanceBlockInfoPtrOutput() InstanceBlockInfoPtrOutput
func (InstanceBlockInfoOutput) ToInstanceBlockInfoPtrOutputWithContext ¶
func (o InstanceBlockInfoOutput) ToInstanceBlockInfoPtrOutputWithContext(ctx context.Context) InstanceBlockInfoPtrOutput
func (InstanceBlockInfoOutput) TransactionQuantity ¶
func (o InstanceBlockInfoOutput) TransactionQuantity() pulumi.IntPtrOutput
Specifies the number of transactions included in the block. The defalt value is 500. Changing this creates a new instance.
type InstanceBlockInfoPtrInput ¶
type InstanceBlockInfoPtrInput interface { pulumi.Input ToInstanceBlockInfoPtrOutput() InstanceBlockInfoPtrOutput ToInstanceBlockInfoPtrOutputWithContext(context.Context) InstanceBlockInfoPtrOutput }
InstanceBlockInfoPtrInput is an input type that accepts InstanceBlockInfoArgs, InstanceBlockInfoPtr and InstanceBlockInfoPtrOutput values. You can construct a concrete instance of `InstanceBlockInfoPtrInput` via:
InstanceBlockInfoArgs{...} or: nil
func InstanceBlockInfoPtr ¶
func InstanceBlockInfoPtr(v *InstanceBlockInfoArgs) InstanceBlockInfoPtrInput
type InstanceBlockInfoPtrOutput ¶
type InstanceBlockInfoPtrOutput struct{ *pulumi.OutputState }
func (InstanceBlockInfoPtrOutput) BlockSize ¶
func (o InstanceBlockInfoPtrOutput) BlockSize() pulumi.IntPtrOutput
Specifies the volume of the block, the unit is MB. The default value is 2. Changing this creates a new instance.
func (InstanceBlockInfoPtrOutput) Elem ¶
func (o InstanceBlockInfoPtrOutput) Elem() InstanceBlockInfoOutput
func (InstanceBlockInfoPtrOutput) ElementType ¶
func (InstanceBlockInfoPtrOutput) ElementType() reflect.Type
func (InstanceBlockInfoPtrOutput) GenerationInterval ¶
func (o InstanceBlockInfoPtrOutput) GenerationInterval() pulumi.IntPtrOutput
Specifies the block generation time, the unit is second. The defalt value is 2. Changing this creates a new instance.
func (InstanceBlockInfoPtrOutput) ToInstanceBlockInfoPtrOutput ¶
func (o InstanceBlockInfoPtrOutput) ToInstanceBlockInfoPtrOutput() InstanceBlockInfoPtrOutput
func (InstanceBlockInfoPtrOutput) ToInstanceBlockInfoPtrOutputWithContext ¶
func (o InstanceBlockInfoPtrOutput) ToInstanceBlockInfoPtrOutputWithContext(ctx context.Context) InstanceBlockInfoPtrOutput
func (InstanceBlockInfoPtrOutput) TransactionQuantity ¶
func (o InstanceBlockInfoPtrOutput) TransactionQuantity() pulumi.IntPtrOutput
Specifies the number of transactions included in the block. The defalt value is 500. Changing this creates a new instance.
type InstanceChannel ¶
type InstanceChannelArgs ¶
type InstanceChannelArgs struct { // Specifies the name of the channel. Changing this creates a new instance. Name pulumi.StringInput `pulumi:"name"` // Specifies the name of the peer organization. Changing this creates a new // instance. OrgNames pulumi.StringArrayInput `pulumi:"orgNames"` }
func (InstanceChannelArgs) ElementType ¶
func (InstanceChannelArgs) ElementType() reflect.Type
func (InstanceChannelArgs) ToInstanceChannelOutput ¶
func (i InstanceChannelArgs) ToInstanceChannelOutput() InstanceChannelOutput
func (InstanceChannelArgs) ToInstanceChannelOutputWithContext ¶
func (i InstanceChannelArgs) ToInstanceChannelOutputWithContext(ctx context.Context) InstanceChannelOutput
type InstanceChannelArray ¶
type InstanceChannelArray []InstanceChannelInput
func (InstanceChannelArray) ElementType ¶
func (InstanceChannelArray) ElementType() reflect.Type
func (InstanceChannelArray) ToInstanceChannelArrayOutput ¶
func (i InstanceChannelArray) ToInstanceChannelArrayOutput() InstanceChannelArrayOutput
func (InstanceChannelArray) ToInstanceChannelArrayOutputWithContext ¶
func (i InstanceChannelArray) ToInstanceChannelArrayOutputWithContext(ctx context.Context) InstanceChannelArrayOutput
type InstanceChannelArrayInput ¶
type InstanceChannelArrayInput interface { pulumi.Input ToInstanceChannelArrayOutput() InstanceChannelArrayOutput ToInstanceChannelArrayOutputWithContext(context.Context) InstanceChannelArrayOutput }
InstanceChannelArrayInput is an input type that accepts InstanceChannelArray and InstanceChannelArrayOutput values. You can construct a concrete instance of `InstanceChannelArrayInput` via:
InstanceChannelArray{ InstanceChannelArgs{...} }
type InstanceChannelArrayOutput ¶
type InstanceChannelArrayOutput struct{ *pulumi.OutputState }
func (InstanceChannelArrayOutput) ElementType ¶
func (InstanceChannelArrayOutput) ElementType() reflect.Type
func (InstanceChannelArrayOutput) Index ¶
func (o InstanceChannelArrayOutput) Index(i pulumi.IntInput) InstanceChannelOutput
func (InstanceChannelArrayOutput) ToInstanceChannelArrayOutput ¶
func (o InstanceChannelArrayOutput) ToInstanceChannelArrayOutput() InstanceChannelArrayOutput
func (InstanceChannelArrayOutput) ToInstanceChannelArrayOutputWithContext ¶
func (o InstanceChannelArrayOutput) ToInstanceChannelArrayOutputWithContext(ctx context.Context) InstanceChannelArrayOutput
type InstanceChannelInput ¶
type InstanceChannelInput interface { pulumi.Input ToInstanceChannelOutput() InstanceChannelOutput ToInstanceChannelOutputWithContext(context.Context) InstanceChannelOutput }
InstanceChannelInput is an input type that accepts InstanceChannelArgs and InstanceChannelOutput values. You can construct a concrete instance of `InstanceChannelInput` via:
InstanceChannelArgs{...}
type InstanceChannelOutput ¶
type InstanceChannelOutput struct{ *pulumi.OutputState }
func (InstanceChannelOutput) ElementType ¶
func (InstanceChannelOutput) ElementType() reflect.Type
func (InstanceChannelOutput) Name ¶
func (o InstanceChannelOutput) Name() pulumi.StringOutput
Specifies the name of the channel. Changing this creates a new instance.
func (InstanceChannelOutput) OrgNames ¶
func (o InstanceChannelOutput) OrgNames() pulumi.StringArrayOutput
Specifies the name of the peer organization. Changing this creates a new instance.
func (InstanceChannelOutput) ToInstanceChannelOutput ¶
func (o InstanceChannelOutput) ToInstanceChannelOutput() InstanceChannelOutput
func (InstanceChannelOutput) ToInstanceChannelOutputWithContext ¶
func (o InstanceChannelOutput) ToInstanceChannelOutputWithContext(ctx context.Context) InstanceChannelOutput
type InstanceCouchdb ¶
type InstanceCouchdb struct { // Specifies the password of the couch datebase. The password consists of 8 to // 26 characters and must consist at least three of following: uppercase letters, lowercase letters, digits, special // characters(!@$%^-_=+[{}]:,./?). Changing this creates a new instance. Password string `pulumi:"password"` // Specifies the user name of the couch datebase. Changing this creates a new // instance. UserName string `pulumi:"userName"` }
type InstanceCouchdbArgs ¶
type InstanceCouchdbArgs struct { // Specifies the password of the couch datebase. The password consists of 8 to // 26 characters and must consist at least three of following: uppercase letters, lowercase letters, digits, special // characters(!@$%^-_=+[{}]:,./?). Changing this creates a new instance. Password pulumi.StringInput `pulumi:"password"` // Specifies the user name of the couch datebase. Changing this creates a new // instance. UserName pulumi.StringInput `pulumi:"userName"` }
func (InstanceCouchdbArgs) ElementType ¶
func (InstanceCouchdbArgs) ElementType() reflect.Type
func (InstanceCouchdbArgs) ToInstanceCouchdbOutput ¶
func (i InstanceCouchdbArgs) ToInstanceCouchdbOutput() InstanceCouchdbOutput
func (InstanceCouchdbArgs) ToInstanceCouchdbOutputWithContext ¶
func (i InstanceCouchdbArgs) ToInstanceCouchdbOutputWithContext(ctx context.Context) InstanceCouchdbOutput
func (InstanceCouchdbArgs) ToInstanceCouchdbPtrOutput ¶
func (i InstanceCouchdbArgs) ToInstanceCouchdbPtrOutput() InstanceCouchdbPtrOutput
func (InstanceCouchdbArgs) ToInstanceCouchdbPtrOutputWithContext ¶
func (i InstanceCouchdbArgs) ToInstanceCouchdbPtrOutputWithContext(ctx context.Context) InstanceCouchdbPtrOutput
type InstanceCouchdbInput ¶
type InstanceCouchdbInput interface { pulumi.Input ToInstanceCouchdbOutput() InstanceCouchdbOutput ToInstanceCouchdbOutputWithContext(context.Context) InstanceCouchdbOutput }
InstanceCouchdbInput is an input type that accepts InstanceCouchdbArgs and InstanceCouchdbOutput values. You can construct a concrete instance of `InstanceCouchdbInput` via:
InstanceCouchdbArgs{...}
type InstanceCouchdbOutput ¶
type InstanceCouchdbOutput struct{ *pulumi.OutputState }
func (InstanceCouchdbOutput) ElementType ¶
func (InstanceCouchdbOutput) ElementType() reflect.Type
func (InstanceCouchdbOutput) Password ¶
func (o InstanceCouchdbOutput) Password() pulumi.StringOutput
Specifies the password of the couch datebase. The password consists of 8 to 26 characters and must consist at least three of following: uppercase letters, lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?). Changing this creates a new instance.
func (InstanceCouchdbOutput) ToInstanceCouchdbOutput ¶
func (o InstanceCouchdbOutput) ToInstanceCouchdbOutput() InstanceCouchdbOutput
func (InstanceCouchdbOutput) ToInstanceCouchdbOutputWithContext ¶
func (o InstanceCouchdbOutput) ToInstanceCouchdbOutputWithContext(ctx context.Context) InstanceCouchdbOutput
func (InstanceCouchdbOutput) ToInstanceCouchdbPtrOutput ¶
func (o InstanceCouchdbOutput) ToInstanceCouchdbPtrOutput() InstanceCouchdbPtrOutput
func (InstanceCouchdbOutput) ToInstanceCouchdbPtrOutputWithContext ¶
func (o InstanceCouchdbOutput) ToInstanceCouchdbPtrOutputWithContext(ctx context.Context) InstanceCouchdbPtrOutput
func (InstanceCouchdbOutput) UserName ¶
func (o InstanceCouchdbOutput) UserName() pulumi.StringOutput
Specifies the user name of the couch datebase. Changing this creates a new instance.
type InstanceCouchdbPtrInput ¶
type InstanceCouchdbPtrInput interface { pulumi.Input ToInstanceCouchdbPtrOutput() InstanceCouchdbPtrOutput ToInstanceCouchdbPtrOutputWithContext(context.Context) InstanceCouchdbPtrOutput }
InstanceCouchdbPtrInput is an input type that accepts InstanceCouchdbArgs, InstanceCouchdbPtr and InstanceCouchdbPtrOutput values. You can construct a concrete instance of `InstanceCouchdbPtrInput` via:
InstanceCouchdbArgs{...} or: nil
func InstanceCouchdbPtr ¶
func InstanceCouchdbPtr(v *InstanceCouchdbArgs) InstanceCouchdbPtrInput
type InstanceCouchdbPtrOutput ¶
type InstanceCouchdbPtrOutput struct{ *pulumi.OutputState }
func (InstanceCouchdbPtrOutput) Elem ¶
func (o InstanceCouchdbPtrOutput) Elem() InstanceCouchdbOutput
func (InstanceCouchdbPtrOutput) ElementType ¶
func (InstanceCouchdbPtrOutput) ElementType() reflect.Type
func (InstanceCouchdbPtrOutput) Password ¶
func (o InstanceCouchdbPtrOutput) Password() pulumi.StringPtrOutput
Specifies the password of the couch datebase. The password consists of 8 to 26 characters and must consist at least three of following: uppercase letters, lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?). Changing this creates a new instance.
func (InstanceCouchdbPtrOutput) ToInstanceCouchdbPtrOutput ¶
func (o InstanceCouchdbPtrOutput) ToInstanceCouchdbPtrOutput() InstanceCouchdbPtrOutput
func (InstanceCouchdbPtrOutput) ToInstanceCouchdbPtrOutputWithContext ¶
func (o InstanceCouchdbPtrOutput) ToInstanceCouchdbPtrOutputWithContext(ctx context.Context) InstanceCouchdbPtrOutput
func (InstanceCouchdbPtrOutput) UserName ¶
func (o InstanceCouchdbPtrOutput) UserName() pulumi.StringPtrOutput
Specifies the user name of the couch datebase. Changing this creates a new instance.
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceKafka ¶
type InstanceKafka struct { // Specifies the availability zone in which to create the kafka. The // list must contain one or more than three availability zone. Please // following [reference](https://developer.huaweicloud.com/en-us/endpoint/?all) for the values. Changing this creates a // new instance. AvailabilityZones []string `pulumi:"availabilityZones"` // Specifies the kafka flavor type. Changing this creates a new instance. // + `c3.mini` : Mini type, the reference bandwidth is 100MB/s. // + `c3.small.2` : Small type, the reference bandwidth is 300MB/s. // + `c3.middle.2` : Middle type, the reference bandwidth is 600MB/s. // + `c3.high.2` : High type, the reference bandwidth is 1200MB/s. Flavor string `pulumi:"flavor"` // Specifies the name of the channel. Changing this creates a new instance. Name *string `pulumi:"name"` // Specifies the kafka storage capacity. The storage capacity must be an // integral multiple of 100 and the maximum is 90000GB. Changing this creates a new instance. // + The minimum storage capacity of mini type is 600GB. // + The minimum storage capacity of small type is 1200GB. // + The minimum storage capacity of middle type is 2400GB. // + The minimum storage capacity of high type is 4800GB. StorageSize int `pulumi:"storageSize"` }
type InstanceKafkaArgs ¶
type InstanceKafkaArgs struct { // Specifies the availability zone in which to create the kafka. The // list must contain one or more than three availability zone. Please // following [reference](https://developer.huaweicloud.com/en-us/endpoint/?all) for the values. Changing this creates a // new instance. AvailabilityZones pulumi.StringArrayInput `pulumi:"availabilityZones"` // Specifies the kafka flavor type. Changing this creates a new instance. // + `c3.mini` : Mini type, the reference bandwidth is 100MB/s. // + `c3.small.2` : Small type, the reference bandwidth is 300MB/s. // + `c3.middle.2` : Middle type, the reference bandwidth is 600MB/s. // + `c3.high.2` : High type, the reference bandwidth is 1200MB/s. Flavor pulumi.StringInput `pulumi:"flavor"` // Specifies the name of the channel. Changing this creates a new instance. Name pulumi.StringPtrInput `pulumi:"name"` // Specifies the kafka storage capacity. The storage capacity must be an // integral multiple of 100 and the maximum is 90000GB. Changing this creates a new instance. // + The minimum storage capacity of mini type is 600GB. // + The minimum storage capacity of small type is 1200GB. // + The minimum storage capacity of middle type is 2400GB. // + The minimum storage capacity of high type is 4800GB. StorageSize pulumi.IntInput `pulumi:"storageSize"` }
func (InstanceKafkaArgs) ElementType ¶
func (InstanceKafkaArgs) ElementType() reflect.Type
func (InstanceKafkaArgs) ToInstanceKafkaOutput ¶
func (i InstanceKafkaArgs) ToInstanceKafkaOutput() InstanceKafkaOutput
func (InstanceKafkaArgs) ToInstanceKafkaOutputWithContext ¶
func (i InstanceKafkaArgs) ToInstanceKafkaOutputWithContext(ctx context.Context) InstanceKafkaOutput
func (InstanceKafkaArgs) ToInstanceKafkaPtrOutput ¶
func (i InstanceKafkaArgs) ToInstanceKafkaPtrOutput() InstanceKafkaPtrOutput
func (InstanceKafkaArgs) ToInstanceKafkaPtrOutputWithContext ¶
func (i InstanceKafkaArgs) ToInstanceKafkaPtrOutputWithContext(ctx context.Context) InstanceKafkaPtrOutput
type InstanceKafkaInput ¶
type InstanceKafkaInput interface { pulumi.Input ToInstanceKafkaOutput() InstanceKafkaOutput ToInstanceKafkaOutputWithContext(context.Context) InstanceKafkaOutput }
InstanceKafkaInput is an input type that accepts InstanceKafkaArgs and InstanceKafkaOutput values. You can construct a concrete instance of `InstanceKafkaInput` via:
InstanceKafkaArgs{...}
type InstanceKafkaOutput ¶
type InstanceKafkaOutput struct{ *pulumi.OutputState }
func (InstanceKafkaOutput) AvailabilityZones ¶
func (o InstanceKafkaOutput) AvailabilityZones() pulumi.StringArrayOutput
Specifies the availability zone in which to create the kafka. The list must contain one or more than three availability zone. Please following [reference](https://developer.huaweicloud.com/en-us/endpoint/?all) for the values. Changing this creates a new instance.
func (InstanceKafkaOutput) ElementType ¶
func (InstanceKafkaOutput) ElementType() reflect.Type
func (InstanceKafkaOutput) Flavor ¶
func (o InstanceKafkaOutput) Flavor() pulumi.StringOutput
Specifies the kafka flavor type. Changing this creates a new instance. + `c3.mini` : Mini type, the reference bandwidth is 100MB/s. + `c3.small.2` : Small type, the reference bandwidth is 300MB/s. + `c3.middle.2` : Middle type, the reference bandwidth is 600MB/s. + `c3.high.2` : High type, the reference bandwidth is 1200MB/s.
func (InstanceKafkaOutput) Name ¶
func (o InstanceKafkaOutput) Name() pulumi.StringPtrOutput
Specifies the name of the channel. Changing this creates a new instance.
func (InstanceKafkaOutput) StorageSize ¶
func (o InstanceKafkaOutput) StorageSize() pulumi.IntOutput
Specifies the kafka storage capacity. The storage capacity must be an integral multiple of 100 and the maximum is 90000GB. Changing this creates a new instance. + The minimum storage capacity of mini type is 600GB. + The minimum storage capacity of small type is 1200GB. + The minimum storage capacity of middle type is 2400GB. + The minimum storage capacity of high type is 4800GB.
func (InstanceKafkaOutput) ToInstanceKafkaOutput ¶
func (o InstanceKafkaOutput) ToInstanceKafkaOutput() InstanceKafkaOutput
func (InstanceKafkaOutput) ToInstanceKafkaOutputWithContext ¶
func (o InstanceKafkaOutput) ToInstanceKafkaOutputWithContext(ctx context.Context) InstanceKafkaOutput
func (InstanceKafkaOutput) ToInstanceKafkaPtrOutput ¶
func (o InstanceKafkaOutput) ToInstanceKafkaPtrOutput() InstanceKafkaPtrOutput
func (InstanceKafkaOutput) ToInstanceKafkaPtrOutputWithContext ¶
func (o InstanceKafkaOutput) ToInstanceKafkaPtrOutputWithContext(ctx context.Context) InstanceKafkaPtrOutput
type InstanceKafkaPtrInput ¶
type InstanceKafkaPtrInput interface { pulumi.Input ToInstanceKafkaPtrOutput() InstanceKafkaPtrOutput ToInstanceKafkaPtrOutputWithContext(context.Context) InstanceKafkaPtrOutput }
InstanceKafkaPtrInput is an input type that accepts InstanceKafkaArgs, InstanceKafkaPtr and InstanceKafkaPtrOutput values. You can construct a concrete instance of `InstanceKafkaPtrInput` via:
InstanceKafkaArgs{...} or: nil
func InstanceKafkaPtr ¶
func InstanceKafkaPtr(v *InstanceKafkaArgs) InstanceKafkaPtrInput
type InstanceKafkaPtrOutput ¶
type InstanceKafkaPtrOutput struct{ *pulumi.OutputState }
func (InstanceKafkaPtrOutput) AvailabilityZones ¶
func (o InstanceKafkaPtrOutput) AvailabilityZones() pulumi.StringArrayOutput
Specifies the availability zone in which to create the kafka. The list must contain one or more than three availability zone. Please following [reference](https://developer.huaweicloud.com/en-us/endpoint/?all) for the values. Changing this creates a new instance.
func (InstanceKafkaPtrOutput) Elem ¶
func (o InstanceKafkaPtrOutput) Elem() InstanceKafkaOutput
func (InstanceKafkaPtrOutput) ElementType ¶
func (InstanceKafkaPtrOutput) ElementType() reflect.Type
func (InstanceKafkaPtrOutput) Flavor ¶
func (o InstanceKafkaPtrOutput) Flavor() pulumi.StringPtrOutput
Specifies the kafka flavor type. Changing this creates a new instance. + `c3.mini` : Mini type, the reference bandwidth is 100MB/s. + `c3.small.2` : Small type, the reference bandwidth is 300MB/s. + `c3.middle.2` : Middle type, the reference bandwidth is 600MB/s. + `c3.high.2` : High type, the reference bandwidth is 1200MB/s.
func (InstanceKafkaPtrOutput) Name ¶
func (o InstanceKafkaPtrOutput) Name() pulumi.StringPtrOutput
Specifies the name of the channel. Changing this creates a new instance.
func (InstanceKafkaPtrOutput) StorageSize ¶
func (o InstanceKafkaPtrOutput) StorageSize() pulumi.IntPtrOutput
Specifies the kafka storage capacity. The storage capacity must be an integral multiple of 100 and the maximum is 90000GB. Changing this creates a new instance. + The minimum storage capacity of mini type is 600GB. + The minimum storage capacity of small type is 1200GB. + The minimum storage capacity of middle type is 2400GB. + The minimum storage capacity of high type is 4800GB.
func (InstanceKafkaPtrOutput) ToInstanceKafkaPtrOutput ¶
func (o InstanceKafkaPtrOutput) ToInstanceKafkaPtrOutput() InstanceKafkaPtrOutput
func (InstanceKafkaPtrOutput) ToInstanceKafkaPtrOutputWithContext ¶
func (o InstanceKafkaPtrOutput) ToInstanceKafkaPtrOutputWithContext(ctx context.Context) InstanceKafkaPtrOutput
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) AgentPortalAddresses ¶
func (o InstanceOutput) AgentPortalAddresses() pulumi.StringArrayOutput
The agent addresses and port numbers on the user data plane of the BCS service.
- `peer_orgs/pvc_name` - The name of the PersistenetVolumeClaim (PVC) used by the peer.
- `peer_orgs/status` - The peer status. The value contains `IsCreating`, `IsUpgrading`, `Adding/IsScaling`, `Isdeleting`, `Normal`, `AbNormal` and `Unknown`.
- `peer_orgs/status_detail` - The peer status in the format like `1/1`. The denominator is the total number of peers in the organization, and the numerator is the number of normal peers.
- `peer_orgs/address` - The peer domain name or IP address of the cluster.
- `peer_orgs/address/domain_port` - The domain name address.
- `peer_orgs/address/ip_port` - The IP address.
- `kafka/name` - The Kafka instance name.
func (InstanceOutput) BlockInfo ¶
func (o InstanceOutput) BlockInfo() InstanceBlockInfoPtrOutput
Specifies the configuration of block generation. The blockInfo object structure is documented below.
func (InstanceOutput) BlockchainType ¶
func (o InstanceOutput) BlockchainType() pulumi.StringOutput
Specifies the blockchain type of the BCS instance. Valid values are `private` and `union`. Default is `private`. Changing this will create a new instance.
func (InstanceOutput) CceClusterId ¶
func (o InstanceOutput) CceClusterId() pulumi.StringOutput
Specifies the ID of the CCE cluster to attach to the BCS instance. The BCS service needs to exclusively occupy the CCE cluster. Please make sure that the CCE cluster is not occupied before deploying the BCS service. Changing this will create a new instance.
func (InstanceOutput) Channels ¶
func (o InstanceOutput) Channels() InstanceChannelArrayOutput
Specifies an array of one or more channels to attach to the BCS instance. If omitted, the bcs instance will create a `channels` named `channel` by default. Changing this will create a new instance. The channels object structure is documented below.
func (InstanceOutput) ClusterType ¶
func (o InstanceOutput) ClusterType() pulumi.StringOutput
The type of the cluster where the BCS service is deployed.
func (InstanceOutput) Consensus ¶
func (o InstanceOutput) Consensus() pulumi.StringOutput
Specifies the consensus algorithm used by the BCS instance. The valid values of fabric 1.4 are `solo`, `kafka` and `SFLIC`, and the valid values of fabric 2.0 are `SFLIC` and `etcdraft`. Changing this will create a new instance.
func (InstanceOutput) Couchdb ¶
func (o InstanceOutput) Couchdb() InstanceCouchdbPtrOutput
Specifies the NoSQL database used by BCS instance. If omitted, the bcs instance will create a `goleveldb`(File Database) database by default. This field is required when databaseType is `couchdb`. Changing this will create a new instance. The couchdb object structure is documented below.
func (InstanceOutput) CrossRegionSupport ¶
func (o InstanceOutput) CrossRegionSupport() pulumi.BoolOutput
Whether the BCS instance is deployed across regions.
func (InstanceOutput) DatabaseType ¶
func (o InstanceOutput) DatabaseType() pulumi.StringOutput
Specifies the type of the database used by the BCS service. Valid values are `goleveldb` and `couchdb`. The default value is `goleveldb`. If `couchdb` is used, specify the couchdb field. Changing this will create a new instance.
func (InstanceOutput) DeleteObs ¶
func (o InstanceOutput) DeleteObs() pulumi.BoolPtrOutput
Specified whether to delete the associated OBS bucket when deleting BCS instance. `deleteObs` is used to delete the OBS created by the BCS instance of the Kafka consensus strategy. Default is false.
func (InstanceOutput) DeleteStorage ¶
func (o InstanceOutput) DeleteStorage() pulumi.BoolPtrOutput
Specified whether to delete the associated SFS resources when deleting BCS instance. Default is false.
func (InstanceOutput) Edition ¶
func (o InstanceOutput) Edition() pulumi.IntOutput
Specifies Service edition of the BCS instance. Valid values are `1`, `2` and `4` . Changing this will create a new instance.
func (InstanceOutput) EipEnable ¶
func (o InstanceOutput) EipEnable() pulumi.BoolPtrOutput
Specifies whether to use the EIP of the CCE to bind the BCS instance. Changing this will create a new instance. Defalut is true.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) EnterpriseProjectId ¶
func (o InstanceOutput) EnterpriseProjectId() pulumi.StringOutput
Specifies the ID of the enterprise project that the BCS instance belong to. Changing this will create a new instance.
func (InstanceOutput) FabricVersion ¶
func (o InstanceOutput) FabricVersion() pulumi.StringOutput
Specifies version of fabric for the BCS instance. Valid values are `1.4` and `2.0` Changing this will create a new instance.
func (InstanceOutput) Kafka ¶
func (o InstanceOutput) Kafka() InstanceKafkaPtrOutput
Specifies the kafka configuration for the BCS instance. Changing this will create a new instance. The kafka object structure is documented below.
func (InstanceOutput) Name ¶
func (o InstanceOutput) Name() pulumi.StringOutput
Specifies the name of the channel. Changing this creates a new instance.
func (InstanceOutput) OldServiceVersion ¶
func (o InstanceOutput) OldServiceVersion() pulumi.StringOutput
The version of an old BCS service.
func (InstanceOutput) OrdererNodeNum ¶
func (o InstanceOutput) OrdererNodeNum() pulumi.IntOutput
Specifies the number of peers in the orderer organizaion. Changing this will create a new instance.
func (InstanceOutput) OrgDiskSize ¶
func (o InstanceOutput) OrgDiskSize() pulumi.IntOutput
Specifies the storage capacity of peer organization. Changing this will create a new instance. + The minimum storage capacity of `efs` volume type is 500GB.
func (InstanceOutput) Password ¶
func (o InstanceOutput) Password() pulumi.StringOutput
Specifies the password of the couch datebase. The password consists of 8 to 26 characters and must consist at least three of following: uppercase letters, lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?). Changing this creates a new instance.
func (InstanceOutput) PeerOrgs ¶
func (o InstanceOutput) PeerOrgs() InstancePeerOrgArrayOutput
Specifies an array of one or more Peer organizations to attach to the BCS instance. Changing this will create a new instance. If omitted, the bcs instance will create a `peerOrgs` named `organization` by default and the node count is 2. The peerOrgs object structure is documented below.
func (InstanceOutput) PurchaseType ¶
func (o InstanceOutput) PurchaseType() pulumi.StringOutput
The deployment type of the BCS instance.
func (InstanceOutput) Region ¶
func (o InstanceOutput) Region() pulumi.StringOutput
Specifies the region in which to create the instance. If omitted, the provider-level region will be used. Changing this will create a new instance.
func (InstanceOutput) RestfulApiSupport ¶
func (o InstanceOutput) RestfulApiSupport() pulumi.BoolOutput
Specified whether to add RESTful API support. Changing this will create a new instance.
func (InstanceOutput) RollbackSupport ¶
func (o InstanceOutput) RollbackSupport() pulumi.BoolOutput
Whether rollback is supported when the BCS service fails to br upgraded.
func (InstanceOutput) SecurityMechanism ¶
func (o InstanceOutput) SecurityMechanism() pulumi.StringOutput
Specifies the secutity mechanism used by the BCS instance. Valid values are `ECDSA` and `SM2`(Chinese cryptographic algorithms, The basic and professional don't support this algorithm). Default is `ECDSA`. Changing this will create a new instance.
func (InstanceOutput) SfsTurbo ¶
func (o InstanceOutput) SfsTurbo() InstanceSfsTurboPtrOutput
Specifies the information about the SFS Turbo file system. Changing this will create a new instance. The sfsTurbo object structure is documented below.
func (InstanceOutput) Status ¶
func (o InstanceOutput) Status() pulumi.StringOutput
The status of the BCS instance.
func (InstanceOutput) Tc3Need ¶
func (o InstanceOutput) Tc3Need() pulumi.BoolOutput
Specified whether to add Trusted computing platform. Changing this will create a new instance.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) Version ¶
func (o InstanceOutput) Version() pulumi.StringOutput
The service version of the BCS instance.
func (InstanceOutput) VolumeType ¶
func (o InstanceOutput) VolumeType() pulumi.StringOutput
Specifies the storage volume type to attach to each organization of the BCS instance. Valid values are `nfs` (SFS) and `efs` (SFS Turbo). Changing this will create a new instance.
type InstancePeerOrg ¶
type InstancePeerOrg struct { Addresses []InstancePeerOrgAddress `pulumi:"addresses"` // Specifies the number of peers in organization. Changing this creates a new // instance. Count int `pulumi:"count"` // Specifies the name of the peer organization. Changing this creates a new // instance. OrgName string `pulumi:"orgName"` PvcName *string `pulumi:"pvcName"` // The status of the BCS instance. Status *string `pulumi:"status"` StatusDetail *string `pulumi:"statusDetail"` }
type InstancePeerOrgAddress ¶
type InstancePeerOrgAddressArgs ¶
type InstancePeerOrgAddressArgs struct { DomainPort pulumi.StringPtrInput `pulumi:"domainPort"` IpPort pulumi.StringPtrInput `pulumi:"ipPort"` }
func (InstancePeerOrgAddressArgs) ElementType ¶
func (InstancePeerOrgAddressArgs) ElementType() reflect.Type
func (InstancePeerOrgAddressArgs) ToInstancePeerOrgAddressOutput ¶
func (i InstancePeerOrgAddressArgs) ToInstancePeerOrgAddressOutput() InstancePeerOrgAddressOutput
func (InstancePeerOrgAddressArgs) ToInstancePeerOrgAddressOutputWithContext ¶
func (i InstancePeerOrgAddressArgs) ToInstancePeerOrgAddressOutputWithContext(ctx context.Context) InstancePeerOrgAddressOutput
type InstancePeerOrgAddressArray ¶
type InstancePeerOrgAddressArray []InstancePeerOrgAddressInput
func (InstancePeerOrgAddressArray) ElementType ¶
func (InstancePeerOrgAddressArray) ElementType() reflect.Type
func (InstancePeerOrgAddressArray) ToInstancePeerOrgAddressArrayOutput ¶
func (i InstancePeerOrgAddressArray) ToInstancePeerOrgAddressArrayOutput() InstancePeerOrgAddressArrayOutput
func (InstancePeerOrgAddressArray) ToInstancePeerOrgAddressArrayOutputWithContext ¶
func (i InstancePeerOrgAddressArray) ToInstancePeerOrgAddressArrayOutputWithContext(ctx context.Context) InstancePeerOrgAddressArrayOutput
type InstancePeerOrgAddressArrayInput ¶
type InstancePeerOrgAddressArrayInput interface { pulumi.Input ToInstancePeerOrgAddressArrayOutput() InstancePeerOrgAddressArrayOutput ToInstancePeerOrgAddressArrayOutputWithContext(context.Context) InstancePeerOrgAddressArrayOutput }
InstancePeerOrgAddressArrayInput is an input type that accepts InstancePeerOrgAddressArray and InstancePeerOrgAddressArrayOutput values. You can construct a concrete instance of `InstancePeerOrgAddressArrayInput` via:
InstancePeerOrgAddressArray{ InstancePeerOrgAddressArgs{...} }
type InstancePeerOrgAddressArrayOutput ¶
type InstancePeerOrgAddressArrayOutput struct{ *pulumi.OutputState }
func (InstancePeerOrgAddressArrayOutput) ElementType ¶
func (InstancePeerOrgAddressArrayOutput) ElementType() reflect.Type
func (InstancePeerOrgAddressArrayOutput) Index ¶
func (o InstancePeerOrgAddressArrayOutput) Index(i pulumi.IntInput) InstancePeerOrgAddressOutput
func (InstancePeerOrgAddressArrayOutput) ToInstancePeerOrgAddressArrayOutput ¶
func (o InstancePeerOrgAddressArrayOutput) ToInstancePeerOrgAddressArrayOutput() InstancePeerOrgAddressArrayOutput
func (InstancePeerOrgAddressArrayOutput) ToInstancePeerOrgAddressArrayOutputWithContext ¶
func (o InstancePeerOrgAddressArrayOutput) ToInstancePeerOrgAddressArrayOutputWithContext(ctx context.Context) InstancePeerOrgAddressArrayOutput
type InstancePeerOrgAddressInput ¶
type InstancePeerOrgAddressInput interface { pulumi.Input ToInstancePeerOrgAddressOutput() InstancePeerOrgAddressOutput ToInstancePeerOrgAddressOutputWithContext(context.Context) InstancePeerOrgAddressOutput }
InstancePeerOrgAddressInput is an input type that accepts InstancePeerOrgAddressArgs and InstancePeerOrgAddressOutput values. You can construct a concrete instance of `InstancePeerOrgAddressInput` via:
InstancePeerOrgAddressArgs{...}
type InstancePeerOrgAddressOutput ¶
type InstancePeerOrgAddressOutput struct{ *pulumi.OutputState }
func (InstancePeerOrgAddressOutput) DomainPort ¶
func (o InstancePeerOrgAddressOutput) DomainPort() pulumi.StringPtrOutput
func (InstancePeerOrgAddressOutput) ElementType ¶
func (InstancePeerOrgAddressOutput) ElementType() reflect.Type
func (InstancePeerOrgAddressOutput) IpPort ¶
func (o InstancePeerOrgAddressOutput) IpPort() pulumi.StringPtrOutput
func (InstancePeerOrgAddressOutput) ToInstancePeerOrgAddressOutput ¶
func (o InstancePeerOrgAddressOutput) ToInstancePeerOrgAddressOutput() InstancePeerOrgAddressOutput
func (InstancePeerOrgAddressOutput) ToInstancePeerOrgAddressOutputWithContext ¶
func (o InstancePeerOrgAddressOutput) ToInstancePeerOrgAddressOutputWithContext(ctx context.Context) InstancePeerOrgAddressOutput
type InstancePeerOrgArgs ¶
type InstancePeerOrgArgs struct { Addresses InstancePeerOrgAddressArrayInput `pulumi:"addresses"` // Specifies the number of peers in organization. Changing this creates a new // instance. Count pulumi.IntInput `pulumi:"count"` // Specifies the name of the peer organization. Changing this creates a new // instance. OrgName pulumi.StringInput `pulumi:"orgName"` PvcName pulumi.StringPtrInput `pulumi:"pvcName"` // The status of the BCS instance. Status pulumi.StringPtrInput `pulumi:"status"` StatusDetail pulumi.StringPtrInput `pulumi:"statusDetail"` }
func (InstancePeerOrgArgs) ElementType ¶
func (InstancePeerOrgArgs) ElementType() reflect.Type
func (InstancePeerOrgArgs) ToInstancePeerOrgOutput ¶
func (i InstancePeerOrgArgs) ToInstancePeerOrgOutput() InstancePeerOrgOutput
func (InstancePeerOrgArgs) ToInstancePeerOrgOutputWithContext ¶
func (i InstancePeerOrgArgs) ToInstancePeerOrgOutputWithContext(ctx context.Context) InstancePeerOrgOutput
type InstancePeerOrgArray ¶
type InstancePeerOrgArray []InstancePeerOrgInput
func (InstancePeerOrgArray) ElementType ¶
func (InstancePeerOrgArray) ElementType() reflect.Type
func (InstancePeerOrgArray) ToInstancePeerOrgArrayOutput ¶
func (i InstancePeerOrgArray) ToInstancePeerOrgArrayOutput() InstancePeerOrgArrayOutput
func (InstancePeerOrgArray) ToInstancePeerOrgArrayOutputWithContext ¶
func (i InstancePeerOrgArray) ToInstancePeerOrgArrayOutputWithContext(ctx context.Context) InstancePeerOrgArrayOutput
type InstancePeerOrgArrayInput ¶
type InstancePeerOrgArrayInput interface { pulumi.Input ToInstancePeerOrgArrayOutput() InstancePeerOrgArrayOutput ToInstancePeerOrgArrayOutputWithContext(context.Context) InstancePeerOrgArrayOutput }
InstancePeerOrgArrayInput is an input type that accepts InstancePeerOrgArray and InstancePeerOrgArrayOutput values. You can construct a concrete instance of `InstancePeerOrgArrayInput` via:
InstancePeerOrgArray{ InstancePeerOrgArgs{...} }
type InstancePeerOrgArrayOutput ¶
type InstancePeerOrgArrayOutput struct{ *pulumi.OutputState }
func (InstancePeerOrgArrayOutput) ElementType ¶
func (InstancePeerOrgArrayOutput) ElementType() reflect.Type
func (InstancePeerOrgArrayOutput) Index ¶
func (o InstancePeerOrgArrayOutput) Index(i pulumi.IntInput) InstancePeerOrgOutput
func (InstancePeerOrgArrayOutput) ToInstancePeerOrgArrayOutput ¶
func (o InstancePeerOrgArrayOutput) ToInstancePeerOrgArrayOutput() InstancePeerOrgArrayOutput
func (InstancePeerOrgArrayOutput) ToInstancePeerOrgArrayOutputWithContext ¶
func (o InstancePeerOrgArrayOutput) ToInstancePeerOrgArrayOutputWithContext(ctx context.Context) InstancePeerOrgArrayOutput
type InstancePeerOrgInput ¶
type InstancePeerOrgInput interface { pulumi.Input ToInstancePeerOrgOutput() InstancePeerOrgOutput ToInstancePeerOrgOutputWithContext(context.Context) InstancePeerOrgOutput }
InstancePeerOrgInput is an input type that accepts InstancePeerOrgArgs and InstancePeerOrgOutput values. You can construct a concrete instance of `InstancePeerOrgInput` via:
InstancePeerOrgArgs{...}
type InstancePeerOrgOutput ¶
type InstancePeerOrgOutput struct{ *pulumi.OutputState }
func (InstancePeerOrgOutput) Addresses ¶
func (o InstancePeerOrgOutput) Addresses() InstancePeerOrgAddressArrayOutput
func (InstancePeerOrgOutput) Count ¶
func (o InstancePeerOrgOutput) Count() pulumi.IntOutput
Specifies the number of peers in organization. Changing this creates a new instance.
func (InstancePeerOrgOutput) ElementType ¶
func (InstancePeerOrgOutput) ElementType() reflect.Type
func (InstancePeerOrgOutput) OrgName ¶
func (o InstancePeerOrgOutput) OrgName() pulumi.StringOutput
Specifies the name of the peer organization. Changing this creates a new instance.
func (InstancePeerOrgOutput) PvcName ¶
func (o InstancePeerOrgOutput) PvcName() pulumi.StringPtrOutput
func (InstancePeerOrgOutput) Status ¶
func (o InstancePeerOrgOutput) Status() pulumi.StringPtrOutput
The status of the BCS instance.
func (InstancePeerOrgOutput) StatusDetail ¶
func (o InstancePeerOrgOutput) StatusDetail() pulumi.StringPtrOutput
func (InstancePeerOrgOutput) ToInstancePeerOrgOutput ¶
func (o InstancePeerOrgOutput) ToInstancePeerOrgOutput() InstancePeerOrgOutput
func (InstancePeerOrgOutput) ToInstancePeerOrgOutputWithContext ¶
func (o InstancePeerOrgOutput) ToInstancePeerOrgOutputWithContext(ctx context.Context) InstancePeerOrgOutput
type InstanceSfsTurbo ¶
type InstanceSfsTurbo struct { // Specifies the availability zone in which to create the kafka. The // list must contain one or more than three availability zone. Please // following [reference](https://developer.huaweicloud.com/en-us/endpoint/?all) for the values. Changing this creates a // new instance. AvailabilityZone *string `pulumi:"availabilityZone"` // Specifies the kafka flavor type. Changing this creates a new instance. // + `c3.mini` : Mini type, the reference bandwidth is 100MB/s. // + `c3.small.2` : Small type, the reference bandwidth is 300MB/s. // + `c3.middle.2` : Middle type, the reference bandwidth is 600MB/s. // + `c3.high.2` : High type, the reference bandwidth is 1200MB/s. Flavor *string `pulumi:"flavor"` // instance. ShareType *string `pulumi:"shareType"` // Specifies the type of SFS turbo. Changing this creates a new instance. Type *string `pulumi:"type"` }
type InstanceSfsTurboArgs ¶
type InstanceSfsTurboArgs struct { // Specifies the availability zone in which to create the kafka. The // list must contain one or more than three availability zone. Please // following [reference](https://developer.huaweicloud.com/en-us/endpoint/?all) for the values. Changing this creates a // new instance. AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` // Specifies the kafka flavor type. Changing this creates a new instance. // + `c3.mini` : Mini type, the reference bandwidth is 100MB/s. // + `c3.small.2` : Small type, the reference bandwidth is 300MB/s. // + `c3.middle.2` : Middle type, the reference bandwidth is 600MB/s. // + `c3.high.2` : High type, the reference bandwidth is 1200MB/s. Flavor pulumi.StringPtrInput `pulumi:"flavor"` // instance. ShareType pulumi.StringPtrInput `pulumi:"shareType"` // Specifies the type of SFS turbo. Changing this creates a new instance. Type pulumi.StringPtrInput `pulumi:"type"` }
func (InstanceSfsTurboArgs) ElementType ¶
func (InstanceSfsTurboArgs) ElementType() reflect.Type
func (InstanceSfsTurboArgs) ToInstanceSfsTurboOutput ¶
func (i InstanceSfsTurboArgs) ToInstanceSfsTurboOutput() InstanceSfsTurboOutput
func (InstanceSfsTurboArgs) ToInstanceSfsTurboOutputWithContext ¶
func (i InstanceSfsTurboArgs) ToInstanceSfsTurboOutputWithContext(ctx context.Context) InstanceSfsTurboOutput
func (InstanceSfsTurboArgs) ToInstanceSfsTurboPtrOutput ¶
func (i InstanceSfsTurboArgs) ToInstanceSfsTurboPtrOutput() InstanceSfsTurboPtrOutput
func (InstanceSfsTurboArgs) ToInstanceSfsTurboPtrOutputWithContext ¶
func (i InstanceSfsTurboArgs) ToInstanceSfsTurboPtrOutputWithContext(ctx context.Context) InstanceSfsTurboPtrOutput
type InstanceSfsTurboInput ¶
type InstanceSfsTurboInput interface { pulumi.Input ToInstanceSfsTurboOutput() InstanceSfsTurboOutput ToInstanceSfsTurboOutputWithContext(context.Context) InstanceSfsTurboOutput }
InstanceSfsTurboInput is an input type that accepts InstanceSfsTurboArgs and InstanceSfsTurboOutput values. You can construct a concrete instance of `InstanceSfsTurboInput` via:
InstanceSfsTurboArgs{...}
type InstanceSfsTurboOutput ¶
type InstanceSfsTurboOutput struct{ *pulumi.OutputState }
func (InstanceSfsTurboOutput) AvailabilityZone ¶
func (o InstanceSfsTurboOutput) AvailabilityZone() pulumi.StringPtrOutput
Specifies the availability zone in which to create the kafka. The list must contain one or more than three availability zone. Please following [reference](https://developer.huaweicloud.com/en-us/endpoint/?all) for the values. Changing this creates a new instance.
func (InstanceSfsTurboOutput) ElementType ¶
func (InstanceSfsTurboOutput) ElementType() reflect.Type
func (InstanceSfsTurboOutput) Flavor ¶
func (o InstanceSfsTurboOutput) Flavor() pulumi.StringPtrOutput
Specifies the kafka flavor type. Changing this creates a new instance. + `c3.mini` : Mini type, the reference bandwidth is 100MB/s. + `c3.small.2` : Small type, the reference bandwidth is 300MB/s. + `c3.middle.2` : Middle type, the reference bandwidth is 600MB/s. + `c3.high.2` : High type, the reference bandwidth is 1200MB/s.
func (InstanceSfsTurboOutput) ShareType ¶
func (o InstanceSfsTurboOutput) ShareType() pulumi.StringPtrOutput
Specifies the share type of the SFS turbo. Changing this creates a new instance.
func (InstanceSfsTurboOutput) ToInstanceSfsTurboOutput ¶
func (o InstanceSfsTurboOutput) ToInstanceSfsTurboOutput() InstanceSfsTurboOutput
func (InstanceSfsTurboOutput) ToInstanceSfsTurboOutputWithContext ¶
func (o InstanceSfsTurboOutput) ToInstanceSfsTurboOutputWithContext(ctx context.Context) InstanceSfsTurboOutput
func (InstanceSfsTurboOutput) ToInstanceSfsTurboPtrOutput ¶
func (o InstanceSfsTurboOutput) ToInstanceSfsTurboPtrOutput() InstanceSfsTurboPtrOutput
func (InstanceSfsTurboOutput) ToInstanceSfsTurboPtrOutputWithContext ¶
func (o InstanceSfsTurboOutput) ToInstanceSfsTurboPtrOutputWithContext(ctx context.Context) InstanceSfsTurboPtrOutput
func (InstanceSfsTurboOutput) Type ¶
func (o InstanceSfsTurboOutput) Type() pulumi.StringPtrOutput
Specifies the type of SFS turbo. Changing this creates a new instance.
type InstanceSfsTurboPtrInput ¶
type InstanceSfsTurboPtrInput interface { pulumi.Input ToInstanceSfsTurboPtrOutput() InstanceSfsTurboPtrOutput ToInstanceSfsTurboPtrOutputWithContext(context.Context) InstanceSfsTurboPtrOutput }
InstanceSfsTurboPtrInput is an input type that accepts InstanceSfsTurboArgs, InstanceSfsTurboPtr and InstanceSfsTurboPtrOutput values. You can construct a concrete instance of `InstanceSfsTurboPtrInput` via:
InstanceSfsTurboArgs{...} or: nil
func InstanceSfsTurboPtr ¶
func InstanceSfsTurboPtr(v *InstanceSfsTurboArgs) InstanceSfsTurboPtrInput
type InstanceSfsTurboPtrOutput ¶
type InstanceSfsTurboPtrOutput struct{ *pulumi.OutputState }
func (InstanceSfsTurboPtrOutput) AvailabilityZone ¶
func (o InstanceSfsTurboPtrOutput) AvailabilityZone() pulumi.StringPtrOutput
Specifies the availability zone in which to create the kafka. The list must contain one or more than three availability zone. Please following [reference](https://developer.huaweicloud.com/en-us/endpoint/?all) for the values. Changing this creates a new instance.
func (InstanceSfsTurboPtrOutput) Elem ¶
func (o InstanceSfsTurboPtrOutput) Elem() InstanceSfsTurboOutput
func (InstanceSfsTurboPtrOutput) ElementType ¶
func (InstanceSfsTurboPtrOutput) ElementType() reflect.Type
func (InstanceSfsTurboPtrOutput) Flavor ¶
func (o InstanceSfsTurboPtrOutput) Flavor() pulumi.StringPtrOutput
Specifies the kafka flavor type. Changing this creates a new instance. + `c3.mini` : Mini type, the reference bandwidth is 100MB/s. + `c3.small.2` : Small type, the reference bandwidth is 300MB/s. + `c3.middle.2` : Middle type, the reference bandwidth is 600MB/s. + `c3.high.2` : High type, the reference bandwidth is 1200MB/s.
func (InstanceSfsTurboPtrOutput) ShareType ¶
func (o InstanceSfsTurboPtrOutput) ShareType() pulumi.StringPtrOutput
Specifies the share type of the SFS turbo. Changing this creates a new instance.
func (InstanceSfsTurboPtrOutput) ToInstanceSfsTurboPtrOutput ¶
func (o InstanceSfsTurboPtrOutput) ToInstanceSfsTurboPtrOutput() InstanceSfsTurboPtrOutput
func (InstanceSfsTurboPtrOutput) ToInstanceSfsTurboPtrOutputWithContext ¶
func (o InstanceSfsTurboPtrOutput) ToInstanceSfsTurboPtrOutputWithContext(ctx context.Context) InstanceSfsTurboPtrOutput
func (InstanceSfsTurboPtrOutput) Type ¶
func (o InstanceSfsTurboPtrOutput) Type() pulumi.StringPtrOutput
Specifies the type of SFS turbo. Changing this creates a new instance.
type InstanceState ¶
type InstanceState struct { // The agent addresses and port numbers on the user data plane of the BCS service. // * `peer_orgs/pvc_name` - The name of the PersistenetVolumeClaim (PVC) used by the peer. // * `peer_orgs/status` - The peer status. The value contains `IsCreating`, `IsUpgrading`, `Adding/IsScaling`, // `Isdeleting`, `Normal`, `AbNormal` and `Unknown`. // * `peer_orgs/status_detail` - The peer status in the format like `1/1`. The denominator is the total number of peers in // the organization, and the numerator is the number of normal peers. // * `peer_orgs/address` - The peer domain name or IP address of the cluster. // * `peer_orgs/address/domain_port` - The domain name address. // * `peer_orgs/address/ip_port` - The IP address. // * `kafka/name` - The Kafka instance name. AgentPortalAddresses pulumi.StringArrayInput // Specifies the configuration of block generation. The blockInfo object // structure is documented below. BlockInfo InstanceBlockInfoPtrInput // Specifies the blockchain type of the BCS instance. Valid values // are `private` and `union`. Default is `private`. Changing this will create a new instance. BlockchainType pulumi.StringPtrInput // Specifies the ID of the CCE cluster to attach to the BCS instance. The // BCS service needs to exclusively occupy the CCE cluster. Please make sure that the CCE cluster is not occupied before // deploying the BCS service. Changing this will create a new instance. CceClusterId pulumi.StringPtrInput // Specifies an array of one or more channels to attach to the BCS instance. If // omitted, the bcs instance will create a `channels` named `channel` by default. Changing this will create a new // instance. The channels object structure is documented below. Channels InstanceChannelArrayInput // The type of the cluster where the BCS service is deployed. ClusterType pulumi.StringPtrInput // Specifies the consensus algorithm used by the BCS instance. The valid // values of fabric 1.4 are `solo`, `kafka` and `SFLIC`, and the valid values of fabric 2.0 are `SFLIC` // and `etcdraft`. Changing this will create a new instance. Consensus pulumi.StringPtrInput // Specifies the NoSQL database used by BCS instance. If omitted, the bcs instance // will create a `goleveldb`(File Database) database by default. This field is required when databaseType is `couchdb`. // Changing this will create a new instance. The couchdb object structure is documented below. Couchdb InstanceCouchdbPtrInput // Whether the BCS instance is deployed across regions. CrossRegionSupport pulumi.BoolPtrInput // Specifies the type of the database used by the BCS service. // Valid values are `goleveldb` and `couchdb`. The default value is `goleveldb`. // If `couchdb` is used, specify the couchdb field. Changing this will create a new instance. DatabaseType pulumi.StringPtrInput // Specified whether to delete the associated OBS bucket when deleting BCS instance. // `deleteObs` is used to delete the OBS created by the BCS instance of the Kafka consensus strategy. Default is false. DeleteObs pulumi.BoolPtrInput // Specified whether to delete the associated SFS resources when deleting BCS // instance. Default is false. DeleteStorage pulumi.BoolPtrInput // Specifies Service edition of the BCS instance. Valid values are `1`, `2` and `4` // . Changing this will create a new instance. Edition pulumi.IntPtrInput // Specifies whether to use the EIP of the CCE to bind the BCS instance. // Changing this will create a new instance. Defalut is true. EipEnable pulumi.BoolPtrInput // Specifies the ID of the enterprise project that the BCS // instance belong to. Changing this will create a new instance. EnterpriseProjectId pulumi.StringPtrInput // Specifies version of fabric for the BCS instance. Valid values // are `1.4` and `2.0` // Changing this will create a new instance. FabricVersion pulumi.StringPtrInput // Specifies the kafka configuration for the BCS instance. Changing this will create // a new instance. The kafka object structure is documented below. Kafka InstanceKafkaPtrInput // Specifies the name of the channel. Changing this creates a new instance. Name pulumi.StringPtrInput // The version of an old BCS service. OldServiceVersion pulumi.StringPtrInput // Specifies the number of peers in the orderer organizaion. Changing this // will create a new instance. OrdererNodeNum pulumi.IntPtrInput // Specifies the storage capacity of peer organization. Changing this will // create a new instance. // + The minimum storage capacity of `efs` volume type is 500GB. OrgDiskSize pulumi.IntPtrInput // Specifies the password of the couch datebase. The password consists of 8 to // 26 characters and must consist at least three of following: uppercase letters, lowercase letters, digits, special // characters(!@$%^-_=+[{}]:,./?). Changing this creates a new instance. Password pulumi.StringPtrInput // Specifies an array of one or more Peer organizations to attach to the BCS // instance. Changing this will create a new instance. If omitted, the bcs instance will create a `peerOrgs` // named `organization` by default and the node count is 2. The peerOrgs object structure is documented below. PeerOrgs InstancePeerOrgArrayInput // The deployment type of the BCS instance. PurchaseType pulumi.StringPtrInput // Specifies the region in which to create the instance. If omitted, the // provider-level region will be used. Changing this will create a new instance. Region pulumi.StringPtrInput // Specified whether to add RESTful API support. Changing this will // create a new instance. RestfulApiSupport pulumi.BoolPtrInput // Whether rollback is supported when the BCS service fails to br upgraded. RollbackSupport pulumi.BoolPtrInput // Specifies the secutity mechanism used by the BCS instance. Valid // values are `ECDSA` and `SM2`(Chinese cryptographic algorithms, The basic and professional don't support this // algorithm). Default is `ECDSA`. Changing this will create a new instance. SecurityMechanism pulumi.StringPtrInput // Specifies the information about the SFS Turbo file system. Changing this will // create a new instance. The sfsTurbo object structure is documented below. SfsTurbo InstanceSfsTurboPtrInput // The status of the BCS instance. Status pulumi.StringPtrInput // Specified whether to add Trusted computing platform. Changing this will create // a new instance. Tc3Need pulumi.BoolPtrInput // The service version of the BCS instance. Version pulumi.StringPtrInput // Specifies the storage volume type to attach to each organization of the // BCS instance. Valid values are `nfs` (SFS) and `efs` (SFS Turbo). Changing this will create a new instance. VolumeType pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type