diff --git a/admin/api_alert_configurations.go b/admin/api_alert_configurations.go index e8b546ba..ccbfaae8 100644 --- a/admin/api_alert_configurations.go +++ b/admin/api_alert_configurations.go @@ -110,7 +110,7 @@ type AlertConfigurationsApi interface { ListAlertConfigurationMatchersFieldNamesWithParams(ctx context.Context, args *ListAlertConfigurationMatchersFieldNamesApiParams) ListAlertConfigurationMatchersFieldNamesApiRequest // Interface only available internally - listAlertConfigurationMatchersFieldNamesExecute(r ListAlertConfigurationMatchersFieldNamesApiRequest) ([]MatcherField, *http.Response, error) + listAlertConfigurationMatchersFieldNamesExecute(r ListAlertConfigurationMatchersFieldNamesApiRequest) ([]string, *http.Response, error) /* ListAlertConfigurations Return All Alert Configurations for One Project @@ -655,7 +655,7 @@ func (a *AlertConfigurationsApiService) ListAlertConfigurationMatchersFieldNames } } -func (r ListAlertConfigurationMatchersFieldNamesApiRequest) Execute() ([]MatcherField, *http.Response, error) { +func (r ListAlertConfigurationMatchersFieldNamesApiRequest) Execute() ([]string, *http.Response, error) { return r.ApiService.listAlertConfigurationMatchersFieldNamesExecute(r) } @@ -676,13 +676,13 @@ func (a *AlertConfigurationsApiService) ListAlertConfigurationMatchersFieldNames // Execute executes the request // -// @return []MatcherField -func (a *AlertConfigurationsApiService) listAlertConfigurationMatchersFieldNamesExecute(r ListAlertConfigurationMatchersFieldNamesApiRequest) ([]MatcherField, *http.Response, error) { +// @return []string +func (a *AlertConfigurationsApiService) listAlertConfigurationMatchersFieldNamesExecute(r ListAlertConfigurationMatchersFieldNamesApiRequest) ([]string, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []MatcherField + localVarReturnValue []string ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AlertConfigurationsApiService.ListAlertConfigurationMatchersFieldNames") diff --git a/admin/model_alert_config_view_for_nds_group.go b/admin/model_alert_config_view_for_nds_group.go index 6fcad193..da87573f 100644 --- a/admin/model_alert_config_view_for_nds_group.go +++ b/admin/model_alert_config_view_for_nds_group.go @@ -15,8 +15,9 @@ type AlertConfigViewForNdsGroup struct { // Date and time when MongoDB Cloud created the alert configuration. This parameter expresses its value in the ISO 8601 timestamp format in UTC. Created *time.Time `json:"created,omitempty"` // Flag that indicates whether someone enabled this alert configuration for the specified project. - Enabled *bool `json:"enabled,omitempty"` - EventTypeName *ServerlessEventTypeViewAlertable `json:"eventTypeName,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + // Event type that triggers an alert. + EventTypeName *string `json:"eventTypeName,omitempty"` // Unique 24-hexadecimal digit string that identifies the project that owns this alert configuration. GroupId *string `json:"groupId,omitempty"` // Unique 24-hexadecimal digit string that identifies this alert configuration. @@ -119,9 +120,9 @@ func (o *AlertConfigViewForNdsGroup) SetEnabled(v bool) { } // GetEventTypeName returns the EventTypeName field value if set, zero value otherwise. -func (o *AlertConfigViewForNdsGroup) GetEventTypeName() ServerlessEventTypeViewAlertable { +func (o *AlertConfigViewForNdsGroup) GetEventTypeName() string { if o == nil || IsNil(o.EventTypeName) { - var ret ServerlessEventTypeViewAlertable + var ret string return ret } return *o.EventTypeName @@ -129,7 +130,7 @@ func (o *AlertConfigViewForNdsGroup) GetEventTypeName() ServerlessEventTypeViewA // GetEventTypeNameOk returns a tuple with the EventTypeName field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AlertConfigViewForNdsGroup) GetEventTypeNameOk() (*ServerlessEventTypeViewAlertable, bool) { +func (o *AlertConfigViewForNdsGroup) GetEventTypeNameOk() (*string, bool) { if o == nil || IsNil(o.EventTypeName) { return nil, false } @@ -145,8 +146,8 @@ func (o *AlertConfigViewForNdsGroup) HasEventTypeName() bool { return false } -// SetEventTypeName gets a reference to the given ServerlessEventTypeViewAlertable and assigns it to the EventTypeName field. -func (o *AlertConfigViewForNdsGroup) SetEventTypeName(v ServerlessEventTypeViewAlertable) { +// SetEventTypeName gets a reference to the given string and assigns it to the EventTypeName field. +func (o *AlertConfigViewForNdsGroup) SetEventTypeName(v string) { o.EventTypeName = &v } diff --git a/admin/model_compute_auto_scaling_v15.go b/admin/model_compute_auto_scaling_v15.go index 77c77f09..1a384301 100644 --- a/admin/model_compute_auto_scaling_v15.go +++ b/admin/model_compute_auto_scaling_v15.go @@ -12,9 +12,11 @@ var _ MappedNullable = &ComputeAutoScalingV15{} // ComputeAutoScalingV15 Options that determine how this cluster handles CPU scaling. type ComputeAutoScalingV15 struct { // Flag that indicates whether someone enabled instance size auto-scaling. - Set to `true` to enable instance size auto-scaling. If enabled, you must specify a value for **replicationSpecs[n].regionConfigs[m].autoScaling.compute.maxInstanceSize**. - Set to `false` to disable instance size automatic scaling. - Enabled *bool `json:"enabled,omitempty"` - MaxInstanceSize *InstanceSize `json:"maxInstanceSize,omitempty"` - MinInstanceSize *InstanceSize `json:"minInstanceSize,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + // Minimum instance size to which your cluster can automatically scale. MongoDB Cloud requires this parameter if `\"replicationSpecs[n].regionConfigs[m].autoScaling.compute.scaleDownEnabled\" : true`. + MaxInstanceSize *string `json:"maxInstanceSize,omitempty"` + // Minimum instance size to which your cluster can automatically scale. MongoDB Cloud requires this parameter if `\"replicationSpecs[n].regionConfigs[m].autoScaling.compute.scaleDownEnabled\" : true`. + MinInstanceSize *string `json:"minInstanceSize,omitempty"` // Flag that indicates whether the instance size may scale down. MongoDB Cloud requires this parameter if `\"replicationSpecs[n].regionConfigs[m].autoScaling.compute.enabled\" : true`. If you enable this option, specify a value for **replicationSpecs[n].regionConfigs[m].autoScaling.compute.minInstanceSize**. ScaleDownEnabled *bool `json:"scaleDownEnabled,omitempty"` } @@ -69,9 +71,9 @@ func (o *ComputeAutoScalingV15) SetEnabled(v bool) { } // GetMaxInstanceSize returns the MaxInstanceSize field value if set, zero value otherwise. -func (o *ComputeAutoScalingV15) GetMaxInstanceSize() InstanceSize { +func (o *ComputeAutoScalingV15) GetMaxInstanceSize() string { if o == nil || IsNil(o.MaxInstanceSize) { - var ret InstanceSize + var ret string return ret } return *o.MaxInstanceSize @@ -79,7 +81,7 @@ func (o *ComputeAutoScalingV15) GetMaxInstanceSize() InstanceSize { // GetMaxInstanceSizeOk returns a tuple with the MaxInstanceSize field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComputeAutoScalingV15) GetMaxInstanceSizeOk() (*InstanceSize, bool) { +func (o *ComputeAutoScalingV15) GetMaxInstanceSizeOk() (*string, bool) { if o == nil || IsNil(o.MaxInstanceSize) { return nil, false } @@ -95,15 +97,15 @@ func (o *ComputeAutoScalingV15) HasMaxInstanceSize() bool { return false } -// SetMaxInstanceSize gets a reference to the given InstanceSize and assigns it to the MaxInstanceSize field. -func (o *ComputeAutoScalingV15) SetMaxInstanceSize(v InstanceSize) { +// SetMaxInstanceSize gets a reference to the given string and assigns it to the MaxInstanceSize field. +func (o *ComputeAutoScalingV15) SetMaxInstanceSize(v string) { o.MaxInstanceSize = &v } // GetMinInstanceSize returns the MinInstanceSize field value if set, zero value otherwise. -func (o *ComputeAutoScalingV15) GetMinInstanceSize() InstanceSize { +func (o *ComputeAutoScalingV15) GetMinInstanceSize() string { if o == nil || IsNil(o.MinInstanceSize) { - var ret InstanceSize + var ret string return ret } return *o.MinInstanceSize @@ -111,7 +113,7 @@ func (o *ComputeAutoScalingV15) GetMinInstanceSize() InstanceSize { // GetMinInstanceSizeOk returns a tuple with the MinInstanceSize field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComputeAutoScalingV15) GetMinInstanceSizeOk() (*InstanceSize, bool) { +func (o *ComputeAutoScalingV15) GetMinInstanceSizeOk() (*string, bool) { if o == nil || IsNil(o.MinInstanceSize) { return nil, false } @@ -127,8 +129,8 @@ func (o *ComputeAutoScalingV15) HasMinInstanceSize() bool { return false } -// SetMinInstanceSize gets a reference to the given InstanceSize and assigns it to the MinInstanceSize field. -func (o *ComputeAutoScalingV15) SetMinInstanceSize(v InstanceSize) { +// SetMinInstanceSize gets a reference to the given string and assigns it to the MinInstanceSize field. +func (o *ComputeAutoScalingV15) SetMinInstanceSize(v string) { o.MinInstanceSize = &v } diff --git a/admin/model_data_lake_data_process_region.go b/admin/model_data_lake_data_process_region.go index e568cc53..253774f4 100644 --- a/admin/model_data_lake_data_process_region.go +++ b/admin/model_data_lake_data_process_region.go @@ -12,15 +12,16 @@ var _ MappedNullable = &DataLakeDataProcessRegion{} // DataLakeDataProcessRegion Information about the cloud provider region to which the data lake routes client connections. MongoDB Cloud supports AWS only. type DataLakeDataProcessRegion struct { // Name of the cloud service that hosts the data lake's data stores. - CloudProvider string `json:"cloudProvider"` - Region DataLakeRegion `json:"region"` + CloudProvider string `json:"cloudProvider"` + // Atlas Data Lake Regions. + Region string `json:"region"` } // NewDataLakeDataProcessRegion instantiates a new DataLakeDataProcessRegion object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDataLakeDataProcessRegion(cloudProvider string, region DataLakeRegion) *DataLakeDataProcessRegion { +func NewDataLakeDataProcessRegion(cloudProvider string, region string) *DataLakeDataProcessRegion { this := DataLakeDataProcessRegion{} this.CloudProvider = cloudProvider this.Region = region @@ -60,9 +61,9 @@ func (o *DataLakeDataProcessRegion) SetCloudProvider(v string) { } // GetRegion returns the Region field value -func (o *DataLakeDataProcessRegion) GetRegion() DataLakeRegion { +func (o *DataLakeDataProcessRegion) GetRegion() string { if o == nil { - var ret DataLakeRegion + var ret string return ret } @@ -71,7 +72,7 @@ func (o *DataLakeDataProcessRegion) GetRegion() DataLakeRegion { // GetRegionOk returns a tuple with the Region field value // and a boolean to check if the value has been set. -func (o *DataLakeDataProcessRegion) GetRegionOk() (*DataLakeRegion, bool) { +func (o *DataLakeDataProcessRegion) GetRegionOk() (*string, bool) { if o == nil { return nil, false } @@ -79,7 +80,7 @@ func (o *DataLakeDataProcessRegion) GetRegionOk() (*DataLakeRegion, bool) { } // SetRegion sets field value -func (o *DataLakeDataProcessRegion) SetRegion(v DataLakeRegion) { +func (o *DataLakeDataProcessRegion) SetRegion(v string) { o.Region = v } diff --git a/admin/model_data_lake_region.go b/admin/model_data_lake_region.go deleted file mode 100644 index f262fbb4..00000000 --- a/admin/model_data_lake_region.go +++ /dev/null @@ -1,80 +0,0 @@ -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package admin - -import ( - "encoding/json" - "fmt" -) - -// DataLakeRegion Atlas Data Lake Regions. -type DataLakeRegion string - -// List of DataLakeRegion -const ( - DATALAKEREGION_SYDNEY_AUS DataLakeRegion = "SYDNEY_AUS" - DATALAKEREGION_MUMBAI_IND DataLakeRegion = "MUMBAI_IND" - DATALAKEREGION_FRANKFURT_DEU DataLakeRegion = "FRANKFURT_DEU" - DATALAKEREGION_DUBLIN_IRL DataLakeRegion = "DUBLIN_IRL" - DATALAKEREGION_LONDON_GBR DataLakeRegion = "LONDON_GBR" - DATALAKEREGION_VIRGINIA_USA DataLakeRegion = "VIRGINIA_USA" - DATALAKEREGION_OREGON_USA DataLakeRegion = "OREGON_USA" - DATALAKEREGION_SAOPAULO_BRA DataLakeRegion = "SAOPAULO_BRA" - DATALAKEREGION_SINGAPORE_SGP DataLakeRegion = "SINGAPORE_SGP" -) - -// All allowed values of DataLakeRegion enum -var AllowedDataLakeRegionEnumValues = []DataLakeRegion{ - "SYDNEY_AUS", - "MUMBAI_IND", - "FRANKFURT_DEU", - "DUBLIN_IRL", - "LONDON_GBR", - "VIRGINIA_USA", - "OREGON_USA", - "SAOPAULO_BRA", - "SINGAPORE_SGP", -} - -func (v *DataLakeRegion) UnmarshalJSON(src []byte) error { - var value string - err := json.Unmarshal(src, &value) - if err != nil { - return err - } - enumTypeValue := DataLakeRegion(value) - for _, existing := range AllowedDataLakeRegionEnumValues { - if existing == enumTypeValue { - *v = enumTypeValue - return nil - } - } - - return fmt.Errorf("%+v is not a valid DataLakeRegion", value) -} - -// NewDataLakeRegionFromValue returns a pointer to a valid DataLakeRegion -// for the value passed as argument, or an error if the value passed is not allowed by the enum -func NewDataLakeRegionFromValue(v string) (*DataLakeRegion, error) { - ev := DataLakeRegion(v) - if ev.IsValid() { - return &ev, nil - } else { - return nil, fmt.Errorf("invalid value '%v' for DataLakeRegion: valid values are %v", v, AllowedDataLakeRegionEnumValues) - } -} - -// IsValid return true if the value is valid for the enum, false otherwise -func (v DataLakeRegion) IsValid() bool { - for _, existing := range AllowedDataLakeRegionEnumValues { - if existing == v { - return true - } - } - return false -} - -// Ptr returns reference to DataLakeRegion value -func (v DataLakeRegion) Ptr() *DataLakeRegion { - return &v -} diff --git a/admin/model_data_metric_threshold.go b/admin/model_data_metric_threshold.go index 70d19546..3fc76999 100644 --- a/admin/model_data_metric_threshold.go +++ b/admin/model_data_metric_threshold.go @@ -14,11 +14,13 @@ type DataMetricThreshold struct { // Human-readable label that identifies the metric against which MongoDB Cloud checks the configured **metricThreshold.threshold**. MetricName *string `json:"metricName,omitempty"` // MongoDB Cloud computes the current metric value as an average. - Mode *string `json:"mode,omitempty"` - Operator *Operator `json:"operator,omitempty"` + Mode *string `json:"mode,omitempty"` + // Comparison operator to apply when checking the current metric value. + Operator *string `json:"operator,omitempty"` // Value of metric that, when exceeded, triggers an alert. - Threshold *float64 `json:"threshold,omitempty"` - Units *DataMetricUnits `json:"units,omitempty"` + Threshold *float64 `json:"threshold,omitempty"` + // Element used to express the quantity. This can be an element of time, storage capacity, and the like. + Units *string `json:"units,omitempty"` } // NewDataMetricThreshold instantiates a new DataMetricThreshold object @@ -103,9 +105,9 @@ func (o *DataMetricThreshold) SetMode(v string) { } // GetOperator returns the Operator field value if set, zero value otherwise. -func (o *DataMetricThreshold) GetOperator() Operator { +func (o *DataMetricThreshold) GetOperator() string { if o == nil || IsNil(o.Operator) { - var ret Operator + var ret string return ret } return *o.Operator @@ -113,7 +115,7 @@ func (o *DataMetricThreshold) GetOperator() Operator { // GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *DataMetricThreshold) GetOperatorOk() (*Operator, bool) { +func (o *DataMetricThreshold) GetOperatorOk() (*string, bool) { if o == nil || IsNil(o.Operator) { return nil, false } @@ -129,8 +131,8 @@ func (o *DataMetricThreshold) HasOperator() bool { return false } -// SetOperator gets a reference to the given Operator and assigns it to the Operator field. -func (o *DataMetricThreshold) SetOperator(v Operator) { +// SetOperator gets a reference to the given string and assigns it to the Operator field. +func (o *DataMetricThreshold) SetOperator(v string) { o.Operator = &v } @@ -167,9 +169,9 @@ func (o *DataMetricThreshold) SetThreshold(v float64) { } // GetUnits returns the Units field value if set, zero value otherwise. -func (o *DataMetricThreshold) GetUnits() DataMetricUnits { +func (o *DataMetricThreshold) GetUnits() string { if o == nil || IsNil(o.Units) { - var ret DataMetricUnits + var ret string return ret } return *o.Units @@ -177,7 +179,7 @@ func (o *DataMetricThreshold) GetUnits() DataMetricUnits { // GetUnitsOk returns a tuple with the Units field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *DataMetricThreshold) GetUnitsOk() (*DataMetricUnits, bool) { +func (o *DataMetricThreshold) GetUnitsOk() (*string, bool) { if o == nil || IsNil(o.Units) { return nil, false } @@ -193,8 +195,8 @@ func (o *DataMetricThreshold) HasUnits() bool { return false } -// SetUnits gets a reference to the given DataMetricUnits and assigns it to the Units field. -func (o *DataMetricThreshold) SetUnits(v DataMetricUnits) { +// SetUnits gets a reference to the given string and assigns it to the Units field. +func (o *DataMetricThreshold) SetUnits(v string) { o.Units = &v } diff --git a/admin/model_data_metric_units.go b/admin/model_data_metric_units.go deleted file mode 100644 index 649f4484..00000000 --- a/admin/model_data_metric_units.go +++ /dev/null @@ -1,82 +0,0 @@ -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package admin - -import ( - "encoding/json" - "fmt" -) - -// DataMetricUnits Element used to express the quantity. This can be an element of time, storage capacity, and the like. -type DataMetricUnits string - -// List of DataMetricUnits -const ( - DATAMETRICUNITS_BITS DataMetricUnits = "BITS" - DATAMETRICUNITS_KILOBITS DataMetricUnits = "KILOBITS" - DATAMETRICUNITS_MEGABITS DataMetricUnits = "MEGABITS" - DATAMETRICUNITS_GIGABITS DataMetricUnits = "GIGABITS" - DATAMETRICUNITS_BYTES DataMetricUnits = "BYTES" - DATAMETRICUNITS_KILOBYTES DataMetricUnits = "KILOBYTES" - DATAMETRICUNITS_MEGABYTES DataMetricUnits = "MEGABYTES" - DATAMETRICUNITS_GIGABYTES DataMetricUnits = "GIGABYTES" - DATAMETRICUNITS_TERABYTES DataMetricUnits = "TERABYTES" - DATAMETRICUNITS_PETABYTES DataMetricUnits = "PETABYTES" -) - -// All allowed values of DataMetricUnits enum -var AllowedDataMetricUnitsEnumValues = []DataMetricUnits{ - "BITS", - "KILOBITS", - "MEGABITS", - "GIGABITS", - "BYTES", - "KILOBYTES", - "MEGABYTES", - "GIGABYTES", - "TERABYTES", - "PETABYTES", -} - -func (v *DataMetricUnits) UnmarshalJSON(src []byte) error { - var value string - err := json.Unmarshal(src, &value) - if err != nil { - return err - } - enumTypeValue := DataMetricUnits(value) - for _, existing := range AllowedDataMetricUnitsEnumValues { - if existing == enumTypeValue { - *v = enumTypeValue - return nil - } - } - - return fmt.Errorf("%+v is not a valid DataMetricUnits", value) -} - -// NewDataMetricUnitsFromValue returns a pointer to a valid DataMetricUnits -// for the value passed as argument, or an error if the value passed is not allowed by the enum -func NewDataMetricUnitsFromValue(v string) (*DataMetricUnits, error) { - ev := DataMetricUnits(v) - if ev.IsValid() { - return &ev, nil - } else { - return nil, fmt.Errorf("invalid value '%v' for DataMetricUnits: valid values are %v", v, AllowedDataMetricUnitsEnumValues) - } -} - -// IsValid return true if the value is valid for the enum, false otherwise -func (v DataMetricUnits) IsValid() bool { - for _, existing := range AllowedDataMetricUnitsEnumValues { - if existing == v { - return true - } - } - return false -} - -// Ptr returns reference to DataMetricUnits value -func (v DataMetricUnits) Ptr() *DataMetricUnits { - return &v -} diff --git a/admin/model_event_view_for_nds_group.go b/admin/model_event_view_for_nds_group.go index 2d211cd4..c8133511 100644 --- a/admin/model_event_view_for_nds_group.go +++ b/admin/model_event_view_for_nds_group.go @@ -15,8 +15,9 @@ type EventViewForNdsGroup struct { // Unique 24-hexadecimal digit string that identifies the [API Key](https://dochub.mongodb.org/core/atlas-create-prog-api-key) that triggered the event. If this resource returns this parameter, it doesn't return the **userId** parameter. ApiKeyId *string `json:"apiKeyId,omitempty"` // Date and time when this event occurred. This parameter expresses its value in the ISO 8601 timestamp format in UTC. - Created *time.Time `json:"created,omitempty"` - EventTypeName *ResourceEventType `json:"eventTypeName,omitempty"` + Created *time.Time `json:"created,omitempty"` + // Unique identifier of event type. + EventTypeName *string `json:"eventTypeName,omitempty"` // Unique 24-hexadecimal digit string that identifies the project in which the event occurred. The **eventId** identifies the specific event. GroupId *string `json:"groupId,omitempty"` // Unique 24-hexadecimal digit string that identifies the event. @@ -157,9 +158,9 @@ func (o *EventViewForNdsGroup) SetCreated(v time.Time) { } // GetEventTypeName returns the EventTypeName field value if set, zero value otherwise. -func (o *EventViewForNdsGroup) GetEventTypeName() ResourceEventType { +func (o *EventViewForNdsGroup) GetEventTypeName() string { if o == nil || IsNil(o.EventTypeName) { - var ret ResourceEventType + var ret string return ret } return *o.EventTypeName @@ -167,7 +168,7 @@ func (o *EventViewForNdsGroup) GetEventTypeName() ResourceEventType { // GetEventTypeNameOk returns a tuple with the EventTypeName field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *EventViewForNdsGroup) GetEventTypeNameOk() (*ResourceEventType, bool) { +func (o *EventViewForNdsGroup) GetEventTypeNameOk() (*string, bool) { if o == nil || IsNil(o.EventTypeName) { return nil, false } @@ -183,8 +184,8 @@ func (o *EventViewForNdsGroup) HasEventTypeName() bool { return false } -// SetEventTypeName gets a reference to the given ResourceEventType and assigns it to the EventTypeName field. -func (o *EventViewForNdsGroup) SetEventTypeName(v ResourceEventType) { +// SetEventTypeName gets a reference to the given string and assigns it to the EventTypeName field. +func (o *EventViewForNdsGroup) SetEventTypeName(v string) { o.EventTypeName = &v } diff --git a/admin/model_event_view_for_org.go b/admin/model_event_view_for_org.go index 4fabc85e..3e4efb7d 100644 --- a/admin/model_event_view_for_org.go +++ b/admin/model_event_view_for_org.go @@ -15,8 +15,9 @@ type EventViewForOrg struct { // Unique 24-hexadecimal digit string that identifies the [API Key](https://dochub.mongodb.org/core/atlas-create-prog-api-key) that triggered the event. If this resource returns this parameter, it doesn't return the **userId** parameter. ApiKeyId *string `json:"apiKeyId,omitempty"` // Date and time when this event occurred. This parameter expresses its value in the ISO 8601 timestamp format in UTC. - Created *time.Time `json:"created,omitempty"` - EventTypeName *UserEventTypeViewForOrg `json:"eventTypeName,omitempty"` + Created *time.Time `json:"created,omitempty"` + // Unique identifier of event type. + EventTypeName *string `json:"eventTypeName,omitempty"` // Unique 24-hexadecimal digit string that identifies the project in which the event occurred. The **eventId** identifies the specific event. GroupId *string `json:"groupId,omitempty"` // Unique 24-hexadecimal digit string that identifies the event. @@ -134,9 +135,9 @@ func (o *EventViewForOrg) SetCreated(v time.Time) { } // GetEventTypeName returns the EventTypeName field value if set, zero value otherwise. -func (o *EventViewForOrg) GetEventTypeName() UserEventTypeViewForOrg { +func (o *EventViewForOrg) GetEventTypeName() string { if o == nil || IsNil(o.EventTypeName) { - var ret UserEventTypeViewForOrg + var ret string return ret } return *o.EventTypeName @@ -144,7 +145,7 @@ func (o *EventViewForOrg) GetEventTypeName() UserEventTypeViewForOrg { // GetEventTypeNameOk returns a tuple with the EventTypeName field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *EventViewForOrg) GetEventTypeNameOk() (*UserEventTypeViewForOrg, bool) { +func (o *EventViewForOrg) GetEventTypeNameOk() (*string, bool) { if o == nil || IsNil(o.EventTypeName) { return nil, false } @@ -160,8 +161,8 @@ func (o *EventViewForOrg) HasEventTypeName() bool { return false } -// SetEventTypeName gets a reference to the given UserEventTypeViewForOrg and assigns it to the EventTypeName field. -func (o *EventViewForOrg) SetEventTypeName(v UserEventTypeViewForOrg) { +// SetEventTypeName gets a reference to the given string and assigns it to the EventTypeName field. +func (o *EventViewForOrg) SetEventTypeName(v string) { o.EventTypeName = &v } diff --git a/admin/model_instance_size.go b/admin/model_instance_size.go deleted file mode 100644 index c54c6abe..00000000 --- a/admin/model_instance_size.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package admin - -import ( - "encoding/json" - "fmt" -) - -// InstanceSize Minimum instance size to which your cluster can automatically scale. MongoDB Cloud requires this parameter if `\"replicationSpecs[n].regionConfigs[m].autoScaling.compute.scaleDownEnabled\" : true`. -type InstanceSize string - -// List of InstanceSize -const ( - INSTANCESIZE_M10 InstanceSize = "M10" - INSTANCESIZE_M20 InstanceSize = "M20" - INSTANCESIZE_M30 InstanceSize = "M30" - INSTANCESIZE_M40 InstanceSize = "M40" - INSTANCESIZE_M50 InstanceSize = "M50" - INSTANCESIZE_M60 InstanceSize = "M60" - INSTANCESIZE_M80 InstanceSize = "M80" - INSTANCESIZE_M100 InstanceSize = "M100" - INSTANCESIZE_M140 InstanceSize = "M140" - INSTANCESIZE_M200 InstanceSize = "M200" - INSTANCESIZE_M300 InstanceSize = "M300" - INSTANCESIZE_R40 InstanceSize = "R40" - INSTANCESIZE_R50 InstanceSize = "R50" - INSTANCESIZE_R60 InstanceSize = "R60" - INSTANCESIZE_R80 InstanceSize = "R80" - INSTANCESIZE_R200 InstanceSize = "R200" - INSTANCESIZE_R300 InstanceSize = "R300" - INSTANCESIZE_R400 InstanceSize = "R400" - INSTANCESIZE_R700 InstanceSize = "R700" - INSTANCESIZE_M40_NVME InstanceSize = "M40_NVME" - INSTANCESIZE_M50_NVME InstanceSize = "M50_NVME" - INSTANCESIZE_M60_NVME InstanceSize = "M60_NVME" - INSTANCESIZE_M80_NVME InstanceSize = "M80_NVME" - INSTANCESIZE_M200_NVME InstanceSize = "M200_NVME" - INSTANCESIZE_M400_NVME InstanceSize = "M400_NVME" - INSTANCESIZE_M90 InstanceSize = "M90" - INSTANCESIZE_M300_NVME InstanceSize = "M300_NVME" - INSTANCESIZE_M600_NVME InstanceSize = "M600_NVME" - INSTANCESIZE_M250 InstanceSize = "M250" - INSTANCESIZE_M400 InstanceSize = "M400" - INSTANCESIZE_R600 InstanceSize = "R600" -) - -// All allowed values of InstanceSize enum -var AllowedInstanceSizeEnumValues = []InstanceSize{ - "M10", - "M20", - "M30", - "M40", - "M50", - "M60", - "M80", - "M100", - "M140", - "M200", - "M300", - "R40", - "R50", - "R60", - "R80", - "R200", - "R300", - "R400", - "R700", - "M40_NVME", - "M50_NVME", - "M60_NVME", - "M80_NVME", - "M200_NVME", - "M400_NVME", - "M90", - "M300_NVME", - "M600_NVME", - "M250", - "M400", - "R600", -} - -func (v *InstanceSize) UnmarshalJSON(src []byte) error { - var value string - err := json.Unmarshal(src, &value) - if err != nil { - return err - } - enumTypeValue := InstanceSize(value) - for _, existing := range AllowedInstanceSizeEnumValues { - if existing == enumTypeValue { - *v = enumTypeValue - return nil - } - } - - return fmt.Errorf("%+v is not a valid InstanceSize", value) -} - -// NewInstanceSizeFromValue returns a pointer to a valid InstanceSize -// for the value passed as argument, or an error if the value passed is not allowed by the enum -func NewInstanceSizeFromValue(v string) (*InstanceSize, error) { - ev := InstanceSize(v) - if ev.IsValid() { - return &ev, nil - } else { - return nil, fmt.Errorf("invalid value '%v' for InstanceSize: valid values are %v", v, AllowedInstanceSizeEnumValues) - } -} - -// IsValid return true if the value is valid for the enum, false otherwise -func (v InstanceSize) IsValid() bool { - for _, existing := range AllowedInstanceSizeEnumValues { - if existing == v { - return true - } - } - return false -} - -// Ptr returns reference to InstanceSize value -func (v InstanceSize) Ptr() *InstanceSize { - return &v -} diff --git a/admin/model_matcher_field.go b/admin/model_matcher_field.go deleted file mode 100644 index fa759e8f..00000000 --- a/admin/model_matcher_field.go +++ /dev/null @@ -1,78 +0,0 @@ -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package admin - -import ( - "encoding/json" - "fmt" -) - -// MatcherField the model 'MatcherField' -type MatcherField string - -// List of MatcherField -const ( - MATCHERFIELD_APPLICATION_ID MatcherField = "APPLICATION_ID" - MATCHERFIELD_CLUSTER_NAME MatcherField = "CLUSTER_NAME" - MATCHERFIELD_TYPE_NAME MatcherField = "TYPE_NAME" - MATCHERFIELD_HOSTNAME MatcherField = "HOSTNAME" - MATCHERFIELD_PORT MatcherField = "PORT" - MATCHERFIELD_HOSTNAME_AND_PORT MatcherField = "HOSTNAME_AND_PORT" - MATCHERFIELD_REPLICA_SET_NAME MatcherField = "REPLICA_SET_NAME" - MATCHERFIELD_SHARD_NAME MatcherField = "SHARD_NAME" -) - -// All allowed values of MatcherField enum -var AllowedMatcherFieldEnumValues = []MatcherField{ - "APPLICATION_ID", - "CLUSTER_NAME", - "TYPE_NAME", - "HOSTNAME", - "PORT", - "HOSTNAME_AND_PORT", - "REPLICA_SET_NAME", - "SHARD_NAME", -} - -func (v *MatcherField) UnmarshalJSON(src []byte) error { - var value string - err := json.Unmarshal(src, &value) - if err != nil { - return err - } - enumTypeValue := MatcherField(value) - for _, existing := range AllowedMatcherFieldEnumValues { - if existing == enumTypeValue { - *v = enumTypeValue - return nil - } - } - - return fmt.Errorf("%+v is not a valid MatcherField", value) -} - -// NewMatcherFieldFromValue returns a pointer to a valid MatcherField -// for the value passed as argument, or an error if the value passed is not allowed by the enum -func NewMatcherFieldFromValue(v string) (*MatcherField, error) { - ev := MatcherField(v) - if ev.IsValid() { - return &ev, nil - } else { - return nil, fmt.Errorf("invalid value '%v' for MatcherField: valid values are %v", v, AllowedMatcherFieldEnumValues) - } -} - -// IsValid return true if the value is valid for the enum, false otherwise -func (v MatcherField) IsValid() bool { - for _, existing := range AllowedMatcherFieldEnumValues { - if existing == v { - return true - } - } - return false -} - -// Ptr returns reference to MatcherField value -func (v MatcherField) Ptr() *MatcherField { - return &v -} diff --git a/admin/model_operator.go b/admin/model_operator.go deleted file mode 100644 index 6f895575..00000000 --- a/admin/model_operator.go +++ /dev/null @@ -1,66 +0,0 @@ -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package admin - -import ( - "encoding/json" - "fmt" -) - -// Operator Comparison operator to apply when checking the current metric value. -type Operator string - -// List of Operator -const ( - OPERATOR_LESS_THAN Operator = "<" - OPERATOR_GREATER_THAN Operator = ">" -) - -// All allowed values of Operator enum -var AllowedOperatorEnumValues = []Operator{ - "<", - ">", -} - -func (v *Operator) UnmarshalJSON(src []byte) error { - var value string - err := json.Unmarshal(src, &value) - if err != nil { - return err - } - enumTypeValue := Operator(value) - for _, existing := range AllowedOperatorEnumValues { - if existing == enumTypeValue { - *v = enumTypeValue - return nil - } - } - - return fmt.Errorf("%+v is not a valid Operator", value) -} - -// NewOperatorFromValue returns a pointer to a valid Operator -// for the value passed as argument, or an error if the value passed is not allowed by the enum -func NewOperatorFromValue(v string) (*Operator, error) { - ev := Operator(v) - if ev.IsValid() { - return &ev, nil - } else { - return nil, fmt.Errorf("invalid value '%v' for Operator: valid values are %v", v, AllowedOperatorEnumValues) - } -} - -// IsValid return true if the value is valid for the enum, false otherwise -func (v Operator) IsValid() bool { - for _, existing := range AllowedOperatorEnumValues { - if existing == v { - return true - } - } - return false -} - -// Ptr returns reference to Operator value -func (v Operator) Ptr() *Operator { - return &v -} diff --git a/admin/model_raw_metric_threshold.go b/admin/model_raw_metric_threshold.go index 3bcecf0c..0d2e2c45 100644 --- a/admin/model_raw_metric_threshold.go +++ b/admin/model_raw_metric_threshold.go @@ -14,11 +14,13 @@ type RawMetricThreshold struct { // Human-readable label that identifies the metric against which MongoDB Cloud checks the configured **metricThreshold.threshold**. MetricName *string `json:"metricName,omitempty"` // MongoDB Cloud computes the current metric value as an average. - Mode *string `json:"mode,omitempty"` - Operator *Operator `json:"operator,omitempty"` + Mode *string `json:"mode,omitempty"` + // Comparison operator to apply when checking the current metric value. + Operator *string `json:"operator,omitempty"` // Value of metric that, when exceeded, triggers an alert. - Threshold *float64 `json:"threshold,omitempty"` - Units *RawMetricUnits `json:"units,omitempty"` + Threshold *float64 `json:"threshold,omitempty"` + // Element used to express the quantity. This can be an element of time, storage capacity, and the like. + Units *string `json:"units,omitempty"` } // NewRawMetricThreshold instantiates a new RawMetricThreshold object @@ -27,7 +29,7 @@ type RawMetricThreshold struct { // will change when the set of required properties is changed func NewRawMetricThreshold() *RawMetricThreshold { this := RawMetricThreshold{} - var units RawMetricUnits = RAWMETRICUNITS_RAW + var units string = "RAW" this.Units = &units return &this } @@ -37,7 +39,7 @@ func NewRawMetricThreshold() *RawMetricThreshold { // but it doesn't guarantee that properties required by API are set func NewRawMetricThresholdWithDefaults() *RawMetricThreshold { this := RawMetricThreshold{} - var units RawMetricUnits = RAWMETRICUNITS_RAW + var units string = "RAW" this.Units = &units return &this } @@ -107,9 +109,9 @@ func (o *RawMetricThreshold) SetMode(v string) { } // GetOperator returns the Operator field value if set, zero value otherwise. -func (o *RawMetricThreshold) GetOperator() Operator { +func (o *RawMetricThreshold) GetOperator() string { if o == nil || IsNil(o.Operator) { - var ret Operator + var ret string return ret } return *o.Operator @@ -117,7 +119,7 @@ func (o *RawMetricThreshold) GetOperator() Operator { // GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RawMetricThreshold) GetOperatorOk() (*Operator, bool) { +func (o *RawMetricThreshold) GetOperatorOk() (*string, bool) { if o == nil || IsNil(o.Operator) { return nil, false } @@ -133,8 +135,8 @@ func (o *RawMetricThreshold) HasOperator() bool { return false } -// SetOperator gets a reference to the given Operator and assigns it to the Operator field. -func (o *RawMetricThreshold) SetOperator(v Operator) { +// SetOperator gets a reference to the given string and assigns it to the Operator field. +func (o *RawMetricThreshold) SetOperator(v string) { o.Operator = &v } @@ -171,9 +173,9 @@ func (o *RawMetricThreshold) SetThreshold(v float64) { } // GetUnits returns the Units field value if set, zero value otherwise. -func (o *RawMetricThreshold) GetUnits() RawMetricUnits { +func (o *RawMetricThreshold) GetUnits() string { if o == nil || IsNil(o.Units) { - var ret RawMetricUnits + var ret string return ret } return *o.Units @@ -181,7 +183,7 @@ func (o *RawMetricThreshold) GetUnits() RawMetricUnits { // GetUnitsOk returns a tuple with the Units field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RawMetricThreshold) GetUnitsOk() (*RawMetricUnits, bool) { +func (o *RawMetricThreshold) GetUnitsOk() (*string, bool) { if o == nil || IsNil(o.Units) { return nil, false } @@ -197,8 +199,8 @@ func (o *RawMetricThreshold) HasUnits() bool { return false } -// SetUnits gets a reference to the given RawMetricUnits and assigns it to the Units field. -func (o *RawMetricThreshold) SetUnits(v RawMetricUnits) { +// SetUnits gets a reference to the given string and assigns it to the Units field. +func (o *RawMetricThreshold) SetUnits(v string) { o.Units = &v } diff --git a/admin/model_raw_metric_units.go b/admin/model_raw_metric_units.go deleted file mode 100644 index 228b8170..00000000 --- a/admin/model_raw_metric_units.go +++ /dev/null @@ -1,64 +0,0 @@ -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package admin - -import ( - "encoding/json" - "fmt" -) - -// RawMetricUnits Element used to express the quantity. This can be an element of time, storage capacity, and the like. -type RawMetricUnits string - -// List of RawMetricUnits -const ( - RAWMETRICUNITS_RAW RawMetricUnits = "RAW" -) - -// All allowed values of RawMetricUnits enum -var AllowedRawMetricUnitsEnumValues = []RawMetricUnits{ - "RAW", -} - -func (v *RawMetricUnits) UnmarshalJSON(src []byte) error { - var value string - err := json.Unmarshal(src, &value) - if err != nil { - return err - } - enumTypeValue := RawMetricUnits(value) - for _, existing := range AllowedRawMetricUnitsEnumValues { - if existing == enumTypeValue { - *v = enumTypeValue - return nil - } - } - - return fmt.Errorf("%+v is not a valid RawMetricUnits", value) -} - -// NewRawMetricUnitsFromValue returns a pointer to a valid RawMetricUnits -// for the value passed as argument, or an error if the value passed is not allowed by the enum -func NewRawMetricUnitsFromValue(v string) (*RawMetricUnits, error) { - ev := RawMetricUnits(v) - if ev.IsValid() { - return &ev, nil - } else { - return nil, fmt.Errorf("invalid value '%v' for RawMetricUnits: valid values are %v", v, AllowedRawMetricUnitsEnumValues) - } -} - -// IsValid return true if the value is valid for the enum, false otherwise -func (v RawMetricUnits) IsValid() bool { - for _, existing := range AllowedRawMetricUnitsEnumValues { - if existing == v { - return true - } - } - return false -} - -// Ptr returns reference to RawMetricUnits value -func (v RawMetricUnits) Ptr() *RawMetricUnits { - return &v -} diff --git a/admin/model_resource_event_type.go b/admin/model_resource_event_type.go deleted file mode 100644 index 196a1cdf..00000000 --- a/admin/model_resource_event_type.go +++ /dev/null @@ -1,64 +0,0 @@ -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package admin - -import ( - "encoding/json" - "fmt" -) - -// ResourceEventType Unique identifier of event type. -type ResourceEventType string - -// List of ResourceEventType -const ( - RESOURCEEVENTTYPE_TAGS_MODIFIED ResourceEventType = "TAGS_MODIFIED" -) - -// All allowed values of ResourceEventType enum -var AllowedResourceEventTypeEnumValues = []ResourceEventType{ - "TAGS_MODIFIED", -} - -func (v *ResourceEventType) UnmarshalJSON(src []byte) error { - var value string - err := json.Unmarshal(src, &value) - if err != nil { - return err - } - enumTypeValue := ResourceEventType(value) - for _, existing := range AllowedResourceEventTypeEnumValues { - if existing == enumTypeValue { - *v = enumTypeValue - return nil - } - } - - return fmt.Errorf("%+v is not a valid ResourceEventType", value) -} - -// NewResourceEventTypeFromValue returns a pointer to a valid ResourceEventType -// for the value passed as argument, or an error if the value passed is not allowed by the enum -func NewResourceEventTypeFromValue(v string) (*ResourceEventType, error) { - ev := ResourceEventType(v) - if ev.IsValid() { - return &ev, nil - } else { - return nil, fmt.Errorf("invalid value '%v' for ResourceEventType: valid values are %v", v, AllowedResourceEventTypeEnumValues) - } -} - -// IsValid return true if the value is valid for the enum, false otherwise -func (v ResourceEventType) IsValid() bool { - for _, existing := range AllowedResourceEventTypeEnumValues { - if existing == v { - return true - } - } - return false -} - -// Ptr returns reference to ResourceEventType value -func (v ResourceEventType) Ptr() *ResourceEventType { - return &v -} diff --git a/admin/model_rpu_metric_threshold.go b/admin/model_rpu_metric_threshold.go index 7c34a289..63b5776c 100644 --- a/admin/model_rpu_metric_threshold.go +++ b/admin/model_rpu_metric_threshold.go @@ -14,11 +14,13 @@ type RPUMetricThreshold struct { // Human-readable label that identifies the metric against which MongoDB Cloud checks the configured **metricThreshold.threshold**. MetricName *string `json:"metricName,omitempty"` // MongoDB Cloud computes the current metric value as an average. - Mode *string `json:"mode,omitempty"` - Operator *Operator `json:"operator,omitempty"` + Mode *string `json:"mode,omitempty"` + // Comparison operator to apply when checking the current metric value. + Operator *string `json:"operator,omitempty"` // Value of metric that, when exceeded, triggers an alert. - Threshold *float64 `json:"threshold,omitempty"` - Units *ServerlessMetricUnits `json:"units,omitempty"` + Threshold *float64 `json:"threshold,omitempty"` + // Element used to express the quantity. This can be an element of time, storage capacity, and the like. + Units *string `json:"units,omitempty"` } // NewRPUMetricThreshold instantiates a new RPUMetricThreshold object @@ -103,9 +105,9 @@ func (o *RPUMetricThreshold) SetMode(v string) { } // GetOperator returns the Operator field value if set, zero value otherwise. -func (o *RPUMetricThreshold) GetOperator() Operator { +func (o *RPUMetricThreshold) GetOperator() string { if o == nil || IsNil(o.Operator) { - var ret Operator + var ret string return ret } return *o.Operator @@ -113,7 +115,7 @@ func (o *RPUMetricThreshold) GetOperator() Operator { // GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RPUMetricThreshold) GetOperatorOk() (*Operator, bool) { +func (o *RPUMetricThreshold) GetOperatorOk() (*string, bool) { if o == nil || IsNil(o.Operator) { return nil, false } @@ -129,8 +131,8 @@ func (o *RPUMetricThreshold) HasOperator() bool { return false } -// SetOperator gets a reference to the given Operator and assigns it to the Operator field. -func (o *RPUMetricThreshold) SetOperator(v Operator) { +// SetOperator gets a reference to the given string and assigns it to the Operator field. +func (o *RPUMetricThreshold) SetOperator(v string) { o.Operator = &v } @@ -167,9 +169,9 @@ func (o *RPUMetricThreshold) SetThreshold(v float64) { } // GetUnits returns the Units field value if set, zero value otherwise. -func (o *RPUMetricThreshold) GetUnits() ServerlessMetricUnits { +func (o *RPUMetricThreshold) GetUnits() string { if o == nil || IsNil(o.Units) { - var ret ServerlessMetricUnits + var ret string return ret } return *o.Units @@ -177,7 +179,7 @@ func (o *RPUMetricThreshold) GetUnits() ServerlessMetricUnits { // GetUnitsOk returns a tuple with the Units field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RPUMetricThreshold) GetUnitsOk() (*ServerlessMetricUnits, bool) { +func (o *RPUMetricThreshold) GetUnitsOk() (*string, bool) { if o == nil || IsNil(o.Units) { return nil, false } @@ -193,8 +195,8 @@ func (o *RPUMetricThreshold) HasUnits() bool { return false } -// SetUnits gets a reference to the given ServerlessMetricUnits and assigns it to the Units field. -func (o *RPUMetricThreshold) SetUnits(v ServerlessMetricUnits) { +// SetUnits gets a reference to the given string and assigns it to the Units field. +func (o *RPUMetricThreshold) SetUnits(v string) { o.Units = &v } diff --git a/admin/model_serverless_event_type_view_alertable.go b/admin/model_serverless_event_type_view_alertable.go deleted file mode 100644 index b2f42e4d..00000000 --- a/admin/model_serverless_event_type_view_alertable.go +++ /dev/null @@ -1,64 +0,0 @@ -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package admin - -import ( - "encoding/json" - "fmt" -) - -// ServerlessEventTypeViewAlertable Event type that triggers an alert. -type ServerlessEventTypeViewAlertable string - -// List of ServerlessEventTypeViewAlertable -const ( - SERVERLESSEVENTTYPEVIEWALERTABLE_OUTSIDE_SERVERLESS_METRIC_THRESHOLD ServerlessEventTypeViewAlertable = "OUTSIDE_SERVERLESS_METRIC_THRESHOLD" -) - -// All allowed values of ServerlessEventTypeViewAlertable enum -var AllowedServerlessEventTypeViewAlertableEnumValues = []ServerlessEventTypeViewAlertable{ - "OUTSIDE_SERVERLESS_METRIC_THRESHOLD", -} - -func (v *ServerlessEventTypeViewAlertable) UnmarshalJSON(src []byte) error { - var value string - err := json.Unmarshal(src, &value) - if err != nil { - return err - } - enumTypeValue := ServerlessEventTypeViewAlertable(value) - for _, existing := range AllowedServerlessEventTypeViewAlertableEnumValues { - if existing == enumTypeValue { - *v = enumTypeValue - return nil - } - } - - return fmt.Errorf("%+v is not a valid ServerlessEventTypeViewAlertable", value) -} - -// NewServerlessEventTypeViewAlertableFromValue returns a pointer to a valid ServerlessEventTypeViewAlertable -// for the value passed as argument, or an error if the value passed is not allowed by the enum -func NewServerlessEventTypeViewAlertableFromValue(v string) (*ServerlessEventTypeViewAlertable, error) { - ev := ServerlessEventTypeViewAlertable(v) - if ev.IsValid() { - return &ev, nil - } else { - return nil, fmt.Errorf("invalid value '%v' for ServerlessEventTypeViewAlertable: valid values are %v", v, AllowedServerlessEventTypeViewAlertableEnumValues) - } -} - -// IsValid return true if the value is valid for the enum, false otherwise -func (v ServerlessEventTypeViewAlertable) IsValid() bool { - for _, existing := range AllowedServerlessEventTypeViewAlertableEnumValues { - if existing == v { - return true - } - } - return false -} - -// Ptr returns reference to ServerlessEventTypeViewAlertable value -func (v ServerlessEventTypeViewAlertable) Ptr() *ServerlessEventTypeViewAlertable { - return &v -} diff --git a/admin/model_serverless_metric_units.go b/admin/model_serverless_metric_units.go deleted file mode 100644 index 5235514b..00000000 --- a/admin/model_serverless_metric_units.go +++ /dev/null @@ -1,74 +0,0 @@ -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package admin - -import ( - "encoding/json" - "fmt" -) - -// ServerlessMetricUnits Element used to express the quantity. This can be an element of time, storage capacity, and the like. -type ServerlessMetricUnits string - -// List of ServerlessMetricUnits -const ( - SERVERLESSMETRICUNITS_RPU ServerlessMetricUnits = "RPU" - SERVERLESSMETRICUNITS_THOUSAND_RPU ServerlessMetricUnits = "THOUSAND_RPU" - SERVERLESSMETRICUNITS_MILLION_RPU ServerlessMetricUnits = "MILLION_RPU" - SERVERLESSMETRICUNITS_WPU ServerlessMetricUnits = "WPU" - SERVERLESSMETRICUNITS_THOUSAND_WPU ServerlessMetricUnits = "THOUSAND_WPU" - SERVERLESSMETRICUNITS_MILLION_WPU ServerlessMetricUnits = "MILLION_WPU" -) - -// All allowed values of ServerlessMetricUnits enum -var AllowedServerlessMetricUnitsEnumValues = []ServerlessMetricUnits{ - "RPU", - "THOUSAND_RPU", - "MILLION_RPU", - "WPU", - "THOUSAND_WPU", - "MILLION_WPU", -} - -func (v *ServerlessMetricUnits) UnmarshalJSON(src []byte) error { - var value string - err := json.Unmarshal(src, &value) - if err != nil { - return err - } - enumTypeValue := ServerlessMetricUnits(value) - for _, existing := range AllowedServerlessMetricUnitsEnumValues { - if existing == enumTypeValue { - *v = enumTypeValue - return nil - } - } - - return fmt.Errorf("%+v is not a valid ServerlessMetricUnits", value) -} - -// NewServerlessMetricUnitsFromValue returns a pointer to a valid ServerlessMetricUnits -// for the value passed as argument, or an error if the value passed is not allowed by the enum -func NewServerlessMetricUnitsFromValue(v string) (*ServerlessMetricUnits, error) { - ev := ServerlessMetricUnits(v) - if ev.IsValid() { - return &ev, nil - } else { - return nil, fmt.Errorf("invalid value '%v' for ServerlessMetricUnits: valid values are %v", v, AllowedServerlessMetricUnitsEnumValues) - } -} - -// IsValid return true if the value is valid for the enum, false otherwise -func (v ServerlessMetricUnits) IsValid() bool { - for _, existing := range AllowedServerlessMetricUnitsEnumValues { - if existing == v { - return true - } - } - return false -} - -// Ptr returns reference to ServerlessMetricUnits value -func (v ServerlessMetricUnits) Ptr() *ServerlessMetricUnits { - return &v -} diff --git a/admin/model_threshold_view_integer.go b/admin/model_threshold_view_integer.go index dc77c53e..75f891d2 100644 --- a/admin/model_threshold_view_integer.go +++ b/admin/model_threshold_view_integer.go @@ -11,7 +11,8 @@ var _ MappedNullable = &ThresholdViewInteger{} // ThresholdViewInteger A Limit that triggers an alert when exceeded. The resource returns this parameter when **eventTypeName** has not been set to `OUTSIDE_METRIC_THRESHOLD`. type ThresholdViewInteger struct { - Operator *Operator `json:"operator,omitempty"` + // Comparison operator to apply when checking the current metric value. + Operator *string `json:"operator,omitempty"` // Value of metric that, when exceeded, triggers an alert. Threshold *int `json:"threshold,omitempty"` // Element used to express the quantity. This can be an element of time, storage capacity, and the like. @@ -36,9 +37,9 @@ func NewThresholdViewIntegerWithDefaults() *ThresholdViewInteger { } // GetOperator returns the Operator field value if set, zero value otherwise. -func (o *ThresholdViewInteger) GetOperator() Operator { +func (o *ThresholdViewInteger) GetOperator() string { if o == nil || IsNil(o.Operator) { - var ret Operator + var ret string return ret } return *o.Operator @@ -46,7 +47,7 @@ func (o *ThresholdViewInteger) GetOperator() Operator { // GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ThresholdViewInteger) GetOperatorOk() (*Operator, bool) { +func (o *ThresholdViewInteger) GetOperatorOk() (*string, bool) { if o == nil || IsNil(o.Operator) { return nil, false } @@ -62,8 +63,8 @@ func (o *ThresholdViewInteger) HasOperator() bool { return false } -// SetOperator gets a reference to the given Operator and assigns it to the Operator field. -func (o *ThresholdViewInteger) SetOperator(v Operator) { +// SetOperator gets a reference to the given string and assigns it to the Operator field. +func (o *ThresholdViewInteger) SetOperator(v string) { o.Operator = &v } diff --git a/admin/model_time_metric_threshold.go b/admin/model_time_metric_threshold.go index 869a3281..63e58cd4 100644 --- a/admin/model_time_metric_threshold.go +++ b/admin/model_time_metric_threshold.go @@ -14,11 +14,13 @@ type TimeMetricThreshold struct { // Human-readable label that identifies the metric against which MongoDB Cloud checks the configured **metricThreshold.threshold**. MetricName *string `json:"metricName,omitempty"` // MongoDB Cloud computes the current metric value as an average. - Mode *string `json:"mode,omitempty"` - Operator *Operator `json:"operator,omitempty"` + Mode *string `json:"mode,omitempty"` + // Comparison operator to apply when checking the current metric value. + Operator *string `json:"operator,omitempty"` // Value of metric that, when exceeded, triggers an alert. - Threshold *float64 `json:"threshold,omitempty"` - Units *TimeMetricUnits `json:"units,omitempty"` + Threshold *float64 `json:"threshold,omitempty"` + // Element used to express the quantity. This can be an element of time, storage capacity, and the like. + Units *string `json:"units,omitempty"` } // NewTimeMetricThreshold instantiates a new TimeMetricThreshold object @@ -27,7 +29,7 @@ type TimeMetricThreshold struct { // will change when the set of required properties is changed func NewTimeMetricThreshold() *TimeMetricThreshold { this := TimeMetricThreshold{} - var units TimeMetricUnits = TIMEMETRICUNITS_HOURS + var units string = "HOURS" this.Units = &units return &this } @@ -37,7 +39,7 @@ func NewTimeMetricThreshold() *TimeMetricThreshold { // but it doesn't guarantee that properties required by API are set func NewTimeMetricThresholdWithDefaults() *TimeMetricThreshold { this := TimeMetricThreshold{} - var units TimeMetricUnits = TIMEMETRICUNITS_HOURS + var units string = "HOURS" this.Units = &units return &this } @@ -107,9 +109,9 @@ func (o *TimeMetricThreshold) SetMode(v string) { } // GetOperator returns the Operator field value if set, zero value otherwise. -func (o *TimeMetricThreshold) GetOperator() Operator { +func (o *TimeMetricThreshold) GetOperator() string { if o == nil || IsNil(o.Operator) { - var ret Operator + var ret string return ret } return *o.Operator @@ -117,7 +119,7 @@ func (o *TimeMetricThreshold) GetOperator() Operator { // GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TimeMetricThreshold) GetOperatorOk() (*Operator, bool) { +func (o *TimeMetricThreshold) GetOperatorOk() (*string, bool) { if o == nil || IsNil(o.Operator) { return nil, false } @@ -133,8 +135,8 @@ func (o *TimeMetricThreshold) HasOperator() bool { return false } -// SetOperator gets a reference to the given Operator and assigns it to the Operator field. -func (o *TimeMetricThreshold) SetOperator(v Operator) { +// SetOperator gets a reference to the given string and assigns it to the Operator field. +func (o *TimeMetricThreshold) SetOperator(v string) { o.Operator = &v } @@ -171,9 +173,9 @@ func (o *TimeMetricThreshold) SetThreshold(v float64) { } // GetUnits returns the Units field value if set, zero value otherwise. -func (o *TimeMetricThreshold) GetUnits() TimeMetricUnits { +func (o *TimeMetricThreshold) GetUnits() string { if o == nil || IsNil(o.Units) { - var ret TimeMetricUnits + var ret string return ret } return *o.Units @@ -181,7 +183,7 @@ func (o *TimeMetricThreshold) GetUnits() TimeMetricUnits { // GetUnitsOk returns a tuple with the Units field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TimeMetricThreshold) GetUnitsOk() (*TimeMetricUnits, bool) { +func (o *TimeMetricThreshold) GetUnitsOk() (*string, bool) { if o == nil || IsNil(o.Units) { return nil, false } @@ -197,8 +199,8 @@ func (o *TimeMetricThreshold) HasUnits() bool { return false } -// SetUnits gets a reference to the given TimeMetricUnits and assigns it to the Units field. -func (o *TimeMetricThreshold) SetUnits(v TimeMetricUnits) { +// SetUnits gets a reference to the given string and assigns it to the Units field. +func (o *TimeMetricThreshold) SetUnits(v string) { o.Units = &v } diff --git a/admin/model_time_metric_units.go b/admin/model_time_metric_units.go deleted file mode 100644 index 4448abbb..00000000 --- a/admin/model_time_metric_units.go +++ /dev/null @@ -1,76 +0,0 @@ -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package admin - -import ( - "encoding/json" - "fmt" -) - -// TimeMetricUnits Element used to express the quantity. This can be an element of time, storage capacity, and the like. -type TimeMetricUnits string - -// List of TimeMetricUnits -const ( - TIMEMETRICUNITS_NANOSECONDS TimeMetricUnits = "NANOSECONDS" - TIMEMETRICUNITS_MILLISECONDS TimeMetricUnits = "MILLISECONDS" - TIMEMETRICUNITS_MILLION_MINUTES TimeMetricUnits = "MILLION_MINUTES" - TIMEMETRICUNITS_SECONDS TimeMetricUnits = "SECONDS" - TIMEMETRICUNITS_MINUTES TimeMetricUnits = "MINUTES" - TIMEMETRICUNITS_HOURS TimeMetricUnits = "HOURS" - TIMEMETRICUNITS_DAYS TimeMetricUnits = "DAYS" -) - -// All allowed values of TimeMetricUnits enum -var AllowedTimeMetricUnitsEnumValues = []TimeMetricUnits{ - "NANOSECONDS", - "MILLISECONDS", - "MILLION_MINUTES", - "SECONDS", - "MINUTES", - "HOURS", - "DAYS", -} - -func (v *TimeMetricUnits) UnmarshalJSON(src []byte) error { - var value string - err := json.Unmarshal(src, &value) - if err != nil { - return err - } - enumTypeValue := TimeMetricUnits(value) - for _, existing := range AllowedTimeMetricUnitsEnumValues { - if existing == enumTypeValue { - *v = enumTypeValue - return nil - } - } - - return fmt.Errorf("%+v is not a valid TimeMetricUnits", value) -} - -// NewTimeMetricUnitsFromValue returns a pointer to a valid TimeMetricUnits -// for the value passed as argument, or an error if the value passed is not allowed by the enum -func NewTimeMetricUnitsFromValue(v string) (*TimeMetricUnits, error) { - ev := TimeMetricUnits(v) - if ev.IsValid() { - return &ev, nil - } else { - return nil, fmt.Errorf("invalid value '%v' for TimeMetricUnits: valid values are %v", v, AllowedTimeMetricUnitsEnumValues) - } -} - -// IsValid return true if the value is valid for the enum, false otherwise -func (v TimeMetricUnits) IsValid() bool { - for _, existing := range AllowedTimeMetricUnitsEnumValues { - if existing == v { - return true - } - } - return false -} - -// Ptr returns reference to TimeMetricUnits value -func (v TimeMetricUnits) Ptr() *TimeMetricUnits { - return &v -} diff --git a/admin/model_user_event_type_view_for_org.go b/admin/model_user_event_type_view_for_org.go deleted file mode 100644 index 49768c89..00000000 --- a/admin/model_user_event_type_view_for_org.go +++ /dev/null @@ -1,80 +0,0 @@ -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package admin - -import ( - "encoding/json" - "fmt" -) - -// UserEventTypeViewForOrg Unique identifier of event type. -type UserEventTypeViewForOrg string - -// List of UserEventTypeViewForOrg -const ( - USEREVENTTYPEVIEWFORORG_JOINED_ORG UserEventTypeViewForOrg = "JOINED_ORG" - USEREVENTTYPEVIEWFORORG_JOINED_TEAM UserEventTypeViewForOrg = "JOINED_TEAM" - USEREVENTTYPEVIEWFORORG_INVITED_TO_ORG UserEventTypeViewForOrg = "INVITED_TO_ORG" - USEREVENTTYPEVIEWFORORG_ORG_INVITATION_DELETED UserEventTypeViewForOrg = "ORG_INVITATION_DELETED" - USEREVENTTYPEVIEWFORORG_REMOVED_FROM_ORG UserEventTypeViewForOrg = "REMOVED_FROM_ORG" - USEREVENTTYPEVIEWFORORG_REMOVED_FROM_TEAM UserEventTypeViewForOrg = "REMOVED_FROM_TEAM" - USEREVENTTYPEVIEWFORORG_USER_ROLES_CHANGED_AUDIT UserEventTypeViewForOrg = "USER_ROLES_CHANGED_AUDIT" - USEREVENTTYPEVIEWFORORG_ORG_FLEX_CONSULTING_PURCHASED UserEventTypeViewForOrg = "ORG_FLEX_CONSULTING_PURCHASED" - USEREVENTTYPEVIEWFORORG_ORG_FLEX_CONSULTING_PURCHASE_FAILED UserEventTypeViewForOrg = "ORG_FLEX_CONSULTING_PURCHASE_FAILED" -) - -// All allowed values of UserEventTypeViewForOrg enum -var AllowedUserEventTypeViewForOrgEnumValues = []UserEventTypeViewForOrg{ - "JOINED_ORG", - "JOINED_TEAM", - "INVITED_TO_ORG", - "ORG_INVITATION_DELETED", - "REMOVED_FROM_ORG", - "REMOVED_FROM_TEAM", - "USER_ROLES_CHANGED_AUDIT", - "ORG_FLEX_CONSULTING_PURCHASED", - "ORG_FLEX_CONSULTING_PURCHASE_FAILED", -} - -func (v *UserEventTypeViewForOrg) UnmarshalJSON(src []byte) error { - var value string - err := json.Unmarshal(src, &value) - if err != nil { - return err - } - enumTypeValue := UserEventTypeViewForOrg(value) - for _, existing := range AllowedUserEventTypeViewForOrgEnumValues { - if existing == enumTypeValue { - *v = enumTypeValue - return nil - } - } - - return fmt.Errorf("%+v is not a valid UserEventTypeViewForOrg", value) -} - -// NewUserEventTypeViewForOrgFromValue returns a pointer to a valid UserEventTypeViewForOrg -// for the value passed as argument, or an error if the value passed is not allowed by the enum -func NewUserEventTypeViewForOrgFromValue(v string) (*UserEventTypeViewForOrg, error) { - ev := UserEventTypeViewForOrg(v) - if ev.IsValid() { - return &ev, nil - } else { - return nil, fmt.Errorf("invalid value '%v' for UserEventTypeViewForOrg: valid values are %v", v, AllowedUserEventTypeViewForOrgEnumValues) - } -} - -// IsValid return true if the value is valid for the enum, false otherwise -func (v UserEventTypeViewForOrg) IsValid() bool { - for _, existing := range AllowedUserEventTypeViewForOrgEnumValues { - if existing == v { - return true - } - } - return false -} - -// Ptr returns reference to UserEventTypeViewForOrg value -func (v UserEventTypeViewForOrg) Ptr() *UserEventTypeViewForOrg { - return &v -} diff --git a/docs/README.md b/docs/README.md index 9f0308fc..2809fc04 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,8 +1,8 @@ -# Atlas Go SDK Documentation +# Atlas SDK GO documentation -* [Learn Concepts for the Atlas Go SDK](./doc_1_concepts.md#concepts-used-in-atlas-sdk-go) +* [Learn Concepts for the Atlas Go SDK](./doc_1_concepts.md#learn-concepts-for-the-atlas-go-sdk) * [Introduction](./doc_1_concepts.md#introduction) - * [Fetching Data from the Backend](./doc_1_concepts.md#fetching-data-from-the-backend) + * [Fetching Data from the Back End](./doc_1_concepts.md#fetching-data-from-the-back-end) * [Performing Data Modification](./doc_1_concepts.md#performing-data-modification) * [Example](./doc_1_concepts.md#example) @@ -12,18 +12,17 @@ * [Error Handling](./doc_2_error_handling.md#error-handling) * [Fetching Error Object](./doc_2_error_handling.md#fetching-error-object) - * [Checking for existence of specific error code](./doc_2_error_handling.md#checking-for-existence-of-specific-error-code) + * [Checking for the Existence of a Specific Error Code](./doc_2_error_handling.md#checking-for-the-existence-of-a-specific-error-code) -* [Migrate from the Go HTTP Client to the Atlas Go SDK](./doc_3_migration.md#migration-guide) - * [Summary](./doc_3_migration.md#summary) +* [Migrate from the Go HTTP Client to the Atlas Go SDK](./doc_3_migration.md#migrate-from-the-go-http-client-to-the-atlas-go-sdk) * [Background](./doc_3_migration.md#background) - * [Structural changes](./doc_3_migration.md#structural-changes) + * [Structural Changes](./doc_3_migration.md#structural-changes) * [Client Initialization](./doc_3_migration.md#client-initialization) - * [Error handling](./doc_3_migration.md#error-handling) - * [Format of the API interface](./doc_3_migration.md#format-of-the-api-interface) - * [Different naming conventions for SDK methods](./doc_3_migration.md#different-naming-conventions-for-sdk-methods) - * [Multiple choices when creating request body objects](./doc_3_migration.md#multiple-choices-when-creating-request-body-objects) + * [Error Handling](./doc_3_migration.md#error-handling) + * [Format of the API Interface](./doc_3_migration.md#format-of-the-api-interface) + * [Different Naming Conventions for SDK Methods](./doc_3_migration.md#different-naming-conventions-for-sdk-methods) + * [Multiple Choices when Creating Request Body Objects](./doc_3_migration.md#multiple-choices-when-creating-request-body-objects) -* [Authentication](./doc_4_authentication.md#authentication) +* [Authenticate using the Atlas Go SDK](./doc_4_authentication.md#authenticate-using-the-atlas-go-sdk) diff --git a/docs/doc_1_reference.md b/docs/doc_1_reference.md index 16ef49a9..fa5b7155 100644 --- a/docs/doc_1_reference.md +++ b/docs/doc_1_reference.md @@ -420,14 +420,12 @@ Class | Method | HTTP request | Description - [DataLakeDatabaseDataSource](docs/DataLakeDatabaseDataSource.md) - [DataLakeHTTPStore](docs/DataLakeHTTPStore.md) - [DataLakeOnlineArchiveStore](docs/DataLakeOnlineArchiveStore.md) - - [DataLakeRegion](docs/DataLakeRegion.md) - [DataLakeS3Store](docs/DataLakeS3Store.md) - [DataLakeStorage](docs/DataLakeStorage.md) - [DataLakeStore](docs/DataLakeStore.md) - [DataLakeTenant](docs/DataLakeTenant.md) - [DataLakeView](docs/DataLakeView.md) - [DataMetricThreshold](docs/DataMetricThreshold.md) - - [DataMetricUnits](docs/DataMetricUnits.md) - [DataProtectionSettings](docs/DataProtectionSettings.md) - [Database](docs/Database.md) - [DatabaseUser](docs/DatabaseUser.md) @@ -506,7 +504,6 @@ Class | Method | HTTP request | Description - [IngestionSink](docs/IngestionSink.md) - [IngestionSource](docs/IngestionSource.md) - [InheritedRole](docs/InheritedRole.md) - - [InstanceSize](docs/InstanceSize.md) - [Integration](docs/Integration.md) - [Invoice](docs/Invoice.md) - [Key](docs/Key.md) @@ -521,7 +518,6 @@ Class | Method | HTTP request | Description - [LiveMigrationResponse](docs/LiveMigrationResponse.md) - [ManagedNamespace](docs/ManagedNamespace.md) - [ManagedNamespaces](docs/ManagedNamespaces.md) - - [MatcherField](docs/MatcherField.md) - [Measurement](docs/Measurement.md) - [MeasurementViewAtlas](docs/MeasurementViewAtlas.md) - [MeasurementsGeneralViewAtlas](docs/MeasurementsGeneralViewAtlas.md) @@ -549,7 +545,6 @@ Class | Method | HTTP request | Description - [OnDemandCpsSnapshotSource](docs/OnDemandCpsSnapshotSource.md) - [OnlineArchive](docs/OnlineArchive.md) - [OnlineArchiveSchedule](docs/OnlineArchiveSchedule.md) - - [Operator](docs/Operator.md) - [OpsGenie](docs/OpsGenie.md) - [OpsGenieNotification](docs/OpsGenieNotification.md) - [OrgFederationSettings](docs/OrgFederationSettings.md) @@ -626,12 +621,10 @@ Class | Method | HTTP request | Description - [RPUMetricThreshold](docs/RPUMetricThreshold.md) - [Raw](docs/Raw.md) - [RawMetricThreshold](docs/RawMetricThreshold.md) - - [RawMetricUnits](docs/RawMetricUnits.md) - [Refund](docs/Refund.md) - [RegionConfig](docs/RegionConfig.md) - [RegionSpec](docs/RegionSpec.md) - [ReplicationSpec](docs/ReplicationSpec.md) - - [ResourceEventType](docs/ResourceEventType.md) - [RestoreJob](docs/RestoreJob.md) - [RestoreJobDelivery](docs/RestoreJobDelivery.md) - [RestoreJobFileHash](docs/RestoreJobFileHash.md) @@ -648,7 +641,6 @@ Class | Method | HTTP request | Description - [ServerlessBackupOptions](docs/ServerlessBackupOptions.md) - [ServerlessBackupRestoreJob](docs/ServerlessBackupRestoreJob.md) - [ServerlessBackupSnapshot](docs/ServerlessBackupSnapshot.md) - - [ServerlessEventTypeViewAlertable](docs/ServerlessEventTypeViewAlertable.md) - [ServerlessInstanceDescription](docs/ServerlessInstanceDescription.md) - [ServerlessInstanceDescriptionConnectionStrings](docs/ServerlessInstanceDescriptionConnectionStrings.md) - [ServerlessInstanceDescriptionConnectionStringsPrivateEndpoint](docs/ServerlessInstanceDescriptionConnectionStringsPrivateEndpoint.md) @@ -656,7 +648,6 @@ Class | Method | HTTP request | Description - [ServerlessInstanceDescriptionCreate](docs/ServerlessInstanceDescriptionCreate.md) - [ServerlessInstanceDescriptionUpdate](docs/ServerlessInstanceDescriptionUpdate.md) - [ServerlessMetricThreshold](docs/ServerlessMetricThreshold.md) - - [ServerlessMetricUnits](docs/ServerlessMetricUnits.md) - [ServerlessProviderSettings](docs/ServerlessProviderSettings.md) - [ServerlessTenantEndpoint](docs/ServerlessTenantEndpoint.md) - [ServerlessTenantEndpointCreate](docs/ServerlessTenantEndpointCreate.md) @@ -681,7 +672,6 @@ Class | Method | HTTP request | Description - [TenantSnapshot](docs/TenantSnapshot.md) - [ThresholdViewInteger](docs/ThresholdViewInteger.md) - [TimeMetricThreshold](docs/TimeMetricThreshold.md) - - [TimeMetricUnits](docs/TimeMetricUnits.md) - [Toggle](docs/Toggle.md) - [TokenFilterasciiFolding](docs/TokenFilterasciiFolding.md) - [TokenFilterdaitchMokotoffSoundex](docs/TokenFilterdaitchMokotoffSoundex.md) @@ -709,7 +699,6 @@ Class | Method | HTTP request | Description - [UpdateCustomDBRole](docs/UpdateCustomDBRole.md) - [UserAccessList](docs/UserAccessList.md) - [UserCert](docs/UserCert.md) - - [UserEventTypeViewForOrg](docs/UserEventTypeViewForOrg.md) - [UserNotification](docs/UserNotification.md) - [UserRoleAssignment](docs/UserRoleAssignment.md) - [UserScope](docs/UserScope.md) diff --git a/docs/docs/AlertConfigViewForNdsGroup.md b/docs/docs/AlertConfigViewForNdsGroup.md index 4b725b85..77e2dce8 100644 --- a/docs/docs/AlertConfigViewForNdsGroup.md +++ b/docs/docs/AlertConfigViewForNdsGroup.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Created** | Pointer to **time.Time** | Date and time when MongoDB Cloud created the alert configuration. This parameter expresses its value in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\" rel=\"noopener noreferrer\">ISO 8601</a> timestamp format in UTC. | [optional] [readonly] **Enabled** | Pointer to **bool** | Flag that indicates whether someone enabled this alert configuration for the specified project. | [optional] [default to false] -**EventTypeName** | Pointer to [**ServerlessEventTypeViewAlertable**](ServerlessEventTypeViewAlertable.md) | | [optional] +**EventTypeName** | Pointer to **string** | Event type that triggers an alert. | [optional] **GroupId** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the project that owns this alert configuration. | [optional] [readonly] **Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies this alert configuration. | [optional] [readonly] **Links** | Pointer to [**[]Link**](Link.md) | List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. | [optional] [readonly] @@ -87,20 +87,20 @@ HasEnabled returns a boolean if a field has been set. ### GetEventTypeName -`func (o *AlertConfigViewForNdsGroup) GetEventTypeName() ServerlessEventTypeViewAlertable` +`func (o *AlertConfigViewForNdsGroup) GetEventTypeName() string` GetEventTypeName returns the EventTypeName field if non-nil, zero value otherwise. ### GetEventTypeNameOk -`func (o *AlertConfigViewForNdsGroup) GetEventTypeNameOk() (*ServerlessEventTypeViewAlertable, bool)` +`func (o *AlertConfigViewForNdsGroup) GetEventTypeNameOk() (*string, bool)` GetEventTypeNameOk returns a tuple with the EventTypeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEventTypeName -`func (o *AlertConfigViewForNdsGroup) SetEventTypeName(v ServerlessEventTypeViewAlertable)` +`func (o *AlertConfigViewForNdsGroup) SetEventTypeName(v string)` SetEventTypeName sets EventTypeName field to given value. diff --git a/docs/docs/AlertConfigurationsApi.md b/docs/docs/AlertConfigurationsApi.md index ca24e1e4..cdd7d843 100644 --- a/docs/docs/AlertConfigurationsApi.md +++ b/docs/docs/AlertConfigurationsApi.md @@ -245,7 +245,7 @@ Name | Type | Description | Notes ## ListAlertConfigurationMatchersFieldNames -> []MatcherField ListAlertConfigurationMatchersFieldNames(ctx).Execute() +> []string ListAlertConfigurationMatchersFieldNames(ctx).Execute() Get All Alert Configuration Matchers Field Names @@ -277,7 +277,7 @@ func main() { apiError := admin.AsError(err) fmt.Fprintf(os.Stderr, "Error obj: %v\n", apiError) } - // response from `ListAlertConfigurationMatchersFieldNames`: []MatcherField + // response from `ListAlertConfigurationMatchersFieldNames`: []string fmt.Fprintf(os.Stdout, "Response from `AlertConfigurationsApi.ListAlertConfigurationMatchersFieldNames`: %v\n", resp) } ``` @@ -293,7 +293,7 @@ Other parameters are passed through a pointer to a apiListAlertConfigurationMatc ### Return type -[**[]MatcherField**](MatcherField.md) +**[]string** ### Authorization [DigestAuth](../README.md#Authentication) diff --git a/docs/docs/ComputeAutoScalingV15.md b/docs/docs/ComputeAutoScalingV15.md index 16771203..268aea5d 100644 --- a/docs/docs/ComputeAutoScalingV15.md +++ b/docs/docs/ComputeAutoScalingV15.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Enabled** | Pointer to **bool** | Flag that indicates whether someone enabled instance size auto-scaling. - Set to `true` to enable instance size auto-scaling. If enabled, you must specify a value for **replicationSpecs[n].regionConfigs[m].autoScaling.compute.maxInstanceSize**. - Set to `false` to disable instance size automatic scaling. | [optional] -**MaxInstanceSize** | Pointer to [**InstanceSize**](InstanceSize.md) | | [optional] -**MinInstanceSize** | Pointer to [**InstanceSize**](InstanceSize.md) | | [optional] +**MaxInstanceSize** | Pointer to **string** | Minimum instance size to which your cluster can automatically scale. MongoDB Cloud requires this parameter if `\"replicationSpecs[n].regionConfigs[m].autoScaling.compute.scaleDownEnabled\" : true`. | [optional] +**MinInstanceSize** | Pointer to **string** | Minimum instance size to which your cluster can automatically scale. MongoDB Cloud requires this parameter if `\"replicationSpecs[n].regionConfigs[m].autoScaling.compute.scaleDownEnabled\" : true`. | [optional] **ScaleDownEnabled** | Pointer to **bool** | Flag that indicates whether the instance size may scale down. MongoDB Cloud requires this parameter if `\"replicationSpecs[n].regionConfigs[m].autoScaling.compute.enabled\" : true`. If you enable this option, specify a value for **replicationSpecs[n].regionConfigs[m].autoScaling.compute.minInstanceSize**. | [optional] ## Methods @@ -55,20 +55,20 @@ HasEnabled returns a boolean if a field has been set. ### GetMaxInstanceSize -`func (o *ComputeAutoScalingV15) GetMaxInstanceSize() InstanceSize` +`func (o *ComputeAutoScalingV15) GetMaxInstanceSize() string` GetMaxInstanceSize returns the MaxInstanceSize field if non-nil, zero value otherwise. ### GetMaxInstanceSizeOk -`func (o *ComputeAutoScalingV15) GetMaxInstanceSizeOk() (*InstanceSize, bool)` +`func (o *ComputeAutoScalingV15) GetMaxInstanceSizeOk() (*string, bool)` GetMaxInstanceSizeOk returns a tuple with the MaxInstanceSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMaxInstanceSize -`func (o *ComputeAutoScalingV15) SetMaxInstanceSize(v InstanceSize)` +`func (o *ComputeAutoScalingV15) SetMaxInstanceSize(v string)` SetMaxInstanceSize sets MaxInstanceSize field to given value. @@ -80,20 +80,20 @@ HasMaxInstanceSize returns a boolean if a field has been set. ### GetMinInstanceSize -`func (o *ComputeAutoScalingV15) GetMinInstanceSize() InstanceSize` +`func (o *ComputeAutoScalingV15) GetMinInstanceSize() string` GetMinInstanceSize returns the MinInstanceSize field if non-nil, zero value otherwise. ### GetMinInstanceSizeOk -`func (o *ComputeAutoScalingV15) GetMinInstanceSizeOk() (*InstanceSize, bool)` +`func (o *ComputeAutoScalingV15) GetMinInstanceSizeOk() (*string, bool)` GetMinInstanceSizeOk returns a tuple with the MinInstanceSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMinInstanceSize -`func (o *ComputeAutoScalingV15) SetMinInstanceSize(v InstanceSize)` +`func (o *ComputeAutoScalingV15) SetMinInstanceSize(v string)` SetMinInstanceSize sets MinInstanceSize field to given value. diff --git a/docs/docs/DataLakeDataProcessRegion.md b/docs/docs/DataLakeDataProcessRegion.md index d13e708c..f02f10bf 100644 --- a/docs/docs/DataLakeDataProcessRegion.md +++ b/docs/docs/DataLakeDataProcessRegion.md @@ -5,13 +5,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CloudProvider** | **string** | Name of the cloud service that hosts the data lake's data stores. | -**Region** | [**DataLakeRegion**](DataLakeRegion.md) | | +**Region** | **string** | Atlas Data Lake Regions. | ## Methods ### NewDataLakeDataProcessRegion -`func NewDataLakeDataProcessRegion(cloudProvider string, region DataLakeRegion, ) *DataLakeDataProcessRegion` +`func NewDataLakeDataProcessRegion(cloudProvider string, region string, ) *DataLakeDataProcessRegion` NewDataLakeDataProcessRegion instantiates a new DataLakeDataProcessRegion object This constructor will assign default values to properties that have it defined, @@ -48,20 +48,20 @@ SetCloudProvider sets CloudProvider field to given value. ### GetRegion -`func (o *DataLakeDataProcessRegion) GetRegion() DataLakeRegion` +`func (o *DataLakeDataProcessRegion) GetRegion() string` GetRegion returns the Region field if non-nil, zero value otherwise. ### GetRegionOk -`func (o *DataLakeDataProcessRegion) GetRegionOk() (*DataLakeRegion, bool)` +`func (o *DataLakeDataProcessRegion) GetRegionOk() (*string, bool)` GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRegion -`func (o *DataLakeDataProcessRegion) SetRegion(v DataLakeRegion)` +`func (o *DataLakeDataProcessRegion) SetRegion(v string)` SetRegion sets Region field to given value. diff --git a/docs/docs/DataLakeRegion.md b/docs/docs/DataLakeRegion.md deleted file mode 100644 index 3cbd4cd4..00000000 --- a/docs/docs/DataLakeRegion.md +++ /dev/null @@ -1,27 +0,0 @@ -# DataLakeRegion - -## Enum - - -* `SYDNEY_AUS` (value: `"SYDNEY_AUS"`) - -* `MUMBAI_IND` (value: `"MUMBAI_IND"`) - -* `FRANKFURT_DEU` (value: `"FRANKFURT_DEU"`) - -* `DUBLIN_IRL` (value: `"DUBLIN_IRL"`) - -* `LONDON_GBR` (value: `"LONDON_GBR"`) - -* `VIRGINIA_USA` (value: `"VIRGINIA_USA"`) - -* `OREGON_USA` (value: `"OREGON_USA"`) - -* `SAOPAULO_BRA` (value: `"SAOPAULO_BRA"`) - -* `SINGAPORE_SGP` (value: `"SINGAPORE_SGP"`) - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/docs/DataMetricThreshold.md b/docs/docs/DataMetricThreshold.md index 3083f157..880eb3ca 100644 --- a/docs/docs/DataMetricThreshold.md +++ b/docs/docs/DataMetricThreshold.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **MetricName** | Pointer to **string** | Human-readable label that identifies the metric against which MongoDB Cloud checks the configured **metricThreshold.threshold**. | [optional] **Mode** | Pointer to **string** | MongoDB Cloud computes the current metric value as an average. | [optional] -**Operator** | Pointer to [**Operator**](Operator.md) | | [optional] +**Operator** | Pointer to **string** | Comparison operator to apply when checking the current metric value. | [optional] **Threshold** | Pointer to **float64** | Value of metric that, when exceeded, triggers an alert. | [optional] -**Units** | Pointer to [**DataMetricUnits**](DataMetricUnits.md) | | [optional] +**Units** | Pointer to **string** | Element used to express the quantity. This can be an element of time, storage capacity, and the like. | [optional] ## Methods @@ -81,20 +81,20 @@ HasMode returns a boolean if a field has been set. ### GetOperator -`func (o *DataMetricThreshold) GetOperator() Operator` +`func (o *DataMetricThreshold) GetOperator() string` GetOperator returns the Operator field if non-nil, zero value otherwise. ### GetOperatorOk -`func (o *DataMetricThreshold) GetOperatorOk() (*Operator, bool)` +`func (o *DataMetricThreshold) GetOperatorOk() (*string, bool)` GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOperator -`func (o *DataMetricThreshold) SetOperator(v Operator)` +`func (o *DataMetricThreshold) SetOperator(v string)` SetOperator sets Operator field to given value. @@ -131,20 +131,20 @@ HasThreshold returns a boolean if a field has been set. ### GetUnits -`func (o *DataMetricThreshold) GetUnits() DataMetricUnits` +`func (o *DataMetricThreshold) GetUnits() string` GetUnits returns the Units field if non-nil, zero value otherwise. ### GetUnitsOk -`func (o *DataMetricThreshold) GetUnitsOk() (*DataMetricUnits, bool)` +`func (o *DataMetricThreshold) GetUnitsOk() (*string, bool)` GetUnitsOk returns a tuple with the Units field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUnits -`func (o *DataMetricThreshold) SetUnits(v DataMetricUnits)` +`func (o *DataMetricThreshold) SetUnits(v string)` SetUnits sets Units field to given value. diff --git a/docs/docs/DataMetricUnits.md b/docs/docs/DataMetricUnits.md deleted file mode 100644 index 4e1d404d..00000000 --- a/docs/docs/DataMetricUnits.md +++ /dev/null @@ -1,29 +0,0 @@ -# DataMetricUnits - -## Enum - - -* `BITS` (value: `"BITS"`) - -* `KILOBITS` (value: `"KILOBITS"`) - -* `MEGABITS` (value: `"MEGABITS"`) - -* `GIGABITS` (value: `"GIGABITS"`) - -* `BYTES` (value: `"BYTES"`) - -* `KILOBYTES` (value: `"KILOBYTES"`) - -* `MEGABYTES` (value: `"MEGABYTES"`) - -* `GIGABYTES` (value: `"GIGABYTES"`) - -* `TERABYTES` (value: `"TERABYTES"`) - -* `PETABYTES` (value: `"PETABYTES"`) - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/docs/EventViewForNdsGroup.md b/docs/docs/EventViewForNdsGroup.md index 6eb49b65..f03420bd 100644 --- a/docs/docs/EventViewForNdsGroup.md +++ b/docs/docs/EventViewForNdsGroup.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ApiKeyId** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the [API Key](https://dochub.mongodb.org/core/atlas-create-prog-api-key) that triggered the event. If this resource returns this parameter, it doesn't return the **userId** parameter. | [optional] [readonly] **Created** | Pointer to **time.Time** | Date and time when this event occurred. This parameter expresses its value in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\" rel=\"noopener noreferrer\">ISO 8601</a> timestamp format in UTC. | [optional] [readonly] -**EventTypeName** | Pointer to [**ResourceEventType**](ResourceEventType.md) | | [optional] +**EventTypeName** | Pointer to **string** | Unique identifier of event type. | [optional] **GroupId** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the project in which the event occurred. The **eventId** identifies the specific event. | [optional] [readonly] **Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the event. | [optional] [readonly] **IsGlobalAdmin** | Pointer to **bool** | Flag that indicates whether a MongoDB employee triggered the specified event. | [optional] [readonly] [default to false] @@ -108,20 +108,20 @@ HasCreated returns a boolean if a field has been set. ### GetEventTypeName -`func (o *EventViewForNdsGroup) GetEventTypeName() ResourceEventType` +`func (o *EventViewForNdsGroup) GetEventTypeName() string` GetEventTypeName returns the EventTypeName field if non-nil, zero value otherwise. ### GetEventTypeNameOk -`func (o *EventViewForNdsGroup) GetEventTypeNameOk() (*ResourceEventType, bool)` +`func (o *EventViewForNdsGroup) GetEventTypeNameOk() (*string, bool)` GetEventTypeNameOk returns a tuple with the EventTypeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEventTypeName -`func (o *EventViewForNdsGroup) SetEventTypeName(v ResourceEventType)` +`func (o *EventViewForNdsGroup) SetEventTypeName(v string)` SetEventTypeName sets EventTypeName field to given value. diff --git a/docs/docs/EventViewForOrg.md b/docs/docs/EventViewForOrg.md index 131deeee..a2bf0b7e 100644 --- a/docs/docs/EventViewForOrg.md +++ b/docs/docs/EventViewForOrg.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ApiKeyId** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the [API Key](https://dochub.mongodb.org/core/atlas-create-prog-api-key) that triggered the event. If this resource returns this parameter, it doesn't return the **userId** parameter. | [optional] [readonly] **Created** | Pointer to **time.Time** | Date and time when this event occurred. This parameter expresses its value in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\" rel=\"noopener noreferrer\">ISO 8601</a> timestamp format in UTC. | [optional] [readonly] -**EventTypeName** | Pointer to [**UserEventTypeViewForOrg**](UserEventTypeViewForOrg.md) | | [optional] +**EventTypeName** | Pointer to **string** | Unique identifier of event type. | [optional] **GroupId** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the project in which the event occurred. The **eventId** identifies the specific event. | [optional] [readonly] **Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the event. | [optional] [readonly] **IsGlobalAdmin** | Pointer to **bool** | Flag that indicates whether a MongoDB employee triggered the specified event. | [optional] [readonly] [default to false] @@ -96,20 +96,20 @@ HasCreated returns a boolean if a field has been set. ### GetEventTypeName -`func (o *EventViewForOrg) GetEventTypeName() UserEventTypeViewForOrg` +`func (o *EventViewForOrg) GetEventTypeName() string` GetEventTypeName returns the EventTypeName field if non-nil, zero value otherwise. ### GetEventTypeNameOk -`func (o *EventViewForOrg) GetEventTypeNameOk() (*UserEventTypeViewForOrg, bool)` +`func (o *EventViewForOrg) GetEventTypeNameOk() (*string, bool)` GetEventTypeNameOk returns a tuple with the EventTypeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEventTypeName -`func (o *EventViewForOrg) SetEventTypeName(v UserEventTypeViewForOrg)` +`func (o *EventViewForOrg) SetEventTypeName(v string)` SetEventTypeName sets EventTypeName field to given value. diff --git a/docs/docs/EventsApi.md b/docs/docs/EventsApi.md index 75c7b12c..afdbe95a 100644 --- a/docs/docs/EventsApi.md +++ b/docs/docs/EventsApi.md @@ -200,7 +200,7 @@ func main() { includeCount := true // bool | (optional) (default to true) itemsPerPage := int(100) // int | (optional) (default to 100) pageNum := int(1) // int | (optional) (default to 1) - eventType := []string{"EventType_example"} // []string | (optional) + eventType := []string{"Inner_example"} // []string | (optional) includeRaw := true // bool | (optional) (default to false) maxDate := time.Now() // time.Time | (optional) minDate := time.Now() // time.Time | (optional) @@ -289,7 +289,7 @@ func main() { itemsPerPage := int(100) // int | (optional) (default to 100) pageNum := int(1) // int | (optional) (default to 1) clusterNames := []string{"Inner_example"} // []string | (optional) - eventType := []string{"EventType_example"} // []string | (optional) + eventType := []string{"Inner_example"} // []string | (optional) includeRaw := true // bool | (optional) (default to false) maxDate := time.Now() // time.Time | (optional) minDate := time.Now() // time.Time | (optional) diff --git a/docs/docs/InstanceSize.md b/docs/docs/InstanceSize.md deleted file mode 100644 index c12087f4..00000000 --- a/docs/docs/InstanceSize.md +++ /dev/null @@ -1,71 +0,0 @@ -# InstanceSize - -## Enum - - -* `M10` (value: `"M10"`) - -* `M20` (value: `"M20"`) - -* `M30` (value: `"M30"`) - -* `M40` (value: `"M40"`) - -* `M50` (value: `"M50"`) - -* `M60` (value: `"M60"`) - -* `M80` (value: `"M80"`) - -* `M100` (value: `"M100"`) - -* `M140` (value: `"M140"`) - -* `M200` (value: `"M200"`) - -* `M300` (value: `"M300"`) - -* `R40` (value: `"R40"`) - -* `R50` (value: `"R50"`) - -* `R60` (value: `"R60"`) - -* `R80` (value: `"R80"`) - -* `R200` (value: `"R200"`) - -* `R300` (value: `"R300"`) - -* `R400` (value: `"R400"`) - -* `R700` (value: `"R700"`) - -* `M40_NVME` (value: `"M40_NVME"`) - -* `M50_NVME` (value: `"M50_NVME"`) - -* `M60_NVME` (value: `"M60_NVME"`) - -* `M80_NVME` (value: `"M80_NVME"`) - -* `M200_NVME` (value: `"M200_NVME"`) - -* `M400_NVME` (value: `"M400_NVME"`) - -* `M90` (value: `"M90"`) - -* `M300_NVME` (value: `"M300_NVME"`) - -* `M600_NVME` (value: `"M600_NVME"`) - -* `M250` (value: `"M250"`) - -* `M400` (value: `"M400"`) - -* `R600` (value: `"R600"`) - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/docs/MatcherField.md b/docs/docs/MatcherField.md deleted file mode 100644 index 1dac43e9..00000000 --- a/docs/docs/MatcherField.md +++ /dev/null @@ -1,25 +0,0 @@ -# MatcherField - -## Enum - - -* `APPLICATION_ID` (value: `"APPLICATION_ID"`) - -* `CLUSTER_NAME` (value: `"CLUSTER_NAME"`) - -* `TYPE_NAME` (value: `"TYPE_NAME"`) - -* `HOSTNAME` (value: `"HOSTNAME"`) - -* `PORT` (value: `"PORT"`) - -* `HOSTNAME_AND_PORT` (value: `"HOSTNAME_AND_PORT"`) - -* `REPLICA_SET_NAME` (value: `"REPLICA_SET_NAME"`) - -* `SHARD_NAME` (value: `"SHARD_NAME"`) - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/docs/MonitoringAndLogsApi.md b/docs/docs/MonitoringAndLogsApi.md index b390468d..e350257d 100644 --- a/docs/docs/MonitoringAndLogsApi.md +++ b/docs/docs/MonitoringAndLogsApi.md @@ -209,7 +209,7 @@ func main() { databaseName := "databaseName_example" // string | processId := "mongodb.example.com:27017" // string | granularity := "PT1M" // string | - m := []string{"M_example"} // []string | (optional) + m := []string{"Inner_example"} // []string | (optional) period := "PT10H" // string | (optional) start := time.Now() // time.Time | (optional) end := time.Now() // time.Time | (optional) @@ -299,7 +299,7 @@ func main() { partitionName := "partitionName_example" // string | processId := "mongodb.example.com:27017" // string | granularity := "PT1M" // string | - m := []string{"M_example"} // []string | (optional) + m := []string{"Inner_example"} // []string | (optional) period := "PT10H" // string | (optional) start := time.Now() // time.Time | (optional) end := time.Now() // time.Time | (optional) @@ -472,7 +472,7 @@ func main() { groupId := "32b6e34b3d91647abb20e7b8" // string | processId := "mongodb.example.com:27017" // string | granularity := "PT1M" // string | - m := []string{"M_example"} // []string | (optional) + m := []string{"Inner_example"} // []string | (optional) period := "PT10H" // string | (optional) start := time.Now() // time.Time | (optional) end := time.Now() // time.Time | (optional) @@ -562,7 +562,7 @@ func main() { collectionName := "mycoll" // string | groupId := "32b6e34b3d91647abb20e7b8" // string | granularity := "PT1M" // string | - metrics := []string{"Metrics_example"} // []string | + metrics := []string{"Inner_example"} // []string | period := "PT10H" // string | (optional) start := time.Now() // time.Time | (optional) end := time.Now() // time.Time | (optional) @@ -655,7 +655,7 @@ func main() { processId := "my.host.name.com:27017" // string | groupId := "32b6e34b3d91647abb20e7b8" // string | granularity := "PT1M" // string | - metrics := []string{"Metrics_example"} // []string | + metrics := []string{"Inner_example"} // []string | period := "PT10H" // string | (optional) start := time.Now() // time.Time | (optional) end := time.Now() // time.Time | (optional) @@ -1070,7 +1070,7 @@ func main() { collectionName := "mycoll" // string | groupId := "32b6e34b3d91647abb20e7b8" // string | granularity := "PT1M" // string | - metrics := []string{"Metrics_example"} // []string | + metrics := []string{"Inner_example"} // []string | period := "PT10H" // string | (optional) start := time.Now() // time.Time | (optional) end := time.Now() // time.Time | (optional) diff --git a/docs/docs/Operator.md b/docs/docs/Operator.md deleted file mode 100644 index 6e387a7a..00000000 --- a/docs/docs/Operator.md +++ /dev/null @@ -1,13 +0,0 @@ -# Operator - -## Enum - - -* `LESS_THAN` (value: `"<"`) - -* `GREATER_THAN` (value: `">"`) - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/docs/RPUMetricThreshold.md b/docs/docs/RPUMetricThreshold.md index 7ea62321..e0fca3a5 100644 --- a/docs/docs/RPUMetricThreshold.md +++ b/docs/docs/RPUMetricThreshold.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **MetricName** | Pointer to **string** | Human-readable label that identifies the metric against which MongoDB Cloud checks the configured **metricThreshold.threshold**. | [optional] **Mode** | Pointer to **string** | MongoDB Cloud computes the current metric value as an average. | [optional] -**Operator** | Pointer to [**Operator**](Operator.md) | | [optional] +**Operator** | Pointer to **string** | Comparison operator to apply when checking the current metric value. | [optional] **Threshold** | Pointer to **float64** | Value of metric that, when exceeded, triggers an alert. | [optional] -**Units** | Pointer to [**ServerlessMetricUnits**](ServerlessMetricUnits.md) | | [optional] +**Units** | Pointer to **string** | Element used to express the quantity. This can be an element of time, storage capacity, and the like. | [optional] ## Methods @@ -81,20 +81,20 @@ HasMode returns a boolean if a field has been set. ### GetOperator -`func (o *RPUMetricThreshold) GetOperator() Operator` +`func (o *RPUMetricThreshold) GetOperator() string` GetOperator returns the Operator field if non-nil, zero value otherwise. ### GetOperatorOk -`func (o *RPUMetricThreshold) GetOperatorOk() (*Operator, bool)` +`func (o *RPUMetricThreshold) GetOperatorOk() (*string, bool)` GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOperator -`func (o *RPUMetricThreshold) SetOperator(v Operator)` +`func (o *RPUMetricThreshold) SetOperator(v string)` SetOperator sets Operator field to given value. @@ -131,20 +131,20 @@ HasThreshold returns a boolean if a field has been set. ### GetUnits -`func (o *RPUMetricThreshold) GetUnits() ServerlessMetricUnits` +`func (o *RPUMetricThreshold) GetUnits() string` GetUnits returns the Units field if non-nil, zero value otherwise. ### GetUnitsOk -`func (o *RPUMetricThreshold) GetUnitsOk() (*ServerlessMetricUnits, bool)` +`func (o *RPUMetricThreshold) GetUnitsOk() (*string, bool)` GetUnitsOk returns a tuple with the Units field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUnits -`func (o *RPUMetricThreshold) SetUnits(v ServerlessMetricUnits)` +`func (o *RPUMetricThreshold) SetUnits(v string)` SetUnits sets Units field to given value. diff --git a/docs/docs/RawMetricThreshold.md b/docs/docs/RawMetricThreshold.md index d01d68db..5f068705 100644 --- a/docs/docs/RawMetricThreshold.md +++ b/docs/docs/RawMetricThreshold.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **MetricName** | Pointer to **string** | Human-readable label that identifies the metric against which MongoDB Cloud checks the configured **metricThreshold.threshold**. | [optional] **Mode** | Pointer to **string** | MongoDB Cloud computes the current metric value as an average. | [optional] -**Operator** | Pointer to [**Operator**](Operator.md) | | [optional] +**Operator** | Pointer to **string** | Comparison operator to apply when checking the current metric value. | [optional] **Threshold** | Pointer to **float64** | Value of metric that, when exceeded, triggers an alert. | [optional] -**Units** | Pointer to [**RawMetricUnits**](RawMetricUnits.md) | | [optional] [default to RAWMETRICUNITS_RAW] +**Units** | Pointer to **string** | Element used to express the quantity. This can be an element of time, storage capacity, and the like. | [optional] [default to "RAW"] ## Methods @@ -81,20 +81,20 @@ HasMode returns a boolean if a field has been set. ### GetOperator -`func (o *RawMetricThreshold) GetOperator() Operator` +`func (o *RawMetricThreshold) GetOperator() string` GetOperator returns the Operator field if non-nil, zero value otherwise. ### GetOperatorOk -`func (o *RawMetricThreshold) GetOperatorOk() (*Operator, bool)` +`func (o *RawMetricThreshold) GetOperatorOk() (*string, bool)` GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOperator -`func (o *RawMetricThreshold) SetOperator(v Operator)` +`func (o *RawMetricThreshold) SetOperator(v string)` SetOperator sets Operator field to given value. @@ -131,20 +131,20 @@ HasThreshold returns a boolean if a field has been set. ### GetUnits -`func (o *RawMetricThreshold) GetUnits() RawMetricUnits` +`func (o *RawMetricThreshold) GetUnits() string` GetUnits returns the Units field if non-nil, zero value otherwise. ### GetUnitsOk -`func (o *RawMetricThreshold) GetUnitsOk() (*RawMetricUnits, bool)` +`func (o *RawMetricThreshold) GetUnitsOk() (*string, bool)` GetUnitsOk returns a tuple with the Units field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUnits -`func (o *RawMetricThreshold) SetUnits(v RawMetricUnits)` +`func (o *RawMetricThreshold) SetUnits(v string)` SetUnits sets Units field to given value. diff --git a/docs/docs/RawMetricUnits.md b/docs/docs/RawMetricUnits.md deleted file mode 100644 index 9dfafc29..00000000 --- a/docs/docs/RawMetricUnits.md +++ /dev/null @@ -1,11 +0,0 @@ -# RawMetricUnits - -## Enum - - -* `RAW` (value: `"RAW"`) - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/docs/ResourceEventType.md b/docs/docs/ResourceEventType.md deleted file mode 100644 index c54d448b..00000000 --- a/docs/docs/ResourceEventType.md +++ /dev/null @@ -1,11 +0,0 @@ -# ResourceEventType - -## Enum - - -* `TAGS_MODIFIED` (value: `"TAGS_MODIFIED"`) - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/docs/ServerlessEventTypeViewAlertable.md b/docs/docs/ServerlessEventTypeViewAlertable.md deleted file mode 100644 index bd6413c9..00000000 --- a/docs/docs/ServerlessEventTypeViewAlertable.md +++ /dev/null @@ -1,11 +0,0 @@ -# ServerlessEventTypeViewAlertable - -## Enum - - -* `OUTSIDE_SERVERLESS_METRIC_THRESHOLD` (value: `"OUTSIDE_SERVERLESS_METRIC_THRESHOLD"`) - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/docs/ServerlessMetricThreshold.md b/docs/docs/ServerlessMetricThreshold.md index f523bbf7..ea6026f0 100644 --- a/docs/docs/ServerlessMetricThreshold.md +++ b/docs/docs/ServerlessMetricThreshold.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **MetricName** | Pointer to **string** | Human-readable label that identifies the metric against which MongoDB Cloud checks the configured **metricThreshold.threshold**. | [optional] **Mode** | Pointer to **string** | MongoDB Cloud computes the current metric value as an average. | [optional] -**Operator** | Pointer to [**Operator**](Operator.md) | | [optional] +**Operator** | Pointer to **string** | Comparison operator to apply when checking the current metric value. | [optional] **Threshold** | Pointer to **float64** | Value of metric that, when exceeded, triggers an alert. | [optional] -**Units** | Pointer to [**ServerlessMetricUnits**](ServerlessMetricUnits.md) | | [optional] +**Units** | Pointer to **string** | Element used to express the quantity. This can be an element of time, storage capacity, and the like. | [optional] ## Methods @@ -81,20 +81,20 @@ HasMode returns a boolean if a field has been set. ### GetOperator -`func (o *ServerlessMetricThreshold) GetOperator() Operator` +`func (o *ServerlessMetricThreshold) GetOperator() string` GetOperator returns the Operator field if non-nil, zero value otherwise. ### GetOperatorOk -`func (o *ServerlessMetricThreshold) GetOperatorOk() (*Operator, bool)` +`func (o *ServerlessMetricThreshold) GetOperatorOk() (*string, bool)` GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOperator -`func (o *ServerlessMetricThreshold) SetOperator(v Operator)` +`func (o *ServerlessMetricThreshold) SetOperator(v string)` SetOperator sets Operator field to given value. @@ -131,20 +131,20 @@ HasThreshold returns a boolean if a field has been set. ### GetUnits -`func (o *ServerlessMetricThreshold) GetUnits() ServerlessMetricUnits` +`func (o *ServerlessMetricThreshold) GetUnits() string` GetUnits returns the Units field if non-nil, zero value otherwise. ### GetUnitsOk -`func (o *ServerlessMetricThreshold) GetUnitsOk() (*ServerlessMetricUnits, bool)` +`func (o *ServerlessMetricThreshold) GetUnitsOk() (*string, bool)` GetUnitsOk returns a tuple with the Units field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUnits -`func (o *ServerlessMetricThreshold) SetUnits(v ServerlessMetricUnits)` +`func (o *ServerlessMetricThreshold) SetUnits(v string)` SetUnits sets Units field to given value. diff --git a/docs/docs/ServerlessMetricUnits.md b/docs/docs/ServerlessMetricUnits.md deleted file mode 100644 index bf5e40a3..00000000 --- a/docs/docs/ServerlessMetricUnits.md +++ /dev/null @@ -1,21 +0,0 @@ -# ServerlessMetricUnits - -## Enum - - -* `RPU` (value: `"RPU"`) - -* `THOUSAND_RPU` (value: `"THOUSAND_RPU"`) - -* `MILLION_RPU` (value: `"MILLION_RPU"`) - -* `WPU` (value: `"WPU"`) - -* `THOUSAND_WPU` (value: `"THOUSAND_WPU"`) - -* `MILLION_WPU` (value: `"MILLION_WPU"`) - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/docs/ThresholdViewInteger.md b/docs/docs/ThresholdViewInteger.md index 0a43d5a1..19031d3d 100644 --- a/docs/docs/ThresholdViewInteger.md +++ b/docs/docs/ThresholdViewInteger.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Operator** | Pointer to [**Operator**](Operator.md) | | [optional] +**Operator** | Pointer to **string** | Comparison operator to apply when checking the current metric value. | [optional] **Threshold** | Pointer to **int** | Value of metric that, when exceeded, triggers an alert. | [optional] **Units** | Pointer to **string** | Element used to express the quantity. This can be an element of time, storage capacity, and the like. | [optional] @@ -29,20 +29,20 @@ but it doesn't guarantee that properties required by API are set ### GetOperator -`func (o *ThresholdViewInteger) GetOperator() Operator` +`func (o *ThresholdViewInteger) GetOperator() string` GetOperator returns the Operator field if non-nil, zero value otherwise. ### GetOperatorOk -`func (o *ThresholdViewInteger) GetOperatorOk() (*Operator, bool)` +`func (o *ThresholdViewInteger) GetOperatorOk() (*string, bool)` GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOperator -`func (o *ThresholdViewInteger) SetOperator(v Operator)` +`func (o *ThresholdViewInteger) SetOperator(v string)` SetOperator sets Operator field to given value. diff --git a/docs/docs/TimeMetricThreshold.md b/docs/docs/TimeMetricThreshold.md index cc4932ca..259c4310 100644 --- a/docs/docs/TimeMetricThreshold.md +++ b/docs/docs/TimeMetricThreshold.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **MetricName** | Pointer to **string** | Human-readable label that identifies the metric against which MongoDB Cloud checks the configured **metricThreshold.threshold**. | [optional] **Mode** | Pointer to **string** | MongoDB Cloud computes the current metric value as an average. | [optional] -**Operator** | Pointer to [**Operator**](Operator.md) | | [optional] +**Operator** | Pointer to **string** | Comparison operator to apply when checking the current metric value. | [optional] **Threshold** | Pointer to **float64** | Value of metric that, when exceeded, triggers an alert. | [optional] -**Units** | Pointer to [**TimeMetricUnits**](TimeMetricUnits.md) | | [optional] [default to TIMEMETRICUNITS_HOURS] +**Units** | Pointer to **string** | Element used to express the quantity. This can be an element of time, storage capacity, and the like. | [optional] [default to "HOURS"] ## Methods @@ -81,20 +81,20 @@ HasMode returns a boolean if a field has been set. ### GetOperator -`func (o *TimeMetricThreshold) GetOperator() Operator` +`func (o *TimeMetricThreshold) GetOperator() string` GetOperator returns the Operator field if non-nil, zero value otherwise. ### GetOperatorOk -`func (o *TimeMetricThreshold) GetOperatorOk() (*Operator, bool)` +`func (o *TimeMetricThreshold) GetOperatorOk() (*string, bool)` GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOperator -`func (o *TimeMetricThreshold) SetOperator(v Operator)` +`func (o *TimeMetricThreshold) SetOperator(v string)` SetOperator sets Operator field to given value. @@ -131,20 +131,20 @@ HasThreshold returns a boolean if a field has been set. ### GetUnits -`func (o *TimeMetricThreshold) GetUnits() TimeMetricUnits` +`func (o *TimeMetricThreshold) GetUnits() string` GetUnits returns the Units field if non-nil, zero value otherwise. ### GetUnitsOk -`func (o *TimeMetricThreshold) GetUnitsOk() (*TimeMetricUnits, bool)` +`func (o *TimeMetricThreshold) GetUnitsOk() (*string, bool)` GetUnitsOk returns a tuple with the Units field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUnits -`func (o *TimeMetricThreshold) SetUnits(v TimeMetricUnits)` +`func (o *TimeMetricThreshold) SetUnits(v string)` SetUnits sets Units field to given value. diff --git a/docs/docs/TimeMetricUnits.md b/docs/docs/TimeMetricUnits.md deleted file mode 100644 index d230f3a4..00000000 --- a/docs/docs/TimeMetricUnits.md +++ /dev/null @@ -1,23 +0,0 @@ -# TimeMetricUnits - -## Enum - - -* `NANOSECONDS` (value: `"NANOSECONDS"`) - -* `MILLISECONDS` (value: `"MILLISECONDS"`) - -* `MILLION_MINUTES` (value: `"MILLION_MINUTES"`) - -* `SECONDS` (value: `"SECONDS"`) - -* `MINUTES` (value: `"MINUTES"`) - -* `HOURS` (value: `"HOURS"`) - -* `DAYS` (value: `"DAYS"`) - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/docs/UserEventTypeViewForOrg.md b/docs/docs/UserEventTypeViewForOrg.md deleted file mode 100644 index 725fcefd..00000000 --- a/docs/docs/UserEventTypeViewForOrg.md +++ /dev/null @@ -1,27 +0,0 @@ -# UserEventTypeViewForOrg - -## Enum - - -* `JOINED_ORG` (value: `"JOINED_ORG"`) - -* `JOINED_TEAM` (value: `"JOINED_TEAM"`) - -* `INVITED_TO_ORG` (value: `"INVITED_TO_ORG"`) - -* `ORG_INVITATION_DELETED` (value: `"ORG_INVITATION_DELETED"`) - -* `REMOVED_FROM_ORG` (value: `"REMOVED_FROM_ORG"`) - -* `REMOVED_FROM_TEAM` (value: `"REMOVED_FROM_TEAM"`) - -* `USER_ROLES_CHANGED_AUDIT` (value: `"USER_ROLES_CHANGED_AUDIT"`) - -* `ORG_FLEX_CONSULTING_PURCHASED` (value: `"ORG_FLEX_CONSULTING_PURCHASED"`) - -* `ORG_FLEX_CONSULTING_PURCHASE_FAILED` (value: `"ORG_FLEX_CONSULTING_PURCHASE_FAILED"`) - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/openapi/atlas-api-transformed.yaml b/openapi/atlas-api-transformed.yaml index 1d58eaa1..f569504e 100644 --- a/openapi/atlas-api-transformed.yaml +++ b/openapi/atlas-api-transformed.yaml @@ -1683,10 +1683,6 @@ paths: name: status schema: type: string - enum: - - OPEN - - TRACKING - - CLOSED responses: "200": content: @@ -2462,8 +2458,6 @@ paths: required: true schema: type: string - enum: - - AWS - description: Unique 24-hexadecimal digit string that identifies the role. in: path name: roleId @@ -5563,10 +5557,6 @@ paths: schema: type: string default: "true" - enum: - - all - - "true" - - "false" responses: "200": content: @@ -5815,11 +5805,6 @@ paths: required: true schema: type: string - enum: - - mongodb - - mongos - - mongodb-audit-log - - mongos-audit-log - description: Date and time when the period specifies the inclusive ending point for the range of log messages to retrieve. This parameter expresses its value in the number of seconds that have elapsed since the UNIX @@ -5891,10 +5876,6 @@ paths: schema: type: string default: AWS - enum: - - AWS - - AZURE - - GCP responses: "200": content: @@ -6320,9 +6301,6 @@ paths: schema: type: string default: USER - enum: - - USER - - ONLINE_ARCHIVE responses: "200": content: @@ -6578,11 +6556,6 @@ paths: required: true schema: type: string - enum: - - bytesProcessed.query - - bytesProcessed.daily - - bytesProcessed.weekly - - bytesProcessed.monthly responses: "204": content: @@ -6636,11 +6609,6 @@ paths: required: true schema: type: string - enum: - - bytesProcessed.query - - bytesProcessed.daily - - bytesProcessed.weekly - - bytesProcessed.monthly responses: "200": content: @@ -6696,11 +6664,6 @@ paths: required: true schema: type: string - enum: - - bytesProcessed.query - - bytesProcessed.daily - - bytesProcessed.weekly - - bytesProcessed.monthly requestBody: content: application/vnd.atlas.2023-01-01+json: @@ -7671,17 +7634,6 @@ paths: the associated data series. items: type: string - enum: - - INDEX_SIZE_ON_DISK - - NUMBER_OF_DELETES - - NUMBER_OF_ERROR_QUERIES - - NUMBER_OF_GETMORE_COMMANDS - - NUMBER_OF_INDEX_FIELDS - - NUMBER_OF_INSERTS - - NUMBER_OF_SUCCESS_QUERIES - - NUMBER_OF_UPDATES - - REPLICATION_LAG - - TOTAL_NUMBER_OF_QUERIES maxItems: 10 uniqueItems: true style: form @@ -7732,17 +7684,6 @@ paths: the associated data series. items: type: string - enum: - - INDEX_SIZE_ON_DISK - - NUMBER_OF_DELETES - - NUMBER_OF_ERROR_QUERIES - - NUMBER_OF_GETMORE_COMMANDS - - NUMBER_OF_INDEX_FIELDS - - NUMBER_OF_INSERTS - - NUMBER_OF_SUCCESS_QUERIES - - NUMBER_OF_UPDATES - - REPLICATION_LAG - - TOTAL_NUMBER_OF_QUERIES maxItems: 10 uniqueItems: true style: form @@ -7794,17 +7735,6 @@ paths: for the associated data series. items: type: string - enum: - - FTS_DISK_USAGE - - FTS_PROCESS_CPU_KERNEL - - FTS_PROCESS_CPU_USER - - FTS_PROCESS_NORMALIZED_CPU_KERNEL - - FTS_PROCESS_NORMALIZED_CPU_USER - - FTS_PROCESS_RESIDENT_MEMORY - - FTS_PROCESS_SHARED_MEMORY - - FTS_PROCESS_VIRTUAL_MEMORY - - JVM_CURRENT_MEMORY - - JVM_MAX_MEMORY maxItems: 10 uniqueItems: true style: form @@ -7880,17 +7810,6 @@ paths: required: true schema: type: string - enum: - - PAGER_DUTY - - SLACK - - DATADOG - - NEW_RELIC - - OPS_GENIE - - VICTOR_OPS - - WEBHOOK - - HIP_CHAT - - PROMETHEUS - - MICROSOFT_TEAMS title: Integration Type - $ref: "#/components/parameters/groupId" responses: @@ -7930,17 +7849,6 @@ paths: required: true schema: type: string - enum: - - PAGER_DUTY - - SLACK - - DATADOG - - NEW_RELIC - - OPS_GENIE - - VICTOR_OPS - - WEBHOOK - - HIP_CHAT - - PROMETHEUS - - MICROSOFT_TEAMS title: Integration Type responses: "200": @@ -7979,17 +7887,6 @@ paths: required: true schema: type: string - enum: - - PAGER_DUTY - - SLACK - - DATADOG - - NEW_RELIC - - OPS_GENIE - - VICTOR_OPS - - WEBHOOK - - HIP_CHAT - - PROMETHEUS - - MICROSOFT_TEAMS title: Integration Type - $ref: "#/components/parameters/groupId" - $ref: "#/components/parameters/includeCount" @@ -8040,17 +7937,6 @@ paths: required: true schema: type: string - enum: - - PAGER_DUTY - - SLACK - - DATADOG - - NEW_RELIC - - OPS_GENIE - - VICTOR_OPS - - WEBHOOK - - HIP_CHAT - - PROMETHEUS - - MICROSOFT_TEAMS title: Integration Type - $ref: "#/components/parameters/groupId" - $ref: "#/components/parameters/includeCount" @@ -8379,17 +8265,6 @@ paths: required: true schema: type: string - enum: - - atlas.project.security.databaseAccess.users - - atlas.project.deployment.clusters - - atlas.project.security.databaseAccess.customRoles - - atlas.project.security.networkAccess.entries - - atlas.project.security.networkAccess.crossRegionEntries - - atlas.project.deployment.nodesPerPrivateLinkRegion - - dataFederation.bytesProcessed.query - - dataFederation.bytesProcessed.daily - - dataFederation.bytesProcessed.weekly - - dataFederation.bytesProcessed.monthly - $ref: "#/components/parameters/groupId" responses: "204": @@ -8450,17 +8325,6 @@ paths: required: true schema: type: string - enum: - - atlas.project.security.databaseAccess.users - - atlas.project.deployment.clusters - - atlas.project.security.databaseAccess.customRoles - - atlas.project.security.networkAccess.entries - - atlas.project.security.networkAccess.crossRegionEntries - - atlas.project.deployment.nodesPerPrivateLinkRegion - - dataFederation.bytesProcessed.query - - dataFederation.bytesProcessed.daily - - dataFederation.bytesProcessed.weekly - - dataFederation.bytesProcessed.monthly - $ref: "#/components/parameters/groupId" responses: "200": @@ -8527,17 +8391,6 @@ paths: required: true schema: type: string - enum: - - atlas.project.security.databaseAccess.users - - atlas.project.deployment.clusters - - atlas.project.security.databaseAccess.customRoles - - atlas.project.security.networkAccess.entries - - atlas.project.security.networkAccess.crossRegionEntries - - atlas.project.deployment.nodesPerPrivateLinkRegion - - dataFederation.bytesProcessed.query - - dataFederation.bytesProcessed.daily - - dataFederation.bytesProcessed.weekly - - dataFederation.bytesProcessed.monthly - $ref: "#/components/parameters/groupId" requestBody: content: @@ -9010,10 +8863,6 @@ paths: schema: type: string default: AWS - enum: - - AWS - - AZURE - - GCP responses: "200": content: @@ -10068,10 +9917,6 @@ paths: schema: type: string default: AWS - enum: - - AWS - - AZURE - - GCP responses: "200": content: @@ -10108,10 +9953,6 @@ paths: schema: type: string default: AWS - enum: - - AWS - - AZURE - - GCP - description: Unique 24-hexadecimal digit string that identifies the private endpoint service that you want to delete. in: path @@ -10155,10 +9996,6 @@ paths: schema: type: string default: AWS - enum: - - AWS - - AZURE - - GCP - description: Unique 24-hexadecimal digit string that identifies the private endpoint service that you want to return. in: path @@ -10207,10 +10044,6 @@ paths: schema: type: string default: AWS - enum: - - AWS - - AZURE - - GCP - description: Unique 24-hexadecimal digit string that identifies the private endpoint service for which you want to create a private endpoint. in: path @@ -10269,10 +10102,6 @@ paths: schema: type: string default: AWS - enum: - - AWS - - AZURE - - GCP - description: Unique string that identifies the private endpoint you want to delete. The format of the **endpointId** parameter differs for AWS and Azure. You must URL encode the **endpointId** for Azure private @@ -10326,10 +10155,6 @@ paths: schema: type: string default: AWS - enum: - - AWS - - AZURE - - GCP - description: Unique string that identifies the private endpoint you want to return. The format of the **endpointId** parameter differs for AWS and Azure. You must URL encode the **endpointId** for Azure private @@ -10806,16 +10631,6 @@ paths: items: type: string description: One measurement requested for this MongoDB process. - enum: - - DATABASE_AVERAGE_OBJECT_SIZE - - DATABASE_COLLECTION_COUNT - - DATABASE_DATA_SIZE - - DATABASE_STORAGE_SIZE - - DATABASE_INDEX_SIZE - - DATABASE_INDEX_COUNT - - DATABASE_EXTENT_COUNT - - DATABASE_OBJECT_COUNT - - DATABASE_VIEW_COUNT maxItems: 10 minItems: 1 uniqueItems: true @@ -10984,27 +10799,6 @@ paths: items: type: string description: One measurement requested for this MongoDB process. - enum: - - DISK_PARTITION_IOPS_READ - - MAX_DISK_PARTITION_IOPS_READ - - DISK_PARTITION_IOPS_WRITE - - MAX_DISK_PARTITION_IOPS_WRITE - - DISK_PARTITION_IOPS_TOTAL - - MAX_DISK_PARTITION_IOPS_TOTAL - - DISK_PARTITION_UTILIZATION - - MAX_DISK_PARTITION_UTILIZATION - - DISK_PARTITION_LATENCY_READ - - MAX_DISK_PARTITION_LATENCY_READ - - DISK_PARTITION_LATENCY_WRITE - - MAX_DISK_PARTITION_LATENCY_WRITE - - DISK_PARTITION_SPACE_FREE - - MAX_DISK_PARTITION_SPACE_FREE - - DISK_PARTITION_SPACE_USED - - MAX_DISK_PARTITION_SPACE_USED - - DISK_PARTITION_SPACE_PERCENT_FREE - - MAX_DISK_PARTITION_SPACE_PERCENT_FREE - - DISK_PARTITION_SPACE_PERCENT_USED - - MAX_DISK_PARTITION_SPACE_PERCENT_USED maxItems: 10 minItems: 1 uniqueItems: true @@ -11083,140 +10877,6 @@ paths: items: type: string description: One measurement requested for this MongoDB process. - enum: - - ASSERT_MSG - - ASSERT_REGULAR - - ASSERT_USER - - ASSERT_WARNING - - BACKGROUND_FLUSH_AVG - - CACHE_BYTES_READ_INTO - - CACHE_BYTES_WRITTEN_FROM - - CACHE_DIRTY_BYTES - - CACHE_USED_BYTES - - COMPUTED_MEMORY - - CONNECTIONS - - CURSORS_TOTAL_OPEN - - CURSORS_TOTAL_TIMED_OUT - - DB_DATA_SIZE_TOTAL - - DB_STORAGE_TOTAL - - DOCUMENT_METRICS_DELETED - - DOCUMENT_METRICS_INSERTED - - DOCUMENT_METRICS_RETURNED - - DOCUMENT_METRICS_UPDATED - - EXTRA_INFO_PAGE_FAULTS - - FTS_DISK_UTILIZATION - - FTS_MEMORY_MAPPED - - FTS_MEMORY_RESIDENT - - FTS_MEMORY_VIRTUAL - - FTS_PROCESS_CPU_KERNEL - - FTS_PROCESS_CPU_USER - - FTS_PROCESS_NORMALIZED_CPU_KERNEL - - FTS_PROCESS_NORMALIZED_CPU_USER - - GLOBAL_ACCESSES_NOT_IN_MEMORY - - GLOBAL_LOCK_CURRENT_QUEUE_READERS - - GLOBAL_LOCK_CURRENT_QUEUE_TOTAL - - GLOBAL_LOCK_CURRENT_QUEUE_WRITERS - - GLOBAL_PAGE_FAULT_EXCEPTIONS_THROWN - - INDEX_COUNTERS_BTREE_ACCESSES - - INDEX_COUNTERS_BTREE_HITS - - INDEX_COUNTERS_BTREE_MISS_RATIO - - INDEX_COUNTERS_BTREE_MISSES - - JOURNALING_COMMITS_IN_WRITE_LOCK - - JOURNALING_MB - - JOURNALING_WRITE_DATA_FILES_MB - - MAX_PROCESS_CPU_CHILDREN_KERNEL - - MAX_PROCESS_CPU_CHILDREN_USER - - MAX_PROCESS_CPU_KERNEL - - MAX_PROCESS_CPU_USER - - MAX_PROCESS_NORMALIZED_CPU_CHILDREN_KERNEL - - MAX_PROCESS_NORMALIZED_CPU_CHILDREN_USER - - MAX_PROCESS_NORMALIZED_CPU_KERNEL - - MAX_PROCESS_NORMALIZED_CPU_USER - - MAX_SWAP_USAGE_FREE - - "MAX_SWAP_USAGE_USED " - - MAX_SYSTEM_CPU_GUEST - - MAX_SYSTEM_CPU_IOWAIT - - MAX_SYSTEM_CPU_IRQ - - MAX_SYSTEM_CPU_KERNEL - - MAX_SYSTEM_CPU_SOFTIRQ - - MAX_SYSTEM_CPU_STEAL - - MAX_SYSTEM_CPU_USER - - MAX_SYSTEM_MEMORY_AVAILABLE - - MAX_SYSTEM_MEMORY_FREE - - MAX_SYSTEM_MEMORY_USED - - MAX_SYSTEM_NETWORK_IN - - MAX_SYSTEM_NETWORK_OUT - - MAX_SYSTEM_NORMALIZED_CPU_GUEST - - MAX_SYSTEM_NORMALIZED_CPU_IOWAIT - - MAX_SYSTEM_NORMALIZED_CPU_IRQ - - MAX_SYSTEM_NORMALIZED_CPU_KERNEL - - MAX_SYSTEM_NORMALIZED_CPU_NICE - - MAX_SYSTEM_NORMALIZED_CPU_SOFTIRQ - - MAX_SYSTEM_NORMALIZED_CPU_STEAL - - MAX_SYSTEM_NORMALIZED_CPU_USER - - MEMORY_MAPPED - - MEMORY_RESIDENT - - MEMORY_VIRTUAL - - NETWORK_BYTES_IN - - NETWORK_BYTES_OUT - - NETWORK_NUM_REQUESTS - - OP_EXECUTION_TIME_COMMANDS - - OP_EXECUTION_TIME_READS - - OP_EXECUTION_TIME_WRITES - - OPCOUNTER_CMD - - OPCOUNTER_DELETE - - OPCOUNTER_GETMORE - - OPCOUNTER_INSERT - - OPCOUNTER_QUERY - - OPCOUNTER_REPL_CMD - - OPCOUNTER_REPL_DELETE - - OPCOUNTER_REPL_INSERT - - OPCOUNTER_REPL_UPDATE - - OPCOUNTER_UPDATE - - OPERATIONS_SCAN_AND_ORDER - - OPLOG_MASTER_LAG_TIME_DIFF - - OPLOG_MASTER_TIME - - OPLOG_RATE_GB_PER_HOUR - - OPLOG_SLAVE_LAG_MASTER_TIME - - OPLOG_REPLICATION_LAG - - PROCESS_CPU_CHILDREN_KERNEL - - PROCESS_CPU_CHILDREN_USER - - PROCESS_CPU_KERNEL - - PROCESS_CPU_USER - - PROCESS_NORMALIZED_CPU_CHILDREN_KERNEL - - PROCESS_NORMALIZED_CPU_CHILDREN_USER - - PROCESS_NORMALIZED_CPU_KERNEL - - PROCESS_NORMALIZED_CPU_USER - - QUERY_EXECUTOR_SCANNED - - QUERY_EXECUTOR_SCANNED_OBJECTS - - QUERY_TARGETING_SCANNED_OBJECTS_PER_RETURNED - - QUERY_TARGETING_SCANNED_PER_RETURNED - - RESTARTS_IN_LAST_HOUR - - SWAP_USAGE_FREE - - SWAP_USAGE_USED - - SYSTEM_CPU_GUEST - - SYSTEM_CPU_IOWAIT - - SYSTEM_CPU_IRQ - - SYSTEM_CPU_KERNEL - - SYSTEM_CPU_NICE - - SYSTEM_CPU_SOFTIRQ - - SYSTEM_CPU_STEAL - - SYSTEM_CPU_USER - - SYSTEM_MEMORY_AVAILABLE - - SYSTEM_MEMORY_FREE - - SYSTEM_MEMORY_USED - - SYSTEM_NETWORK_IN - - SYSTEM_NETWORK_OUT - - SYSTEM_NORMALIZED_CPU_GUEST - - SYSTEM_NORMALIZED_CPU_IOWAIT - - SYSTEM_NORMALIZED_CPU_IRQ - - SYSTEM_NORMALIZED_CPU_KERNEL - - SYSTEM_NORMALIZED_CPU_NICE - - SYSTEM_NORMALIZED_CPU_SOFTIRQ - - SYSTEM_NORMALIZED_CPU_STEAL - - SYSTEM_NORMALIZED_CPU_USER - - TICKETS_AVAILABLE_READS - - TICKETS_AVAILABLE_WRITE maxItems: 10 minItems: 1 uniqueItems: true @@ -14884,51 +14544,6 @@ components: description: Incident that triggered this alert. readOnly: true x-xgen-go-transform: merge-oneOf - enum: - - CREDIT_CARD_ABOUT_TO_EXPIRE - - PENDING_INVOICE_OVER_THRESHOLD - - DAILY_BILL_OVER_THRESHOLD - - CPS_SNAPSHOT_STARTED - - CPS_SNAPSHOT_SUCCESSFUL - - CPS_SNAPSHOT_FAILED - - CPS_SNAPSHOT_BEHIND - - CPS_SNAPSHOT_FALLBACK_SUCCESSFUL - - CPS_SNAPSHOT_FALLBACK_FAILED - - CPS_RESTORE_SUCCESSFUL - - CPS_EXPORT_SUCCESSFUL - - CPS_RESTORE_FAILED - - CPS_EXPORT_FAILED - - CPS_SNAPSHOT_DOWNLOAD_REQUEST_FAILED - - CPS_OPLOG_BEHIND - - CPS_OPLOG_CAUGHT_UP - - AWS_ENCRYPTION_KEY_NEEDS_ROTATION - - AZURE_ENCRYPTION_KEY_NEEDS_ROTATION - - GCP_ENCRYPTION_KEY_NEEDS_ROTATION - - FTS_INDEX_DELETION_FAILED - - FTS_INDEX_BUILD_COMPLETE - - FTS_INDEX_BUILD_FAILED - - USERS_WITHOUT_MULTI_FACTOR_AUTH - - USERS_WITHOUT_MULTIFACTOR_AUTH - - MAX_M0_CLUSTERS_PER_GROUP_EXCEEDED - - CLUSTER_INSTANCE_STOP_START - - CLUSTER_INSTANCE_RESYNC_REQUESTED - - CLUSTER_INSTANCE_UPDATE_REQUESTED - - SAMPLE_DATASET_LOAD_REQUESTED - - TENANT_UPGRADE_TO_SERVERLESS_SUCCESSFUL - - TENANT_UPGRADE_TO_SERVERLESS_FAILED - - MAINTENANCE_IN_ADVANCED - - MAINTENANCE_AUTO_DEFERRED - - MAINTENANCE_STARTED - - MAINTENANCE_NO_LONGER_NEEDED - - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CA_EXPIRATION_CHECK - - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CRL_EXPIRATION_CHECK - - NDS_X509_USER_AUTHENTICATION_MANAGED_USER_CERTS_EXPIRATION_CHECK - - ONLINE_ARCHIVE_INSUFFICIENT_INDEXES_CHECK - - ONLINE_ARCHIVE_MAX_CONSECUTIVE_OFFLOAD_WINDOWS_CHECK - - OUTSIDE_SERVERLESS_METRIC_THRESHOLD - - JOINED_GROUP - - REMOVED_FROM_GROUP - - USER_ROLES_CHANGED_AUDIT groupId: type: string description: Unique 24-hexadecimal digit string that identifies the project that @@ -14988,11 +14603,6 @@ components: status: type: string description: State of this alert at the time you requested its details. - enum: - - CANCELLED - - CLOSED - - OPEN - - TRACKING example: OPEN readOnly: true updated: @@ -15088,9 +14698,6 @@ components: | `"non-ignorable"` | Yes | | `"shifted"` | No. MongoDB Cloud distinguishes these characters when `"strength" > 3`. | - enum: - - non-ignorable - - shifted backwards: type: boolean default: false @@ -15117,10 +14724,6 @@ components: | `"upper"` | Uppercase sorts before lowercase. | | `"lower"` | Lowercase sorts before uppercase. | | `"off"` | Similar to "lower" with slight differences. | - enum: - - lower - - off - - upper caseLevel: type: boolean default: false @@ -15139,116 +14742,6 @@ components: description: 'International Components for Unicode (ICU) code that represents a localized language. To specify simple binary comparison, set `"locale" : "simple"`.' - enum: - - af - - sq - - am - - ar - - hy - - as - - az - - bn - - be - - bs - - bs_Cyrl - - bg - - my - - ca - - chr - - zh - - zh_Hant - - hr - - cs - - da - - nl - - dz - - en - - en_US - - en_US_POSIX - - eo - - et - - ee - - fo - - fil - - fi_FI - - fr - - fr_CA - - gl - - ka - - de - - de_AT - - el - - gu - - ha - - haw - - he - - hi - - hu - - is - - ig - - smn - - id - - ga - - it - - ja - - kl - - kn - - kk - - km - - kok - - ko - - ky - - lk - - lo - - lv - - li - - lt - - dsb - - lb - - mk - - ms - - ml - - mt - - mr - - mn - - ne - - se - - nb - - nn - - or - - om - - ps - - fa - - fa_AF - - pl - - pt - - pa - - ro - - ru - - sr - - sr_Latn - - si - - sk - - sl - - es - - sw - - sv - - ta - - te - - th - - bo - - to - - tr - - uk - - hsb - - ur - - ug - - vi - - wae - - cy - - yi - - yo - - zu maxVariable: type: string description: > @@ -15262,9 +14755,6 @@ components: | `"punct"` | Both whitespace and punctuation | | `"space"` | Whitespace | - enum: - - punct - - space normalization: type: boolean default: false @@ -15323,17 +14813,6 @@ components: type: string description: Element used to express the quantity. This can be an element of time, storage capacity, and the like. - enum: - - BITS - - KILOBITS - - MEGABITS - - GIGABITS - - BYTES - - KILOBYTES - - MEGABYTES - - GIGABYTES - - TERABYTES - - PETABYTES example: BYTES title: Data Metric Units Destination: @@ -15356,10 +14835,6 @@ components: default: PUBLIC description: The network type to use between the migration host and the target cluster. - enum: - - PUBLIC - - PRIVATE_LINK - - VPC_PEERING privateLinkId: type: string description: Represents the endpoint to use when the host schema type is @@ -15372,670 +14847,10 @@ components: type: array items: type: string - enum: - - ALERT_ACKNOWLEDGED_AUDIT - - ALERT_UNACKNOWLEDGED_AUDIT - - ALERT_CONFIG_DISABLED_AUDIT - - ALERT_CONFIG_ENABLED_AUDIT - - ALERT_CONFIG_ADDED_AUDIT - - ALERT_CONFIG_DELETED_AUDIT - - ALERT_CONFIG_CHANGED_AUDIT - - API_KEY_CREATED - - API_KEY_DELETED - - API_KEY_ACCESS_LIST_ENTRY_ADDED - - API_KEY_ACCESS_LIST_ENTRY_DELETED - - API_KEY_ROLES_CHANGED - - API_KEY_DESCRIPTION_CHANGED - - API_KEY_ADDED_TO_GROUP - - API_KEY_REMOVED_FROM_GROUP - - API_KEY_UI_IP_ACCESS_LIST_INHERITANCE_ENABLED - - API_KEY_UI_IP_ACCESS_LIST_INHERITANCE_DISABLED - - URL_CONFIRMATION - - SUCCESSFUL_DEPLOY - - DEPLOYMENT_FAILURE - - DEPLOYMENT_MODEL_CHANGE_SUCCESS - - DEPLOYMENT_MODEL_CHANGE_FAILURE - - REQUEST_RATE_LIMIT - - LOG_FORWARDER_FAILURE - - INSIDE_REALM_METRIC_THRESHOLD - - OUTSIDE_REALM_METRIC_THRESHOLD - - SYNC_FAILURE - - TRIGGER_FAILURE - - TRIGGER_AUTO_RESUMED - - AUTO_INDEXING_ENABLED - - AUTO_INDEXING_DISABLED - - AUTO_INDEXING_INDEX_BUILD_SUBMITTED - - AUTO_INDEXING_SLOW_INDEX_BUILD - - AUTO_INDEXING_STALLED_INDEX_BUILD - - AUTO_INDEXING_FAILED_INDEX_BUILD - - AUTO_INDEXING_COMPLETED_INDEX_BUILD - - AUTOMATION_CONFIG_PUBLISHED_AUDIT - - PEER_CREATED - - PEER_DELETED - - PEER_UPDATED - - AZURE_PEER_CREATED - - AZURE_PEER_UPDATED - - AZURE_PEER_ACTIVE - - AZURE_PEER_DELETED - - CREDIT_CARD_CURRENT - - CREDIT_CARD_ABOUT_TO_EXPIRE - - PENDING_INVOICE_UNDER_THRESHOLD - - PENDING_INVOICE_OVER_THRESHOLD - - DAILY_BILL_UNDER_THRESHOLD - - DAILY_BILL_OVER_THRESHOLD - - CHARGE_SUCCEEDED - - CHARGE_FAILED - - CHARGE_PROCESSING - - CHARGE_PENDING_REVERSAL - - BRAINTREE_CHARGE_FAILED - - INVOICE_CLOSED - - CHECK_PAYMENT_RECEIVED - - WIRE_TRANSFER_PAYMENT_RECEIVED - - DISCOUNT_APPLIED - - CREDIT_ISSUED - - CREDIT_PULLED_FWD - - CREDIT_START_DATE_MODIFIED - - CREDIT_END_DATE_MODIFIED - - CREDIT_ELASTIC_INVOICING_MODIFIED - - CREDIT_TYPE_MODIFIED - - CREDIT_AMOUNT_CENTS_MODIFIED - - CREDIT_AMOUNT_REMAINING_CENTS_MODIFIED - - CREDIT_TOTAL_BILLED_CENTS_MODIFIED - - CREDIT_AWS_CUSTOMER_ID_MODIFIED - - CREDIT_AWS_PRODUCT_CODE_MODIFIED - - CREDIT_GCP_MARKETPLACE_ENTITLEMENT_ID_MODIFIED - - CREDIT_AZURE_SUBSCRIPTION_ID_MODIFIED - - PROMO_CODE_APPLIED - - PAYMENT_FORGIVEN - - REFUND_ISSUED - - ACCOUNT_DOWNGRADED - - ACCOUNT_UPGRADED - - ACCOUNT_MODIFIED - - SUPPORT_PLAN_ACTIVATED - - SUPPORT_PLAN_CANCELLED - - SUPPORT_PLAN_CANCELLATION_SCHEDULED - - INITIATE_SALESFORCE_SERVICE_CLOUD_SYNC - - INVOICE_ADDRESS_CHANGED - - INVOICE_ADDRESS_ADDED - - PREPAID_PLAN_ACTIVATED - - ELASTIC_INVOICING_MODE_ACTIVATED - - ELASTIC_INVOICING_MODE_DEACTIVATED - - TERMINATE_PAID_SERVICES - - BILLING_EMAIL_ADDRESS_ADDED - - BILLING_EMAIL_ADDRESS_CHANGED - - BILLING_EMAIL_ADDRESS_REMOVED - - CLUSTER_CONNECTION_GET_DATABASES - - CLUSTER_CONNECTION_GET_DATABASE_COLLECTIONS - - CLUSTER_CONNECTION_GET_DATABASE_NAMESPACES - - CLUSTER_CONNECTION_AGGREGATE - - CLUSTER_CONNECTION_CREATE_COLLECTION - - CLUSTER_CONNECTION_SAMPLE_COLLECTION_FIELD_NAMES - - CLUSTER_MONGOS_IS_PRESENT - - CLUSTER_MONGOS_IS_MISSING - - CPS_SNAPSHOT_STARTED - - CPS_SNAPSHOT_SUCCESSFUL - - CPS_SNAPSHOT_FAILED - - CPS_SNAPSHOT_FALLBACK_SUCCESSFUL - - CPS_SNAPSHOT_BEHIND - - CPS_SNAPSHOT_FALLBACK_FAILED - - CPS_RESTORE_SUCCESSFUL - - CPS_EXPORT_SUCCESSFUL - - CPS_RESTORE_FAILED - - CPS_EXPORT_FAILED - - CPS_SNAPSHOT_DOWNLOAD_REQUEST_FAILED - - CPS_OPLOG_BEHIND - - CPS_OPLOG_CAUGHT_UP - - DATA_EXPLORER - - DATA_EXPLORER_CRUD_ATTEMPT - - DATA_EXPLORER_CRUD_ERROR - - DATA_EXPLORER_CRUD - - CPS_DATA_PROTECTION_ENABLE_REQUESTED - - CPS_DATA_PROTECTION_ENABLED - - CPS_DATA_PROTECTION_UPDATE_REQUESTED - - CPS_DATA_PROTECTION_UPDATED - - CPS_DATA_PROTECTION_DISABLE_REQUESTED - - CPS_DATA_PROTECTION_DISABLED - - CPS_RESTORE_REQUESTED_AUDIT - - CPS_SNAPSHOT_SCHEDULE_UPDATED_AUDIT - - CPS_SNAPSHOT_DELETED_AUDIT - - CPS_SNAPSHOT_RETENTION_MODIFIED_AUDIT - - CPS_SNAPSHOT_IN_PROGRESS_AUDIT - - CPS_SNAPSHOT_COMPLETED_AUDIT - - CPS_ON_DEMAND_SNAPSHOT_REQUESTED - - AWS_ENCRYPTION_KEY_ROTATED - - AWS_ENCRYPTION_KEY_NEEDS_ROTATION - - AZURE_ENCRYPTION_KEY_ROTATED - - AZURE_ENCRYPTION_KEY_NEEDS_ROTATION - - GCP_ENCRYPTION_KEY_ROTATED - - GCP_ENCRYPTION_KEY_NEEDS_ROTATION - - BUCKET_CREATED_AUDIT - - BUCKET_DELETED_AUDIT - - FTS_INDEX_DELETION_FAILED - - FTS_INDEX_BUILD_COMPLETE - - FTS_INDEX_BUILD_FAILED - - FTS_INDEX_CREATED - - FTS_INDEX_UPDATED - - FTS_INDEX_DELETED - - GCP_PEER_CREATED - - GCP_PEER_DELETED - - GCP_PEER_UPDATED - - GCP_PEER_ACTIVE - - GCP_PEER_INACTIVE - - DATA_EXPLORER_ENABLED - - DATA_EXPLORER_DISABLED - - CREDIT_CARD_ADDED - - CREDIT_CARD_UPDATED - - GROUP_DELETED - - GROUP_CREATED - - GROUP_MOVED - - GROUP_TEMPORARILY_ACTIVATED - - TEMPORARILY_ACTIVATED - - GROUP_ACTIVATED - - ACTIVATED - - GROUP_LOCKED - - LOCKED - - GROUP_SUSPENDED - - SUSPENDED - - GROUP_FLUSHED - - FLUSHED - - GROUP_NAME_CHANGED - - GROUP_CHARTS_ACTIVATION_REQUESTED - - CHARTS_ACTIVATION_REQUESTED - - GROUP_CHARTS_ACTIVATED - - CHARTS_ACTIVATED - - GROUP_CHARTS_UPGRADED - - CHARTS_UPGRADED - - GROUP_CHARTS_RESET - - CHARTS_RESET - - PAID_IN_FULL - - DELINQUENT - - ALL_USERS_HAVE_MULTI_FACTOR_AUTH - - ALL_USERS_HAVE_MULTIFACTOR_AUTH - - USERS_WITHOUT_MULTI_FACTOR_AUTH - - USERS_WITHOUT_MULTIFACTOR_AUTH - - M0_CLUSTERS_PER_GROUP_WITHIN_LIMIT - - MAX_M0_CLUSTERS_PER_GROUP_EXCEEDED - - INTEGRATION_CONFIGURED - - INTEGRATION_REMOVED - - AUTO_CREATED_INDEX_AUDIT - - ATTEMPT_KILLOP_AUDIT - - ATTEMPT_KILLSESSION_AUDIT - - HOST_UP - - HOST_DOWN - - HOST_HAS_INDEX_SUGGESTIONS - - HOST_MONGOT_RECOVERED_OOM - - HOST_MONGOT_CRASHING_OOM - - HOST_DISK_SPACE_SUFFICIENT_FOR_SEARCH_INDEX_REBUILD - - HOST_ENOUGH_DISK_SPACE - - HOST_DISK_SPACE_INSUFFICIENT_FOR_SEARCH_INDEX_REBUILD - - HOST_NOT_ENOUGH_DISK_SPACE - - INSIDE_METRIC_THRESHOLD - - OUTSIDE_METRIC_THRESHOLD - - ROLLING_INDEX_FAILED_INDEX_BUILD - - ROLLING_INDEX_SUCCESS_INDEX_BUILD - - INDEX_FAILED_INDEX_BUILD - - INDEX_SUCCESS_INDEX_BUILD - - CLUSTER_CREATED - - CLUSTER_READY - - CLUSTER_UPDATE_SUBMITTED - - CLUSTER_UPDATE_SUBMITTED_INTERNAL - - CLUSTER_PROCESS_ARGS_UPDATE_SUBMITTED - - CLUSTER_MONGOT_PROCESS_ARGS_UPDATE_SUBMITTED - - CLUSTER_SERVER_PARAMETERS_UPDATE_SUBMITTED - - CLUSTER_AUTOMATICALLY_PAUSED - - CLUSTER_UPDATE_STARTED - - CLUSTER_UPDATE_COMPLETED - - CLUSTER_DELETE_SUBMITTED - - CLUSTER_DELETE_SUBMITTED_INTERNAL - - CLUSTER_DELETED - - CLUSTER_IMPORT_STARTED - - CLUSTER_IMPORT_CANCELLED - - CLUSTER_IMPORT_EXPIRED - - CLUSTER_IMPORT_CUTOVER - - CLUSTER_IMPORT_RESTART_REQUESTED - - PROJECT_LIVE_IMPORT_OVERRIDES_ADDED - - PROJECT_LIVE_IMPORT_OVERRIDES_UPDATED - - PROJECT_LIVE_IMPORT_OVERRIDES_DELETED - - CLUSTER_OPLOG_RESIZED - - CLUSTER_INSTANCE_RESTARTED - - CLUSTER_INSTANCE_STOP_START - - CLUSTER_INSTANCE_RESYNC_REQUESTED - - CLUSTER_INSTANCE_RESYNC_CLEARED - - CLUSTER_INSTANCE_UPDATE_REQUESTED - - CLUSTER_INSTANCE_REPLACED - - CLUSTER_INSTANCE_REPLACE_CLEARED - - CLUSTER_INSTANCE_CONFIG_UPDATED - - CLUSTER_INSTANCE_SSL_ROTATED - - CLUSTER_INSTANCE_SSL_ROTATED_PER_CLUSTER - - CLUSTER_INSTANCE_SSL_REVOKED - - RELOAD_SSL_ON_PROCESSES - - CLUSTER_INSTANCE_ADMIN_BACKUP_SNAPSHOT_REQUESTED - - DATA_LAKE_QUERY_LOGS_DOWNLOADED - - FEDERATED_DATABASE_QUERY_LOGS_DOWNLOADED - - ONLINE_ARCHIVE_QUERY_LOGS_DOWNLOADED - - MONGODB_LOGS_DOWNLOADED - - MONGOSQLD_LOGS_DOWNLOADED - - MONGODB_USER_ADDED - - MONGODB_USER_DELETED - - MONGODB_USER_X509_CERT_CREATED - - MONGODB_USER_X509_CERT_REVOKED - - MONGODB_USER_UPDATED - - MONGODB_ROLE_ADDED - - MONGODB_ROLE_DELETED - - MONGODB_ROLE_UPDATED - - NETWORK_PERMISSION_ENTRY_ADDED - - NETWORK_PERMISSION_ENTRY_REMOVED - - NETWORK_PERMISSION_ENTRY_UPDATED - - PRIVATE_NETWORK_ENDPOINT_ENTRY_ADDED - - PRIVATE_NETWORK_ENDPOINT_ENTRY_REMOVED - - PRIVATE_NETWORK_ENDPOINT_ENTRY_UPDATED - - PLAN_STARTED - - PLAN_COMPLETED - - PLAN_ABANDONED - - PLAN_FAILURE_COUNT_RESET - - PLAN_ASAP_REQUESTED - - MOVE_SKIPPED - - PROXY_RESTARTED - - PROXY_PANICKED - - MAINTENANCE_WINDOW_ADDED - - ATLAS_MAINTENANCE_WINDOW_ADDED - - MAINTENANCE_WINDOW_MODIFIED - - ATLAS_MAINTENANCE_WINDOW_MODIFIED - - MAINTENANCE_WINDOW_REMOVED - - ATLAS_MAINTENANCE_WINDOW_REMOVED - - MAINTENANCE_START_ASAP - - ATLAS_MAINTENANCE_START_ASAP - - MAINTENANCE_SCHEDULED_FOR_NEXT_WINDOW - - ATLAS_MAINTENANCE_SCHEDULED_FOR_NEXT_WINDOW - - MAINTENANCE_DEFERRED - - ATLAS_MAINTENANCE_DEFERRED - - MAINTENANCE_AUTO_DEFER_ENABLED - - ATLAS_MAINTENANCE_AUTO_DEFER_ENABLED - - MAINTENANCE_AUTO_DEFER_DISABLED - - ATLAS_MAINTENANCE_AUTO_DEFER_DISABLED - - SCHEDULED_MAINTENANCE - - PROJECT_SCHEDULED_MAINTENANCE - - PROJECT_LIMIT_UPDATED - - PROJECT_OPERATIONAL_LIMIT_UPDATED - - PROJECT_ENABLE_EXTENDED_STORAGE_SIZES_UPDATED - - OS_MAINTENANCE - - OS_MAINTENANCE_RESTART - - OS_MAINTENANCE_CERTIFICATE_ROTATION_RESTART - - OS_MAINTENANCE_REPLACEMENT - - FREE_UPGRADE_STARTED - - TEST_FAILOVER_REQUESTED - - USER_SECURITY_SETTINGS_UPDATED - - AUDIT_LOG_CONFIGURATION_UPDATED - - ENCRYPTION_AT_REST_CONFIGURATION_UPDATED - - ENCRYPTION_AT_REST_CONFIGURATION_VALIDATION_FAILED - - SET_IMAGE_OVERRIDES - - NDS_SET_IMAGE_OVERRIDES - - SET_CHEF_TARBALL_URI - - NDS_SET_CHEF_TARBALL_URI - - RESTRICTED_EMPLOYEE_ACCESS_BYPASS - - REVOKED_EMPLOYEE_ACCESS_BYPASS - - DEVICE_SYNC_DEBUG_ACCESS_GRANTED - - DEVICE_SYNC_DEBUG_ACCESS_REVOKED - - DEVICE_SYNC_DEBUG_X509_CERT_CREATED - - QUERY_ENGINE_TENANT_CREATED - - QUERY_ENGINE_TENANT_UPDATED - - QUERY_ENGINE_TENANT_REMOVED - - FEDERATED_DATABASE_CREATED - - FEDERATED_DATABASE_UPDATED - - FEDERATED_DATABASE_REMOVED - - TENANT_CLUSTER_UPGRADE_FROM_MTM - - TENANT_SNAPSHOT_FAILED - - TENANT_RESTORE_FAILED - - SAMPLE_DATASET_LOAD_REQUESTED - - CUSTOMER_X509_CRL_UPDATED - - CONTAINER_SUBNETS_UPDATE_REQUESTED - - CLEAR_UNPROVISIONED_TARGET_GROUPS_REQUESTED - - ONLINE_ARCHIVE_CREATED - - ONLINE_ARCHIVE_DELETED - - ONLINE_ARCHIVE_UPDATED - - ONLINE_ARCHIVE_PAUSE_REQUESTED - - ONLINE_ARCHIVE_PAUSED - - ONLINE_ARCHIVE_ACTIVE - - ONLINE_ARCHIVE_ORPHANED - - ONLINE_ARCHIVE_DATA_EXPIRATION_RULE_ENABLED - - ONLINE_ARCHIVE_DATA_EXPIRATION_RULE_UPDATED - - ONLINE_ARCHIVE_DATA_EXPIRATION_RULE_DISABLED - - CLOUD_PROVIDER_ACCESS_AWS_IAM_ROLE_ADDED - - CLOUD_PROVIDER_ACCESS_AWS_IAM_ROLE_DELETED - - CLOUD_PROVIDER_ACCESS_AWS_IAM_ROLE_UPDATED - - CLOUD_PROVIDER_ACCESS_AZURE_SERVICE_PRINCIPAL_ADDED - - CLOUD_PROVIDER_ACCESS_AZURE_SERVICE_PRINCIPAL_DELETED - - CLOUD_PROVIDER_ACCESS_AZURE_SERVICE_PRINCIPAL_UPDATED - - PENDING_INDEXES_DELETED - - PENDING_INDEXES_CANCELED - - PROCESS_RESTART_REQUESTED - - AUTO_HEALING_ACTION - - EXTRA_MAINTENANCE_DEFERRAL_GRANTED - - ADMIN_NOTE_UPDATED - - GROUP_AUTOMATION_CONFIG_PUBLISHED - - CLUSTER_AUTOMATION_CONFIG_PUBLISHED - - CLUSTER_LINKED_TO_VERCEL - - CLUSTER_UNLINKED_FROM_VERCEL - - INGESTION_PIPELINE_DELETED - - INGESTION_PIPELINE_DESTROYED - - INGESTION_PIPELINE_CREATED - - INGESTION_PIPELINE_UPDATED - - OS_TUNED_FILE_OVERRIDES - - OS_TUNE_FILE_OVERRIDES - - CLUSTER_PREFERRED_CPU_ARCHITECTURE_MODIFIED - - CLUSTER_FORCE_PLANNED - - DATA_PROCESSING_REGION_UPDATED - - CLUSTER_REGIONAL_OUTAGE_SIMULATION_STARTED - - CLUSTER_REGIONAL_OUTAGE_SIMULATION_FAILED_TO_START - - CLUSTER_REGIONAL_OUTAGE_SIMULATION_END_REQUESTED - - CLUSTER_REGIONAL_OUTAGE_SIMULATION_COMPLETED - - CLUSTER_REGIONAL_OUTAGE_SIMULATION_CANCELLED_CLUSTER_PAUSE - - UIS_PANICKED - - TENANT_UPGRADE_TO_SERVERLESS_SUCCESSFUL - - TENANT_UPGRADE_TO_SERVERLESS_FAILED - - CLUSTER_FORCE_RECONFIG_REQUESTED - - PROJECT_BYPASSED_MAINTENANCE - - DATA_FEDERATION_QUERY_LIMIT_CONFIGURED - - DATA_FEDERATION_QUERY_LIMIT_DELETED - - DATA_API_SETUP_FOR_VERCEL - - ADMIN_CLUSTER_LOCK_UPDATED - - COMPUTE_AUTO_SCALE_INITIATED - - DISK_AUTO_SCALE_INITIATED - - COMPUTE_AUTO_SCALE_INITIATED_BASE - - COMPUTE_AUTO_SCALE_INITIATED_ANALYTICS - - MAINTENANCE_IN_ADVANCED - - MAINTENANCE_AUTO_DEFERRED - - MAINTENANCE_STARTED - - MAINTENANCE_NO_LONGER_NEEDED - - SERVERLESS_AUTO_SCALING_INITIATED - - SERVERLESS_VERTICAL_SCALING_INITIATED - - SERVERLESS_HORIZONTAL_SCALING_INITIATED - - SERVERLESS_INSTANCE_CREATED - - SERVERLESS_INSTANCE_READY - - SERVERLESS_INSTANCE_UPDATE_SUBMITTED - - SERVERLESS_INSTANCE_UPDATE_STARTED - - SERVERLESS_INSTANCE_UPDATE_COMPLETED - - SERVERLESS_INSTANCE_DELETE_SUBMITTED - - SERVERLESS_INSTANCE_DELETED - - SERVERLESS_INSTANCE_BLOCKED - - SERVERLESS_INSTANCE_UNBLOCKED - - TENANT_ENDPOINT_CREATED - - TENANT_ENDPOINT_RESERVED - - TENANT_ENDPOINT_RESERVATION_FAILED - - TENANT_ENDPOINT_UPDATED - - TENANT_ENDPOINT_INITIATING - - TENANT_ENDPOINT_AVAILABLE - - TENANT_ENDPOINT_FAILED - - TENANT_ENDPOINT_DELETING - - TENANT_ENDPOINT_DELETED - - TENANT_ENDPOINT_EXPIRED - - TENANT_ENDPOINT_SERVICE_DEPLOYMENT_CREATED - - TENANT_ENDPOINT_SERVICE_CREATED - - TENANT_ENDPOINT_SERVICE_AVAILABLE - - TENANT_ENDPOINT_SERVICE_DEPLOYMENT_DELETE_REQUESTED - - TENANT_ENDPOINT_SERVICE_DELETED - - TENANT_ENDPOINT_SERVICE_DEPLOYMENT_DELETED - - TENANT_ENDPOINT_SERVICE_DEPLOYMENT_NUM_DESIRED_ENDPOINT_SERVICES_INCREASED - - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CA_EXPIRATION_RESOLVED - - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CA_EXPIRATION_CHECK - - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CRL_EXPIRATION_RESOLVED - - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CRL_EXPIRATION_CHECK - - NDS_X509_USER_AUTHENTICATION_MANAGED_USER_CERTS_EXPIRATION_RESOLVED - - NDS_X509_USER_AUTHENTICATION_MANAGED_USER_CERTS_EXPIRATION_CHECK - - ONLINE_ARCHIVE_INSUFFICIENT_INDEXES_CHECK - - ONLINE_ARCHIVE_INSUFFICIENT_INDEXES_RESOLVED - - ONLINE_ARCHIVE_UP_TO_DATE - - ONLINE_ARCHIVE_DATA_EXPIRATION_RESOLVED - - ONLINE_ARCHIVE_MAX_CONSECUTIVE_OFFLOAD_WINDOWS_CHECK - - ENDPOINT_SERVICE_CREATED - - ENDPOINT_SERVICE_DELETED - - INTERFACE_ENDPOINT_CREATED - - INTERFACE_ENDPOINT_DELETED - - INTERFACE_ENDPOINT_PATCHED - - PRIMARY_ELECTED - - REPLICATION_OPLOG_WINDOW_HEALTHY - - REPLICATION_OPLOG_WINDOW_RUNNING_OUT - - ONE_PRIMARY - - NO_PRIMARY - - TOO_MANY_ELECTIONS - - SERVERLESS_DEPLOYMENT_CREATED - - SERVERLESS_DEPLOYMENT_DELETED - - SERVERLESS_DEPLOYMENT_UPDATED - - SERVERLESS_DEPLOYMENT_INSTANCE_REPLACED - - SERVERLESS_DEPLOYMENT_INSTANCE_REBOOTED - - SERVERLESS_DEPLOYMENT_ENDPOINT_SERVICE_LINKED - - SERVERLESS_DEPLOYMENT_ENDPOINT_SERVICE_UNLINKED - - SERVERLESS_DEPLOYMENT_ENVOY_INSTANCE_UIS_KEYS_ROTATED - - INSIDE_SERVERLESS_METRIC_THRESHOLD - - OUTSIDE_SERVERLESS_METRIC_THRESHOLD - - SETUP_SERVERLESS_INITIATED - - CASE_CREATED - - SUPPORT_EMAILS_SENT_SUCCESSFULLY - - SUPPORT_EMAILS_SENT_FAILURE - - TEAM_ADDED_TO_GROUP - - TEAM_REMOVED_FROM_GROUP - - TEAM_ROLES_MODIFIED - - TENANT_SNAPSHOT_STARTED_AUDIT - - TENANT_SNAPSHOT_COMPLETED_AUDIT - - TENANT_SNAPSHOT_DELETED_AUDIT - - TENANT_RESTORE_REQUESTED_AUDIT - - TENANT_RESTORE_COMPLETED_AUDIT - - TENANT_SNAPSHOT_DOWNLOAD_REQUESTED_AUDIT - - JOINED_GROUP - - REMOVED_FROM_GROUP - - INVITED_TO_GROUP - - REQUESTED_TO_JOIN_GROUP - - GROUP_INVITATION_DELETED - - USER_ROLES_CHANGED_AUDIT - - JOIN_GROUP_REQUEST_DENIED_AUDIT - - JOIN_GROUP_REQUEST_APPROVED_AUDIT - - CLUSTER_VERSION_FIXED - - CLUSTER_VERSION_UNFIXED - - CLUSTER_FCV_FIXED - - CLUSTER_FCV_UNFIXED - - AGENT_VERSION_FIXED - - AGENT_VERSION_UNFIXED - - TAGS_MODIFIED EventTypeForOrg: type: array items: type: string - enum: - - ALERT_ACKNOWLEDGED_AUDIT - - ALERT_UNACKNOWLEDGED_AUDIT - - ALERT_CONFIG_DISABLED_AUDIT - - ALERT_CONFIG_ENABLED_AUDIT - - ALERT_CONFIG_ADDED_AUDIT - - ALERT_CONFIG_DELETED_AUDIT - - ALERT_CONFIG_CHANGED_AUDIT - - API_KEY_CREATED - - API_KEY_DELETED - - API_KEY_ACCESS_LIST_ENTRY_ADDED - - API_KEY_ACCESS_LIST_ENTRY_DELETED - - API_KEY_ROLES_CHANGED - - API_KEY_DESCRIPTION_CHANGED - - API_KEY_ADDED_TO_GROUP - - API_KEY_REMOVED_FROM_GROUP - - API_KEY_UI_IP_ACCESS_LIST_INHERITANCE_ENABLED - - API_KEY_UI_IP_ACCESS_LIST_INHERITANCE_DISABLED - - CHARGE_SUCCEEDED - - CHARGE_FAILED - - CHARGE_PROCESSING - - CHARGE_PENDING_REVERSAL - - BRAINTREE_CHARGE_FAILED - - INVOICE_CLOSED - - CHECK_PAYMENT_RECEIVED - - WIRE_TRANSFER_PAYMENT_RECEIVED - - DISCOUNT_APPLIED - - CREDIT_ISSUED - - CREDIT_PULLED_FWD - - CREDIT_END_DATE_MODIFIED - - PROMO_CODE_APPLIED - - PAYMENT_FORGIVEN - - REFUND_ISSUED - - ACCOUNT_DOWNGRADED - - ACCOUNT_UPGRADED - - ACCOUNT_MODIFIED - - SUPPORT_PLAN_ACTIVATED - - SUPPORT_PLAN_CANCELLED - - SUPPORT_PLAN_CANCELLATION_SCHEDULED - - INITIATE_SALESFORCE_SERVICE_CLOUD_SYNC - - INVOICE_ADDRESS_CHANGED - - INVOICE_ADDRESS_ADDED - - PREPAID_PLAN_ACTIVATED - - ELASTIC_INVOICING_MODE_ACTIVATED - - ELASTIC_INVOICING_MODE_DEACTIVATED - - TERMINATE_PAID_SERVICES - - BILLING_EMAIL_ADDRESS_ADDED - - BILLING_EMAIL_ADDRESS_CHANGED - - BILLING_EMAIL_ADDRESS_REMOVED - - AWS_BILLING_ACCOUNT_CREDIT_ISSUED - - GCP_BILLING_ACCOUNT_CREDIT_ISSUED - - CREDIT_SFOLI_MODIFIED - - CREDIT_SFOLID_MODIFIED - - CREDIT_AMOUNT_MODIFIED - - PREPAID_PLAN_MODIFIED - - AWS_USAGE_REPORTED - - AZURE_USAGE_REPORTED - - GCP_USAGE_REPORTED - - BECAME_PAYING_ORG - - NEW_LINKED_ORG - - UNLINKED_ORG - - ORG_LINKED_TO_PAYING_ORG - - ORG_UNLINKED_FROM_PAYING_ORG - - PAYMENT_UPDATED_THROUGH_API - - AZURE_BILLING_ACCOUNT_CREDIT_ISSUED - - CREDIT_START_DATE_MODIFIED - - CREDIT_ELASTIC_INVOICING_MODIFIED - - CREDIT_TYPE_MODIFIED - - CREDIT_AMOUNT_CENTS_MODIFIED - - CREDIT_AMOUNT_REMAINING_CENTS_MODIFIED - - CREDIT_TOTAL_BILLED_CENTS_MODIFIED - - CREDIT_AWS_CUSTOMER_ID_MODIFIED - - CREDIT_AWS_PRODUCT_CODE_MODIFIED - - CREDIT_GCP_MARKETPLACE_ENTITLEMENT_ID_MODIFIED - - CREDIT_AZURE_SUBSCRIPTION_ID_MODIFIED - - FEDERATION_SETTINGS_CREATED - - FEDERATION_SETTINGS_DELETED - - FEDERATION_SETTINGS_UPDATED - - IDENTITY_PROVIDER_CREATED - - IDENTITY_PROVIDER_UPDATED - - IDENTITY_PROVIDER_DELETED - - IDENTITY_PROVIDER_ACTIVATED - - IDENTITY_PROVIDER_DEACTIVATED - - IDENTITY_PROVIDER_JWKS_REVOKED - - OIDC_IDENTITY_PROVIDER_ENABLED - - OIDC_IDENTITY_PROVIDER_DISABLED - - DOMAINS_ASSOCIATED - - DOMAIN_CREATED - - DOMAIN_DELETED - - DOMAIN_VERIFIED - - ORG_SETTINGS_CONFIGURED - - ORG_SETTINGS_UPDATED - - ORG_SETTINGS_DELETED - - RESTRICT_ORG_MEMBERSHIP_ENABLED - - RESTRICT_ORG_MEMBERSHIP_DISABLED - - ROLE_MAPPING_CREATED - - ROLE_MAPPING_UPDATED - - ROLE_MAPPING_DELETED - - GROUP_DELETED - - GROUP_CREATED - - GROUP_MOVED - - MLAB_MIGRATION_COMPLETED - - MLAB_MIGRATION_TARGET_CLUSTER_CREATED - - MLAB_MIGRATION_DATABASE_USERS_IMPORTED - - MLAB_MIGRATION_IP_WHITELIST_IMPORTED - - MLAB_MIGRATION_TARGET_CLUSTER_SET - - MLAB_MIGRATION_DATABASE_RENAMED - - MLAB_MIGRATION_LIVE_IMPORT_STARTED - - MLAB_MIGRATION_LIVE_IMPORT_READY_FOR_CUTOVER - - MLAB_MIGRATION_LIVE_IMPORT_CUTOVER_COMPLETE - - MLAB_MIGRATION_LIVE_IMPORT_ERROR - - MLAB_MIGRATION_LIVE_IMPORT_CANCELLED - - MLAB_MIGRATION_DUMP_AND_RESTORE_TEST_STARTED - - MLAB_MIGRATION_DUMP_AND_RESTORE_TEST_SKIPPED - - MLAB_MIGRATION_DUMP_AND_RESTORE_STARTED - - MLAB_MIGRATION_SUPPORT_PLAN_SELECTED - - MLAB_MIGRATION_SUPPORT_PLAN_OPTED_OUT - - ORG_LIMIT_UPDATED - - ORG_CREATED - - ORG_CREDIT_CARD_ADDED - - ORG_CREDIT_CARD_UPDATED - - ORG_CREDIT_CARD_CURRENT - - ORG_CREDIT_CARD_ABOUT_TO_EXPIRE - - ORG_PAYPAL_LINKED - - ORG_PAYPAL_UPDATED - - ORG_PAYPAL_CANCELLED - - ORG_OVERRIDE_PAYMENT_METHOD_ADDED - - ORG_ACTIVATED - - ORG_TEMPORARILY_ACTIVATED - - ORG_SUSPENDED - - ORG_ADMIN_SUSPENDED - - ORG_ADMIN_LOCKED - - ORG_CLUSTERS_DELETED - - ORG_CLUSTERS_PAUSED - - ORG_LOCKED - - ORG_RENAMED - - ALL_ORG_USERS_HAVE_MFA - - ORG_USERS_WITHOUT_MFA - - ORG_INVOICE_UNDER_THRESHOLD - - ORG_INVOICE_OVER_THRESHOLD - - ORG_DAILY_BILL_UNDER_THRESHOLD - - ORG_DAILY_BILL_OVER_THRESHOLD - - ORG_GROUP_CHARGES_UNDER_THRESHOLD - - ORG_GROUP_CHARGES_OVER_THRESHOLD - - ORG_TWO_FACTOR_AUTH_REQUIRED - - ORG_TWO_FACTOR_AUTH_OPTIONAL - - ORG_PUBLIC_API_ACCESS_LIST_REQUIRED - - ORG_PUBLIC_API_ACCESS_LIST_NOT_REQUIRED - - ORG_EMPLOYEE_ACCESS_RESTRICTED - - ORG_EMPLOYEE_ACCESS_UNRESTRICTED - - ORG_SFDC_ACCOUNT_ID_CHANGED - - ORG_CONNECTED_TO_MLAB - - ORG_DISCONNECTED_FROM_MLAB - - ORG_IDP_CERTIFICATE_CURRENT - - ORG_IDP_CERTIFICATE_ABOUT_TO_EXPIRE - - ORG_CONNECTED_TO_VERCEL - - ORG_DISCONNECTED_FROM_VERCEL - - ORG_DISCONNECTED_TO_VERCEL - - ORG_CONNECTION_UNINSTALLED_FROM_VERCEL - - ORG_UI_IP_ACCESS_LIST_ENABLED - - ORG_UI_IP_ACCESS_LIST_DISABLED - - ORG_EDITED_UI_IP_ACCESS_LIST_ENTRIES - - AWS_SELF_SERVE_ACCOUNT_LINKED - - AWS_SELF_SERVE_ACCOUNT_LINK_PENDING - - AWS_SELF_SERVE_ACCOUNT_CANCELLED - - AWS_SELF_SERVE_ACCOUNT_LINK_FAILED - - GCP_SELF_SERVE_ACCOUNT_LINK_PENDING - - GCP_SELF_SERVE_ACCOUNT_LINK_FAILED - - AZURE_SELF_SERVE_ACCOUNT_LINKED - - AZURE_SELF_SERVE_ACCOUNT_LINK_PENDING - - AZURE_SELF_SERVE_ACCOUNT_CANCELLED - - AZURE_SELF_SERVE_ACCOUNT_LINK_FAILED - - GCP_SELF_SERVE_ACCOUNT_LINKED - - GCP_SELF_SERVE_ACCOUNT_CANCELLED - - ORG_POLICY_CREATED - - ORG_POLICY_DELETED - - ORG_POLICY_EDITED - - ORG_POLICY_CLONED - - SUPPORT_EMAILS_SENT_SUCCESSFULLY - - SUPPORT_EMAILS_SENT_FAILURE - - TEAM_CREATED - - TEAM_DELETED - - TEAM_UPDATED - - TEAM_NAME_CHANGED - - TEAM_ADDED_TO_GROUP - - TEAM_REMOVED_FROM_GROUP - - TEAM_ROLES_MODIFIED - - JOINED_ORG - - JOINED_TEAM - - INVITED_TO_ORG - - ORG_INVITATION_DELETED - - REMOVED_FROM_ORG - - REMOVED_FROM_TEAM - - USER_ROLES_CHANGED_AUDIT - - ORG_FLEX_CONSULTING_PURCHASED - - ORG_FLEX_CONSULTING_PURCHASE_FAILED EventViewForNdsGroup: type: object x-xgen-go-transform: merge-oneOf @@ -16725,9 +15540,6 @@ components: Operator: type: string description: Comparison operator to apply when checking the current metric value. - enum: - - < - - ">" PaginatedHostView_Atlas: type: object properties: @@ -16770,8 +15582,6 @@ components: default: RAW description: Element used to express the quantity. This can be an element of time, storage capacity, and the like. - enum: - - RAW title: Raw Metric Units RoleAssignment: type: object @@ -16834,19 +15644,6 @@ components: * GROUP_SEARCH_INDEX_EDITOR - enum: - - ORG_OWNER - - ORG_MEMBER - - ORG_GROUP_CREATOR - - ORG_BILLING_ADMIN - - ORG_READ_ONLY - - GROUP_CLUSTER_MANAGER - - GROUP_DATA_ACCESS_ADMIN - - GROUP_DATA_ACCESS_READ_ONLY - - GROUP_DATA_ACCESS_READ_WRITE - - GROUP_OWNER - - GROUP_READ_ONLY - - GROUP_SEARCH_INDEX_EDITOR SamlIdentityProviderUpdate: type: object properties: @@ -16878,16 +15675,10 @@ components: description: SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. - enum: - - HTTP-POST - - HTTP-REDIRECT responseSignatureAlgorithm: type: string description: Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. - enum: - - SHA-1 - - SHA-256 ssoDebugEnabled: type: boolean description: Flag that indicates whether the identity provider has SSO debug @@ -16900,29 +15691,17 @@ components: status: type: string description: String enum that indicates whether the identity provider is active. - enum: - - ACTIVE - - INACTIVE required: - ssoDebugEnabled ServerlessEventTypeViewAlertable: type: string description: Event type that triggers an alert. - enum: - - OUTSIDE_SERVERLESS_METRIC_THRESHOLD example: OUTSIDE_SERVERLESS_METRIC_THRESHOLD title: Serverless Event Types ServerlessMetricUnits: type: string description: Element used to express the quantity. This can be an element of time, storage capacity, and the like. - enum: - - RPU - - THOUSAND_RPU - - MILLION_RPU - - WPU - - THOUSAND_WPU - - MILLION_WPU example: RPU title: Serverless Metric Units Source: @@ -16993,68 +15772,16 @@ components: type: string description: Element used to express the quantity. This can be an element of time, storage capacity, and the like. - enum: - - bits - - Kbits - - Mbits - - Gbits - - bytes - - KB - - MB - - GB - - TB - - PB - - nsec - - msec - - sec - - min - - hours - - million minutes - - days - - requests - - 1000 requests - - GB seconds - - GB hours - - GB days - - RPU - - thousand RPU - - million RPU - - WPU - - thousand WPU - - million WPU - - count - - thousand - - million - - billion - - "" title: Threshold TimeMetricUnits: type: string default: HOURS description: Element used to express the quantity. This can be an element of time, storage capacity, and the like. - enum: - - NANOSECONDS - - MILLISECONDS - - MILLION_MINUTES - - SECONDS - - MINUTES - - HOURS - - DAYS title: Time Metric Units UserEventTypeViewForOrg: type: string description: Unique identifier of event type. - enum: - - JOINED_ORG - - JOINED_TEAM - - INVITED_TO_ORG - - ORG_INVITATION_DELETED - - REMOVED_FROM_ORG - - REMOVED_FROM_TEAM - - USER_ROLES_CHANGED_AUDIT - - ORG_FLEX_CONSULTING_PURCHASED - - ORG_FLEX_CONSULTING_PURCHASE_FAILED example: JOINED_ORG title: User Event Types X509Certificate: @@ -17083,8 +15810,6 @@ components: type: type: string description: Human-readable label that identifies this character filter type. - enum: - - htmlStrip required: - type title: htmlStrip @@ -17096,8 +15821,6 @@ components: type: type: string description: Human-readable label that identifies this character filter type. - enum: - - icuNormalize required: - type title: icuNormalize @@ -17121,8 +15844,6 @@ components: type: type: string description: Human-readable label that identifies this character filter type. - enum: - - mapping required: - mappings - type @@ -17138,8 +15859,6 @@ components: type: type: string description: Human-readable label that identifies this character filter type. - enum: - - persian required: - type title: persian @@ -17219,10 +15938,6 @@ components: minLength: 1 severity: type: string - enum: - - INFO - - WARNING - - ERROR readOnly: true tokenFilterasciiFolding: type: object @@ -17244,14 +15959,9 @@ components: Choose `include` if you want to support queries on both the original tokens as well as the converted forms. Choose `omit` if you want to query only on the converted forms of the original tokens. - enum: - - omit - - include type: type: string description: Human-readable label that identifies this token filter type. - enum: - - asciiFolding required: - type title: asciiFolding @@ -17285,14 +15995,9 @@ components: Choose `include` if you want to support queries on both the original tokens as well as the converted forms. Choose `omit` if you want to query only on the converted forms of the original tokens. - enum: - - omit - - include type: type: string description: Human-readable label that identifies this token filter type. - enum: - - daitchMokotoffSoundex required: - type title: daitchMokotoffSoundex @@ -17315,14 +16020,9 @@ components: default: omit description: Value that indicates whether to index tokens shorter than **minGram** or longer than **maxGram**. - enum: - - omit - - include type: type: string description: Human-readable label that identifies this token filter type. - enum: - - edgeGram required: - maxGram - minGram @@ -17339,8 +16039,6 @@ components: type: type: string description: Human-readable label that identifies this token filter type. - enum: - - icuFolding required: - type title: icuFolding @@ -17356,16 +16054,9 @@ components: type: string default: nfc description: Normalization form to apply. - enum: - - nfd - - nfc - - nfkd - - nfkc type: type: string description: Human-readable label that identifies this token filter type. - enum: - - icuNormalizer required: - type title: icuNormalizer @@ -17386,8 +16077,6 @@ components: type: type: string description: Human-readable label that identifies this token filter type. - enum: - - length required: - type title: length @@ -17398,8 +16087,6 @@ components: type: type: string description: Human-readable label that identifies this token filter type. - enum: - - lowercase required: - type title: lowercase @@ -17422,14 +16109,9 @@ components: default: omit description: Value that indicates whether to index tokens shorter than **minGram** or longer than **maxGram**. - enum: - - omit - - include type: type: string description: Human-readable label that identifies this token filter type. - enum: - - nGram required: - maxGram - minGram @@ -17444,9 +16126,6 @@ components: type: string description: Value that indicates whether to replace only the first matching pattern or all matching patterns. - enum: - - all - - first pattern: type: string description: Regular expression pattern to apply to each token. @@ -17456,8 +16135,6 @@ components: type: type: string description: Human-readable label that identifies this token filter type. - enum: - - regex required: - matches - pattern @@ -17471,8 +16148,6 @@ components: type: type: string description: Human-readable label that identifies this token filter type. - enum: - - reverse required: - type title: reverse @@ -17493,8 +16168,6 @@ components: type: type: string description: Human-readable label that identifies this token filter type. - enum: - - shingle required: - maxShingleSize - minShingleSize @@ -17510,37 +16183,9 @@ components: stemmerName: type: string description: Snowball-generated stemmer to use. - enum: - - arabic - - armenian - - basque - - catalan - - danish - - dutch - - english - - finnish - - french - - german - - german2 - - hungarian - - irish - - italian - - kp - - lithuanian - - lovins - - norwegian - - porter - - portuguese - - romanian - - russian - - spanish - - swedish - - turkish type: type: string description: Human-readable label that identifies this token filter type. - enum: - - snowballStemming required: - stemmerName - type @@ -17565,8 +16210,6 @@ components: type: type: string description: Human-readable label that identifies this token filter type. - enum: - - stopword required: - tokens - type @@ -17578,8 +16221,6 @@ components: type: type: string description: Human-readable label that identifies this token filter type. - enum: - - trim required: - type title: trim @@ -17599,8 +16240,6 @@ components: type: type: string description: Human-readable label that identifies this tokenizer type. - enum: - - edgeGram required: - maxGram - minGram @@ -17613,8 +16252,6 @@ components: type: type: string description: Human-readable label that identifies this tokenizer type. - enum: - - keyword required: - type title: keyword @@ -17634,8 +16271,6 @@ components: type: type: string description: Human-readable label that identifies this tokenizer type. - enum: - - edgeGram required: - maxGram - minGram @@ -17655,8 +16290,6 @@ components: type: type: string description: Human-readable label that identifies this tokenizer type. - enum: - - regexCaptureGroup required: - group - pattern @@ -17672,8 +16305,6 @@ components: type: type: string description: Human-readable label that identifies this tokenizer type. - enum: - - regexSplit required: - pattern - type @@ -17694,8 +16325,6 @@ components: type: type: string description: Human-readable label that identifies this tokenizer type. - enum: - - standard required: - type title: standard @@ -17719,8 +16348,6 @@ components: type: type: string description: Human-readable label that identifies this tokenizer type. - enum: - - uaxUrlEmail required: - type title: uaxUrlEmail @@ -17737,8 +16364,6 @@ components: type: type: string description: Human-readable label that identifies this tokenizer type. - enum: - - whitespace required: - type title: whitespace @@ -17844,16 +16469,6 @@ components: description: Type of MongoDB process that MongoDB Cloud tracks. MongoDB Cloud returns new processes as **NO_DATA** until MongoDB Cloud completes deploying the process. - enum: - - REPLICA_PRIMARY - - REPLICA_SECONDARY - - RECOVERING - - SHARD_MONGOS - - SHARD_CONFIG - - SHARD_STANDALONE - - SHARD_PRIMARY - - SHARD_SECONDARY - - NO_DATA readOnly: true userAlias: type: string @@ -17887,16 +16502,6 @@ components: type: string description: Element used to quantify the measurement. The resource returns units of throughput, storage, and time. - enum: - - BYTES - - BYTES_PER_SECOND - - GIGABYTES - - GIGABYTES_PER_HOUR - - MEGABYTES_PER_SECOND - - MILLISECONDS - - PERCENT - - SCALAR - - SCALAR_PER_SECOND readOnly: true MeasurementsGeneralView_Atlas: type: object @@ -17920,11 +16525,6 @@ components: points. The parameter expresses its value in ISO 8601 timestamp format in UTC. If you set this parameter, you must set either **period** or **start** and **end**. - enum: - - PT1M - - PT5M - - PT1H - - P1D readOnly: true groupId: type: string @@ -18053,8 +16653,6 @@ components: type: string description: Human-readable label that indicates the rate at which the export policy item occurs. - enum: - - monthly title: export AvailableDeployment: type: object @@ -18190,11 +16788,6 @@ components: `available` when all nodes are accessible, `warning` only when some nodes in the cluster can be accessed, `unavailable` when the cluster can't be accessed, or `dead` when the cluster has been deactivated. - enum: - - available - - dead - - unavailable - - warning readOnly: true backupEnabled: type: boolean @@ -18238,9 +16831,6 @@ components: type: type: string description: Human-readable label that indicates the cluster type. - enum: - - REPLICA_SET - - SHARDED_CLUSTER readOnly: true versions: type: array @@ -18301,58 +16891,6 @@ components: items: type: string description: Organization role the user has in Atlas. - enum: - - GLOBAL_AUTOMATION_ADMIN - - GLOBAL_BACKUP_ADMIN - - GLOBAL_METERING_USER - - GLOBAL_METRICS_INTERNAL_USER - - GLOBAL_MONITORING_ADMIN - - GLOBAL_OWNER - - GLOBAL_READ_ONLY - - GLOBAL_USER_ADMIN - - GLOBAL_USER_READ_ONLY - - GLOBAL_ACCOUNT_SUSPENSION_ADMIN - - GLOBAL_BILLING_ADMIN - - GLOBAL_BILLING_READ_ONLY - - GLOBAL_LEGAL_ADMIN - - GLOBAL_FEATURE_FLAG_ADMIN - - GLOBAL_APP_SETTING_ADMIN - - GLOBAL_ATLAS_TSE - - GLOBAL_ATLAS_OPERATOR - - GLOBAL_ATLAS_MONGODB_ROLLOUT_ADMIN - - GLOBAL_ATLAS_ADMIN - - GLOBAL_STITCH_ADMIN - - GLOBAL_CHARTS_ADMIN - - GLOBAL_EXPERIMENT_ASSIGNMENT_USER - - GLOBAL_STITCH_INTERNAL_ADMIN - - GLOBAL_BAAS_FEATURE_ADMIN - - GLOBAL_BAAS_SUPPORT - - GLOBAL_SECURITY_ADMIN - - GLOBAL_QUERY_ENGINE_INTERNAL_ADMIN - - GLOBAL_PROACTIVE_SUPPORT_ADMIN - - GLOBAL_INFRASTRUCTURE_INTERNAL_ADMIN - - GLOBAL_SALESFORCE_ADMIN - - GLOBAL_SALESFORCE_READ_ONLY - - GLOBAL_APP_SERVICES_CLUSTER_DEBUG_DATA_ACCESS - - ORG_MEMBER - - ORG_READ_ONLY - - ORG_BILLING_ADMIN - - ORG_GROUP_CREATOR - - ORG_OWNER - - ORG_TEAM_MEMBERS_ADMIN - - GROUP_AUTOMATION_ADMIN - - GROUP_BACKUP_ADMIN - - GROUP_MONITORING_ADMIN - - GROUP_OWNER - - GROUP_READ_ONLY - - GROUP_USER_ADMIN - - GROUP_BILLING_ADMIN - - GROUP_DATA_ACCESS_ADMIN - - GROUP_DATA_ACCESS_READ_ONLY - - GROUP_DATA_ACCESS_READ_WRITE - - GROUP_CHARTS_ADMIN - - GROUP_CLUSTER_MANAGER - - GROUP_SEARCH_INDEX_EDITOR uniqueItems: true roleMappings: type: array @@ -18412,9 +16950,6 @@ components: **DATE** selects documents to archive based on a date. **CUSTOM** selects documents to archive based on a custom JSON query. MongoDB Cloud doesn't support **CUSTOM** when `"collectionType": "TIMESERIES"`. - enum: - - DATE - - CUSTOM DailySchedule: type: object properties: @@ -18460,8 +16995,6 @@ components: mode: type: string description: MongoDB Cloud computes the current metric value as an average. - enum: - - AVERAGE operator: $ref: "#/components/schemas/Operator" threshold: @@ -18502,11 +17035,6 @@ components: To learn more about Datadog's regions, see Datadog Sites. - enum: - - US - - EU - - US3 - - US5 delayMin: type: integer format: int32 @@ -18526,8 +17054,6 @@ components: typeName: type: string description: Human-readable label that displays the alert notification type. - enum: - - DATADOG required: - typeName title: Datadog Notification @@ -18554,11 +17080,6 @@ components: seconds. Set this parameter when **"criteria.type" : "DATE"**. You must set **"criteria.type" : "DATE"** if **"collectionType": "TIMESERIES"**. - enum: - - ISODATE - - EPOCH_SECONDS - - EPOCH_MILLIS - - EPOCH_NANOSECONDS expireAfterDays: type: integer format: int32 @@ -18574,9 +17095,6 @@ components: **DATE** selects documents to archive based on a date. **CUSTOM** selects documents to archive based on a custom JSON query. MongoDB Cloud doesn't support **CUSTOM** when `"collectionType": "TIMESERIES"`. - enum: - - DATE - - CUSTOM required: [] DefaultSchedule: type: object @@ -18629,8 +17147,6 @@ components: typeName: type: string description: Human-readable label that displays the alert notification type. - enum: - - EMAIL required: - typeName title: Email Notification @@ -18719,18 +17235,6 @@ components: items: type: string description: One organization or project role that receive the configured alert. - enum: - - GROUP_CLUSTER_MANAGER - - GROUP_DATA_ACCESS_ADMIN - - GROUP_DATA_ACCESS_READ_ONLY - - GROUP_DATA_ACCESS_READ_WRITE - - GROUP_OWNER - - GROUP_READ_WRITE - - ORG_OWNER - - ORG_MEMBER - - ORG_GROUP_CREATOR - - ORG_BILLING_ADMIN - - ORG_READ_ONLY smsEnabled: type: boolean description: >- @@ -18747,8 +17251,6 @@ components: typeName: type: string description: Human-readable label that displays the alert notification type. - enum: - - GROUP required: - typeName title: Group Notification @@ -18828,8 +17330,6 @@ components: typeName: type: string description: Human-readable label that displays the alert notification type. - enum: - - HIP_CHAT required: - typeName title: HipChat Notification @@ -18846,40 +17346,6 @@ components: readOnly: true units: type: string - enum: - - bits - - Kbits - - Mbits - - Gbits - - bytes - - KB - - MB - - GB - - TB - - PB - - nsec - - msec - - sec - - min - - hours - - million minutes - - days - - requests - - 1000 requests - - GB seconds - - GB hours - - GB days - - RPU - - thousand RPU - - million RPU - - WPU - - thousand WPU - - million WPU - - count - - thousand - - million - - billion - - "" readOnly: true IdentityProvider: type: object @@ -18924,16 +17390,10 @@ components: description: SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. - enum: - - HTTP-POST - - HTTP-REDIRECT responseSignatureAlgorithm: type: string description: Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. - enum: - - SHA-1 - - SHA-256 ssoDebugEnabled: type: boolean description: Flag that indicates whether the identity provider has SSO debug @@ -18944,9 +17404,6 @@ components: status: type: string description: String enum that indicates whether the identity provider is active. - enum: - - ACTIVE - - INACTIVE required: - oktaIdpId LiveMigrationRequest: @@ -19037,12 +17494,6 @@ components: | EXPIRED | MongoDB Atlas prepares to begin the cut over of the migrating cluster when source and target clusters have almost synchronized. If `"readyForCutover" : true`, this synchronization starts a timer of 120 hours. You can extend this timer. If the timer expires, MongoDB Atlas returns this status. | | WORKING | The cluster migration to MongoDB Atlas is performing one of the following tasks: | - enum: - - NEW - - WORKING - - FAILED - - COMPLETE - - EXPIRED readOnly: true ManagedNamespace: type: object @@ -19085,15 +17536,6 @@ components: ranges for the collection. MatcherField: type: string - enum: - - APPLICATION_ID - - CLUSTER_NAME - - TYPE_NAME - - HOSTNAME - - PORT - - HOSTNAME_AND_PORT - - REPLICA_SET_NAME - - SHARD_NAME MicrosoftTeamsNotification: type: object description: Microsoft Teams notification configuration for MongoDB Cloud to @@ -19131,8 +17573,6 @@ components: typeName: type: string description: Human-readable label that displays the alert notification type. - enum: - - MICROSOFT_TEAMS required: - typeName title: Microsoft Teams Notification @@ -19221,14 +17661,9 @@ components: default: US description: Opsgenie region that indicates which API Uniform Resource Locator (URL) to use. - enum: - - US - - EU typeName: type: string description: Human-readable label that displays the alert notification type. - enum: - - OPS_GENIE required: - typeName title: OpsGenie Notification @@ -19266,9 +17701,6 @@ components: identityProviderStatus: type: string description: String enum that indicates whether the identity provider is active. - enum: - - ACTIVE - - INACTIVE title: Organization Federation Settings OrgGroup: type: object @@ -19368,18 +17800,6 @@ components: items: type: string description: One organization or project role that receive the configured alert. - enum: - - GROUP_CLUSTER_MANAGER - - GROUP_DATA_ACCESS_ADMIN - - GROUP_DATA_ACCESS_READ_ONLY - - GROUP_DATA_ACCESS_READ_WRITE - - GROUP_OWNER - - GROUP_READ_WRITE - - ORG_OWNER - - ORG_MEMBER - - ORG_GROUP_CREATOR - - ORG_BILLING_ADMIN - - ORG_READ_ONLY smsEnabled: type: boolean description: >- @@ -19396,8 +17816,6 @@ components: typeName: type: string description: Human-readable label that displays the alert notification type. - enum: - - ORG required: - typeName title: Org Notification @@ -19455,9 +17873,6 @@ components: default: US description: PagerDuty region that indicates which API Uniform Resource Locator (URL) to use. - enum: - - US - - EU serviceKey: type: string description: >- @@ -19479,8 +17894,6 @@ components: typeName: type: string description: Human-readable label that displays the alert notification type. - enum: - - PAGER_DUTY required: - typeName title: PagerDuty Notification @@ -20564,13 +18977,6 @@ components: [UUID](http://bsonspec.org/spec.html) must be of binary subtype 4. MongoDB Cloud skips partition parameters of type UUID with subtype 3. - enum: - - date - - int - - long - - objectId - - string - - uuid readOnly: true order: type: integer @@ -20675,8 +19081,6 @@ components: mode: type: string description: MongoDB Cloud computes the current metric value as an average. - enum: - - AVERAGE operator: $ref: "#/components/schemas/Operator" threshold: @@ -20695,8 +19099,6 @@ components: mode: type: string description: MongoDB Cloud computes the current metric value as an average. - enum: - - AVERAGE operator: $ref: "#/components/schemas/Operator" threshold: @@ -20708,8 +19110,6 @@ components: ResourceEventType: type: string description: Unique identifier of event type. - enum: - - TAGS_MODIFIED example: TAGS_MODIFIED title: Resource Event Types RoleMapping: @@ -20770,8 +19170,6 @@ components: typeName: type: string description: Human-readable label that displays the alert notification type. - enum: - - SMS required: - typeName title: SMS Notification @@ -20855,8 +19253,6 @@ components: typeName: type: string description: Human-readable label that displays the alert notification type. - enum: - - SLACK required: - typeName title: Slack Notification @@ -20943,8 +19339,6 @@ components: typeName: type: string description: Human-readable label that displays the alert notification type. - enum: - - TEAM required: - typeName title: Team Notification @@ -20958,8 +19352,6 @@ components: mode: type: string description: MongoDB Cloud computes the current metric value as an average. - enum: - - AVERAGE operator: $ref: "#/components/schemas/Operator" threshold: @@ -21028,8 +19420,6 @@ components: typeName: type: string description: Human-readable label that displays the alert notification type. - enum: - - USER username: type: string format: email @@ -21077,10 +19467,6 @@ components: type: string description: State of the specified validation job returned at the time of the request. - enum: - - PENDING - - SUCCESS - - FAILED nullable: true readOnly: true VictorOpsNotification: @@ -21107,8 +19493,6 @@ components: typeName: type: string description: Human-readable label that displays the alert notification type. - enum: - - VICTOR_OPS victorOpsApiKey: type: string description: >- @@ -21162,8 +19546,6 @@ components: typeName: type: string description: Human-readable label that displays the alert notification type. - enum: - - WEBHOOK webhookSecret: type: string description: >- @@ -21447,10 +19829,6 @@ components: type: string description: Human-readable label that identifies the type of host that the part represents. - enum: - - REPLICA_SET - - CONFIG_SERVER - - CONFIG_SERVER_REPLICA_SET readOnly: true readOnly: true CreateApiKey: @@ -21469,12 +19847,6 @@ components: organization or project. items: type: string - enum: - - ORG_OWNER - - ORG_MEMBER - - ORG_GROUP_CREATOR - - ORG_BILLING_ADMIN - - ORG_READ_ONLY Database: type: object properties: @@ -21519,18 +19891,11 @@ components: To learn more about Datadog's regions, see Datadog Sites. - enum: - - US - - EU - - US3 - - US5 type: type: string description: Human-readable label that identifies the service to which you want to integrate with MongoDB Cloud. The value must match the third-party service integration type. - enum: - - DATADOG required: - apiKey title: DATADOG @@ -21574,10 +19939,6 @@ components: type: string description: Human-readable label that identifies the cloud provider for the deleted copy setting whose backup copies you want to delete. - enum: - - AWS - - AZURE - - GCP writeOnly: true regionName: type: string @@ -21640,45 +20001,10 @@ components: type: string description: Human-readable label that identifies this Atlas Search hardware, status, or index measurement. - enum: - - INDEX_SIZE_ON_DISK - - NUMBER_OF_DELETES - - NUMBER_OF_ERROR_QUERIES - - NUMBER_OF_GETMORE_COMMANDS - - NUMBER_OF_INDEX_FIELDS - - NUMBER_OF_INSERTS - - NUMBER_OF_SUCCESS_QUERIES - - NUMBER_OF_UPDATES - - REPLICATION_LAG - - TOTAL_NUMBER_OF_QUERIES - - FTS_DISK_USAGE - - FTS_PROCESS_CPU_KERNEL - - FTS_PROCESS_CPU_USER - - FTS_PROCESS_NORMALIZED_CPU_KERNEL - - FTS_PROCESS_NORMALIZED_CPU_USER - - FTS_PROCESS_RESIDENT_MEMORY - - FTS_PROCESS_SHARED_MEMORY - - FTS_PROCESS_VIRTUAL_MEMORY - - JVM_CURRENT_MEMORY - - JVM_MAX_MEMORY readOnly: true units: type: string description: Unit of measurement that applies to this Atlas Search metric. - enum: - - BYTES - - BYTES_PER_SECOND - - GIGABYTES - - GIGABYTES_PER_HOUR - - KILOBYTES - - MEGABYTES - - MEGABYTES_PER_SECOND - - MILLISECONDS - - MILLISECONDS_LOGSCALE - - PERCENT - - SCALAR - - SCALAR_PER_SECOND - - SECONDS readOnly: true readOnly: true required: @@ -21747,13 +20073,6 @@ components: MongoDB Cloud user. items: type: string - enum: - - GROUP_CLUSTER_MANAGER - - GROUP_DATA_ACCESS_ADMIN - - GROUP_DATA_ACCESS_READ_ONLY - - GROUP_DATA_ACCESS_READ_WRITE - - GROUP_OWNER - - GROUP_READ_ONLY uniqueItems: true username: type: string @@ -21769,13 +20088,6 @@ components: MongoDB Cloud user. items: type: string - enum: - - GROUP_CLUSTER_MANAGER - - GROUP_DATA_ACCESS_ADMIN - - GROUP_DATA_ACCESS_READ_ONLY - - GROUP_DATA_ACCESS_READ_WRITE - - GROUP_OWNER - - GROUP_READ_ONLY uniqueItems: true GroupInvitation: type: object @@ -21839,13 +20151,6 @@ components: MongoDB Cloud user. items: type: string - enum: - - GROUP_CLUSTER_MANAGER - - GROUP_DATA_ACCESS_ADMIN - - GROUP_DATA_ACCESS_READ_ONLY - - GROUP_DATA_ACCESS_READ_WRITE - - GROUP_OWNER - - GROUP_READ_ONLY uniqueItems: true username: type: string @@ -22078,15 +20383,6 @@ components: | PENDING | Invoice includes charges for the current billing cycle. | | PREPAID | Customer has a pre-paid plan so they won't be charged. | - enum: - - PENDING - - CLOSED - - FORGIVEN - - FAILED - - PAID - - FREE - - PREPAID - - INVOICED subtotalCents: type: integer format: int64 @@ -22228,313 +20524,6 @@ components: description: Human-readable description of the service that this line item provided. This Stock Keeping Unit (SKU) could be the instance type, a support charge, advanced security, or another service. - enum: - - CLASSIC_BACKUP_OPLOG - - CLASSIC_BACKUP_STORAGE - - CLASSIC_BACKUP_SNAPSHOT_CREATE - - CLASSIC_BACKUP_DAILY_MINIMUM - - CLASSIC_BACKUP_FREE_TIER - - CLASSIC_COUPON - - BACKUP_STORAGE_FREE_TIER - - BACKUP_STORAGE - - FLEX_CONSULTING - - CLOUD_MANAGER_CLASSIC - - CLOUD_MANAGER_BASIC_FREE_TIER - - CLOUD_MANAGER_BASIC - - CLOUD_MANAGER_PREMIUM - - CLOUD_MANAGER_FREE_TIER - - CLOUD_MANAGER_STANDARD_FREE_TIER - - CLOUD_MANAGER_STANDARD_ANNUAL - - CLOUD_MANAGER_STANDARD - - CLOUD_MANAGER_FREE_TRIAL - - ATLAS_INSTANCE_M0 - - ATLAS_INSTANCE_M2 - - ATLAS_INSTANCE_M5 - - ATLAS_AWS_INSTANCE_M10 - - ATLAS_AWS_INSTANCE_M20 - - ATLAS_AWS_INSTANCE_M30 - - ATLAS_AWS_INSTANCE_M40 - - ATLAS_AWS_INSTANCE_M50 - - ATLAS_AWS_INSTANCE_M60 - - ATLAS_AWS_INSTANCE_M80 - - ATLAS_AWS_INSTANCE_M100 - - ATLAS_AWS_INSTANCE_M140 - - ATLAS_AWS_INSTANCE_M200 - - ATLAS_AWS_INSTANCE_M300 - - ATLAS_AWS_INSTANCE_M40_LOW_CPU - - ATLAS_AWS_INSTANCE_M50_LOW_CPU - - ATLAS_AWS_INSTANCE_M60_LOW_CPU - - ATLAS_AWS_INSTANCE_M80_LOW_CPU - - ATLAS_AWS_INSTANCE_M200_LOW_CPU - - ATLAS_AWS_INSTANCE_M300_LOW_CPU - - ATLAS_AWS_INSTANCE_M400_LOW_CPU - - ATLAS_AWS_INSTANCE_M700_LOW_CPU - - ATLAS_AWS_INSTANCE_M40_NVME - - ATLAS_AWS_INSTANCE_M50_NVME - - ATLAS_AWS_INSTANCE_M60_NVME - - ATLAS_AWS_INSTANCE_M80_NVME - - ATLAS_AWS_INSTANCE_M200_NVME - - ATLAS_AWS_INSTANCE_M400_NVME - - ATLAS_AWS_INSTANCE_M10_PAUSED - - ATLAS_AWS_INSTANCE_M20_PAUSED - - ATLAS_AWS_INSTANCE_M30_PAUSED - - ATLAS_AWS_INSTANCE_M40_PAUSED - - ATLAS_AWS_INSTANCE_M50_PAUSED - - ATLAS_AWS_INSTANCE_M60_PAUSED - - ATLAS_AWS_INSTANCE_M80_PAUSED - - ATLAS_AWS_INSTANCE_M100_PAUSED - - ATLAS_AWS_INSTANCE_M140_PAUSED - - ATLAS_AWS_INSTANCE_M200_PAUSED - - ATLAS_AWS_INSTANCE_M300_PAUSED - - ATLAS_AWS_INSTANCE_M40_LOW_CPU_PAUSED - - ATLAS_AWS_INSTANCE_M50_LOW_CPU_PAUSED - - ATLAS_AWS_INSTANCE_M60_LOW_CPU_PAUSED - - ATLAS_AWS_INSTANCE_M80_LOW_CPU_PAUSED - - ATLAS_AWS_INSTANCE_M200_LOW_CPU_PAUSED - - ATLAS_AWS_INSTANCE_M300_LOW_CPU_PAUSED - - ATLAS_AWS_INSTANCE_M400_LOW_CPU_PAUSED - - ATLAS_AWS_INSTANCE_M700_LOW_CPU_PAUSED - - ATLAS_AWS_SEARCH_INSTANCE_S20_COMPUTE_NVME - - ATLAS_AWS_SEARCH_INSTANCE_S30_COMPUTE_NVME - - ATLAS_AWS_SEARCH_INSTANCE_S40_COMPUTE_NVME - - ATLAS_AWS_SEARCH_INSTANCE_S50_COMPUTE_NVME - - ATLAS_AWS_SEARCH_INSTANCE_S60_COMPUTE_NVME - - ATLAS_AWS_STORAGE_PROVISIONED - - ATLAS_AWS_STORAGE_STANDARD - - ATLAS_AWS_STORAGE_STANDARD_GP3 - - ATLAS_AWS_STORAGE_IOPS - - ATLAS_AWS_DATA_TRANSFER_SAME_REGION - - ATLAS_AWS_DATA_TRANSFER_DIFFERENT_REGION - - ATLAS_AWS_DATA_TRANSFER_INTERNET - - ATLAS_AWS_BACKUP_SNAPSHOT_STORAGE - - ATLAS_AWS_BACKUP_DOWNLOAD_VM - - ATLAS_AWS_BACKUP_DOWNLOAD_VM_STORAGE - - ATLAS_AWS_BACKUP_DOWNLOAD_VM_STORAGE_IOPS - - ATLAS_AWS_PRIVATE_ENDPOINT - - ATLAS_AWS_PRIVATE_ENDPOINT_CAPACITY_UNITS - - ATLAS_GCP_INSTANCE_M10 - - ATLAS_GCP_INSTANCE_M20 - - ATLAS_GCP_INSTANCE_M30 - - ATLAS_GCP_INSTANCE_M40 - - ATLAS_GCP_INSTANCE_M50 - - ATLAS_GCP_INSTANCE_M60 - - ATLAS_GCP_INSTANCE_M80 - - ATLAS_GCP_INSTANCE_M140 - - ATLAS_GCP_INSTANCE_M200 - - ATLAS_GCP_INSTANCE_M250 - - ATLAS_GCP_INSTANCE_M300 - - ATLAS_GCP_INSTANCE_M400 - - ATLAS_GCP_INSTANCE_M40_LOW_CPU - - ATLAS_GCP_INSTANCE_M50_LOW_CPU - - ATLAS_GCP_INSTANCE_M60_LOW_CPU - - ATLAS_GCP_INSTANCE_M80_LOW_CPU - - ATLAS_GCP_INSTANCE_M200_LOW_CPU - - ATLAS_GCP_INSTANCE_M300_LOW_CPU - - ATLAS_GCP_INSTANCE_M400_LOW_CPU - - ATLAS_GCP_INSTANCE_M600_LOW_CPU - - ATLAS_GCP_INSTANCE_M10_PAUSED - - ATLAS_GCP_INSTANCE_M20_PAUSED - - ATLAS_GCP_INSTANCE_M30_PAUSED - - ATLAS_GCP_INSTANCE_M40_PAUSED - - ATLAS_GCP_INSTANCE_M50_PAUSED - - ATLAS_GCP_INSTANCE_M60_PAUSED - - ATLAS_GCP_INSTANCE_M80_PAUSED - - ATLAS_GCP_INSTANCE_M140_PAUSED - - ATLAS_GCP_INSTANCE_M200_PAUSED - - ATLAS_GCP_INSTANCE_M250_PAUSED - - ATLAS_GCP_INSTANCE_M300_PAUSED - - ATLAS_GCP_INSTANCE_M400_PAUSED - - ATLAS_GCP_INSTANCE_M40_LOW_CPU_PAUSED - - ATLAS_GCP_INSTANCE_M50_LOW_CPU_PAUSED - - ATLAS_GCP_INSTANCE_M60_LOW_CPU_PAUSED - - ATLAS_GCP_INSTANCE_M80_LOW_CPU_PAUSED - - ATLAS_GCP_INSTANCE_M200_LOW_CPU_PAUSED - - ATLAS_GCP_INSTANCE_M300_LOW_CPU_PAUSED - - ATLAS_GCP_INSTANCE_M400_LOW_CPU_PAUSED - - ATLAS_GCP_INSTANCE_M600_LOW_CPU_PAUSED - - ATLAS_GCP_STORAGE_SSD - - ATLAS_GCP_DATA_TRANSFER_INTERNET - - ATLAS_GCP_DATA_TRANSFER_INTER_CONNECT - - ATLAS_GCP_DATA_TRANSFER_INTER_ZONE - - ATLAS_GCP_DATA_TRANSFER_INTER_REGION - - ATLAS_GCP_DATA_TRANSFER_GOOGLE - - ATLAS_GCP_BACKUP_SNAPSHOT_STORAGE - - ATLAS_GCP_BACKUP_DOWNLOAD_VM - - ATLAS_GCP_BACKUP_DOWNLOAD_VM_STORAGE - - ATLAS_GCP_PRIVATE_ENDPOINT - - ATLAS_GCP_PRIVATE_ENDPOINT_CAPACITY_UNITS - - ATLAS_GCP_SNAPSHOT_COPY_DATA_TRANSFER - - ATLAS_AZURE_INSTANCE_M10 - - ATLAS_AZURE_INSTANCE_M20 - - ATLAS_AZURE_INSTANCE_M30 - - ATLAS_AZURE_INSTANCE_M40 - - ATLAS_AZURE_INSTANCE_M50 - - ATLAS_AZURE_INSTANCE_M60 - - ATLAS_AZURE_INSTANCE_M80 - - ATLAS_AZURE_INSTANCE_M90 - - ATLAS_AZURE_INSTANCE_M200 - - ATLAS_AZURE_INSTANCE_R40 - - ATLAS_AZURE_INSTANCE_R50 - - ATLAS_AZURE_INSTANCE_R60 - - ATLAS_AZURE_INSTANCE_R80 - - ATLAS_AZURE_INSTANCE_R200 - - ATLAS_AZURE_INSTANCE_R300 - - ATLAS_AZURE_INSTANCE_R400 - - ATLAS_AZURE_INSTANCE_M60_NVME - - ATLAS_AZURE_INSTANCE_M80_NVME - - ATLAS_AZURE_INSTANCE_M200_NVME - - ATLAS_AZURE_INSTANCE_M300_NVME - - ATLAS_AZURE_INSTANCE_M400_NVME - - ATLAS_AZURE_INSTANCE_M600_NVME - - ATLAS_AZURE_INSTANCE_M10_PAUSED - - ATLAS_AZURE_INSTANCE_M20_PAUSED - - ATLAS_AZURE_INSTANCE_M30_PAUSED - - ATLAS_AZURE_INSTANCE_M40_PAUSED - - ATLAS_AZURE_INSTANCE_M50_PAUSED - - ATLAS_AZURE_INSTANCE_M60_PAUSED - - ATLAS_AZURE_INSTANCE_M80_PAUSED - - ATLAS_AZURE_INSTANCE_M90_PAUSED - - ATLAS_AZURE_INSTANCE_M200_PAUSED - - ATLAS_AZURE_INSTANCE_R40_PAUSED - - ATLAS_AZURE_INSTANCE_R50_PAUSED - - ATLAS_AZURE_INSTANCE_R60_PAUSED - - ATLAS_AZURE_INSTANCE_R80_PAUSED - - ATLAS_AZURE_INSTANCE_R200_PAUSED - - ATLAS_AZURE_INSTANCE_R300_PAUSED - - ATLAS_AZURE_INSTANCE_R400_PAUSED - - ATLAS_AZURE_STORAGE_P2 - - ATLAS_AZURE_STORAGE_P3 - - ATLAS_AZURE_STORAGE_P4 - - ATLAS_AZURE_STORAGE_P6 - - ATLAS_AZURE_STORAGE_P10 - - ATLAS_AZURE_STORAGE_P15 - - ATLAS_AZURE_STORAGE_P20 - - ATLAS_AZURE_STORAGE_P30 - - ATLAS_AZURE_STORAGE_P40 - - ATLAS_AZURE_STORAGE_P50 - - ATLAS_AZURE_DATA_TRANSFER - - ATLAS_AZURE_DATA_TRANSFER_REGIONAL_VNET_IN - - ATLAS_AZURE_DATA_TRANSFER_REGIONAL_VNET_OUT - - ATLAS_AZURE_DATA_TRANSFER_GLOBAL_VNET_IN - - ATLAS_AZURE_DATA_TRANSFER_GLOBAL_VNET_OUT - - ATLAS_AZURE_DATA_TRANSFER_AVAILABILITY_ZONE_IN - - ATLAS_AZURE_DATA_TRANSFER_AVAILABILITY_ZONE_OUT - - ATLAS_AZURE_BACKUP_SNAPSHOT_STORAGE - - ATLAS_AZURE_BACKUP_DOWNLOAD_VM - - ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P2 - - ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P3 - - ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P4 - - ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P6 - - ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P10 - - ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P15 - - ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P20 - - ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P30 - - ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P40 - - ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P50 - - ATLAS_BI_CONNECTOR - - ATLAS_ADVANCED_SECURITY - - ATLAS_ENTERPRISE_AUDITING - - ATLAS_FREE_SUPPORT - - ATLAS_SUPPORT - - STITCH_DATA_DOWNLOADED_FREE_TIER - - STITCH_DATA_DOWNLOADED - - STITCH_COMPUTE_FREE_TIER - - STITCH_COMPUTE - - CREDIT - - MINIMUM_CHARGE - - CHARTS_DATA_DOWNLOADED_FREE_TIER - - CHARTS_DATA_DOWNLOADED - - ATLAS_DATA_LAKE_AWS_DATA_RETURNED_SAME_REGION - - ATLAS_DATA_LAKE_AWS_DATA_RETURNED_DIFFERENT_REGION - - ATLAS_DATA_LAKE_AWS_DATA_RETURNED_INTERNET - - ATLAS_DATA_LAKE_AWS_DATA_SCANNED - - ATLAS_DATA_LAKE_AWS_DATA_TRANSFERRED_FROM_DIFFERENT_REGION - - ATLAS_NDS_AWS_DATA_LAKE_STORAGE_ACCESS - - ATLAS_NDS_AWS_DATA_LAKE_STORAGE - - ATLAS_DATA_FEDERATION_AZURE_DATA_RETURNED_SAME_REGION - - ATLAS_DATA_FEDERATION_AZURE_DATA_RETURNED_SAME_CONTINENT - - ATLAS_DATA_FEDERATION_AZURE_DATA_RETURNED_DIFFERENT_CONTINENT - - ATLAS_DATA_FEDERATION_AZURE_DATA_RETURNED_INTERNET - - ATLAS_DATA_FEDERATION_AZURE_DATA_SCANNED - - ATLAS_NDS_AZURE_DATA_LAKE_STORAGE_ACCESS - - ATLAS_NDS_AZURE_DATA_LAKE_STORAGE - - ATLAS_NDS_AWS_OBJECT_STORAGE_ACCESS - - ATLAS_NDS_AZURE_OBJECT_STORAGE_ACCESS - - ATLAS_NDS_AZURE_OBJECT_STORAGE - - ATLAS_ARCHIVE_ACCESS_PARTITION_LOCATE - - ATLAS_NDS_AWS_PIT_RESTORE_STORAGE_FREE_TIER - - ATLAS_NDS_AWS_PIT_RESTORE_STORAGE - - ATLAS_NDS_GCP_PIT_RESTORE_STORAGE_FREE_TIER - - ATLAS_NDS_GCP_PIT_RESTORE_STORAGE - - ATLAS_NDS_AZURE_PIT_RESTORE_STORAGE_FREE_TIER - - ATLAS_NDS_AZURE_PIT_RESTORE_STORAGE - - ATLAS_NDS_AZURE_PRIVATE_ENDPOINT_CAPACITY_UNITS - - ATLAS_NDS_AWS_OBJECT_STORAGE - - ATLAS_NDS_AWS_SNAPSHOT_EXPORT_UPLOAD - - ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM - - ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_M40 - - ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_M50 - - ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_M60 - - ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P2 - - ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P3 - - ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P4 - - ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P6 - - ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P10 - - ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P15 - - ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P20 - - ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P30 - - ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P40 - - ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P50 - - ATLAS_NDS_AWS_SNAPSHOT_EXPORT_VM - - ATLAS_NDS_AWS_SNAPSHOT_EXPORT_VM_M40 - - ATLAS_NDS_AWS_SNAPSHOT_EXPORT_VM_M50 - - ATLAS_NDS_AWS_SNAPSHOT_EXPORT_VM_M60 - - ATLAS_NDS_AWS_SNAPSHOT_EXPORT_VM_STORAGE - - ATLAS_NDS_AWS_SNAPSHOT_EXPORT_VM_STORAGE_IOPS - - ATLAS_NDS_GCP_SNAPSHOT_EXPORT_VM - - ATLAS_NDS_GCP_SNAPSHOT_EXPORT_VM_M40 - - ATLAS_NDS_GCP_SNAPSHOT_EXPORT_VM_M50 - - ATLAS_NDS_GCP_SNAPSHOT_EXPORT_VM_M60 - - ATLAS_NDS_GCP_SNAPSHOT_EXPORT_VM_STORAGE - - ATLAS_NDS_AWS_SERVERLESS_RPU - - ATLAS_NDS_AWS_SERVERLESS_WPU - - ATLAS_NDS_AWS_SERVERLESS_STORAGE - - ATLAS_NDS_AWS_SERVERLESS_CONTINUOUS_BACKUP - - ATLAS_NDS_AWS_SERVERLESS_BACKUP_RESTORE_VM - - ATLAS_NDS_AWS_SERVERLESS_DATA_TRANSFER_PREVIEW - - ATLAS_NDS_AWS_SERVERLESS_DATA_TRANSFER - - ATLAS_NDS_AWS_SERVERLESS_DATA_TRANSFER_REGIONAL - - ATLAS_NDS_AWS_SERVERLESS_DATA_TRANSFER_CROSS_REGION - - ATLAS_NDS_AWS_SERVERLESS_DATA_TRANSFER_INTERNET - - ATLAS_NDS_GCP_SERVERLESS_RPU - - ATLAS_NDS_GCP_SERVERLESS_WPU - - ATLAS_NDS_GCP_SERVERLESS_STORAGE - - ATLAS_NDS_GCP_SERVERLESS_CONTINUOUS_BACKUP - - ATLAS_NDS_GCP_SERVERLESS_BACKUP_RESTORE_VM - - ATLAS_NDS_GCP_SERVERLESS_DATA_TRANSFER_PREVIEW - - ATLAS_NDS_GCP_SERVERLESS_DATA_TRANSFER - - ATLAS_NDS_GCP_SERVERLESS_DATA_TRANSFER_REGIONAL - - ATLAS_NDS_GCP_SERVERLESS_DATA_TRANSFER_CROSS_REGION - - ATLAS_NDS_GCP_SERVERLESS_DATA_TRANSFER_INTERNET - - ATLAS_NDS_AZURE_SERVERLESS_RPU - - ATLAS_NDS_AZURE_SERVERLESS_WPU - - ATLAS_NDS_AZURE_SERVERLESS_STORAGE - - ATLAS_NDS_AZURE_SERVERLESS_CONTINUOUS_BACKUP - - ATLAS_NDS_AZURE_SERVERLESS_BACKUP_RESTORE_VM - - ATLAS_NDS_AZURE_SERVERLESS_DATA_TRANSFER_PREVIEW - - ATLAS_NDS_AZURE_SERVERLESS_DATA_TRANSFER - - ATLAS_NDS_AZURE_SERVERLESS_DATA_TRANSFER_REGIONAL - - ATLAS_NDS_AZURE_SERVERLESS_DATA_TRANSFER_CROSS_REGION - - ATLAS_NDS_AZURE_SERVERLESS_DATA_TRANSFER_INTERNET - - REALM_APP_REQUESTS_FREE_TIER - - REALM_APP_REQUESTS - - REALM_APP_COMPUTE_FREE_TIER - - REALM_APP_COMPUTE - - REALM_APP_SYNC_FREE_TIER - - REALM_APP_SYNC - - REALM_APP_DATA_TRANSFER_FREE_TIER - - REALM_APP_DATA_TRANSFER - - GCP_SNAPSHOT_COPY_DISK readOnly: true startDate: type: string @@ -22607,16 +20596,6 @@ components: type: string description: Element used to quantify the measurement. The resource returns units of throughput, storage, and time. - enum: - - BYTES - - BYTES_PER_SECOND - - GIGABYTES - - GIGABYTES_PER_HOUR - - MEGABYTES_PER_SECOND - - MILLISECONDS - - PERCENT - - SCALAR - - SCALAR_PER_SECOND readOnly: true MeasurementsIndexes: type: object @@ -22644,11 +20623,6 @@ components: points. The parameter expresses its value in ISO 8601 timestamp format in UTC. If you set this parameter, you must set either **period** or **start** and **end**. - enum: - - PT1M - - PT5M - - PT1H - - P1D readOnly: true groupId: type: string @@ -22724,11 +20698,6 @@ components: points. The parameter expresses its value in ISO 8601 timestamp format in UTC. If you set this parameter, you must set either **period** or **start** and **end**. - enum: - - PT1M - - PT5M - - PT1H - - P1D readOnly: true groupId: type: string @@ -22818,8 +20787,6 @@ components: description: Human-readable label that identifies the service to which you want to integrate with MongoDB Cloud. The value must match the third-party service integration type. - enum: - - MICROSOFT_TEAMS required: - microsoftTeamsWebhookUrl title: MICROSOFT_TEAMS @@ -22897,8 +20864,6 @@ components: type: string default: collection description: Human-readable label that identifies the type of namespace. - enum: - - collection readOnly: true readOnly: true Namespaces: @@ -22955,8 +20920,6 @@ components: description: Human-readable label that identifies the service to which you want to integrate with MongoDB Cloud. The value must match the third-party service integration type. - enum: - - NEW_RELIC writeToken: type: string description: Insert key associated with your New Relic account. @@ -22990,16 +20953,11 @@ components: default: US description: Two-letter code that indicates which regional URL MongoDB uses to access the Opsgenie API. - enum: - - US - - EU type: type: string description: Human-readable label that identifies the service to which you want to integrate with MongoDB Cloud. The value must match the third-party service integration type. - enum: - - OPS_GENIE required: - apiKey title: OPS_GENIE @@ -23012,12 +20970,6 @@ components: MongoDB Cloud user. items: type: string - enum: - - ORG_OWNER - - ORG_MEMBER - - ORG_GROUP_CREATOR - - ORG_BILLING_ADMIN - - ORG_READ_ONLY uniqueItems: true teamIds: type: array @@ -23044,12 +20996,6 @@ components: MongoDB Cloud user. items: type: string - enum: - - ORG_OWNER - - ORG_MEMBER - - ORG_GROUP_CREATOR - - ORG_BILLING_ADMIN - - ORG_READ_ONLY uniqueItems: true teamIds: type: array @@ -23121,18 +21067,6 @@ components: MongoDB Cloud user. items: type: string - enum: - - ORG_OWNER - - ORG_MEMBER - - ORG_GROUP_CREATOR - - ORG_BILLING_ADMIN - - ORG_READ_ONLY - - GROUP_CLUSTER_MANAGER - - GROUP_DATA_ACCESS_ADMIN - - GROUP_DATA_ACCESS_READ_ONLY - - GROUP_DATA_ACCESS_READ_WRITE - - GROUP_OWNER - - GROUP_READ_ONLY uniqueItems: true teamIds: type: array @@ -23197,9 +21131,6 @@ components: type: string description: PagerDuty region that indicates the API Uniform Resource Locator (URL) to use. - enum: - - US - - EU serviceKey: type: string description: >- @@ -23219,8 +21150,6 @@ components: description: Human-readable label that identifies the service to which you want to integrate with MongoDB Cloud. The value must match the third-party service integration type. - enum: - - PAGER_DUTY required: - serviceKey title: PAGER_DUTY @@ -23297,19 +21226,6 @@ components: | `PAID` | Customer submitted a successful payment. | | `PARTIAL_PAID` | Customer paid for part of this line item. | - enum: - - NEW - - FORGIVEN - - FAILED - - PAID - - PARTIAL_PAID - - CANCELLED - - INVOICED - - ERROR - - FAILED_AUTHENTICATION - - PROCESSING - - PENDING_REVERSAL - - REFUNDED subtotalCents: type: integer format: int64 @@ -23365,10 +21281,6 @@ components: an ascending sort order. A value of `-1` indicates a descending sort order. Keys in indexes with multiple keys appear in the same order that they appear in the index. - enum: - - "1" - - "1" - - "-1" description: One index key paired with its sort order. A value of `1` indicates an ascending sort order. A value of `-1` indicates a descending sort order. Keys in indexes with multiple keys appear in the same @@ -23494,46 +21406,10 @@ components: - In an hourly policy item, you can set the frequency interval to `1`, `2`, `4`, `6`, `8`, or `12`. For hourly policy items for NVMe clusters, MongoDB Cloud accepts only `12` as the frequency interval value. MongoDB Cloud ignores this setting for non-hourly policy items in Backup Compliance Policy settings. - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - - 11 - - 12 - - 13 - - 14 - - 15 - - 16 - - 17 - - 18 - - 19 - - 20 - - 21 - - 22 - - 23 - - 24 - - 25 - - 26 - - 27 - - 28 - - 40 frequencyType: type: string description: Human-readable label that identifies the frequency type associated with the backup policy. - enum: - - daily - - hourly - - monthly - - weekly - - ondemand id: type: string description: Unique 24-hexadecimal digit string that identifies this backup @@ -23545,10 +21421,6 @@ components: retentionUnit: type: string description: Unit of time in which MongoDB Cloud measures snapshot retention. - enum: - - days - - weeks - - months retentionValue: type: integer format: int32 @@ -23608,15 +21480,9 @@ components: type: string description: Security Scheme to apply to HyperText Transfer Protocol (HTTP) traffic between Prometheus and MongoDB Cloud. - enum: - - http - - https serviceDiscovery: type: string description: Desired method to discover the Prometheus service. - enum: - - http - - file tlsPemPath: type: string description: Root-relative path to the Transport Layer Security (TLS) Privacy @@ -23627,8 +21493,6 @@ components: description: Human-readable label that identifies the service to which you want to integrate with MongoDB Cloud. The value must match the third-party service integration type. - enum: - - PROMETHEUS username: type: string description: Human-readable label that identifies your Prometheus incoming @@ -23719,26 +21583,10 @@ components: response returns `"delivery.methodName" : "HTTP"` as an automated restore uses HyperText Transport Protocol (HTTP) to deliver the restore job to the target host.' - enum: - - CLIENT_PIT_HTTP - - QUERY - - AUTOMATED_RESTORE - - HTTP - - THIRD_PARTY_COPY - - CLIENT_PIT_SCP - - SCP statusName: type: string description: State of the downloadable snapshot file when MongoDB Cloud received this request. - enum: - - NOT_STARTED - - IN_PROGRESS - - READY - - FAILED - - INTERRUPTED - - EXPIRED - - MAX_DOWNLOADS_EXCEEDED readOnly: true targetClusterId: type: string @@ -23839,8 +21687,6 @@ components: type: string description: Human-readable label that identifies the hashing algorithm used to compute the hash value. - enum: - - SHA1 readOnly: true readOnly: true RestoreJob: @@ -24016,11 +21862,6 @@ components: type: string description: Human-readable label that identifies the status of the downloadable file at the time of the request. - enum: - - IN_PROGRESS - - BROKEN - - KILLED - - FINISHED readOnly: true timestamp: $ref: "#/components/schemas/BSONTimestamp" @@ -24066,8 +21907,6 @@ components: description: Human-readable label that identifies the service to which you want to integrate with MongoDB Cloud. The value must match the third-party service integration type. - enum: - - SLACK required: - apiToken - channelName @@ -24089,9 +21928,6 @@ components: type: string description: Human-readable label that identifies the method of compression for the snapshot. - enum: - - NONE - - GZIP readOnly: true dataSizeBytes: type: integer @@ -24135,10 +21971,6 @@ components: type: string description: Human-readable label that identifies the type of server from which MongoDB Cloud took this snapshot. - enum: - - REPLICA_SET - - CONFIG_SERVER - - CONFIG_SERVER_REPLICA_SET readOnly: true readOnly: true title: Snapshot Components @@ -24227,8 +22059,6 @@ components: type: string description: Human-readable label that identifies the service from which you requested this response. - enum: - - MongoDB Atlas readOnly: true build: type: string @@ -24302,13 +22132,6 @@ components: MongoDB Cloud user. items: type: string - enum: - - GROUP_CLUSTER_MANAGER - - GROUP_DATA_ACCESS_ADMIN - - GROUP_DATA_ACCESS_READ_ONLY - - GROUP_DATA_ACCESS_READ_WRITE - - GROUP_OWNER - - GROUP_READ_ONLY uniqueItems: true teamId: type: string @@ -24438,14 +22261,6 @@ components: project. items: type: string - enum: - - GROUP_CLUSTER_MANAGER - - GROUP_DATA_ACCESS_ADMIN - - GROUP_DATA_ACCESS_READ_ONLY - - GROUP_DATA_ACCESS_READ_WRITE - - GROUP_SEARCH_INDEX_EDITOR - - GROUP_OWNER - - GROUP_READ_ONLY VictorOps: type: object description: Details to integrate one Splunk On-Call account with one MongoDB @@ -24474,8 +22289,6 @@ components: description: Human-readable label that identifies the service to which you want to integrate with MongoDB Cloud. The value must match the third-party service integration type. - enum: - - VICTOR_OPS required: - apiKey title: VICTOR_OPS @@ -24497,8 +22310,6 @@ components: description: Human-readable label that identifies the service to which you want to integrate with MongoDB Cloud. The value must match the third-party service integration type. - enum: - - WEBHOOK url: type: string description: >- @@ -24553,39 +22364,6 @@ components: type: string description: Geographic area that Amazon Web Services (AWS) defines to which MongoDB Cloud deployed this network peering container. - enum: - - US_EAST_1 - - US_EAST_2 - - US_WEST_1 - - US_WEST_2 - - CA_CENTRAL_1 - - EU_NORTH_1 - - EU_WEST_1 - - EU_WEST_2 - - EU_WEST_3 - - EU_CENTRAL_1 - - EU_CENTRAL_2 - - SA_EAST_1 - - AP_EAST_1 - - AP_SOUTHEAST_2 - - AP_SOUTHEAST_3 - - AP_SOUTHEAST_4 - - AP_NORTHEAST_1 - - AP_NORTHEAST_2 - - AP_NORTHEAST_3 - - AP_SOUTHEAST_1 - - AP_SOUTH_1 - - AP_SOUTH_2 - - CN_NORTH_1 - - CN_NORTHWEST_1 - - ME_CENTRAL_1 - - ME_SOUTH_1 - - AF_SOUTH_1 - - EU_SOUTH_1 - - EU_SOUTH_2 - - GLOBAL - - US_GOV_WEST_1 - - US_GOV_EAST_1 vpcId: type: string description: Unique string that identifies the MongoDB Cloud VPC on AWS. @@ -24606,12 +22384,6 @@ components: type: string description: Cloud service provider that serves the requested network peering containers. - enum: - - AWS - - GCP - - AZURE - - TENANT - - SERVERLESS provisioned: type: boolean description: Flag that indicates whether MongoDB Cloud clusters exist in the @@ -24627,62 +22399,10 @@ components: maxInstanceSize: type: string description: Maximum instance size to which your cluster can automatically scale. - enum: - - M10 - - M20 - - M30 - - M40 - - M50 - - M60 - - M80 - - M100 - - M140 - - M200 - - M300 - - R40 - - R50 - - R60 - - R80 - - R200 - - R300 - - R400 - - R700 - - M40_NVME - - M50_NVME - - M60_NVME - - M80_NVME - - M200_NVME - - M400_NVME title: AWS Instance Sizes minInstanceSize: type: string description: Minimum instance size to which your cluster can automatically scale. - enum: - - M10 - - M20 - - M30 - - M40 - - M50 - - M60 - - M80 - - M100 - - M140 - - M200 - - M300 - - R40 - - R50 - - R60 - - R80 - - R200 - - R300 - - R400 - - R700 - - M40_NVME - - M50_NVME - - M60_NVME - - M80_NVME - - M200_NVME - - M400_NVME title: AWS Instance Sizes title: AWS AWSInterfaceEndpoint: @@ -24692,21 +22412,11 @@ components: cloudProvider: type: string description: Cloud service provider that serves the requested endpoint. - enum: - - AWS - - AZURE - - GCP readOnly: true connectionStatus: type: string description: State of the Amazon Web Service PrivateLink connection when MongoDB Cloud received this request. - enum: - - PENDING_ACCEPTANCE - - PENDING - - AVAILABLE - - REJECTED - - DELETING readOnly: true deleteRequested: type: boolean @@ -24772,39 +22482,6 @@ components: block. To limit a new VPC peering connection to one CIDR block and region, create the connection first. Deploy the cluster after the connection starts." - enum: - - US_GOV_WEST_1 - - US_GOV_EAST_1 - - US_EAST_1 - - US_EAST_2 - - US_WEST_1 - - US_WEST_2 - - CA_CENTRAL_1 - - EU_NORTH_1 - - EU_WEST_1 - - EU_WEST_2 - - EU_WEST_3 - - EU_CENTRAL_1 - - EU_CENTRAL_2 - - AP_EAST_1 - - AP_NORTHEAST_1 - - AP_NORTHEAST_2 - - AP_NORTHEAST_3 - - AP_SOUTHEAST_1 - - AP_SOUTHEAST_2 - - AP_SOUTHEAST_3 - - AP_SOUTHEAST_4 - - AP_SOUTH_1 - - AP_SOUTH_2 - - SA_EAST_1 - - CN_NORTH_1 - - CN_NORTHWEST_1 - - ME_SOUTH_1 - - ME_CENTRAL_1 - - AF_SOUTH_1 - - EU_SOUTH_1 - - EU_SOUTH_2 - - GLOBAL title: AWS Regions roleId: type: string @@ -24865,10 +22542,6 @@ components: description: Type of error that can be returned when requesting an Amazon Web Services (AWS) peering connection. The resource returns `null` if the request succeeded. - enum: - - REJECTED - - EXPIRED - - INVALID_ARGUMENT readOnly: true id: type: string @@ -24883,16 +22556,6 @@ components: type: string description: Cloud service provider that serves the requested network peering connection. - enum: - - NONE - - AWS - - GCP - - AZURE - - FREE - - SERVERLESS - - AWS - - AZURE - - GCP routeTableCidrBlock: type: string description: Internet Protocol (IP) addresses expressed in Classless @@ -24903,13 +22566,6 @@ components: type: string description: State of the network peering connection at the time you made the request. - enum: - - INITIATING - - PENDING_ACCEPTANCE - - FAILED - - FINALIZING - - AVAILABLE - - TERMINATING readOnly: true vpcId: type: string @@ -24931,10 +22587,6 @@ components: cloudProvider: type: string description: Cloud service provider that serves the requested endpoint service. - enum: - - AWS - - AZURE - - GCP readOnly: true endpointServiceName: type: string @@ -24979,12 +22631,6 @@ components: type: string description: State of the Private Endpoint Service connection when MongoDB Cloud received this request. - enum: - - INITIATING - - AVAILABLE - - WAITING_FOR_USER - - FAILED - - DELETING readOnly: true required: - cloudProvider @@ -25011,32 +22657,6 @@ components: type: string description: Cluster tier, with a default storage and memory capacity, that applies to all the data-bearing hosts in your cluster. - enum: - - M10 - - M20 - - M30 - - M40 - - M50 - - M60 - - M80 - - M100 - - M140 - - M200 - - M300 - - R40 - - R50 - - R60 - - R80 - - R200 - - R300 - - R400 - - R700 - - M40_NVME - - M50_NVME - - M60_NVME - - M80_NVME - - M200_NVME - - M400_NVME title: AWS Instance Sizes regionName: type: string @@ -25049,39 +22669,6 @@ components: block. To limit a new VPC peering connection to one CIDR block and region, create the connection first. Deploy the cluster after the connection starts." - enum: - - US_GOV_WEST_1 - - US_GOV_EAST_1 - - US_EAST_1 - - US_EAST_2 - - US_WEST_1 - - US_WEST_2 - - CA_CENTRAL_1 - - EU_NORTH_1 - - EU_WEST_1 - - EU_WEST_2 - - EU_WEST_3 - - EU_CENTRAL_1 - - EU_CENTRAL_2 - - AP_EAST_1 - - AP_NORTHEAST_1 - - AP_NORTHEAST_2 - - AP_NORTHEAST_3 - - AP_SOUTHEAST_1 - - AP_SOUTHEAST_2 - - AP_SOUTHEAST_3 - - AP_SOUTHEAST_4 - - AP_SOUTH_1 - - AP_SOUTH_2 - - SA_EAST_1 - - CN_NORTH_1 - - CN_NORTHWEST_1 - - ME_SOUTH_1 - - ME_CENTRAL_1 - - AF_SOUTH_1 - - EU_SOUTH_1 - - EU_SOUTH_2 - - GLOBAL externalDocs: description: AWS url: https://docs.atlas.mongodb.com/reference/amazon-aws/#std-label-amazon-aws @@ -25096,9 +22683,6 @@ components: selected volume size (`STANDARD`), or must fall within the allowable Input/Output Operations per Second (IOPS) range for the selected volume size (`PROVISIONED`). - enum: - - STANDARD - - PROVISIONED providerName: type: string required: @@ -25127,10 +22711,6 @@ components: configurationType: type: string description: Human-readable label that displays how to configure the audit filter. - enum: - - NONE - - FILTER_BUILDER - - FILTER_JSON readOnly: true enabled: type: boolean @@ -25230,56 +22810,6 @@ components: type: string description: Azure region to which MongoDB Cloud deployed this network peering container. - enum: - - US_CENTRAL - - US_EAST - - US_EAST_2 - - US_NORTH_CENTRAL - - US_WEST - - US_SOUTH_CENTRAL - - EUROPE_NORTH - - EUROPE_WEST - - US_WEST_CENTRAL - - US_WEST_2 - - US_WEST_3 - - CANADA_EAST - - CANADA_CENTRAL - - BRAZIL_SOUTH - - BRAZIL_SOUTHEAST - - AUSTRALIA_EAST - - AUSTRALIA_SOUTH_EAST - - AUSTRALIA_CENTRAL - - AUSTRALIA_CENTRAL_2 - - UAE_NORTH - - GERMANY_CENTRAL - - GERMANY_NORTH_EAST - - GERMANY_WEST_CENTRAL - - GERMANY_NORTH - - SWITZERLAND_NORTH - - SWITZERLAND_WEST - - SWEDEN_CENTRAL - - SWEDEN_SOUTH - - UK_SOUTH - - UK_WEST - - INDIA_CENTRAL - - INDIA_WEST - - INDIA_SOUTH - - CHINA_EAST - - CHINA_NORTH - - ASIA_EAST - - JAPAN_EAST - - JAPAN_WEST - - ASIA_SOUTH_EAST - - KOREA_CENTRAL - - KOREA_SOUTH - - FRANCE_CENTRAL - - FRANCE_SOUTH - - SOUTH_AFRICA_NORTH - - SOUTH_AFRICA_WEST - - NORWAY_EAST - - NORWAY_WEST - - UAE_CENTRAL - - QATAR_CENTRAL vnetName: type: string description: Unique string that identifies the Azure VNet in which MongoDB Cloud @@ -25303,12 +22833,6 @@ components: type: string description: Cloud service provider that serves the requested network peering containers. - enum: - - AWS - - GCP - - AZURE - - TENANT - - SERVERLESS provisioned: type: boolean description: Flag that indicates whether MongoDB Cloud clusters exist in the @@ -25324,56 +22848,10 @@ components: maxInstanceSize: type: string description: Maximum instance size to which your cluster can automatically scale. - enum: - - M10 - - M20 - - M30 - - M40 - - M50 - - M60 - - M80 - - M90 - - M200 - - R40 - - R50 - - R60 - - R80 - - R200 - - R300 - - R400 - - M60_NVME - - M80_NVME - - M200_NVME - - M300_NVME - - M400_NVME - - M600_NVME title: Azure Instance Sizes minInstanceSize: type: string description: Minimum instance size to which your cluster can automatically scale. - enum: - - M10 - - M20 - - M30 - - M40 - - M50 - - M60 - - M80 - - M90 - - M200 - - R40 - - R50 - - R60 - - R80 - - R200 - - R300 - - R400 - - M60_NVME - - M80_NVME - - M200_NVME - - M300_NVME - - M400_NVME - - M600_NVME title: Azure Instance Sizes title: Azure AzureKeyVault: @@ -25387,10 +22865,6 @@ components: azureEnvironment: type: string description: Azure environment in which your account credentials reside. - enum: - - AZURE - - AZURE_CHINA - - AZURE_GERMANY clientID: type: string format: uuid @@ -25486,16 +22960,6 @@ components: type: string description: Cloud service provider that serves the requested network peering connection. - enum: - - NONE - - AWS - - GCP - - AZURE - - FREE - - SERVERLESS - - AWS - - AZURE - - GCP resourceGroupName: type: string description: Human-readable label that identifies the resource group in which @@ -25505,12 +22969,6 @@ components: type: string description: State of the network peering connection at the time you made the request. - enum: - - ADDING_PEER - - AVAILABLE - - FAILED - - DELETION_FAILED - - DELETING readOnly: true vnetName: type: string @@ -25531,10 +22989,6 @@ components: cloudProvider: type: string description: Cloud service provider that serves the requested endpoint. - enum: - - AWS - - AZURE - - GCP readOnly: true deleteRequested: type: boolean @@ -25568,11 +23022,6 @@ components: type: string description: State of the Azure Private Link Service connection when MongoDB Cloud received this request. - enum: - - INITIATING - - AVAILABLE - - FAILED - - DELETING readOnly: true required: - cloudProvider @@ -25584,10 +23033,6 @@ components: cloudProvider: type: string description: Cloud service provider that serves the requested endpoint service. - enum: - - AWS - - AZURE - - GCP readOnly: true errorMessage: type: string @@ -25637,12 +23082,6 @@ components: type: string description: State of the Private Endpoint Service connection when MongoDB Cloud received this request. - enum: - - INITIATING - - AVAILABLE - - WAITING_FOR_USER - - FAILED - - DELETING readOnly: true required: - cloudProvider @@ -25657,17 +23096,6 @@ components: description: Disk type that corresponds to the host's root volume for Azure instances. If omitted, the default disk type for the selected **providerSettings.instanceSizeName** applies. - enum: - - P2 - - P3 - - P4 - - P6 - - P10 - - P15 - - P20 - - P30 - - P40 - - P50 externalDocs: description: Disk type url: https://docs.microsoft.com/en-us/azure/virtual-machines/premium-storage-performance#premium-storage-disk-sizes @@ -25675,83 +23103,10 @@ components: type: string description: Cluster tier, with a default storage and memory capacity, that applies to all the data-bearing hosts in your cluster. - enum: - - M10 - - M20 - - M30 - - M40 - - M50 - - M60 - - M80 - - M90 - - M200 - - R40 - - R50 - - R60 - - R80 - - R200 - - R300 - - R400 - - M60_NVME - - M80_NVME - - M200_NVME - - M300_NVME - - M400_NVME - - M600_NVME title: Azure Instance Sizes regionName: type: string description: Microsoft Azure Regions. - enum: - - US_CENTRAL - - US_EAST - - US_EAST_2 - - US_NORTH_CENTRAL - - US_WEST - - US_SOUTH_CENTRAL - - EUROPE_NORTH - - EUROPE_WEST - - US_WEST_CENTRAL - - US_WEST_2 - - US_WEST_3 - - CANADA_EAST - - CANADA_CENTRAL - - BRAZIL_SOUTH - - BRAZIL_SOUTHEAST - - AUSTRALIA_CENTRAL - - AUSTRALIA_CENTRAL_2 - - AUSTRALIA_EAST - - AUSTRALIA_SOUTH_EAST - - GERMANY_CENTRAL - - GERMANY_NORTH_EAST - - GERMANY_WEST_CENTRAL - - GERMANY_NORTH - - SWEDEN_CENTRAL - - SWEDEN_SOUTH - - SWITZERLAND_NORTH - - SWITZERLAND_WEST - - UK_SOUTH - - UK_WEST - - NORWAY_EAST - - NORWAY_WEST - - INDIA_CENTRAL - - INDIA_SOUTH - - INDIA_WEST - - CHINA_EAST - - CHINA_NORTH - - ASIA_EAST - - JAPAN_EAST - - JAPAN_WEST - - ASIA_SOUTH_EAST - - KOREA_CENTRAL - - KOREA_SOUTH - - FRANCE_CENTRAL - - FRANCE_SOUTH - - SOUTH_AFRICA_NORTH - - SOUTH_AFRICA_WEST - - UAE_CENTRAL - - UAE_NORTH - - QATAR_CENTRAL externalDocs: description: Azure url: https://docs.atlas.mongodb.com/reference/microsoft-azure/ @@ -25780,10 +23135,6 @@ components: secondary, or analytics node based on your read preferences. Defaults to `ANALYTICS` node, or `SECONDARY` if there are no `ANALYTICS` nodes. - enum: - - PRIMARY - - SECONDARY - - ANALYTICS externalDocs: description: Read preferences for BI Connector url: https://docs.atlas.mongodb.com/cluster-config/enable-bic/#std-label-bic-read-preferences @@ -25927,9 +23278,6 @@ components: providerName: type: string description: Human-readable label that identifies the cloud provider of the role. - enum: - - AWS - - AZURE CloudProviderAccessAzureServicePrincipal: type: object description: Details that describe the features linked to the Azure Service Principal. @@ -25987,9 +23335,6 @@ components: providerName: type: string description: Human-readable label that identifies the cloud provider of the role. - enum: - - AWS - - AZURE CloudProviderAccessDataLakeFeatureUsage: type: object description: Details that describe the Atlas Data Lakes linked to this Amazon @@ -26002,10 +23347,6 @@ components: description: Human-readable label that describes one MongoDB Cloud feature linked to this Amazon Web Services (AWS) Identity and Access Management (IAM) role. - enum: - - ATLAS_DATA_LAKE - - ENCRYPTION_AT_REST - - EXPORT_SNAPSHOT readOnly: true required: [] CloudProviderAccessEncryptionAtRestFeatureUsage: @@ -26021,10 +23362,6 @@ components: description: Human-readable label that describes one MongoDB Cloud feature linked to this Amazon Web Services (AWS) Identity and Access Management (IAM) role. - enum: - - ATLAS_DATA_LAKE - - ENCRYPTION_AT_REST - - EXPORT_SNAPSHOT readOnly: true required: [] CloudProviderAccessExportSnapshotFeatureUsage: @@ -26041,10 +23378,6 @@ components: description: Human-readable label that describes one MongoDB Cloud feature linked to this Amazon Web Services (AWS) Identity and Access Management (IAM) role. - enum: - - ATLAS_DATA_LAKE - - ENCRYPTION_AT_REST - - EXPORT_SNAPSHOT readOnly: true required: [] CloudProviderAccessFeatureUsageDataLakeFeatureId: @@ -26153,10 +23486,6 @@ components: providerName: type: string description: Cloud provider in which MongoDB Cloud deploys the private endpoint. - enum: - - AWS - - AZURE - - GCP readOnly: true region: type: string @@ -26215,9 +23544,6 @@ components: type: string description: MongoDB process type to which your application connects. Use `MONGOD` for replica sets and `MONGOS` for sharded clusters. - enum: - - MONGOD - - MONGOS readOnly: true title: Cluster Private Endpoint Connection String ClusterDescriptionConnectionStrings: @@ -26355,12 +23681,6 @@ components: MongoDB 4.4 clusters default to `available`. MongoDB 5.0 and later clusters default to `local`. - enum: - - local - - available - - majority - - linearizable - - snapshot defaultWriteConcern: type: string default: "1" @@ -26402,10 +23722,6 @@ components: description: Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version. - enum: - - TLS1_0 - - TLS1_1 - - TLS1_2 externalDocs: description: This option corresponds to the `net.ssl.disabledProtocols` `mongod` configuration file option. @@ -26481,10 +23797,6 @@ components: clusterType: type: string description: Configuration of nodes that comprise the cluster. - enum: - - REPLICASET - - SHARDED - - GEOSHARDED connectionStrings: $ref: "#/components/schemas/ClusterDescriptionConnectionStrings" createDate: @@ -26515,11 +23827,6 @@ components: **replicationSpecs[n].regionConfigs[m].{type}Specs.instanceSize** setting must be `M10` or higher and `"backupEnabled" : false` or omitted entirely.' - enum: - - NONE - - AWS - - AZURE - - GCP externalDocs: description: Encryption at Rest using Customer Key Management url: https://www.mongodb.com/docs/atlas/security-kms-encryption/ @@ -26567,11 +23874,6 @@ components: default: "6.0" description: Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version. - enum: - - "4.2" - - "4.4" - - "5.0" - - "6.0" mongoDBVersion: type: string description: Version of MongoDB that the cluster runs. @@ -26607,18 +23909,10 @@ components: default: ISRGROOTX1 description: Root Certificate Authority that MongoDB Cloud cluster uses. MongoDB Cloud supports Internet Security Research Group. - enum: - - ISRGROOTX1 stateName: type: string description: Human-readable label that indicates the current operating condition of this cluster. - enum: - - IDLE - - CREATING - - UPDATING - - DELETING - - REPAIRING readOnly: true tags: type: array @@ -26637,9 +23931,6 @@ components: default: LTS description: Method by which the cluster maintains the MongoDB versions. If value is `CONTINUOUS`, you must not specify **mongoDBMajorVersion**. - enum: - - LTS - - CONTINUOUS ClusterOutageSimulationOutageFilter: type: object properties: @@ -26647,10 +23938,6 @@ components: type: string description: The cloud provider of the region that undergoes the outage simulation. - enum: - - AWS - - GCP - - AZURE regionName: type: string description: The name of the region to undergo an outage simulation. @@ -26662,8 +23949,6 @@ components: | Type | Description | |------------|-------------| | `REGION` | Simulates a cluster outage for a region.| - enum: - - REGION ClusterOutageSimulation: type: object properties: @@ -26727,13 +24012,6 @@ components: | `RECOVERING` | MongoDB Cloud is recovering the cluster from the simulated outage.| | `COMPLETE` | MongoDB Cloud has completed the cluster outage simulation.| - enum: - - START_REQUESTED - - STARTING - - SIMULATING - - RECOVERY_REQUESTED - - RECOVERING - - COMPLETE readOnly: true ClusterProviderSettings: type: object @@ -26762,9 +24040,6 @@ components: from, your cluster. Atlas returns **Pending** if it's still making the requested user changes. When status is **Pending**, new users can't log in. - enum: - - PENDING - - APPLIED links: type: array description: List of one or more Uniform Resource Locators (URLs) that point to @@ -26880,10 +24155,6 @@ components: type: string description: Human-readable label that identifies the cloud service provider for which you want to create the private endpoint service. - enum: - - AWS - - AZURE - - GCP writeOnly: true region: type: string @@ -27035,58 +24306,6 @@ components: action: type: string description: Human-readable label that identifies the privilege action. - enum: - - FIND - - INSERT - - REMOVE - - UPDATE - - BYPASS_DOCUMENT_VALIDATION - - USE_UUID - - KILL_OP - - CREATE_COLLECTION - - CREATE_INDEX - - DROP_COLLECTION - - ENABLE_PROFILER - - CHANGE_STREAM - - COLL_MOD - - COMPACT - - CONVERT_TO_CAPPED - - DROP_DATABASE - - DROP_INDEX - - RE_INDEX - - RENAME_COLLECTION_SAME_DB - - SET_USER_WRITE_BLOCK - - BYPASS_USER_WRITE_BLOCK - - LIST_SESSIONS - - KILL_ANY_SESSION - - COLL_STATS - - CONN_POOL_STATS - - DB_HASH - - DB_STATS - - GET_CMD_LINE_OPTS - - GET_LOG - - GET_PARAMETER - - GET_SHARD_MAP - - HOST_INFO - - IN_PROG - - LIST_DATABASES - - LIST_COLLECTIONS - - LIST_INDEXES - - LIST_SHARDS - - NET_STAT - - REPL_SET_GET_CONFIG - - REPL_SET_GET_STATUS - - SERVER_STATUS - - VALIDATE - - SHARDING_STATE - - TOP - - SQL_GET_SCHEMA - - SQL_SET_SCHEMA - - VIEW_ALL_HISTORY - - OUT_TO_S3 - - STORAGE_GET_CONFIG - - STORAGE_SET_CONFIG - - FLUSH_ROUTER_CONFIG resources: type: array description: List of resources on which you grant the action. @@ -27135,8 +24354,6 @@ components: metadataProvider: type: string description: Target cloud provider for this Data Lake Pipeline. - enum: - - AWS metadataRegion: type: string description: Target cloud provider region for this Data Lake Pipeline. @@ -27151,8 +24368,6 @@ components: type: type: string description: Type of ingestion destination of this Data Lake Pipeline. - enum: - - DLS required: [] DataFederationQueryLimit: type: object @@ -27192,9 +24407,6 @@ components: limit is exceeded. If limit span is set to QUERY, this is ignored because MongoDB Cloud stops the query when it exceeds the usage limit. - enum: - - BLOCK - - BLOCK_AND_KILL value: type: integer format: int64 @@ -27242,9 +24454,6 @@ components: limit is exceeded. If limit span is set to QUERY, this is ignored because MongoDB Cloud stops the query when it exceeds the usage limit. - enum: - - BLOCK - - BLOCK_AND_KILL tenantName: type: string description: Human-readable label that identifies the Federated Database @@ -27325,12 +24534,6 @@ components: mode](https://docs.mongodb.com/manual/core/read-preference/#read-pr\ eference-modes) that specifies to which replica set member to route the read requests." - enum: - - primary - - primaryPreferred - - secondary - - secondaryPreferred - - nearest tagSets: type: array description: List that contains [tag @@ -27391,12 +24594,6 @@ components: cloudProvider: type: string description: Name of the cloud service that hosts the data lake's data stores. - enum: - - AWS - - GCP - - AZURE - - TENANT - - SERVERLESS region: $ref: "#/components/schemas/DataLakeRegion" required: @@ -27453,25 +24650,6 @@ components: type: string description: File format that MongoDB Cloud uses if it encounters a file without a file extension while searching **storeName**. - enum: - - .avro - - .avro.bz2 - - .avro.gz - - .bson - - .bson.bz2 - - .bson.gz - - .bsonx - - .csv - - .csv.bz2 - - .csv.gz - - .json - - .json.bz2 - - .json.gz - - .orc - - .parquet - - .tsv - - .tsv.bz2 - - .tsv.gz path: type: string description: File path that controls how MongoDB Cloud searches for and parses @@ -27590,16 +24768,6 @@ components: DataLakeRegion: type: string description: Atlas Data Lake Regions. - enum: - - SYDNEY_AUS - - MUMBAI_IND - - FRANKFURT_DEU - - DUBLIN_IRL - - LONDON_GBR - - VIRGINIA_USA - - OREGON_USA - - SAOPAULO_BRA - - SINGAPORE_SGP DataLakeS3Store: type: object properties: @@ -27613,10 +24781,6 @@ components: type: string description: AWS S3 [storage class](https://aws.amazon.com/s3/storage-classes/) where the files to include in the results are stored. - enum: - - STANDARD - - INTELLIGENT_TIERING - - STANDARD_IA bucket: type: string description: Human-readable label that identifies the AWS S3 bucket. This label @@ -27667,39 +24831,6 @@ components: block. To limit a new VPC peering connection to one CIDR block and region, create the connection first. Deploy the cluster after the connection starts." - enum: - - US_GOV_WEST_1 - - US_GOV_EAST_1 - - US_EAST_1 - - US_EAST_2 - - US_WEST_1 - - US_WEST_2 - - CA_CENTRAL_1 - - EU_NORTH_1 - - EU_WEST_1 - - EU_WEST_2 - - EU_WEST_3 - - EU_CENTRAL_1 - - EU_CENTRAL_2 - - AP_EAST_1 - - AP_NORTHEAST_1 - - AP_NORTHEAST_2 - - AP_NORTHEAST_3 - - AP_SOUTHEAST_1 - - AP_SOUTHEAST_2 - - AP_SOUTHEAST_3 - - AP_SOUTHEAST_4 - - AP_SOUTH_1 - - AP_SOUTH_2 - - SA_EAST_1 - - CN_NORTH_1 - - CN_NORTHWEST_1 - - ME_SOUTH_1 - - ME_CENTRAL_1 - - AF_SOUTH_1 - - EU_SOUTH_1 - - EU_SOUTH_2 - - GLOBAL title: AWS Regions name: type: string @@ -27772,10 +24903,6 @@ components: state: type: string description: Label that indicates the status of the Data Lake instance. - enum: - - UNVERIFIED - - ACTIVE - - DELETED readOnly: true storage: $ref: "#/components/schemas/DataLakeStorage" @@ -27857,11 +24984,6 @@ components: description: Label that indicates the state of the Backup Compliance Policy settings. MongoDB Cloud ignores this setting when you enable or update the Backup Compliance Policy settings. - enum: - - ACTIVE - - ENABLING - - UPDATING - - DISABLING readOnly: true updatedDate: type: string @@ -27888,19 +25010,12 @@ components: authenticates with the Amazon Web Services (AWS) Identity and Access Management (IAM) credentials associated with the user or the user's role. - enum: - - NONE - - USER - - ROLE databaseName: type: string default: admin description: Database against which the database user authenticates. Database users must provide both a username and authentication database to log into MongoDB. - enum: - - admin - - $external deleteAfterDate: type: string format: date-time @@ -27930,10 +25045,6 @@ components: description: Part of the Lightweight Directory Access Protocol (LDAP) record that the database uses to authenticate this database user on the LDAP host. - enum: - - NONE - - GROUP - - USER links: type: array description: List of one or more Uniform Resource Locators (URLs) that point to @@ -28010,10 +25121,6 @@ components: Users created with the `CUSTOMER` method require a Common Name (CN) in the **username** parameter. You must create externally authenticated users on the `$external` database. - enum: - - NONE - - CUSTOMER - - MANAGED required: - databaseName - groupId @@ -28066,36 +25173,12 @@ components: - `PROVISIONED` volume types must fall within the allowable IOPS range for the selected volume size. - enum: - - STANDARD - - PROVISIONED instanceSize: type: string description: Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size. - enum: - - M10 - - M20 - - M30 - - M40 - - M50 - - M60 - - M80 - - M140 - - M200 - - M250 - - M300 - - M400 - - R40 - - R50 - - R60 - - R80 - - R200 - - R300 - - R400 - - R600 title: GCP Instance Sizes x-xgen-go-transform: merge-oneOf DiskBackupBaseRestoreMember: @@ -28114,21 +25197,11 @@ components: type: string description: Human-readable label that identifies the cloud provider that stores the snapshot copy. - enum: - - AWS - - AZURE - - GCP frequencies: type: array description: List that describes which types of snapshots to copy. items: type: string - enum: - - HOURLY - - DAILY - - WEEKLY - - MONTHLY - - ON_DEMAND regionName: type: string description: Target region to copy snapshots belonging to replicationSpecId to. @@ -28276,12 +25349,6 @@ components: state: type: string description: State of the export job. - enum: - - Cancelled - - Failed - - InProgress - - Queued - - Successful readOnly: true required: - exportBucketId @@ -28319,10 +25386,6 @@ components: description: 'Human-readable label that identifies the cloud provider that stores this snapshot. The resource returns this parameter when `"type": "replicaSet"`.' - enum: - - AWS - - AZURE - - GCP readOnly: true copyRegions: type: array @@ -28357,11 +25420,6 @@ components: type: string description: Human-readable label that identifies how often this snapshot triggers. - enum: - - hourly - - daily - - weekly - - monthly readOnly: true id: type: string @@ -28415,19 +25473,11 @@ components: snapshotType: type: string description: Human-readable label that identifies when this snapshot triggers. - enum: - - onDemand - - scheduled readOnly: true status: type: string description: Human-readable label that indicates the stage of the backup process for this snapshot. - enum: - - queued - - inProgress - - completed - - failed readOnly: true storageSizeBytes: type: integer @@ -28438,9 +25488,6 @@ components: type: string description: Human-readable label that categorizes the cluster as a replica set or sharded cluster. - enum: - - replicaSet - - shardedCluster readOnly: true title: Replica Set Snapshot DiskBackupRestoreJob: @@ -28460,10 +25507,6 @@ components: deliveryType: type: string description: Human-readable label that categorizes the restore job to create. - enum: - - automated - - download - - pointInTime deliveryUrl: type: array description: 'One or more Uniform Resource Locators (URLs) that point to the @@ -28588,10 +25631,6 @@ components: description: 'Human-readable label that identifies the cloud provider that stores this snapshot. The resource returns this parameter when `"type": "replicaSet"`.' - enum: - - AWS - - AZURE - - GCP readOnly: true id: type: string @@ -28638,11 +25677,6 @@ components: type: string description: Human-readable label that identifies how often this snapshot triggers. - enum: - - hourly - - daily - - weekly - - monthly readOnly: true id: type: string @@ -28716,19 +25750,11 @@ components: snapshotType: type: string description: Human-readable label that identifies when this snapshot triggers. - enum: - - onDemand - - scheduled readOnly: true status: type: string description: Human-readable label that indicates the stage of the backup process for this snapshot. - enum: - - queued - - inProgress - - completed - - failed readOnly: true storageSizeBytes: type: integer @@ -28739,9 +25765,6 @@ components: type: string description: Human-readable label that categorizes the cluster as a replica set or sharded cluster. - enum: - - replicaSet - - shardedCluster readOnly: true title: Sharded Cluster Snapshot DiskBackupSnapshotAWSExportBucket: @@ -28764,10 +25787,6 @@ components: type: string description: Human-readable label that identifies the cloud provider that stores this snapshot. - enum: - - AWS - - AZURE - - GCP iamRoleId: type: string description: Unique 24-hexadecimal character string that identifies the AWS IAM @@ -28958,53 +25977,6 @@ components: - changing words to their base form (lemmatization) MongoDB Cloud uses the selected process to build the Atlas Search index. - enum: - - lucene.standard - - lucene.simple - - lucene.whitespace - - lucene.keyword - - lucene.arabic - - lucene.armenian - - lucene.basque - - lucene.bengali - - lucene.brazilian - - lucene.bulgarian - - lucene.catalan - - lucene.chinese - - lucene.cjk - - lucene.czech - - lucene.danish - - lucene.dutch - - lucene.english - - lucene.finnish - - lucene.french - - lucene.galician - - lucene.german - - lucene.greek - - lucene.hindi - - lucene.hungarian - - lucene.indonesian - - lucene.irish - - lucene.italian - - lucene.japanese - - lucene.korean - - lucene.kuromoji - - lucene.latvian - - lucene.lithuanian - - lucene.morfologik - - lucene.nori - - lucene.norwegian - - lucene.persian - - lucene.portuguese - - lucene.romanian - - lucene.russian - - lucene.smartcn - - lucene.sorani - - lucene.spanish - - lucene.swedish - - lucene.thai - - lucene.turkish - - lucene.ukrainian externalDocs: description: Atlas Search Analyzers url: https://docs.atlas.mongodb.com/atlas-search/analyzers/ @@ -29044,53 +26016,6 @@ components: type: string default: lucene.standard description: Method applied to identify words when searching this index. - enum: - - lucene.standard - - lucene.simple - - lucene.whitespace - - lucene.keyword - - lucene.arabic - - lucene.armenian - - lucene.basque - - lucene.bengali - - lucene.brazilian - - lucene.bulgarian - - lucene.catalan - - lucene.chinese - - lucene.cjk - - lucene.czech - - lucene.danish - - lucene.dutch - - lucene.english - - lucene.finnish - - lucene.french - - lucene.galician - - lucene.german - - lucene.greek - - lucene.hindi - - lucene.hungarian - - lucene.indonesian - - lucene.irish - - lucene.italian - - lucene.japanese - - lucene.korean - - lucene.kuromoji - - lucene.latvian - - lucene.lithuanian - - lucene.morfologik - - lucene.nori - - lucene.norwegian - - lucene.persian - - lucene.portuguese - - lucene.romanian - - lucene.russian - - lucene.smartcn - - lucene.sorani - - lucene.spanish - - lucene.swedish - - lucene.thai - - lucene.turkish - - lucene.ukrainian status: type: string description: > @@ -29104,13 +26029,6 @@ components: | FAILED | Atlas could not build the index. | | MIGRATING | Atlas is upgrading the underlying cluster tier and migrating indexes. | | PAUSED | The cluster is paused. | - enum: - - IN_PROGRESS - - STEADY - - FAILED - - MIGRATING - - STALE - - PAUSED readOnly: true synonyms: type: array @@ -29133,53 +26051,6 @@ components: default: lucene.standard description: Specific pre-defined method chosen to apply to the synonyms to be searched. - enum: - - lucene.standard - - lucene.simple - - lucene.whitespace - - lucene.keyword - - lucene.arabic - - lucene.armenian - - lucene.basque - - lucene.bengali - - lucene.brazilian - - lucene.bulgarian - - lucene.catalan - - lucene.chinese - - lucene.cjk - - lucene.czech - - lucene.danish - - lucene.dutch - - lucene.english - - lucene.finnish - - lucene.french - - lucene.galician - - lucene.german - - lucene.greek - - lucene.hindi - - lucene.hungarian - - lucene.indonesian - - lucene.irish - - lucene.italian - - lucene.japanese - - lucene.korean - - lucene.kuromoji - - lucene.latvian - - lucene.lithuanian - - lucene.morfologik - - lucene.nori - - lucene.norwegian - - lucene.persian - - lucene.portuguese - - lucene.romanian - - lucene.russian - - lucene.smartcn - - lucene.sorani - - lucene.spanish - - lucene.swedish - - lucene.thai - - lucene.turkish - - lucene.ukrainian name: type: string description: Human-readable label that identifies the synonym definition. Each @@ -29202,8 +26073,6 @@ components: type: string description: Type of transformation applied during the export of the namespace in a Data Lake Pipeline. - enum: - - EXCLUDE title: Field Transformation FreeAutoScaling: type: object @@ -29225,22 +26094,12 @@ components: multi-tenant host. The resource returns this parameter when **providerSettings.providerName** is `TENANT` and **providerSetting.instanceSizeName** is `M2` or `M5`. - enum: - - AWS - - GCP - - AZURE - - TENANT - - SERVERLESS instanceSizeName: type: string description: Cluster tier, with a default storage and memory capacity, that applies to all the data-bearing hosts in your cluster. You must set **providerSettings.providerName** to `TENANT` and specify the cloud service provider in **providerSettings.backingProviderName**. - enum: - - M0 - - M2 - - M5 title: Tenant Instance Sizes regionName: type: string @@ -29329,41 +26188,6 @@ components: deploy clusters only to the GCP regions in this list. To deploy MongoDB Cloud clusters to other GCP regions, create additional projects. - enum: - - ASIA_EAST_2 - - ASIA_NORTHEAST_2 - - ASIA_NORTHEAST_3 - - ASIA_SOUTH_1 - - ASIA_SOUTH_2 - - ASIA_SOUTHEAST_2 - - AUSTRALIA_SOUTHEAST_1 - - AUSTRALIA_SOUTHEAST_2 - - CENTRAL_US - - EASTERN_ASIA_PACIFIC - - EASTERN_US - - EUROPE_CENTRAL_2 - - EUROPE_NORTH_1 - - EUROPE_WEST_2 - - EUROPE_WEST_3 - - EUROPE_WEST_4 - - EUROPE_WEST_6 - - EUROPE_WEST_12 - - MIDDLE_EAST_CENTRAL_1 - - MIDDLE_EAST_WEST_1 - - NORTH_AMERICA_NORTHEAST_1 - - NORTH_AMERICA_NORTHEAST_2 - - NORTHEASTERN_ASIA_PACIFIC - - SOUTH_AMERICA_EAST_1 - - SOUTH_AMERICA_WEST_1 - - SOUTHEASTERN_ASIA_PACIFIC - - US_EAST_4 - - US_EAST_5 - - US_WEST_2 - - US_WEST_3 - - US_WEST_4 - - US_SOUTH_1 - - WESTERN_EUROPE - - WESTERN_US id: type: string description: Unique 24-hexadecimal digit string that identifies the network @@ -29377,12 +26201,6 @@ components: type: string description: Cloud service provider that serves the requested network peering containers. - enum: - - AWS - - GCP - - AZURE - - TENANT - - SERVERLESS provisioned: type: boolean description: Flag that indicates whether MongoDB Cloud clusters exist in the @@ -29398,52 +26216,10 @@ components: maxInstanceSize: type: string description: Maximum instance size to which your cluster can automatically scale. - enum: - - M10 - - M20 - - M30 - - M40 - - M50 - - M60 - - M80 - - M140 - - M200 - - M250 - - M300 - - M400 - - R40 - - R50 - - R60 - - R80 - - R200 - - R300 - - R400 - - R600 title: GCP Instance Sizes minInstanceSize: type: string description: Minimum instance size to which your cluster can automatically scale. - enum: - - M10 - - M20 - - M30 - - M40 - - M50 - - M60 - - M80 - - M140 - - M200 - - M250 - - M300 - - M400 - - R40 - - R50 - - R60 - - R80 - - R200 - - R300 - - R400 - - R600 title: GCP Instance Sizes title: GCP GCPConsumerForwardingRule: @@ -29467,11 +26243,6 @@ components: type: string description: State of the MongoDB Cloud endpoint group when MongoDB Cloud received this request. - enum: - - INITIATING - - AVAILABLE - - FAILED - - DELETING readOnly: true GCPEndpointGroup: type: object @@ -29480,10 +26251,6 @@ components: cloudProvider: type: string description: Cloud service provider that serves the requested endpoint. - enum: - - AWS - - AZURE - - GCP readOnly: true deleteRequested: type: boolean @@ -29517,12 +26284,6 @@ components: type: string description: State of the Google Cloud network endpoint group when MongoDB Cloud received this request. - enum: - - INITIATING - - VERIFIED - - AVAILABLE - - FAILED - - DELETING readOnly: true required: - cloudProvider @@ -29534,10 +26295,6 @@ components: cloudProvider: type: string description: Cloud service provider that serves the requested endpoint service. - enum: - - AWS - - AZURE - - GCP readOnly: true endpointGroupNames: type: array @@ -29586,12 +26343,6 @@ components: type: string description: State of the Private Endpoint Service connection when MongoDB Cloud received this request. - enum: - - INITIATING - - AVAILABLE - - WAITING_FOR_USER - - FAILED - - DELETING readOnly: true required: - cloudProvider @@ -29641,26 +26392,10 @@ components: type: string description: Cloud service provider that serves the requested network peering connection. - enum: - - NONE - - AWS - - GCP - - AZURE - - FREE - - SERVERLESS - - AWS - - AZURE - - GCP status: type: string description: State of the network peering connection at the time you made the request. - enum: - - ADDING_PEER - - WAITING_FOR_USER - - AVAILABLE - - FAILED - - DELETING readOnly: true required: - containerId @@ -29676,69 +26411,10 @@ components: type: string description: Cluster tier, with a default storage and memory capacity, that applies to all the data-bearing hosts in your cluster. - enum: - - M10 - - M20 - - M30 - - M40 - - M50 - - M60 - - M80 - - M140 - - M200 - - M250 - - M300 - - M400 - - R40 - - R50 - - R60 - - R80 - - R200 - - R300 - - R400 - - R600 title: GCP Instance Sizes regionName: type: string description: Google Compute Regions. - enum: - - EASTERN_US - - US_EAST_4 - - US_EAST_5 - - US_WEST_2 - - US_WEST_3 - - US_WEST_4 - - US_SOUTH_1 - - CENTRAL_US - - WESTERN_US - - NORTH_AMERICA_NORTHEAST_1 - - NORTH_AMERICA_NORTHEAST_2 - - SOUTH_AMERICA_EAST_1 - - SOUTH_AMERICA_WEST_1 - - WESTERN_EUROPE - - EUROPE_NORTH_1 - - EUROPE_WEST_2 - - EUROPE_WEST_3 - - EUROPE_WEST_4 - - EUROPE_WEST_6 - - EUROPE_WEST_8 - - EUROPE_WEST_9 - - EUROPE_WEST_12 - - EUROPE_SOUTHWEST_1 - - EUROPE_CENTRAL_2 - - MIDDLE_EAST_CENTRAL_1 - - MIDDLE_EAST_WEST_1 - - AUSTRALIA_SOUTHEAST_1 - - AUSTRALIA_SOUTHEAST_2 - - EASTERN_ASIA_PACIFIC - - NORTHEASTERN_ASIA_PACIFIC - - SOUTHEASTERN_ASIA_PACIFIC - - ASIA_EAST_2 - - ASIA_NORTHEAST_2 - - ASIA_NORTHEAST_3 - - ASIA_SOUTH_1 - - ASIA_SOUTH_2 - - ASIA_SOUTHEAST_2 externalDocs: description: GCP url: https://docs.atlas.mongodb.com/reference/google-gcp/ @@ -29955,10 +26631,6 @@ components: type: string default: NONE description: Region usage restrictions that designate the project's AWS region. - enum: - - GOV_REGIONS_ONLY - - COMMERCIAL_FEDRAMP_REGIONS_ONLY - - NONE withDefaultAlertsSettings: type: boolean description: Flag that indicates whether to create the project with default @@ -30013,19 +26685,12 @@ components: - `PROVISIONED` volume types must fall within the allowable IOPS range for the selected volume size. - enum: - - STANDARD - - PROVISIONED instanceSize: type: string description: Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size. - enum: - - M0 - - M2 - - M5 title: Tenant Instance Sizes nodeCount: type: integer @@ -30048,12 +26713,6 @@ components: backupFrequencyType: type: string description: Backup schedule interval of the Data Lake Pipeline. - enum: - - HOURLY - - DAILY - - WEEKLY - - MONTHLY - - ON_DEMAND readOnly: true createdDate: type: string @@ -30084,10 +26743,6 @@ components: phase: type: string description: Processing phase of the Data Lake Pipeline. - enum: - - SNAPSHOT - - EXPORT - - INGESTION readOnly: true pipelineId: type: string @@ -30110,12 +26765,6 @@ components: state: type: string description: State of the pipeline run. - enum: - - PENDING - - IN_PROGRESS - - DONE - - FAILED - - DATASET_DELETED readOnly: true stats: $ref: "#/components/schemas/PipelineRunStats" @@ -30162,9 +26811,6 @@ components: state: type: string description: State of this Data Lake Pipeline. - enum: - - ACTIVE - - PAUSED readOnly: true transformations: type: array @@ -30223,38 +26869,6 @@ components: scale. MongoDB Cloud requires this parameter if `"replicationSpecs[n].regionConfigs[m].autoScaling.compute.scaleDownEnabled" : true`.' - enum: - - M10 - - M20 - - M30 - - M40 - - M50 - - M60 - - M80 - - M100 - - M140 - - M200 - - M300 - - R40 - - R50 - - R60 - - R80 - - R200 - - R300 - - R400 - - R700 - - M40_NVME - - M50_NVME - - M60_NVME - - M80_NVME - - M200_NVME - - M400_NVME - - M90 - - M300_NVME - - M600_NVME - - M250 - - M400 - - R600 Label: type: object description: Collection of key-value pairs that represent custom data to add to @@ -30287,10 +26901,6 @@ components: clusterType: type: string description: Configuration of nodes that comprise the cluster. - enum: - - REPLICASET - - SHARDED - - GEOSHARDED connectionStrings: $ref: "#/components/schemas/ClusterDescriptionConnectionStrings" createDate: @@ -30317,11 +26927,6 @@ components: type: string description: Cloud service provider that manages your customer keys to provide an additional layer of Encryption at Rest for the cluster. - enum: - - NONE - - AWS - - AZURE - - GCP externalDocs: description: Encryption at Rest using Customer Key Management url: https://www.mongodb.com/docs/atlas/security-kms-encryption/ @@ -30364,11 +26969,6 @@ components: default: "6.0" description: Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version. - enum: - - "4.2" - - "4.4" - - "5.0" - - "6.0" mongoDBVersion: type: string description: Version of MongoDB that the cluster runs. @@ -30444,10 +27044,6 @@ components: description: Number of members that belong to the replica set. Each member retains a copy of your databases, providing high availability and data redundancy. Use **replicationSpecs** instead. - enum: - - 3 - - 5 - - 7 replicationSpec: type: object additionalProperties: @@ -30471,8 +27067,6 @@ components: default: ISRGROOTX1 description: Root Certificate Authority that MongoDB Atlas clusters uses. MongoDB Cloud supports Internet Security Research Group. - enum: - - ISRGROOTX1 srvAddress: type: string description: Connection string that you can use to connect to the cluster. The @@ -30486,12 +27080,6 @@ components: type: string description: Human-readable label that indicates the current operating condition of the cluster. - enum: - - IDLE - - CREATING - - UPDATING - - DELETING - - REPAIRING readOnly: true tags: type: array @@ -30510,9 +27098,6 @@ components: default: LTS description: Method by which the cluster maintains the MongoDB versions. If value is `CONTINUOUS`, you must not specify **mongoDBMajorVersion**. - enum: - - LTS - - CONTINUOUS title: Cluster Description LegacyReplicationSpec: type: object @@ -30696,22 +27281,11 @@ components: type: string description: Human-readable string that indicates the result of this verification test. - enum: - - FAIL - - OK readOnly: true validationType: type: string description: Human-readable label that identifies this verification test that MongoDB Cloud runs. - enum: - - AUTHENTICATE - - AUTHORIZATION_ENABLED - - CONNECT - - PARSE_AUTHZ_QUERY - - QUERY_SERVER - - SERVER_SPECIFIED - - TEMPLATE readOnly: true readOnly: true NDSLDAPVerifyConnectivityJobRequest: @@ -30755,10 +27329,6 @@ components: description: Human-readable string that indicates the status of the Lightweight Directory Access Protocol (LDAP) over Transport Layer Security (TLS) configuration. - enum: - - FAIL - - PENDING - - SUCCESS readOnly: true validations: type: array @@ -30917,10 +27487,6 @@ components: | `PENDING` | MongoDB Cloud has started to add access list entry. This access list entry may not apply to all cloud providers at the time of this request. | | `FAILED` | MongoDB Cloud didn't succeed in adding this access list entry. | - enum: - - PENDING - - FAILED - - ACTIVE readOnly: true required: - STATUS @@ -31014,9 +27580,6 @@ components: type: type: string description: Type of ingestion source of this Data Lake Pipeline. - enum: - - PERIODIC_CPS - - ON_DEMAND_CPS required: [] OnlineArchiveSchedule: type: object @@ -31067,9 +27630,6 @@ components: If you set this parameter to `TIMESERIES`, set `"criteria.type" : "date"` and `"criteria.dateFormat" : "ISODATE"`. - enum: - - TIMESERIES - - STANDARD criteria: $ref: "#/components/schemas/Criteria" dbName: @@ -31132,13 +27692,6 @@ components: | `ORPHANED` | Someone has deleted the collection associated with an active or paused archive. MongoDB Cloud doesn't delete the archived data. You must manually delete the online archives associated with the deleted collection. | | `DELETED` | Someone has deleted the archive was deleted. When someone deletes an online archive, MongoDB Cloud removes all associated archived documents from the cloud object storage. | - enum: - - PENDING - - ACTIVE - - PAUSING - - PAUSED - - DELETED - - ORPHANED readOnly: true OrganizationSettings: type: object @@ -31197,9 +27750,6 @@ components: type: type: string description: Type of ingestion source of this Data Lake Pipeline. - enum: - - PERIODIC_CPS - - ON_DEMAND_CPS required: [] PipelineRunStats: type: object @@ -31240,15 +27790,11 @@ components: default: AWS description: Human-readable label that identifies the cloud service provider. Atlas Data Lake supports Amazon Web Services only. - enum: - - AWS type: type: string default: DATA_LAKE description: Human-readable label that identifies the resource type associated with this private endpoint. - enum: - - DATA_LAKE required: - endpointId ProviderInstanceSize: @@ -31280,10 +27826,6 @@ components: provider: type: string description: Human-readable label that identifies the Cloud provider. - enum: - - AWS - - GSP - - AZURE RegionConfig: type: object description: Cloud service provider on which MongoDB Cloud provisions the hosts. @@ -31318,11 +27860,6 @@ components: type: string description: Cloud service provider on which MongoDB Cloud provisions the hosts. Set dedicated clusters to `AWS`, `GCP`, `AZURE` or `TENANT`. - enum: - - AWS - - AZURE - - GCP - - TENANT regionName: type: string description: Physical location of your MongoDB cluster nodes. The region you @@ -31338,131 +27875,12 @@ components: region. MongoDB nodes can use only the peering connection that resides in the same region as the nodes to communicate with the peered VPC. - enum: - - US_GOV_WEST_1 - - US_GOV_EAST_1 - - US_EAST_1 - - US_EAST_2 - - US_WEST_1 - - US_WEST_2 - - CA_CENTRAL_1 - - EU_NORTH_1 - - EU_WEST_1 - - EU_WEST_2 - - EU_WEST_3 - - EU_CENTRAL_1 - - EU_CENTRAL_2 - - AP_EAST_1 - - AP_NORTHEAST_1 - - AP_NORTHEAST_2 - - AP_NORTHEAST_3 - - AP_SOUTHEAST_1 - - AP_SOUTHEAST_2 - - AP_SOUTHEAST_3 - - AP_SOUTHEAST_4 - - AP_SOUTH_1 - - AP_SOUTH_2 - - SA_EAST_1 - - CN_NORTH_1 - - CN_NORTHWEST_1 - - ME_SOUTH_1 - - ME_CENTRAL_1 - - AF_SOUTH_1 - - EU_SOUTH_1 - - EU_SOUTH_2 - - GLOBAL - - US_CENTRAL - - US_EAST - - US_NORTH_CENTRAL - - US_WEST - - US_SOUTH_CENTRAL - - EUROPE_NORTH - - EUROPE_WEST - - US_WEST_CENTRAL - - US_WEST_3 - - CANADA_EAST - - CANADA_CENTRAL - - BRAZIL_SOUTH - - BRAZIL_SOUTHEAST - - AUSTRALIA_CENTRAL - - AUSTRALIA_CENTRAL_2 - - AUSTRALIA_EAST - - AUSTRALIA_SOUTH_EAST - - GERMANY_CENTRAL - - GERMANY_NORTH_EAST - - GERMANY_WEST_CENTRAL - - GERMANY_NORTH - - SWEDEN_CENTRAL - - SWEDEN_SOUTH - - SWITZERLAND_NORTH - - SWITZERLAND_WEST - - UK_SOUTH - - UK_WEST - - NORWAY_EAST - - NORWAY_WEST - - INDIA_CENTRAL - - INDIA_SOUTH - - INDIA_WEST - - CHINA_EAST - - CHINA_NORTH - - ASIA_EAST - - JAPAN_EAST - - JAPAN_WEST - - ASIA_SOUTH_EAST - - KOREA_CENTRAL - - KOREA_SOUTH - - FRANCE_CENTRAL - - FRANCE_SOUTH - - SOUTH_AFRICA_NORTH - - SOUTH_AFRICA_WEST - - UAE_CENTRAL - - UAE_NORTH - - QATAR_CENTRAL - - EASTERN_US - - US_EAST_4 - - US_EAST_5 - - US_WEST_4 - - US_SOUTH_1 - - CENTRAL_US - - WESTERN_US - - NORTH_AMERICA_NORTHEAST_1 - - NORTH_AMERICA_NORTHEAST_2 - - SOUTH_AMERICA_EAST_1 - - SOUTH_AMERICA_WEST_1 - - WESTERN_EUROPE - - EUROPE_NORTH_1 - - EUROPE_WEST_2 - - EUROPE_WEST_3 - - EUROPE_WEST_4 - - EUROPE_WEST_6 - - EUROPE_WEST_8 - - EUROPE_WEST_9 - - EUROPE_WEST_12 - - EUROPE_SOUTHWEST_1 - - EUROPE_CENTRAL_2 - - MIDDLE_EAST_CENTRAL_1 - - MIDDLE_EAST_WEST_1 - - AUSTRALIA_SOUTHEAST_1 - - AUSTRALIA_SOUTHEAST_2 - - EASTERN_ASIA_PACIFIC - - NORTHEASTERN_ASIA_PACIFIC - - SOUTHEASTERN_ASIA_PACIFIC - - ASIA_EAST_2 - - ASIA_NORTHEAST_2 - - ASIA_NORTHEAST_3 - - ASIA_SOUTH_1 - - ASIA_SOUTH_2 - - ASIA_SOUTHEAST_2 backingProviderName: type: string description: Cloud service provider on which MongoDB Cloud provisioned the multi-tenant cluster. The resource returns this parameter when **providerSettings.providerName** is `TENANT` and **providerSetting.instanceSizeName** is `M2` or `M5`. - enum: - - AWS - - GCP - - AZURE RegionSpec: type: object description: Physical location where MongoDB Cloud provisions cluster nodes. @@ -31481,11 +27899,6 @@ components: description: Number of electable nodes to deploy in the specified region. Electable nodes can become the primary and can facilitate local reads. Use **replicationSpecs[n].{region}.electableNodes** instead. - enum: - - 0 - - 3 - - 5 - - 7 priority: type: integer format: int32 @@ -31573,18 +27986,6 @@ components: description: Human-readable label that identifies a group of privileges assigned to a database user. This value can either be a built-in role or a custom role. - enum: - - atlasAdmin - - backup - - clusterMonitor - - dbAdmin - - dbAdminAnyDatabase - - enableSharding - - read - - readAnyDatabase - - readWrite - - readWriteAnyDatabase - - required: - databaseName - roleName @@ -31630,10 +28031,6 @@ components: state: type: string description: Status of the sample dataset load job. - enum: - - WORKING - - FAILED - - COMPLETED readOnly: true ServerlessAWSTenantEndpointUpdate: type: object @@ -31694,20 +28091,11 @@ components: providerName: type: string description: Human-readable label that identifies the cloud service provider. - enum: - - AWS readOnly: true status: type: string description: Human-readable label that indicates the current operating status of the private endpoint. - enum: - - RESERVATION_REQUESTED - - RESERVED - - INITIATING - - AVAILABLE - - FAILED - - DELETING readOnly: true title: AWS ServerlessAzureTenantEndpointUpdate: @@ -31788,20 +28176,11 @@ components: providerName: type: string description: Human-readable label that identifies the cloud service provider. - enum: - - AZURE readOnly: true status: type: string description: Human-readable label that indicates the current operating status of the private endpoint. - enum: - - RESERVATION_REQUESTED - - RESERVED - - INITIATING - - AVAILABLE - - FAILED - - DELETING readOnly: true title: Azure ServerlessBackupOptions: @@ -31831,10 +28210,6 @@ components: deliveryType: type: string description: Human-readable label that categorizes the restore job to create. - enum: - - automated - - download - - pointInTime deliveryUrl: type: array description: 'One or more Uniform Resource Locators (URLs) that point to the @@ -31968,11 +28343,6 @@ components: type: string description: Human-readable label that identifies how often this snapshot triggers. - enum: - - hourly - - daily - - weekly - - monthly readOnly: true id: type: string @@ -32009,19 +28379,11 @@ components: snapshotType: type: string description: Human-readable label that identifies when this snapshot triggers. - enum: - - onDemand - - scheduled readOnly: true status: type: string description: Human-readable label that indicates the stage of the backup process for this snapshot. - enum: - - queued - - inProgress - - completed - - failed readOnly: true storageSizeBytes: type: integer @@ -32040,9 +28402,6 @@ components: providerName: type: string description: Cloud provider where the private endpoint is deployed. - enum: - - AWS - - AZURE readOnly: true region: type: string @@ -32076,8 +28435,6 @@ components: type: type: string description: MongoDB process type to which your application connects. - enum: - - MONGOS readOnly: true title: Serverless Instance Private Endpoint Connection String ServerlessInstanceDescriptionConnectionStrings: @@ -32128,13 +28485,6 @@ components: type: string description: Human-readable label that indicates the current operating condition of the serverless instance. - enum: - - IDLE - - CREATING - - UPDATING - - DELETING - - DELETED - - REPAIRING readOnly: true terminationProtectionEnabled: type: boolean @@ -32222,13 +28572,6 @@ components: type: string description: Human-readable label that indicates the current operating condition of the serverless instance. - enum: - - IDLE - - CREATING - - UPDATING - - DELETING - - DELETED - - REPAIRING readOnly: true tags: type: array @@ -32253,16 +28596,10 @@ components: type: string description: Cloud service provider on which MongoDB Cloud provisioned the serverless instance. - enum: - - AWS - - AZURE - - GCP providerName: type: string default: SERVERLESS description: Human-readable label that identifies the cloud service provider. - enum: - - SERVERLESS regionName: type: string description: Human-readable label that identifies the geographic location of @@ -32317,10 +28654,6 @@ components: retentionUnit: type: string description: Quantity of time in which MongoDB Cloud measures snapshot retention. - enum: - - DAYS - - WEEKS - - MONTHS retentionValue: type: integer format: int32 @@ -32344,10 +28677,6 @@ components: checkpoints. This parameter applies only to sharded clusters. This number determines the granularity of continuous cloud backups for sharded clusters. - enum: - - 15 - - 30 - - 60 clusterId: type: string description: Unique 24-hexadecimal digit string that identifies the cluster with @@ -32362,20 +28691,6 @@ components: description: Quantity of time to keep daily snapshots. MongoDB Cloud expresses this value in days. Set this value to `0` to disable daily snapshot retention. - enum: - - 0 - - 3 - - 4 - - 5 - - 6 - - 7 - - 15 - - 30 - - 60 - - 90 - - 120 - - 180 - - 360 groupId: type: string description: Unique 24-hexadecimal digit string that identifies the project that @@ -32401,24 +28716,6 @@ components: format: int32 description: Number of months that MongoDB Cloud must keep monthly snapshots. Set this value to `0` to disable monthly snapshot retention. - enum: - - 0 - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - - 11 - - 12 - - 13 - - 18 - - 24 - - 36 pointInTimeWindowHours: type: integer format: int32 @@ -32428,40 +28725,15 @@ components: type: integer format: int32 description: Number of hours that must elapse before taking another snapshot. - enum: - - 6 - - 8 - - 12 - - 24 snapshotRetentionDays: type: integer format: int32 description: Number of days that MongoDB Cloud must keep recent snapshots. - enum: - - 2 - - 3 - - 4 - - 5 weeklySnapshotRetentionWeeks: type: integer format: int32 description: Number of weeks that MongoDB Cloud must keep weekly snapshots. Set this value to `0` to disable weekly snapshot retention. - enum: - - 0 - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 12 - - 16 - - 20 - - 24 - - 52 required: - clusterCheckpointIntervalMin - clusterId @@ -32502,9 +28774,6 @@ components: type: string description: Means by which this resource returns the snapshot to the requesting MongoDB Cloud user. - enum: - - RESTORE - - DOWNLOAD readOnly: true expirationDate: type: string @@ -32581,12 +28850,6 @@ components: type: string description: Phase of the restore workflow for this job at the time this resource made this request. - enum: - - PENDING - - QUEUED - - RUNNING - - FAILED - - COMPLETED readOnly: true targetDeploymentItemName: type: string @@ -32665,12 +28928,6 @@ components: type: string description: Phase of the workflow for this snapshot at the time this resource made this request. - enum: - - PENDING - - QUEUED - - RUNNING - - FAILED - - COMPLETED readOnly: true TriggerIngestionRequest: type: object @@ -32769,9 +29026,6 @@ components: type: type: string description: Category of resource that this database user can access. - enum: - - CLUSTER - - DATA_LAKE required: - name - type diff --git a/tools/transformer/README.md b/tools/transformer/README.md index 4ee950c1..d0fca814 100644 --- a/tools/transformer/README.md +++ b/tools/transformer/README.md @@ -82,6 +82,11 @@ For each model: - Remove prefix or suffix from model name - Ignore if model name is not matching prefix or suffix +5. Remove enums transformation + +For each model we will effectively remove all enum instances. +Enums in current form are hard to ensure backwards compatibility. + ## Transformation Validation Transformation engine does perform validation for invalid cases. diff --git a/tools/transformer/src/atlasTransformations.js b/tools/transformer/src/atlasTransformations.js index d6c09443..5447fcaa 100644 --- a/tools/transformer/src/atlasTransformations.js +++ b/tools/transformer/src/atlasTransformations.js @@ -5,6 +5,7 @@ const { applyDiscriminatorTransformations, applyArrayTransformations, transformOneOfProperties, + applyRemoveEnumsTransformations, } = require("./transformations"); const removeUnusedSchemas = require("./engine/removeUnused"); @@ -68,6 +69,7 @@ module.exports = function runTransformations(openapi) { ]); try { + // TODO - inject to the OpenAPI schema // Temp workaround for ApiAtlasRegionConfigView // Reason why we running this separately is we // want to ensure that this transformation is executed after renames @@ -82,6 +84,8 @@ module.exports = function runTransformations(openapi) { throw new ("ApiAtlasRegionConfigView cannot be renamed", e)(); } + applyRemoveEnumsTransformations(openapi); + let hasSchemaChanges = true; // Remove referencing objects that become unused while (hasSchemaChanges) { diff --git a/tools/transformer/src/transformations/index.js b/tools/transformer/src/transformations/index.js index b88f39a4..7c948dc8 100644 --- a/tools/transformer/src/transformations/index.js +++ b/tools/transformer/src/transformations/index.js @@ -7,6 +7,7 @@ const { } = require("./oneOf"); const { applyDiscriminatorTransformations } = require("./discriminator"); const { applyArrayTransformations } = require("./swapArray"); +const { applyRemoveEnumsTransformations } = require("./removeEnums"); module.exports = { applyModelNameTransformations, @@ -17,4 +18,5 @@ module.exports = { applyOneOfTransformations, applyDiscriminatorTransformations, applyArrayTransformations, + applyRemoveEnumsTransformations, }; diff --git a/tools/transformer/src/transformations/removeEnums.js b/tools/transformer/src/transformations/removeEnums.js new file mode 100644 index 00000000..071eb37f --- /dev/null +++ b/tools/transformer/src/transformations/removeEnums.js @@ -0,0 +1,45 @@ +/** + * Remove all enums from the schema. + * Enums would not allow us to ensure API contract and will introduce breaking changes. + * Enums should be defined as metadata in the schema. + * @param {*} api OpenAPI JSON File + * @param modelNames + * @returns OpenAPI JSON File + */ +function applyRemoveEnumsTransformations(api) { + const hasSchemas = api && api.components && api.components.schemas; + if (!hasSchemas) { + throw new Error("Missing schemas in openapi"); + } + // Recursive function to traverse the OpenAPI object + function removeEnums(obj) { + if (typeof obj !== "object" || obj === null) { + return; + } + + if (Array.isArray(obj)) { + for (let i = 0; i < obj.length; i++) { + removeEnums(obj[i]); + } + } else { + // Remove enum field if present + if (obj.hasOwnProperty("enum")) { + delete obj.enum; + } + + // Traverse nested properties + for (const prop in obj) { + if (obj.hasOwnProperty(prop)) { + removeEnums(obj[prop]); + } + } + } + } + + // Start removing enum fields from the OpenAPI object + removeEnums(api); +} + +module.exports = { + applyRemoveEnumsTransformations, +};