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: