Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
b375285
WIP
fmenezes May 24, 2023
97676e7
fix
fmenezes May 24, 2023
d1fdfec
add make command
fmenezes May 25, 2023
34464d3
add npm install
fmenezes May 25, 2023
c55472d
Merge branch 'master' into generation_poc
fmenezes May 30, 2023
c4ad6ef
remove store and add generated.go
fmenezes May 30, 2023
6bf81ec
add changes to cmd
fmenezes May 31, 2023
6729dff
WIP
fmenezes May 31, 2023
5d22732
update commands
fmenezes May 31, 2023
6b729d5
add use join them together
fmenezes Jun 1, 2023
0d78284
switch to generated commands
fmenezes Jun 1, 2023
6860410
map ints like SDK
fmenezes Jun 1, 2023
231eaff
types
fmenezes Jun 1, 2023
ccec47b
fix default values
fmenezes Jun 1, 2023
4516cda
wip
fmenezes Jun 1, 2023
af57e13
fix for slices
fmenezes Jun 2, 2023
ea04153
cover dateTime
fmenezes Jun 2, 2023
71bb337
Merge branch 'master' into generation_poc
fmenezes Jun 2, 2023
6e6ab6e
fix issues
fmenezes Jun 2, 2023
1cf05b9
pin version in config
fmenezes Jun 2, 2023
544f43e
requestbody wip
fmenezes Jun 6, 2023
e6022bf
Merge branch 'master' into generation_poc
fmenezes Sep 20, 2023
fae62ec
body should always be json and output as well
fmenezes Sep 20, 2023
2dc00dc
move to api subcommands
fmenezes Sep 20, 2023
dcd18cd
fix
fmenezes Sep 20, 2023
e4f3da1
fix test
fmenezes Sep 20, 2023
4d5402c
fix
fmenezes Sep 20, 2023
b83e16e
fix
fmenezes Sep 20, 2023
d255a57
fix
fmenezes Sep 20, 2023
7887f72
Merge branch 'master' into generation_poc
fmenezes Sep 28, 2023
7992bc4
demonstrate changes in openapi
fmenezes Sep 28, 2023
c470959
change in command description
fmenezes Sep 29, 2023
648fcf5
clean code
fmenezes Sep 29, 2023
a3a8d36
fetch groupId and orgId from config
fmenezes Sep 29, 2023
916765a
rename groupId to projectId
fmenezes Sep 29, 2023
9db143d
sdk import
fmenezes Sep 29, 2023
891c48a
fix groupId/orgId validation
fmenezes Oct 2, 2023
32dfcdb
add format
fmenezes Oct 2, 2023
b3e23bd
fix import and client
fmenezes Oct 2, 2023
a9d619e
fix sdkImport
fmenezes Oct 3, 2023
08fd12a
add watcher
fmenezes Oct 4, 2023
24e0709
refactor merge
fmenezes Oct 5, 2023
e540075
add dates
fmenezes Oct 5, 2023
b66016b
add sleep for watcher
fmenezes Oct 5, 2023
4573d42
Merge branch 'master' into generation_poc
fmenezes Oct 31, 2023
6af47a2
Merge branch 'master' into generation_poc
fmenezes Apr 29, 2024
18ac379
update commands
fmenezes Apr 29, 2024
c22f376
update
fmenezes Apr 29, 2024
e4e6120
add aliases
fmenezes Apr 29, 2024
53d9ea7
fix
fmenezes Apr 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ gon_arm64.json
*.idea
*.vscode

node_modules
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,14 @@ addcopy:
@scripts/add-copy.sh

.PHONY: generate
generate: gen-docs gen-mocks gen-code ## Generate docs, mocks, code, all auto generated assets
generate: gen-docs gen-mocks gen-code gen-openapi ## Generate docs, mocks, code, all auto generated assets

.PHONY: gen-openapi
gen-openapi: ## Generate openapi code
@echo "==> Generating openapi code"
cd tools/openapi-generator; \
npm install; \
npm run generate

.PHONY: gen-code
gen-code: ## Generate code
Expand Down
66 changes: 66 additions & 0 deletions docs/command/atlas-api-aWSClustersDNS-getAWSCustomDNS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
.. _atlas-api-aWSClustersDNS-getAWSCustomDNS:

========================================
atlas api aWSClustersDNS getAWSCustomDNS
========================================

.. default-domain:: mongodb

.. contents:: On this page
:local:
:backlinks: none
:depth: 1
:class: singlecol

Return One Custom DNS Configuration for Atlas Clusters on AWS

Syntax
------

.. code-block::
:caption: Command Syntax

atlas api aWSClustersDNS getAWSCustomDNS [options]

.. Code end marker, please don't delete this comment

Options
-------

.. list-table::
:header-rows: 1
:widths: 20 10 10 60

* - Name
- Type
- Required
- Description
* - --format
- string
- false
- Format of the output
* - -h, --help
-
- false
- help for getAWSCustomDNS
* - --projectId
- string
- false
- Unique 24-hexadecimal digit string that identifies your project.

