mongodb

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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 AccountsAccountAccountPrivilege

type AccountsAccountAccountPrivilege struct {
	// The Name of DB.
	DbName string `pulumi:"dbName"`
	// The Name of role.
	RoleName string `pulumi:"roleName"`
}

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) 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) 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) Index

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

The Name of DB.

func (AccountsAccountAccountPrivilegeOutput) ElementType

func (AccountsAccountAccountPrivilegeOutput) RoleName

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 (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

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 (AccountsResultOutput) AccountName

The name of account.

func (AccountsResultOutput) Accounts

The collection of accounts query.

func (AccountsResultOutput) ElementType

func (AccountsResultOutput) ElementType() reflect.Type

func (AccountsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (AccountsResultOutput) InstanceId

func (o AccountsResultOutput) InstanceId() pulumi.StringOutput

func (AccountsResultOutput) OutputFile

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) ElementType() reflect.Type

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 (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 (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

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) Index

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) 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) 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) Index

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

The domain of mongodb connection.

func (EndpointsEndpointDbAddressOutput) AddressIp

The IP of mongodb connection.

func (EndpointsEndpointDbAddressOutput) AddressPort

The port of mongodb connection.

func (EndpointsEndpointDbAddressOutput) AddressType

The connection type of mongodb.

func (EndpointsEndpointDbAddressOutput) EipId

The EIP ID bound to the instance's public network address.

func (EndpointsEndpointDbAddressOutput) ElementType

func (EndpointsEndpointDbAddressOutput) NodeId

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

The list of mongodb addresses.

func (EndpointsEndpointOutput) ElementType

func (EndpointsEndpointOutput) ElementType() reflect.Type

func (EndpointsEndpointOutput) EndpointId

The ID of endpoint.

func (EndpointsEndpointOutput) EndpointStr

The endpoint information.

func (EndpointsEndpointOutput) EndpointType

func (o EndpointsEndpointOutput) EndpointType() pulumi.StringOutput

The node type corresponding to the endpoint.

func (EndpointsEndpointOutput) NetworkType

The network type of endpoint.

func (EndpointsEndpointOutput) ObjectId

The object ID corresponding to the endpoint.

func (EndpointsEndpointOutput) SubnetId

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

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 (EndpointsResultOutput) ElementType

func (EndpointsResultOutput) ElementType() reflect.Type

func (EndpointsResultOutput) Endpoints

The collection of mongodb endpoints query.

func (EndpointsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (EndpointsResultOutput) InstanceId

func (EndpointsResultOutput) OutputFile

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) ElementType() reflect.Type

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 (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 (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 InstanceMongo struct {
	// The mongos node ID.
	MongosNodeId *string `pulumi:"mongosNodeId"`
	// The spec of node.
	NodeSpec *string `pulumi:"nodeSpec"`
	// The node status.
	NodeStatus *string `pulumi:"nodeStatus"`
}

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 (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

The spec of node.

func (InstanceMongoOutput) NodeStatus added in v0.0.23

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

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

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) Tags

Tags.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

func (InstanceOutput) VpcId

The vpc ID.

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) Index

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

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) 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) ModifyTime

The modifying time of parameter.

func (InstanceParameterLogsParameterChangeLogsOutput) NewParameterValue

The new parameter value.

func (InstanceParameterLogsParameterChangeLogsOutput) OldParameterValue

The old parameter value.

func (InstanceParameterLogsParameterChangeLogsOutput) ParameterName

The parameter name.

func (InstanceParameterLogsParameterChangeLogsOutput) ParameterRole

The node type to which the parameter belongs.

func (InstanceParameterLogsParameterChangeLogsOutput) ParameterStatus

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 (InstanceParameterLogsResultOutput) ElementType

func (InstanceParameterLogsResultOutput) EndTime

func (InstanceParameterLogsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (InstanceParameterLogsResultOutput) InstanceId

func (InstanceParameterLogsResultOutput) OutputFile

func (InstanceParameterLogsResultOutput) ParameterChangeLogs

The collection of parameter change log query.

func (InstanceParameterLogsResultOutput) StartTime

func (InstanceParameterLogsResultOutput) ToInstanceParameterLogsResultOutput

func (o InstanceParameterLogsResultOutput) ToInstanceParameterLogsResultOutput() InstanceParameterLogsResultOutput

func (InstanceParameterLogsResultOutput) ToInstanceParameterLogsResultOutputWithContext

func (o InstanceParameterLogsResultOutput) ToInstanceParameterLogsResultOutputWithContext(ctx context.Context) InstanceParameterLogsResultOutput

func (InstanceParameterLogsResultOutput) TotalCount

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 (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

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) 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) 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) Index added in v0.0.23

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

