Documentation ¶
Index ¶
- type AccountsAccount
- type AccountsAccountAccountPrivilege
- type AccountsAccountAccountPrivilegeArgs
- func (AccountsAccountAccountPrivilegeArgs) ElementType() reflect.Type
- func (i AccountsAccountAccountPrivilegeArgs) ToAccountsAccountAccountPrivilegeOutput() AccountsAccountAccountPrivilegeOutput
- func (i AccountsAccountAccountPrivilegeArgs) ToAccountsAccountAccountPrivilegeOutputWithContext(ctx context.Context) AccountsAccountAccountPrivilegeOutput
- type AccountsAccountAccountPrivilegeArray
- func (AccountsAccountAccountPrivilegeArray) ElementType() reflect.Type
- func (i AccountsAccountAccountPrivilegeArray) ToAccountsAccountAccountPrivilegeArrayOutput() AccountsAccountAccountPrivilegeArrayOutput
- func (i AccountsAccountAccountPrivilegeArray) ToAccountsAccountAccountPrivilegeArrayOutputWithContext(ctx context.Context) AccountsAccountAccountPrivilegeArrayOutput
- type AccountsAccountAccountPrivilegeArrayInput
- type AccountsAccountAccountPrivilegeArrayOutput
- func (AccountsAccountAccountPrivilegeArrayOutput) ElementType() reflect.Type
- func (o AccountsAccountAccountPrivilegeArrayOutput) Index(i pulumi.IntInput) AccountsAccountAccountPrivilegeOutput
- func (o AccountsAccountAccountPrivilegeArrayOutput) ToAccountsAccountAccountPrivilegeArrayOutput() AccountsAccountAccountPrivilegeArrayOutput
- func (o AccountsAccountAccountPrivilegeArrayOutput) ToAccountsAccountAccountPrivilegeArrayOutputWithContext(ctx context.Context) AccountsAccountAccountPrivilegeArrayOutput
- type AccountsAccountAccountPrivilegeInput
- type AccountsAccountAccountPrivilegeOutput
- func (o AccountsAccountAccountPrivilegeOutput) DbName() pulumi.StringOutput
- func (AccountsAccountAccountPrivilegeOutput) ElementType() reflect.Type
- func (o AccountsAccountAccountPrivilegeOutput) RoleName() pulumi.StringOutput
- func (o AccountsAccountAccountPrivilegeOutput) ToAccountsAccountAccountPrivilegeOutput() AccountsAccountAccountPrivilegeOutput
- func (o AccountsAccountAccountPrivilegeOutput) ToAccountsAccountAccountPrivilegeOutputWithContext(ctx context.Context) AccountsAccountAccountPrivilegeOutput
- type AccountsAccountArgs
- type AccountsAccountArray
- type AccountsAccountArrayInput
- type AccountsAccountArrayOutput
- func (AccountsAccountArrayOutput) ElementType() reflect.Type
- func (o AccountsAccountArrayOutput) Index(i pulumi.IntInput) AccountsAccountOutput
- func (o AccountsAccountArrayOutput) ToAccountsAccountArrayOutput() AccountsAccountArrayOutput
- func (o AccountsAccountArrayOutput) ToAccountsAccountArrayOutputWithContext(ctx context.Context) AccountsAccountArrayOutput
- type AccountsAccountInput
- type AccountsAccountOutput
- func (o AccountsAccountOutput) AccountName() pulumi.StringOutput
- func (o AccountsAccountOutput) AccountPrivileges() AccountsAccountAccountPrivilegeArrayOutput
- func (o AccountsAccountOutput) AccountType() pulumi.StringOutput
- func (AccountsAccountOutput) ElementType() reflect.Type
- func (o AccountsAccountOutput) ToAccountsAccountOutput() AccountsAccountOutput
- func (o AccountsAccountOutput) ToAccountsAccountOutputWithContext(ctx context.Context) AccountsAccountOutput
- type AccountsArgs
- type AccountsOutputArgs
- type AccountsResult
- type AccountsResultOutput
- func (o AccountsResultOutput) AccountName() pulumi.StringPtrOutput
- func (o AccountsResultOutput) Accounts() AccountsAccountArrayOutput
- func (AccountsResultOutput) ElementType() reflect.Type
- func (o AccountsResultOutput) Id() pulumi.StringOutput
- func (o AccountsResultOutput) InstanceId() pulumi.StringOutput
- func (o AccountsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o AccountsResultOutput) ToAccountsResultOutput() AccountsResultOutput
- func (o AccountsResultOutput) ToAccountsResultOutputWithContext(ctx context.Context) AccountsResultOutput
- func (o AccountsResultOutput) TotalCount() pulumi.IntOutput
- type Endpoint
- type EndpointArgs
- type EndpointArray
- type EndpointArrayInput
- type EndpointArrayOutput
- type EndpointInput
- type EndpointMap
- type EndpointMapInput
- type EndpointMapOutput
- type EndpointOutput
- func (o EndpointOutput) EipIds() pulumi.StringArrayOutput
- func (EndpointOutput) ElementType() reflect.Type
- func (o EndpointOutput) EndpointId() pulumi.StringOutput
- func (o EndpointOutput) InstanceId() pulumi.StringOutput
- func (o EndpointOutput) MongosNodeIds() pulumi.StringArrayOutput
- func (o EndpointOutput) NetworkType() pulumi.StringPtrOutput
- func (o EndpointOutput) ObjectId() pulumi.StringOutput
- func (o EndpointOutput) ToEndpointOutput() EndpointOutput
- func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
- type EndpointState
- type EndpointsArgs
- type EndpointsEndpoint
- type EndpointsEndpointArgs
- type EndpointsEndpointArray
- type EndpointsEndpointArrayInput
- type EndpointsEndpointArrayOutput
- func (EndpointsEndpointArrayOutput) ElementType() reflect.Type
- func (o EndpointsEndpointArrayOutput) Index(i pulumi.IntInput) EndpointsEndpointOutput
- func (o EndpointsEndpointArrayOutput) ToEndpointsEndpointArrayOutput() EndpointsEndpointArrayOutput
- func (o EndpointsEndpointArrayOutput) ToEndpointsEndpointArrayOutputWithContext(ctx context.Context) EndpointsEndpointArrayOutput
- type EndpointsEndpointDbAddress
- type EndpointsEndpointDbAddressArgs
- func (EndpointsEndpointDbAddressArgs) ElementType() reflect.Type
- func (i EndpointsEndpointDbAddressArgs) ToEndpointsEndpointDbAddressOutput() EndpointsEndpointDbAddressOutput
- func (i EndpointsEndpointDbAddressArgs) ToEndpointsEndpointDbAddressOutputWithContext(ctx context.Context) EndpointsEndpointDbAddressOutput
- type EndpointsEndpointDbAddressArray
- func (EndpointsEndpointDbAddressArray) ElementType() reflect.Type
- func (i EndpointsEndpointDbAddressArray) ToEndpointsEndpointDbAddressArrayOutput() EndpointsEndpointDbAddressArrayOutput
- func (i EndpointsEndpointDbAddressArray) ToEndpointsEndpointDbAddressArrayOutputWithContext(ctx context.Context) EndpointsEndpointDbAddressArrayOutput
- type EndpointsEndpointDbAddressArrayInput
- type EndpointsEndpointDbAddressArrayOutput
- func (EndpointsEndpointDbAddressArrayOutput) ElementType() reflect.Type
- func (o EndpointsEndpointDbAddressArrayOutput) Index(i pulumi.IntInput) EndpointsEndpointDbAddressOutput
- func (o EndpointsEndpointDbAddressArrayOutput) ToEndpointsEndpointDbAddressArrayOutput() EndpointsEndpointDbAddressArrayOutput
- func (o EndpointsEndpointDbAddressArrayOutput) ToEndpointsEndpointDbAddressArrayOutputWithContext(ctx context.Context) EndpointsEndpointDbAddressArrayOutput
- type EndpointsEndpointDbAddressInput
- type EndpointsEndpointDbAddressOutput
- func (o EndpointsEndpointDbAddressOutput) AddressDomain() pulumi.StringOutput
- func (o EndpointsEndpointDbAddressOutput) AddressIp() pulumi.StringOutput
- func (o EndpointsEndpointDbAddressOutput) AddressPort() pulumi.StringOutput
- func (o EndpointsEndpointDbAddressOutput) AddressType() pulumi.StringOutput
- func (o EndpointsEndpointDbAddressOutput) EipId() pulumi.StringOutput
- func (EndpointsEndpointDbAddressOutput) ElementType() reflect.Type
- func (o EndpointsEndpointDbAddressOutput) NodeId() pulumi.StringOutput
- func (o EndpointsEndpointDbAddressOutput) ToEndpointsEndpointDbAddressOutput() EndpointsEndpointDbAddressOutput
- func (o EndpointsEndpointDbAddressOutput) ToEndpointsEndpointDbAddressOutputWithContext(ctx context.Context) EndpointsEndpointDbAddressOutput
- type EndpointsEndpointInput
- type EndpointsEndpointOutput
- func (o EndpointsEndpointOutput) DbAddresses() EndpointsEndpointDbAddressArrayOutput
- func (EndpointsEndpointOutput) ElementType() reflect.Type
- func (o EndpointsEndpointOutput) EndpointId() pulumi.StringOutput
- func (o EndpointsEndpointOutput) EndpointStr() pulumi.StringOutput
- func (o EndpointsEndpointOutput) EndpointType() pulumi.StringOutput
- func (o EndpointsEndpointOutput) NetworkType() pulumi.StringOutput
- func (o EndpointsEndpointOutput) ObjectId() pulumi.StringOutput
- func (o EndpointsEndpointOutput) SubnetId() pulumi.StringOutput
- func (o EndpointsEndpointOutput) ToEndpointsEndpointOutput() EndpointsEndpointOutput
- func (o EndpointsEndpointOutput) ToEndpointsEndpointOutputWithContext(ctx context.Context) EndpointsEndpointOutput
- func (o EndpointsEndpointOutput) VpcId() pulumi.StringOutput
- type EndpointsOutputArgs
- type EndpointsResult
- type EndpointsResultOutput
- func (EndpointsResultOutput) ElementType() reflect.Type
- func (o EndpointsResultOutput) Endpoints() EndpointsEndpointArrayOutput
- func (o EndpointsResultOutput) Id() pulumi.StringOutput
- func (o EndpointsResultOutput) InstanceId() pulumi.StringPtrOutput
- func (o EndpointsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o EndpointsResultOutput) ToEndpointsResultOutput() EndpointsResultOutput
- func (o EndpointsResultOutput) ToEndpointsResultOutputWithContext(ctx context.Context) EndpointsResultOutput
- func (o EndpointsResultOutput) TotalCount() pulumi.IntOutput
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceMongo
- type InstanceMongoArgs
- type InstanceMongoArray
- type InstanceMongoArrayInput
- type InstanceMongoArrayOutput
- func (InstanceMongoArrayOutput) ElementType() reflect.Type
- func (o InstanceMongoArrayOutput) Index(i pulumi.IntInput) InstanceMongoOutput
- func (o InstanceMongoArrayOutput) ToInstanceMongoArrayOutput() InstanceMongoArrayOutput
- func (o InstanceMongoArrayOutput) ToInstanceMongoArrayOutputWithContext(ctx context.Context) InstanceMongoArrayOutput
- type InstanceMongoInput
- type InstanceMongoOutput
- func (InstanceMongoOutput) ElementType() reflect.Type
- func (o InstanceMongoOutput) MongosNodeId() pulumi.StringPtrOutput
- func (o InstanceMongoOutput) NodeSpec() pulumi.StringPtrOutput
- func (o InstanceMongoOutput) NodeStatus() pulumi.StringPtrOutput
- func (o InstanceMongoOutput) ToInstanceMongoOutput() InstanceMongoOutput
- func (o InstanceMongoOutput) ToInstanceMongoOutputWithContext(ctx context.Context) InstanceMongoOutput
- type InstanceOutput
- func (o InstanceOutput) AutoRenew() pulumi.BoolOutput
- func (o InstanceOutput) ChargeType() pulumi.StringOutput
- func (o InstanceOutput) ConfigServersId() pulumi.StringOutput
- func (o InstanceOutput) DbEngineVersion() pulumi.StringOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) InstanceName() pulumi.StringOutput
- func (o InstanceOutput) InstanceType() pulumi.StringOutput
- func (o InstanceOutput) Mongos() InstanceMongoArrayOutput
- func (o InstanceOutput) MongosId() pulumi.StringOutput
- func (o InstanceOutput) MongosNodeNumber() pulumi.IntPtrOutput
- func (o InstanceOutput) MongosNodeSpec() pulumi.StringPtrOutput
- func (o InstanceOutput) NodeSpec() pulumi.StringOutput
- func (o InstanceOutput) Period() pulumi.IntOutput
- func (o InstanceOutput) PeriodUnit() pulumi.StringOutput
- func (o InstanceOutput) ProjectName() pulumi.StringOutput
- func (o InstanceOutput) ShardNumber() pulumi.IntPtrOutput
- func (o InstanceOutput) Shards() InstanceShardArrayOutput
- func (o InstanceOutput) StorageSpaceGb() pulumi.IntOutput
- func (o InstanceOutput) SubnetId() pulumi.StringOutput
- func (o InstanceOutput) SuperAccountPassword() pulumi.StringPtrOutput
- func (o InstanceOutput) Tags() InstanceTagArrayOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) VpcId() pulumi.StringOutput
- func (o InstanceOutput) ZoneId() pulumi.StringOutput
- type InstanceParameter
- type InstanceParameterArgs
- type InstanceParameterArray
- type InstanceParameterArrayInput
- type InstanceParameterArrayOutput
- func (InstanceParameterArrayOutput) ElementType() reflect.Type
- func (o InstanceParameterArrayOutput) Index(i pulumi.IntInput) InstanceParameterOutput
- func (o InstanceParameterArrayOutput) ToInstanceParameterArrayOutput() InstanceParameterArrayOutput
- func (o InstanceParameterArrayOutput) ToInstanceParameterArrayOutputWithContext(ctx context.Context) InstanceParameterArrayOutput
- type InstanceParameterInput
- type InstanceParameterLogsArgs
- type InstanceParameterLogsOutputArgs
- type InstanceParameterLogsParameterChangeLogs
- type InstanceParameterLogsParameterChangeLogsArgs
- func (InstanceParameterLogsParameterChangeLogsArgs) ElementType() reflect.Type
- func (i InstanceParameterLogsParameterChangeLogsArgs) ToInstanceParameterLogsParameterChangeLogsOutput() InstanceParameterLogsParameterChangeLogsOutput
- func (i InstanceParameterLogsParameterChangeLogsArgs) ToInstanceParameterLogsParameterChangeLogsOutputWithContext(ctx context.Context) InstanceParameterLogsParameterChangeLogsOutput
- type InstanceParameterLogsParameterChangeLogsInput
- type InstanceParameterLogsParameterChangeLogsOutput
- func (InstanceParameterLogsParameterChangeLogsOutput) ElementType() reflect.Type
- func (o InstanceParameterLogsParameterChangeLogsOutput) ModifyTime() pulumi.StringOutput
- func (o InstanceParameterLogsParameterChangeLogsOutput) NewParameterValue() pulumi.StringOutput
- func (o InstanceParameterLogsParameterChangeLogsOutput) OldParameterValue() pulumi.StringOutput
- func (o InstanceParameterLogsParameterChangeLogsOutput) ParameterName() pulumi.StringOutput
- func (o InstanceParameterLogsParameterChangeLogsOutput) ParameterRole() pulumi.StringOutput
- func (o InstanceParameterLogsParameterChangeLogsOutput) ParameterStatus() pulumi.StringOutput
- func (o InstanceParameterLogsParameterChangeLogsOutput) ToInstanceParameterLogsParameterChangeLogsOutput() InstanceParameterLogsParameterChangeLogsOutput
- func (o InstanceParameterLogsParameterChangeLogsOutput) ToInstanceParameterLogsParameterChangeLogsOutputWithContext(ctx context.Context) InstanceParameterLogsParameterChangeLogsOutput
- type InstanceParameterLogsResult
- type InstanceParameterLogsResultOutput
- func (InstanceParameterLogsResultOutput) ElementType() reflect.Type
- func (o InstanceParameterLogsResultOutput) EndTime() pulumi.StringOutput
- func (o InstanceParameterLogsResultOutput) Id() pulumi.StringOutput
- func (o InstanceParameterLogsResultOutput) InstanceId() pulumi.StringOutput
- func (o InstanceParameterLogsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o InstanceParameterLogsResultOutput) ParameterChangeLogs() InstanceParameterLogsParameterChangeLogsOutput
- func (o InstanceParameterLogsResultOutput) StartTime() pulumi.StringOutput
- func (o InstanceParameterLogsResultOutput) ToInstanceParameterLogsResultOutput() InstanceParameterLogsResultOutput
- func (o InstanceParameterLogsResultOutput) ToInstanceParameterLogsResultOutputWithContext(ctx context.Context) InstanceParameterLogsResultOutput
- func (o InstanceParameterLogsResultOutput) TotalCount() pulumi.IntOutput
- type InstanceParameterMap
- type InstanceParameterMapInput
- type InstanceParameterMapOutput
- func (InstanceParameterMapOutput) ElementType() reflect.Type
- func (o InstanceParameterMapOutput) MapIndex(k pulumi.StringInput) InstanceParameterOutput
- func (o InstanceParameterMapOutput) ToInstanceParameterMapOutput() InstanceParameterMapOutput
- func (o InstanceParameterMapOutput) ToInstanceParameterMapOutputWithContext(ctx context.Context) InstanceParameterMapOutput
- type InstanceParameterOutput
- func (InstanceParameterOutput) ElementType() reflect.Type
- func (o InstanceParameterOutput) InstanceId() pulumi.StringOutput
- func (o InstanceParameterOutput) ParameterName() pulumi.StringOutput
- func (o InstanceParameterOutput) ParameterRole() pulumi.StringOutput
- func (o InstanceParameterOutput) ParameterValue() pulumi.StringOutput
- func (o InstanceParameterOutput) ToInstanceParameterOutput() InstanceParameterOutput
- func (o InstanceParameterOutput) ToInstanceParameterOutputWithContext(ctx context.Context) InstanceParameterOutput
- type InstanceParameterState
- type InstanceParametersArgs
- type InstanceParametersInstanceParameter
- type InstanceParametersInstanceParameterArgs
- func (InstanceParametersInstanceParameterArgs) ElementType() reflect.Type
- func (i InstanceParametersInstanceParameterArgs) ToInstanceParametersInstanceParameterOutput() InstanceParametersInstanceParameterOutput
- func (i InstanceParametersInstanceParameterArgs) ToInstanceParametersInstanceParameterOutputWithContext(ctx context.Context) InstanceParametersInstanceParameterOutput
- type InstanceParametersInstanceParameterArray
- func (InstanceParametersInstanceParameterArray) ElementType() reflect.Type
- func (i InstanceParametersInstanceParameterArray) ToInstanceParametersInstanceParameterArrayOutput() InstanceParametersInstanceParameterArrayOutput
- func (i InstanceParametersInstanceParameterArray) ToInstanceParametersInstanceParameterArrayOutputWithContext(ctx context.Context) InstanceParametersInstanceParameterArrayOutput
- type InstanceParametersInstanceParameterArrayInput
- type InstanceParametersInstanceParameterArrayOutput
- func (InstanceParametersInstanceParameterArrayOutput) ElementType() reflect.Type
- func (o InstanceParametersInstanceParameterArrayOutput) Index(i pulumi.IntInput) InstanceParametersInstanceParameterOutput
- func (o InstanceParametersInstanceParameterArrayOutput) ToInstanceParametersInstanceParameterArrayOutput() InstanceParametersInstanceParameterArrayOutput
- func (o InstanceParametersInstanceParameterArrayOutput) ToInstanceParametersInstanceParameterArrayOutputWithContext(ctx context.Context) InstanceParametersInstanceParameterArrayOutput
- type InstanceParametersInstanceParameterInput
- type InstanceParametersInstanceParameterOutput
- func (o InstanceParametersInstanceParameterOutput) CheckingCode() pulumi.StringOutput
- func (InstanceParametersInstanceParameterOutput) ElementType() reflect.Type
- func (o InstanceParametersInstanceParameterOutput) ForceModify() pulumi.BoolOutput
- func (o InstanceParametersInstanceParameterOutput) ForceRestart() pulumi.BoolOutput
- func (o InstanceParametersInstanceParameterOutput) ParameterDefaultValue() pulumi.StringOutput
- func (o InstanceParametersInstanceParameterOutput) ParameterDescription() pulumi.StringOutput
- func (o InstanceParametersInstanceParameterOutput) ParameterName() pulumi.StringOutput
- func (o InstanceParametersInstanceParameterOutput) ParameterRole() pulumi.StringOutput
- func (o InstanceParametersInstanceParameterOutput) ParameterType() pulumi.StringOutput
- func (o InstanceParametersInstanceParameterOutput) ParameterValue() pulumi.StringOutput
- func (o InstanceParametersInstanceParameterOutput) ToInstanceParametersInstanceParameterOutput() InstanceParametersInstanceParameterOutput
- func (o InstanceParametersInstanceParameterOutput) ToInstanceParametersInstanceParameterOutputWithContext(ctx context.Context) InstanceParametersInstanceParameterOutput
- type InstanceParametersOutputArgs
- type InstanceParametersParameter
- type InstanceParametersParameterArgs
- func (InstanceParametersParameterArgs) ElementType() reflect.Type
- func (i InstanceParametersParameterArgs) ToInstanceParametersParameterOutput() InstanceParametersParameterOutput
- func (i InstanceParametersParameterArgs) ToInstanceParametersParameterOutputWithContext(ctx context.Context) InstanceParametersParameterOutput
- type InstanceParametersParameterArray
- func (InstanceParametersParameterArray) ElementType() reflect.Type
- func (i InstanceParametersParameterArray) ToInstanceParametersParameterArrayOutput() InstanceParametersParameterArrayOutput
- func (i InstanceParametersParameterArray) ToInstanceParametersParameterArrayOutputWithContext(ctx context.Context) InstanceParametersParameterArrayOutput
- type InstanceParametersParameterArrayInput
- type InstanceParametersParameterArrayOutput
- func (InstanceParametersParameterArrayOutput) ElementType() reflect.Type
- func (o InstanceParametersParameterArrayOutput) Index(i pulumi.IntInput) InstanceParametersParameterOutput
- func (o InstanceParametersParameterArrayOutput) ToInstanceParametersParameterArrayOutput() InstanceParametersParameterArrayOutput
- func (o InstanceParametersParameterArrayOutput) ToInstanceParametersParameterArrayOutputWithContext(ctx context.Context) InstanceParametersParameterArrayOutput
- type InstanceParametersParameterInput
- type InstanceParametersParameterInstanceParameter
- type InstanceParametersParameterInstanceParameterArgs
- func (InstanceParametersParameterInstanceParameterArgs) ElementType() reflect.Type
- func (i InstanceParametersParameterInstanceParameterArgs) ToInstanceParametersParameterInstanceParameterOutput() InstanceParametersParameterInstanceParameterOutput
- func (i InstanceParametersParameterInstanceParameterArgs) ToInstanceParametersParameterInstanceParameterOutputWithContext(ctx context.Context) InstanceParametersParameterInstanceParameterOutput
- type InstanceParametersParameterInstanceParameterArray
- func (InstanceParametersParameterInstanceParameterArray) ElementType() reflect.Type
- func (i InstanceParametersParameterInstanceParameterArray) ToInstanceParametersParameterInstanceParameterArrayOutput() InstanceParametersParameterInstanceParameterArrayOutput
- func (i InstanceParametersParameterInstanceParameterArray) ToInstanceParametersParameterInstanceParameterArrayOutputWithContext(ctx context.Context) InstanceParametersParameterInstanceParameterArrayOutput
- type InstanceParametersParameterInstanceParameterArrayInput
- type InstanceParametersParameterInstanceParameterArrayOutput
- func (InstanceParametersParameterInstanceParameterArrayOutput) ElementType() reflect.Type
- func (o InstanceParametersParameterInstanceParameterArrayOutput) Index(i pulumi.IntInput) InstanceParametersParameterInstanceParameterOutput
- func (o InstanceParametersParameterInstanceParameterArrayOutput) ToInstanceParametersParameterInstanceParameterArrayOutput() InstanceParametersParameterInstanceParameterArrayOutput
- func (o InstanceParametersParameterInstanceParameterArrayOutput) ToInstanceParametersParameterInstanceParameterArrayOutputWithContext(ctx context.Context) InstanceParametersParameterInstanceParameterArrayOutput
- type InstanceParametersParameterInstanceParameterInput
- type InstanceParametersParameterInstanceParameterOutput
- func (o InstanceParametersParameterInstanceParameterOutput) CheckingCode() pulumi.StringOutput
- func (InstanceParametersParameterInstanceParameterOutput) ElementType() reflect.Type
- func (o InstanceParametersParameterInstanceParameterOutput) ForceModify() pulumi.BoolOutput
- func (o InstanceParametersParameterInstanceParameterOutput) ForceRestart() pulumi.BoolOutput
- func (o InstanceParametersParameterInstanceParameterOutput) ParameterDefaultValue() pulumi.StringOutput
- func (o InstanceParametersParameterInstanceParameterOutput) ParameterDescription() pulumi.StringOutput
- func (o InstanceParametersParameterInstanceParameterOutput) ParameterName() pulumi.StringOutput
- func (o InstanceParametersParameterInstanceParameterOutput) ParameterRole() pulumi.StringOutput
- func (o InstanceParametersParameterInstanceParameterOutput) ParameterType() pulumi.StringOutput
- func (o InstanceParametersParameterInstanceParameterOutput) ParameterValue() pulumi.StringOutput
- func (o InstanceParametersParameterInstanceParameterOutput) ToInstanceParametersParameterInstanceParameterOutput() InstanceParametersParameterInstanceParameterOutput
- func (o InstanceParametersParameterInstanceParameterOutput) ToInstanceParametersParameterInstanceParameterOutputWithContext(ctx context.Context) InstanceParametersParameterInstanceParameterOutput
- type InstanceParametersParameterOutput
- func (o InstanceParametersParameterOutput) DbEngine() pulumi.StringOutput
- func (o InstanceParametersParameterOutput) DbEngineVersion() pulumi.StringOutput
- func (InstanceParametersParameterOutput) ElementType() reflect.Type
- func (o InstanceParametersParameterOutput) InstanceId() pulumi.StringOutput
- func (o InstanceParametersParameterOutput) InstanceParameters() InstanceParametersParameterInstanceParameterArrayOutput
- func (o InstanceParametersParameterOutput) ToInstanceParametersParameterOutput() InstanceParametersParameterOutput
- func (o InstanceParametersParameterOutput) ToInstanceParametersParameterOutputWithContext(ctx context.Context) InstanceParametersParameterOutput
- func (o InstanceParametersParameterOutput) Total() pulumi.StringOutput
- type InstanceParametersResult
- type InstanceParametersResultOutput
- func (InstanceParametersResultOutput) ElementType() reflect.Type
- func (o InstanceParametersResultOutput) Id() pulumi.StringOutput
- func (o InstanceParametersResultOutput) InstanceId() pulumi.StringOutput
- func (o InstanceParametersResultOutput) InstanceParameters() InstanceParametersInstanceParameterArrayOutput
- func (o InstanceParametersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o InstanceParametersResultOutput) ParameterNames() pulumi.StringPtrOutput
- func (o InstanceParametersResultOutput) ParameterRole() pulumi.StringPtrOutput
- func (o InstanceParametersResultOutput) Parameters() InstanceParametersParameterArrayOutputdeprecated
- func (o InstanceParametersResultOutput) ToInstanceParametersResultOutput() InstanceParametersResultOutput
- func (o InstanceParametersResultOutput) ToInstanceParametersResultOutputWithContext(ctx context.Context) InstanceParametersResultOutput
- func (o InstanceParametersResultOutput) TotalCount() pulumi.IntOutput
- type InstanceShard
- type InstanceShardArgs
- type InstanceShardArray
- type InstanceShardArrayInput
- type InstanceShardArrayOutput
- func (InstanceShardArrayOutput) ElementType() reflect.Type
- func (o InstanceShardArrayOutput) Index(i pulumi.IntInput) InstanceShardOutput
- func (o InstanceShardArrayOutput) ToInstanceShardArrayOutput() InstanceShardArrayOutput
- func (o InstanceShardArrayOutput) ToInstanceShardArrayOutputWithContext(ctx context.Context) InstanceShardArrayOutput
- type InstanceShardInput
- type InstanceShardOutput
- type InstanceState
- type InstanceTag
- type InstanceTagArgs
- type InstanceTagArray
- type InstanceTagArrayInput
- type InstanceTagArrayOutput
- func (InstanceTagArrayOutput) ElementType() reflect.Type
- func (o InstanceTagArrayOutput) Index(i pulumi.IntInput) InstanceTagOutput
- func (o InstanceTagArrayOutput) ToInstanceTagArrayOutput() InstanceTagArrayOutput
- func (o InstanceTagArrayOutput) ToInstanceTagArrayOutputWithContext(ctx context.Context) InstanceTagArrayOutput
- type InstanceTagInput
- type InstanceTagOutput
- func (InstanceTagOutput) ElementType() reflect.Type
- func (o InstanceTagOutput) Key() pulumi.StringOutput
- func (o InstanceTagOutput) ToInstanceTagOutput() InstanceTagOutput
- func (o InstanceTagOutput) ToInstanceTagOutputWithContext(ctx context.Context) InstanceTagOutput
- func (o InstanceTagOutput) Value() pulumi.StringOutput
- type InstancesArgs
- type InstancesInstance
- type InstancesInstanceArgs
- type InstancesInstanceArray
- type InstancesInstanceArrayInput
- type InstancesInstanceArrayOutput
- func (InstancesInstanceArrayOutput) ElementType() reflect.Type
- func (o InstancesInstanceArrayOutput) Index(i pulumi.IntInput) InstancesInstanceOutput
- func (o InstancesInstanceArrayOutput) ToInstancesInstanceArrayOutput() InstancesInstanceArrayOutput
- func (o InstancesInstanceArrayOutput) ToInstancesInstanceArrayOutputWithContext(ctx context.Context) InstancesInstanceArrayOutput
- type InstancesInstanceConfigServer
- type InstancesInstanceConfigServerArgs
- func (InstancesInstanceConfigServerArgs) ElementType() reflect.Type
- func (i InstancesInstanceConfigServerArgs) ToInstancesInstanceConfigServerOutput() InstancesInstanceConfigServerOutput
- func (i InstancesInstanceConfigServerArgs) ToInstancesInstanceConfigServerOutputWithContext(ctx context.Context) InstancesInstanceConfigServerOutput
- type InstancesInstanceConfigServerArray
- func (InstancesInstanceConfigServerArray) ElementType() reflect.Type
- func (i InstancesInstanceConfigServerArray) ToInstancesInstanceConfigServerArrayOutput() InstancesInstanceConfigServerArrayOutput
- func (i InstancesInstanceConfigServerArray) ToInstancesInstanceConfigServerArrayOutputWithContext(ctx context.Context) InstancesInstanceConfigServerArrayOutput
- type InstancesInstanceConfigServerArrayInput
- type InstancesInstanceConfigServerArrayOutput
- func (InstancesInstanceConfigServerArrayOutput) ElementType() reflect.Type
- func (o InstancesInstanceConfigServerArrayOutput) Index(i pulumi.IntInput) InstancesInstanceConfigServerOutput
- func (o InstancesInstanceConfigServerArrayOutput) ToInstancesInstanceConfigServerArrayOutput() InstancesInstanceConfigServerArrayOutput
- func (o InstancesInstanceConfigServerArrayOutput) ToInstancesInstanceConfigServerArrayOutputWithContext(ctx context.Context) InstancesInstanceConfigServerArrayOutput
- type InstancesInstanceConfigServerInput
- type InstancesInstanceConfigServerOutput
- func (o InstancesInstanceConfigServerOutput) ConfigServerNodeId() pulumi.StringOutput
- func (InstancesInstanceConfigServerOutput) ElementType() reflect.Type
- func (o InstancesInstanceConfigServerOutput) NodeRole() pulumi.StringOutput
- func (o InstancesInstanceConfigServerOutput) NodeStatus() pulumi.StringOutput
- func (o InstancesInstanceConfigServerOutput) ToInstancesInstanceConfigServerOutput() InstancesInstanceConfigServerOutput
- func (o InstancesInstanceConfigServerOutput) ToInstancesInstanceConfigServerOutputWithContext(ctx context.Context) InstancesInstanceConfigServerOutput
- func (o InstancesInstanceConfigServerOutput) TotalMemoryGb() pulumi.Float64Output
- func (o InstancesInstanceConfigServerOutput) TotalVcpu() pulumi.Float64Output
- func (o InstancesInstanceConfigServerOutput) UsedMemoryGb() pulumi.Float64Output
- func (o InstancesInstanceConfigServerOutput) UsedVcpu() pulumi.Float64Output
- func (o InstancesInstanceConfigServerOutput) ZoneId() pulumi.StringOutput
- type InstancesInstanceInput
- type InstancesInstanceMongo
- type InstancesInstanceMongoArgs
- type InstancesInstanceMongoArray
- func (InstancesInstanceMongoArray) ElementType() reflect.Type
- func (i InstancesInstanceMongoArray) ToInstancesInstanceMongoArrayOutput() InstancesInstanceMongoArrayOutput
- func (i InstancesInstanceMongoArray) ToInstancesInstanceMongoArrayOutputWithContext(ctx context.Context) InstancesInstanceMongoArrayOutput
- type InstancesInstanceMongoArrayInput
- type InstancesInstanceMongoArrayOutput
- func (InstancesInstanceMongoArrayOutput) ElementType() reflect.Type
- func (o InstancesInstanceMongoArrayOutput) Index(i pulumi.IntInput) InstancesInstanceMongoOutput
- func (o InstancesInstanceMongoArrayOutput) ToInstancesInstanceMongoArrayOutput() InstancesInstanceMongoArrayOutput
- func (o InstancesInstanceMongoArrayOutput) ToInstancesInstanceMongoArrayOutputWithContext(ctx context.Context) InstancesInstanceMongoArrayOutput
- type InstancesInstanceMongoInput
- type InstancesInstanceMongoOutput
- func (InstancesInstanceMongoOutput) ElementType() reflect.Type
- func (o InstancesInstanceMongoOutput) MongosNodeId() pulumi.StringOutput
- func (o InstancesInstanceMongoOutput) NodeSpec() pulumi.StringOutput
- func (o InstancesInstanceMongoOutput) NodeStatus() pulumi.StringOutput
- func (o InstancesInstanceMongoOutput) ToInstancesInstanceMongoOutput() InstancesInstanceMongoOutput
- func (o InstancesInstanceMongoOutput) ToInstancesInstanceMongoOutputWithContext(ctx context.Context) InstancesInstanceMongoOutput
- func (o InstancesInstanceMongoOutput) TotalMemoryGb() pulumi.Float64Output
- func (o InstancesInstanceMongoOutput) TotalVcpu() pulumi.Float64Output
- func (o InstancesInstanceMongoOutput) UsedMemoryGb() pulumi.Float64Output
- func (o InstancesInstanceMongoOutput) UsedVcpu() pulumi.Float64Output
- func (o InstancesInstanceMongoOutput) ZoneId() pulumi.StringOutput
- type InstancesInstanceNode
- type InstancesInstanceNodeArgs
- type InstancesInstanceNodeArray
- func (InstancesInstanceNodeArray) ElementType() reflect.Type
- func (i InstancesInstanceNodeArray) ToInstancesInstanceNodeArrayOutput() InstancesInstanceNodeArrayOutput
- func (i InstancesInstanceNodeArray) ToInstancesInstanceNodeArrayOutputWithContext(ctx context.Context) InstancesInstanceNodeArrayOutput
- type InstancesInstanceNodeArrayInput
- type InstancesInstanceNodeArrayOutput
- func (InstancesInstanceNodeArrayOutput) ElementType() reflect.Type
- func (o InstancesInstanceNodeArrayOutput) Index(i pulumi.IntInput) InstancesInstanceNodeOutput
- func (o InstancesInstanceNodeArrayOutput) ToInstancesInstanceNodeArrayOutput() InstancesInstanceNodeArrayOutput
- func (o InstancesInstanceNodeArrayOutput) ToInstancesInstanceNodeArrayOutputWithContext(ctx context.Context) InstancesInstanceNodeArrayOutput
- type InstancesInstanceNodeInput
- type InstancesInstanceNodeOutput
- func (InstancesInstanceNodeOutput) ElementType() reflect.Type
- func (o InstancesInstanceNodeOutput) NodeDelayTime() pulumi.IntOutput
- func (o InstancesInstanceNodeOutput) NodeId() pulumi.StringOutput
- func (o InstancesInstanceNodeOutput) NodeRole() pulumi.StringOutput
- func (o InstancesInstanceNodeOutput) NodeSpec() pulumi.StringOutput
- func (o InstancesInstanceNodeOutput) NodeStatus() pulumi.StringOutput
- func (o InstancesInstanceNodeOutput) ToInstancesInstanceNodeOutput() InstancesInstanceNodeOutput
- func (o InstancesInstanceNodeOutput) ToInstancesInstanceNodeOutputWithContext(ctx context.Context) InstancesInstanceNodeOutput
- func (o InstancesInstanceNodeOutput) TotalMemoryGb() pulumi.Float64Output
- func (o InstancesInstanceNodeOutput) TotalStorageGb() pulumi.Float64Output
- func (o InstancesInstanceNodeOutput) TotalVcpu() pulumi.Float64Output
- func (o InstancesInstanceNodeOutput) UsedMemoryGb() pulumi.Float64Output
- func (o InstancesInstanceNodeOutput) UsedStorageGb() pulumi.Float64Output
- func (o InstancesInstanceNodeOutput) UsedVcpu() pulumi.Float64Output
- func (o InstancesInstanceNodeOutput) ZoneId() pulumi.StringOutput
- type InstancesInstanceOutput
- func (o InstancesInstanceOutput) AutoRenew() pulumi.BoolOutput
- func (o InstancesInstanceOutput) ChargeStatus() pulumi.StringOutput
- func (o InstancesInstanceOutput) ChargeType() pulumi.StringOutput
- func (o InstancesInstanceOutput) ClosedTime() pulumi.StringOutput
- func (o InstancesInstanceOutput) ConfigServers() InstancesInstanceConfigServerArrayOutput
- func (o InstancesInstanceOutput) ConfigServersId() pulumi.StringOutput
- func (o InstancesInstanceOutput) CreateTime() pulumi.StringOutput
- func (o InstancesInstanceOutput) DbEngine() pulumi.StringOutput
- func (o InstancesInstanceOutput) DbEngineVersion() pulumi.StringOutput
- func (o InstancesInstanceOutput) DbEngineVersionStr() pulumi.StringOutput
- func (InstancesInstanceOutput) ElementType() reflect.Type
- func (o InstancesInstanceOutput) ExpiredTime() pulumi.StringOutput
- func (o InstancesInstanceOutput) InstanceId() pulumi.StringOutput
- func (o InstancesInstanceOutput) InstanceName() pulumi.StringOutput
- func (o InstancesInstanceOutput) InstanceStatus() pulumi.StringOutput
- func (o InstancesInstanceOutput) InstanceType() pulumi.StringOutput
- func (o InstancesInstanceOutput) Mongos() InstancesInstanceMongoArrayOutput
- func (o InstancesInstanceOutput) MongosId() pulumi.StringOutput
- func (o InstancesInstanceOutput) Nodes() InstancesInstanceNodeArrayOutput
- func (o InstancesInstanceOutput) ProjectName() pulumi.StringOutput
- func (o InstancesInstanceOutput) ReclaimTime() pulumi.StringOutput
- func (o InstancesInstanceOutput) Shards() InstancesInstanceShardArrayOutput
- func (o InstancesInstanceOutput) SslEnable() pulumi.BoolOutput
- func (o InstancesInstanceOutput) SslExpireTime() pulumi.StringOutput
- func (o InstancesInstanceOutput) SslIsValid() pulumi.BoolOutput
- func (o InstancesInstanceOutput) StorageType() pulumi.StringOutput
- func (o InstancesInstanceOutput) SubnetId() pulumi.StringOutput
- func (o InstancesInstanceOutput) Tags() InstancesInstanceTagArrayOutput
- func (o InstancesInstanceOutput) ToInstancesInstanceOutput() InstancesInstanceOutput
- func (o InstancesInstanceOutput) ToInstancesInstanceOutputWithContext(ctx context.Context) InstancesInstanceOutput
- func (o InstancesInstanceOutput) UpdateTime() pulumi.StringOutput
- func (o InstancesInstanceOutput) VpcId() pulumi.StringOutput
- func (o InstancesInstanceOutput) ZoneId() pulumi.StringOutput
- type InstancesInstanceShard
- type InstancesInstanceShardArgs
- type InstancesInstanceShardArray
- func (InstancesInstanceShardArray) ElementType() reflect.Type
- func (i InstancesInstanceShardArray) ToInstancesInstanceShardArrayOutput() InstancesInstanceShardArrayOutput
- func (i InstancesInstanceShardArray) ToInstancesInstanceShardArrayOutputWithContext(ctx context.Context) InstancesInstanceShardArrayOutput
- type InstancesInstanceShardArrayInput
- type InstancesInstanceShardArrayOutput
- func (InstancesInstanceShardArrayOutput) ElementType() reflect.Type
- func (o InstancesInstanceShardArrayOutput) Index(i pulumi.IntInput) InstancesInstanceShardOutput
- func (o InstancesInstanceShardArrayOutput) ToInstancesInstanceShardArrayOutput() InstancesInstanceShardArrayOutput
- func (o InstancesInstanceShardArrayOutput) ToInstancesInstanceShardArrayOutputWithContext(ctx context.Context) InstancesInstanceShardArrayOutput
- type InstancesInstanceShardInput
- type InstancesInstanceShardNode
- type InstancesInstanceShardNodeArgs
- func (InstancesInstanceShardNodeArgs) ElementType() reflect.Type
- func (i InstancesInstanceShardNodeArgs) ToInstancesInstanceShardNodeOutput() InstancesInstanceShardNodeOutput
- func (i InstancesInstanceShardNodeArgs) ToInstancesInstanceShardNodeOutputWithContext(ctx context.Context) InstancesInstanceShardNodeOutput
- type InstancesInstanceShardNodeArray
- func (InstancesInstanceShardNodeArray) ElementType() reflect.Type
- func (i InstancesInstanceShardNodeArray) ToInstancesInstanceShardNodeArrayOutput() InstancesInstanceShardNodeArrayOutput
- func (i InstancesInstanceShardNodeArray) ToInstancesInstanceShardNodeArrayOutputWithContext(ctx context.Context) InstancesInstanceShardNodeArrayOutput
- type InstancesInstanceShardNodeArrayInput
- type InstancesInstanceShardNodeArrayOutput
- func (InstancesInstanceShardNodeArrayOutput) ElementType() reflect.Type
- func (o InstancesInstanceShardNodeArrayOutput) Index(i pulumi.IntInput) InstancesInstanceShardNodeOutput
- func (o InstancesInstanceShardNodeArrayOutput) ToInstancesInstanceShardNodeArrayOutput() InstancesInstanceShardNodeArrayOutput
- func (o InstancesInstanceShardNodeArrayOutput) ToInstancesInstanceShardNodeArrayOutputWithContext(ctx context.Context) InstancesInstanceShardNodeArrayOutput
- type InstancesInstanceShardNodeInput
- type InstancesInstanceShardNodeOutput
- func (InstancesInstanceShardNodeOutput) ElementType() reflect.Type
- func (o InstancesInstanceShardNodeOutput) NodeDelayTime() pulumi.IntOutput
- func (o InstancesInstanceShardNodeOutput) NodeId() pulumi.StringOutput
- func (o InstancesInstanceShardNodeOutput) NodeRole() pulumi.StringOutput
- func (o InstancesInstanceShardNodeOutput) NodeSpec() pulumi.StringOutput
- func (o InstancesInstanceShardNodeOutput) NodeStatus() pulumi.StringOutput
- func (o InstancesInstanceShardNodeOutput) ToInstancesInstanceShardNodeOutput() InstancesInstanceShardNodeOutput
- func (o InstancesInstanceShardNodeOutput) ToInstancesInstanceShardNodeOutputWithContext(ctx context.Context) InstancesInstanceShardNodeOutput
- func (o InstancesInstanceShardNodeOutput) TotalMemoryGb() pulumi.Float64Output
- func (o InstancesInstanceShardNodeOutput) TotalStorageGb() pulumi.Float64Output
- func (o InstancesInstanceShardNodeOutput) TotalVcpu() pulumi.Float64Output
- func (o InstancesInstanceShardNodeOutput) UsedMemoryGb() pulumi.Float64Output
- func (o InstancesInstanceShardNodeOutput) UsedStorageGb() pulumi.Float64Output
- func (o InstancesInstanceShardNodeOutput) UsedVcpu() pulumi.Float64Output
- func (o InstancesInstanceShardNodeOutput) ZoneId() pulumi.StringOutput
- type InstancesInstanceShardOutput
- func (InstancesInstanceShardOutput) ElementType() reflect.Type
- func (o InstancesInstanceShardOutput) Nodes() InstancesInstanceShardNodeArrayOutput
- func (o InstancesInstanceShardOutput) ShardId() pulumi.StringOutput
- func (o InstancesInstanceShardOutput) ToInstancesInstanceShardOutput() InstancesInstanceShardOutput
- func (o InstancesInstanceShardOutput) ToInstancesInstanceShardOutputWithContext(ctx context.Context) InstancesInstanceShardOutput
- type InstancesInstanceTag
- type InstancesInstanceTagArgs
- type InstancesInstanceTagArray
- type InstancesInstanceTagArrayInput
- type InstancesInstanceTagArrayOutput
- func (InstancesInstanceTagArrayOutput) ElementType() reflect.Type
- func (o InstancesInstanceTagArrayOutput) Index(i pulumi.IntInput) InstancesInstanceTagOutput
- func (o InstancesInstanceTagArrayOutput) ToInstancesInstanceTagArrayOutput() InstancesInstanceTagArrayOutput
- func (o InstancesInstanceTagArrayOutput) ToInstancesInstanceTagArrayOutputWithContext(ctx context.Context) InstancesInstanceTagArrayOutput
- type InstancesInstanceTagInput
- type InstancesInstanceTagOutput
- func (InstancesInstanceTagOutput) ElementType() reflect.Type
- func (o InstancesInstanceTagOutput) Key() pulumi.StringOutput
- func (o InstancesInstanceTagOutput) ToInstancesInstanceTagOutput() InstancesInstanceTagOutput
- func (o InstancesInstanceTagOutput) ToInstancesInstanceTagOutputWithContext(ctx context.Context) InstancesInstanceTagOutput
- func (o InstancesInstanceTagOutput) Value() pulumi.StringOutput
- type InstancesOutputArgs
- type InstancesResult
- type InstancesResultOutput
- func (o InstancesResultOutput) CreateEndTime() pulumi.StringPtrOutput
- func (o InstancesResultOutput) CreateStartTime() pulumi.StringPtrOutput
- func (o InstancesResultOutput) DbEngine() pulumi.StringPtrOutput
- func (o InstancesResultOutput) DbEngineVersion() pulumi.StringPtrOutput
- func (InstancesResultOutput) ElementType() reflect.Type
- func (o InstancesResultOutput) Id() pulumi.StringOutput
- func (o InstancesResultOutput) InstanceId() pulumi.StringPtrOutput
- func (o InstancesResultOutput) InstanceName() pulumi.StringPtrOutput
- func (o InstancesResultOutput) InstanceStatus() pulumi.StringPtrOutput
- func (o InstancesResultOutput) InstanceType() pulumi.StringPtrOutput
- func (o InstancesResultOutput) Instances() InstancesInstanceArrayOutput
- func (o InstancesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o InstancesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o InstancesResultOutput) Tags() InstancesTagArrayOutput
- func (o InstancesResultOutput) ToInstancesResultOutput() InstancesResultOutput
- func (o InstancesResultOutput) ToInstancesResultOutputWithContext(ctx context.Context) InstancesResultOutput
- func (o InstancesResultOutput) TotalCount() pulumi.IntOutput
- func (o InstancesResultOutput) UpdateEndTime() pulumi.StringPtrOutput
- func (o InstancesResultOutput) UpdateStartTime() pulumi.StringPtrOutput
- func (o InstancesResultOutput) VpcId() pulumi.StringPtrOutput
- func (o InstancesResultOutput) ZoneId() pulumi.StringPtrOutput
- type InstancesTag
- type InstancesTagArgs
- type InstancesTagArray
- type InstancesTagArrayInput
- type InstancesTagArrayOutput
- func (InstancesTagArrayOutput) ElementType() reflect.Type
- func (o InstancesTagArrayOutput) Index(i pulumi.IntInput) InstancesTagOutput
- func (o InstancesTagArrayOutput) ToInstancesTagArrayOutput() InstancesTagArrayOutput
- func (o InstancesTagArrayOutput) ToInstancesTagArrayOutputWithContext(ctx context.Context) InstancesTagArrayOutput
- type InstancesTagInput
- type InstancesTagOutput
- func (InstancesTagOutput) ElementType() reflect.Type
- func (o InstancesTagOutput) Key() pulumi.StringOutput
- func (o InstancesTagOutput) ToInstancesTagOutput() InstancesTagOutput
- func (o InstancesTagOutput) ToInstancesTagOutputWithContext(ctx context.Context) InstancesTagOutput
- func (o InstancesTagOutput) Value() pulumi.StringOutput
- type MongoAllowList
- type MongoAllowListArgs
- type MongoAllowListArray
- type MongoAllowListArrayInput
- type MongoAllowListArrayOutput
- func (MongoAllowListArrayOutput) ElementType() reflect.Type
- func (o MongoAllowListArrayOutput) Index(i pulumi.IntInput) MongoAllowListOutput
- func (o MongoAllowListArrayOutput) ToMongoAllowListArrayOutput() MongoAllowListArrayOutput
- func (o MongoAllowListArrayOutput) ToMongoAllowListArrayOutputWithContext(ctx context.Context) MongoAllowListArrayOutput
- type MongoAllowListAssociate
- type MongoAllowListAssociateArgs
- type MongoAllowListAssociateArray
- func (MongoAllowListAssociateArray) ElementType() reflect.Type
- func (i MongoAllowListAssociateArray) ToMongoAllowListAssociateArrayOutput() MongoAllowListAssociateArrayOutput
- func (i MongoAllowListAssociateArray) ToMongoAllowListAssociateArrayOutputWithContext(ctx context.Context) MongoAllowListAssociateArrayOutput
- type MongoAllowListAssociateArrayInput
- type MongoAllowListAssociateArrayOutput
- func (MongoAllowListAssociateArrayOutput) ElementType() reflect.Type
- func (o MongoAllowListAssociateArrayOutput) Index(i pulumi.IntInput) MongoAllowListAssociateOutput
- func (o MongoAllowListAssociateArrayOutput) ToMongoAllowListAssociateArrayOutput() MongoAllowListAssociateArrayOutput
- func (o MongoAllowListAssociateArrayOutput) ToMongoAllowListAssociateArrayOutputWithContext(ctx context.Context) MongoAllowListAssociateArrayOutput
- type MongoAllowListAssociateInput
- type MongoAllowListAssociateMap
- func (MongoAllowListAssociateMap) ElementType() reflect.Type
- func (i MongoAllowListAssociateMap) ToMongoAllowListAssociateMapOutput() MongoAllowListAssociateMapOutput
- func (i MongoAllowListAssociateMap) ToMongoAllowListAssociateMapOutputWithContext(ctx context.Context) MongoAllowListAssociateMapOutput
- type MongoAllowListAssociateMapInput
- type MongoAllowListAssociateMapOutput
- func (MongoAllowListAssociateMapOutput) ElementType() reflect.Type
- func (o MongoAllowListAssociateMapOutput) MapIndex(k pulumi.StringInput) MongoAllowListAssociateOutput
- func (o MongoAllowListAssociateMapOutput) ToMongoAllowListAssociateMapOutput() MongoAllowListAssociateMapOutput
- func (o MongoAllowListAssociateMapOutput) ToMongoAllowListAssociateMapOutputWithContext(ctx context.Context) MongoAllowListAssociateMapOutput
- type MongoAllowListAssociateOutput
- func (o MongoAllowListAssociateOutput) AllowListId() pulumi.StringOutput
- func (MongoAllowListAssociateOutput) ElementType() reflect.Type
- func (o MongoAllowListAssociateOutput) InstanceId() pulumi.StringOutput
- func (o MongoAllowListAssociateOutput) ToMongoAllowListAssociateOutput() MongoAllowListAssociateOutput
- func (o MongoAllowListAssociateOutput) ToMongoAllowListAssociateOutputWithContext(ctx context.Context) MongoAllowListAssociateOutput
- type MongoAllowListAssociateState
- type MongoAllowListInput
- type MongoAllowListMap
- type MongoAllowListMapInput
- type MongoAllowListMapOutput
- func (MongoAllowListMapOutput) ElementType() reflect.Type
- func (o MongoAllowListMapOutput) MapIndex(k pulumi.StringInput) MongoAllowListOutput
- func (o MongoAllowListMapOutput) ToMongoAllowListMapOutput() MongoAllowListMapOutput
- func (o MongoAllowListMapOutput) ToMongoAllowListMapOutputWithContext(ctx context.Context) MongoAllowListMapOutput
- type MongoAllowListOutput
- func (o MongoAllowListOutput) AllowList() pulumi.StringOutput
- func (o MongoAllowListOutput) AllowListDesc() pulumi.StringOutput
- func (o MongoAllowListOutput) AllowListName() pulumi.StringOutput
- func (o MongoAllowListOutput) AllowListType() pulumi.StringPtrOutput
- func (MongoAllowListOutput) ElementType() reflect.Type
- func (o MongoAllowListOutput) ToMongoAllowListOutput() MongoAllowListOutput
- func (o MongoAllowListOutput) ToMongoAllowListOutputWithContext(ctx context.Context) MongoAllowListOutput
- type MongoAllowListState
- type MongoAllowListsAllowList
- type MongoAllowListsAllowListArgs
- func (MongoAllowListsAllowListArgs) ElementType() reflect.Type
- func (i MongoAllowListsAllowListArgs) ToMongoAllowListsAllowListOutput() MongoAllowListsAllowListOutput
- func (i MongoAllowListsAllowListArgs) ToMongoAllowListsAllowListOutputWithContext(ctx context.Context) MongoAllowListsAllowListOutput
- type MongoAllowListsAllowListArray
- func (MongoAllowListsAllowListArray) ElementType() reflect.Type
- func (i MongoAllowListsAllowListArray) ToMongoAllowListsAllowListArrayOutput() MongoAllowListsAllowListArrayOutput
- func (i MongoAllowListsAllowListArray) ToMongoAllowListsAllowListArrayOutputWithContext(ctx context.Context) MongoAllowListsAllowListArrayOutput
- type MongoAllowListsAllowListArrayInput
- type MongoAllowListsAllowListArrayOutput
- func (MongoAllowListsAllowListArrayOutput) ElementType() reflect.Type
- func (o MongoAllowListsAllowListArrayOutput) Index(i pulumi.IntInput) MongoAllowListsAllowListOutput
- func (o MongoAllowListsAllowListArrayOutput) ToMongoAllowListsAllowListArrayOutput() MongoAllowListsAllowListArrayOutput
- func (o MongoAllowListsAllowListArrayOutput) ToMongoAllowListsAllowListArrayOutputWithContext(ctx context.Context) MongoAllowListsAllowListArrayOutput
- type MongoAllowListsAllowListAssociatedInstance
- type MongoAllowListsAllowListAssociatedInstanceArgs
- func (MongoAllowListsAllowListAssociatedInstanceArgs) ElementType() reflect.Type
- func (i MongoAllowListsAllowListAssociatedInstanceArgs) ToMongoAllowListsAllowListAssociatedInstanceOutput() MongoAllowListsAllowListAssociatedInstanceOutput
- func (i MongoAllowListsAllowListAssociatedInstanceArgs) ToMongoAllowListsAllowListAssociatedInstanceOutputWithContext(ctx context.Context) MongoAllowListsAllowListAssociatedInstanceOutput
- type MongoAllowListsAllowListAssociatedInstanceArray
- func (MongoAllowListsAllowListAssociatedInstanceArray) ElementType() reflect.Type
- func (i MongoAllowListsAllowListAssociatedInstanceArray) ToMongoAllowListsAllowListAssociatedInstanceArrayOutput() MongoAllowListsAllowListAssociatedInstanceArrayOutput
- func (i MongoAllowListsAllowListAssociatedInstanceArray) ToMongoAllowListsAllowListAssociatedInstanceArrayOutputWithContext(ctx context.Context) MongoAllowListsAllowListAssociatedInstanceArrayOutput
- type MongoAllowListsAllowListAssociatedInstanceArrayInput
- type MongoAllowListsAllowListAssociatedInstanceArrayOutput
- func (MongoAllowListsAllowListAssociatedInstanceArrayOutput) ElementType() reflect.Type
- func (o MongoAllowListsAllowListAssociatedInstanceArrayOutput) Index(i pulumi.IntInput) MongoAllowListsAllowListAssociatedInstanceOutput
- func (o MongoAllowListsAllowListAssociatedInstanceArrayOutput) ToMongoAllowListsAllowListAssociatedInstanceArrayOutput() MongoAllowListsAllowListAssociatedInstanceArrayOutput
- func (o MongoAllowListsAllowListAssociatedInstanceArrayOutput) ToMongoAllowListsAllowListAssociatedInstanceArrayOutputWithContext(ctx context.Context) MongoAllowListsAllowListAssociatedInstanceArrayOutput
- type MongoAllowListsAllowListAssociatedInstanceInput
- type MongoAllowListsAllowListAssociatedInstanceOutput
- func (MongoAllowListsAllowListAssociatedInstanceOutput) ElementType() reflect.Type
- func (o MongoAllowListsAllowListAssociatedInstanceOutput) InstanceId() pulumi.StringOutput
- func (o MongoAllowListsAllowListAssociatedInstanceOutput) InstanceName() pulumi.StringOutput
- func (o MongoAllowListsAllowListAssociatedInstanceOutput) ToMongoAllowListsAllowListAssociatedInstanceOutput() MongoAllowListsAllowListAssociatedInstanceOutput
- func (o MongoAllowListsAllowListAssociatedInstanceOutput) ToMongoAllowListsAllowListAssociatedInstanceOutputWithContext(ctx context.Context) MongoAllowListsAllowListAssociatedInstanceOutput
- func (o MongoAllowListsAllowListAssociatedInstanceOutput) Vpc() pulumi.StringOutput
- type MongoAllowListsAllowListInput
- type MongoAllowListsAllowListOutput
- func (o MongoAllowListsAllowListOutput) AllowList() pulumi.StringOutput
- func (o MongoAllowListsAllowListOutput) AllowListDesc() pulumi.StringOutput
- func (o MongoAllowListsAllowListOutput) AllowListId() pulumi.StringOutput
- func (o MongoAllowListsAllowListOutput) AllowListIpNum() pulumi.IntOutput
- func (o MongoAllowListsAllowListOutput) AllowListName() pulumi.StringOutput
- func (o MongoAllowListsAllowListOutput) AllowListType() pulumi.StringOutput
- func (o MongoAllowListsAllowListOutput) AssociatedInstanceNum() pulumi.IntOutput
- func (o MongoAllowListsAllowListOutput) AssociatedInstances() MongoAllowListsAllowListAssociatedInstanceArrayOutput
- func (MongoAllowListsAllowListOutput) ElementType() reflect.Type
- func (o MongoAllowListsAllowListOutput) ToMongoAllowListsAllowListOutput() MongoAllowListsAllowListOutput
- func (o MongoAllowListsAllowListOutput) ToMongoAllowListsAllowListOutputWithContext(ctx context.Context) MongoAllowListsAllowListOutput
- type MongoAllowListsArgs
- type MongoAllowListsOutputArgs
- type MongoAllowListsResult
- type MongoAllowListsResultOutput
- func (o MongoAllowListsResultOutput) AllowListIds() pulumi.StringArrayOutput
- func (o MongoAllowListsResultOutput) AllowLists() MongoAllowListsAllowListArrayOutput
- func (MongoAllowListsResultOutput) ElementType() reflect.Type
- func (o MongoAllowListsResultOutput) Id() pulumi.StringOutput
- func (o MongoAllowListsResultOutput) InstanceId() pulumi.StringPtrOutput
- func (o MongoAllowListsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o MongoAllowListsResultOutput) RegionId() pulumi.StringOutput
- func (o MongoAllowListsResultOutput) ToMongoAllowListsResultOutput() MongoAllowListsResultOutput
- func (o MongoAllowListsResultOutput) ToMongoAllowListsResultOutputWithContext(ctx context.Context) MongoAllowListsResultOutput
- func (o MongoAllowListsResultOutput) TotalCount() pulumi.IntOutput
- type RegionsArgs
- type RegionsOutputArgs
- type RegionsRegion
- type RegionsRegionArgs
- type RegionsRegionArray
- type RegionsRegionArrayInput
- type RegionsRegionArrayOutput
- func (RegionsRegionArrayOutput) ElementType() reflect.Type
- func (o RegionsRegionArrayOutput) Index(i pulumi.IntInput) RegionsRegionOutput
- func (o RegionsRegionArrayOutput) ToRegionsRegionArrayOutput() RegionsRegionArrayOutput
- func (o RegionsRegionArrayOutput) ToRegionsRegionArrayOutputWithContext(ctx context.Context) RegionsRegionArrayOutput
- type RegionsRegionInput
- type RegionsRegionOutput
- func (RegionsRegionOutput) ElementType() reflect.Type
- func (o RegionsRegionOutput) RegionId() pulumi.StringOutput
- func (o RegionsRegionOutput) RegionName() pulumi.StringOutput
- func (o RegionsRegionOutput) ToRegionsRegionOutput() RegionsRegionOutput
- func (o RegionsRegionOutput) ToRegionsRegionOutputWithContext(ctx context.Context) RegionsRegionOutput
- type RegionsResult
- type RegionsResultOutput
- func (RegionsResultOutput) ElementType() reflect.Type
- func (o RegionsResultOutput) Id() pulumi.StringOutput
- func (o RegionsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o RegionsResultOutput) Regions() RegionsRegionArrayOutput
- func (o RegionsResultOutput) ToRegionsResultOutput() RegionsResultOutput
- func (o RegionsResultOutput) ToRegionsResultOutputWithContext(ctx context.Context) RegionsResultOutput
- func (o RegionsResultOutput) TotalCount() pulumi.IntOutput
- type SpecsArgs
- type SpecsOutputArgs
- type SpecsResult
- type SpecsResultOutput
- func (SpecsResultOutput) ElementType() reflect.Type
- func (o SpecsResultOutput) Id() pulumi.StringOutput
- func (o SpecsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o SpecsResultOutput) RegionId() pulumi.StringPtrOutput
- func (o SpecsResultOutput) Specs() SpecsSpecsOutput
- func (o SpecsResultOutput) ToSpecsResultOutput() SpecsResultOutput
- func (o SpecsResultOutput) ToSpecsResultOutputWithContext(ctx context.Context) SpecsResultOutput
- func (o SpecsResultOutput) TotalCount() pulumi.IntOutput
- type SpecsSpecs
- type SpecsSpecsArgs
- type SpecsSpecsInput
- type SpecsSpecsMongosNodeSpec
- type SpecsSpecsMongosNodeSpecArgs
- func (SpecsSpecsMongosNodeSpecArgs) ElementType() reflect.Type
- func (i SpecsSpecsMongosNodeSpecArgs) ToSpecsSpecsMongosNodeSpecOutput() SpecsSpecsMongosNodeSpecOutput
- func (i SpecsSpecsMongosNodeSpecArgs) ToSpecsSpecsMongosNodeSpecOutputWithContext(ctx context.Context) SpecsSpecsMongosNodeSpecOutput
- type SpecsSpecsMongosNodeSpecArray
- func (SpecsSpecsMongosNodeSpecArray) ElementType() reflect.Type
- func (i SpecsSpecsMongosNodeSpecArray) ToSpecsSpecsMongosNodeSpecArrayOutput() SpecsSpecsMongosNodeSpecArrayOutput
- func (i SpecsSpecsMongosNodeSpecArray) ToSpecsSpecsMongosNodeSpecArrayOutputWithContext(ctx context.Context) SpecsSpecsMongosNodeSpecArrayOutput
- type SpecsSpecsMongosNodeSpecArrayInput
- type SpecsSpecsMongosNodeSpecArrayOutput
- func (SpecsSpecsMongosNodeSpecArrayOutput) ElementType() reflect.Type
- func (o SpecsSpecsMongosNodeSpecArrayOutput) Index(i pulumi.IntInput) SpecsSpecsMongosNodeSpecOutput
- func (o SpecsSpecsMongosNodeSpecArrayOutput) ToSpecsSpecsMongosNodeSpecArrayOutput() SpecsSpecsMongosNodeSpecArrayOutput
- func (o SpecsSpecsMongosNodeSpecArrayOutput) ToSpecsSpecsMongosNodeSpecArrayOutputWithContext(ctx context.Context) SpecsSpecsMongosNodeSpecArrayOutput
- type SpecsSpecsMongosNodeSpecInput
- type SpecsSpecsMongosNodeSpecOutput
- func (o SpecsSpecsMongosNodeSpecOutput) CpuNum() pulumi.Float64Output
- func (SpecsSpecsMongosNodeSpecOutput) ElementType() reflect.Type
- func (o SpecsSpecsMongosNodeSpecOutput) MaxConn() pulumi.IntOutput
- func (o SpecsSpecsMongosNodeSpecOutput) MemInGb() pulumi.Float64Output
- func (o SpecsSpecsMongosNodeSpecOutput) SpecName() pulumi.StringOutput
- func (o SpecsSpecsMongosNodeSpecOutput) ToSpecsSpecsMongosNodeSpecOutput() SpecsSpecsMongosNodeSpecOutput
- func (o SpecsSpecsMongosNodeSpecOutput) ToSpecsSpecsMongosNodeSpecOutputWithContext(ctx context.Context) SpecsSpecsMongosNodeSpecOutput
- type SpecsSpecsNodeSpec
- type SpecsSpecsNodeSpecArgs
- type SpecsSpecsNodeSpecArray
- type SpecsSpecsNodeSpecArrayInput
- type SpecsSpecsNodeSpecArrayOutput
- func (SpecsSpecsNodeSpecArrayOutput) ElementType() reflect.Type
- func (o SpecsSpecsNodeSpecArrayOutput) Index(i pulumi.IntInput) SpecsSpecsNodeSpecOutput
- func (o SpecsSpecsNodeSpecArrayOutput) ToSpecsSpecsNodeSpecArrayOutput() SpecsSpecsNodeSpecArrayOutput
- func (o SpecsSpecsNodeSpecArrayOutput) ToSpecsSpecsNodeSpecArrayOutputWithContext(ctx context.Context) SpecsSpecsNodeSpecArrayOutput
- type SpecsSpecsNodeSpecInput
- type SpecsSpecsNodeSpecOutput
- func (o SpecsSpecsNodeSpecOutput) CpuNum() pulumi.Float64Output
- func (SpecsSpecsNodeSpecOutput) ElementType() reflect.Type
- func (o SpecsSpecsNodeSpecOutput) MaxConn() pulumi.IntOutput
- func (o SpecsSpecsNodeSpecOutput) MaxStorage() pulumi.IntOutput
- func (o SpecsSpecsNodeSpecOutput) MemInDb() pulumi.Float64Output
- func (o SpecsSpecsNodeSpecOutput) SpecName() pulumi.StringOutput
- func (o SpecsSpecsNodeSpecOutput) ToSpecsSpecsNodeSpecOutput() SpecsSpecsNodeSpecOutput
- func (o SpecsSpecsNodeSpecOutput) ToSpecsSpecsNodeSpecOutputWithContext(ctx context.Context) SpecsSpecsNodeSpecOutput
- type SpecsSpecsOutput
- func (SpecsSpecsOutput) ElementType() reflect.Type
- func (o SpecsSpecsOutput) MongosNodeSpecs() SpecsSpecsMongosNodeSpecArrayOutput
- func (o SpecsSpecsOutput) NodeSpecs() SpecsSpecsNodeSpecArrayOutput
- func (o SpecsSpecsOutput) ShardNodeSpecs() SpecsSpecsShardNodeSpecArrayOutput
- func (o SpecsSpecsOutput) ToSpecsSpecsOutput() SpecsSpecsOutput
- func (o SpecsSpecsOutput) ToSpecsSpecsOutputWithContext(ctx context.Context) SpecsSpecsOutput
- type SpecsSpecsShardNodeSpec
- type SpecsSpecsShardNodeSpecArgs
- type SpecsSpecsShardNodeSpecArray
- func (SpecsSpecsShardNodeSpecArray) ElementType() reflect.Type
- func (i SpecsSpecsShardNodeSpecArray) ToSpecsSpecsShardNodeSpecArrayOutput() SpecsSpecsShardNodeSpecArrayOutput
- func (i SpecsSpecsShardNodeSpecArray) ToSpecsSpecsShardNodeSpecArrayOutputWithContext(ctx context.Context) SpecsSpecsShardNodeSpecArrayOutput
- type SpecsSpecsShardNodeSpecArrayInput
- type SpecsSpecsShardNodeSpecArrayOutput
- func (SpecsSpecsShardNodeSpecArrayOutput) ElementType() reflect.Type
- func (o SpecsSpecsShardNodeSpecArrayOutput) Index(i pulumi.IntInput) SpecsSpecsShardNodeSpecOutput
- func (o SpecsSpecsShardNodeSpecArrayOutput) ToSpecsSpecsShardNodeSpecArrayOutput() SpecsSpecsShardNodeSpecArrayOutput
- func (o SpecsSpecsShardNodeSpecArrayOutput) ToSpecsSpecsShardNodeSpecArrayOutputWithContext(ctx context.Context) SpecsSpecsShardNodeSpecArrayOutput
- type SpecsSpecsShardNodeSpecInput
- type SpecsSpecsShardNodeSpecOutput
- func (o SpecsSpecsShardNodeSpecOutput) CpuNum() pulumi.Float64Output
- func (SpecsSpecsShardNodeSpecOutput) ElementType() reflect.Type
- func (o SpecsSpecsShardNodeSpecOutput) MaxConn() pulumi.IntOutput
- func (o SpecsSpecsShardNodeSpecOutput) MaxStorage() pulumi.IntOutput
- func (o SpecsSpecsShardNodeSpecOutput) MemInGb() pulumi.IntOutput
- func (o SpecsSpecsShardNodeSpecOutput) SpecName() pulumi.StringOutput
- func (o SpecsSpecsShardNodeSpecOutput) ToSpecsSpecsShardNodeSpecOutput() SpecsSpecsShardNodeSpecOutput
- func (o SpecsSpecsShardNodeSpecOutput) ToSpecsSpecsShardNodeSpecOutputWithContext(ctx context.Context) SpecsSpecsShardNodeSpecOutput
- type SslState
- type SslStateArgs
- type SslStateArray
- type SslStateArrayInput
- type SslStateArrayOutput
- type SslStateInput
- type SslStateMap
- type SslStateMapInput
- type SslStateMapOutput
- type SslStateOutput
- func (SslStateOutput) ElementType() reflect.Type
- func (o SslStateOutput) InstanceId() pulumi.StringOutput
- func (o SslStateOutput) IsValid() pulumi.BoolOutput
- func (o SslStateOutput) SslAction() pulumi.StringPtrOutput
- func (o SslStateOutput) SslEnable() pulumi.BoolOutput
- func (o SslStateOutput) SslExpiredTime() pulumi.StringOutput
- func (o SslStateOutput) ToSslStateOutput() SslStateOutput
- func (o SslStateOutput) ToSslStateOutputWithContext(ctx context.Context) SslStateOutput
- type SslStateState
- type SslStatesArgs
- type SslStatesOutputArgs
- type SslStatesResult
- type SslStatesResultOutput
- func (SslStatesResultOutput) ElementType() reflect.Type
- func (o SslStatesResultOutput) Id() pulumi.StringOutput
- func (o SslStatesResultOutput) InstanceId() pulumi.StringOutput
- func (o SslStatesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o SslStatesResultOutput) SslStates() SslStatesSslStateArrayOutput
- func (o SslStatesResultOutput) ToSslStatesResultOutput() SslStatesResultOutput
- func (o SslStatesResultOutput) ToSslStatesResultOutputWithContext(ctx context.Context) SslStatesResultOutput
- func (o SslStatesResultOutput) TotalCount() pulumi.IntOutput
- type SslStatesSslState
- type SslStatesSslStateArgs
- type SslStatesSslStateArray
- type SslStatesSslStateArrayInput
- type SslStatesSslStateArrayOutput
- func (SslStatesSslStateArrayOutput) ElementType() reflect.Type
- func (o SslStatesSslStateArrayOutput) Index(i pulumi.IntInput) SslStatesSslStateOutput
- func (o SslStatesSslStateArrayOutput) ToSslStatesSslStateArrayOutput() SslStatesSslStateArrayOutput
- func (o SslStatesSslStateArrayOutput) ToSslStatesSslStateArrayOutputWithContext(ctx context.Context) SslStatesSslStateArrayOutput
- type SslStatesSslStateInput
- type SslStatesSslStateOutput
- func (SslStatesSslStateOutput) ElementType() reflect.Type
- func (o SslStatesSslStateOutput) InstanceId() pulumi.StringOutput
- func (o SslStatesSslStateOutput) IsValid() pulumi.BoolOutput
- func (o SslStatesSslStateOutput) SslEnable() pulumi.BoolOutput
- func (o SslStatesSslStateOutput) SslExpiredTime() pulumi.StringOutput
- func (o SslStatesSslStateOutput) ToSslStatesSslStateOutput() SslStatesSslStateOutput
- func (o SslStatesSslStateOutput) ToSslStatesSslStateOutputWithContext(ctx context.Context) SslStatesSslStateOutput
- type ZonesArgs
- type ZonesOutputArgs
- type ZonesResult
- type ZonesResultOutput
- func (ZonesResultOutput) ElementType() reflect.Type
- func (o ZonesResultOutput) Id() pulumi.StringOutput
- func (o ZonesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o ZonesResultOutput) RegionId() pulumi.StringOutput
- func (o ZonesResultOutput) ToZonesResultOutput() ZonesResultOutput
- func (o ZonesResultOutput) ToZonesResultOutputWithContext(ctx context.Context) ZonesResultOutput
- func (o ZonesResultOutput) TotalCount() pulumi.IntOutput
- func (o ZonesResultOutput) Zones() ZonesZoneArrayOutput
- type ZonesZone
- type ZonesZoneArgs
- type ZonesZoneArray
- type ZonesZoneArrayInput
- type ZonesZoneArrayOutput
- func (ZonesZoneArrayOutput) ElementType() reflect.Type
- func (o ZonesZoneArrayOutput) Index(i pulumi.IntInput) ZonesZoneOutput
- func (o ZonesZoneArrayOutput) ToZonesZoneArrayOutput() ZonesZoneArrayOutput
- func (o ZonesZoneArrayOutput) ToZonesZoneArrayOutputWithContext(ctx context.Context) ZonesZoneArrayOutput
- type ZonesZoneInput
- type ZonesZoneOutput
- func (ZonesZoneOutput) ElementType() reflect.Type
- func (o ZonesZoneOutput) Id() pulumi.StringOutput
- func (o ZonesZoneOutput) ToZonesZoneOutput() ZonesZoneOutput
- func (o ZonesZoneOutput) ToZonesZoneOutputWithContext(ctx context.Context) ZonesZoneOutput
- func (o ZonesZoneOutput) ZoneId() pulumi.StringOutput
- func (o ZonesZoneOutput) ZoneName() pulumi.StringOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountsAccount ¶
type AccountsAccount struct { // The name of account, current support only `root`. AccountName string `pulumi:"accountName"` // The privilege info of mongo instance. AccountPrivileges []AccountsAccountAccountPrivilege `pulumi:"accountPrivileges"` // The type of account. AccountType string `pulumi:"accountType"` }
type AccountsAccountAccountPrivilegeArgs ¶
type AccountsAccountAccountPrivilegeArgs struct { // The Name of DB. DbName pulumi.StringInput `pulumi:"dbName"` // The Name of role. RoleName pulumi.StringInput `pulumi:"roleName"` }
func (AccountsAccountAccountPrivilegeArgs) ElementType ¶
func (AccountsAccountAccountPrivilegeArgs) ElementType() reflect.Type
func (AccountsAccountAccountPrivilegeArgs) ToAccountsAccountAccountPrivilegeOutput ¶
func (i AccountsAccountAccountPrivilegeArgs) ToAccountsAccountAccountPrivilegeOutput() AccountsAccountAccountPrivilegeOutput
func (AccountsAccountAccountPrivilegeArgs) ToAccountsAccountAccountPrivilegeOutputWithContext ¶
func (i AccountsAccountAccountPrivilegeArgs) ToAccountsAccountAccountPrivilegeOutputWithContext(ctx context.Context) AccountsAccountAccountPrivilegeOutput
type AccountsAccountAccountPrivilegeArray ¶
type AccountsAccountAccountPrivilegeArray []AccountsAccountAccountPrivilegeInput
func (AccountsAccountAccountPrivilegeArray) ElementType ¶
func (AccountsAccountAccountPrivilegeArray) ElementType() reflect.Type
func (AccountsAccountAccountPrivilegeArray) ToAccountsAccountAccountPrivilegeArrayOutput ¶
func (i AccountsAccountAccountPrivilegeArray) ToAccountsAccountAccountPrivilegeArrayOutput() AccountsAccountAccountPrivilegeArrayOutput
func (AccountsAccountAccountPrivilegeArray) ToAccountsAccountAccountPrivilegeArrayOutputWithContext ¶
func (i AccountsAccountAccountPrivilegeArray) ToAccountsAccountAccountPrivilegeArrayOutputWithContext(ctx context.Context) AccountsAccountAccountPrivilegeArrayOutput
type AccountsAccountAccountPrivilegeArrayInput ¶
type AccountsAccountAccountPrivilegeArrayInput interface { pulumi.Input ToAccountsAccountAccountPrivilegeArrayOutput() AccountsAccountAccountPrivilegeArrayOutput ToAccountsAccountAccountPrivilegeArrayOutputWithContext(context.Context) AccountsAccountAccountPrivilegeArrayOutput }
AccountsAccountAccountPrivilegeArrayInput is an input type that accepts AccountsAccountAccountPrivilegeArray and AccountsAccountAccountPrivilegeArrayOutput values. You can construct a concrete instance of `AccountsAccountAccountPrivilegeArrayInput` via:
AccountsAccountAccountPrivilegeArray{ AccountsAccountAccountPrivilegeArgs{...} }
type AccountsAccountAccountPrivilegeArrayOutput ¶
type AccountsAccountAccountPrivilegeArrayOutput struct{ *pulumi.OutputState }
func (AccountsAccountAccountPrivilegeArrayOutput) ElementType ¶
func (AccountsAccountAccountPrivilegeArrayOutput) ElementType() reflect.Type
func (AccountsAccountAccountPrivilegeArrayOutput) ToAccountsAccountAccountPrivilegeArrayOutput ¶
func (o AccountsAccountAccountPrivilegeArrayOutput) ToAccountsAccountAccountPrivilegeArrayOutput() AccountsAccountAccountPrivilegeArrayOutput
func (AccountsAccountAccountPrivilegeArrayOutput) ToAccountsAccountAccountPrivilegeArrayOutputWithContext ¶
func (o AccountsAccountAccountPrivilegeArrayOutput) ToAccountsAccountAccountPrivilegeArrayOutputWithContext(ctx context.Context) AccountsAccountAccountPrivilegeArrayOutput
type AccountsAccountAccountPrivilegeInput ¶
type AccountsAccountAccountPrivilegeInput interface { pulumi.Input ToAccountsAccountAccountPrivilegeOutput() AccountsAccountAccountPrivilegeOutput ToAccountsAccountAccountPrivilegeOutputWithContext(context.Context) AccountsAccountAccountPrivilegeOutput }
AccountsAccountAccountPrivilegeInput is an input type that accepts AccountsAccountAccountPrivilegeArgs and AccountsAccountAccountPrivilegeOutput values. You can construct a concrete instance of `AccountsAccountAccountPrivilegeInput` via:
AccountsAccountAccountPrivilegeArgs{...}
type AccountsAccountAccountPrivilegeOutput ¶
type AccountsAccountAccountPrivilegeOutput struct{ *pulumi.OutputState }
func (AccountsAccountAccountPrivilegeOutput) DbName ¶
func (o AccountsAccountAccountPrivilegeOutput) DbName() pulumi.StringOutput
The Name of DB.
func (AccountsAccountAccountPrivilegeOutput) ElementType ¶
func (AccountsAccountAccountPrivilegeOutput) ElementType() reflect.Type
func (AccountsAccountAccountPrivilegeOutput) RoleName ¶
func (o AccountsAccountAccountPrivilegeOutput) RoleName() pulumi.StringOutput
The Name of role.
func (AccountsAccountAccountPrivilegeOutput) ToAccountsAccountAccountPrivilegeOutput ¶
func (o AccountsAccountAccountPrivilegeOutput) ToAccountsAccountAccountPrivilegeOutput() AccountsAccountAccountPrivilegeOutput
func (AccountsAccountAccountPrivilegeOutput) ToAccountsAccountAccountPrivilegeOutputWithContext ¶
func (o AccountsAccountAccountPrivilegeOutput) ToAccountsAccountAccountPrivilegeOutputWithContext(ctx context.Context) AccountsAccountAccountPrivilegeOutput
type AccountsAccountArgs ¶
type AccountsAccountArgs struct { // The name of account, current support only `root`. AccountName pulumi.StringInput `pulumi:"accountName"` // The privilege info of mongo instance. AccountPrivileges AccountsAccountAccountPrivilegeArrayInput `pulumi:"accountPrivileges"` // The type of account. AccountType pulumi.StringInput `pulumi:"accountType"` }
func (AccountsAccountArgs) ElementType ¶
func (AccountsAccountArgs) ElementType() reflect.Type
func (AccountsAccountArgs) ToAccountsAccountOutput ¶
func (i AccountsAccountArgs) ToAccountsAccountOutput() AccountsAccountOutput
func (AccountsAccountArgs) ToAccountsAccountOutputWithContext ¶
func (i AccountsAccountArgs) ToAccountsAccountOutputWithContext(ctx context.Context) AccountsAccountOutput
type AccountsAccountArray ¶
type AccountsAccountArray []AccountsAccountInput
func (AccountsAccountArray) ElementType ¶
func (AccountsAccountArray) ElementType() reflect.Type
func (AccountsAccountArray) ToAccountsAccountArrayOutput ¶
func (i AccountsAccountArray) ToAccountsAccountArrayOutput() AccountsAccountArrayOutput
func (AccountsAccountArray) ToAccountsAccountArrayOutputWithContext ¶
func (i AccountsAccountArray) ToAccountsAccountArrayOutputWithContext(ctx context.Context) AccountsAccountArrayOutput
type AccountsAccountArrayInput ¶
type AccountsAccountArrayInput interface { pulumi.Input ToAccountsAccountArrayOutput() AccountsAccountArrayOutput ToAccountsAccountArrayOutputWithContext(context.Context) AccountsAccountArrayOutput }
AccountsAccountArrayInput is an input type that accepts AccountsAccountArray and AccountsAccountArrayOutput values. You can construct a concrete instance of `AccountsAccountArrayInput` via:
AccountsAccountArray{ AccountsAccountArgs{...} }
type AccountsAccountArrayOutput ¶
type AccountsAccountArrayOutput struct{ *pulumi.OutputState }
func (AccountsAccountArrayOutput) ElementType ¶
func (AccountsAccountArrayOutput) ElementType() reflect.Type
func (AccountsAccountArrayOutput) Index ¶
func (o AccountsAccountArrayOutput) Index(i pulumi.IntInput) AccountsAccountOutput
func (AccountsAccountArrayOutput) ToAccountsAccountArrayOutput ¶
func (o AccountsAccountArrayOutput) ToAccountsAccountArrayOutput() AccountsAccountArrayOutput
func (AccountsAccountArrayOutput) ToAccountsAccountArrayOutputWithContext ¶
func (o AccountsAccountArrayOutput) ToAccountsAccountArrayOutputWithContext(ctx context.Context) AccountsAccountArrayOutput
type AccountsAccountInput ¶
type AccountsAccountInput interface { pulumi.Input ToAccountsAccountOutput() AccountsAccountOutput ToAccountsAccountOutputWithContext(context.Context) AccountsAccountOutput }
AccountsAccountInput is an input type that accepts AccountsAccountArgs and AccountsAccountOutput values. You can construct a concrete instance of `AccountsAccountInput` via:
AccountsAccountArgs{...}
type AccountsAccountOutput ¶
type AccountsAccountOutput struct{ *pulumi.OutputState }
func (AccountsAccountOutput) AccountName ¶
func (o AccountsAccountOutput) AccountName() pulumi.StringOutput
The name of account, current support only `root`.
func (AccountsAccountOutput) AccountPrivileges ¶
func (o AccountsAccountOutput) AccountPrivileges() AccountsAccountAccountPrivilegeArrayOutput
The privilege info of mongo instance.
func (AccountsAccountOutput) AccountType ¶
func (o AccountsAccountOutput) AccountType() pulumi.StringOutput
The type of account.
func (AccountsAccountOutput) ElementType ¶
func (AccountsAccountOutput) ElementType() reflect.Type
func (AccountsAccountOutput) ToAccountsAccountOutput ¶
func (o AccountsAccountOutput) ToAccountsAccountOutput() AccountsAccountOutput
func (AccountsAccountOutput) ToAccountsAccountOutputWithContext ¶
func (o AccountsAccountOutput) ToAccountsAccountOutputWithContext(ctx context.Context) AccountsAccountOutput
type AccountsArgs ¶
type AccountsArgs struct { // The name of account, current support only `root`. AccountName *string `pulumi:"accountName"` // Target query mongo instance id. InstanceId string `pulumi:"instanceId"` // File name where to save data source results. OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking Accounts.
type AccountsOutputArgs ¶
type AccountsOutputArgs struct { // The name of account, current support only `root`. AccountName pulumi.StringPtrInput `pulumi:"accountName"` // Target query mongo instance id. InstanceId pulumi.StringInput `pulumi:"instanceId"` // File name where to save data source results. OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking Accounts.
func (AccountsOutputArgs) ElementType ¶
func (AccountsOutputArgs) ElementType() reflect.Type
type AccountsResult ¶
type AccountsResult struct { // The name of account. AccountName *string `pulumi:"accountName"` // The collection of accounts query. Accounts []AccountsAccount `pulumi:"accounts"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId string `pulumi:"instanceId"` OutputFile *string `pulumi:"outputFile"` // The total count of accounts query. TotalCount int `pulumi:"totalCount"` }
A collection of values returned by Accounts.
func Accounts ¶
func Accounts(ctx *pulumi.Context, args *AccountsArgs, opts ...pulumi.InvokeOption) (*AccountsResult, error)
Use this data source to query detailed information of mongodb accounts ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := mongodb.Accounts(ctx, &mongodb.AccountsArgs{ InstanceId: "mongo-replica-xxx", }, nil) if err != nil { return err } return nil }) }
```
type AccountsResultOutput ¶
type AccountsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by Accounts.
func AccountsOutput ¶
func AccountsOutput(ctx *pulumi.Context, args AccountsOutputArgs, opts ...pulumi.InvokeOption) AccountsResultOutput
func (AccountsResultOutput) AccountName ¶
func (o AccountsResultOutput) AccountName() pulumi.StringPtrOutput
The name of account.
func (AccountsResultOutput) Accounts ¶
func (o AccountsResultOutput) Accounts() AccountsAccountArrayOutput
The collection of accounts query.
func (AccountsResultOutput) ElementType ¶
func (AccountsResultOutput) ElementType() reflect.Type
func (AccountsResultOutput) Id ¶
func (o AccountsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (AccountsResultOutput) InstanceId ¶
func (o AccountsResultOutput) InstanceId() pulumi.StringOutput
func (AccountsResultOutput) OutputFile ¶
func (o AccountsResultOutput) OutputFile() pulumi.StringPtrOutput
func (AccountsResultOutput) ToAccountsResultOutput ¶
func (o AccountsResultOutput) ToAccountsResultOutput() AccountsResultOutput
func (AccountsResultOutput) ToAccountsResultOutputWithContext ¶
func (o AccountsResultOutput) ToAccountsResultOutputWithContext(ctx context.Context) AccountsResultOutput
func (AccountsResultOutput) TotalCount ¶
func (o AccountsResultOutput) TotalCount() pulumi.IntOutput
The total count of accounts query.
type Endpoint ¶
type Endpoint struct { pulumi.CustomResourceState // A list of EIP IDs that need to be bound when applying for endpoint. EipIds pulumi.StringArrayOutput `pulumi:"eipIds"` // The id of endpoint. EndpointId pulumi.StringOutput `pulumi:"endpointId"` // The instance where the endpoint resides. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // A list of the Mongos node that needs to apply for the endpoint. MongosNodeIds pulumi.StringArrayOutput `pulumi:"mongosNodeIds"` // The network type of endpoint. NetworkType pulumi.StringPtrOutput `pulumi:"networkType"` // The object ID corresponding to the endpoint. ObjectId pulumi.StringOutput `pulumi:"objectId"` }
Provides a resource to manage mongodb endpoint ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooZones, err := ecs.Zones(ctx, nil, nil) if err != nil { return err } fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{ VpcName: pulumi.String("acc-test-vpc"), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{ SubnetName: pulumi.String("acc-test-subnet"), CidrBlock: pulumi.String("172.16.0.0/24"), ZoneId: *pulumi.String(fooZones.Zones[0].Id), VpcId: fooVpc.ID(), }) if err != nil { return err } var fooAddress []*eip.Address for index := 0; index < 2; index++ { key0 := index _ := index __res, err := eip.NewAddress(ctx, fmt.Sprintf("fooAddress-%v", key0), &eip.AddressArgs{ BillingType: pulumi.String("PostPaidByBandwidth"), Bandwidth: pulumi.Int(1), Isp: pulumi.String("ChinaUnicom"), Description: pulumi.String("acc-test"), ProjectName: pulumi.String("default"), }) if err != nil { return err } fooAddress = append(fooAddress, __res) } _, err = mongodb.NewInstance(ctx, "replica-set", &mongodb.InstanceArgs{ DbEngineVersion: pulumi.String("MongoDB_4_0"), InstanceType: pulumi.String("ReplicaSet"), SuperAccountPassword: pulumi.String("@acc-test-123"), NodeSpec: pulumi.String("mongo.2c4g"), MongosNodeSpec: pulumi.String("mongo.mongos.2c4g"), InstanceName: pulumi.String("acc-test-mongo-replica"), ChargeType: pulumi.String("PostPaid"), ProjectName: pulumi.String("default"), MongosNodeNumber: pulumi.Int(2), ShardNumber: pulumi.Int(3), StorageSpaceGb: pulumi.Int(20), SubnetId: fooSubnet.ID(), ZoneId: *pulumi.String(fooZones.Zones[0].Id), Tags: mongodb.InstanceTagArray{ &mongodb.InstanceTagArgs{ Key: pulumi.String("k1"), Value: pulumi.String("v1"), }, }, }) if err != nil { return err } var splat0 pulumi.StringArray for _, val0 := range fooAddress { splat0 = append(splat0, val0.ID()) } _, err = mongodb.NewEndpoint(ctx, "replica-set-public-endpoint", &mongodb.EndpointArgs{ InstanceId: replica_set.ID(), NetworkType: pulumi.String("Public"), EipIds: splat0, }) if err != nil { return err } _, err = mongodb.NewInstance(ctx, "sharded-cluster", &mongodb.InstanceArgs{ DbEngineVersion: pulumi.String("MongoDB_4_0"), InstanceType: pulumi.String("ShardedCluster"), SuperAccountPassword: pulumi.String("@acc-test-123"), NodeSpec: pulumi.String("mongo.shard.1c2g"), MongosNodeSpec: pulumi.String("mongo.mongos.1c2g"), InstanceName: pulumi.String("acc-test-mongo-shard"), ChargeType: pulumi.String("PostPaid"), ProjectName: pulumi.String("default"), MongosNodeNumber: pulumi.Int(2), ShardNumber: pulumi.Int(2), StorageSpaceGb: pulumi.Int(20), SubnetId: fooSubnet.ID(), ZoneId: *pulumi.String(fooZones.Zones[0].Id), Tags: mongodb.InstanceTagArray{ &mongodb.InstanceTagArgs{ Key: pulumi.String("k1"), Value: pulumi.String("v1"), }, }, }) if err != nil { return err } _, err = mongodb.NewEndpoint(ctx, "sharded-cluster-private-endpoint", &mongodb.EndpointArgs{ InstanceId: sharded_cluster.ID(), NetworkType: pulumi.String("Private"), ObjectId: sharded_cluster.Shards.ApplyT(func(shards []mongodb.InstanceShard) (*string, error) { return &shards[0].ShardId, nil }).(pulumi.StringPtrOutput), }) if err != nil { return err } return nil }) }
```
## Import
mongodb endpoint can be imported using the instanceId:endpointId `instanceId`represents the instance that endpoint related to. `endpointId`the id of endpoint. e.g.
```sh
$ pulumi import volcengine:mongodb/endpoint:Endpoint default mongo-replica-e405f8e2****:BRhFA0pDAk0XXkxCZQ
```
func GetEndpoint ¶
func GetEndpoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EndpointState, opts ...pulumi.ResourceOption) (*Endpoint, error)
GetEndpoint gets an existing Endpoint 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 NewEndpoint ¶
func NewEndpoint(ctx *pulumi.Context, name string, args *EndpointArgs, opts ...pulumi.ResourceOption) (*Endpoint, error)
NewEndpoint registers a new resource with the given unique name, arguments, and options.
func (*Endpoint) ElementType ¶
func (*Endpoint) ToEndpointOutput ¶
func (i *Endpoint) ToEndpointOutput() EndpointOutput
func (*Endpoint) ToEndpointOutputWithContext ¶
func (i *Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
type EndpointArgs ¶
type EndpointArgs struct { // A list of EIP IDs that need to be bound when applying for endpoint. EipIds pulumi.StringArrayInput // The instance where the endpoint resides. InstanceId pulumi.StringInput // A list of the Mongos node that needs to apply for the endpoint. MongosNodeIds pulumi.StringArrayInput // The network type of endpoint. NetworkType pulumi.StringPtrInput // The object ID corresponding to the endpoint. ObjectId pulumi.StringPtrInput }
The set of arguments for constructing a Endpoint resource.
func (EndpointArgs) ElementType ¶
func (EndpointArgs) ElementType() reflect.Type
type EndpointArray ¶
type EndpointArray []EndpointInput
func (EndpointArray) ElementType ¶
func (EndpointArray) ElementType() reflect.Type
func (EndpointArray) ToEndpointArrayOutput ¶
func (i EndpointArray) ToEndpointArrayOutput() EndpointArrayOutput
func (EndpointArray) ToEndpointArrayOutputWithContext ¶
func (i EndpointArray) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput
type EndpointArrayInput ¶
type EndpointArrayInput interface { pulumi.Input ToEndpointArrayOutput() EndpointArrayOutput ToEndpointArrayOutputWithContext(context.Context) EndpointArrayOutput }
EndpointArrayInput is an input type that accepts EndpointArray and EndpointArrayOutput values. You can construct a concrete instance of `EndpointArrayInput` via:
EndpointArray{ EndpointArgs{...} }
type EndpointArrayOutput ¶
type EndpointArrayOutput struct{ *pulumi.OutputState }
func (EndpointArrayOutput) ElementType ¶
func (EndpointArrayOutput) ElementType() reflect.Type
func (EndpointArrayOutput) Index ¶
func (o EndpointArrayOutput) Index(i pulumi.IntInput) EndpointOutput
func (EndpointArrayOutput) ToEndpointArrayOutput ¶
func (o EndpointArrayOutput) ToEndpointArrayOutput() EndpointArrayOutput
func (EndpointArrayOutput) ToEndpointArrayOutputWithContext ¶
func (o EndpointArrayOutput) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput
type EndpointInput ¶
type EndpointInput interface { pulumi.Input ToEndpointOutput() EndpointOutput ToEndpointOutputWithContext(ctx context.Context) EndpointOutput }
type EndpointMap ¶
type EndpointMap map[string]EndpointInput
func (EndpointMap) ElementType ¶
func (EndpointMap) ElementType() reflect.Type
func (EndpointMap) ToEndpointMapOutput ¶
func (i EndpointMap) ToEndpointMapOutput() EndpointMapOutput
func (EndpointMap) ToEndpointMapOutputWithContext ¶
func (i EndpointMap) ToEndpointMapOutputWithContext(ctx context.Context) EndpointMapOutput
type EndpointMapInput ¶
type EndpointMapInput interface { pulumi.Input ToEndpointMapOutput() EndpointMapOutput ToEndpointMapOutputWithContext(context.Context) EndpointMapOutput }
EndpointMapInput is an input type that accepts EndpointMap and EndpointMapOutput values. You can construct a concrete instance of `EndpointMapInput` via:
EndpointMap{ "key": EndpointArgs{...} }
type EndpointMapOutput ¶
type EndpointMapOutput struct{ *pulumi.OutputState }
func (EndpointMapOutput) ElementType ¶
func (EndpointMapOutput) ElementType() reflect.Type
func (EndpointMapOutput) MapIndex ¶
func (o EndpointMapOutput) MapIndex(k pulumi.StringInput) EndpointOutput
func (EndpointMapOutput) ToEndpointMapOutput ¶
func (o EndpointMapOutput) ToEndpointMapOutput() EndpointMapOutput
func (EndpointMapOutput) ToEndpointMapOutputWithContext ¶
func (o EndpointMapOutput) ToEndpointMapOutputWithContext(ctx context.Context) EndpointMapOutput
type EndpointOutput ¶
type EndpointOutput struct{ *pulumi.OutputState }
func (EndpointOutput) EipIds ¶
func (o EndpointOutput) EipIds() pulumi.StringArrayOutput
A list of EIP IDs that need to be bound when applying for endpoint.
func (EndpointOutput) ElementType ¶
func (EndpointOutput) ElementType() reflect.Type
func (EndpointOutput) EndpointId ¶
func (o EndpointOutput) EndpointId() pulumi.StringOutput
The id of endpoint.
func (EndpointOutput) InstanceId ¶
func (o EndpointOutput) InstanceId() pulumi.StringOutput
The instance where the endpoint resides.
func (EndpointOutput) MongosNodeIds ¶
func (o EndpointOutput) MongosNodeIds() pulumi.StringArrayOutput
A list of the Mongos node that needs to apply for the endpoint.
func (EndpointOutput) NetworkType ¶
func (o EndpointOutput) NetworkType() pulumi.StringPtrOutput
The network type of endpoint.
func (EndpointOutput) ObjectId ¶
func (o EndpointOutput) ObjectId() pulumi.StringOutput
The object ID corresponding to the endpoint.
func (EndpointOutput) ToEndpointOutput ¶
func (o EndpointOutput) ToEndpointOutput() EndpointOutput
func (EndpointOutput) ToEndpointOutputWithContext ¶
func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
type EndpointState ¶
type EndpointState struct { // A list of EIP IDs that need to be bound when applying for endpoint. EipIds pulumi.StringArrayInput // The id of endpoint. EndpointId pulumi.StringPtrInput // The instance where the endpoint resides. InstanceId pulumi.StringPtrInput // A list of the Mongos node that needs to apply for the endpoint. MongosNodeIds pulumi.StringArrayInput // The network type of endpoint. NetworkType pulumi.StringPtrInput // The object ID corresponding to the endpoint. ObjectId pulumi.StringPtrInput }
func (EndpointState) ElementType ¶
func (EndpointState) ElementType() reflect.Type
type EndpointsArgs ¶
type EndpointsArgs struct { // The instance ID to query. InstanceId *string `pulumi:"instanceId"` // File name where to save data source results. OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking Endpoints.
type EndpointsEndpoint ¶
type EndpointsEndpoint struct { // The list of mongodb addresses. DbAddresses []EndpointsEndpointDbAddress `pulumi:"dbAddresses"` // The ID of endpoint. EndpointId string `pulumi:"endpointId"` // The endpoint information. EndpointStr string `pulumi:"endpointStr"` // The node type corresponding to the endpoint. EndpointType string `pulumi:"endpointType"` // The network type of endpoint. NetworkType string `pulumi:"networkType"` // The object ID corresponding to the endpoint. ObjectId string `pulumi:"objectId"` // The subnet ID. SubnetId string `pulumi:"subnetId"` // The VPC ID. VpcId string `pulumi:"vpcId"` }
type EndpointsEndpointArgs ¶
type EndpointsEndpointArgs struct { // The list of mongodb addresses. DbAddresses EndpointsEndpointDbAddressArrayInput `pulumi:"dbAddresses"` // The ID of endpoint. EndpointId pulumi.StringInput `pulumi:"endpointId"` // The endpoint information. EndpointStr pulumi.StringInput `pulumi:"endpointStr"` // The node type corresponding to the endpoint. EndpointType pulumi.StringInput `pulumi:"endpointType"` // The network type of endpoint. NetworkType pulumi.StringInput `pulumi:"networkType"` // The object ID corresponding to the endpoint. ObjectId pulumi.StringInput `pulumi:"objectId"` // The subnet ID. SubnetId pulumi.StringInput `pulumi:"subnetId"` // The VPC ID. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (EndpointsEndpointArgs) ElementType ¶
func (EndpointsEndpointArgs) ElementType() reflect.Type
func (EndpointsEndpointArgs) ToEndpointsEndpointOutput ¶
func (i EndpointsEndpointArgs) ToEndpointsEndpointOutput() EndpointsEndpointOutput
func (EndpointsEndpointArgs) ToEndpointsEndpointOutputWithContext ¶
func (i EndpointsEndpointArgs) ToEndpointsEndpointOutputWithContext(ctx context.Context) EndpointsEndpointOutput
type EndpointsEndpointArray ¶
type EndpointsEndpointArray []EndpointsEndpointInput
func (EndpointsEndpointArray) ElementType ¶
func (EndpointsEndpointArray) ElementType() reflect.Type
func (EndpointsEndpointArray) ToEndpointsEndpointArrayOutput ¶
func (i EndpointsEndpointArray) ToEndpointsEndpointArrayOutput() EndpointsEndpointArrayOutput
func (EndpointsEndpointArray) ToEndpointsEndpointArrayOutputWithContext ¶
func (i EndpointsEndpointArray) ToEndpointsEndpointArrayOutputWithContext(ctx context.Context) EndpointsEndpointArrayOutput
type EndpointsEndpointArrayInput ¶
type EndpointsEndpointArrayInput interface { pulumi.Input ToEndpointsEndpointArrayOutput() EndpointsEndpointArrayOutput ToEndpointsEndpointArrayOutputWithContext(context.Context) EndpointsEndpointArrayOutput }
EndpointsEndpointArrayInput is an input type that accepts EndpointsEndpointArray and EndpointsEndpointArrayOutput values. You can construct a concrete instance of `EndpointsEndpointArrayInput` via:
EndpointsEndpointArray{ EndpointsEndpointArgs{...} }
type EndpointsEndpointArrayOutput ¶
type EndpointsEndpointArrayOutput struct{ *pulumi.OutputState }
func (EndpointsEndpointArrayOutput) ElementType ¶
func (EndpointsEndpointArrayOutput) ElementType() reflect.Type
func (EndpointsEndpointArrayOutput) Index ¶
func (o EndpointsEndpointArrayOutput) Index(i pulumi.IntInput) EndpointsEndpointOutput
func (EndpointsEndpointArrayOutput) ToEndpointsEndpointArrayOutput ¶
func (o EndpointsEndpointArrayOutput) ToEndpointsEndpointArrayOutput() EndpointsEndpointArrayOutput
func (EndpointsEndpointArrayOutput) ToEndpointsEndpointArrayOutputWithContext ¶
func (o EndpointsEndpointArrayOutput) ToEndpointsEndpointArrayOutputWithContext(ctx context.Context) EndpointsEndpointArrayOutput
type EndpointsEndpointDbAddress ¶
type EndpointsEndpointDbAddress struct { // The domain of mongodb connection. AddressDomain string `pulumi:"addressDomain"` // The IP of mongodb connection. AddressIp string `pulumi:"addressIp"` // The port of mongodb connection. AddressPort string `pulumi:"addressPort"` // The connection type of mongodb. AddressType string `pulumi:"addressType"` // The EIP ID bound to the instance's public network address. EipId string `pulumi:"eipId"` // The node ID. NodeId string `pulumi:"nodeId"` }
type EndpointsEndpointDbAddressArgs ¶
type EndpointsEndpointDbAddressArgs struct { // The domain of mongodb connection. AddressDomain pulumi.StringInput `pulumi:"addressDomain"` // The IP of mongodb connection. AddressIp pulumi.StringInput `pulumi:"addressIp"` // The port of mongodb connection. AddressPort pulumi.StringInput `pulumi:"addressPort"` // The connection type of mongodb. AddressType pulumi.StringInput `pulumi:"addressType"` // The EIP ID bound to the instance's public network address. EipId pulumi.StringInput `pulumi:"eipId"` // The node ID. NodeId pulumi.StringInput `pulumi:"nodeId"` }
func (EndpointsEndpointDbAddressArgs) ElementType ¶
func (EndpointsEndpointDbAddressArgs) ElementType() reflect.Type
func (EndpointsEndpointDbAddressArgs) ToEndpointsEndpointDbAddressOutput ¶
func (i EndpointsEndpointDbAddressArgs) ToEndpointsEndpointDbAddressOutput() EndpointsEndpointDbAddressOutput
func (EndpointsEndpointDbAddressArgs) ToEndpointsEndpointDbAddressOutputWithContext ¶
func (i EndpointsEndpointDbAddressArgs) ToEndpointsEndpointDbAddressOutputWithContext(ctx context.Context) EndpointsEndpointDbAddressOutput
type EndpointsEndpointDbAddressArray ¶
type EndpointsEndpointDbAddressArray []EndpointsEndpointDbAddressInput
func (EndpointsEndpointDbAddressArray) ElementType ¶
func (EndpointsEndpointDbAddressArray) ElementType() reflect.Type
func (EndpointsEndpointDbAddressArray) ToEndpointsEndpointDbAddressArrayOutput ¶
func (i EndpointsEndpointDbAddressArray) ToEndpointsEndpointDbAddressArrayOutput() EndpointsEndpointDbAddressArrayOutput
func (EndpointsEndpointDbAddressArray) ToEndpointsEndpointDbAddressArrayOutputWithContext ¶
func (i EndpointsEndpointDbAddressArray) ToEndpointsEndpointDbAddressArrayOutputWithContext(ctx context.Context) EndpointsEndpointDbAddressArrayOutput
type EndpointsEndpointDbAddressArrayInput ¶
type EndpointsEndpointDbAddressArrayInput interface { pulumi.Input ToEndpointsEndpointDbAddressArrayOutput() EndpointsEndpointDbAddressArrayOutput ToEndpointsEndpointDbAddressArrayOutputWithContext(context.Context) EndpointsEndpointDbAddressArrayOutput }
EndpointsEndpointDbAddressArrayInput is an input type that accepts EndpointsEndpointDbAddressArray and EndpointsEndpointDbAddressArrayOutput values. You can construct a concrete instance of `EndpointsEndpointDbAddressArrayInput` via:
EndpointsEndpointDbAddressArray{ EndpointsEndpointDbAddressArgs{...} }
type EndpointsEndpointDbAddressArrayOutput ¶
type EndpointsEndpointDbAddressArrayOutput struct{ *pulumi.OutputState }
func (EndpointsEndpointDbAddressArrayOutput) ElementType ¶
func (EndpointsEndpointDbAddressArrayOutput) ElementType() reflect.Type
func (EndpointsEndpointDbAddressArrayOutput) Index ¶
func (o EndpointsEndpointDbAddressArrayOutput) Index(i pulumi.IntInput) EndpointsEndpointDbAddressOutput
func (EndpointsEndpointDbAddressArrayOutput) ToEndpointsEndpointDbAddressArrayOutput ¶
func (o EndpointsEndpointDbAddressArrayOutput) ToEndpointsEndpointDbAddressArrayOutput() EndpointsEndpointDbAddressArrayOutput
func (EndpointsEndpointDbAddressArrayOutput) ToEndpointsEndpointDbAddressArrayOutputWithContext ¶
func (o EndpointsEndpointDbAddressArrayOutput) ToEndpointsEndpointDbAddressArrayOutputWithContext(ctx context.Context) EndpointsEndpointDbAddressArrayOutput
type EndpointsEndpointDbAddressInput ¶
type EndpointsEndpointDbAddressInput interface { pulumi.Input ToEndpointsEndpointDbAddressOutput() EndpointsEndpointDbAddressOutput ToEndpointsEndpointDbAddressOutputWithContext(context.Context) EndpointsEndpointDbAddressOutput }
EndpointsEndpointDbAddressInput is an input type that accepts EndpointsEndpointDbAddressArgs and EndpointsEndpointDbAddressOutput values. You can construct a concrete instance of `EndpointsEndpointDbAddressInput` via:
EndpointsEndpointDbAddressArgs{...}
type EndpointsEndpointDbAddressOutput ¶
type EndpointsEndpointDbAddressOutput struct{ *pulumi.OutputState }
func (EndpointsEndpointDbAddressOutput) AddressDomain ¶
func (o EndpointsEndpointDbAddressOutput) AddressDomain() pulumi.StringOutput
The domain of mongodb connection.
func (EndpointsEndpointDbAddressOutput) AddressIp ¶
func (o EndpointsEndpointDbAddressOutput) AddressIp() pulumi.StringOutput
The IP of mongodb connection.
func (EndpointsEndpointDbAddressOutput) AddressPort ¶
func (o EndpointsEndpointDbAddressOutput) AddressPort() pulumi.StringOutput
The port of mongodb connection.
func (EndpointsEndpointDbAddressOutput) AddressType ¶
func (o EndpointsEndpointDbAddressOutput) AddressType() pulumi.StringOutput
The connection type of mongodb.
func (EndpointsEndpointDbAddressOutput) EipId ¶
func (o EndpointsEndpointDbAddressOutput) EipId() pulumi.StringOutput
The EIP ID bound to the instance's public network address.
func (EndpointsEndpointDbAddressOutput) ElementType ¶
func (EndpointsEndpointDbAddressOutput) ElementType() reflect.Type
func (EndpointsEndpointDbAddressOutput) NodeId ¶
func (o EndpointsEndpointDbAddressOutput) NodeId() pulumi.StringOutput
The node ID.
func (EndpointsEndpointDbAddressOutput) ToEndpointsEndpointDbAddressOutput ¶
func (o EndpointsEndpointDbAddressOutput) ToEndpointsEndpointDbAddressOutput() EndpointsEndpointDbAddressOutput
func (EndpointsEndpointDbAddressOutput) ToEndpointsEndpointDbAddressOutputWithContext ¶
func (o EndpointsEndpointDbAddressOutput) ToEndpointsEndpointDbAddressOutputWithContext(ctx context.Context) EndpointsEndpointDbAddressOutput
type EndpointsEndpointInput ¶
type EndpointsEndpointInput interface { pulumi.Input ToEndpointsEndpointOutput() EndpointsEndpointOutput ToEndpointsEndpointOutputWithContext(context.Context) EndpointsEndpointOutput }
EndpointsEndpointInput is an input type that accepts EndpointsEndpointArgs and EndpointsEndpointOutput values. You can construct a concrete instance of `EndpointsEndpointInput` via:
EndpointsEndpointArgs{...}
type EndpointsEndpointOutput ¶
type EndpointsEndpointOutput struct{ *pulumi.OutputState }
func (EndpointsEndpointOutput) DbAddresses ¶
func (o EndpointsEndpointOutput) DbAddresses() EndpointsEndpointDbAddressArrayOutput
The list of mongodb addresses.
func (EndpointsEndpointOutput) ElementType ¶
func (EndpointsEndpointOutput) ElementType() reflect.Type
func (EndpointsEndpointOutput) EndpointId ¶
func (o EndpointsEndpointOutput) EndpointId() pulumi.StringOutput
The ID of endpoint.
func (EndpointsEndpointOutput) EndpointStr ¶
func (o EndpointsEndpointOutput) EndpointStr() pulumi.StringOutput
The endpoint information.
func (EndpointsEndpointOutput) EndpointType ¶
func (o EndpointsEndpointOutput) EndpointType() pulumi.StringOutput
The node type corresponding to the endpoint.
func (EndpointsEndpointOutput) NetworkType ¶
func (o EndpointsEndpointOutput) NetworkType() pulumi.StringOutput
The network type of endpoint.
func (EndpointsEndpointOutput) ObjectId ¶
func (o EndpointsEndpointOutput) ObjectId() pulumi.StringOutput
The object ID corresponding to the endpoint.
func (EndpointsEndpointOutput) SubnetId ¶
func (o EndpointsEndpointOutput) SubnetId() pulumi.StringOutput
The subnet ID.
func (EndpointsEndpointOutput) ToEndpointsEndpointOutput ¶
func (o EndpointsEndpointOutput) ToEndpointsEndpointOutput() EndpointsEndpointOutput
func (EndpointsEndpointOutput) ToEndpointsEndpointOutputWithContext ¶
func (o EndpointsEndpointOutput) ToEndpointsEndpointOutputWithContext(ctx context.Context) EndpointsEndpointOutput
func (EndpointsEndpointOutput) VpcId ¶
func (o EndpointsEndpointOutput) VpcId() pulumi.StringOutput
The VPC ID.
type EndpointsOutputArgs ¶
type EndpointsOutputArgs struct { // The instance ID to query. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // File name where to save data source results. OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking Endpoints.
func (EndpointsOutputArgs) ElementType ¶
func (EndpointsOutputArgs) ElementType() reflect.Type
type EndpointsResult ¶
type EndpointsResult struct { // The collection of mongodb endpoints query. Endpoints []EndpointsEndpoint `pulumi:"endpoints"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId *string `pulumi:"instanceId"` OutputFile *string `pulumi:"outputFile"` // The total count of mongodb endpoint query. TotalCount int `pulumi:"totalCount"` }
A collection of values returned by Endpoints.
func Endpoints ¶
func Endpoints(ctx *pulumi.Context, args *EndpointsArgs, opts ...pulumi.InvokeOption) (*EndpointsResult, error)
Use this data source to query detailed information of mongodb endpoints ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooZones, err := ecs.Zones(ctx, nil, nil) if err != nil { return err } fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{ VpcName: pulumi.String("acc-test-vpc"), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{ SubnetName: pulumi.String("acc-test-subnet"), CidrBlock: pulumi.String("172.16.0.0/24"), ZoneId: *pulumi.String(fooZones.Zones[0].Id), VpcId: fooVpc.ID(), }) if err != nil { return err } fooInstance, err := mongodb.NewInstance(ctx, "fooInstance", &mongodb.InstanceArgs{ DbEngineVersion: pulumi.String("MongoDB_4_0"), InstanceType: pulumi.String("ShardedCluster"), SuperAccountPassword: pulumi.String("@acc-test-123"), NodeSpec: pulumi.String("mongo.shard.1c2g"), MongosNodeSpec: pulumi.String("mongo.mongos.1c2g"), InstanceName: pulumi.String("acc-test-mongo-shard"), ChargeType: pulumi.String("PostPaid"), ProjectName: pulumi.String("default"), MongosNodeNumber: pulumi.Int(2), ShardNumber: pulumi.Int(2), StorageSpaceGb: pulumi.Int(20), SubnetId: fooSubnet.ID(), ZoneId: *pulumi.String(fooZones.Zones[0].Id), Tags: mongodb.InstanceTagArray{ &mongodb.InstanceTagArgs{ Key: pulumi.String("k1"), Value: pulumi.String("v1"), }, }, }) if err != nil { return err } var fooAddress []*eip.Address for index := 0; index < 2; index++ { key0 := index _ := index __res, err := eip.NewAddress(ctx, fmt.Sprintf("fooAddress-%v", key0), &eip.AddressArgs{ BillingType: pulumi.String("PostPaidByBandwidth"), Bandwidth: pulumi.Int(1), Isp: pulumi.String("ChinaUnicom"), Description: pulumi.String("acc-test"), ProjectName: pulumi.String("default"), }) if err != nil { return err } fooAddress = append(fooAddress, __res) } var splat0 pulumi.StringArray for _, val0 := range fooAddress { splat0 = append(splat0, val0.ID()) } _, err = mongodb.NewEndpoint(ctx, "fooPublic", &mongodb.EndpointArgs{ InstanceId: fooInstance.ID(), NetworkType: pulumi.String("Public"), ObjectId: fooInstance.MongosId, MongosNodeIds: pulumi.StringArray{ fooInstance.Mongos.ApplyT(func(mongos []mongodb.InstanceMongo) (*string, error) { return &mongos[0].MongosNodeId, nil }).(pulumi.StringPtrOutput), fooInstance.Mongos.ApplyT(func(mongos []mongodb.InstanceMongo) (*string, error) { return &mongos[1].MongosNodeId, nil }).(pulumi.StringPtrOutput), }, EipIds: splat0, }) if err != nil { return err } _, err = mongodb.NewEndpoint(ctx, "fooPrivate", &mongodb.EndpointArgs{ InstanceId: fooInstance.ID(), NetworkType: pulumi.String("Private"), ObjectId: fooInstance.ConfigServersId, }) if err != nil { return err } _ = mongodb.EndpointsOutput(ctx, mongodb.EndpointsOutputArgs{ InstanceId: fooInstance.ID(), }, nil) return nil }) }
```
type EndpointsResultOutput ¶
type EndpointsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by Endpoints.
func EndpointsOutput ¶
func EndpointsOutput(ctx *pulumi.Context, args EndpointsOutputArgs, opts ...pulumi.InvokeOption) EndpointsResultOutput
func (EndpointsResultOutput) ElementType ¶
func (EndpointsResultOutput) ElementType() reflect.Type
func (EndpointsResultOutput) Endpoints ¶
func (o EndpointsResultOutput) Endpoints() EndpointsEndpointArrayOutput
The collection of mongodb endpoints query.
func (EndpointsResultOutput) Id ¶
func (o EndpointsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (EndpointsResultOutput) InstanceId ¶
func (o EndpointsResultOutput) InstanceId() pulumi.StringPtrOutput
func (EndpointsResultOutput) OutputFile ¶
func (o EndpointsResultOutput) OutputFile() pulumi.StringPtrOutput
func (EndpointsResultOutput) ToEndpointsResultOutput ¶
func (o EndpointsResultOutput) ToEndpointsResultOutput() EndpointsResultOutput
func (EndpointsResultOutput) ToEndpointsResultOutputWithContext ¶
func (o EndpointsResultOutput) ToEndpointsResultOutputWithContext(ctx context.Context) EndpointsResultOutput
func (EndpointsResultOutput) TotalCount ¶
func (o EndpointsResultOutput) TotalCount() pulumi.IntOutput
The total count of mongodb endpoint query.
type Instance ¶
type Instance struct { pulumi.CustomResourceState // Whether to enable automatic renewal. AutoRenew pulumi.BoolOutput `pulumi:"autoRenew"` // The charge type of instance, valid value contains `Prepaid` or `PostPaid`. ChargeType pulumi.StringOutput `pulumi:"chargeType"` // The config servers id of the ShardedCluster instance. ConfigServersId pulumi.StringOutput `pulumi:"configServersId"` // The version of db engine, valid value contains `MongoDB_4_0`, `MongoDB_5_0`. DbEngineVersion pulumi.StringOutput `pulumi:"dbEngineVersion"` // The instance name. InstanceName pulumi.StringOutput `pulumi:"instanceName"` // The type of instance,the valid value contains `ReplicaSet` or `ShardedCluster`. InstanceType pulumi.StringOutput `pulumi:"instanceType"` // The mongos information of the ShardedCluster instance. Mongos InstanceMongoArrayOutput `pulumi:"mongos"` // The mongos id of the ShardedCluster instance. MongosId pulumi.StringOutput `pulumi:"mongosId"` // The mongos node number of shard cluster,value range is `2~23`, this parameter is required when `InstanceType` is `ShardedCluster`. MongosNodeNumber pulumi.IntPtrOutput `pulumi:"mongosNodeNumber"` // The mongos node spec of shard cluster, this parameter is required when `InstanceType` is `ShardedCluster`. MongosNodeSpec pulumi.StringPtrOutput `pulumi:"mongosNodeSpec"` // The spec of node. NodeSpec pulumi.StringOutput `pulumi:"nodeSpec"` // The instance purchase duration,the value range is `1~3` when `PeriodUtil` is `Year`, the value range is `1~9` when `PeriodUtil` is `Month`, this parameter is required when `ChargeType` is `Prepaid`. Period pulumi.IntOutput `pulumi:"period"` // The period unit,valid value contains `Year` or `Month`, this parameter is required when `ChargeType` is `Prepaid`. PeriodUnit pulumi.StringOutput `pulumi:"periodUnit"` // The project name to which the instance belongs. ProjectName pulumi.StringOutput `pulumi:"projectName"` // The number of shards in shard cluster,value range is `2~32`, this parameter is required when `InstanceType` is `ShardedCluster`. ShardNumber pulumi.IntPtrOutput `pulumi:"shardNumber"` // The shards information of the ShardedCluster instance. Shards InstanceShardArrayOutput `pulumi:"shards"` // The total storage space of a replica set instance, or the storage space of a single shard in a sharded cluster, in GiB. StorageSpaceGb pulumi.IntOutput `pulumi:"storageSpaceGb"` // The subnet id of instance. SubnetId pulumi.StringOutput `pulumi:"subnetId"` // The password of database account. SuperAccountPassword pulumi.StringPtrOutput `pulumi:"superAccountPassword"` // Tags. Tags InstanceTagArrayOutput `pulumi:"tags"` // The vpc ID. VpcId pulumi.StringOutput `pulumi:"vpcId"` // The zone ID of instance. ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := mongodb.NewInstance(ctx, "foo", &mongodb.InstanceArgs{ ChargeType: pulumi.String("PostPaid"), DbEngineVersion: pulumi.String("MongoDB_4_0"), InstanceName: pulumi.String("mongo-replica-be9995d32e4a"), InstanceType: pulumi.String("ReplicaSet"), NodeSpec: pulumi.String("mongo.2c4g"), ProjectName: pulumi.String("default"), StorageSpaceGb: pulumi.Int(20), SubnetId: pulumi.String("subnet-rrx4ns6abw1sv0x57wq6h47"), SuperAccountPassword: pulumi.String("******"), Tags: mongodb.InstanceTagArray{ &mongodb.InstanceTagArgs{ Key: pulumi.String("k1"), Value: pulumi.String("v1"), }, }, ZoneId: pulumi.String("cn-beijing-a"), }) if err != nil { return err } return nil }) }
```
## Import
mongodb instance can be imported using the id, e.g.
```sh
$ pulumi import volcengine:mongodb/instance:Instance default mongo-replica-e405f8e2****
```
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 { // Whether to enable automatic renewal. AutoRenew pulumi.BoolPtrInput // The charge type of instance, valid value contains `Prepaid` or `PostPaid`. ChargeType pulumi.StringPtrInput // The version of db engine, valid value contains `MongoDB_4_0`, `MongoDB_5_0`. DbEngineVersion pulumi.StringPtrInput // The instance name. InstanceName pulumi.StringPtrInput // The type of instance,the valid value contains `ReplicaSet` or `ShardedCluster`. InstanceType pulumi.StringPtrInput // The mongos node number of shard cluster,value range is `2~23`, this parameter is required when `InstanceType` is `ShardedCluster`. MongosNodeNumber pulumi.IntPtrInput // The mongos node spec of shard cluster, this parameter is required when `InstanceType` is `ShardedCluster`. MongosNodeSpec pulumi.StringPtrInput // The spec of node. NodeSpec pulumi.StringInput // The instance purchase duration,the value range is `1~3` when `PeriodUtil` is `Year`, the value range is `1~9` when `PeriodUtil` is `Month`, this parameter is required when `ChargeType` is `Prepaid`. Period pulumi.IntPtrInput // The period unit,valid value contains `Year` or `Month`, this parameter is required when `ChargeType` is `Prepaid`. PeriodUnit pulumi.StringPtrInput // The project name to which the instance belongs. ProjectName pulumi.StringPtrInput // The number of shards in shard cluster,value range is `2~32`, this parameter is required when `InstanceType` is `ShardedCluster`. ShardNumber pulumi.IntPtrInput // The total storage space of a replica set instance, or the storage space of a single shard in a sharded cluster, in GiB. StorageSpaceGb pulumi.IntInput // The subnet id of instance. SubnetId pulumi.StringInput // The password of database account. SuperAccountPassword pulumi.StringPtrInput // Tags. Tags InstanceTagArrayInput // The vpc ID. VpcId pulumi.StringPtrInput // The zone ID of instance. ZoneId pulumi.StringPtrInput }
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 InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
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 InstanceMongo ¶ added in v0.0.23
type InstanceMongoArgs ¶ added in v0.0.23
type InstanceMongoArgs struct { // The mongos node ID. MongosNodeId pulumi.StringPtrInput `pulumi:"mongosNodeId"` // The spec of node. NodeSpec pulumi.StringPtrInput `pulumi:"nodeSpec"` // The node status. NodeStatus pulumi.StringPtrInput `pulumi:"nodeStatus"` }
func (InstanceMongoArgs) ElementType ¶ added in v0.0.23
func (InstanceMongoArgs) ElementType() reflect.Type
func (InstanceMongoArgs) ToInstanceMongoOutput ¶ added in v0.0.23
func (i InstanceMongoArgs) ToInstanceMongoOutput() InstanceMongoOutput
func (InstanceMongoArgs) ToInstanceMongoOutputWithContext ¶ added in v0.0.23
func (i InstanceMongoArgs) ToInstanceMongoOutputWithContext(ctx context.Context) InstanceMongoOutput
type InstanceMongoArray ¶ added in v0.0.23
type InstanceMongoArray []InstanceMongoInput
func (InstanceMongoArray) ElementType ¶ added in v0.0.23
func (InstanceMongoArray) ElementType() reflect.Type
func (InstanceMongoArray) ToInstanceMongoArrayOutput ¶ added in v0.0.23
func (i InstanceMongoArray) ToInstanceMongoArrayOutput() InstanceMongoArrayOutput
func (InstanceMongoArray) ToInstanceMongoArrayOutputWithContext ¶ added in v0.0.23
func (i InstanceMongoArray) ToInstanceMongoArrayOutputWithContext(ctx context.Context) InstanceMongoArrayOutput
type InstanceMongoArrayInput ¶ added in v0.0.23
type InstanceMongoArrayInput interface { pulumi.Input ToInstanceMongoArrayOutput() InstanceMongoArrayOutput ToInstanceMongoArrayOutputWithContext(context.Context) InstanceMongoArrayOutput }
InstanceMongoArrayInput is an input type that accepts InstanceMongoArray and InstanceMongoArrayOutput values. You can construct a concrete instance of `InstanceMongoArrayInput` via:
InstanceMongoArray{ InstanceMongoArgs{...} }
type InstanceMongoArrayOutput ¶ added in v0.0.23
type InstanceMongoArrayOutput struct{ *pulumi.OutputState }
func (InstanceMongoArrayOutput) ElementType ¶ added in v0.0.23
func (InstanceMongoArrayOutput) ElementType() reflect.Type
func (InstanceMongoArrayOutput) Index ¶ added in v0.0.23
func (o InstanceMongoArrayOutput) Index(i pulumi.IntInput) InstanceMongoOutput
func (InstanceMongoArrayOutput) ToInstanceMongoArrayOutput ¶ added in v0.0.23
func (o InstanceMongoArrayOutput) ToInstanceMongoArrayOutput() InstanceMongoArrayOutput
func (InstanceMongoArrayOutput) ToInstanceMongoArrayOutputWithContext ¶ added in v0.0.23
func (o InstanceMongoArrayOutput) ToInstanceMongoArrayOutputWithContext(ctx context.Context) InstanceMongoArrayOutput
type InstanceMongoInput ¶ added in v0.0.23
type InstanceMongoInput interface { pulumi.Input ToInstanceMongoOutput() InstanceMongoOutput ToInstanceMongoOutputWithContext(context.Context) InstanceMongoOutput }
InstanceMongoInput is an input type that accepts InstanceMongoArgs and InstanceMongoOutput values. You can construct a concrete instance of `InstanceMongoInput` via:
InstanceMongoArgs{...}
type InstanceMongoOutput ¶ added in v0.0.23
type InstanceMongoOutput struct{ *pulumi.OutputState }
func (InstanceMongoOutput) ElementType ¶ added in v0.0.23
func (InstanceMongoOutput) ElementType() reflect.Type
func (InstanceMongoOutput) MongosNodeId ¶ added in v0.0.23
func (o InstanceMongoOutput) MongosNodeId() pulumi.StringPtrOutput
The mongos node ID.
func (InstanceMongoOutput) NodeSpec ¶ added in v0.0.23
func (o InstanceMongoOutput) NodeSpec() pulumi.StringPtrOutput
The spec of node.
func (InstanceMongoOutput) NodeStatus ¶ added in v0.0.23
func (o InstanceMongoOutput) NodeStatus() pulumi.StringPtrOutput
The node status.
func (InstanceMongoOutput) ToInstanceMongoOutput ¶ added in v0.0.23
func (o InstanceMongoOutput) ToInstanceMongoOutput() InstanceMongoOutput
func (InstanceMongoOutput) ToInstanceMongoOutputWithContext ¶ added in v0.0.23
func (o InstanceMongoOutput) ToInstanceMongoOutputWithContext(ctx context.Context) InstanceMongoOutput
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) AutoRenew ¶
func (o InstanceOutput) AutoRenew() pulumi.BoolOutput
Whether to enable automatic renewal.
func (InstanceOutput) ChargeType ¶
func (o InstanceOutput) ChargeType() pulumi.StringOutput
The charge type of instance, valid value contains `Prepaid` or `PostPaid`.
func (InstanceOutput) ConfigServersId ¶ added in v0.0.23
func (o InstanceOutput) ConfigServersId() pulumi.StringOutput
The config servers id of the ShardedCluster instance.
func (InstanceOutput) DbEngineVersion ¶
func (o InstanceOutput) DbEngineVersion() pulumi.StringOutput
The version of db engine, valid value contains `MongoDB_4_0`, `MongoDB_5_0`.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) InstanceName ¶
func (o InstanceOutput) InstanceName() pulumi.StringOutput
The instance name.
func (InstanceOutput) InstanceType ¶
func (o InstanceOutput) InstanceType() pulumi.StringOutput
The type of instance,the valid value contains `ReplicaSet` or `ShardedCluster`.
func (InstanceOutput) Mongos ¶ added in v0.0.23
func (o InstanceOutput) Mongos() InstanceMongoArrayOutput
The mongos information of the ShardedCluster instance.
func (InstanceOutput) MongosId ¶ added in v0.0.23
func (o InstanceOutput) MongosId() pulumi.StringOutput
The mongos id of the ShardedCluster instance.
func (InstanceOutput) MongosNodeNumber ¶
func (o InstanceOutput) MongosNodeNumber() pulumi.IntPtrOutput
The mongos node number of shard cluster,value range is `2~23`, this parameter is required when `InstanceType` is `ShardedCluster`.
func (InstanceOutput) MongosNodeSpec ¶
func (o InstanceOutput) MongosNodeSpec() pulumi.StringPtrOutput
The mongos node spec of shard cluster, this parameter is required when `InstanceType` is `ShardedCluster`.
func (InstanceOutput) NodeSpec ¶
func (o InstanceOutput) NodeSpec() pulumi.StringOutput
The spec of node.
func (InstanceOutput) Period ¶
func (o InstanceOutput) Period() pulumi.IntOutput
The instance purchase duration,the value range is `1~3` when `PeriodUtil` is `Year`, the value range is `1~9` when `PeriodUtil` is `Month`, this parameter is required when `ChargeType` is `Prepaid`.
func (InstanceOutput) PeriodUnit ¶
func (o InstanceOutput) PeriodUnit() pulumi.StringOutput
The period unit,valid value contains `Year` or `Month`, this parameter is required when `ChargeType` is `Prepaid`.
func (InstanceOutput) ProjectName ¶
func (o InstanceOutput) ProjectName() pulumi.StringOutput
The project name to which the instance belongs.
func (InstanceOutput) ShardNumber ¶
func (o InstanceOutput) ShardNumber() pulumi.IntPtrOutput
The number of shards in shard cluster,value range is `2~32`, this parameter is required when `InstanceType` is `ShardedCluster`.
func (InstanceOutput) Shards ¶ added in v0.0.23
func (o InstanceOutput) Shards() InstanceShardArrayOutput
The shards information of the ShardedCluster instance.
func (InstanceOutput) StorageSpaceGb ¶
func (o InstanceOutput) StorageSpaceGb() pulumi.IntOutput
The total storage space of a replica set instance, or the storage space of a single shard in a sharded cluster, in GiB.
func (InstanceOutput) SubnetId ¶
func (o InstanceOutput) SubnetId() pulumi.StringOutput
The subnet id of instance.
func (InstanceOutput) SuperAccountPassword ¶
func (o InstanceOutput) SuperAccountPassword() pulumi.StringPtrOutput
The password of database account.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) ZoneId ¶
func (o InstanceOutput) ZoneId() pulumi.StringOutput
The zone ID of instance.
type InstanceParameter ¶
type InstanceParameter struct { pulumi.CustomResourceState // The instance ID. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The name of parameter. ParameterName pulumi.StringOutput `pulumi:"parameterName"` // The node type to which the parameter belongs. The value range is as follows: Node, Shard, ConfigServer, Mongos. ParameterRole pulumi.StringOutput `pulumi:"parameterRole"` // The value of parameter. ParameterValue pulumi.StringOutput `pulumi:"parameterValue"` }
Provides a resource to manage mongodb instance parameter ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooZones, err := ecs.Zones(ctx, nil, nil) if err != nil { return err } fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{ VpcName: pulumi.String("acc-test-vpc"), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{ SubnetName: pulumi.String("acc-test-subnet"), CidrBlock: pulumi.String("172.16.0.0/24"), ZoneId: *pulumi.String(fooZones.Zones[0].Id), VpcId: fooVpc.ID(), }) if err != nil { return err } fooInstance, err := mongodb.NewInstance(ctx, "fooInstance", &mongodb.InstanceArgs{ DbEngineVersion: pulumi.String("MongoDB_4_0"), InstanceType: pulumi.String("ReplicaSet"), SuperAccountPassword: pulumi.String("@acc-test-123"), NodeSpec: pulumi.String("mongo.2c4g"), MongosNodeSpec: pulumi.String("mongo.mongos.2c4g"), InstanceName: pulumi.String("acc-test-mongo-replica"), ChargeType: pulumi.String("PostPaid"), ProjectName: pulumi.String("default"), MongosNodeNumber: pulumi.Int(32), ShardNumber: pulumi.Int(3), StorageSpaceGb: pulumi.Int(20), SubnetId: fooSubnet.ID(), ZoneId: *pulumi.String(fooZones.Zones[0].Id), Tags: mongodb.InstanceTagArray{ &mongodb.InstanceTagArgs{ Key: pulumi.String("k1"), Value: pulumi.String("v1"), }, }, }) if err != nil { return err } _, err = mongodb.NewInstanceParameter(ctx, "fooInstanceParameter", &mongodb.InstanceParameterArgs{ InstanceId: fooInstance.ID(), ParameterName: pulumi.String("cursorTimeoutMillis"), ParameterRole: pulumi.String("Node"), ParameterValue: pulumi.String("600111"), }) if err != nil { return err } return nil }) }
```
## Import
mongodb parameter can be imported using the param:instanceId:parameterName, e.g.
```sh
$ pulumi import volcengine:mongodb/instanceParameter:InstanceParameter default param:mongo-replica-e405f8e2****:connPoolMaxConnsPerHost
```
func GetInstanceParameter ¶
func GetInstanceParameter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceParameterState, opts ...pulumi.ResourceOption) (*InstanceParameter, error)
GetInstanceParameter gets an existing InstanceParameter 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 NewInstanceParameter ¶
func NewInstanceParameter(ctx *pulumi.Context, name string, args *InstanceParameterArgs, opts ...pulumi.ResourceOption) (*InstanceParameter, error)
NewInstanceParameter registers a new resource with the given unique name, arguments, and options.
func (*InstanceParameter) ElementType ¶
func (*InstanceParameter) ElementType() reflect.Type
func (*InstanceParameter) ToInstanceParameterOutput ¶
func (i *InstanceParameter) ToInstanceParameterOutput() InstanceParameterOutput
func (*InstanceParameter) ToInstanceParameterOutputWithContext ¶
func (i *InstanceParameter) ToInstanceParameterOutputWithContext(ctx context.Context) InstanceParameterOutput
type InstanceParameterArgs ¶
type InstanceParameterArgs struct { // The instance ID. InstanceId pulumi.StringInput // The name of parameter. ParameterName pulumi.StringInput // The node type to which the parameter belongs. The value range is as follows: Node, Shard, ConfigServer, Mongos. ParameterRole pulumi.StringInput // The value of parameter. ParameterValue pulumi.StringInput }
The set of arguments for constructing a InstanceParameter resource.
func (InstanceParameterArgs) ElementType ¶
func (InstanceParameterArgs) ElementType() reflect.Type
type InstanceParameterArray ¶
type InstanceParameterArray []InstanceParameterInput
func (InstanceParameterArray) ElementType ¶
func (InstanceParameterArray) ElementType() reflect.Type
func (InstanceParameterArray) ToInstanceParameterArrayOutput ¶
func (i InstanceParameterArray) ToInstanceParameterArrayOutput() InstanceParameterArrayOutput
func (InstanceParameterArray) ToInstanceParameterArrayOutputWithContext ¶
func (i InstanceParameterArray) ToInstanceParameterArrayOutputWithContext(ctx context.Context) InstanceParameterArrayOutput
type InstanceParameterArrayInput ¶
type InstanceParameterArrayInput interface { pulumi.Input ToInstanceParameterArrayOutput() InstanceParameterArrayOutput ToInstanceParameterArrayOutputWithContext(context.Context) InstanceParameterArrayOutput }
InstanceParameterArrayInput is an input type that accepts InstanceParameterArray and InstanceParameterArrayOutput values. You can construct a concrete instance of `InstanceParameterArrayInput` via:
InstanceParameterArray{ InstanceParameterArgs{...} }
type InstanceParameterArrayOutput ¶
type InstanceParameterArrayOutput struct{ *pulumi.OutputState }
func (InstanceParameterArrayOutput) ElementType ¶
func (InstanceParameterArrayOutput) ElementType() reflect.Type
func (InstanceParameterArrayOutput) Index ¶
func (o InstanceParameterArrayOutput) Index(i pulumi.IntInput) InstanceParameterOutput
func (InstanceParameterArrayOutput) ToInstanceParameterArrayOutput ¶
func (o InstanceParameterArrayOutput) ToInstanceParameterArrayOutput() InstanceParameterArrayOutput
func (InstanceParameterArrayOutput) ToInstanceParameterArrayOutputWithContext ¶
func (o InstanceParameterArrayOutput) ToInstanceParameterArrayOutputWithContext(ctx context.Context) InstanceParameterArrayOutput
type InstanceParameterInput ¶
type InstanceParameterInput interface { pulumi.Input ToInstanceParameterOutput() InstanceParameterOutput ToInstanceParameterOutputWithContext(ctx context.Context) InstanceParameterOutput }
type InstanceParameterLogsArgs ¶
type InstanceParameterLogsArgs struct { // The end time to query. EndTime string `pulumi:"endTime"` // The instance ID to query. InstanceId string `pulumi:"instanceId"` // File name where to save data source results. OutputFile *string `pulumi:"outputFile"` // The start time to query. StartTime string `pulumi:"startTime"` }
A collection of arguments for invoking InstanceParameterLogs.
type InstanceParameterLogsOutputArgs ¶
type InstanceParameterLogsOutputArgs struct { // The end time to query. EndTime pulumi.StringInput `pulumi:"endTime"` // The instance ID to query. InstanceId pulumi.StringInput `pulumi:"instanceId"` // File name where to save data source results. OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The start time to query. StartTime pulumi.StringInput `pulumi:"startTime"` }
A collection of arguments for invoking InstanceParameterLogs.
func (InstanceParameterLogsOutputArgs) ElementType ¶
func (InstanceParameterLogsOutputArgs) ElementType() reflect.Type
type InstanceParameterLogsParameterChangeLogs ¶
type InstanceParameterLogsParameterChangeLogs struct { // The modifying time of parameter. ModifyTime string `pulumi:"modifyTime"` // The new parameter value. NewParameterValue string `pulumi:"newParameterValue"` // The old parameter value. OldParameterValue string `pulumi:"oldParameterValue"` // The parameter name. ParameterName string `pulumi:"parameterName"` // The node type to which the parameter belongs. ParameterRole string `pulumi:"parameterRole"` // The status of parameter change. ParameterStatus string `pulumi:"parameterStatus"` }
type InstanceParameterLogsParameterChangeLogsArgs ¶
type InstanceParameterLogsParameterChangeLogsArgs struct { // The modifying time of parameter. ModifyTime pulumi.StringInput `pulumi:"modifyTime"` // The new parameter value. NewParameterValue pulumi.StringInput `pulumi:"newParameterValue"` // The old parameter value. OldParameterValue pulumi.StringInput `pulumi:"oldParameterValue"` // The parameter name. ParameterName pulumi.StringInput `pulumi:"parameterName"` // The node type to which the parameter belongs. ParameterRole pulumi.StringInput `pulumi:"parameterRole"` // The status of parameter change. ParameterStatus pulumi.StringInput `pulumi:"parameterStatus"` }
func (InstanceParameterLogsParameterChangeLogsArgs) ElementType ¶
func (InstanceParameterLogsParameterChangeLogsArgs) ElementType() reflect.Type
func (InstanceParameterLogsParameterChangeLogsArgs) ToInstanceParameterLogsParameterChangeLogsOutput ¶
func (i InstanceParameterLogsParameterChangeLogsArgs) ToInstanceParameterLogsParameterChangeLogsOutput() InstanceParameterLogsParameterChangeLogsOutput
func (InstanceParameterLogsParameterChangeLogsArgs) ToInstanceParameterLogsParameterChangeLogsOutputWithContext ¶
func (i InstanceParameterLogsParameterChangeLogsArgs) ToInstanceParameterLogsParameterChangeLogsOutputWithContext(ctx context.Context) InstanceParameterLogsParameterChangeLogsOutput
type InstanceParameterLogsParameterChangeLogsInput ¶
type InstanceParameterLogsParameterChangeLogsInput interface { pulumi.Input ToInstanceParameterLogsParameterChangeLogsOutput() InstanceParameterLogsParameterChangeLogsOutput ToInstanceParameterLogsParameterChangeLogsOutputWithContext(context.Context) InstanceParameterLogsParameterChangeLogsOutput }
InstanceParameterLogsParameterChangeLogsInput is an input type that accepts InstanceParameterLogsParameterChangeLogsArgs and InstanceParameterLogsParameterChangeLogsOutput values. You can construct a concrete instance of `InstanceParameterLogsParameterChangeLogsInput` via:
InstanceParameterLogsParameterChangeLogsArgs{...}
type InstanceParameterLogsParameterChangeLogsOutput ¶
type InstanceParameterLogsParameterChangeLogsOutput struct{ *pulumi.OutputState }
func (InstanceParameterLogsParameterChangeLogsOutput) ElementType ¶
func (InstanceParameterLogsParameterChangeLogsOutput) ElementType() reflect.Type
func (InstanceParameterLogsParameterChangeLogsOutput) ModifyTime ¶
func (o InstanceParameterLogsParameterChangeLogsOutput) ModifyTime() pulumi.StringOutput
The modifying time of parameter.
func (InstanceParameterLogsParameterChangeLogsOutput) NewParameterValue ¶
func (o InstanceParameterLogsParameterChangeLogsOutput) NewParameterValue() pulumi.StringOutput
The new parameter value.
func (InstanceParameterLogsParameterChangeLogsOutput) OldParameterValue ¶
func (o InstanceParameterLogsParameterChangeLogsOutput) OldParameterValue() pulumi.StringOutput
The old parameter value.
func (InstanceParameterLogsParameterChangeLogsOutput) ParameterName ¶
func (o InstanceParameterLogsParameterChangeLogsOutput) ParameterName() pulumi.StringOutput
The parameter name.
func (InstanceParameterLogsParameterChangeLogsOutput) ParameterRole ¶
func (o InstanceParameterLogsParameterChangeLogsOutput) ParameterRole() pulumi.StringOutput
The node type to which the parameter belongs.
func (InstanceParameterLogsParameterChangeLogsOutput) ParameterStatus ¶
func (o InstanceParameterLogsParameterChangeLogsOutput) ParameterStatus() pulumi.StringOutput
The status of parameter change.
func (InstanceParameterLogsParameterChangeLogsOutput) ToInstanceParameterLogsParameterChangeLogsOutput ¶
func (o InstanceParameterLogsParameterChangeLogsOutput) ToInstanceParameterLogsParameterChangeLogsOutput() InstanceParameterLogsParameterChangeLogsOutput
func (InstanceParameterLogsParameterChangeLogsOutput) ToInstanceParameterLogsParameterChangeLogsOutputWithContext ¶
func (o InstanceParameterLogsParameterChangeLogsOutput) ToInstanceParameterLogsParameterChangeLogsOutputWithContext(ctx context.Context) InstanceParameterLogsParameterChangeLogsOutput
type InstanceParameterLogsResult ¶
type InstanceParameterLogsResult struct { EndTime string `pulumi:"endTime"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId string `pulumi:"instanceId"` OutputFile *string `pulumi:"outputFile"` // The collection of parameter change log query. ParameterChangeLogs InstanceParameterLogsParameterChangeLogs `pulumi:"parameterChangeLogs"` StartTime string `pulumi:"startTime"` // The total count of mongodb instance parameter log query. TotalCount int `pulumi:"totalCount"` }
A collection of values returned by InstanceParameterLogs.
func InstanceParameterLogs ¶
func InstanceParameterLogs(ctx *pulumi.Context, args *InstanceParameterLogsArgs, opts ...pulumi.InvokeOption) (*InstanceParameterLogsResult, error)
Use this data source to query detailed information of mongodb instance parameter logs ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := mongodb.InstanceParameterLogs(ctx, &mongodb.InstanceParameterLogsArgs{ EndTime: "2023-11-14 18:15Z", InstanceId: "mongo-replica-f16e9298b121", StartTime: "2022-11-14 00:00Z", }, nil) if err != nil { return err } return nil }) }
```
type InstanceParameterLogsResultOutput ¶
type InstanceParameterLogsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by InstanceParameterLogs.
func InstanceParameterLogsOutput ¶
func InstanceParameterLogsOutput(ctx *pulumi.Context, args InstanceParameterLogsOutputArgs, opts ...pulumi.InvokeOption) InstanceParameterLogsResultOutput
func (InstanceParameterLogsResultOutput) ElementType ¶
func (InstanceParameterLogsResultOutput) ElementType() reflect.Type
func (InstanceParameterLogsResultOutput) EndTime ¶
func (o InstanceParameterLogsResultOutput) EndTime() pulumi.StringOutput
func (InstanceParameterLogsResultOutput) Id ¶
func (o InstanceParameterLogsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (InstanceParameterLogsResultOutput) InstanceId ¶
func (o InstanceParameterLogsResultOutput) InstanceId() pulumi.StringOutput
func (InstanceParameterLogsResultOutput) OutputFile ¶
func (o InstanceParameterLogsResultOutput) OutputFile() pulumi.StringPtrOutput
func (InstanceParameterLogsResultOutput) ParameterChangeLogs ¶
func (o InstanceParameterLogsResultOutput) ParameterChangeLogs() InstanceParameterLogsParameterChangeLogsOutput
The collection of parameter change log query.
func (InstanceParameterLogsResultOutput) StartTime ¶
func (o InstanceParameterLogsResultOutput) StartTime() pulumi.StringOutput
func (InstanceParameterLogsResultOutput) ToInstanceParameterLogsResultOutput ¶
func (o InstanceParameterLogsResultOutput) ToInstanceParameterLogsResultOutput() InstanceParameterLogsResultOutput
func (InstanceParameterLogsResultOutput) ToInstanceParameterLogsResultOutputWithContext ¶
func (o InstanceParameterLogsResultOutput) ToInstanceParameterLogsResultOutputWithContext(ctx context.Context) InstanceParameterLogsResultOutput
func (InstanceParameterLogsResultOutput) TotalCount ¶
func (o InstanceParameterLogsResultOutput) TotalCount() pulumi.IntOutput
The total count of mongodb instance parameter log query.
type InstanceParameterMap ¶
type InstanceParameterMap map[string]InstanceParameterInput
func (InstanceParameterMap) ElementType ¶
func (InstanceParameterMap) ElementType() reflect.Type
func (InstanceParameterMap) ToInstanceParameterMapOutput ¶
func (i InstanceParameterMap) ToInstanceParameterMapOutput() InstanceParameterMapOutput
func (InstanceParameterMap) ToInstanceParameterMapOutputWithContext ¶
func (i InstanceParameterMap) ToInstanceParameterMapOutputWithContext(ctx context.Context) InstanceParameterMapOutput
type InstanceParameterMapInput ¶
type InstanceParameterMapInput interface { pulumi.Input ToInstanceParameterMapOutput() InstanceParameterMapOutput ToInstanceParameterMapOutputWithContext(context.Context) InstanceParameterMapOutput }
InstanceParameterMapInput is an input type that accepts InstanceParameterMap and InstanceParameterMapOutput values. You can construct a concrete instance of `InstanceParameterMapInput` via:
InstanceParameterMap{ "key": InstanceParameterArgs{...} }
type InstanceParameterMapOutput ¶
type InstanceParameterMapOutput struct{ *pulumi.OutputState }
func (InstanceParameterMapOutput) ElementType ¶
func (InstanceParameterMapOutput) ElementType() reflect.Type
func (InstanceParameterMapOutput) MapIndex ¶
func (o InstanceParameterMapOutput) MapIndex(k pulumi.StringInput) InstanceParameterOutput
func (InstanceParameterMapOutput) ToInstanceParameterMapOutput ¶
func (o InstanceParameterMapOutput) ToInstanceParameterMapOutput() InstanceParameterMapOutput
func (InstanceParameterMapOutput) ToInstanceParameterMapOutputWithContext ¶
func (o InstanceParameterMapOutput) ToInstanceParameterMapOutputWithContext(ctx context.Context) InstanceParameterMapOutput
type InstanceParameterOutput ¶
type InstanceParameterOutput struct{ *pulumi.OutputState }
func (InstanceParameterOutput) ElementType ¶
func (InstanceParameterOutput) ElementType() reflect.Type
func (InstanceParameterOutput) InstanceId ¶
func (o InstanceParameterOutput) InstanceId() pulumi.StringOutput
The instance ID.
func (InstanceParameterOutput) ParameterName ¶
func (o InstanceParameterOutput) ParameterName() pulumi.StringOutput
The name of parameter.
func (InstanceParameterOutput) ParameterRole ¶
func (o InstanceParameterOutput) ParameterRole() pulumi.StringOutput
The node type to which the parameter belongs. The value range is as follows: Node, Shard, ConfigServer, Mongos.
func (InstanceParameterOutput) ParameterValue ¶
func (o InstanceParameterOutput) ParameterValue() pulumi.StringOutput
The value of parameter.
func (InstanceParameterOutput) ToInstanceParameterOutput ¶
func (o InstanceParameterOutput) ToInstanceParameterOutput() InstanceParameterOutput
func (InstanceParameterOutput) ToInstanceParameterOutputWithContext ¶
func (o InstanceParameterOutput) ToInstanceParameterOutputWithContext(ctx context.Context) InstanceParameterOutput
type InstanceParameterState ¶
type InstanceParameterState struct { // The instance ID. InstanceId pulumi.StringPtrInput // The name of parameter. ParameterName pulumi.StringPtrInput // The node type to which the parameter belongs. The value range is as follows: Node, Shard, ConfigServer, Mongos. ParameterRole pulumi.StringPtrInput // The value of parameter. ParameterValue pulumi.StringPtrInput }
func (InstanceParameterState) ElementType ¶
func (InstanceParameterState) ElementType() reflect.Type
type InstanceParametersArgs ¶
type InstanceParametersArgs struct { // The instance ID to query. InstanceId string `pulumi:"instanceId"` // File name where to save data source results. OutputFile *string `pulumi:"outputFile"` // The parameter names, support fuzzy query, case insensitive. ParameterNames *string `pulumi:"parameterNames"` // The node type of instance parameter, valid value contains `Node`, `Shard`, `ConfigServer`, `Mongos`. ParameterRole *string `pulumi:"parameterRole"` }
A collection of arguments for invoking InstanceParameters.
type InstanceParametersInstanceParameter ¶ added in v0.0.23
type InstanceParametersInstanceParameter struct { // The checking code of parameter. CheckingCode string `pulumi:"checkingCode"` // Whether the parameter supports modifying. ForceModify bool `pulumi:"forceModify"` // Does the new parameter value need to restart the instance to take effect after modification. ForceRestart bool `pulumi:"forceRestart"` // The default value of parameter. ParameterDefaultValue string `pulumi:"parameterDefaultValue"` // The description of parameter. ParameterDescription string `pulumi:"parameterDescription"` // The name of parameter. ParameterName string `pulumi:"parameterName"` // The node type of instance parameter, valid value contains `Node`, `Shard`, `ConfigServer`, `Mongos`. ParameterRole string `pulumi:"parameterRole"` // The type of parameter value. ParameterType string `pulumi:"parameterType"` // The value of parameter. ParameterValue string `pulumi:"parameterValue"` }
type InstanceParametersInstanceParameterArgs ¶ added in v0.0.23
type InstanceParametersInstanceParameterArgs struct { // The checking code of parameter. CheckingCode pulumi.StringInput `pulumi:"checkingCode"` // Whether the parameter supports modifying. ForceModify pulumi.BoolInput `pulumi:"forceModify"` // Does the new parameter value need to restart the instance to take effect after modification. ForceRestart pulumi.BoolInput `pulumi:"forceRestart"` // The default value of parameter. ParameterDefaultValue pulumi.StringInput `pulumi:"parameterDefaultValue"` // The description of parameter. ParameterDescription pulumi.StringInput `pulumi:"parameterDescription"` // The name of parameter. ParameterName pulumi.StringInput `pulumi:"parameterName"` // The node type of instance parameter, valid value contains `Node`, `Shard`, `ConfigServer`, `Mongos`. ParameterRole pulumi.StringInput `pulumi:"parameterRole"` // The type of parameter value. ParameterType pulumi.StringInput `pulumi:"parameterType"` // The value of parameter. ParameterValue pulumi.StringInput `pulumi:"parameterValue"` }
func (InstanceParametersInstanceParameterArgs) ElementType ¶ added in v0.0.23
func (InstanceParametersInstanceParameterArgs) ElementType() reflect.Type
func (InstanceParametersInstanceParameterArgs) ToInstanceParametersInstanceParameterOutput ¶ added in v0.0.23
func (i InstanceParametersInstanceParameterArgs) ToInstanceParametersInstanceParameterOutput() InstanceParametersInstanceParameterOutput
func (InstanceParametersInstanceParameterArgs) ToInstanceParametersInstanceParameterOutputWithContext ¶ added in v0.0.23
func (i InstanceParametersInstanceParameterArgs) ToInstanceParametersInstanceParameterOutputWithContext(ctx context.Context) InstanceParametersInstanceParameterOutput
type InstanceParametersInstanceParameterArray ¶ added in v0.0.23
type InstanceParametersInstanceParameterArray []InstanceParametersInstanceParameterInput
func (InstanceParametersInstanceParameterArray) ElementType ¶ added in v0.0.23
func (InstanceParametersInstanceParameterArray) ElementType() reflect.Type
func (InstanceParametersInstanceParameterArray) ToInstanceParametersInstanceParameterArrayOutput ¶ added in v0.0.23
func (i InstanceParametersInstanceParameterArray) ToInstanceParametersInstanceParameterArrayOutput() InstanceParametersInstanceParameterArrayOutput
func (InstanceParametersInstanceParameterArray) ToInstanceParametersInstanceParameterArrayOutputWithContext ¶ added in v0.0.23
func (i InstanceParametersInstanceParameterArray) ToInstanceParametersInstanceParameterArrayOutputWithContext(ctx context.Context) InstanceParametersInstanceParameterArrayOutput
type InstanceParametersInstanceParameterArrayInput ¶ added in v0.0.23
type InstanceParametersInstanceParameterArrayInput interface { pulumi.Input ToInstanceParametersInstanceParameterArrayOutput() InstanceParametersInstanceParameterArrayOutput ToInstanceParametersInstanceParameterArrayOutputWithContext(context.Context) InstanceParametersInstanceParameterArrayOutput }
InstanceParametersInstanceParameterArrayInput is an input type that accepts InstanceParametersInstanceParameterArray and InstanceParametersInstanceParameterArrayOutput values. You can construct a concrete instance of `InstanceParametersInstanceParameterArrayInput` via:
InstanceParametersInstanceParameterArray{ InstanceParametersInstanceParameterArgs{...} }
type InstanceParametersInstanceParameterArrayOutput ¶ added in v0.0.23
type InstanceParametersInstanceParameterArrayOutput struct{ *pulumi.OutputState }
func (InstanceParametersInstanceParameterArrayOutput) ElementType ¶ added in v0.0.23
func (InstanceParametersInstanceParameterArrayOutput) ElementType() reflect.Type
func (InstanceParametersInstanceParameterArrayOutput) ToInstanceParametersInstanceParameterArrayOutput ¶ added in v0.0.23
func (o InstanceParametersInstanceParameterArrayOutput) ToInstanceParametersInstanceParameterArrayOutput() InstanceParametersInstanceParameterArrayOutput
func (InstanceParametersInstanceParameterArrayOutput) ToInstanceParametersInstanceParameterArrayOutputWithContext ¶ added in v0.0.23
func (o InstanceParametersInstanceParameterArrayOutput) ToInstanceParametersInstanceParameterArrayOutputWithContext(ctx context.Context) InstanceParametersInstanceParameterArrayOutput
type InstanceParametersInstanceParameterInput ¶ added in v0.0.23
type InstanceParametersInstanceParameterInput interface { pulumi.Input ToInstanceParametersInstanceParameterOutput() InstanceParametersInstanceParameterOutput ToInstanceParametersInstanceParameterOutputWithContext(context.Context) InstanceParametersInstanceParameterOutput }
InstanceParametersInstanceParameterInput is an input type that accepts InstanceParametersInstanceParameterArgs and InstanceParametersInstanceParameterOutput values. You can construct a concrete instance of `InstanceParametersInstanceParameterInput` via:
InstanceParametersInstanceParameterArgs{...}
type InstanceParametersInstanceParameterOutput ¶ added in v0.0.23
type InstanceParametersInstanceParameterOutput struct{ *pulumi.OutputState }
func (InstanceParametersInstanceParameterOutput) CheckingCode ¶ added in v0.0.23
func (o InstanceParametersInstanceParameterOutput) CheckingCode() pulumi.StringOutput
The checking code of parameter.
func (InstanceParametersInstanceParameterOutput) ElementType ¶ added in v0.0.23
func (InstanceParametersInstanceParameterOutput) ElementType() reflect.Type
func (InstanceParametersInstanceParameterOutput) ForceModify ¶ added in v0.0.23
func (o InstanceParametersInstanceParameterOutput) ForceModify() pulumi.BoolOutput
Whether the parameter supports modifying.
func (InstanceParametersInstanceParameterOutput) ForceRestart ¶ added in v0.0.23
func (o InstanceParametersInstanceParameterOutput) ForceRestart() pulumi.BoolOutput
Does the new parameter value need to restart the instance to take effect after modification.
func (InstanceParametersInstanceParameterOutput) ParameterDefaultValue ¶ added in v0.0.23
func (o InstanceParametersInstanceParameterOutput) ParameterDefaultValue() pulumi.StringOutput
The default value of parameter.
func (InstanceParametersInstanceParameterOutput) ParameterDescription ¶ added in v0.0.23
func (o InstanceParametersInstanceParameterOutput) ParameterDescription() pulumi.StringOutput
The description of parameter.
func (InstanceParametersInstanceParameterOutput) ParameterName ¶ added in v0.0.23
func (o InstanceParametersInstanceParameterOutput) ParameterName() pulumi.StringOutput
The name of parameter.
func (InstanceParametersInstanceParameterOutput) ParameterRole ¶ added in v0.0.23
func (o InstanceParametersInstanceParameterOutput) ParameterRole() pulumi.StringOutput
The node type of instance parameter, valid value contains `Node`, `Shard`, `ConfigServer`, `Mongos`.
func (InstanceParametersInstanceParameterOutput) ParameterType ¶ added in v0.0.23
func (o InstanceParametersInstanceParameterOutput) ParameterType() pulumi.StringOutput
The type of parameter value.
func (InstanceParametersInstanceParameterOutput) ParameterValue ¶ added in v0.0.23
func (o InstanceParametersInstanceParameterOutput) ParameterValue() pulumi.StringOutput
The value of parameter.
func (InstanceParametersInstanceParameterOutput) ToInstanceParametersInstanceParameterOutput ¶ added in v0.0.23
func (o InstanceParametersInstanceParameterOutput) ToInstanceParametersInstanceParameterOutput() InstanceParametersInstanceParameterOutput
func (InstanceParametersInstanceParameterOutput) ToInstanceParametersInstanceParameterOutputWithContext ¶ added in v0.0.23
func (o InstanceParametersInstanceParameterOutput) ToInstanceParametersInstanceParameterOutputWithContext(ctx context.Context) InstanceParametersInstanceParameterOutput
type InstanceParametersOutputArgs ¶
type InstanceParametersOutputArgs struct { // The instance ID to query. InstanceId pulumi.StringInput `pulumi:"instanceId"` // File name where to save data source results. OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The parameter names, support fuzzy query, case insensitive. ParameterNames pulumi.StringPtrInput `pulumi:"parameterNames"` // The node type of instance parameter, valid value contains `Node`, `Shard`, `ConfigServer`, `Mongos`. ParameterRole pulumi.StringPtrInput `pulumi:"parameterRole"` }
A collection of arguments for invoking InstanceParameters.
func (InstanceParametersOutputArgs) ElementType ¶
func (InstanceParametersOutputArgs) ElementType() reflect.Type
type InstanceParametersParameter ¶ added in v0.0.23
type InstanceParametersParameter struct { // The database engine. DbEngine string `pulumi:"dbEngine"` // The database engine version. DbEngineVersion string `pulumi:"dbEngineVersion"` // The instance ID to query. InstanceId string `pulumi:"instanceId"` // The list of parameters. InstanceParameters []InstanceParametersParameterInstanceParameter `pulumi:"instanceParameters"` // The total parameters queried. Total string `pulumi:"total"` }
type InstanceParametersParameterArgs ¶ added in v0.0.23
type InstanceParametersParameterArgs struct { // The database engine. DbEngine pulumi.StringInput `pulumi:"dbEngine"` // The database engine version. DbEngineVersion pulumi.StringInput `pulumi:"dbEngineVersion"` // The instance ID to query. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The list of parameters. InstanceParameters InstanceParametersParameterInstanceParameterArrayInput `pulumi:"instanceParameters"` // The total parameters queried. Total pulumi.StringInput `pulumi:"total"` }
func (InstanceParametersParameterArgs) ElementType ¶ added in v0.0.23
func (InstanceParametersParameterArgs) ElementType() reflect.Type
func (InstanceParametersParameterArgs) ToInstanceParametersParameterOutput ¶ added in v0.0.23
func (i InstanceParametersParameterArgs) ToInstanceParametersParameterOutput() InstanceParametersParameterOutput
func (InstanceParametersParameterArgs) ToInstanceParametersParameterOutputWithContext ¶ added in v0.0.23
func (i InstanceParametersParameterArgs) ToInstanceParametersParameterOutputWithContext(ctx context.Context) InstanceParametersParameterOutput
type InstanceParametersParameterArray ¶ added in v0.0.23
type InstanceParametersParameterArray []InstanceParametersParameterInput
func (InstanceParametersParameterArray) ElementType ¶ added in v0.0.23
func (InstanceParametersParameterArray) ElementType() reflect.Type
func (InstanceParametersParameterArray) ToInstanceParametersParameterArrayOutput ¶ added in v0.0.23
func (i InstanceParametersParameterArray) ToInstanceParametersParameterArrayOutput() InstanceParametersParameterArrayOutput
func (InstanceParametersParameterArray) ToInstanceParametersParameterArrayOutputWithContext ¶ added in v0.0.23
func (i InstanceParametersParameterArray) ToInstanceParametersParameterArrayOutputWithContext(ctx context.Context) InstanceParametersParameterArrayOutput
type InstanceParametersParameterArrayInput ¶ added in v0.0.23
type InstanceParametersParameterArrayInput interface { pulumi.Input ToInstanceParametersParameterArrayOutput() InstanceParametersParameterArrayOutput ToInstanceParametersParameterArrayOutputWithContext(context.Context) InstanceParametersParameterArrayOutput }
InstanceParametersParameterArrayInput is an input type that accepts InstanceParametersParameterArray and InstanceParametersParameterArrayOutput values. You can construct a concrete instance of `InstanceParametersParameterArrayInput` via:
InstanceParametersParameterArray{ InstanceParametersParameterArgs{...} }
type InstanceParametersParameterArrayOutput ¶ added in v0.0.23
type InstanceParametersParameterArrayOutput struct{ *pulumi.OutputState }
func (InstanceParametersParameterArrayOutput) ElementType ¶ added in v0.0.23
func (InstanceParametersParameterArrayOutput) ElementType() reflect.Type
func (InstanceParametersParameterArrayOutput) ToInstanceParametersParameterArrayOutput ¶ added in v0.0.23
func (o InstanceParametersParameterArrayOutput) ToInstanceParametersParameterArrayOutput() InstanceParametersParameterArrayOutput
func (InstanceParametersParameterArrayOutput) ToInstanceParametersParameterArrayOutputWithContext ¶ added in v0.0.23
func (o InstanceParametersParameterArrayOutput) ToInstanceParametersParameterArrayOutputWithContext(ctx context.Context) InstanceParametersParameterArrayOutput
type InstanceParametersParameterInput ¶ added in v0.0.23
type InstanceParametersParameterInput interface { pulumi.Input ToInstanceParametersParameterOutput() InstanceParametersParameterOutput ToInstanceParametersParameterOutputWithContext(context.Context) InstanceParametersParameterOutput }
InstanceParametersParameterInput is an input type that accepts InstanceParametersParameterArgs and InstanceParametersParameterOutput values. You can construct a concrete instance of `InstanceParametersParameterInput` via:
InstanceParametersParameterArgs{...}
type InstanceParametersParameterInstanceParameter ¶ added in v0.0.23
type InstanceParametersParameterInstanceParameter struct { // The checking code of parameter. CheckingCode string `pulumi:"checkingCode"` // Whether the parameter supports modifying. ForceModify bool `pulumi:"forceModify"` // Does the new parameter value need to restart the instance to take effect after modification. ForceRestart bool `pulumi:"forceRestart"` // The default value of parameter. ParameterDefaultValue string `pulumi:"parameterDefaultValue"` // The description of parameter. ParameterDescription string `pulumi:"parameterDescription"` // The name of parameter. ParameterName string `pulumi:"parameterName"` // The node type of instance parameter, valid value contains `Node`, `Shard`, `ConfigServer`, `Mongos`. ParameterRole string `pulumi:"parameterRole"` // The type of parameter value. ParameterType string `pulumi:"parameterType"` // The value of parameter. ParameterValue string `pulumi:"parameterValue"` }
type InstanceParametersParameterInstanceParameterArgs ¶ added in v0.0.23
type InstanceParametersParameterInstanceParameterArgs struct { // The checking code of parameter. CheckingCode pulumi.StringInput `pulumi:"checkingCode"` // Whether the parameter supports modifying. ForceModify pulumi.BoolInput `pulumi:"forceModify"` // Does the new parameter value need to restart the instance to take effect after modification. ForceRestart pulumi.BoolInput `pulumi:"forceRestart"` // The default value of parameter. ParameterDefaultValue pulumi.StringInput `pulumi:"parameterDefaultValue"` // The description of parameter. ParameterDescription pulumi.StringInput `pulumi:"parameterDescription"` // The name of parameter. ParameterName pulumi.StringInput `pulumi:"parameterName"` // The node type of instance parameter, valid value contains `Node`, `Shard`, `ConfigServer`, `Mongos`. ParameterRole pulumi.StringInput `pulumi:"parameterRole"` // The type of parameter value. ParameterType pulumi.StringInput `pulumi:"parameterType"` // The value of parameter. ParameterValue pulumi.StringInput `pulumi:"parameterValue"` }
func (InstanceParametersParameterInstanceParameterArgs) ElementType ¶ added in v0.0.23
func (InstanceParametersParameterInstanceParameterArgs) ElementType() reflect.Type
func (InstanceParametersParameterInstanceParameterArgs) ToInstanceParametersParameterInstanceParameterOutput ¶ added in v0.0.23
func (i InstanceParametersParameterInstanceParameterArgs) ToInstanceParametersParameterInstanceParameterOutput() InstanceParametersParameterInstanceParameterOutput
func (InstanceParametersParameterInstanceParameterArgs) ToInstanceParametersParameterInstanceParameterOutputWithContext ¶ added in v0.0.23
func (i InstanceParametersParameterInstanceParameterArgs) ToInstanceParametersParameterInstanceParameterOutputWithContext(ctx context.Context) InstanceParametersParameterInstanceParameterOutput
type InstanceParametersParameterInstanceParameterArray ¶ added in v0.0.23
type InstanceParametersParameterInstanceParameterArray []InstanceParametersParameterInstanceParameterInput
func (InstanceParametersParameterInstanceParameterArray) ElementType ¶ added in v0.0.23
func (InstanceParametersParameterInstanceParameterArray) ElementType() reflect.Type
func (InstanceParametersParameterInstanceParameterArray) ToInstanceParametersParameterInstanceParameterArrayOutput ¶ added in v0.0.23
func (i InstanceParametersParameterInstanceParameterArray) ToInstanceParametersParameterInstanceParameterArrayOutput() InstanceParametersParameterInstanceParameterArrayOutput
func (InstanceParametersParameterInstanceParameterArray) ToInstanceParametersParameterInstanceParameterArrayOutputWithContext ¶ added in v0.0.23
func (i InstanceParametersParameterInstanceParameterArray) ToInstanceParametersParameterInstanceParameterArrayOutputWithContext(ctx context.Context) InstanceParametersParameterInstanceParameterArrayOutput
type InstanceParametersParameterInstanceParameterArrayInput ¶ added in v0.0.23
type InstanceParametersParameterInstanceParameterArrayInput interface { pulumi.Input ToInstanceParametersParameterInstanceParameterArrayOutput() InstanceParametersParameterInstanceParameterArrayOutput ToInstanceParametersParameterInstanceParameterArrayOutputWithContext(context.Context) InstanceParametersParameterInstanceParameterArrayOutput }
InstanceParametersParameterInstanceParameterArrayInput is an input type that accepts InstanceParametersParameterInstanceParameterArray and InstanceParametersParameterInstanceParameterArrayOutput values. You can construct a concrete instance of `InstanceParametersParameterInstanceParameterArrayInput` via:
InstanceParametersParameterInstanceParameterArray{ InstanceParametersParameterInstanceParameterArgs{...} }
type InstanceParametersParameterInstanceParameterArrayOutput ¶ added in v0.0.23
type InstanceParametersParameterInstanceParameterArrayOutput struct{ *pulumi.OutputState }
func (InstanceParametersParameterInstanceParameterArrayOutput) ElementType ¶ added in v0.0.23
func (InstanceParametersParameterInstanceParameterArrayOutput) ElementType() reflect.Type
func (InstanceParametersParameterInstanceParameterArrayOutput) ToInstanceParametersParameterInstanceParameterArrayOutput ¶ added in v0.0.23
func (o InstanceParametersParameterInstanceParameterArrayOutput) ToInstanceParametersParameterInstanceParameterArrayOutput() InstanceParametersParameterInstanceParameterArrayOutput
func (InstanceParametersParameterInstanceParameterArrayOutput) ToInstanceParametersParameterInstanceParameterArrayOutputWithContext ¶ added in v0.0.23
func (o InstanceParametersParameterInstanceParameterArrayOutput) ToInstanceParametersParameterInstanceParameterArrayOutputWithContext(ctx context.Context) InstanceParametersParameterInstanceParameterArrayOutput
type InstanceParametersParameterInstanceParameterInput ¶ added in v0.0.23
type InstanceParametersParameterInstanceParameterInput interface { pulumi.Input ToInstanceParametersParameterInstanceParameterOutput() InstanceParametersParameterInstanceParameterOutput ToInstanceParametersParameterInstanceParameterOutputWithContext(context.Context) InstanceParametersParameterInstanceParameterOutput }
InstanceParametersParameterInstanceParameterInput is an input type that accepts InstanceParametersParameterInstanceParameterArgs and InstanceParametersParameterInstanceParameterOutput values. You can construct a concrete instance of `InstanceParametersParameterInstanceParameterInput` via:
InstanceParametersParameterInstanceParameterArgs{...}
type InstanceParametersParameterInstanceParameterOutput ¶ added in v0.0.23
type InstanceParametersParameterInstanceParameterOutput struct{ *pulumi.OutputState }
func (InstanceParametersParameterInstanceParameterOutput) CheckingCode ¶ added in v0.0.23
func (o InstanceParametersParameterInstanceParameterOutput) CheckingCode() pulumi.StringOutput
The checking code of parameter.
func (InstanceParametersParameterInstanceParameterOutput) ElementType ¶ added in v0.0.23
func (InstanceParametersParameterInstanceParameterOutput) ElementType() reflect.Type
func (InstanceParametersParameterInstanceParameterOutput) ForceModify ¶ added in v0.0.23
func (o InstanceParametersParameterInstanceParameterOutput) ForceModify() pulumi.BoolOutput
Whether the parameter supports modifying.
func (InstanceParametersParameterInstanceParameterOutput) ForceRestart ¶ added in v0.0.23
func (o InstanceParametersParameterInstanceParameterOutput) ForceRestart() pulumi.BoolOutput
Does the new parameter value need to restart the instance to take effect after modification.
func (InstanceParametersParameterInstanceParameterOutput) ParameterDefaultValue ¶ added in v0.0.23
func (o InstanceParametersParameterInstanceParameterOutput) ParameterDefaultValue() pulumi.StringOutput
The default value of parameter.
func (InstanceParametersParameterInstanceParameterOutput) ParameterDescription ¶ added in v0.0.23
func (o InstanceParametersParameterInstanceParameterOutput) ParameterDescription() pulumi.StringOutput
The description of parameter.
func (InstanceParametersParameterInstanceParameterOutput) ParameterName ¶ added in v0.0.23
func (o InstanceParametersParameterInstanceParameterOutput) ParameterName() pulumi.StringOutput
The name of parameter.
func (InstanceParametersParameterInstanceParameterOutput) ParameterRole ¶ added in v0.0.23
func (o InstanceParametersParameterInstanceParameterOutput) ParameterRole() pulumi.StringOutput
The node type of instance parameter, valid value contains `Node`, `Shard`, `ConfigServer`, `Mongos`.
func (InstanceParametersParameterInstanceParameterOutput) ParameterType ¶ added in v0.0.23
func (o InstanceParametersParameterInstanceParameterOutput) ParameterType() pulumi.StringOutput
The type of parameter value.
func (InstanceParametersParameterInstanceParameterOutput) ParameterValue ¶ added in v0.0.23
func (o InstanceParametersParameterInstanceParameterOutput) ParameterValue() pulumi.StringOutput
The value of parameter.
func (InstanceParametersParameterInstanceParameterOutput) ToInstanceParametersParameterInstanceParameterOutput ¶ added in v0.0.23
func (o InstanceParametersParameterInstanceParameterOutput) ToInstanceParametersParameterInstanceParameterOutput() InstanceParametersParameterInstanceParameterOutput
func (InstanceParametersParameterInstanceParameterOutput) ToInstanceParametersParameterInstanceParameterOutputWithContext ¶ added in v0.0.23
func (o InstanceParametersParameterInstanceParameterOutput) ToInstanceParametersParameterInstanceParameterOutputWithContext(ctx context.Context) InstanceParametersParameterInstanceParameterOutput
type InstanceParametersParameterOutput ¶ added in v0.0.23
type InstanceParametersParameterOutput struct{ *pulumi.OutputState }
func (InstanceParametersParameterOutput) DbEngine ¶ added in v0.0.23
func (o InstanceParametersParameterOutput) DbEngine() pulumi.StringOutput
The database engine.
func (InstanceParametersParameterOutput) DbEngineVersion ¶ added in v0.0.23
func (o InstanceParametersParameterOutput) DbEngineVersion() pulumi.StringOutput
The database engine version.
func (InstanceParametersParameterOutput) ElementType ¶ added in v0.0.23
func (InstanceParametersParameterOutput) ElementType() reflect.Type
func (InstanceParametersParameterOutput) InstanceId ¶ added in v0.0.23
func (o InstanceParametersParameterOutput) InstanceId() pulumi.StringOutput
The instance ID to query.
func (InstanceParametersParameterOutput) InstanceParameters ¶ added in v0.0.23
func (o InstanceParametersParameterOutput) InstanceParameters() InstanceParametersParameterInstanceParameterArrayOutput
The list of parameters.
func (InstanceParametersParameterOutput) ToInstanceParametersParameterOutput ¶ added in v0.0.23
func (o InstanceParametersParameterOutput) ToInstanceParametersParameterOutput() InstanceParametersParameterOutput
func (InstanceParametersParameterOutput) ToInstanceParametersParameterOutputWithContext ¶ added in v0.0.23
func (o InstanceParametersParameterOutput) ToInstanceParametersParameterOutputWithContext(ctx context.Context) InstanceParametersParameterOutput
func (InstanceParametersParameterOutput) Total ¶ added in v0.0.23
func (o InstanceParametersParameterOutput) Total() pulumi.StringOutput
The total parameters queried.
type InstanceParametersResult ¶
type InstanceParametersResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The instance ID. InstanceId string `pulumi:"instanceId"` // The list of parameters. InstanceParameters []InstanceParametersInstanceParameter `pulumi:"instanceParameters"` OutputFile *string `pulumi:"outputFile"` ParameterNames *string `pulumi:"parameterNames"` // The node type to which the parameter belongs. ParameterRole *string `pulumi:"parameterRole"` // (**Deprecated**) This field has been deprecated and it is recommended to use instance_parameters. The collection of parameter query. // // Deprecated: This field has been deprecated and it is recommended to use instance_parameters. Parameters []InstanceParametersParameter `pulumi:"parameters"` // The total count of mongodb instance parameter query. TotalCount int `pulumi:"totalCount"` }
A collection of values returned by InstanceParameters.
func InstanceParameters ¶
func InstanceParameters(ctx *pulumi.Context, args *InstanceParametersArgs, opts ...pulumi.InvokeOption) (*InstanceParametersResult, error)
Use this data source to query detailed information of mongodb instance parameters ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooZones, err := ecs.Zones(ctx, nil, nil) if err != nil { return err } fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{ VpcName: pulumi.String("acc-test-vpc"), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{ SubnetName: pulumi.String("acc-test-subnet"), CidrBlock: pulumi.String("172.16.0.0/24"), ZoneId: *pulumi.String(fooZones.Zones[0].Id), VpcId: fooVpc.ID(), }) if err != nil { return err } fooInstance, err := mongodb.NewInstance(ctx, "fooInstance", &mongodb.InstanceArgs{ DbEngineVersion: pulumi.String("MongoDB_4_0"), InstanceType: pulumi.String("ReplicaSet"), SuperAccountPassword: pulumi.String("@acc-test-123"), NodeSpec: pulumi.String("mongo.2c4g"), MongosNodeSpec: pulumi.String("mongo.mongos.2c4g"), InstanceName: pulumi.String("acc-test-mongo-replica"), ChargeType: pulumi.String("PostPaid"), ProjectName: pulumi.String("default"), MongosNodeNumber: pulumi.Int(32), ShardNumber: pulumi.Int(3), StorageSpaceGb: pulumi.Int(20), SubnetId: fooSubnet.ID(), ZoneId: *pulumi.String(fooZones.Zones[0].Id), Tags: mongodb.InstanceTagArray{ &mongodb.InstanceTagArgs{ Key: pulumi.String("k1"), Value: pulumi.String("v1"), }, }, }) if err != nil { return err } _, err = mongodb.NewInstanceParameter(ctx, "fooInstanceParameter", &mongodb.InstanceParameterArgs{ InstanceId: fooInstance.ID(), ParameterName: pulumi.String("cursorTimeoutMillis"), ParameterRole: pulumi.String("Node"), ParameterValue: pulumi.String("600111"), }) if err != nil { return err } _ = mongodb.InstanceParametersOutput(ctx, mongodb.InstanceParametersOutputArgs{ InstanceId: fooInstance.ID(), ParameterNames: pulumi.String("cursorTimeoutMillis"), ParameterRole: pulumi.String("Node"), }, nil) return nil }) }
```
type InstanceParametersResultOutput ¶
type InstanceParametersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by InstanceParameters.
func InstanceParametersOutput ¶
func InstanceParametersOutput(ctx *pulumi.Context, args InstanceParametersOutputArgs, opts ...pulumi.InvokeOption) InstanceParametersResultOutput
func (InstanceParametersResultOutput) ElementType ¶
func (InstanceParametersResultOutput) ElementType() reflect.Type
func (InstanceParametersResultOutput) Id ¶
func (o InstanceParametersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (InstanceParametersResultOutput) InstanceId ¶
func (o InstanceParametersResultOutput) InstanceId() pulumi.StringOutput
The instance ID.
func (InstanceParametersResultOutput) InstanceParameters ¶ added in v0.0.23
func (o InstanceParametersResultOutput) InstanceParameters() InstanceParametersInstanceParameterArrayOutput
The list of parameters.
func (InstanceParametersResultOutput) OutputFile ¶
func (o InstanceParametersResultOutput) OutputFile() pulumi.StringPtrOutput
func (InstanceParametersResultOutput) ParameterNames ¶
func (o InstanceParametersResultOutput) ParameterNames() pulumi.StringPtrOutput
func (InstanceParametersResultOutput) ParameterRole ¶
func (o InstanceParametersResultOutput) ParameterRole() pulumi.StringPtrOutput
The node type to which the parameter belongs.
func (InstanceParametersResultOutput) Parameters
deprecated
func (o InstanceParametersResultOutput) Parameters() InstanceParametersParameterArrayOutput
(**Deprecated**) This field has been deprecated and it is recommended to use instance_parameters. The collection of parameter query.
Deprecated: This field has been deprecated and it is recommended to use instance_parameters.
func (InstanceParametersResultOutput) ToInstanceParametersResultOutput ¶
func (o InstanceParametersResultOutput) ToInstanceParametersResultOutput() InstanceParametersResultOutput
func (InstanceParametersResultOutput) ToInstanceParametersResultOutputWithContext ¶
func (o InstanceParametersResultOutput) ToInstanceParametersResultOutputWithContext(ctx context.Context) InstanceParametersResultOutput
func (InstanceParametersResultOutput) TotalCount ¶
func (o InstanceParametersResultOutput) TotalCount() pulumi.IntOutput
The total count of mongodb instance parameter query.
type InstanceShard ¶ added in v0.0.23
type InstanceShard struct { // The shard id. ShardId *string `pulumi:"shardId"` }
type InstanceShardArgs ¶ added in v0.0.23
type InstanceShardArgs struct { // The shard id. ShardId pulumi.StringPtrInput `pulumi:"shardId"` }
func (InstanceShardArgs) ElementType ¶ added in v0.0.23
func (InstanceShardArgs) ElementType() reflect.Type
func (InstanceShardArgs) ToInstanceShardOutput ¶ added in v0.0.23
func (i InstanceShardArgs) ToInstanceShardOutput() InstanceShardOutput
func (InstanceShardArgs) ToInstanceShardOutputWithContext ¶ added in v0.0.23
func (i InstanceShardArgs) ToInstanceShardOutputWithContext(ctx context.Context) InstanceShardOutput
type InstanceShardArray ¶ added in v0.0.23
type InstanceShardArray []InstanceShardInput
func (InstanceShardArray) ElementType ¶ added in v0.0.23
func (InstanceShardArray) ElementType() reflect.Type
func (InstanceShardArray) ToInstanceShardArrayOutput ¶ added in v0.0.23
func (i InstanceShardArray) ToInstanceShardArrayOutput() InstanceShardArrayOutput
func (InstanceShardArray) ToInstanceShardArrayOutputWithContext ¶ added in v0.0.23
func (i InstanceShardArray) ToInstanceShardArrayOutputWithContext(ctx context.Context) InstanceShardArrayOutput
type InstanceShardArrayInput ¶ added in v0.0.23
type InstanceShardArrayInput interface { pulumi.Input ToInstanceShardArrayOutput() InstanceShardArrayOutput ToInstanceShardArrayOutputWithContext(context.Context) InstanceShardArrayOutput }
InstanceShardArrayInput is an input type that accepts InstanceShardArray and InstanceShardArrayOutput values. You can construct a concrete instance of `InstanceShardArrayInput` via:
InstanceShardArray{ InstanceShardArgs{...} }
type InstanceShardArrayOutput ¶ added in v0.0.23
type InstanceShardArrayOutput struct{ *pulumi.OutputState }
func (InstanceShardArrayOutput) ElementType ¶ added in v0.0.23
func (InstanceShardArrayOutput) ElementType() reflect.Type
func (InstanceShardArrayOutput) Index ¶ added in v0.0.23
func (o InstanceShardArrayOutput) Index(i pulumi.IntInput) InstanceShardOutput
func (InstanceShardArrayOutput) ToInstanceShardArrayOutput ¶ added in v0.0.23
func (o InstanceShardArrayOutput) ToInstanceShardArrayOutput() InstanceShardArrayOutput
func (InstanceShardArrayOutput) ToInstanceShardArrayOutputWithContext ¶ added in v0.0.23
func (o InstanceShardArrayOutput) ToInstanceShardArrayOutputWithContext(ctx context.Context) InstanceShardArrayOutput
type InstanceShardInput ¶ added in v0.0.23
type InstanceShardInput interface { pulumi.Input ToInstanceShardOutput() InstanceShardOutput ToInstanceShardOutputWithContext(context.Context) InstanceShardOutput }
InstanceShardInput is an input type that accepts InstanceShardArgs and InstanceShardOutput values. You can construct a concrete instance of `InstanceShardInput` via:
InstanceShardArgs{...}
type InstanceShardOutput ¶ added in v0.0.23
type InstanceShardOutput struct{ *pulumi.OutputState }
func (InstanceShardOutput) ElementType ¶ added in v0.0.23
func (InstanceShardOutput) ElementType() reflect.Type
func (InstanceShardOutput) ShardId ¶ added in v0.0.23
func (o InstanceShardOutput) ShardId() pulumi.StringPtrOutput
The shard id.
func (InstanceShardOutput) ToInstanceShardOutput ¶ added in v0.0.23
func (o InstanceShardOutput) ToInstanceShardOutput() InstanceShardOutput
func (InstanceShardOutput) ToInstanceShardOutputWithContext ¶ added in v0.0.23
func (o InstanceShardOutput) ToInstanceShardOutputWithContext(ctx context.Context) InstanceShardOutput
type InstanceState ¶
type InstanceState struct { // Whether to enable automatic renewal. AutoRenew pulumi.BoolPtrInput // The charge type of instance, valid value contains `Prepaid` or `PostPaid`. ChargeType pulumi.StringPtrInput // The config servers id of the ShardedCluster instance. ConfigServersId pulumi.StringPtrInput // The version of db engine, valid value contains `MongoDB_4_0`, `MongoDB_5_0`. DbEngineVersion pulumi.StringPtrInput // The instance name. InstanceName pulumi.StringPtrInput // The type of instance,the valid value contains `ReplicaSet` or `ShardedCluster`. InstanceType pulumi.StringPtrInput // The mongos information of the ShardedCluster instance. Mongos InstanceMongoArrayInput // The mongos id of the ShardedCluster instance. MongosId pulumi.StringPtrInput // The mongos node number of shard cluster,value range is `2~23`, this parameter is required when `InstanceType` is `ShardedCluster`. MongosNodeNumber pulumi.IntPtrInput // The mongos node spec of shard cluster, this parameter is required when `InstanceType` is `ShardedCluster`. MongosNodeSpec pulumi.StringPtrInput // The spec of node. NodeSpec pulumi.StringPtrInput // The instance purchase duration,the value range is `1~3` when `PeriodUtil` is `Year`, the value range is `1~9` when `PeriodUtil` is `Month`, this parameter is required when `ChargeType` is `Prepaid`. Period pulumi.IntPtrInput // The period unit,valid value contains `Year` or `Month`, this parameter is required when `ChargeType` is `Prepaid`. PeriodUnit pulumi.StringPtrInput // The project name to which the instance belongs. ProjectName pulumi.StringPtrInput // The number of shards in shard cluster,value range is `2~32`, this parameter is required when `InstanceType` is `ShardedCluster`. ShardNumber pulumi.IntPtrInput // The shards information of the ShardedCluster instance. Shards InstanceShardArrayInput // The total storage space of a replica set instance, or the storage space of a single shard in a sharded cluster, in GiB. StorageSpaceGb pulumi.IntPtrInput // The subnet id of instance. SubnetId pulumi.StringPtrInput // The password of database account. SuperAccountPassword pulumi.StringPtrInput // Tags. Tags InstanceTagArrayInput // The vpc ID. VpcId pulumi.StringPtrInput // The zone ID of instance. ZoneId pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type InstanceTag ¶
type InstanceTagArgs ¶
type InstanceTagArgs struct { // The Key of Tags. Key pulumi.StringInput `pulumi:"key"` // The Value of Tags. Value pulumi.StringInput `pulumi:"value"` }
func (InstanceTagArgs) ElementType ¶
func (InstanceTagArgs) ElementType() reflect.Type
func (InstanceTagArgs) ToInstanceTagOutput ¶
func (i InstanceTagArgs) ToInstanceTagOutput() InstanceTagOutput
func (InstanceTagArgs) ToInstanceTagOutputWithContext ¶
func (i InstanceTagArgs) ToInstanceTagOutputWithContext(ctx context.Context) InstanceTagOutput
type InstanceTagArray ¶
type InstanceTagArray []InstanceTagInput
func (InstanceTagArray) ElementType ¶
func (InstanceTagArray) ElementType() reflect.Type
func (InstanceTagArray) ToInstanceTagArrayOutput ¶
func (i InstanceTagArray) ToInstanceTagArrayOutput() InstanceTagArrayOutput
func (InstanceTagArray) ToInstanceTagArrayOutputWithContext ¶
func (i InstanceTagArray) ToInstanceTagArrayOutputWithContext(ctx context.Context) InstanceTagArrayOutput
type InstanceTagArrayInput ¶
type InstanceTagArrayInput interface { pulumi.Input ToInstanceTagArrayOutput() InstanceTagArrayOutput ToInstanceTagArrayOutputWithContext(context.Context) InstanceTagArrayOutput }
InstanceTagArrayInput is an input type that accepts InstanceTagArray and InstanceTagArrayOutput values. You can construct a concrete instance of `InstanceTagArrayInput` via:
InstanceTagArray{ InstanceTagArgs{...} }
type InstanceTagArrayOutput ¶
type InstanceTagArrayOutput struct{ *pulumi.OutputState }
func (InstanceTagArrayOutput) ElementType ¶
func (InstanceTagArrayOutput) ElementType() reflect.Type
func (InstanceTagArrayOutput) Index ¶
func (o InstanceTagArrayOutput) Index(i pulumi.IntInput) InstanceTagOutput
func (InstanceTagArrayOutput) ToInstanceTagArrayOutput ¶
func (o InstanceTagArrayOutput) ToInstanceTagArrayOutput() InstanceTagArrayOutput
func (InstanceTagArrayOutput) ToInstanceTagArrayOutputWithContext ¶
func (o InstanceTagArrayOutput) ToInstanceTagArrayOutputWithContext(ctx context.Context) InstanceTagArrayOutput
type InstanceTagInput ¶
type InstanceTagInput interface { pulumi.Input ToInstanceTagOutput() InstanceTagOutput ToInstanceTagOutputWithContext(context.Context) InstanceTagOutput }
InstanceTagInput is an input type that accepts InstanceTagArgs and InstanceTagOutput values. You can construct a concrete instance of `InstanceTagInput` via:
InstanceTagArgs{...}
type InstanceTagOutput ¶
type InstanceTagOutput struct{ *pulumi.OutputState }
func (InstanceTagOutput) ElementType ¶
func (InstanceTagOutput) ElementType() reflect.Type
func (InstanceTagOutput) Key ¶
func (o InstanceTagOutput) Key() pulumi.StringOutput
The Key of Tags.
func (InstanceTagOutput) ToInstanceTagOutput ¶
func (o InstanceTagOutput) ToInstanceTagOutput() InstanceTagOutput
func (InstanceTagOutput) ToInstanceTagOutputWithContext ¶
func (o InstanceTagOutput) ToInstanceTagOutputWithContext(ctx context.Context) InstanceTagOutput
func (InstanceTagOutput) Value ¶
func (o InstanceTagOutput) Value() pulumi.StringOutput
The Value of Tags.
type InstancesArgs ¶
type InstancesArgs struct { // The end time of creation to query. CreateEndTime *string `pulumi:"createEndTime"` // The start time of creation to query. CreateStartTime *string `pulumi:"createStartTime"` // The db engine to query, valid value contains `MongoDB`. DbEngine *string `pulumi:"dbEngine"` // The version of db engine to query, valid value contains `MongoDB_4_0`. DbEngineVersion *string `pulumi:"dbEngineVersion"` // The instance ID to query. InstanceId *string `pulumi:"instanceId"` // The instance name to query. InstanceName *string `pulumi:"instanceName"` // The instance status to query. InstanceStatus *string `pulumi:"instanceStatus"` // The type of instance to query, the valid value contains `ReplicaSet` or `ShardedCluster`. InstanceType *string `pulumi:"instanceType"` // A Name Regex of DB instance. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results. OutputFile *string `pulumi:"outputFile"` // Tags. Tags []InstancesTag `pulumi:"tags"` // The end time of update to query. UpdateEndTime *string `pulumi:"updateEndTime"` // The start time of update to query. UpdateStartTime *string `pulumi:"updateStartTime"` // The vpc id of instance to query. VpcId *string `pulumi:"vpcId"` // The zone ID to query. ZoneId *string `pulumi:"zoneId"` }
A collection of arguments for invoking Instances.
type InstancesInstance ¶
type InstancesInstance struct { // Whether to enable automatic renewal. AutoRenew bool `pulumi:"autoRenew"` // The charge status. ChargeStatus string `pulumi:"chargeStatus"` // The charge type of instance. ChargeType string `pulumi:"chargeType"` // The planned close time. ClosedTime string `pulumi:"closedTime"` // The list of config servers. ConfigServers []InstancesInstanceConfigServer `pulumi:"configServers"` // The ID of config servers. ConfigServersId string `pulumi:"configServersId"` // The creation time of instance. CreateTime string `pulumi:"createTime"` // The db engine to query, valid value contains `MongoDB`. DbEngine string `pulumi:"dbEngine"` // The version of db engine to query, valid value contains `MongoDB_4_0`. DbEngineVersion string `pulumi:"dbEngineVersion"` // The version string of database engine. DbEngineVersionStr string `pulumi:"dbEngineVersionStr"` // The expired time of instance. ExpiredTime string `pulumi:"expiredTime"` // The instance ID to query. InstanceId string `pulumi:"instanceId"` // The instance name to query. InstanceName string `pulumi:"instanceName"` // The instance status to query. InstanceStatus string `pulumi:"instanceStatus"` // The type of instance to query, the valid value contains `ReplicaSet` or `ShardedCluster`. InstanceType string `pulumi:"instanceType"` // The list of mongos. Mongos []InstancesInstanceMongo `pulumi:"mongos"` // The ID of mongos. MongosId string `pulumi:"mongosId"` // The node information. Nodes []InstancesInstanceNode `pulumi:"nodes"` // The project name to which the instance belongs. ProjectName string `pulumi:"projectName"` // The planned reclaim time of instance. ReclaimTime string `pulumi:"reclaimTime"` // The list of shards. Shards []InstancesInstanceShard `pulumi:"shards"` // Whether ssl enabled. SslEnable bool `pulumi:"sslEnable"` // The ssl expire time. SslExpireTime string `pulumi:"sslExpireTime"` // Whether ssl is valid. SslIsValid bool `pulumi:"sslIsValid"` // The storage type of instance. StorageType string `pulumi:"storageType"` // The subnet id of instance. SubnetId string `pulumi:"subnetId"` // Tags. Tags []InstancesInstanceTag `pulumi:"tags"` // The update time of instance. UpdateTime string `pulumi:"updateTime"` // The vpc id of instance to query. VpcId string `pulumi:"vpcId"` // The zone ID to query. ZoneId string `pulumi:"zoneId"` }
type InstancesInstanceArgs ¶
type InstancesInstanceArgs struct { // Whether to enable automatic renewal. AutoRenew pulumi.BoolInput `pulumi:"autoRenew"` // The charge status. ChargeStatus pulumi.StringInput `pulumi:"chargeStatus"` // The charge type of instance. ChargeType pulumi.StringInput `pulumi:"chargeType"` // The planned close time. ClosedTime pulumi.StringInput `pulumi:"closedTime"` // The list of config servers. ConfigServers InstancesInstanceConfigServerArrayInput `pulumi:"configServers"` // The ID of config servers. ConfigServersId pulumi.StringInput `pulumi:"configServersId"` // The creation time of instance. CreateTime pulumi.StringInput `pulumi:"createTime"` // The db engine to query, valid value contains `MongoDB`. DbEngine pulumi.StringInput `pulumi:"dbEngine"` // The version of db engine to query, valid value contains `MongoDB_4_0`. DbEngineVersion pulumi.StringInput `pulumi:"dbEngineVersion"` // The version string of database engine. DbEngineVersionStr pulumi.StringInput `pulumi:"dbEngineVersionStr"` // The expired time of instance. ExpiredTime pulumi.StringInput `pulumi:"expiredTime"` // The instance ID to query. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The instance name to query. InstanceName pulumi.StringInput `pulumi:"instanceName"` // The instance status to query. InstanceStatus pulumi.StringInput `pulumi:"instanceStatus"` // The type of instance to query, the valid value contains `ReplicaSet` or `ShardedCluster`. InstanceType pulumi.StringInput `pulumi:"instanceType"` // The list of mongos. Mongos InstancesInstanceMongoArrayInput `pulumi:"mongos"` // The ID of mongos. MongosId pulumi.StringInput `pulumi:"mongosId"` // The node information. Nodes InstancesInstanceNodeArrayInput `pulumi:"nodes"` // The project name to which the instance belongs. ProjectName pulumi.StringInput `pulumi:"projectName"` // The planned reclaim time of instance. ReclaimTime pulumi.StringInput `pulumi:"reclaimTime"` // The list of shards. Shards InstancesInstanceShardArrayInput `pulumi:"shards"` // Whether ssl enabled. SslEnable pulumi.BoolInput `pulumi:"sslEnable"` // The ssl expire time. SslExpireTime pulumi.StringInput `pulumi:"sslExpireTime"` // Whether ssl is valid. SslIsValid pulumi.BoolInput `pulumi:"sslIsValid"` // The storage type of instance. StorageType pulumi.StringInput `pulumi:"storageType"` // The subnet id of instance. SubnetId pulumi.StringInput `pulumi:"subnetId"` // Tags. Tags InstancesInstanceTagArrayInput `pulumi:"tags"` // The update time of instance. UpdateTime pulumi.StringInput `pulumi:"updateTime"` // The vpc id of instance to query. VpcId pulumi.StringInput `pulumi:"vpcId"` // The zone ID to query. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (InstancesInstanceArgs) ElementType ¶
func (InstancesInstanceArgs) ElementType() reflect.Type
func (InstancesInstanceArgs) ToInstancesInstanceOutput ¶
func (i InstancesInstanceArgs) ToInstancesInstanceOutput() InstancesInstanceOutput
func (InstancesInstanceArgs) ToInstancesInstanceOutputWithContext ¶
func (i InstancesInstanceArgs) ToInstancesInstanceOutputWithContext(ctx context.Context) InstancesInstanceOutput
type InstancesInstanceArray ¶
type InstancesInstanceArray []InstancesInstanceInput
func (InstancesInstanceArray) ElementType ¶
func (InstancesInstanceArray) ElementType() reflect.Type
func (InstancesInstanceArray) ToInstancesInstanceArrayOutput ¶
func (i InstancesInstanceArray) ToInstancesInstanceArrayOutput() InstancesInstanceArrayOutput
func (InstancesInstanceArray) ToInstancesInstanceArrayOutputWithContext ¶
func (i InstancesInstanceArray) ToInstancesInstanceArrayOutputWithContext(ctx context.Context) InstancesInstanceArrayOutput
type InstancesInstanceArrayInput ¶
type InstancesInstanceArrayInput interface { pulumi.Input ToInstancesInstanceArrayOutput() InstancesInstanceArrayOutput ToInstancesInstanceArrayOutputWithContext(context.Context) InstancesInstanceArrayOutput }
InstancesInstanceArrayInput is an input type that accepts InstancesInstanceArray and InstancesInstanceArrayOutput values. You can construct a concrete instance of `InstancesInstanceArrayInput` via:
InstancesInstanceArray{ InstancesInstanceArgs{...} }
type InstancesInstanceArrayOutput ¶
type InstancesInstanceArrayOutput struct{ *pulumi.OutputState }
func (InstancesInstanceArrayOutput) ElementType ¶
func (InstancesInstanceArrayOutput) ElementType() reflect.Type
func (InstancesInstanceArrayOutput) Index ¶
func (o InstancesInstanceArrayOutput) Index(i pulumi.IntInput) InstancesInstanceOutput
func (InstancesInstanceArrayOutput) ToInstancesInstanceArrayOutput ¶
func (o InstancesInstanceArrayOutput) ToInstancesInstanceArrayOutput() InstancesInstanceArrayOutput
func (InstancesInstanceArrayOutput) ToInstancesInstanceArrayOutputWithContext ¶
func (o InstancesInstanceArrayOutput) ToInstancesInstanceArrayOutputWithContext(ctx context.Context) InstancesInstanceArrayOutput
type InstancesInstanceConfigServer ¶
type InstancesInstanceConfigServer struct { // The config server node ID. ConfigServerNodeId string `pulumi:"configServerNodeId"` // The nod role. NodeRole string `pulumi:"nodeRole"` // The node status. NodeStatus string `pulumi:"nodeStatus"` // The total memory in GB. TotalMemoryGb float64 `pulumi:"totalMemoryGb"` // The total vCPU. TotalVcpu float64 `pulumi:"totalVcpu"` // The used memory in GB. UsedMemoryGb float64 `pulumi:"usedMemoryGb"` // The used vCPU. UsedVcpu float64 `pulumi:"usedVcpu"` // The zone ID to query. ZoneId string `pulumi:"zoneId"` }
type InstancesInstanceConfigServerArgs ¶
type InstancesInstanceConfigServerArgs struct { // The config server node ID. ConfigServerNodeId pulumi.StringInput `pulumi:"configServerNodeId"` // The nod role. NodeRole pulumi.StringInput `pulumi:"nodeRole"` // The node status. NodeStatus pulumi.StringInput `pulumi:"nodeStatus"` // The total memory in GB. TotalMemoryGb pulumi.Float64Input `pulumi:"totalMemoryGb"` // The total vCPU. TotalVcpu pulumi.Float64Input `pulumi:"totalVcpu"` // The used memory in GB. UsedMemoryGb pulumi.Float64Input `pulumi:"usedMemoryGb"` // The used vCPU. UsedVcpu pulumi.Float64Input `pulumi:"usedVcpu"` // The zone ID to query. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (InstancesInstanceConfigServerArgs) ElementType ¶
func (InstancesInstanceConfigServerArgs) ElementType() reflect.Type
func (InstancesInstanceConfigServerArgs) ToInstancesInstanceConfigServerOutput ¶
func (i InstancesInstanceConfigServerArgs) ToInstancesInstanceConfigServerOutput() InstancesInstanceConfigServerOutput
func (InstancesInstanceConfigServerArgs) ToInstancesInstanceConfigServerOutputWithContext ¶
func (i InstancesInstanceConfigServerArgs) ToInstancesInstanceConfigServerOutputWithContext(ctx context.Context) InstancesInstanceConfigServerOutput
type InstancesInstanceConfigServerArray ¶
type InstancesInstanceConfigServerArray []InstancesInstanceConfigServerInput
func (InstancesInstanceConfigServerArray) ElementType ¶
func (InstancesInstanceConfigServerArray) ElementType() reflect.Type
func (InstancesInstanceConfigServerArray) ToInstancesInstanceConfigServerArrayOutput ¶
func (i InstancesInstanceConfigServerArray) ToInstancesInstanceConfigServerArrayOutput() InstancesInstanceConfigServerArrayOutput
func (InstancesInstanceConfigServerArray) ToInstancesInstanceConfigServerArrayOutputWithContext ¶
func (i InstancesInstanceConfigServerArray) ToInstancesInstanceConfigServerArrayOutputWithContext(ctx context.Context) InstancesInstanceConfigServerArrayOutput
type InstancesInstanceConfigServerArrayInput ¶
type InstancesInstanceConfigServerArrayInput interface { pulumi.Input ToInstancesInstanceConfigServerArrayOutput() InstancesInstanceConfigServerArrayOutput ToInstancesInstanceConfigServerArrayOutputWithContext(context.Context) InstancesInstanceConfigServerArrayOutput }
InstancesInstanceConfigServerArrayInput is an input type that accepts InstancesInstanceConfigServerArray and InstancesInstanceConfigServerArrayOutput values. You can construct a concrete instance of `InstancesInstanceConfigServerArrayInput` via:
InstancesInstanceConfigServerArray{ InstancesInstanceConfigServerArgs{...} }
type InstancesInstanceConfigServerArrayOutput ¶
type InstancesInstanceConfigServerArrayOutput struct{ *pulumi.OutputState }
func (InstancesInstanceConfigServerArrayOutput) ElementType ¶
func (InstancesInstanceConfigServerArrayOutput) ElementType() reflect.Type
func (InstancesInstanceConfigServerArrayOutput) ToInstancesInstanceConfigServerArrayOutput ¶
func (o InstancesInstanceConfigServerArrayOutput) ToInstancesInstanceConfigServerArrayOutput() InstancesInstanceConfigServerArrayOutput
func (InstancesInstanceConfigServerArrayOutput) ToInstancesInstanceConfigServerArrayOutputWithContext ¶
func (o InstancesInstanceConfigServerArrayOutput) ToInstancesInstanceConfigServerArrayOutputWithContext(ctx context.Context) InstancesInstanceConfigServerArrayOutput
type InstancesInstanceConfigServerInput ¶
type InstancesInstanceConfigServerInput interface { pulumi.Input ToInstancesInstanceConfigServerOutput() InstancesInstanceConfigServerOutput ToInstancesInstanceConfigServerOutputWithContext(context.Context) InstancesInstanceConfigServerOutput }
InstancesInstanceConfigServerInput is an input type that accepts InstancesInstanceConfigServerArgs and InstancesInstanceConfigServerOutput values. You can construct a concrete instance of `InstancesInstanceConfigServerInput` via:
InstancesInstanceConfigServerArgs{...}
type InstancesInstanceConfigServerOutput ¶
type InstancesInstanceConfigServerOutput struct{ *pulumi.OutputState }
func (InstancesInstanceConfigServerOutput) ConfigServerNodeId ¶
func (o InstancesInstanceConfigServerOutput) ConfigServerNodeId() pulumi.StringOutput
The config server node ID.
func (InstancesInstanceConfigServerOutput) ElementType ¶
func (InstancesInstanceConfigServerOutput) ElementType() reflect.Type
func (InstancesInstanceConfigServerOutput) NodeRole ¶
func (o InstancesInstanceConfigServerOutput) NodeRole() pulumi.StringOutput
The nod role.
func (InstancesInstanceConfigServerOutput) NodeStatus ¶
func (o InstancesInstanceConfigServerOutput) NodeStatus() pulumi.StringOutput
The node status.
func (InstancesInstanceConfigServerOutput) ToInstancesInstanceConfigServerOutput ¶
func (o InstancesInstanceConfigServerOutput) ToInstancesInstanceConfigServerOutput() InstancesInstanceConfigServerOutput
func (InstancesInstanceConfigServerOutput) ToInstancesInstanceConfigServerOutputWithContext ¶
func (o InstancesInstanceConfigServerOutput) ToInstancesInstanceConfigServerOutputWithContext(ctx context.Context) InstancesInstanceConfigServerOutput
func (InstancesInstanceConfigServerOutput) TotalMemoryGb ¶
func (o InstancesInstanceConfigServerOutput) TotalMemoryGb() pulumi.Float64Output
The total memory in GB.
func (InstancesInstanceConfigServerOutput) TotalVcpu ¶
func (o InstancesInstanceConfigServerOutput) TotalVcpu() pulumi.Float64Output
The total vCPU.
func (InstancesInstanceConfigServerOutput) UsedMemoryGb ¶
func (o InstancesInstanceConfigServerOutput) UsedMemoryGb() pulumi.Float64Output
The used memory in GB.
func (InstancesInstanceConfigServerOutput) UsedVcpu ¶
func (o InstancesInstanceConfigServerOutput) UsedVcpu() pulumi.Float64Output
The used vCPU.
func (InstancesInstanceConfigServerOutput) ZoneId ¶
func (o InstancesInstanceConfigServerOutput) ZoneId() pulumi.StringOutput
The zone ID to query.
type InstancesInstanceInput ¶
type InstancesInstanceInput interface { pulumi.Input ToInstancesInstanceOutput() InstancesInstanceOutput ToInstancesInstanceOutputWithContext(context.Context) InstancesInstanceOutput }
InstancesInstanceInput is an input type that accepts InstancesInstanceArgs and InstancesInstanceOutput values. You can construct a concrete instance of `InstancesInstanceInput` via:
InstancesInstanceArgs{...}
type InstancesInstanceMongo ¶
type InstancesInstanceMongo struct { // The mongos node ID. MongosNodeId string `pulumi:"mongosNodeId"` // The node spec. NodeSpec string `pulumi:"nodeSpec"` // The node status. NodeStatus string `pulumi:"nodeStatus"` // The total memory in GB. TotalMemoryGb float64 `pulumi:"totalMemoryGb"` // The total vCPU. TotalVcpu float64 `pulumi:"totalVcpu"` // The used memory in GB. UsedMemoryGb float64 `pulumi:"usedMemoryGb"` // The used vCPU. UsedVcpu float64 `pulumi:"usedVcpu"` // The zone ID to query. ZoneId string `pulumi:"zoneId"` }
type InstancesInstanceMongoArgs ¶
type InstancesInstanceMongoArgs struct { // The mongos node ID. MongosNodeId pulumi.StringInput `pulumi:"mongosNodeId"` // The node spec. NodeSpec pulumi.StringInput `pulumi:"nodeSpec"` // The node status. NodeStatus pulumi.StringInput `pulumi:"nodeStatus"` // The total memory in GB. TotalMemoryGb pulumi.Float64Input `pulumi:"totalMemoryGb"` // The total vCPU. TotalVcpu pulumi.Float64Input `pulumi:"totalVcpu"` // The used memory in GB. UsedMemoryGb pulumi.Float64Input `pulumi:"usedMemoryGb"` // The used vCPU. UsedVcpu pulumi.Float64Input `pulumi:"usedVcpu"` // The zone ID to query. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (InstancesInstanceMongoArgs) ElementType ¶
func (InstancesInstanceMongoArgs) ElementType() reflect.Type
func (InstancesInstanceMongoArgs) ToInstancesInstanceMongoOutput ¶
func (i InstancesInstanceMongoArgs) ToInstancesInstanceMongoOutput() InstancesInstanceMongoOutput
func (InstancesInstanceMongoArgs) ToInstancesInstanceMongoOutputWithContext ¶
func (i InstancesInstanceMongoArgs) ToInstancesInstanceMongoOutputWithContext(ctx context.Context) InstancesInstanceMongoOutput
type InstancesInstanceMongoArray ¶
type InstancesInstanceMongoArray []InstancesInstanceMongoInput
func (InstancesInstanceMongoArray) ElementType ¶
func (InstancesInstanceMongoArray) ElementType() reflect.Type
func (InstancesInstanceMongoArray) ToInstancesInstanceMongoArrayOutput ¶
func (i InstancesInstanceMongoArray) ToInstancesInstanceMongoArrayOutput() InstancesInstanceMongoArrayOutput
func (InstancesInstanceMongoArray) ToInstancesInstanceMongoArrayOutputWithContext ¶
func (i InstancesInstanceMongoArray) ToInstancesInstanceMongoArrayOutputWithContext(ctx context.Context) InstancesInstanceMongoArrayOutput
type InstancesInstanceMongoArrayInput ¶
type InstancesInstanceMongoArrayInput interface { pulumi.Input ToInstancesInstanceMongoArrayOutput() InstancesInstanceMongoArrayOutput ToInstancesInstanceMongoArrayOutputWithContext(context.Context) InstancesInstanceMongoArrayOutput }
InstancesInstanceMongoArrayInput is an input type that accepts InstancesInstanceMongoArray and InstancesInstanceMongoArrayOutput values. You can construct a concrete instance of `InstancesInstanceMongoArrayInput` via:
InstancesInstanceMongoArray{ InstancesInstanceMongoArgs{...} }
type InstancesInstanceMongoArrayOutput ¶
type InstancesInstanceMongoArrayOutput struct{ *pulumi.OutputState }
func (InstancesInstanceMongoArrayOutput) ElementType ¶
func (InstancesInstanceMongoArrayOutput) ElementType() reflect.Type
func (InstancesInstanceMongoArrayOutput) Index ¶
func (o InstancesInstanceMongoArrayOutput) Index(i pulumi.IntInput) InstancesInstanceMongoOutput
func (InstancesInstanceMongoArrayOutput) ToInstancesInstanceMongoArrayOutput ¶
func (o InstancesInstanceMongoArrayOutput) ToInstancesInstanceMongoArrayOutput() InstancesInstanceMongoArrayOutput
func (InstancesInstanceMongoArrayOutput) ToInstancesInstanceMongoArrayOutputWithContext ¶
func (o InstancesInstanceMongoArrayOutput) ToInstancesInstanceMongoArrayOutputWithContext(ctx context.Context) InstancesInstanceMongoArrayOutput
type InstancesInstanceMongoInput ¶
type InstancesInstanceMongoInput interface { pulumi.Input ToInstancesInstanceMongoOutput() InstancesInstanceMongoOutput ToInstancesInstanceMongoOutputWithContext(context.Context) InstancesInstanceMongoOutput }
InstancesInstanceMongoInput is an input type that accepts InstancesInstanceMongoArgs and InstancesInstanceMongoOutput values. You can construct a concrete instance of `InstancesInstanceMongoInput` via:
InstancesInstanceMongoArgs{...}
type InstancesInstanceMongoOutput ¶
type InstancesInstanceMongoOutput struct{ *pulumi.OutputState }
func (InstancesInstanceMongoOutput) ElementType ¶
func (InstancesInstanceMongoOutput) ElementType() reflect.Type
func (InstancesInstanceMongoOutput) MongosNodeId ¶
func (o InstancesInstanceMongoOutput) MongosNodeId() pulumi.StringOutput
The mongos node ID.
func (InstancesInstanceMongoOutput) NodeSpec ¶
func (o InstancesInstanceMongoOutput) NodeSpec() pulumi.StringOutput
The node spec.
func (InstancesInstanceMongoOutput) NodeStatus ¶
func (o InstancesInstanceMongoOutput) NodeStatus() pulumi.StringOutput
The node status.
func (InstancesInstanceMongoOutput) ToInstancesInstanceMongoOutput ¶
func (o InstancesInstanceMongoOutput) ToInstancesInstanceMongoOutput() InstancesInstanceMongoOutput
func (InstancesInstanceMongoOutput) ToInstancesInstanceMongoOutputWithContext ¶
func (o InstancesInstanceMongoOutput) ToInstancesInstanceMongoOutputWithContext(ctx context.Context) InstancesInstanceMongoOutput
func (InstancesInstanceMongoOutput) TotalMemoryGb ¶
func (o InstancesInstanceMongoOutput) TotalMemoryGb() pulumi.Float64Output
The total memory in GB.
func (InstancesInstanceMongoOutput) TotalVcpu ¶
func (o InstancesInstanceMongoOutput) TotalVcpu() pulumi.Float64Output
The total vCPU.
func (InstancesInstanceMongoOutput) UsedMemoryGb ¶
func (o InstancesInstanceMongoOutput) UsedMemoryGb() pulumi.Float64Output
The used memory in GB.
func (InstancesInstanceMongoOutput) UsedVcpu ¶
func (o InstancesInstanceMongoOutput) UsedVcpu() pulumi.Float64Output
The used vCPU.
func (InstancesInstanceMongoOutput) ZoneId ¶
func (o InstancesInstanceMongoOutput) ZoneId() pulumi.StringOutput
The zone ID to query.
type InstancesInstanceNode ¶
type InstancesInstanceNode struct { // The master-slave delay time. NodeDelayTime int `pulumi:"nodeDelayTime"` // The node ID. NodeId string `pulumi:"nodeId"` // The nod role. NodeRole string `pulumi:"nodeRole"` // The node spec. NodeSpec string `pulumi:"nodeSpec"` // The node status. NodeStatus string `pulumi:"nodeStatus"` // The total memory in GB. TotalMemoryGb float64 `pulumi:"totalMemoryGb"` // The total storage in GB. TotalStorageGb float64 `pulumi:"totalStorageGb"` // The total vCPU. TotalVcpu float64 `pulumi:"totalVcpu"` // The used memory in GB. UsedMemoryGb float64 `pulumi:"usedMemoryGb"` // The used storage in GB. UsedStorageGb float64 `pulumi:"usedStorageGb"` // The used vCPU. UsedVcpu float64 `pulumi:"usedVcpu"` // The zone ID to query. ZoneId string `pulumi:"zoneId"` }
type InstancesInstanceNodeArgs ¶
type InstancesInstanceNodeArgs struct { // The master-slave delay time. NodeDelayTime pulumi.IntInput `pulumi:"nodeDelayTime"` // The node ID. NodeId pulumi.StringInput `pulumi:"nodeId"` // The nod role. NodeRole pulumi.StringInput `pulumi:"nodeRole"` // The node spec. NodeSpec pulumi.StringInput `pulumi:"nodeSpec"` // The node status. NodeStatus pulumi.StringInput `pulumi:"nodeStatus"` // The total memory in GB. TotalMemoryGb pulumi.Float64Input `pulumi:"totalMemoryGb"` // The total storage in GB. TotalStorageGb pulumi.Float64Input `pulumi:"totalStorageGb"` // The total vCPU. TotalVcpu pulumi.Float64Input `pulumi:"totalVcpu"` // The used memory in GB. UsedMemoryGb pulumi.Float64Input `pulumi:"usedMemoryGb"` // The used storage in GB. UsedStorageGb pulumi.Float64Input `pulumi:"usedStorageGb"` // The used vCPU. UsedVcpu pulumi.Float64Input `pulumi:"usedVcpu"` // The zone ID to query. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (InstancesInstanceNodeArgs) ElementType ¶
func (InstancesInstanceNodeArgs) ElementType() reflect.Type
func (InstancesInstanceNodeArgs) ToInstancesInstanceNodeOutput ¶
func (i InstancesInstanceNodeArgs) ToInstancesInstanceNodeOutput() InstancesInstanceNodeOutput
func (InstancesInstanceNodeArgs) ToInstancesInstanceNodeOutputWithContext ¶
func (i InstancesInstanceNodeArgs) ToInstancesInstanceNodeOutputWithContext(ctx context.Context) InstancesInstanceNodeOutput
type InstancesInstanceNodeArray ¶
type InstancesInstanceNodeArray []InstancesInstanceNodeInput
func (InstancesInstanceNodeArray) ElementType ¶
func (InstancesInstanceNodeArray) ElementType() reflect.Type
func (InstancesInstanceNodeArray) ToInstancesInstanceNodeArrayOutput ¶
func (i InstancesInstanceNodeArray) ToInstancesInstanceNodeArrayOutput() InstancesInstanceNodeArrayOutput
func (InstancesInstanceNodeArray) ToInstancesInstanceNodeArrayOutputWithContext ¶
func (i InstancesInstanceNodeArray) ToInstancesInstanceNodeArrayOutputWithContext(ctx context.Context) InstancesInstanceNodeArrayOutput
type InstancesInstanceNodeArrayInput ¶
type InstancesInstanceNodeArrayInput interface { pulumi.Input ToInstancesInstanceNodeArrayOutput() InstancesInstanceNodeArrayOutput ToInstancesInstanceNodeArrayOutputWithContext(context.Context) InstancesInstanceNodeArrayOutput }
InstancesInstanceNodeArrayInput is an input type that accepts InstancesInstanceNodeArray and InstancesInstanceNodeArrayOutput values. You can construct a concrete instance of `InstancesInstanceNodeArrayInput` via:
InstancesInstanceNodeArray{ InstancesInstanceNodeArgs{...} }
type InstancesInstanceNodeArrayOutput ¶
type InstancesInstanceNodeArrayOutput struct{ *pulumi.OutputState }
func (InstancesInstanceNodeArrayOutput) ElementType ¶
func (InstancesInstanceNodeArrayOutput) ElementType() reflect.Type
func (InstancesInstanceNodeArrayOutput) Index ¶
func (o InstancesInstanceNodeArrayOutput) Index(i pulumi.IntInput) InstancesInstanceNodeOutput
func (InstancesInstanceNodeArrayOutput) ToInstancesInstanceNodeArrayOutput ¶
func (o InstancesInstanceNodeArrayOutput) ToInstancesInstanceNodeArrayOutput() InstancesInstanceNodeArrayOutput
func (InstancesInstanceNodeArrayOutput) ToInstancesInstanceNodeArrayOutputWithContext ¶
func (o InstancesInstanceNodeArrayOutput) ToInstancesInstanceNodeArrayOutputWithContext(ctx context.Context) InstancesInstanceNodeArrayOutput
type InstancesInstanceNodeInput ¶
type InstancesInstanceNodeInput interface { pulumi.Input ToInstancesInstanceNodeOutput() InstancesInstanceNodeOutput ToInstancesInstanceNodeOutputWithContext(context.Context) InstancesInstanceNodeOutput }
InstancesInstanceNodeInput is an input type that accepts InstancesInstanceNodeArgs and InstancesInstanceNodeOutput values. You can construct a concrete instance of `InstancesInstanceNodeInput` via:
InstancesInstanceNodeArgs{...}
type InstancesInstanceNodeOutput ¶
type InstancesInstanceNodeOutput struct{ *pulumi.OutputState }
func (InstancesInstanceNodeOutput) ElementType ¶
func (InstancesInstanceNodeOutput) ElementType() reflect.Type
func (InstancesInstanceNodeOutput) NodeDelayTime ¶
func (o InstancesInstanceNodeOutput) NodeDelayTime() pulumi.IntOutput
The master-slave delay time.
func (InstancesInstanceNodeOutput) NodeId ¶
func (o InstancesInstanceNodeOutput) NodeId() pulumi.StringOutput
The node ID.
func (InstancesInstanceNodeOutput) NodeRole ¶
func (o InstancesInstanceNodeOutput) NodeRole() pulumi.StringOutput
The nod role.
func (InstancesInstanceNodeOutput) NodeSpec ¶
func (o InstancesInstanceNodeOutput) NodeSpec() pulumi.StringOutput
The node spec.
func (InstancesInstanceNodeOutput) NodeStatus ¶
func (o InstancesInstanceNodeOutput) NodeStatus() pulumi.StringOutput
The node status.
func (InstancesInstanceNodeOutput) ToInstancesInstanceNodeOutput ¶
func (o InstancesInstanceNodeOutput) ToInstancesInstanceNodeOutput() InstancesInstanceNodeOutput
func (InstancesInstanceNodeOutput) ToInstancesInstanceNodeOutputWithContext ¶
func (o InstancesInstanceNodeOutput) ToInstancesInstanceNodeOutputWithContext(ctx context.Context) InstancesInstanceNodeOutput
func (InstancesInstanceNodeOutput) TotalMemoryGb ¶
func (o InstancesInstanceNodeOutput) TotalMemoryGb() pulumi.Float64Output
The total memory in GB.
func (InstancesInstanceNodeOutput) TotalStorageGb ¶
func (o InstancesInstanceNodeOutput) TotalStorageGb() pulumi.Float64Output
The total storage in GB.
func (InstancesInstanceNodeOutput) TotalVcpu ¶
func (o InstancesInstanceNodeOutput) TotalVcpu() pulumi.Float64Output
The total vCPU.
func (InstancesInstanceNodeOutput) UsedMemoryGb ¶
func (o InstancesInstanceNodeOutput) UsedMemoryGb() pulumi.Float64Output
The used memory in GB.
func (InstancesInstanceNodeOutput) UsedStorageGb ¶
func (o InstancesInstanceNodeOutput) UsedStorageGb() pulumi.Float64Output
The used storage in GB.
func (InstancesInstanceNodeOutput) UsedVcpu ¶
func (o InstancesInstanceNodeOutput) UsedVcpu() pulumi.Float64Output
The used vCPU.
func (InstancesInstanceNodeOutput) ZoneId ¶
func (o InstancesInstanceNodeOutput) ZoneId() pulumi.StringOutput
The zone ID to query.
type InstancesInstanceOutput ¶
type InstancesInstanceOutput struct{ *pulumi.OutputState }
func (InstancesInstanceOutput) AutoRenew ¶
func (o InstancesInstanceOutput) AutoRenew() pulumi.BoolOutput
Whether to enable automatic renewal.
func (InstancesInstanceOutput) ChargeStatus ¶
func (o InstancesInstanceOutput) ChargeStatus() pulumi.StringOutput
The charge status.
func (InstancesInstanceOutput) ChargeType ¶
func (o InstancesInstanceOutput) ChargeType() pulumi.StringOutput
The charge type of instance.
func (InstancesInstanceOutput) ClosedTime ¶
func (o InstancesInstanceOutput) ClosedTime() pulumi.StringOutput
The planned close time.
func (InstancesInstanceOutput) ConfigServers ¶
func (o InstancesInstanceOutput) ConfigServers() InstancesInstanceConfigServerArrayOutput
The list of config servers.
func (InstancesInstanceOutput) ConfigServersId ¶
func (o InstancesInstanceOutput) ConfigServersId() pulumi.StringOutput
The ID of config servers.
func (InstancesInstanceOutput) CreateTime ¶
func (o InstancesInstanceOutput) CreateTime() pulumi.StringOutput
The creation time of instance.
func (InstancesInstanceOutput) DbEngine ¶
func (o InstancesInstanceOutput) DbEngine() pulumi.StringOutput
The db engine to query, valid value contains `MongoDB`.
func (InstancesInstanceOutput) DbEngineVersion ¶
func (o InstancesInstanceOutput) DbEngineVersion() pulumi.StringOutput
The version of db engine to query, valid value contains `MongoDB_4_0`.
func (InstancesInstanceOutput) DbEngineVersionStr ¶
func (o InstancesInstanceOutput) DbEngineVersionStr() pulumi.StringOutput
The version string of database engine.
func (InstancesInstanceOutput) ElementType ¶
func (InstancesInstanceOutput) ElementType() reflect.Type
func (InstancesInstanceOutput) ExpiredTime ¶
func (o InstancesInstanceOutput) ExpiredTime() pulumi.StringOutput
The expired time of instance.
func (InstancesInstanceOutput) InstanceId ¶
func (o InstancesInstanceOutput) InstanceId() pulumi.StringOutput
The instance ID to query.
func (InstancesInstanceOutput) InstanceName ¶
func (o InstancesInstanceOutput) InstanceName() pulumi.StringOutput
The instance name to query.
func (InstancesInstanceOutput) InstanceStatus ¶
func (o InstancesInstanceOutput) InstanceStatus() pulumi.StringOutput
The instance status to query.
func (InstancesInstanceOutput) InstanceType ¶
func (o InstancesInstanceOutput) InstanceType() pulumi.StringOutput
The type of instance to query, the valid value contains `ReplicaSet` or `ShardedCluster`.
func (InstancesInstanceOutput) Mongos ¶
func (o InstancesInstanceOutput) Mongos() InstancesInstanceMongoArrayOutput
The list of mongos.
func (InstancesInstanceOutput) MongosId ¶
func (o InstancesInstanceOutput) MongosId() pulumi.StringOutput
The ID of mongos.
func (InstancesInstanceOutput) Nodes ¶
func (o InstancesInstanceOutput) Nodes() InstancesInstanceNodeArrayOutput
The node information.
func (InstancesInstanceOutput) ProjectName ¶
func (o InstancesInstanceOutput) ProjectName() pulumi.StringOutput
The project name to which the instance belongs.
func (InstancesInstanceOutput) ReclaimTime ¶
func (o InstancesInstanceOutput) ReclaimTime() pulumi.StringOutput
The planned reclaim time of instance.
func (InstancesInstanceOutput) Shards ¶
func (o InstancesInstanceOutput) Shards() InstancesInstanceShardArrayOutput
The list of shards.
func (InstancesInstanceOutput) SslEnable ¶
func (o InstancesInstanceOutput) SslEnable() pulumi.BoolOutput
Whether ssl enabled.
func (InstancesInstanceOutput) SslExpireTime ¶
func (o InstancesInstanceOutput) SslExpireTime() pulumi.StringOutput
The ssl expire time.
func (InstancesInstanceOutput) SslIsValid ¶
func (o InstancesInstanceOutput) SslIsValid() pulumi.BoolOutput
Whether ssl is valid.
func (InstancesInstanceOutput) StorageType ¶
func (o InstancesInstanceOutput) StorageType() pulumi.StringOutput
The storage type of instance.
func (InstancesInstanceOutput) SubnetId ¶
func (o InstancesInstanceOutput) SubnetId() pulumi.StringOutput
The subnet id of instance.
func (InstancesInstanceOutput) Tags ¶
func (o InstancesInstanceOutput) Tags() InstancesInstanceTagArrayOutput
Tags.
func (InstancesInstanceOutput) ToInstancesInstanceOutput ¶
func (o InstancesInstanceOutput) ToInstancesInstanceOutput() InstancesInstanceOutput
func (InstancesInstanceOutput) ToInstancesInstanceOutputWithContext ¶
func (o InstancesInstanceOutput) ToInstancesInstanceOutputWithContext(ctx context.Context) InstancesInstanceOutput
func (InstancesInstanceOutput) UpdateTime ¶
func (o InstancesInstanceOutput) UpdateTime() pulumi.StringOutput
The update time of instance.
func (InstancesInstanceOutput) VpcId ¶
func (o InstancesInstanceOutput) VpcId() pulumi.StringOutput
The vpc id of instance to query.
func (InstancesInstanceOutput) ZoneId ¶
func (o InstancesInstanceOutput) ZoneId() pulumi.StringOutput
The zone ID to query.
type InstancesInstanceShard ¶
type InstancesInstanceShard struct { // The node information. Nodes []InstancesInstanceShardNode `pulumi:"nodes"` // The shard ID. ShardId string `pulumi:"shardId"` }
type InstancesInstanceShardArgs ¶
type InstancesInstanceShardArgs struct { // The node information. Nodes InstancesInstanceShardNodeArrayInput `pulumi:"nodes"` // The shard ID. ShardId pulumi.StringInput `pulumi:"shardId"` }
func (InstancesInstanceShardArgs) ElementType ¶
func (InstancesInstanceShardArgs) ElementType() reflect.Type
func (InstancesInstanceShardArgs) ToInstancesInstanceShardOutput ¶
func (i InstancesInstanceShardArgs) ToInstancesInstanceShardOutput() InstancesInstanceShardOutput
func (InstancesInstanceShardArgs) ToInstancesInstanceShardOutputWithContext ¶
func (i InstancesInstanceShardArgs) ToInstancesInstanceShardOutputWithContext(ctx context.Context) InstancesInstanceShardOutput
type InstancesInstanceShardArray ¶
type InstancesInstanceShardArray []InstancesInstanceShardInput
func (InstancesInstanceShardArray) ElementType ¶
func (InstancesInstanceShardArray) ElementType() reflect.Type
func (InstancesInstanceShardArray) ToInstancesInstanceShardArrayOutput ¶
func (i InstancesInstanceShardArray) ToInstancesInstanceShardArrayOutput() InstancesInstanceShardArrayOutput
func (InstancesInstanceShardArray) ToInstancesInstanceShardArrayOutputWithContext ¶
func (i InstancesInstanceShardArray) ToInstancesInstanceShardArrayOutputWithContext(ctx context.Context) InstancesInstanceShardArrayOutput
type InstancesInstanceShardArrayInput ¶
type InstancesInstanceShardArrayInput interface { pulumi.Input ToInstancesInstanceShardArrayOutput() InstancesInstanceShardArrayOutput ToInstancesInstanceShardArrayOutputWithContext(context.Context) InstancesInstanceShardArrayOutput }
InstancesInstanceShardArrayInput is an input type that accepts InstancesInstanceShardArray and InstancesInstanceShardArrayOutput values. You can construct a concrete instance of `InstancesInstanceShardArrayInput` via:
InstancesInstanceShardArray{ InstancesInstanceShardArgs{...} }
type InstancesInstanceShardArrayOutput ¶
type InstancesInstanceShardArrayOutput struct{ *pulumi.OutputState }
func (InstancesInstanceShardArrayOutput) ElementType ¶
func (InstancesInstanceShardArrayOutput) ElementType() reflect.Type
func (InstancesInstanceShardArrayOutput) Index ¶
func (o InstancesInstanceShardArrayOutput) Index(i pulumi.IntInput) InstancesInstanceShardOutput
func (InstancesInstanceShardArrayOutput) ToInstancesInstanceShardArrayOutput ¶
func (o InstancesInstanceShardArrayOutput) ToInstancesInstanceShardArrayOutput() InstancesInstanceShardArrayOutput
func (InstancesInstanceShardArrayOutput) ToInstancesInstanceShardArrayOutputWithContext ¶
func (o InstancesInstanceShardArrayOutput) ToInstancesInstanceShardArrayOutputWithContext(ctx context.Context) InstancesInstanceShardArrayOutput
type InstancesInstanceShardInput ¶
type InstancesInstanceShardInput interface { pulumi.Input ToInstancesInstanceShardOutput() InstancesInstanceShardOutput ToInstancesInstanceShardOutputWithContext(context.Context) InstancesInstanceShardOutput }
InstancesInstanceShardInput is an input type that accepts InstancesInstanceShardArgs and InstancesInstanceShardOutput values. You can construct a concrete instance of `InstancesInstanceShardInput` via:
InstancesInstanceShardArgs{...}
type InstancesInstanceShardNode ¶
type InstancesInstanceShardNode struct { // The master-slave delay time. NodeDelayTime int `pulumi:"nodeDelayTime"` // The node ID. NodeId string `pulumi:"nodeId"` // The nod role. NodeRole string `pulumi:"nodeRole"` // The node spec. NodeSpec string `pulumi:"nodeSpec"` // The node status. NodeStatus string `pulumi:"nodeStatus"` // The total memory in GB. TotalMemoryGb float64 `pulumi:"totalMemoryGb"` // The total storage in GB. TotalStorageGb float64 `pulumi:"totalStorageGb"` // The total vCPU. TotalVcpu float64 `pulumi:"totalVcpu"` // The used memory in GB. UsedMemoryGb float64 `pulumi:"usedMemoryGb"` // The used storage in GB. UsedStorageGb float64 `pulumi:"usedStorageGb"` // The used vCPU. UsedVcpu float64 `pulumi:"usedVcpu"` // The zone ID to query. ZoneId string `pulumi:"zoneId"` }
type InstancesInstanceShardNodeArgs ¶
type InstancesInstanceShardNodeArgs struct { // The master-slave delay time. NodeDelayTime pulumi.IntInput `pulumi:"nodeDelayTime"` // The node ID. NodeId pulumi.StringInput `pulumi:"nodeId"` // The nod role. NodeRole pulumi.StringInput `pulumi:"nodeRole"` // The node spec. NodeSpec pulumi.StringInput `pulumi:"nodeSpec"` // The node status. NodeStatus pulumi.StringInput `pulumi:"nodeStatus"` // The total memory in GB. TotalMemoryGb pulumi.Float64Input `pulumi:"totalMemoryGb"` // The total storage in GB. TotalStorageGb pulumi.Float64Input `pulumi:"totalStorageGb"` // The total vCPU. TotalVcpu pulumi.Float64Input `pulumi:"totalVcpu"` // The used memory in GB. UsedMemoryGb pulumi.Float64Input `pulumi:"usedMemoryGb"` // The used storage in GB. UsedStorageGb pulumi.Float64Input `pulumi:"usedStorageGb"` // The used vCPU. UsedVcpu pulumi.Float64Input `pulumi:"usedVcpu"` // The zone ID to query. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (InstancesInstanceShardNodeArgs) ElementType ¶
func (InstancesInstanceShardNodeArgs) ElementType() reflect.Type
func (InstancesInstanceShardNodeArgs) ToInstancesInstanceShardNodeOutput ¶
func (i InstancesInstanceShardNodeArgs) ToInstancesInstanceShardNodeOutput() InstancesInstanceShardNodeOutput
func (InstancesInstanceShardNodeArgs) ToInstancesInstanceShardNodeOutputWithContext ¶
func (i InstancesInstanceShardNodeArgs) ToInstancesInstanceShardNodeOutputWithContext(ctx context.Context) InstancesInstanceShardNodeOutput
type InstancesInstanceShardNodeArray ¶
type InstancesInstanceShardNodeArray []InstancesInstanceShardNodeInput
func (InstancesInstanceShardNodeArray) ElementType ¶
func (InstancesInstanceShardNodeArray) ElementType() reflect.Type
func (InstancesInstanceShardNodeArray) ToInstancesInstanceShardNodeArrayOutput ¶
func (i InstancesInstanceShardNodeArray) ToInstancesInstanceShardNodeArrayOutput() InstancesInstanceShardNodeArrayOutput
func (InstancesInstanceShardNodeArray) ToInstancesInstanceShardNodeArrayOutputWithContext ¶
func (i InstancesInstanceShardNodeArray) ToInstancesInstanceShardNodeArrayOutputWithContext(ctx context.Context) InstancesInstanceShardNodeArrayOutput
type InstancesInstanceShardNodeArrayInput ¶
type InstancesInstanceShardNodeArrayInput interface { pulumi.Input ToInstancesInstanceShardNodeArrayOutput() InstancesInstanceShardNodeArrayOutput ToInstancesInstanceShardNodeArrayOutputWithContext(context.Context) InstancesInstanceShardNodeArrayOutput }
InstancesInstanceShardNodeArrayInput is an input type that accepts InstancesInstanceShardNodeArray and InstancesInstanceShardNodeArrayOutput values. You can construct a concrete instance of `InstancesInstanceShardNodeArrayInput` via:
InstancesInstanceShardNodeArray{ InstancesInstanceShardNodeArgs{...} }
type InstancesInstanceShardNodeArrayOutput ¶
type InstancesInstanceShardNodeArrayOutput struct{ *pulumi.OutputState }
func (InstancesInstanceShardNodeArrayOutput) ElementType ¶
func (InstancesInstanceShardNodeArrayOutput) ElementType() reflect.Type
func (InstancesInstanceShardNodeArrayOutput) Index ¶
func (o InstancesInstanceShardNodeArrayOutput) Index(i pulumi.IntInput) InstancesInstanceShardNodeOutput
func (InstancesInstanceShardNodeArrayOutput) ToInstancesInstanceShardNodeArrayOutput ¶
func (o InstancesInstanceShardNodeArrayOutput) ToInstancesInstanceShardNodeArrayOutput() InstancesInstanceShardNodeArrayOutput
func (InstancesInstanceShardNodeArrayOutput) ToInstancesInstanceShardNodeArrayOutputWithContext ¶
func (o InstancesInstanceShardNodeArrayOutput) ToInstancesInstanceShardNodeArrayOutputWithContext(ctx context.Context) InstancesInstanceShardNodeArrayOutput
type InstancesInstanceShardNodeInput ¶
type InstancesInstanceShardNodeInput interface { pulumi.Input ToInstancesInstanceShardNodeOutput() InstancesInstanceShardNodeOutput ToInstancesInstanceShardNodeOutputWithContext(context.Context) InstancesInstanceShardNodeOutput }
InstancesInstanceShardNodeInput is an input type that accepts InstancesInstanceShardNodeArgs and InstancesInstanceShardNodeOutput values. You can construct a concrete instance of `InstancesInstanceShardNodeInput` via:
InstancesInstanceShardNodeArgs{...}
type InstancesInstanceShardNodeOutput ¶
type InstancesInstanceShardNodeOutput struct{ *pulumi.OutputState }
func (InstancesInstanceShardNodeOutput) ElementType ¶
func (InstancesInstanceShardNodeOutput) ElementType() reflect.Type
func (InstancesInstanceShardNodeOutput) NodeDelayTime ¶
func (o InstancesInstanceShardNodeOutput) NodeDelayTime() pulumi.IntOutput
The master-slave delay time.
func (InstancesInstanceShardNodeOutput) NodeId ¶
func (o InstancesInstanceShardNodeOutput) NodeId() pulumi.StringOutput
The node ID.
func (InstancesInstanceShardNodeOutput) NodeRole ¶
func (o InstancesInstanceShardNodeOutput) NodeRole() pulumi.StringOutput
The nod role.
func (InstancesInstanceShardNodeOutput) NodeSpec ¶
func (o InstancesInstanceShardNodeOutput) NodeSpec() pulumi.StringOutput
The node spec.
func (InstancesInstanceShardNodeOutput) NodeStatus ¶
func (o InstancesInstanceShardNodeOutput) NodeStatus() pulumi.StringOutput
The node status.
func (InstancesInstanceShardNodeOutput) ToInstancesInstanceShardNodeOutput ¶
func (o InstancesInstanceShardNodeOutput) ToInstancesInstanceShardNodeOutput() InstancesInstanceShardNodeOutput
func (InstancesInstanceShardNodeOutput) ToInstancesInstanceShardNodeOutputWithContext ¶
func (o InstancesInstanceShardNodeOutput) ToInstancesInstanceShardNodeOutputWithContext(ctx context.Context) InstancesInstanceShardNodeOutput
func (InstancesInstanceShardNodeOutput) TotalMemoryGb ¶
func (o InstancesInstanceShardNodeOutput) TotalMemoryGb() pulumi.Float64Output
The total memory in GB.
func (InstancesInstanceShardNodeOutput) TotalStorageGb ¶
func (o InstancesInstanceShardNodeOutput) TotalStorageGb() pulumi.Float64Output
The total storage in GB.
func (InstancesInstanceShardNodeOutput) TotalVcpu ¶
func (o InstancesInstanceShardNodeOutput) TotalVcpu() pulumi.Float64Output
The total vCPU.
func (InstancesInstanceShardNodeOutput) UsedMemoryGb ¶
func (o InstancesInstanceShardNodeOutput) UsedMemoryGb() pulumi.Float64Output
The used memory in GB.
func (InstancesInstanceShardNodeOutput) UsedStorageGb ¶
func (o InstancesInstanceShardNodeOutput) UsedStorageGb() pulumi.Float64Output
The used storage in GB.
func (InstancesInstanceShardNodeOutput) UsedVcpu ¶
func (o InstancesInstanceShardNodeOutput) UsedVcpu() pulumi.Float64Output
The used vCPU.
func (InstancesInstanceShardNodeOutput) ZoneId ¶
func (o InstancesInstanceShardNodeOutput) ZoneId() pulumi.StringOutput
The zone ID to query.
type InstancesInstanceShardOutput ¶
type InstancesInstanceShardOutput struct{ *pulumi.OutputState }
func (InstancesInstanceShardOutput) ElementType ¶
func (InstancesInstanceShardOutput) ElementType() reflect.Type
func (InstancesInstanceShardOutput) Nodes ¶
func (o InstancesInstanceShardOutput) Nodes() InstancesInstanceShardNodeArrayOutput
The node information.
func (InstancesInstanceShardOutput) ShardId ¶
func (o InstancesInstanceShardOutput) ShardId() pulumi.StringOutput
The shard ID.
func (InstancesInstanceShardOutput) ToInstancesInstanceShardOutput ¶
func (o InstancesInstanceShardOutput) ToInstancesInstanceShardOutput() InstancesInstanceShardOutput
func (InstancesInstanceShardOutput) ToInstancesInstanceShardOutputWithContext ¶
func (o InstancesInstanceShardOutput) ToInstancesInstanceShardOutputWithContext(ctx context.Context) InstancesInstanceShardOutput
type InstancesInstanceTag ¶
type InstancesInstanceTagArgs ¶
type InstancesInstanceTagArgs struct { // The Key of Tags. Key pulumi.StringInput `pulumi:"key"` // The Value of Tags. Value pulumi.StringInput `pulumi:"value"` }
func (InstancesInstanceTagArgs) ElementType ¶
func (InstancesInstanceTagArgs) ElementType() reflect.Type
func (InstancesInstanceTagArgs) ToInstancesInstanceTagOutput ¶
func (i InstancesInstanceTagArgs) ToInstancesInstanceTagOutput() InstancesInstanceTagOutput
func (InstancesInstanceTagArgs) ToInstancesInstanceTagOutputWithContext ¶
func (i InstancesInstanceTagArgs) ToInstancesInstanceTagOutputWithContext(ctx context.Context) InstancesInstanceTagOutput
type InstancesInstanceTagArray ¶
type InstancesInstanceTagArray []InstancesInstanceTagInput
func (InstancesInstanceTagArray) ElementType ¶
func (InstancesInstanceTagArray) ElementType() reflect.Type
func (InstancesInstanceTagArray) ToInstancesInstanceTagArrayOutput ¶
func (i InstancesInstanceTagArray) ToInstancesInstanceTagArrayOutput() InstancesInstanceTagArrayOutput
func (InstancesInstanceTagArray) ToInstancesInstanceTagArrayOutputWithContext ¶
func (i InstancesInstanceTagArray) ToInstancesInstanceTagArrayOutputWithContext(ctx context.Context) InstancesInstanceTagArrayOutput
type InstancesInstanceTagArrayInput ¶
type InstancesInstanceTagArrayInput interface { pulumi.Input ToInstancesInstanceTagArrayOutput() InstancesInstanceTagArrayOutput ToInstancesInstanceTagArrayOutputWithContext(context.Context) InstancesInstanceTagArrayOutput }
InstancesInstanceTagArrayInput is an input type that accepts InstancesInstanceTagArray and InstancesInstanceTagArrayOutput values. You can construct a concrete instance of `InstancesInstanceTagArrayInput` via:
InstancesInstanceTagArray{ InstancesInstanceTagArgs{...} }
type InstancesInstanceTagArrayOutput ¶
type InstancesInstanceTagArrayOutput struct{ *pulumi.OutputState }
func (InstancesInstanceTagArrayOutput) ElementType ¶
func (InstancesInstanceTagArrayOutput) ElementType() reflect.Type
func (InstancesInstanceTagArrayOutput) Index ¶
func (o InstancesInstanceTagArrayOutput) Index(i pulumi.IntInput) InstancesInstanceTagOutput
func (InstancesInstanceTagArrayOutput) ToInstancesInstanceTagArrayOutput ¶
func (o InstancesInstanceTagArrayOutput) ToInstancesInstanceTagArrayOutput() InstancesInstanceTagArrayOutput
func (InstancesInstanceTagArrayOutput) ToInstancesInstanceTagArrayOutputWithContext ¶
func (o InstancesInstanceTagArrayOutput) ToInstancesInstanceTagArrayOutputWithContext(ctx context.Context) InstancesInstanceTagArrayOutput
type InstancesInstanceTagInput ¶
type InstancesInstanceTagInput interface { pulumi.Input ToInstancesInstanceTagOutput() InstancesInstanceTagOutput ToInstancesInstanceTagOutputWithContext(context.Context) InstancesInstanceTagOutput }
InstancesInstanceTagInput is an input type that accepts InstancesInstanceTagArgs and InstancesInstanceTagOutput values. You can construct a concrete instance of `InstancesInstanceTagInput` via:
InstancesInstanceTagArgs{...}
type InstancesInstanceTagOutput ¶
type InstancesInstanceTagOutput struct{ *pulumi.OutputState }
func (InstancesInstanceTagOutput) ElementType ¶
func (InstancesInstanceTagOutput) ElementType() reflect.Type
func (InstancesInstanceTagOutput) Key ¶
func (o InstancesInstanceTagOutput) Key() pulumi.StringOutput
The Key of Tags.
func (InstancesInstanceTagOutput) ToInstancesInstanceTagOutput ¶
func (o InstancesInstanceTagOutput) ToInstancesInstanceTagOutput() InstancesInstanceTagOutput
func (InstancesInstanceTagOutput) ToInstancesInstanceTagOutputWithContext ¶
func (o InstancesInstanceTagOutput) ToInstancesInstanceTagOutputWithContext(ctx context.Context) InstancesInstanceTagOutput
func (InstancesInstanceTagOutput) Value ¶
func (o InstancesInstanceTagOutput) Value() pulumi.StringOutput
The Value of Tags.
type InstancesOutputArgs ¶
type InstancesOutputArgs struct { // The end time of creation to query. CreateEndTime pulumi.StringPtrInput `pulumi:"createEndTime"` // The start time of creation to query. CreateStartTime pulumi.StringPtrInput `pulumi:"createStartTime"` // The db engine to query, valid value contains `MongoDB`. DbEngine pulumi.StringPtrInput `pulumi:"dbEngine"` // The version of db engine to query, valid value contains `MongoDB_4_0`. DbEngineVersion pulumi.StringPtrInput `pulumi:"dbEngineVersion"` // The instance ID to query. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // The instance name to query. InstanceName pulumi.StringPtrInput `pulumi:"instanceName"` // The instance status to query. InstanceStatus pulumi.StringPtrInput `pulumi:"instanceStatus"` // The type of instance to query, the valid value contains `ReplicaSet` or `ShardedCluster`. InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` // A Name Regex of DB instance. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results. OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // Tags. Tags InstancesTagArrayInput `pulumi:"tags"` // The end time of update to query. UpdateEndTime pulumi.StringPtrInput `pulumi:"updateEndTime"` // The start time of update to query. UpdateStartTime pulumi.StringPtrInput `pulumi:"updateStartTime"` // The vpc id of instance to query. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` // The zone ID to query. ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` }
A collection of arguments for invoking Instances.
func (InstancesOutputArgs) ElementType ¶
func (InstancesOutputArgs) ElementType() reflect.Type
type InstancesResult ¶
type InstancesResult struct { CreateEndTime *string `pulumi:"createEndTime"` CreateStartTime *string `pulumi:"createStartTime"` // The db engine. DbEngine *string `pulumi:"dbEngine"` // The version of database engine. DbEngineVersion *string `pulumi:"dbEngineVersion"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The instance ID. InstanceId *string `pulumi:"instanceId"` // The instance name. InstanceName *string `pulumi:"instanceName"` // The instance status. InstanceStatus *string `pulumi:"instanceStatus"` // The instance type. InstanceType *string `pulumi:"instanceType"` // The collection of mongodb instances query. Instances []InstancesInstance `pulumi:"instances"` NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // Tags. Tags []InstancesTag `pulumi:"tags"` // The total count of mongodb instances query. TotalCount int `pulumi:"totalCount"` UpdateEndTime *string `pulumi:"updateEndTime"` UpdateStartTime *string `pulumi:"updateStartTime"` // The vpc ID. VpcId *string `pulumi:"vpcId"` // The zone ID of instance. ZoneId *string `pulumi:"zoneId"` }
A collection of values returned by Instances.
func Instances ¶
func Instances(ctx *pulumi.Context, args *InstancesArgs, opts ...pulumi.InvokeOption) (*InstancesResult, error)
Use this data source to query detailed information of mongodb instances ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := mongodb.Instances(ctx, &mongodb.InstancesArgs{ InstanceId: pulumi.StringRef("mongo-replica-xxx"), }, nil) if err != nil { return err } return nil }) }
```
type InstancesResultOutput ¶
type InstancesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by Instances.
func InstancesOutput ¶
func InstancesOutput(ctx *pulumi.Context, args InstancesOutputArgs, opts ...pulumi.InvokeOption) InstancesResultOutput
func (InstancesResultOutput) CreateEndTime ¶
func (o InstancesResultOutput) CreateEndTime() pulumi.StringPtrOutput
func (InstancesResultOutput) CreateStartTime ¶
func (o InstancesResultOutput) CreateStartTime() pulumi.StringPtrOutput
func (InstancesResultOutput) DbEngine ¶
func (o InstancesResultOutput) DbEngine() pulumi.StringPtrOutput
The db engine.
func (InstancesResultOutput) DbEngineVersion ¶
func (o InstancesResultOutput) DbEngineVersion() pulumi.StringPtrOutput
The version of database engine.
func (InstancesResultOutput) ElementType ¶
func (InstancesResultOutput) ElementType() reflect.Type
func (InstancesResultOutput) Id ¶
func (o InstancesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (InstancesResultOutput) InstanceId ¶
func (o InstancesResultOutput) InstanceId() pulumi.StringPtrOutput
The instance ID.
func (InstancesResultOutput) InstanceName ¶
func (o InstancesResultOutput) InstanceName() pulumi.StringPtrOutput
The instance name.
func (InstancesResultOutput) InstanceStatus ¶
func (o InstancesResultOutput) InstanceStatus() pulumi.StringPtrOutput
The instance status.
func (InstancesResultOutput) InstanceType ¶
func (o InstancesResultOutput) InstanceType() pulumi.StringPtrOutput
The instance type.
func (InstancesResultOutput) Instances ¶
func (o InstancesResultOutput) Instances() InstancesInstanceArrayOutput
The collection of mongodb instances query.
func (InstancesResultOutput) NameRegex ¶
func (o InstancesResultOutput) NameRegex() pulumi.StringPtrOutput
func (InstancesResultOutput) OutputFile ¶
func (o InstancesResultOutput) OutputFile() pulumi.StringPtrOutput
func (InstancesResultOutput) Tags ¶
func (o InstancesResultOutput) Tags() InstancesTagArrayOutput
Tags.
func (InstancesResultOutput) ToInstancesResultOutput ¶
func (o InstancesResultOutput) ToInstancesResultOutput() InstancesResultOutput
func (InstancesResultOutput) ToInstancesResultOutputWithContext ¶
func (o InstancesResultOutput) ToInstancesResultOutputWithContext(ctx context.Context) InstancesResultOutput
func (InstancesResultOutput) TotalCount ¶
func (o InstancesResultOutput) TotalCount() pulumi.IntOutput
The total count of mongodb instances query.
func (InstancesResultOutput) UpdateEndTime ¶
func (o InstancesResultOutput) UpdateEndTime() pulumi.StringPtrOutput
func (InstancesResultOutput) UpdateStartTime ¶
func (o InstancesResultOutput) UpdateStartTime() pulumi.StringPtrOutput
func (InstancesResultOutput) VpcId ¶
func (o InstancesResultOutput) VpcId() pulumi.StringPtrOutput
The vpc ID.
func (InstancesResultOutput) ZoneId ¶
func (o InstancesResultOutput) ZoneId() pulumi.StringPtrOutput
The zone ID of instance.
type InstancesTag ¶
type InstancesTagArgs ¶
type InstancesTagArgs struct { // The Key of Tags. Key pulumi.StringInput `pulumi:"key"` // The Value of Tags. Value pulumi.StringInput `pulumi:"value"` }
func (InstancesTagArgs) ElementType ¶
func (InstancesTagArgs) ElementType() reflect.Type
func (InstancesTagArgs) ToInstancesTagOutput ¶
func (i InstancesTagArgs) ToInstancesTagOutput() InstancesTagOutput
func (InstancesTagArgs) ToInstancesTagOutputWithContext ¶
func (i InstancesTagArgs) ToInstancesTagOutputWithContext(ctx context.Context) InstancesTagOutput
type InstancesTagArray ¶
type InstancesTagArray []InstancesTagInput
func (InstancesTagArray) ElementType ¶
func (InstancesTagArray) ElementType() reflect.Type
func (InstancesTagArray) ToInstancesTagArrayOutput ¶
func (i InstancesTagArray) ToInstancesTagArrayOutput() InstancesTagArrayOutput
func (InstancesTagArray) ToInstancesTagArrayOutputWithContext ¶
func (i InstancesTagArray) ToInstancesTagArrayOutputWithContext(ctx context.Context) InstancesTagArrayOutput
type InstancesTagArrayInput ¶
type InstancesTagArrayInput interface { pulumi.Input ToInstancesTagArrayOutput() InstancesTagArrayOutput ToInstancesTagArrayOutputWithContext(context.Context) InstancesTagArrayOutput }
InstancesTagArrayInput is an input type that accepts InstancesTagArray and InstancesTagArrayOutput values. You can construct a concrete instance of `InstancesTagArrayInput` via:
InstancesTagArray{ InstancesTagArgs{...} }
type InstancesTagArrayOutput ¶
type InstancesTagArrayOutput struct{ *pulumi.OutputState }
func (InstancesTagArrayOutput) ElementType ¶
func (InstancesTagArrayOutput) ElementType() reflect.Type
func (InstancesTagArrayOutput) Index ¶
func (o InstancesTagArrayOutput) Index(i pulumi.IntInput) InstancesTagOutput
func (InstancesTagArrayOutput) ToInstancesTagArrayOutput ¶
func (o InstancesTagArrayOutput) ToInstancesTagArrayOutput() InstancesTagArrayOutput
func (InstancesTagArrayOutput) ToInstancesTagArrayOutputWithContext ¶
func (o InstancesTagArrayOutput) ToInstancesTagArrayOutputWithContext(ctx context.Context) InstancesTagArrayOutput
type InstancesTagInput ¶
type InstancesTagInput interface { pulumi.Input ToInstancesTagOutput() InstancesTagOutput ToInstancesTagOutputWithContext(context.Context) InstancesTagOutput }
InstancesTagInput is an input type that accepts InstancesTagArgs and InstancesTagOutput values. You can construct a concrete instance of `InstancesTagInput` via:
InstancesTagArgs{...}
type InstancesTagOutput ¶
type InstancesTagOutput struct{ *pulumi.OutputState }
func (InstancesTagOutput) ElementType ¶
func (InstancesTagOutput) ElementType() reflect.Type
func (InstancesTagOutput) Key ¶
func (o InstancesTagOutput) Key() pulumi.StringOutput
The Key of Tags.
func (InstancesTagOutput) ToInstancesTagOutput ¶
func (o InstancesTagOutput) ToInstancesTagOutput() InstancesTagOutput
func (InstancesTagOutput) ToInstancesTagOutputWithContext ¶
func (o InstancesTagOutput) ToInstancesTagOutputWithContext(ctx context.Context) InstancesTagOutput
func (InstancesTagOutput) Value ¶
func (o InstancesTagOutput) Value() pulumi.StringOutput
The Value of Tags.
type MongoAllowList ¶
type MongoAllowList struct { pulumi.CustomResourceState // IP address or IP address segment in CIDR format. AllowList pulumi.StringOutput `pulumi:"allowList"` // The description of allow list. AllowListDesc pulumi.StringOutput `pulumi:"allowListDesc"` // The name of allow list. AllowListName pulumi.StringOutput `pulumi:"allowListName"` // The IP address type of allow list, valid value contains `IPv4`. AllowListType pulumi.StringPtrOutput `pulumi:"allowListType"` }
Provides a resource to manage mongodb allow list ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := mongodb.NewMongoAllowList(ctx, "foo", &mongodb.MongoAllowListArgs{ AllowList: pulumi.String("10.1.1.3,10.2.3.0/24,10.1.1.1"), AllowListDesc: pulumi.String("acc-test"), AllowListName: pulumi.String("acc-test"), AllowListType: pulumi.String("IPv4"), }) if err != nil { return err } return nil }) }
```
## Import
mongodb allow list can be imported using the allowListId, e.g.
```sh
$ pulumi import volcengine:mongodb/mongoAllowList:MongoAllowList default acl-d1fd76693bd54e658912e7337d5b****
```
func GetMongoAllowList ¶
func GetMongoAllowList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MongoAllowListState, opts ...pulumi.ResourceOption) (*MongoAllowList, error)
GetMongoAllowList gets an existing MongoAllowList 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 NewMongoAllowList ¶
func NewMongoAllowList(ctx *pulumi.Context, name string, args *MongoAllowListArgs, opts ...pulumi.ResourceOption) (*MongoAllowList, error)
NewMongoAllowList registers a new resource with the given unique name, arguments, and options.
func (*MongoAllowList) ElementType ¶
func (*MongoAllowList) ElementType() reflect.Type
func (*MongoAllowList) ToMongoAllowListOutput ¶
func (i *MongoAllowList) ToMongoAllowListOutput() MongoAllowListOutput
func (*MongoAllowList) ToMongoAllowListOutputWithContext ¶
func (i *MongoAllowList) ToMongoAllowListOutputWithContext(ctx context.Context) MongoAllowListOutput
type MongoAllowListArgs ¶
type MongoAllowListArgs struct { // IP address or IP address segment in CIDR format. AllowList pulumi.StringInput // The description of allow list. AllowListDesc pulumi.StringPtrInput // The name of allow list. AllowListName pulumi.StringInput // The IP address type of allow list, valid value contains `IPv4`. AllowListType pulumi.StringPtrInput }
The set of arguments for constructing a MongoAllowList resource.
func (MongoAllowListArgs) ElementType ¶
func (MongoAllowListArgs) ElementType() reflect.Type
type MongoAllowListArray ¶
type MongoAllowListArray []MongoAllowListInput
func (MongoAllowListArray) ElementType ¶
func (MongoAllowListArray) ElementType() reflect.Type
func (MongoAllowListArray) ToMongoAllowListArrayOutput ¶
func (i MongoAllowListArray) ToMongoAllowListArrayOutput() MongoAllowListArrayOutput
func (MongoAllowListArray) ToMongoAllowListArrayOutputWithContext ¶
func (i MongoAllowListArray) ToMongoAllowListArrayOutputWithContext(ctx context.Context) MongoAllowListArrayOutput
type MongoAllowListArrayInput ¶
type MongoAllowListArrayInput interface { pulumi.Input ToMongoAllowListArrayOutput() MongoAllowListArrayOutput ToMongoAllowListArrayOutputWithContext(context.Context) MongoAllowListArrayOutput }
MongoAllowListArrayInput is an input type that accepts MongoAllowListArray and MongoAllowListArrayOutput values. You can construct a concrete instance of `MongoAllowListArrayInput` via:
MongoAllowListArray{ MongoAllowListArgs{...} }
type MongoAllowListArrayOutput ¶
type MongoAllowListArrayOutput struct{ *pulumi.OutputState }
func (MongoAllowListArrayOutput) ElementType ¶
func (MongoAllowListArrayOutput) ElementType() reflect.Type
func (MongoAllowListArrayOutput) Index ¶
func (o MongoAllowListArrayOutput) Index(i pulumi.IntInput) MongoAllowListOutput
func (MongoAllowListArrayOutput) ToMongoAllowListArrayOutput ¶
func (o MongoAllowListArrayOutput) ToMongoAllowListArrayOutput() MongoAllowListArrayOutput
func (MongoAllowListArrayOutput) ToMongoAllowListArrayOutputWithContext ¶
func (o MongoAllowListArrayOutput) ToMongoAllowListArrayOutputWithContext(ctx context.Context) MongoAllowListArrayOutput
type MongoAllowListAssociate ¶
type MongoAllowListAssociate struct { pulumi.CustomResourceState // Id of allow list to associate. AllowListId pulumi.StringOutput `pulumi:"allowListId"` // Id of instance to associate. InstanceId pulumi.StringOutput `pulumi:"instanceId"` }
Provides a resource to manage mongodb allow list associate ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooZones, err := ecs.Zones(ctx, nil, nil) if err != nil { return err } fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{ VpcName: pulumi.String("acc-test-vpc"), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{ SubnetName: pulumi.String("acc-test-subnet"), CidrBlock: pulumi.String("172.16.0.0/24"), ZoneId: *pulumi.String(fooZones.Zones[0].Id), VpcId: fooVpc.ID(), }) if err != nil { return err } fooInstance, err := mongodb.NewInstance(ctx, "fooInstance", &mongodb.InstanceArgs{ DbEngineVersion: pulumi.String("MongoDB_4_0"), InstanceType: pulumi.String("ReplicaSet"), SuperAccountPassword: pulumi.String("@acc-test-123"), NodeSpec: pulumi.String("mongo.2c4g"), MongosNodeSpec: pulumi.String("mongo.mongos.2c4g"), InstanceName: pulumi.String("acc-test-mongo-replica"), ChargeType: pulumi.String("PostPaid"), ProjectName: pulumi.String("default"), MongosNodeNumber: pulumi.Int(32), ShardNumber: pulumi.Int(3), StorageSpaceGb: pulumi.Int(20), SubnetId: fooSubnet.ID(), ZoneId: *pulumi.String(fooZones.Zones[0].Id), Tags: mongodb.InstanceTagArray{ &mongodb.InstanceTagArgs{ Key: pulumi.String("k1"), Value: pulumi.String("v1"), }, }, }) if err != nil { return err } fooMongoAllowList, err := mongodb.NewMongoAllowList(ctx, "fooMongoAllowList", &mongodb.MongoAllowListArgs{ AllowListName: pulumi.String("acc-test"), AllowListDesc: pulumi.String("acc-test"), AllowListType: pulumi.String("IPv4"), AllowList: pulumi.String("10.1.1.3,10.2.3.0/24,10.1.1.1"), }) if err != nil { return err } _, err = mongodb.NewMongoAllowListAssociate(ctx, "fooMongoAllowListAssociate", &mongodb.MongoAllowListAssociateArgs{ AllowListId: fooMongoAllowList.ID(), InstanceId: fooInstance.ID(), }) if err != nil { return err } return nil }) }
```
## Import
mongodb allow list associate can be imported using the instanceId:allowListId, e.g.
```sh
$ pulumi import volcengine:mongodb/mongoAllowListAssociate:MongoAllowListAssociate default mongo-replica-e405f8e2****:acl-d1fd76693bd54e658912e7337d5b****
```
func GetMongoAllowListAssociate ¶
func GetMongoAllowListAssociate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MongoAllowListAssociateState, opts ...pulumi.ResourceOption) (*MongoAllowListAssociate, error)
GetMongoAllowListAssociate gets an existing MongoAllowListAssociate 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 NewMongoAllowListAssociate ¶
func NewMongoAllowListAssociate(ctx *pulumi.Context, name string, args *MongoAllowListAssociateArgs, opts ...pulumi.ResourceOption) (*MongoAllowListAssociate, error)
NewMongoAllowListAssociate registers a new resource with the given unique name, arguments, and options.
func (*MongoAllowListAssociate) ElementType ¶
func (*MongoAllowListAssociate) ElementType() reflect.Type
func (*MongoAllowListAssociate) ToMongoAllowListAssociateOutput ¶
func (i *MongoAllowListAssociate) ToMongoAllowListAssociateOutput() MongoAllowListAssociateOutput
func (*MongoAllowListAssociate) ToMongoAllowListAssociateOutputWithContext ¶
func (i *MongoAllowListAssociate) ToMongoAllowListAssociateOutputWithContext(ctx context.Context) MongoAllowListAssociateOutput
type MongoAllowListAssociateArgs ¶
type MongoAllowListAssociateArgs struct { // Id of allow list to associate. AllowListId pulumi.StringInput // Id of instance to associate. InstanceId pulumi.StringInput }
The set of arguments for constructing a MongoAllowListAssociate resource.
func (MongoAllowListAssociateArgs) ElementType ¶
func (MongoAllowListAssociateArgs) ElementType() reflect.Type
type MongoAllowListAssociateArray ¶
type MongoAllowListAssociateArray []MongoAllowListAssociateInput
func (MongoAllowListAssociateArray) ElementType ¶
func (MongoAllowListAssociateArray) ElementType() reflect.Type
func (MongoAllowListAssociateArray) ToMongoAllowListAssociateArrayOutput ¶
func (i MongoAllowListAssociateArray) ToMongoAllowListAssociateArrayOutput() MongoAllowListAssociateArrayOutput
func (MongoAllowListAssociateArray) ToMongoAllowListAssociateArrayOutputWithContext ¶
func (i MongoAllowListAssociateArray) ToMongoAllowListAssociateArrayOutputWithContext(ctx context.Context) MongoAllowListAssociateArrayOutput
type MongoAllowListAssociateArrayInput ¶
type MongoAllowListAssociateArrayInput interface { pulumi.Input ToMongoAllowListAssociateArrayOutput() MongoAllowListAssociateArrayOutput ToMongoAllowListAssociateArrayOutputWithContext(context.Context) MongoAllowListAssociateArrayOutput }
MongoAllowListAssociateArrayInput is an input type that accepts MongoAllowListAssociateArray and MongoAllowListAssociateArrayOutput values. You can construct a concrete instance of `MongoAllowListAssociateArrayInput` via:
MongoAllowListAssociateArray{ MongoAllowListAssociateArgs{...} }
type MongoAllowListAssociateArrayOutput ¶
type MongoAllowListAssociateArrayOutput struct{ *pulumi.OutputState }
func (MongoAllowListAssociateArrayOutput) ElementType ¶
func (MongoAllowListAssociateArrayOutput) ElementType() reflect.Type
func (MongoAllowListAssociateArrayOutput) Index ¶
func (o MongoAllowListAssociateArrayOutput) Index(i pulumi.IntInput) MongoAllowListAssociateOutput
func (MongoAllowListAssociateArrayOutput) ToMongoAllowListAssociateArrayOutput ¶
func (o MongoAllowListAssociateArrayOutput) ToMongoAllowListAssociateArrayOutput() MongoAllowListAssociateArrayOutput
func (MongoAllowListAssociateArrayOutput) ToMongoAllowListAssociateArrayOutputWithContext ¶
func (o MongoAllowListAssociateArrayOutput) ToMongoAllowListAssociateArrayOutputWithContext(ctx context.Context) MongoAllowListAssociateArrayOutput
type MongoAllowListAssociateInput ¶
type MongoAllowListAssociateInput interface { pulumi.Input ToMongoAllowListAssociateOutput() MongoAllowListAssociateOutput ToMongoAllowListAssociateOutputWithContext(ctx context.Context) MongoAllowListAssociateOutput }
type MongoAllowListAssociateMap ¶
type MongoAllowListAssociateMap map[string]MongoAllowListAssociateInput
func (MongoAllowListAssociateMap) ElementType ¶
func (MongoAllowListAssociateMap) ElementType() reflect.Type
func (MongoAllowListAssociateMap) ToMongoAllowListAssociateMapOutput ¶
func (i MongoAllowListAssociateMap) ToMongoAllowListAssociateMapOutput() MongoAllowListAssociateMapOutput
func (MongoAllowListAssociateMap) ToMongoAllowListAssociateMapOutputWithContext ¶
func (i MongoAllowListAssociateMap) ToMongoAllowListAssociateMapOutputWithContext(ctx context.Context) MongoAllowListAssociateMapOutput
type MongoAllowListAssociateMapInput ¶
type MongoAllowListAssociateMapInput interface { pulumi.Input ToMongoAllowListAssociateMapOutput() MongoAllowListAssociateMapOutput ToMongoAllowListAssociateMapOutputWithContext(context.Context) MongoAllowListAssociateMapOutput }
MongoAllowListAssociateMapInput is an input type that accepts MongoAllowListAssociateMap and MongoAllowListAssociateMapOutput values. You can construct a concrete instance of `MongoAllowListAssociateMapInput` via:
MongoAllowListAssociateMap{ "key": MongoAllowListAssociateArgs{...} }
type MongoAllowListAssociateMapOutput ¶
type MongoAllowListAssociateMapOutput struct{ *pulumi.OutputState }
func (MongoAllowListAssociateMapOutput) ElementType ¶
func (MongoAllowListAssociateMapOutput) ElementType() reflect.Type
func (MongoAllowListAssociateMapOutput) MapIndex ¶
func (o MongoAllowListAssociateMapOutput) MapIndex(k pulumi.StringInput) MongoAllowListAssociateOutput
func (MongoAllowListAssociateMapOutput) ToMongoAllowListAssociateMapOutput ¶
func (o MongoAllowListAssociateMapOutput) ToMongoAllowListAssociateMapOutput() MongoAllowListAssociateMapOutput
func (MongoAllowListAssociateMapOutput) ToMongoAllowListAssociateMapOutputWithContext ¶
func (o MongoAllowListAssociateMapOutput) ToMongoAllowListAssociateMapOutputWithContext(ctx context.Context) MongoAllowListAssociateMapOutput
type MongoAllowListAssociateOutput ¶
type MongoAllowListAssociateOutput struct{ *pulumi.OutputState }
func (MongoAllowListAssociateOutput) AllowListId ¶
func (o MongoAllowListAssociateOutput) AllowListId() pulumi.StringOutput
Id of allow list to associate.
func (MongoAllowListAssociateOutput) ElementType ¶
func (MongoAllowListAssociateOutput) ElementType() reflect.Type
func (MongoAllowListAssociateOutput) InstanceId ¶
func (o MongoAllowListAssociateOutput) InstanceId() pulumi.StringOutput
Id of instance to associate.
func (MongoAllowListAssociateOutput) ToMongoAllowListAssociateOutput ¶
func (o MongoAllowListAssociateOutput) ToMongoAllowListAssociateOutput() MongoAllowListAssociateOutput
func (MongoAllowListAssociateOutput) ToMongoAllowListAssociateOutputWithContext ¶
func (o MongoAllowListAssociateOutput) ToMongoAllowListAssociateOutputWithContext(ctx context.Context) MongoAllowListAssociateOutput
type MongoAllowListAssociateState ¶
type MongoAllowListAssociateState struct { // Id of allow list to associate. AllowListId pulumi.StringPtrInput // Id of instance to associate. InstanceId pulumi.StringPtrInput }
func (MongoAllowListAssociateState) ElementType ¶
func (MongoAllowListAssociateState) ElementType() reflect.Type
type MongoAllowListInput ¶
type MongoAllowListInput interface { pulumi.Input ToMongoAllowListOutput() MongoAllowListOutput ToMongoAllowListOutputWithContext(ctx context.Context) MongoAllowListOutput }
type MongoAllowListMap ¶
type MongoAllowListMap map[string]MongoAllowListInput
func (MongoAllowListMap) ElementType ¶
func (MongoAllowListMap) ElementType() reflect.Type
func (MongoAllowListMap) ToMongoAllowListMapOutput ¶
func (i MongoAllowListMap) ToMongoAllowListMapOutput() MongoAllowListMapOutput
func (MongoAllowListMap) ToMongoAllowListMapOutputWithContext ¶
func (i MongoAllowListMap) ToMongoAllowListMapOutputWithContext(ctx context.Context) MongoAllowListMapOutput
type MongoAllowListMapInput ¶
type MongoAllowListMapInput interface { pulumi.Input ToMongoAllowListMapOutput() MongoAllowListMapOutput ToMongoAllowListMapOutputWithContext(context.Context) MongoAllowListMapOutput }
MongoAllowListMapInput is an input type that accepts MongoAllowListMap and MongoAllowListMapOutput values. You can construct a concrete instance of `MongoAllowListMapInput` via:
MongoAllowListMap{ "key": MongoAllowListArgs{...} }
type MongoAllowListMapOutput ¶
type MongoAllowListMapOutput struct{ *pulumi.OutputState }
func (MongoAllowListMapOutput) ElementType ¶
func (MongoAllowListMapOutput) ElementType() reflect.Type
func (MongoAllowListMapOutput) MapIndex ¶
func (o MongoAllowListMapOutput) MapIndex(k pulumi.StringInput) MongoAllowListOutput
func (MongoAllowListMapOutput) ToMongoAllowListMapOutput ¶
func (o MongoAllowListMapOutput) ToMongoAllowListMapOutput() MongoAllowListMapOutput
func (MongoAllowListMapOutput) ToMongoAllowListMapOutputWithContext ¶
func (o MongoAllowListMapOutput) ToMongoAllowListMapOutputWithContext(ctx context.Context) MongoAllowListMapOutput
type MongoAllowListOutput ¶
type MongoAllowListOutput struct{ *pulumi.OutputState }
func (MongoAllowListOutput) AllowList ¶
func (o MongoAllowListOutput) AllowList() pulumi.StringOutput
IP address or IP address segment in CIDR format.
func (MongoAllowListOutput) AllowListDesc ¶
func (o MongoAllowListOutput) AllowListDesc() pulumi.StringOutput
The description of allow list.
func (MongoAllowListOutput) AllowListName ¶
func (o MongoAllowListOutput) AllowListName() pulumi.StringOutput
The name of allow list.
func (MongoAllowListOutput) AllowListType ¶
func (o MongoAllowListOutput) AllowListType() pulumi.StringPtrOutput
The IP address type of allow list, valid value contains `IPv4`.
func (MongoAllowListOutput) ElementType ¶
func (MongoAllowListOutput) ElementType() reflect.Type
func (MongoAllowListOutput) ToMongoAllowListOutput ¶
func (o MongoAllowListOutput) ToMongoAllowListOutput() MongoAllowListOutput
func (MongoAllowListOutput) ToMongoAllowListOutputWithContext ¶
func (o MongoAllowListOutput) ToMongoAllowListOutputWithContext(ctx context.Context) MongoAllowListOutput
type MongoAllowListState ¶
type MongoAllowListState struct { // IP address or IP address segment in CIDR format. AllowList pulumi.StringPtrInput // The description of allow list. AllowListDesc pulumi.StringPtrInput // The name of allow list. AllowListName pulumi.StringPtrInput // The IP address type of allow list, valid value contains `IPv4`. AllowListType pulumi.StringPtrInput }
func (MongoAllowListState) ElementType ¶
func (MongoAllowListState) ElementType() reflect.Type
type MongoAllowListsAllowList ¶
type MongoAllowListsAllowList struct { // The list of IP address in allow list. AllowList string `pulumi:"allowList"` // The description of allow list. AllowListDesc string `pulumi:"allowListDesc"` // The ID of allow list. AllowListId string `pulumi:"allowListId"` // The number of allow list IPs. AllowListIpNum int `pulumi:"allowListIpNum"` // The allow list name. AllowListName string `pulumi:"allowListName"` // The IP address type in allow list. AllowListType string `pulumi:"allowListType"` // The total number of instances bound under the allow list. AssociatedInstanceNum int `pulumi:"associatedInstanceNum"` // The list of associated instances. AssociatedInstances []MongoAllowListsAllowListAssociatedInstance `pulumi:"associatedInstances"` }
type MongoAllowListsAllowListArgs ¶
type MongoAllowListsAllowListArgs struct { // The list of IP address in allow list. AllowList pulumi.StringInput `pulumi:"allowList"` // The description of allow list. AllowListDesc pulumi.StringInput `pulumi:"allowListDesc"` // The ID of allow list. AllowListId pulumi.StringInput `pulumi:"allowListId"` // The number of allow list IPs. AllowListIpNum pulumi.IntInput `pulumi:"allowListIpNum"` // The allow list name. AllowListName pulumi.StringInput `pulumi:"allowListName"` // The IP address type in allow list. AllowListType pulumi.StringInput `pulumi:"allowListType"` // The total number of instances bound under the allow list. AssociatedInstanceNum pulumi.IntInput `pulumi:"associatedInstanceNum"` // The list of associated instances. AssociatedInstances MongoAllowListsAllowListAssociatedInstanceArrayInput `pulumi:"associatedInstances"` }
func (MongoAllowListsAllowListArgs) ElementType ¶
func (MongoAllowListsAllowListArgs) ElementType() reflect.Type
func (MongoAllowListsAllowListArgs) ToMongoAllowListsAllowListOutput ¶
func (i MongoAllowListsAllowListArgs) ToMongoAllowListsAllowListOutput() MongoAllowListsAllowListOutput
func (MongoAllowListsAllowListArgs) ToMongoAllowListsAllowListOutputWithContext ¶
func (i MongoAllowListsAllowListArgs) ToMongoAllowListsAllowListOutputWithContext(ctx context.Context) MongoAllowListsAllowListOutput
type MongoAllowListsAllowListArray ¶
type MongoAllowListsAllowListArray []MongoAllowListsAllowListInput
func (MongoAllowListsAllowListArray) ElementType ¶
func (MongoAllowListsAllowListArray) ElementType() reflect.Type
func (MongoAllowListsAllowListArray) ToMongoAllowListsAllowListArrayOutput ¶
func (i MongoAllowListsAllowListArray) ToMongoAllowListsAllowListArrayOutput() MongoAllowListsAllowListArrayOutput
func (MongoAllowListsAllowListArray) ToMongoAllowListsAllowListArrayOutputWithContext ¶
func (i MongoAllowListsAllowListArray) ToMongoAllowListsAllowListArrayOutputWithContext(ctx context.Context) MongoAllowListsAllowListArrayOutput
type MongoAllowListsAllowListArrayInput ¶
type MongoAllowListsAllowListArrayInput interface { pulumi.Input ToMongoAllowListsAllowListArrayOutput() MongoAllowListsAllowListArrayOutput ToMongoAllowListsAllowListArrayOutputWithContext(context.Context) MongoAllowListsAllowListArrayOutput }
MongoAllowListsAllowListArrayInput is an input type that accepts MongoAllowListsAllowListArray and MongoAllowListsAllowListArrayOutput values. You can construct a concrete instance of `MongoAllowListsAllowListArrayInput` via:
MongoAllowListsAllowListArray{ MongoAllowListsAllowListArgs{...} }
type MongoAllowListsAllowListArrayOutput ¶
type MongoAllowListsAllowListArrayOutput struct{ *pulumi.OutputState }
func (MongoAllowListsAllowListArrayOutput) ElementType ¶
func (MongoAllowListsAllowListArrayOutput) ElementType() reflect.Type
func (MongoAllowListsAllowListArrayOutput) Index ¶
func (o MongoAllowListsAllowListArrayOutput) Index(i pulumi.IntInput) MongoAllowListsAllowListOutput
func (MongoAllowListsAllowListArrayOutput) ToMongoAllowListsAllowListArrayOutput ¶
func (o MongoAllowListsAllowListArrayOutput) ToMongoAllowListsAllowListArrayOutput() MongoAllowListsAllowListArrayOutput
func (MongoAllowListsAllowListArrayOutput) ToMongoAllowListsAllowListArrayOutputWithContext ¶
func (o MongoAllowListsAllowListArrayOutput) ToMongoAllowListsAllowListArrayOutputWithContext(ctx context.Context) MongoAllowListsAllowListArrayOutput
type MongoAllowListsAllowListAssociatedInstanceArgs ¶
type MongoAllowListsAllowListAssociatedInstanceArgs struct { // The instance ID to query. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The instance name that bound to the allow list. InstanceName pulumi.StringInput `pulumi:"instanceName"` // The VPC ID. Vpc pulumi.StringInput `pulumi:"vpc"` }
func (MongoAllowListsAllowListAssociatedInstanceArgs) ElementType ¶
func (MongoAllowListsAllowListAssociatedInstanceArgs) ElementType() reflect.Type
func (MongoAllowListsAllowListAssociatedInstanceArgs) ToMongoAllowListsAllowListAssociatedInstanceOutput ¶
func (i MongoAllowListsAllowListAssociatedInstanceArgs) ToMongoAllowListsAllowListAssociatedInstanceOutput() MongoAllowListsAllowListAssociatedInstanceOutput
func (MongoAllowListsAllowListAssociatedInstanceArgs) ToMongoAllowListsAllowListAssociatedInstanceOutputWithContext ¶
func (i MongoAllowListsAllowListAssociatedInstanceArgs) ToMongoAllowListsAllowListAssociatedInstanceOutputWithContext(ctx context.Context) MongoAllowListsAllowListAssociatedInstanceOutput
type MongoAllowListsAllowListAssociatedInstanceArray ¶
type MongoAllowListsAllowListAssociatedInstanceArray []MongoAllowListsAllowListAssociatedInstanceInput
func (MongoAllowListsAllowListAssociatedInstanceArray) ElementType ¶
func (MongoAllowListsAllowListAssociatedInstanceArray) ElementType() reflect.Type
func (MongoAllowListsAllowListAssociatedInstanceArray) ToMongoAllowListsAllowListAssociatedInstanceArrayOutput ¶
func (i MongoAllowListsAllowListAssociatedInstanceArray) ToMongoAllowListsAllowListAssociatedInstanceArrayOutput() MongoAllowListsAllowListAssociatedInstanceArrayOutput
func (MongoAllowListsAllowListAssociatedInstanceArray) ToMongoAllowListsAllowListAssociatedInstanceArrayOutputWithContext ¶
func (i MongoAllowListsAllowListAssociatedInstanceArray) ToMongoAllowListsAllowListAssociatedInstanceArrayOutputWithContext(ctx context.Context) MongoAllowListsAllowListAssociatedInstanceArrayOutput
type MongoAllowListsAllowListAssociatedInstanceArrayInput ¶
type MongoAllowListsAllowListAssociatedInstanceArrayInput interface { pulumi.Input ToMongoAllowListsAllowListAssociatedInstanceArrayOutput() MongoAllowListsAllowListAssociatedInstanceArrayOutput ToMongoAllowListsAllowListAssociatedInstanceArrayOutputWithContext(context.Context) MongoAllowListsAllowListAssociatedInstanceArrayOutput }
MongoAllowListsAllowListAssociatedInstanceArrayInput is an input type that accepts MongoAllowListsAllowListAssociatedInstanceArray and MongoAllowListsAllowListAssociatedInstanceArrayOutput values. You can construct a concrete instance of `MongoAllowListsAllowListAssociatedInstanceArrayInput` via:
MongoAllowListsAllowListAssociatedInstanceArray{ MongoAllowListsAllowListAssociatedInstanceArgs{...} }
type MongoAllowListsAllowListAssociatedInstanceArrayOutput ¶
type MongoAllowListsAllowListAssociatedInstanceArrayOutput struct{ *pulumi.OutputState }
func (MongoAllowListsAllowListAssociatedInstanceArrayOutput) ElementType ¶
func (MongoAllowListsAllowListAssociatedInstanceArrayOutput) ElementType() reflect.Type
func (MongoAllowListsAllowListAssociatedInstanceArrayOutput) ToMongoAllowListsAllowListAssociatedInstanceArrayOutput ¶
func (o MongoAllowListsAllowListAssociatedInstanceArrayOutput) ToMongoAllowListsAllowListAssociatedInstanceArrayOutput() MongoAllowListsAllowListAssociatedInstanceArrayOutput
func (MongoAllowListsAllowListAssociatedInstanceArrayOutput) ToMongoAllowListsAllowListAssociatedInstanceArrayOutputWithContext ¶
func (o MongoAllowListsAllowListAssociatedInstanceArrayOutput) ToMongoAllowListsAllowListAssociatedInstanceArrayOutputWithContext(ctx context.Context) MongoAllowListsAllowListAssociatedInstanceArrayOutput
type MongoAllowListsAllowListAssociatedInstanceInput ¶
type MongoAllowListsAllowListAssociatedInstanceInput interface { pulumi.Input ToMongoAllowListsAllowListAssociatedInstanceOutput() MongoAllowListsAllowListAssociatedInstanceOutput ToMongoAllowListsAllowListAssociatedInstanceOutputWithContext(context.Context) MongoAllowListsAllowListAssociatedInstanceOutput }
MongoAllowListsAllowListAssociatedInstanceInput is an input type that accepts MongoAllowListsAllowListAssociatedInstanceArgs and MongoAllowListsAllowListAssociatedInstanceOutput values. You can construct a concrete instance of `MongoAllowListsAllowListAssociatedInstanceInput` via:
MongoAllowListsAllowListAssociatedInstanceArgs{...}
type MongoAllowListsAllowListAssociatedInstanceOutput ¶
type MongoAllowListsAllowListAssociatedInstanceOutput struct{ *pulumi.OutputState }
func (MongoAllowListsAllowListAssociatedInstanceOutput) ElementType ¶
func (MongoAllowListsAllowListAssociatedInstanceOutput) ElementType() reflect.Type
func (MongoAllowListsAllowListAssociatedInstanceOutput) InstanceId ¶
func (o MongoAllowListsAllowListAssociatedInstanceOutput) InstanceId() pulumi.StringOutput
The instance ID to query.
func (MongoAllowListsAllowListAssociatedInstanceOutput) InstanceName ¶
func (o MongoAllowListsAllowListAssociatedInstanceOutput) InstanceName() pulumi.StringOutput
The instance name that bound to the allow list.
func (MongoAllowListsAllowListAssociatedInstanceOutput) ToMongoAllowListsAllowListAssociatedInstanceOutput ¶
func (o MongoAllowListsAllowListAssociatedInstanceOutput) ToMongoAllowListsAllowListAssociatedInstanceOutput() MongoAllowListsAllowListAssociatedInstanceOutput
func (MongoAllowListsAllowListAssociatedInstanceOutput) ToMongoAllowListsAllowListAssociatedInstanceOutputWithContext ¶
func (o MongoAllowListsAllowListAssociatedInstanceOutput) ToMongoAllowListsAllowListAssociatedInstanceOutputWithContext(ctx context.Context) MongoAllowListsAllowListAssociatedInstanceOutput
func (MongoAllowListsAllowListAssociatedInstanceOutput) Vpc ¶
func (o MongoAllowListsAllowListAssociatedInstanceOutput) Vpc() pulumi.StringOutput
The VPC ID.
type MongoAllowListsAllowListInput ¶
type MongoAllowListsAllowListInput interface { pulumi.Input ToMongoAllowListsAllowListOutput() MongoAllowListsAllowListOutput ToMongoAllowListsAllowListOutputWithContext(context.Context) MongoAllowListsAllowListOutput }
MongoAllowListsAllowListInput is an input type that accepts MongoAllowListsAllowListArgs and MongoAllowListsAllowListOutput values. You can construct a concrete instance of `MongoAllowListsAllowListInput` via:
MongoAllowListsAllowListArgs{...}
type MongoAllowListsAllowListOutput ¶
type MongoAllowListsAllowListOutput struct{ *pulumi.OutputState }
func (MongoAllowListsAllowListOutput) AllowList ¶
func (o MongoAllowListsAllowListOutput) AllowList() pulumi.StringOutput
The list of IP address in allow list.
func (MongoAllowListsAllowListOutput) AllowListDesc ¶
func (o MongoAllowListsAllowListOutput) AllowListDesc() pulumi.StringOutput
The description of allow list.
func (MongoAllowListsAllowListOutput) AllowListId ¶
func (o MongoAllowListsAllowListOutput) AllowListId() pulumi.StringOutput
The ID of allow list.
func (MongoAllowListsAllowListOutput) AllowListIpNum ¶
func (o MongoAllowListsAllowListOutput) AllowListIpNum() pulumi.IntOutput
The number of allow list IPs.
func (MongoAllowListsAllowListOutput) AllowListName ¶
func (o MongoAllowListsAllowListOutput) AllowListName() pulumi.StringOutput
The allow list name.
func (MongoAllowListsAllowListOutput) AllowListType ¶
func (o MongoAllowListsAllowListOutput) AllowListType() pulumi.StringOutput
The IP address type in allow list.
func (MongoAllowListsAllowListOutput) AssociatedInstanceNum ¶
func (o MongoAllowListsAllowListOutput) AssociatedInstanceNum() pulumi.IntOutput
The total number of instances bound under the allow list.
func (MongoAllowListsAllowListOutput) AssociatedInstances ¶
func (o MongoAllowListsAllowListOutput) AssociatedInstances() MongoAllowListsAllowListAssociatedInstanceArrayOutput
The list of associated instances.
func (MongoAllowListsAllowListOutput) ElementType ¶
func (MongoAllowListsAllowListOutput) ElementType() reflect.Type
func (MongoAllowListsAllowListOutput) ToMongoAllowListsAllowListOutput ¶
func (o MongoAllowListsAllowListOutput) ToMongoAllowListsAllowListOutput() MongoAllowListsAllowListOutput
func (MongoAllowListsAllowListOutput) ToMongoAllowListsAllowListOutputWithContext ¶
func (o MongoAllowListsAllowListOutput) ToMongoAllowListsAllowListOutputWithContext(ctx context.Context) MongoAllowListsAllowListOutput
type MongoAllowListsArgs ¶
type MongoAllowListsArgs struct { // The allow list IDs to query. AllowListIds []string `pulumi:"allowListIds"` // The instance ID to query. InstanceId *string `pulumi:"instanceId"` // File name where to save data source results. OutputFile *string `pulumi:"outputFile"` // The region ID. RegionId string `pulumi:"regionId"` }
A collection of arguments for invoking MongoAllowLists.
type MongoAllowListsOutputArgs ¶
type MongoAllowListsOutputArgs struct { // The allow list IDs to query. AllowListIds pulumi.StringArrayInput `pulumi:"allowListIds"` // The instance ID to query. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // File name where to save data source results. OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The region ID. RegionId pulumi.StringInput `pulumi:"regionId"` }
A collection of arguments for invoking MongoAllowLists.
func (MongoAllowListsOutputArgs) ElementType ¶
func (MongoAllowListsOutputArgs) ElementType() reflect.Type
type MongoAllowListsResult ¶
type MongoAllowListsResult struct { AllowListIds []string `pulumi:"allowListIds"` // The collection of mongodb allow list query. AllowLists []MongoAllowListsAllowList `pulumi:"allowLists"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The instance id that bound to the allow list. InstanceId *string `pulumi:"instanceId"` OutputFile *string `pulumi:"outputFile"` RegionId string `pulumi:"regionId"` // The total count of mongodb allow lists query. TotalCount int `pulumi:"totalCount"` }
A collection of values returned by MongoAllowLists.
func MongoAllowLists ¶
func MongoAllowLists(ctx *pulumi.Context, args *MongoAllowListsArgs, opts ...pulumi.InvokeOption) (*MongoAllowListsResult, error)
Use this data source to query detailed information of mongodb allow lists ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooMongoAllowList, err := mongodb.NewMongoAllowList(ctx, "fooMongoAllowList", &mongodb.MongoAllowListArgs{ AllowListName: pulumi.String("acc-test"), AllowListDesc: pulumi.String("acc-test"), AllowListType: pulumi.String("IPv4"), AllowList: pulumi.String("10.1.1.3,10.2.3.0/24,10.1.1.1"), }) if err != nil { return err } _ = mongodb.MongoAllowListsOutput(ctx, mongodb.MongoAllowListsOutputArgs{ AllowListIds: pulumi.StringArray{ fooMongoAllowList.ID(), }, RegionId: pulumi.String("cn-beijing"), }, nil) return nil }) }
```
type MongoAllowListsResultOutput ¶
type MongoAllowListsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by MongoAllowLists.
func MongoAllowListsOutput ¶
func MongoAllowListsOutput(ctx *pulumi.Context, args MongoAllowListsOutputArgs, opts ...pulumi.InvokeOption) MongoAllowListsResultOutput
func (MongoAllowListsResultOutput) AllowListIds ¶
func (o MongoAllowListsResultOutput) AllowListIds() pulumi.StringArrayOutput
func (MongoAllowListsResultOutput) AllowLists ¶
func (o MongoAllowListsResultOutput) AllowLists() MongoAllowListsAllowListArrayOutput
The collection of mongodb allow list query.
func (MongoAllowListsResultOutput) ElementType ¶
func (MongoAllowListsResultOutput) ElementType() reflect.Type
func (MongoAllowListsResultOutput) Id ¶
func (o MongoAllowListsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (MongoAllowListsResultOutput) InstanceId ¶
func (o MongoAllowListsResultOutput) InstanceId() pulumi.StringPtrOutput
The instance id that bound to the allow list.
func (MongoAllowListsResultOutput) OutputFile ¶
func (o MongoAllowListsResultOutput) OutputFile() pulumi.StringPtrOutput
func (MongoAllowListsResultOutput) RegionId ¶
func (o MongoAllowListsResultOutput) RegionId() pulumi.StringOutput
func (MongoAllowListsResultOutput) ToMongoAllowListsResultOutput ¶
func (o MongoAllowListsResultOutput) ToMongoAllowListsResultOutput() MongoAllowListsResultOutput
func (MongoAllowListsResultOutput) ToMongoAllowListsResultOutputWithContext ¶
func (o MongoAllowListsResultOutput) ToMongoAllowListsResultOutputWithContext(ctx context.Context) MongoAllowListsResultOutput
func (MongoAllowListsResultOutput) TotalCount ¶
func (o MongoAllowListsResultOutput) TotalCount() pulumi.IntOutput
The total count of mongodb allow lists query.
type RegionsArgs ¶
type RegionsArgs struct { // File name where to save data source results. OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking Regions.
type RegionsOutputArgs ¶
type RegionsOutputArgs struct { // File name where to save data source results. OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking Regions.
func (RegionsOutputArgs) ElementType ¶
func (RegionsOutputArgs) ElementType() reflect.Type
type RegionsRegion ¶
type RegionsRegionArgs ¶
type RegionsRegionArgs struct { // The id of the region. RegionId pulumi.StringInput `pulumi:"regionId"` // The name of region. RegionName pulumi.StringInput `pulumi:"regionName"` }
func (RegionsRegionArgs) ElementType ¶
func (RegionsRegionArgs) ElementType() reflect.Type
func (RegionsRegionArgs) ToRegionsRegionOutput ¶
func (i RegionsRegionArgs) ToRegionsRegionOutput() RegionsRegionOutput
func (RegionsRegionArgs) ToRegionsRegionOutputWithContext ¶
func (i RegionsRegionArgs) ToRegionsRegionOutputWithContext(ctx context.Context) RegionsRegionOutput
type RegionsRegionArray ¶
type RegionsRegionArray []RegionsRegionInput
func (RegionsRegionArray) ElementType ¶
func (RegionsRegionArray) ElementType() reflect.Type
func (RegionsRegionArray) ToRegionsRegionArrayOutput ¶
func (i RegionsRegionArray) ToRegionsRegionArrayOutput() RegionsRegionArrayOutput
func (RegionsRegionArray) ToRegionsRegionArrayOutputWithContext ¶
func (i RegionsRegionArray) ToRegionsRegionArrayOutputWithContext(ctx context.Context) RegionsRegionArrayOutput
type RegionsRegionArrayInput ¶
type RegionsRegionArrayInput interface { pulumi.Input ToRegionsRegionArrayOutput() RegionsRegionArrayOutput ToRegionsRegionArrayOutputWithContext(context.Context) RegionsRegionArrayOutput }
RegionsRegionArrayInput is an input type that accepts RegionsRegionArray and RegionsRegionArrayOutput values. You can construct a concrete instance of `RegionsRegionArrayInput` via:
RegionsRegionArray{ RegionsRegionArgs{...} }
type RegionsRegionArrayOutput ¶
type RegionsRegionArrayOutput struct{ *pulumi.OutputState }
func (RegionsRegionArrayOutput) ElementType ¶
func (RegionsRegionArrayOutput) ElementType() reflect.Type
func (RegionsRegionArrayOutput) Index ¶
func (o RegionsRegionArrayOutput) Index(i pulumi.IntInput) RegionsRegionOutput
func (RegionsRegionArrayOutput) ToRegionsRegionArrayOutput ¶
func (o RegionsRegionArrayOutput) ToRegionsRegionArrayOutput() RegionsRegionArrayOutput
func (RegionsRegionArrayOutput) ToRegionsRegionArrayOutputWithContext ¶
func (o RegionsRegionArrayOutput) ToRegionsRegionArrayOutputWithContext(ctx context.Context) RegionsRegionArrayOutput
type RegionsRegionInput ¶
type RegionsRegionInput interface { pulumi.Input ToRegionsRegionOutput() RegionsRegionOutput ToRegionsRegionOutputWithContext(context.Context) RegionsRegionOutput }
RegionsRegionInput is an input type that accepts RegionsRegionArgs and RegionsRegionOutput values. You can construct a concrete instance of `RegionsRegionInput` via:
RegionsRegionArgs{...}
type RegionsRegionOutput ¶
type RegionsRegionOutput struct{ *pulumi.OutputState }
func (RegionsRegionOutput) ElementType ¶
func (RegionsRegionOutput) ElementType() reflect.Type
func (RegionsRegionOutput) RegionId ¶
func (o RegionsRegionOutput) RegionId() pulumi.StringOutput
The id of the region.
func (RegionsRegionOutput) RegionName ¶
func (o RegionsRegionOutput) RegionName() pulumi.StringOutput
The name of region.
func (RegionsRegionOutput) ToRegionsRegionOutput ¶
func (o RegionsRegionOutput) ToRegionsRegionOutput() RegionsRegionOutput
func (RegionsRegionOutput) ToRegionsRegionOutputWithContext ¶
func (o RegionsRegionOutput) ToRegionsRegionOutputWithContext(ctx context.Context) RegionsRegionOutput
type RegionsResult ¶
type RegionsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` OutputFile *string `pulumi:"outputFile"` // The collection of region query. Regions []RegionsRegion `pulumi:"regions"` // The total count of region query. TotalCount int `pulumi:"totalCount"` }
A collection of values returned by Regions.
func Regions ¶
func Regions(ctx *pulumi.Context, args *RegionsArgs, opts ...pulumi.InvokeOption) (*RegionsResult, error)
Use this data source to query detailed information of mongodb regions ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := mongodb.Regions(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type RegionsResultOutput ¶
type RegionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by Regions.
func RegionsOutput ¶
func RegionsOutput(ctx *pulumi.Context, args RegionsOutputArgs, opts ...pulumi.InvokeOption) RegionsResultOutput
func (RegionsResultOutput) ElementType ¶
func (RegionsResultOutput) ElementType() reflect.Type
func (RegionsResultOutput) Id ¶
func (o RegionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (RegionsResultOutput) OutputFile ¶
func (o RegionsResultOutput) OutputFile() pulumi.StringPtrOutput
func (RegionsResultOutput) Regions ¶
func (o RegionsResultOutput) Regions() RegionsRegionArrayOutput
The collection of region query.
func (RegionsResultOutput) ToRegionsResultOutput ¶
func (o RegionsResultOutput) ToRegionsResultOutput() RegionsResultOutput
func (RegionsResultOutput) ToRegionsResultOutputWithContext ¶
func (o RegionsResultOutput) ToRegionsResultOutputWithContext(ctx context.Context) RegionsResultOutput
func (RegionsResultOutput) TotalCount ¶
func (o RegionsResultOutput) TotalCount() pulumi.IntOutput
The total count of region query.
type SpecsArgs ¶
type SpecsArgs struct { // File name where to save data source results. OutputFile *string `pulumi:"outputFile"` // The region ID to query. RegionId *string `pulumi:"regionId"` }
A collection of arguments for invoking Specs.
type SpecsOutputArgs ¶
type SpecsOutputArgs struct { // File name where to save data source results. OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The region ID to query. RegionId pulumi.StringPtrInput `pulumi:"regionId"` }
A collection of arguments for invoking Specs.
func (SpecsOutputArgs) ElementType ¶
func (SpecsOutputArgs) ElementType() reflect.Type
type SpecsResult ¶
type SpecsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` OutputFile *string `pulumi:"outputFile"` RegionId *string `pulumi:"regionId"` // A list of supported node specification information for MongoDB instances. Specs SpecsSpecs `pulumi:"specs"` // The total count of region query. TotalCount int `pulumi:"totalCount"` }
A collection of values returned by Specs.
func Specs ¶
func Specs(ctx *pulumi.Context, args *SpecsArgs, opts ...pulumi.InvokeOption) (*SpecsResult, error)
Use this data source to query detailed information of mongodb specs ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := mongodb.Specs(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type SpecsResultOutput ¶
type SpecsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by Specs.
func SpecsOutput ¶
func SpecsOutput(ctx *pulumi.Context, args SpecsOutputArgs, opts ...pulumi.InvokeOption) SpecsResultOutput
func (SpecsResultOutput) ElementType ¶
func (SpecsResultOutput) ElementType() reflect.Type
func (SpecsResultOutput) Id ¶
func (o SpecsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (SpecsResultOutput) OutputFile ¶
func (o SpecsResultOutput) OutputFile() pulumi.StringPtrOutput
func (SpecsResultOutput) RegionId ¶
func (o SpecsResultOutput) RegionId() pulumi.StringPtrOutput
func (SpecsResultOutput) Specs ¶
func (o SpecsResultOutput) Specs() SpecsSpecsOutput
A list of supported node specification information for MongoDB instances.
func (SpecsResultOutput) ToSpecsResultOutput ¶
func (o SpecsResultOutput) ToSpecsResultOutput() SpecsResultOutput
func (SpecsResultOutput) ToSpecsResultOutputWithContext ¶
func (o SpecsResultOutput) ToSpecsResultOutputWithContext(ctx context.Context) SpecsResultOutput
func (SpecsResultOutput) TotalCount ¶
func (o SpecsResultOutput) TotalCount() pulumi.IntOutput
The total count of region query.
type SpecsSpecs ¶
type SpecsSpecs struct { // The collection of mongos node specs. MongosNodeSpecs []SpecsSpecsMongosNodeSpec `pulumi:"mongosNodeSpecs"` // The collection of node specs. NodeSpecs []SpecsSpecsNodeSpec `pulumi:"nodeSpecs"` // The collection of shard node specs. ShardNodeSpecs []SpecsSpecsShardNodeSpec `pulumi:"shardNodeSpecs"` }
type SpecsSpecsArgs ¶
type SpecsSpecsArgs struct { // The collection of mongos node specs. MongosNodeSpecs SpecsSpecsMongosNodeSpecArrayInput `pulumi:"mongosNodeSpecs"` // The collection of node specs. NodeSpecs SpecsSpecsNodeSpecArrayInput `pulumi:"nodeSpecs"` // The collection of shard node specs. ShardNodeSpecs SpecsSpecsShardNodeSpecArrayInput `pulumi:"shardNodeSpecs"` }
func (SpecsSpecsArgs) ElementType ¶
func (SpecsSpecsArgs) ElementType() reflect.Type
func (SpecsSpecsArgs) ToSpecsSpecsOutput ¶
func (i SpecsSpecsArgs) ToSpecsSpecsOutput() SpecsSpecsOutput
func (SpecsSpecsArgs) ToSpecsSpecsOutputWithContext ¶
func (i SpecsSpecsArgs) ToSpecsSpecsOutputWithContext(ctx context.Context) SpecsSpecsOutput
type SpecsSpecsInput ¶
type SpecsSpecsInput interface { pulumi.Input ToSpecsSpecsOutput() SpecsSpecsOutput ToSpecsSpecsOutputWithContext(context.Context) SpecsSpecsOutput }
SpecsSpecsInput is an input type that accepts SpecsSpecsArgs and SpecsSpecsOutput values. You can construct a concrete instance of `SpecsSpecsInput` via:
SpecsSpecsArgs{...}
type SpecsSpecsMongosNodeSpecArgs ¶
type SpecsSpecsMongosNodeSpecArgs struct { // The cpu cores. CpuNum pulumi.Float64Input `pulumi:"cpuNum"` // The max connections. MaxConn pulumi.IntInput `pulumi:"maxConn"` // The memory in GB. MemInGb pulumi.Float64Input `pulumi:"memInGb"` // The shard node spec name. SpecName pulumi.StringInput `pulumi:"specName"` }
func (SpecsSpecsMongosNodeSpecArgs) ElementType ¶
func (SpecsSpecsMongosNodeSpecArgs) ElementType() reflect.Type
func (SpecsSpecsMongosNodeSpecArgs) ToSpecsSpecsMongosNodeSpecOutput ¶
func (i SpecsSpecsMongosNodeSpecArgs) ToSpecsSpecsMongosNodeSpecOutput() SpecsSpecsMongosNodeSpecOutput
func (SpecsSpecsMongosNodeSpecArgs) ToSpecsSpecsMongosNodeSpecOutputWithContext ¶
func (i SpecsSpecsMongosNodeSpecArgs) ToSpecsSpecsMongosNodeSpecOutputWithContext(ctx context.Context) SpecsSpecsMongosNodeSpecOutput
type SpecsSpecsMongosNodeSpecArray ¶
type SpecsSpecsMongosNodeSpecArray []SpecsSpecsMongosNodeSpecInput
func (SpecsSpecsMongosNodeSpecArray) ElementType ¶
func (SpecsSpecsMongosNodeSpecArray) ElementType() reflect.Type
func (SpecsSpecsMongosNodeSpecArray) ToSpecsSpecsMongosNodeSpecArrayOutput ¶
func (i SpecsSpecsMongosNodeSpecArray) ToSpecsSpecsMongosNodeSpecArrayOutput() SpecsSpecsMongosNodeSpecArrayOutput
func (SpecsSpecsMongosNodeSpecArray) ToSpecsSpecsMongosNodeSpecArrayOutputWithContext ¶
func (i SpecsSpecsMongosNodeSpecArray) ToSpecsSpecsMongosNodeSpecArrayOutputWithContext(ctx context.Context) SpecsSpecsMongosNodeSpecArrayOutput
type SpecsSpecsMongosNodeSpecArrayInput ¶
type SpecsSpecsMongosNodeSpecArrayInput interface { pulumi.Input ToSpecsSpecsMongosNodeSpecArrayOutput() SpecsSpecsMongosNodeSpecArrayOutput ToSpecsSpecsMongosNodeSpecArrayOutputWithContext(context.Context) SpecsSpecsMongosNodeSpecArrayOutput }
SpecsSpecsMongosNodeSpecArrayInput is an input type that accepts SpecsSpecsMongosNodeSpecArray and SpecsSpecsMongosNodeSpecArrayOutput values. You can construct a concrete instance of `SpecsSpecsMongosNodeSpecArrayInput` via:
SpecsSpecsMongosNodeSpecArray{ SpecsSpecsMongosNodeSpecArgs{...} }
type SpecsSpecsMongosNodeSpecArrayOutput ¶
type SpecsSpecsMongosNodeSpecArrayOutput struct{ *pulumi.OutputState }
func (SpecsSpecsMongosNodeSpecArrayOutput) ElementType ¶
func (SpecsSpecsMongosNodeSpecArrayOutput) ElementType() reflect.Type
func (SpecsSpecsMongosNodeSpecArrayOutput) Index ¶
func (o SpecsSpecsMongosNodeSpecArrayOutput) Index(i pulumi.IntInput) SpecsSpecsMongosNodeSpecOutput
func (SpecsSpecsMongosNodeSpecArrayOutput) ToSpecsSpecsMongosNodeSpecArrayOutput ¶
func (o SpecsSpecsMongosNodeSpecArrayOutput) ToSpecsSpecsMongosNodeSpecArrayOutput() SpecsSpecsMongosNodeSpecArrayOutput
func (SpecsSpecsMongosNodeSpecArrayOutput) ToSpecsSpecsMongosNodeSpecArrayOutputWithContext ¶
func (o SpecsSpecsMongosNodeSpecArrayOutput) ToSpecsSpecsMongosNodeSpecArrayOutputWithContext(ctx context.Context) SpecsSpecsMongosNodeSpecArrayOutput
type SpecsSpecsMongosNodeSpecInput ¶
type SpecsSpecsMongosNodeSpecInput interface { pulumi.Input ToSpecsSpecsMongosNodeSpecOutput() SpecsSpecsMongosNodeSpecOutput ToSpecsSpecsMongosNodeSpecOutputWithContext(context.Context) SpecsSpecsMongosNodeSpecOutput }
SpecsSpecsMongosNodeSpecInput is an input type that accepts SpecsSpecsMongosNodeSpecArgs and SpecsSpecsMongosNodeSpecOutput values. You can construct a concrete instance of `SpecsSpecsMongosNodeSpecInput` via:
SpecsSpecsMongosNodeSpecArgs{...}
type SpecsSpecsMongosNodeSpecOutput ¶
type SpecsSpecsMongosNodeSpecOutput struct{ *pulumi.OutputState }
func (SpecsSpecsMongosNodeSpecOutput) CpuNum ¶
func (o SpecsSpecsMongosNodeSpecOutput) CpuNum() pulumi.Float64Output
The cpu cores.
func (SpecsSpecsMongosNodeSpecOutput) ElementType ¶
func (SpecsSpecsMongosNodeSpecOutput) ElementType() reflect.Type
func (SpecsSpecsMongosNodeSpecOutput) MaxConn ¶
func (o SpecsSpecsMongosNodeSpecOutput) MaxConn() pulumi.IntOutput
The max connections.
func (SpecsSpecsMongosNodeSpecOutput) MemInGb ¶
func (o SpecsSpecsMongosNodeSpecOutput) MemInGb() pulumi.Float64Output
The memory in GB.
func (SpecsSpecsMongosNodeSpecOutput) SpecName ¶
func (o SpecsSpecsMongosNodeSpecOutput) SpecName() pulumi.StringOutput
The shard node spec name.
func (SpecsSpecsMongosNodeSpecOutput) ToSpecsSpecsMongosNodeSpecOutput ¶
func (o SpecsSpecsMongosNodeSpecOutput) ToSpecsSpecsMongosNodeSpecOutput() SpecsSpecsMongosNodeSpecOutput
func (SpecsSpecsMongosNodeSpecOutput) ToSpecsSpecsMongosNodeSpecOutputWithContext ¶
func (o SpecsSpecsMongosNodeSpecOutput) ToSpecsSpecsMongosNodeSpecOutputWithContext(ctx context.Context) SpecsSpecsMongosNodeSpecOutput
type SpecsSpecsNodeSpec ¶
type SpecsSpecsNodeSpec struct { // The cpu cores. CpuNum float64 `pulumi:"cpuNum"` // The max connections. MaxConn int `pulumi:"maxConn"` // The max storage. MaxStorage int `pulumi:"maxStorage"` // The memory in GB. MemInDb float64 `pulumi:"memInDb"` // The shard node spec name. SpecName string `pulumi:"specName"` }
type SpecsSpecsNodeSpecArgs ¶
type SpecsSpecsNodeSpecArgs struct { // The cpu cores. CpuNum pulumi.Float64Input `pulumi:"cpuNum"` // The max connections. MaxConn pulumi.IntInput `pulumi:"maxConn"` // The max storage. MaxStorage pulumi.IntInput `pulumi:"maxStorage"` // The memory in GB. MemInDb pulumi.Float64Input `pulumi:"memInDb"` // The shard node spec name. SpecName pulumi.StringInput `pulumi:"specName"` }
func (SpecsSpecsNodeSpecArgs) ElementType ¶
func (SpecsSpecsNodeSpecArgs) ElementType() reflect.Type
func (SpecsSpecsNodeSpecArgs) ToSpecsSpecsNodeSpecOutput ¶
func (i SpecsSpecsNodeSpecArgs) ToSpecsSpecsNodeSpecOutput() SpecsSpecsNodeSpecOutput
func (SpecsSpecsNodeSpecArgs) ToSpecsSpecsNodeSpecOutputWithContext ¶
func (i SpecsSpecsNodeSpecArgs) ToSpecsSpecsNodeSpecOutputWithContext(ctx context.Context) SpecsSpecsNodeSpecOutput
type SpecsSpecsNodeSpecArray ¶
type SpecsSpecsNodeSpecArray []SpecsSpecsNodeSpecInput
func (SpecsSpecsNodeSpecArray) ElementType ¶
func (SpecsSpecsNodeSpecArray) ElementType() reflect.Type
func (SpecsSpecsNodeSpecArray) ToSpecsSpecsNodeSpecArrayOutput ¶
func (i SpecsSpecsNodeSpecArray) ToSpecsSpecsNodeSpecArrayOutput() SpecsSpecsNodeSpecArrayOutput
func (SpecsSpecsNodeSpecArray) ToSpecsSpecsNodeSpecArrayOutputWithContext ¶
func (i SpecsSpecsNodeSpecArray) ToSpecsSpecsNodeSpecArrayOutputWithContext(ctx context.Context) SpecsSpecsNodeSpecArrayOutput
type SpecsSpecsNodeSpecArrayInput ¶
type SpecsSpecsNodeSpecArrayInput interface { pulumi.Input ToSpecsSpecsNodeSpecArrayOutput() SpecsSpecsNodeSpecArrayOutput ToSpecsSpecsNodeSpecArrayOutputWithContext(context.Context) SpecsSpecsNodeSpecArrayOutput }
SpecsSpecsNodeSpecArrayInput is an input type that accepts SpecsSpecsNodeSpecArray and SpecsSpecsNodeSpecArrayOutput values. You can construct a concrete instance of `SpecsSpecsNodeSpecArrayInput` via:
SpecsSpecsNodeSpecArray{ SpecsSpecsNodeSpecArgs{...} }
type SpecsSpecsNodeSpecArrayOutput ¶
type SpecsSpecsNodeSpecArrayOutput struct{ *pulumi.OutputState }
func (SpecsSpecsNodeSpecArrayOutput) ElementType ¶
func (SpecsSpecsNodeSpecArrayOutput) ElementType() reflect.Type
func (SpecsSpecsNodeSpecArrayOutput) Index ¶
func (o SpecsSpecsNodeSpecArrayOutput) Index(i pulumi.IntInput) SpecsSpecsNodeSpecOutput
func (SpecsSpecsNodeSpecArrayOutput) ToSpecsSpecsNodeSpecArrayOutput ¶
func (o SpecsSpecsNodeSpecArrayOutput) ToSpecsSpecsNodeSpecArrayOutput() SpecsSpecsNodeSpecArrayOutput
func (SpecsSpecsNodeSpecArrayOutput) ToSpecsSpecsNodeSpecArrayOutputWithContext ¶
func (o SpecsSpecsNodeSpecArrayOutput) ToSpecsSpecsNodeSpecArrayOutputWithContext(ctx context.Context) SpecsSpecsNodeSpecArrayOutput
type SpecsSpecsNodeSpecInput ¶
type SpecsSpecsNodeSpecInput interface { pulumi.Input ToSpecsSpecsNodeSpecOutput() SpecsSpecsNodeSpecOutput ToSpecsSpecsNodeSpecOutputWithContext(context.Context) SpecsSpecsNodeSpecOutput }
SpecsSpecsNodeSpecInput is an input type that accepts SpecsSpecsNodeSpecArgs and SpecsSpecsNodeSpecOutput values. You can construct a concrete instance of `SpecsSpecsNodeSpecInput` via:
SpecsSpecsNodeSpecArgs{...}
type SpecsSpecsNodeSpecOutput ¶
type SpecsSpecsNodeSpecOutput struct{ *pulumi.OutputState }
func (SpecsSpecsNodeSpecOutput) CpuNum ¶
func (o SpecsSpecsNodeSpecOutput) CpuNum() pulumi.Float64Output
The cpu cores.
func (SpecsSpecsNodeSpecOutput) ElementType ¶
func (SpecsSpecsNodeSpecOutput) ElementType() reflect.Type
func (SpecsSpecsNodeSpecOutput) MaxConn ¶
func (o SpecsSpecsNodeSpecOutput) MaxConn() pulumi.IntOutput
The max connections.
func (SpecsSpecsNodeSpecOutput) MaxStorage ¶
func (o SpecsSpecsNodeSpecOutput) MaxStorage() pulumi.IntOutput
The max storage.
func (SpecsSpecsNodeSpecOutput) MemInDb ¶
func (o SpecsSpecsNodeSpecOutput) MemInDb() pulumi.Float64Output
The memory in GB.
func (SpecsSpecsNodeSpecOutput) SpecName ¶
func (o SpecsSpecsNodeSpecOutput) SpecName() pulumi.StringOutput
The shard node spec name.
func (SpecsSpecsNodeSpecOutput) ToSpecsSpecsNodeSpecOutput ¶
func (o SpecsSpecsNodeSpecOutput) ToSpecsSpecsNodeSpecOutput() SpecsSpecsNodeSpecOutput
func (SpecsSpecsNodeSpecOutput) ToSpecsSpecsNodeSpecOutputWithContext ¶
func (o SpecsSpecsNodeSpecOutput) ToSpecsSpecsNodeSpecOutputWithContext(ctx context.Context) SpecsSpecsNodeSpecOutput
type SpecsSpecsOutput ¶
type SpecsSpecsOutput struct{ *pulumi.OutputState }
func (SpecsSpecsOutput) ElementType ¶
func (SpecsSpecsOutput) ElementType() reflect.Type
func (SpecsSpecsOutput) MongosNodeSpecs ¶
func (o SpecsSpecsOutput) MongosNodeSpecs() SpecsSpecsMongosNodeSpecArrayOutput
The collection of mongos node specs.
func (SpecsSpecsOutput) NodeSpecs ¶
func (o SpecsSpecsOutput) NodeSpecs() SpecsSpecsNodeSpecArrayOutput
The collection of node specs.
func (SpecsSpecsOutput) ShardNodeSpecs ¶
func (o SpecsSpecsOutput) ShardNodeSpecs() SpecsSpecsShardNodeSpecArrayOutput
The collection of shard node specs.
func (SpecsSpecsOutput) ToSpecsSpecsOutput ¶
func (o SpecsSpecsOutput) ToSpecsSpecsOutput() SpecsSpecsOutput
func (SpecsSpecsOutput) ToSpecsSpecsOutputWithContext ¶
func (o SpecsSpecsOutput) ToSpecsSpecsOutputWithContext(ctx context.Context) SpecsSpecsOutput
type SpecsSpecsShardNodeSpec ¶
type SpecsSpecsShardNodeSpec struct { // The cpu cores. CpuNum float64 `pulumi:"cpuNum"` // The max connections. MaxConn int `pulumi:"maxConn"` // The max storage. MaxStorage int `pulumi:"maxStorage"` // The memory in GB. MemInGb int `pulumi:"memInGb"` // The shard node spec name. SpecName string `pulumi:"specName"` }
type SpecsSpecsShardNodeSpecArgs ¶
type SpecsSpecsShardNodeSpecArgs struct { // The cpu cores. CpuNum pulumi.Float64Input `pulumi:"cpuNum"` // The max connections. MaxConn pulumi.IntInput `pulumi:"maxConn"` // The max storage. MaxStorage pulumi.IntInput `pulumi:"maxStorage"` // The memory in GB. MemInGb pulumi.IntInput `pulumi:"memInGb"` // The shard node spec name. SpecName pulumi.StringInput `pulumi:"specName"` }
func (SpecsSpecsShardNodeSpecArgs) ElementType ¶
func (SpecsSpecsShardNodeSpecArgs) ElementType() reflect.Type
func (SpecsSpecsShardNodeSpecArgs) ToSpecsSpecsShardNodeSpecOutput ¶
func (i SpecsSpecsShardNodeSpecArgs) ToSpecsSpecsShardNodeSpecOutput() SpecsSpecsShardNodeSpecOutput
func (SpecsSpecsShardNodeSpecArgs) ToSpecsSpecsShardNodeSpecOutputWithContext ¶
func (i SpecsSpecsShardNodeSpecArgs) ToSpecsSpecsShardNodeSpecOutputWithContext(ctx context.Context) SpecsSpecsShardNodeSpecOutput
type SpecsSpecsShardNodeSpecArray ¶
type SpecsSpecsShardNodeSpecArray []SpecsSpecsShardNodeSpecInput
func (SpecsSpecsShardNodeSpecArray) ElementType ¶
func (SpecsSpecsShardNodeSpecArray) ElementType() reflect.Type
func (SpecsSpecsShardNodeSpecArray) ToSpecsSpecsShardNodeSpecArrayOutput ¶
func (i SpecsSpecsShardNodeSpecArray) ToSpecsSpecsShardNodeSpecArrayOutput() SpecsSpecsShardNodeSpecArrayOutput
func (SpecsSpecsShardNodeSpecArray) ToSpecsSpecsShardNodeSpecArrayOutputWithContext ¶
func (i SpecsSpecsShardNodeSpecArray) ToSpecsSpecsShardNodeSpecArrayOutputWithContext(ctx context.Context) SpecsSpecsShardNodeSpecArrayOutput
type SpecsSpecsShardNodeSpecArrayInput ¶
type SpecsSpecsShardNodeSpecArrayInput interface { pulumi.Input ToSpecsSpecsShardNodeSpecArrayOutput() SpecsSpecsShardNodeSpecArrayOutput ToSpecsSpecsShardNodeSpecArrayOutputWithContext(context.Context) SpecsSpecsShardNodeSpecArrayOutput }
SpecsSpecsShardNodeSpecArrayInput is an input type that accepts SpecsSpecsShardNodeSpecArray and SpecsSpecsShardNodeSpecArrayOutput values. You can construct a concrete instance of `SpecsSpecsShardNodeSpecArrayInput` via:
SpecsSpecsShardNodeSpecArray{ SpecsSpecsShardNodeSpecArgs{...} }
type SpecsSpecsShardNodeSpecArrayOutput ¶
type SpecsSpecsShardNodeSpecArrayOutput struct{ *pulumi.OutputState }
func (SpecsSpecsShardNodeSpecArrayOutput) ElementType ¶
func (SpecsSpecsShardNodeSpecArrayOutput) ElementType() reflect.Type
func (SpecsSpecsShardNodeSpecArrayOutput) Index ¶
func (o SpecsSpecsShardNodeSpecArrayOutput) Index(i pulumi.IntInput) SpecsSpecsShardNodeSpecOutput
func (SpecsSpecsShardNodeSpecArrayOutput) ToSpecsSpecsShardNodeSpecArrayOutput ¶
func (o SpecsSpecsShardNodeSpecArrayOutput) ToSpecsSpecsShardNodeSpecArrayOutput() SpecsSpecsShardNodeSpecArrayOutput
func (SpecsSpecsShardNodeSpecArrayOutput) ToSpecsSpecsShardNodeSpecArrayOutputWithContext ¶
func (o SpecsSpecsShardNodeSpecArrayOutput) ToSpecsSpecsShardNodeSpecArrayOutputWithContext(ctx context.Context) SpecsSpecsShardNodeSpecArrayOutput
type SpecsSpecsShardNodeSpecInput ¶
type SpecsSpecsShardNodeSpecInput interface { pulumi.Input ToSpecsSpecsShardNodeSpecOutput() SpecsSpecsShardNodeSpecOutput ToSpecsSpecsShardNodeSpecOutputWithContext(context.Context) SpecsSpecsShardNodeSpecOutput }
SpecsSpecsShardNodeSpecInput is an input type that accepts SpecsSpecsShardNodeSpecArgs and SpecsSpecsShardNodeSpecOutput values. You can construct a concrete instance of `SpecsSpecsShardNodeSpecInput` via:
SpecsSpecsShardNodeSpecArgs{...}
type SpecsSpecsShardNodeSpecOutput ¶
type SpecsSpecsShardNodeSpecOutput struct{ *pulumi.OutputState }
func (SpecsSpecsShardNodeSpecOutput) CpuNum ¶
func (o SpecsSpecsShardNodeSpecOutput) CpuNum() pulumi.Float64Output
The cpu cores.
func (SpecsSpecsShardNodeSpecOutput) ElementType ¶
func (SpecsSpecsShardNodeSpecOutput) ElementType() reflect.Type
func (SpecsSpecsShardNodeSpecOutput) MaxConn ¶
func (o SpecsSpecsShardNodeSpecOutput) MaxConn() pulumi.IntOutput
The max connections.
func (SpecsSpecsShardNodeSpecOutput) MaxStorage ¶
func (o SpecsSpecsShardNodeSpecOutput) MaxStorage() pulumi.IntOutput
The max storage.
func (SpecsSpecsShardNodeSpecOutput) MemInGb ¶
func (o SpecsSpecsShardNodeSpecOutput) MemInGb() pulumi.IntOutput
The memory in GB.
func (SpecsSpecsShardNodeSpecOutput) SpecName ¶
func (o SpecsSpecsShardNodeSpecOutput) SpecName() pulumi.StringOutput
The shard node spec name.
func (SpecsSpecsShardNodeSpecOutput) ToSpecsSpecsShardNodeSpecOutput ¶
func (o SpecsSpecsShardNodeSpecOutput) ToSpecsSpecsShardNodeSpecOutput() SpecsSpecsShardNodeSpecOutput
func (SpecsSpecsShardNodeSpecOutput) ToSpecsSpecsShardNodeSpecOutputWithContext ¶
func (o SpecsSpecsShardNodeSpecOutput) ToSpecsSpecsShardNodeSpecOutputWithContext(ctx context.Context) SpecsSpecsShardNodeSpecOutput
type SslState ¶
type SslState struct { pulumi.CustomResourceState // The ID of mongodb instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // Whetehr SSL is valid. IsValid pulumi.BoolOutput `pulumi:"isValid"` // The action of ssl, valid value contains `Update`. Set `sslAction` to `Update` will will trigger an SSL update operation when executing `pulumi up`.When the current time is less than 30 days from the `sslExpiredTime`, executing `pulumi up` will automatically renew the SSL. SslAction pulumi.StringPtrOutput `pulumi:"sslAction"` // Whether SSL is enabled. SslEnable pulumi.BoolOutput `pulumi:"sslEnable"` // The expire time of SSL. SslExpiredTime pulumi.StringOutput `pulumi:"sslExpiredTime"` }
Provides a resource to manage mongodb ssl state ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooZones, err := ecs.Zones(ctx, nil, nil) if err != nil { return err } fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{ VpcName: pulumi.String("acc-test-vpc"), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{ SubnetName: pulumi.String("acc-test-subnet"), CidrBlock: pulumi.String("172.16.0.0/24"), ZoneId: *pulumi.String(fooZones.Zones[0].Id), VpcId: fooVpc.ID(), }) if err != nil { return err } fooInstance, err := mongodb.NewInstance(ctx, "fooInstance", &mongodb.InstanceArgs{ DbEngineVersion: pulumi.String("MongoDB_4_0"), InstanceType: pulumi.String("ReplicaSet"), SuperAccountPassword: pulumi.String("@acc-test-123"), NodeSpec: pulumi.String("mongo.2c4g"), MongosNodeSpec: pulumi.String("mongo.mongos.2c4g"), InstanceName: pulumi.String("acc-test-mongo-replica"), ChargeType: pulumi.String("PostPaid"), ProjectName: pulumi.String("default"), MongosNodeNumber: pulumi.Int(2), ShardNumber: pulumi.Int(3), StorageSpaceGb: pulumi.Int(20), SubnetId: fooSubnet.ID(), ZoneId: *pulumi.String(fooZones.Zones[0].Id), Tags: mongodb.InstanceTagArray{ &mongodb.InstanceTagArgs{ Key: pulumi.String("k1"), Value: pulumi.String("v1"), }, }, }) if err != nil { return err } _, err = mongodb.NewSslState(ctx, "fooSslState", &mongodb.SslStateArgs{ InstanceId: fooInstance.ID(), }) if err != nil { return err } return nil }) }
```
## Import
mongodb ssl state can be imported using the ssl:instanceId, e.g.
```sh
$ pulumi import volcengine:mongodb/sslState:SslState default ssl:mongo-shard-d050db19xxx
```
func GetSslState ¶
func GetSslState(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SslStateState, opts ...pulumi.ResourceOption) (*SslState, error)
GetSslState gets an existing SslState 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 NewSslState ¶
func NewSslState(ctx *pulumi.Context, name string, args *SslStateArgs, opts ...pulumi.ResourceOption) (*SslState, error)
NewSslState registers a new resource with the given unique name, arguments, and options.
func (*SslState) ElementType ¶
func (*SslState) ToSslStateOutput ¶
func (i *SslState) ToSslStateOutput() SslStateOutput
func (*SslState) ToSslStateOutputWithContext ¶
func (i *SslState) ToSslStateOutputWithContext(ctx context.Context) SslStateOutput
type SslStateArgs ¶
type SslStateArgs struct { // The ID of mongodb instance. InstanceId pulumi.StringInput // The action of ssl, valid value contains `Update`. Set `sslAction` to `Update` will will trigger an SSL update operation when executing `pulumi up`.When the current time is less than 30 days from the `sslExpiredTime`, executing `pulumi up` will automatically renew the SSL. SslAction pulumi.StringPtrInput }
The set of arguments for constructing a SslState resource.
func (SslStateArgs) ElementType ¶
func (SslStateArgs) ElementType() reflect.Type
type SslStateArray ¶
type SslStateArray []SslStateInput
func (SslStateArray) ElementType ¶
func (SslStateArray) ElementType() reflect.Type
func (SslStateArray) ToSslStateArrayOutput ¶
func (i SslStateArray) ToSslStateArrayOutput() SslStateArrayOutput
func (SslStateArray) ToSslStateArrayOutputWithContext ¶
func (i SslStateArray) ToSslStateArrayOutputWithContext(ctx context.Context) SslStateArrayOutput
type SslStateArrayInput ¶
type SslStateArrayInput interface { pulumi.Input ToSslStateArrayOutput() SslStateArrayOutput ToSslStateArrayOutputWithContext(context.Context) SslStateArrayOutput }
SslStateArrayInput is an input type that accepts SslStateArray and SslStateArrayOutput values. You can construct a concrete instance of `SslStateArrayInput` via:
SslStateArray{ SslStateArgs{...} }
type SslStateArrayOutput ¶
type SslStateArrayOutput struct{ *pulumi.OutputState }
func (SslStateArrayOutput) ElementType ¶
func (SslStateArrayOutput) ElementType() reflect.Type
func (SslStateArrayOutput) Index ¶
func (o SslStateArrayOutput) Index(i pulumi.IntInput) SslStateOutput
func (SslStateArrayOutput) ToSslStateArrayOutput ¶
func (o SslStateArrayOutput) ToSslStateArrayOutput() SslStateArrayOutput
func (SslStateArrayOutput) ToSslStateArrayOutputWithContext ¶
func (o SslStateArrayOutput) ToSslStateArrayOutputWithContext(ctx context.Context) SslStateArrayOutput
type SslStateInput ¶
type SslStateInput interface { pulumi.Input ToSslStateOutput() SslStateOutput ToSslStateOutputWithContext(ctx context.Context) SslStateOutput }
type SslStateMap ¶
type SslStateMap map[string]SslStateInput
func (SslStateMap) ElementType ¶
func (SslStateMap) ElementType() reflect.Type
func (SslStateMap) ToSslStateMapOutput ¶
func (i SslStateMap) ToSslStateMapOutput() SslStateMapOutput
func (SslStateMap) ToSslStateMapOutputWithContext ¶
func (i SslStateMap) ToSslStateMapOutputWithContext(ctx context.Context) SslStateMapOutput
type SslStateMapInput ¶
type SslStateMapInput interface { pulumi.Input ToSslStateMapOutput() SslStateMapOutput ToSslStateMapOutputWithContext(context.Context) SslStateMapOutput }
SslStateMapInput is an input type that accepts SslStateMap and SslStateMapOutput values. You can construct a concrete instance of `SslStateMapInput` via:
SslStateMap{ "key": SslStateArgs{...} }
type SslStateMapOutput ¶
type SslStateMapOutput struct{ *pulumi.OutputState }
func (SslStateMapOutput) ElementType ¶
func (SslStateMapOutput) ElementType() reflect.Type
func (SslStateMapOutput) MapIndex ¶
func (o SslStateMapOutput) MapIndex(k pulumi.StringInput) SslStateOutput
func (SslStateMapOutput) ToSslStateMapOutput ¶
func (o SslStateMapOutput) ToSslStateMapOutput() SslStateMapOutput
func (SslStateMapOutput) ToSslStateMapOutputWithContext ¶
func (o SslStateMapOutput) ToSslStateMapOutputWithContext(ctx context.Context) SslStateMapOutput
type SslStateOutput ¶
type SslStateOutput struct{ *pulumi.OutputState }
func (SslStateOutput) ElementType ¶
func (SslStateOutput) ElementType() reflect.Type
func (SslStateOutput) InstanceId ¶
func (o SslStateOutput) InstanceId() pulumi.StringOutput
The ID of mongodb instance.
func (SslStateOutput) IsValid ¶
func (o SslStateOutput) IsValid() pulumi.BoolOutput
Whetehr SSL is valid.
func (SslStateOutput) SslAction ¶
func (o SslStateOutput) SslAction() pulumi.StringPtrOutput
The action of ssl, valid value contains `Update`. Set `sslAction` to `Update` will will trigger an SSL update operation when executing `pulumi up`.When the current time is less than 30 days from the `sslExpiredTime`, executing `pulumi up` will automatically renew the SSL.
func (SslStateOutput) SslEnable ¶
func (o SslStateOutput) SslEnable() pulumi.BoolOutput
Whether SSL is enabled.
func (SslStateOutput) SslExpiredTime ¶
func (o SslStateOutput) SslExpiredTime() pulumi.StringOutput
The expire time of SSL.
func (SslStateOutput) ToSslStateOutput ¶
func (o SslStateOutput) ToSslStateOutput() SslStateOutput
func (SslStateOutput) ToSslStateOutputWithContext ¶
func (o SslStateOutput) ToSslStateOutputWithContext(ctx context.Context) SslStateOutput
type SslStateState ¶
type SslStateState struct { // The ID of mongodb instance. InstanceId pulumi.StringPtrInput // Whetehr SSL is valid. IsValid pulumi.BoolPtrInput // The action of ssl, valid value contains `Update`. Set `sslAction` to `Update` will will trigger an SSL update operation when executing `pulumi up`.When the current time is less than 30 days from the `sslExpiredTime`, executing `pulumi up` will automatically renew the SSL. SslAction pulumi.StringPtrInput // Whether SSL is enabled. SslEnable pulumi.BoolPtrInput // The expire time of SSL. SslExpiredTime pulumi.StringPtrInput }
func (SslStateState) ElementType ¶
func (SslStateState) ElementType() reflect.Type
type SslStatesArgs ¶
type SslStatesArgs struct { // The mongodb instance ID to query. InstanceId string `pulumi:"instanceId"` // File name where to save data source results. OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking SslStates.
type SslStatesOutputArgs ¶
type SslStatesOutputArgs struct { // The mongodb instance ID to query. InstanceId pulumi.StringInput `pulumi:"instanceId"` // File name where to save data source results. OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking SslStates.
func (SslStatesOutputArgs) ElementType ¶
func (SslStatesOutputArgs) ElementType() reflect.Type
type SslStatesResult ¶
type SslStatesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The mongodb instance id. InstanceId string `pulumi:"instanceId"` OutputFile *string `pulumi:"outputFile"` // The collection of mongodb ssl state query. SslStates []SslStatesSslState `pulumi:"sslStates"` // The total count of mongodb ssl state query. TotalCount int `pulumi:"totalCount"` }
A collection of values returned by SslStates.
func SslStates ¶
func SslStates(ctx *pulumi.Context, args *SslStatesArgs, opts ...pulumi.InvokeOption) (*SslStatesResult, error)
Use this data source to query detailed information of mongodb ssl states ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooZones, err := ecs.Zones(ctx, nil, nil) if err != nil { return err } fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{ VpcName: pulumi.String("acc-test-vpc"), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{ SubnetName: pulumi.String("acc-test-subnet"), CidrBlock: pulumi.String("172.16.0.0/24"), ZoneId: *pulumi.String(fooZones.Zones[0].Id), VpcId: fooVpc.ID(), }) if err != nil { return err } fooInstance, err := mongodb.NewInstance(ctx, "fooInstance", &mongodb.InstanceArgs{ DbEngineVersion: pulumi.String("MongoDB_4_0"), InstanceType: pulumi.String("ReplicaSet"), SuperAccountPassword: pulumi.String("@acc-test-123"), NodeSpec: pulumi.String("mongo.2c4g"), MongosNodeSpec: pulumi.String("mongo.mongos.2c4g"), InstanceName: pulumi.String("acc-test-mongo-replica"), ChargeType: pulumi.String("PostPaid"), ProjectName: pulumi.String("default"), MongosNodeNumber: pulumi.Int(2), ShardNumber: pulumi.Int(3), StorageSpaceGb: pulumi.Int(20), SubnetId: fooSubnet.ID(), ZoneId: *pulumi.String(fooZones.Zones[0].Id), Tags: mongodb.InstanceTagArray{ &mongodb.InstanceTagArgs{ Key: pulumi.String("k1"), Value: pulumi.String("v1"), }, }, }) if err != nil { return err } _, err = mongodb.NewSslState(ctx, "fooSslState", &mongodb.SslStateArgs{ InstanceId: fooInstance.ID(), }) if err != nil { return err } _ = mongodb.SslStatesOutput(ctx, mongodb.SslStatesOutputArgs{ InstanceId: fooInstance.ID(), }, nil) return nil }) }
```
type SslStatesResultOutput ¶
type SslStatesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by SslStates.
func SslStatesOutput ¶
func SslStatesOutput(ctx *pulumi.Context, args SslStatesOutputArgs, opts ...pulumi.InvokeOption) SslStatesResultOutput
func (SslStatesResultOutput) ElementType ¶
func (SslStatesResultOutput) ElementType() reflect.Type
func (SslStatesResultOutput) Id ¶
func (o SslStatesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (SslStatesResultOutput) InstanceId ¶
func (o SslStatesResultOutput) InstanceId() pulumi.StringOutput
The mongodb instance id.
func (SslStatesResultOutput) OutputFile ¶
func (o SslStatesResultOutput) OutputFile() pulumi.StringPtrOutput
func (SslStatesResultOutput) SslStates ¶
func (o SslStatesResultOutput) SslStates() SslStatesSslStateArrayOutput
The collection of mongodb ssl state query.
func (SslStatesResultOutput) ToSslStatesResultOutput ¶
func (o SslStatesResultOutput) ToSslStatesResultOutput() SslStatesResultOutput
func (SslStatesResultOutput) ToSslStatesResultOutputWithContext ¶
func (o SslStatesResultOutput) ToSslStatesResultOutputWithContext(ctx context.Context) SslStatesResultOutput
func (SslStatesResultOutput) TotalCount ¶
func (o SslStatesResultOutput) TotalCount() pulumi.IntOutput
The total count of mongodb ssl state query.
type SslStatesSslState ¶
type SslStatesSslState struct { // The mongodb instance ID to query. InstanceId string `pulumi:"instanceId"` // Whetehr SSL is valid. IsValid bool `pulumi:"isValid"` // Whether SSL is enabled. SslEnable bool `pulumi:"sslEnable"` // The expire time of SSL. SslExpiredTime string `pulumi:"sslExpiredTime"` }
type SslStatesSslStateArgs ¶
type SslStatesSslStateArgs struct { // The mongodb instance ID to query. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Whetehr SSL is valid. IsValid pulumi.BoolInput `pulumi:"isValid"` // Whether SSL is enabled. SslEnable pulumi.BoolInput `pulumi:"sslEnable"` // The expire time of SSL. SslExpiredTime pulumi.StringInput `pulumi:"sslExpiredTime"` }
func (SslStatesSslStateArgs) ElementType ¶
func (SslStatesSslStateArgs) ElementType() reflect.Type
func (SslStatesSslStateArgs) ToSslStatesSslStateOutput ¶
func (i SslStatesSslStateArgs) ToSslStatesSslStateOutput() SslStatesSslStateOutput
func (SslStatesSslStateArgs) ToSslStatesSslStateOutputWithContext ¶
func (i SslStatesSslStateArgs) ToSslStatesSslStateOutputWithContext(ctx context.Context) SslStatesSslStateOutput
type SslStatesSslStateArray ¶
type SslStatesSslStateArray []SslStatesSslStateInput
func (SslStatesSslStateArray) ElementType ¶
func (SslStatesSslStateArray) ElementType() reflect.Type
func (SslStatesSslStateArray) ToSslStatesSslStateArrayOutput ¶
func (i SslStatesSslStateArray) ToSslStatesSslStateArrayOutput() SslStatesSslStateArrayOutput
func (SslStatesSslStateArray) ToSslStatesSslStateArrayOutputWithContext ¶
func (i SslStatesSslStateArray) ToSslStatesSslStateArrayOutputWithContext(ctx context.Context) SslStatesSslStateArrayOutput
type SslStatesSslStateArrayInput ¶
type SslStatesSslStateArrayInput interface { pulumi.Input ToSslStatesSslStateArrayOutput() SslStatesSslStateArrayOutput ToSslStatesSslStateArrayOutputWithContext(context.Context) SslStatesSslStateArrayOutput }
SslStatesSslStateArrayInput is an input type that accepts SslStatesSslStateArray and SslStatesSslStateArrayOutput values. You can construct a concrete instance of `SslStatesSslStateArrayInput` via:
SslStatesSslStateArray{ SslStatesSslStateArgs{...} }
type SslStatesSslStateArrayOutput ¶
type SslStatesSslStateArrayOutput struct{ *pulumi.OutputState }
func (SslStatesSslStateArrayOutput) ElementType ¶
func (SslStatesSslStateArrayOutput) ElementType() reflect.Type
func (SslStatesSslStateArrayOutput) Index ¶
func (o SslStatesSslStateArrayOutput) Index(i pulumi.IntInput) SslStatesSslStateOutput
func (SslStatesSslStateArrayOutput) ToSslStatesSslStateArrayOutput ¶
func (o SslStatesSslStateArrayOutput) ToSslStatesSslStateArrayOutput() SslStatesSslStateArrayOutput
func (SslStatesSslStateArrayOutput) ToSslStatesSslStateArrayOutputWithContext ¶
func (o SslStatesSslStateArrayOutput) ToSslStatesSslStateArrayOutputWithContext(ctx context.Context) SslStatesSslStateArrayOutput
type SslStatesSslStateInput ¶
type SslStatesSslStateInput interface { pulumi.Input ToSslStatesSslStateOutput() SslStatesSslStateOutput ToSslStatesSslStateOutputWithContext(context.Context) SslStatesSslStateOutput }
SslStatesSslStateInput is an input type that accepts SslStatesSslStateArgs and SslStatesSslStateOutput values. You can construct a concrete instance of `SslStatesSslStateInput` via:
SslStatesSslStateArgs{...}
type SslStatesSslStateOutput ¶
type SslStatesSslStateOutput struct{ *pulumi.OutputState }
func (SslStatesSslStateOutput) ElementType ¶
func (SslStatesSslStateOutput) ElementType() reflect.Type
func (SslStatesSslStateOutput) InstanceId ¶
func (o SslStatesSslStateOutput) InstanceId() pulumi.StringOutput
The mongodb instance ID to query.
func (SslStatesSslStateOutput) IsValid ¶
func (o SslStatesSslStateOutput) IsValid() pulumi.BoolOutput
Whetehr SSL is valid.
func (SslStatesSslStateOutput) SslEnable ¶
func (o SslStatesSslStateOutput) SslEnable() pulumi.BoolOutput
Whether SSL is enabled.
func (SslStatesSslStateOutput) SslExpiredTime ¶
func (o SslStatesSslStateOutput) SslExpiredTime() pulumi.StringOutput
The expire time of SSL.
func (SslStatesSslStateOutput) ToSslStatesSslStateOutput ¶
func (o SslStatesSslStateOutput) ToSslStatesSslStateOutput() SslStatesSslStateOutput
func (SslStatesSslStateOutput) ToSslStatesSslStateOutputWithContext ¶
func (o SslStatesSslStateOutput) ToSslStatesSslStateOutputWithContext(ctx context.Context) SslStatesSslStateOutput
type ZonesArgs ¶
type ZonesArgs struct { // File name where to save data source results. OutputFile *string `pulumi:"outputFile"` // The Id of Region. RegionId string `pulumi:"regionId"` }
A collection of arguments for invoking Zones.
type ZonesOutputArgs ¶
type ZonesOutputArgs struct { // File name where to save data source results. OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The Id of Region. RegionId pulumi.StringInput `pulumi:"regionId"` }
A collection of arguments for invoking Zones.
func (ZonesOutputArgs) ElementType ¶
func (ZonesOutputArgs) ElementType() reflect.Type
type ZonesResult ¶
type ZonesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` OutputFile *string `pulumi:"outputFile"` RegionId string `pulumi:"regionId"` // The total count of zone query. TotalCount int `pulumi:"totalCount"` // The collection of zone query. Zones []ZonesZone `pulumi:"zones"` }
A collection of values returned by Zones.
func Zones ¶
func Zones(ctx *pulumi.Context, args *ZonesArgs, opts ...pulumi.InvokeOption) (*ZonesResult, error)
Use this data source to query detailed information of mongodb zones ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := mongodb.Zones(ctx, &mongodb.ZonesArgs{ RegionId: "XXX", }, nil) if err != nil { return err } return nil }) }
```
type ZonesResultOutput ¶
type ZonesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by Zones.
func ZonesOutput ¶
func ZonesOutput(ctx *pulumi.Context, args ZonesOutputArgs, opts ...pulumi.InvokeOption) ZonesResultOutput
func (ZonesResultOutput) ElementType ¶
func (ZonesResultOutput) ElementType() reflect.Type
func (ZonesResultOutput) Id ¶
func (o ZonesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (ZonesResultOutput) OutputFile ¶
func (o ZonesResultOutput) OutputFile() pulumi.StringPtrOutput
func (ZonesResultOutput) RegionId ¶
func (o ZonesResultOutput) RegionId() pulumi.StringOutput
func (ZonesResultOutput) ToZonesResultOutput ¶
func (o ZonesResultOutput) ToZonesResultOutput() ZonesResultOutput
func (ZonesResultOutput) ToZonesResultOutputWithContext ¶
func (o ZonesResultOutput) ToZonesResultOutputWithContext(ctx context.Context) ZonesResultOutput
func (ZonesResultOutput) TotalCount ¶
func (o ZonesResultOutput) TotalCount() pulumi.IntOutput
The total count of zone query.
func (ZonesResultOutput) Zones ¶
func (o ZonesResultOutput) Zones() ZonesZoneArrayOutput
The collection of zone query.
type ZonesZoneArgs ¶
type ZonesZoneArgs struct { // The id of the zone. Id pulumi.StringInput `pulumi:"id"` // The id of the zone. ZoneId pulumi.StringInput `pulumi:"zoneId"` // The name of the zone. ZoneName pulumi.StringInput `pulumi:"zoneName"` }
func (ZonesZoneArgs) ElementType ¶
func (ZonesZoneArgs) ElementType() reflect.Type
func (ZonesZoneArgs) ToZonesZoneOutput ¶
func (i ZonesZoneArgs) ToZonesZoneOutput() ZonesZoneOutput
func (ZonesZoneArgs) ToZonesZoneOutputWithContext ¶
func (i ZonesZoneArgs) ToZonesZoneOutputWithContext(ctx context.Context) ZonesZoneOutput
type ZonesZoneArray ¶
type ZonesZoneArray []ZonesZoneInput
func (ZonesZoneArray) ElementType ¶
func (ZonesZoneArray) ElementType() reflect.Type
func (ZonesZoneArray) ToZonesZoneArrayOutput ¶
func (i ZonesZoneArray) ToZonesZoneArrayOutput() ZonesZoneArrayOutput
func (ZonesZoneArray) ToZonesZoneArrayOutputWithContext ¶
func (i ZonesZoneArray) ToZonesZoneArrayOutputWithContext(ctx context.Context) ZonesZoneArrayOutput
type ZonesZoneArrayInput ¶
type ZonesZoneArrayInput interface { pulumi.Input ToZonesZoneArrayOutput() ZonesZoneArrayOutput ToZonesZoneArrayOutputWithContext(context.Context) ZonesZoneArrayOutput }
ZonesZoneArrayInput is an input type that accepts ZonesZoneArray and ZonesZoneArrayOutput values. You can construct a concrete instance of `ZonesZoneArrayInput` via:
ZonesZoneArray{ ZonesZoneArgs{...} }
type ZonesZoneArrayOutput ¶
type ZonesZoneArrayOutput struct{ *pulumi.OutputState }
func (ZonesZoneArrayOutput) ElementType ¶
func (ZonesZoneArrayOutput) ElementType() reflect.Type
func (ZonesZoneArrayOutput) Index ¶
func (o ZonesZoneArrayOutput) Index(i pulumi.IntInput) ZonesZoneOutput
func (ZonesZoneArrayOutput) ToZonesZoneArrayOutput ¶
func (o ZonesZoneArrayOutput) ToZonesZoneArrayOutput() ZonesZoneArrayOutput
func (ZonesZoneArrayOutput) ToZonesZoneArrayOutputWithContext ¶
func (o ZonesZoneArrayOutput) ToZonesZoneArrayOutputWithContext(ctx context.Context) ZonesZoneArrayOutput
type ZonesZoneInput ¶
type ZonesZoneInput interface { pulumi.Input ToZonesZoneOutput() ZonesZoneOutput ToZonesZoneOutputWithContext(context.Context) ZonesZoneOutput }
ZonesZoneInput is an input type that accepts ZonesZoneArgs and ZonesZoneOutput values. You can construct a concrete instance of `ZonesZoneInput` via:
ZonesZoneArgs{...}
type ZonesZoneOutput ¶
type ZonesZoneOutput struct{ *pulumi.OutputState }
func (ZonesZoneOutput) ElementType ¶
func (ZonesZoneOutput) ElementType() reflect.Type
func (ZonesZoneOutput) ToZonesZoneOutput ¶
func (o ZonesZoneOutput) ToZonesZoneOutput() ZonesZoneOutput
func (ZonesZoneOutput) ToZonesZoneOutputWithContext ¶
func (o ZonesZoneOutput) ToZonesZoneOutputWithContext(ctx context.Context) ZonesZoneOutput
func (ZonesZoneOutput) ZoneId ¶
func (o ZonesZoneOutput) ZoneId() pulumi.StringOutput
The id of the zone.
func (ZonesZoneOutput) ZoneName ¶
func (o ZonesZoneOutput) ZoneName() pulumi.StringOutput
The name of the zone.