@@ -289,7 +289,24 @@ type ComputeSpec struct {
289289 MaxInstanceSize string `json:"maxInstanceSize,omitempty"`
290290}
291291
292- type ProcessArgs mongodbatlas.ProcessArgs
292+ type ProcessArgs struct {
293+ DefaultReadConcern string `json:"defaultReadConcern,omitempty"`
294+ DefaultWriteConcern string `json:"defaultWriteConcern,omitempty"`
295+ MinimumEnabledTLSProtocol string `json:"minimumEnabledTlsProtocol,omitempty"`
296+ FailIndexKeyTooLong * bool `json:"failIndexKeyTooLong,omitempty"`
297+ JavascriptEnabled * bool `json:"javascriptEnabled,omitempty"`
298+ NoTableScan * bool `json:"noTableScan,omitempty"`
299+ OplogSizeMB * int64 `json:"oplogSizeMB,omitempty"`
300+ SampleSizeBIConnector * int64 `json:"sampleSizeBIConnector,omitempty"`
301+ SampleRefreshIntervalBIConnector * int64 `json:"sampleRefreshIntervalBIConnector,omitempty"`
302+ OplogMinRetentionHours string `json:"oplogMinRetentionHours,omitempty"`
303+ }
304+
305+ func (specArgs ProcessArgs ) ToAtlas () (* mongodbatlas.ProcessArgs , error ) {
306+ result := & mongodbatlas.ProcessArgs {}
307+ err := compat .JSONCopy (result , specArgs )
308+ return result , err
309+ }
293310
294311func (specArgs ProcessArgs ) IsEqual (newArgs interface {}) bool {
295312 specV := reflect .ValueOf (specArgs )
0 commit comments