The checking code of parameter.

func (InstanceParametersInstanceParameterOutput) ElementType added in v0.0.23

func (InstanceParametersInstanceParameterOutput) ForceModify added in v0.0.23

Whether the parameter supports modifying.

func (InstanceParametersInstanceParameterOutput) ForceRestart added in v0.0.23

Does the new parameter value need to restart the instance to take effect after modification.

func (InstanceParametersInstanceParameterOutput) ParameterDefaultValue added in v0.0.23

The default value of parameter.

func (InstanceParametersInstanceParameterOutput) ParameterDescription added in v0.0.23

The description of parameter.

func (InstanceParametersInstanceParameterOutput) ParameterName added in v0.0.23

The name of parameter.

func (InstanceParametersInstanceParameterOutput) ParameterRole added in v0.0.23

The node type of instance parameter, valid value contains `Node`, `Shard`, `ConfigServer`, `Mongos`.

func (InstanceParametersInstanceParameterOutput) ParameterType added in v0.0.23

The type of parameter value.

func (InstanceParametersInstanceParameterOutput) ParameterValue added in v0.0.23

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

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) 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) 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) Index added in v0.0.23

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) 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) 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) Index added in v0.0.23

func (InstanceParametersParameterInstanceParameterArrayOutput) ToInstanceParametersParameterInstanceParameterArrayOutput added in v0.0.23

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

The checking code of parameter.

func (InstanceParametersParameterInstanceParameterOutput) ElementType added in v0.0.23

func (InstanceParametersParameterInstanceParameterOutput) ForceModify added in v0.0.23

Whether the parameter supports modifying.

func (InstanceParametersParameterInstanceParameterOutput) ForceRestart added in v0.0.23

Does the new parameter value need to restart the instance to take effect after modification.

func (InstanceParametersParameterInstanceParameterOutput) ParameterDefaultValue added in v0.0.23

The default value of parameter.

func (InstanceParametersParameterInstanceParameterOutput) ParameterDescription added in v0.0.23

The description of parameter.

func (InstanceParametersParameterInstanceParameterOutput) ParameterName added in v0.0.23

The name of parameter.

func (InstanceParametersParameterInstanceParameterOutput) ParameterRole added in v0.0.23

The node type of instance parameter, valid value contains `Node`, `Shard`, `ConfigServer`, `Mongos`.

func (InstanceParametersParameterInstanceParameterOutput) ParameterType added in v0.0.23

The type of parameter value.

func (InstanceParametersParameterInstanceParameterOutput) ParameterValue added in v0.0.23

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

The database engine.

func (InstanceParametersParameterOutput) DbEngineVersion added in v0.0.23

The database engine version.

func (InstanceParametersParameterOutput) ElementType added in v0.0.23

func (InstanceParametersParameterOutput) InstanceId added in v0.0.23

The instance ID to query.

func (InstanceParametersParameterOutput) InstanceParameters added in v0.0.23

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

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 (InstanceParametersResultOutput) ElementType

func (InstanceParametersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (InstanceParametersResultOutput) InstanceId

The instance ID.

func (InstanceParametersResultOutput) InstanceParameters added in v0.0.23

The list of parameters.

func (InstanceParametersResultOutput) OutputFile

func (InstanceParametersResultOutput) ParameterNames

func (InstanceParametersResultOutput) ParameterRole

The node type to which the parameter belongs.

func (InstanceParametersResultOutput) Parameters deprecated

(**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

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 (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

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 InstanceTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

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 (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

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

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) Index

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) 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) 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) Index

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

The config server node ID.

func (InstancesInstanceConfigServerOutput) ElementType

func (InstancesInstanceConfigServerOutput) NodeRole

The nod role.

func (InstancesInstanceConfigServerOutput) NodeStatus

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

The total memory in GB.

func (InstancesInstanceConfigServerOutput) TotalVcpu

The total vCPU.

func (InstancesInstanceConfigServerOutput) UsedMemoryGb

The used memory in GB.

func (InstancesInstanceConfigServerOutput) UsedVcpu

The used vCPU.

func (InstancesInstanceConfigServerOutput) ZoneId

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) 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) Index

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) MongosNodeId

The mongos node ID.

func (InstancesInstanceMongoOutput) NodeSpec

The node spec.

func (InstancesInstanceMongoOutput) NodeStatus

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

The total memory in GB.

func (InstancesInstanceMongoOutput) TotalVcpu

The total vCPU.

func (InstancesInstanceMongoOutput) UsedMemoryGb

The used memory in GB.

func (InstancesInstanceMongoOutput) UsedVcpu

The used vCPU.

func (InstancesInstanceMongoOutput) ZoneId

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) Index

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) NodeDelayTime

func (o InstancesInstanceNodeOutput) NodeDelayTime() pulumi.IntOutput

The master-slave delay time.

func (InstancesInstanceNodeOutput) NodeId

The node ID.

func (InstancesInstanceNodeOutput) NodeRole

The nod role.

func (InstancesInstanceNodeOutput) NodeSpec

The node spec.

func (InstancesInstanceNodeOutput) NodeStatus

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

The total memory in GB.

func (InstancesInstanceNodeOutput) TotalStorageGb

The total storage in GB.

func (InstancesInstanceNodeOutput) TotalVcpu

The total vCPU.

func (InstancesInstanceNodeOutput) UsedMemoryGb

The used memory in GB.

func (InstancesInstanceNodeOutput) UsedStorageGb

The used storage in GB.

func (InstancesInstanceNodeOutput) UsedVcpu

The used vCPU.

func (InstancesInstanceNodeOutput) ZoneId

The zone ID to query.

type InstancesInstanceOutput

type InstancesInstanceOutput struct{ *pulumi.OutputState }

func (InstancesInstanceOutput) AutoRenew

Whether to enable automatic renewal.

func (InstancesInstanceOutput) ChargeStatus

func (o InstancesInstanceOutput) ChargeStatus() pulumi.StringOutput

The charge status.

func (InstancesInstanceOutput) ChargeType

The charge type of instance.

func (InstancesInstanceOutput) ClosedTime

The planned close time.

func (InstancesInstanceOutput) ConfigServers

The list of config servers.

func (InstancesInstanceOutput) ConfigServersId

func (o InstancesInstanceOutput) ConfigServersId() pulumi.StringOutput

The ID of config servers.

func (InstancesInstanceOutput) CreateTime

The creation time of instance.

func (InstancesInstanceOutput) DbEngine

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

The expired time of instance.

func (InstancesInstanceOutput) InstanceId

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

The list of mongos.

func (InstancesInstanceOutput) MongosId

The ID of mongos.

func (InstancesInstanceOutput) Nodes

The node information.

func (InstancesInstanceOutput) ProjectName

The project name to which the instance belongs.

func (InstancesInstanceOutput) ReclaimTime

The planned reclaim time of instance.

func (InstancesInstanceOutput) Shards

The list of shards.

func (InstancesInstanceOutput) SslEnable

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

The storage type of instance.

func (InstancesInstanceOutput) SubnetId

The subnet id of instance.

func (InstancesInstanceOutput) Tags

Tags.

func (InstancesInstanceOutput) ToInstancesInstanceOutput

func (o InstancesInstanceOutput) ToInstancesInstanceOutput() InstancesInstanceOutput

func (InstancesInstanceOutput) ToInstancesInstanceOutputWithContext

func (o InstancesInstanceOutput) ToInstancesInstanceOutputWithContext(ctx context.Context) InstancesInstanceOutput

func (InstancesInstanceOutput) UpdateTime

The update time of instance.

func (InstancesInstanceOutput) VpcId

The vpc id of instance to query.

func (InstancesInstanceOutput) ZoneId

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) 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) Index

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) 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) 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) Index

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) NodeDelayTime

The master-slave delay time.

func (InstancesInstanceShardNodeOutput) NodeId

The node ID.

func (InstancesInstanceShardNodeOutput) NodeRole

The nod role.