Inherited Options
-----------------

.. list-table::
:header-rows: 1
:widths: 20 10 10 60

* - Name
- Type
- Required
- Description
* - -P, --profile
- string
- false
- Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.

70 changes: 70 additions & 0 deletions docs/command/atlas-api-aWSClustersDNS-toggleAWSCustomDNS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
.. _atlas-api-aWSClustersDNS-toggleAWSCustomDNS:

===========================================
atlas api aWSClustersDNS toggleAWSCustomDNS
===========================================

.. default-domain:: mongodb

.. contents:: On this page
:local:
:backlinks: none
:depth: 1
:class: singlecol

Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS

Syntax
------

.. code-block::
:caption: Command Syntax

atlas api aWSClustersDNS toggleAWSCustomDNS [options]

.. Code end marker, please don't delete this comment

Options
-------

.. list-table::
:header-rows: 1
:widths: 20 10 10 60

* - Name
- Type
- Required
- Description
* - -f, --file
- string
- false
- Path to an optional JSON configuration file if not passed stdin is expected
* - --format
- string
- false
- Format of the output
* - -h, --help
-
- false
- help for toggleAWSCustomDNS
* - --projectId
- string
- false
- Unique 24-hexadecimal digit string that identifies your project.

Inherited Options
-----------------

.. list-table::
:header-rows: 1
:widths: 20 10 10 60

* - Name
- Type
- Required
- Description
* - -P, --profile
- string
- false
- Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.

61 changes: 61 additions & 0 deletions docs/command/atlas-api-aWSClustersDNS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
.. _atlas-api-aWSClustersDNS:

========================
atlas api aWSClustersDNS
========================

.. default-domain:: mongodb

.. contents:: On this page
:local:
:backlinks: none
:depth: 1
:class: singlecol

Returns and edits custom DNS configurations for MongoDB Cloud database deployments on AWS. The resource requires your Project ID. If you use the VPC peering on AWS and you use your own DNS servers instead of Amazon Route 53, enable custom DNS. Before 31 March 2020, applications deployed within AWS using custom DNS services and VPC-peered with MongoDB Cloud couldn't connect over private IP addresses. Custom DNS resolved to public IP addresses. AWS internal DNS resolved to private IP addresses. Applications deployed with custom DNS services in AWS should use Private IP for Peering connection strings.

Options
-------

.. list-table::
:header-rows: 1
:widths: 20 10 10 60

* - Name
- Type
- Required
- Description
* - -h, --help
-
- false
- help for aWSClustersDNS

Inherited Options
-----------------

.. list-table::
:header-rows: 1
:widths: 20 10 10 60

* - Name
- Type
- Required
- Description
* - -P, --profile
- string
- false
- Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.

Related Commands
----------------

* :ref:`atlas-api-aWSClustersDNS-getAWSCustomDNS` - Return One Custom DNS Configuration for Atlas Clusters on AWS
* :ref:`atlas-api-aWSClustersDNS-toggleAWSCustomDNS` - Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS


.. toctree::
:titlesonly:

getAWSCustomDNS </command/atlas-api-aWSClustersDNS-getAWSCustomDNS>
toggleAWSCustomDNS </command/atlas-api-aWSClustersDNS-toggleAWSCustomDNS>

Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
.. _atlas-api-accessTracking-listAccessLogsByClusterName:

====================================================
atlas api accessTracking listAccessLogsByClusterName
====================================================

.. default-domain:: mongodb

.. contents:: On this page
:local:
:backlinks: none
:depth: 1
:class: singlecol

Return Database Access History for One Cluster using Its Cluster Name

Syntax
------

.. code-block::
:caption: Command Syntax

atlas api accessTracking listAccessLogsByClusterName [options]

.. Code end marker, please don't delete this comment

Options
-------

.. list-table::
:header-rows: 1
:widths: 20 10 10 60

* - Name
- Type
- Required
- Description
* - --authResult
-
- false
- Flag that indicates whether the response returns the successful authentication attempts only.
* - --clusterName
- string
- true
- Human-readable label that identifies the cluster.
* - --end
- int
- false
- Date and time when to stop retrieving database history. If you specify **end**, you must also specify **start**. This parameter uses UNIX epoch time in milliseconds.
* - --format
- string
- false
- Format of the output
* - -h, --help
-
- false
- help for listAccessLogsByClusterName
* - --ipAddress
- string
- false
- One Internet Protocol address that attempted to authenticate with the database.
* - --nLogs
- int
- false
- Maximum number of lines from the log to return. This value defaults to 20000.
* - --projectId
- string
- false
- Unique 24-hexadecimal digit string that identifies your project.
* - --start
- int
- false
- Date and time when MongoDB Cloud begins retrieving database history. If you specify **start**, you must also specify **end**. This parameter uses UNIX epoch time in milliseconds.

Inherited Options
-----------------

.. list-table::
:header-rows: 1
:widths: 20 10 10 60

* - Name
- Type
- Required
- Description
* - -P, --profile
- string
- false
- Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.

Loading