MongoDBReplicaSetResource
Handle
interface MongoDBReplicaSetResource extends IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithConnectionString, IResourceWithWaitSupport, IValueProvider, IValueWithReferences { readonly connectionStringExpression: ReferenceExpression; readonly members: MongoDBServerResource[]; readonly sharedKeyFileParameter: ParameterResource; readonly sharedPasswordParameter: ParameterResource; readonly sharedUserNameParameter: ParameterResource; readonly sharedUserNameReference: ReferenceExpression; withMember(member: MongoDBServerResource): MongoDBReplicaSetResource;}7 members
Properties
property
connectionStringExpression ReferenceExpression getGets the combined connection string for the MongoDB replica set, which includes the endpoints of all members, interpretable by the MongoDB driver.
property
membersMongoDBServerResource[] getGets the MongoDB server resources that are members of this replica set, in the order they were added.
Methods
Adds a MongoDB server resource as a member of the replica set.
withMember(member: MongoDBServerResource): MongoDBReplicaSetResourceParameters
memberMongoDBServerResource Returns
MongoDBReplicaSetResource