func (InstancesInstanceShardNodeOutput) NodeSpec

The node spec.

func (InstancesInstanceShardNodeOutput) NodeStatus

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

The total memory in GB.

func (InstancesInstanceShardNodeOutput) TotalStorageGb

The total storage in GB.

func (InstancesInstanceShardNodeOutput) TotalVcpu

The total vCPU.

func (InstancesInstanceShardNodeOutput) UsedMemoryGb

The used memory in GB.

func (InstancesInstanceShardNodeOutput) UsedStorageGb

The used storage in GB.

func (InstancesInstanceShardNodeOutput) UsedVcpu

The used vCPU.

func (InstancesInstanceShardNodeOutput) ZoneId

The zone ID to query.

type InstancesInstanceShardOutput

type InstancesInstanceShardOutput struct{ *pulumi.OutputState }

func (InstancesInstanceShardOutput) ElementType

func (InstancesInstanceShardOutput) Nodes

The node information.

func (InstancesInstanceShardOutput) ShardId

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 InstancesInstanceTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

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) Index

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

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

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 (InstancesResultOutput) CreateEndTime

func (o InstancesResultOutput) CreateEndTime() pulumi.StringPtrOutput

func (InstancesResultOutput) CreateStartTime

func (o InstancesResultOutput) CreateStartTime() pulumi.StringPtrOutput

func (InstancesResultOutput) DbEngine

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

The provider-assigned unique ID for this managed resource.

func (InstancesResultOutput) InstanceId

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

The collection of mongodb instances query.

func (InstancesResultOutput) NameRegex

func (InstancesResultOutput) OutputFile

func (InstancesResultOutput) Tags

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

The vpc ID.

func (InstancesResultOutput) ZoneId

The zone ID of instance.

type InstancesTag

type InstancesTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

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 (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

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

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 (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

type MongoAllowListAssociateArray

type MongoAllowListAssociateArray []MongoAllowListAssociateInput

func (MongoAllowListAssociateArray) ElementType

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) Index

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) MapIndex

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

Id of allow list to associate.

func (MongoAllowListAssociateOutput) ElementType

func (MongoAllowListAssociateOutput) InstanceId

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

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 (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

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) 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) 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) Index

func (MongoAllowListsAllowListArrayOutput) ToMongoAllowListsAllowListArrayOutput

func (o MongoAllowListsAllowListArrayOutput) ToMongoAllowListsAllowListArrayOutput() MongoAllowListsAllowListArrayOutput

func (MongoAllowListsAllowListArrayOutput) ToMongoAllowListsAllowListArrayOutputWithContext

func (o MongoAllowListsAllowListArrayOutput) ToMongoAllowListsAllowListArrayOutputWithContext(ctx context.Context) MongoAllowListsAllowListArrayOutput

type MongoAllowListsAllowListAssociatedInstance

type MongoAllowListsAllowListAssociatedInstance struct {
	// The instance ID to query.
	InstanceId string `pulumi:"instanceId"`
	// The instance name that bound to the allow list.
	InstanceName string `pulumi:"instanceName"`
	// The VPC ID.
	Vpc string `pulumi:"vpc"`
}

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) 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) 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) Index

func (MongoAllowListsAllowListAssociatedInstanceArrayOutput) ToMongoAllowListsAllowListAssociatedInstanceArrayOutput

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) InstanceId

The instance ID to query.

func (MongoAllowListsAllowListAssociatedInstanceOutput) InstanceName

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

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

The list of IP address in allow list.

func (MongoAllowListsAllowListOutput) AllowListDesc

The description of allow list.

func (MongoAllowListsAllowListOutput) AllowListId

The ID of allow list.

func (MongoAllowListsAllowListOutput) AllowListIpNum

func (o MongoAllowListsAllowListOutput) AllowListIpNum() pulumi.IntOutput

The number of allow list IPs.

func (MongoAllowListsAllowListOutput) AllowListName

The allow list name.

func (MongoAllowListsAllowListOutput) AllowListType

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

The list of associated instances.

func (MongoAllowListsAllowListOutput) ElementType

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 (MongoAllowListsResultOutput) AllowListIds

func (MongoAllowListsResultOutput) AllowLists

The collection of mongodb allow list query.

func (MongoAllowListsResultOutput) ElementType

