You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Date and time when MongoDB Cloud created this cluster. This parameter expresses its value in ISO 8601 format in UTC.
21
+
// Read only field.
21
22
CreateDate*time.Time`json:"createDate,omitempty"`
22
23
// Storage capacity that the host's root volume possesses expressed in gigabytes. Increase this number to add capacity. MongoDB Cloud requires this parameter if you set **replicationSpecs**. If you specify a disk size below the minimum (10 GB), this parameter defaults to the minimum disk size value. Storage charge calculations depend on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require more storage space, consider upgrading your cluster to a higher tier.
23
24
DiskSizeGB*float64`json:"diskSizeGB,omitempty"`
24
25
// Cloud service provider that manages your customer keys to provide an additional layer of encryption at rest for the cluster. To enable customer key management for encryption at rest, the cluster **replicationSpecs[n].regionConfigs[m].{type}Specs.instanceSize** setting must be `M10` or higher and `\"backupEnabled\" : false` or omitted entirely.
// Unique 24-hexadecimal character string that identifies the project.
28
+
// Read only field.
27
29
GroupId*string`json:"groupId,omitempty"`
28
30
// Unique 24-hexadecimal digit string that identifies the replication object for a zone in a Global Cluster. If you include existing zones in the request, you must specify this parameter. If you add a new zone to an existing Global Cluster, you may specify this parameter. The request deletes any existing zones in a Global Cluster that you exclude from the request.
31
+
// Read only field.
29
32
Id*string`json:"id,omitempty"`
30
33
// Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn't display your labels. Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use [resource tags](https://dochub.mongodb.org/core/add-cluster-tag-atlas) instead.
31
34
// Deprecated
32
35
Labels*[]ComponentLabel`json:"labels,omitempty"`
33
36
// 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.
37
+
// Read only field.
34
38
Links*[]Link`json:"links,omitempty"`
35
39
// Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version.
// MongoDB Cloud username of the person who acknowledged the alert. The response returns this parameter if a MongoDB Cloud user previously acknowledged this alert.
// Date and time when MongoDB Cloud created this alert. 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.
// Unique 24-hexadecimal digit string that identifies the project that owns this alert.
29
+
// Read only field.
25
30
GroupId*string`json:"groupId,omitempty"`
26
31
// Unique 24-hexadecimal digit string that identifies this alert.
32
+
// Read only field.
27
33
Id*string`json:"id,omitempty"`
28
34
// Date and time that any notifications were last sent for this alert. 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. The resource returns this parameter if MongoDB Cloud has sent notifications for this alert.
// 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.
38
+
// Read only field.
31
39
Links*[]Link`json:"links,omitempty"`
32
40
// Unique 24-hexadecimal character string that identifies the organization that owns the project to which this alert applies.
41
+
// Read only field.
33
42
OrgId*string`json:"orgId,omitempty"`
34
43
// Date and time that this alert changed to `\"status\" : \"CLOSED\"`. 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. The resource returns this parameter once `\"status\" : \"CLOSED\"`.
44
+
// Read only field.
35
45
Resolved*time.Time`json:"resolved,omitempty"`
36
46
// State of this alert at the time you requested its details.
47
+
// Read only field.
37
48
Status*string`json:"status,omitempty"`
38
49
// Date and time when someone last updated this alert. 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.
50
+
// Read only field.
39
51
Updated*time.Time`json:"updated,omitempty"`
40
52
// Human-readable label that identifies the cluster to which this alert applies. This resource returns this parameter for alerts of events impacting backups, replica sets, or sharded clusters.
53
+
// Read only field.
41
54
ClusterName*string`json:"clusterName,omitempty"`
42
55
// Hostname and port of the host to which this alert applies. The resource returns this parameter for alerts of events impacting hosts or replica sets.
// Name of the replica set to which this alert applies. The response returns this parameter for alerts of events impacting backups, hosts, or replica sets.
// Name of the metric against which Atlas checks the configured `metricThreshold.threshold`. To learn more about the available metrics, see <a href=\"https://www.mongodb.com/docs/atlas/reference/alert-host-metrics/#std-label-measurement-types\" target=\"_blank\">Host Metrics</a>. **NOTE**: If you set eventTypeName to OUTSIDE_SERVERLESS_METRIC_THRESHOLD, you can specify only metrics available for serverless. To learn more, see <a href=\"https://dochub.mongodb.org/core/alert-config-serverless-measurements\" target=\"_blank\">Serverless Measurements</a>.
63
+
// Read only field.
48
64
MetricName*string`json:"metricName,omitempty"`
49
65
// List of unique 24-hexadecimal character strings that identify the replica set members that are not in PRIMARY nor SECONDARY state.
// Unique 24-hexadecimal character string that identifies the parent cluster to which this alert applies. The parent cluster contains the sharded nodes. MongoDB Cloud returns this parameter only for alerts of events impacting sharded clusters.
Copy file name to clipboardExpand all lines: admin/model_api_atlas_checkpoint.go
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,22 +10,31 @@ import (
10
10
// ApiAtlasCheckpoint struct for ApiAtlasCheckpoint
11
11
typeApiAtlasCheckpointstruct {
12
12
// Unique 24-hexadecimal digit string that identifies the cluster that contains the checkpoint.
13
+
// Read only field.
13
14
ClusterId*string`json:"clusterId,omitempty"`
14
15
// Date and time when the checkpoint completed and the balancer restarted. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
16
+
// Read only field.
15
17
Completed*time.Time`json:"completed,omitempty"`
16
18
// Unique 24-hexadecimal digit string that identifies the project that owns the checkpoints.
19
+
// Read only field.
17
20
GroupId*string`json:"groupId,omitempty"`
18
21
// Unique 24-hexadecimal digit string that identifies checkpoint.
22
+
// Read only field.
19
23
Id*string`json:"id,omitempty"`
20
24
// 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.
25
+
// Read only field.
21
26
Links*[]Link`json:"links,omitempty"`
22
27
// Metadata that describes the complete snapshot. - For a replica set, this array contains a single document. - For a sharded cluster, this array contains one document for each shard plus one document for the config host.
28
+
// Read only field.
23
29
Parts*[]ApiCheckpointPart`json:"parts,omitempty"`
24
30
// Flag that indicates whether MongoDB Cloud can use the checkpoint for a restore.
31
+
// Read only field.
25
32
Restorable*bool`json:"restorable,omitempty"`
26
33
// Date and time when the balancer stopped and began the checkpoint. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
34
+
// Read only field.
27
35
Started*time.Time`json:"started,omitempty"`
28
36
// Date and time to which the checkpoint restores. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
// Unique 24-hexadecimal digit string that identifies the project that contains the cluster.
18
+
// Read only field.
18
19
GroupIdstring`json:"groupId"`
19
20
// 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.
21
+
// Read only field.
20
22
Links*[]Link`json:"links,omitempty"`
21
23
// Number of months that MongoDB Cloud must keep monthly snapshots. Set this value to `0` to disable monthly snapshot retention.
Copy file name to clipboardExpand all lines: admin/model_api_host_view_atlas.go
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,28 +10,40 @@ import (
10
10
// ApiHostViewAtlas struct for ApiHostViewAtlas
11
11
typeApiHostViewAtlasstruct {
12
12
// Date and time when MongoDB Cloud created this MongoDB process. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
13
+
// Read only field.
13
14
Created*time.Time`json:"created,omitempty"`
14
15
// Unique 24-hexadecimal digit string that identifies the project. The project contains MongoDB processes that you want to return. The MongoDB process can be either the `mongod` or `mongos`.
16
+
// Read only field.
15
17
GroupId*string`json:"groupId,omitempty"`
16
18
// Hostname, fully qualified domain name (FQDN), or Internet Protocol address (IPv4 or IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`).
19
+
// Read only field.
17
20
Hostname*string`json:"hostname,omitempty"`
18
21
// Combination of hostname and Internet Assigned Numbers Authority (IANA) port that serves the MongoDB process. The host must be the hostname, fully qualified domain name (FQDN), or Internet Protocol address (IPv4 or IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`). The port must be the IANA port on which the MongoDB process listens for requests.
22
+
// Read only field.
19
23
Id*string`json:"id,omitempty"`
20
24
// Date and time when MongoDB Cloud received the last ping for this MongoDB process. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
25
+
// Read only field.
21
26
LastPing*time.Time`json:"lastPing,omitempty"`
22
27
// 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.
28
+
// Read only field.
23
29
Links*[]LinkAtlas`json:"links,omitempty"`
24
30
// Internet Assigned Numbers Authority (IANA) port on which the MongoDB process listens for requests.
31
+
// Read only field.
25
32
Port*int`json:"port,omitempty"`
26
33
// Human-readable label that identifies the replica set that contains this process. This resource returns this parameter if this process belongs to a replica set.
// Human-readable label that identifies the shard that contains this process. This resource returns this value only if this process belongs to a sharded cluster.
37
+
// Read only field.
29
38
ShardName*string`json:"shardName,omitempty"`
30
39
// Type of MongoDB process that MongoDB Cloud tracks. MongoDB Cloud returns new processes as **NO_DATA** until MongoDB Cloud completes deploying the process.
40
+
// Read only field.
31
41
TypeName*string`json:"typeName,omitempty"`
32
42
// Human-readable label that identifies the cluster node. MongoDB Cloud sets this hostname usually to the standard hostname for the cluster node. It appears in the connection string for a cluster instead of the value of the hostname parameter.
// Unique 24-hexadecimal digit string that identifies this organization API key.
15
+
// Read only field.
14
16
Idstring`json:"id"`
15
17
// Public API key value set for the specified organization API key.
18
+
// Read only field.
16
19
PublicKeystring`json:"publicKey"`
17
20
// List that contains roles that the API key needs to have. All roles you provide must be valid for the specified project or organization. Each request must include a minimum of one valid role. The resource returns all project and organization roles assigned to the Cloud user.
Copy file name to clipboardExpand all lines: admin/model_api_key_user_details.go
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,16 @@ type ApiKeyUserDetails struct {
11
11
// Purpose or explanation provided when someone created this organization API key.
12
12
Desc*string`json:"desc,omitempty"`
13
13
// Unique 24-hexadecimal digit string that identifies this organization API key assigned to this project.
14
+
// Read only field.
14
15
Id*string`json:"id,omitempty"`
15
16
// 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.
17
+
// Read only field.
16
18
Links*[]Link`json:"links,omitempty"`
17
19
// Redacted private key returned for this organization API key. This key displays unredacted when first created.
20
+
// Read only field.
18
21
PrivateKey*string`json:"privateKey,omitempty"`
19
22
// Public API key value set for the specified organization API key.
23
+
// Read only field.
20
24
PublicKey*string`json:"publicKey,omitempty"`
21
25
// List that contains the roles that the API key needs to have. All roles you provide must be valid for the specified project or organization. Each request must include a minimum of one valid role. The resource returns all project and organization roles assigned to the API key.
0 commit comments