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
Copy file name to clipboardExpand all lines: src/common/atlas/openapi.d.ts
+142Lines changed: 142 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,30 @@ export interface paths {
68
68
patch?: never;
69
69
trace?: never;
70
70
};
71
+
"/api/atlas/v2/groups/{groupId}/accessList": {
72
+
parameters: {
73
+
query?: never;
74
+
header?: never;
75
+
path?: never;
76
+
cookie?: never;
77
+
};
78
+
/**
79
+
* Return Project IP Access List
80
+
* @description Returns all access list entries from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting Service Account or API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations.
81
+
*/
82
+
get: operations["listProjectIpAccessLists"];
83
+
put?: never;
84
+
/**
85
+
* Add Entries to Project IP Access List
86
+
* @description Adds one or more access list entries to the specified project. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. Write each entry as either one IP address or one CIDR-notated block of IP addresses. To use this resource, the requesting Service Account or API Key must have the Project Owner or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. This endpoint doesn't support concurrent `POST` requests. You must submit multiple `POST` requests synchronously.
/** @description Unique string of the Amazon Web Services (AWS) security group that you want to add to the project's IP access list. Your IP access list entry can be one **awsSecurityGroup**, one **cidrBlock**, or one **ipAddress**. You must configure Virtual Private Connection (VPC) peering for your project before you can add an AWS security group to an IP access list. You cannot set AWS security groups as temporary access list entries. Don't set this parameter if you set **cidrBlock** or **ipAddress**. */
4740
+
awsSecurityGroup?: string;
4741
+
/** @description Range of IP addresses in Classless Inter-Domain Routing (CIDR) notation that you want to add to the project's IP access list. Your IP access list entry can be one **awsSecurityGroup**, one **cidrBlock**, or one **ipAddress**. Don't set this parameter if you set **awsSecurityGroup** or **ipAddress**. */
4742
+
cidrBlock?: string;
4743
+
/** @description Remark that explains the purpose or scope of this IP access list entry. */
4744
+
comment?: string;
4745
+
/**
4746
+
* Format: date-time
4747
+
* @description Date and time after which MongoDB Cloud deletes the temporary access list entry. This parameter expresses its value in the ISO 8601 timestamp format in UTC and can include the time zone designation. The date must be later than the current date but no later than one week after you submit this request. The resource returns this parameter if you specified an expiration date when creating this IP access list entry.
4748
+
*/
4749
+
deleteAfterDate?: string;
4750
+
/**
4751
+
* @description Unique 24-hexadecimal digit string that identifies the project that contains the IP access list to which you want to add one or more entries.
4752
+
* @example 32b6e34b3d91647abb20e7b8
4753
+
*/
4754
+
readonlygroupId?: string;
4755
+
/** @description IP address that you want to add to the project's IP access list. Your IP access list entry can be one **awsSecurityGroup**, one **cidrBlock**, or one **ipAddress**. Don't set this parameter if you set **awsSecurityGroup** or **cidrBlock**. */
4756
+
ipAddress?: string;
4757
+
/** @description 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. */
4758
+
readonlylinks?: components["schemas"]["Link"][];
4759
+
};
4714
4760
/**
4715
4761
* On-Demand Cloud Provider Snapshot Source
4716
4762
* @description On-Demand Cloud Provider Snapshots as Source for a Data Lake Pipeline.
/** @description 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. */
4949
+
readonlylinks?: components["schemas"]["Link"][];
4950
+
/** @description List of returned documents that MongoDB Cloud provides when completing this request. */
* @description Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact.
4955
+
*/
4956
+
readonlytotalCount?: number;
4957
+
};
4901
4958
PaginatedOrgGroupView: {
4902
4959
/** @description 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. */
4903
4960
readonlylinks?: components["schemas"]["Link"][];
@@ -6851,6 +6908,7 @@ export type IngestionSource = components["schemas"]["IngestionSource"];
/** @description Flag that indicates whether Application wraps the response in an `envelope` JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body. */
7160
+
envelope?: components["parameters"]["envelope"];
7161
+
/** @description Flag that indicates whether the response returns the total number of items (**totalCount**) in the response. */
/** @description Number of the page that displays the current set of the total objects that the response returns. */
7166
+
pageNum?: components["parameters"]["pageNum"];
7167
+
/** @description Flag that indicates whether the response body should be in the prettyprint format. */
7168
+
pretty?: components["parameters"]["pretty"];
7169
+
};
7170
+
header?: never;
7171
+
path: {
7172
+
/** @description Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access.
7173
+
*
7174
+
* **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. */
/** @description Flag that indicates whether Application wraps the response in an `envelope` JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body. */
7198
+
envelope?: components["parameters"]["envelope"];
7199
+
/** @description Flag that indicates whether the response returns the total number of items (**totalCount**) in the response. */
/** @description Number of the page that displays the current set of the total objects that the response returns. */
7204
+
pageNum?: components["parameters"]["pageNum"];
7205
+
/** @description Flag that indicates whether the response body should be in the prettyprint format. */
7206
+
pretty?: components["parameters"]["pretty"];
7207
+
};
7208
+
header?: never;
7209
+
path: {
7210
+
/** @description Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access.
7211
+
*
7212
+
* **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. */
7213
+
groupId: components["parameters"]["groupId"];
7214
+
};
7215
+
cookie?: never;
7216
+
};
7217
+
/** @description One or more access list entries to add to the specified project. */
0 commit comments