func (MongoAllowListsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (MongoAllowListsResultOutput) InstanceId

The instance id that bound to the allow list.

func (MongoAllowListsResultOutput) OutputFile

func (MongoAllowListsResultOutput) RegionId

func (MongoAllowListsResultOutput) ToMongoAllowListsResultOutput

func (o MongoAllowListsResultOutput) ToMongoAllowListsResultOutput() MongoAllowListsResultOutput

func (MongoAllowListsResultOutput) ToMongoAllowListsResultOutputWithContext

func (o MongoAllowListsResultOutput) ToMongoAllowListsResultOutputWithContext(ctx context.Context) MongoAllowListsResultOutput

func (MongoAllowListsResultOutput) TotalCount

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 RegionsRegion struct {
	// The id of the region.
	RegionId string `pulumi:"regionId"`
	// The name of region.
	RegionName string `pulumi:"regionName"`
}

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 (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

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 (RegionsResultOutput) ElementType

func (RegionsResultOutput) ElementType() reflect.Type

func (RegionsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (RegionsResultOutput) OutputFile

func (RegionsResultOutput) Regions

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

The provider-assigned unique ID for this managed resource.

func (SpecsResultOutput) OutputFile

func (o SpecsResultOutput) OutputFile() pulumi.StringPtrOutput

func (SpecsResultOutput) RegionId

func (SpecsResultOutput) Specs

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 SpecsSpecsMongosNodeSpec

type SpecsSpecsMongosNodeSpec struct {
	// The cpu cores.
	CpuNum float64 `pulumi:"cpuNum"`
	// The max connections.
	MaxConn int `pulumi:"maxConn"`
	// The memory in GB.
	MemInGb float64 `pulumi:"memInGb"`
	// The shard node spec name.
	SpecName string `pulumi:"specName"`
}

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) 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) 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) Index

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

The cpu cores.

func (SpecsSpecsMongosNodeSpecOutput) ElementType

func (SpecsSpecsMongosNodeSpecOutput) MaxConn

The max connections.

func (SpecsSpecsMongosNodeSpecOutput) MemInGb

The memory in GB.

func (SpecsSpecsMongosNodeSpecOutput) SpecName

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) Index

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

The cpu cores.

func (SpecsSpecsNodeSpecOutput) ElementType

func (SpecsSpecsNodeSpecOutput) ElementType() reflect.Type

func (SpecsSpecsNodeSpecOutput) MaxConn

The max connections.

func (SpecsSpecsNodeSpecOutput) MaxStorage

func (o SpecsSpecsNodeSpecOutput) MaxStorage() pulumi.IntOutput

The max storage.

func (SpecsSpecsNodeSpecOutput) MemInDb

The memory in GB.

func (SpecsSpecsNodeSpecOutput) SpecName

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

The collection of mongos node specs.

func (SpecsSpecsOutput) NodeSpecs

The collection of node specs.

func (SpecsSpecsOutput) ShardNodeSpecs

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) 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) 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) Index

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

The cpu cores.

func (SpecsSpecsShardNodeSpecOutput) ElementType

func (SpecsSpecsShardNodeSpecOutput) MaxConn

The max connections.

func (SpecsSpecsShardNodeSpecOutput) MaxStorage

The max storage.

func (SpecsSpecsShardNodeSpecOutput) MemInGb

The memory in GB.

func (SpecsSpecsShardNodeSpecOutput) SpecName

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) ElementType() reflect.Type

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 (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 (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 (SslStatesResultOutput) ElementType

func (SslStatesResultOutput) ElementType() reflect.Type

func (SslStatesResultOutput) Id

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 (SslStatesResultOutput) SslStates

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) Index

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

The mongodb instance ID to query.

func (SslStatesSslStateOutput) IsValid

Whetehr SSL is valid.

func (SslStatesSslStateOutput) SslEnable

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

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

The collection of zone query.

type ZonesZone

type ZonesZone struct {
	// The id of the zone.
	Id string `pulumi:"id"`
	// The id of the zone.
	ZoneId string `pulumi:"zoneId"`
	// The name of the zone.
	ZoneName string `pulumi:"zoneName"`
}

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 (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) Id

The id of the zone.

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.

Jump to

Keyboard shortcuts

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