Releases: oracle/oci-cli
Releases · oracle/oci-cli
2.4.18
Added
- Support for the Email Service. (
oci email
)- A sample test using the email feature can be found on Github
- Support for the following features in the Core Services:
- paravirtualized volume attachments (--type option for
oci compute volume-attachment attach
) - variable size boot volumes (--boot-volume-size-in-gbs option for
oci compute instance launch
)
- paravirtualized volume attachments (--type option for
- Support for auto-pagination for the Domain Name System Service. (--all, --page-size options for
oci dns record domain get
,oci dns record rrset get
,oci dns record zone get
) - Support for no-overwrite flag for the object put operation for the Object Service (--no-overwrite for
oci os object put
).
Fixed
- Updated config / key file permissions logic on Windows to depend on well known SIDs instead of account / group name to fix localization issues. This affects
oci setup config
,oci setup repair-file-permissions
, and the general config / key file permissions check performed by other commands.
2.4.17
Added
- Support for the File Storage Service. (
oci fs
)- An example can be found on GitHub
- Support for Path Route Sets in the Load Balancer Service. An example can be found on GitHub (
oci lb path-route-set
) - Tagging support for Bucket resources in the Object Storage Service
- Create a bucket with tags:
oci os bucket create --defined-tags --freeform-tags
- Update a bucket with tags:
oci os bucket update --defined-tags --freeform-tags
- List buckets and display defined and freeform tags in the results:
oci os bucket list --fields tags
- Create a bucket with tags:
- Support for specifying a restore period for archived objects in the RestoreObjects operation of the Object Storage service. (
oci os object restore --hours
) - Added support for filtering by backupId in ListDbSystems operation in the Database Service. (
oci db system list --backup-id
) - Support for getting plink (the PuTTY command line interface) compatible instance console connection string for Windows users. (
oci compute instance-console-connection get-plink-connection-string
)
2.4.16
Added
- Support for Domain Name System Service (oci dns)
- An example on using the Domain Name System Service can be found on GitHub.
- Support for Reserved Public IPs in Virtual Networking Service (oci network public-ip)
- Support for the following features in Block Storage Service
- Automated and policy-based scheduled backups (oci bv volume-backup-policy | volume-backup-policy-assignment)
- Read-only volume attachments (--is-read-only option while attaching volume)
- Incremental backups (--type option while creating a volume backup)
2.4.15
2.4.14
Added
- Support for tagging
- Tags and tag namespaces can be managed via the 'oci iam tag-namespace' and 'oci iam tag' commands
- Operations which support applying tags will have --defined-tags and --freeform-tags options. Check the help dump (https://github.com/oracle/oci-cli/blob/master/tests/output/inline_help_dump.txt) for resources which support tags. A general list of taggable resources can also be found in: https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm#Taggable
- An example of using tagging can be found at https://github.com/oracle/oci-cli/blob/master/scripts/tagging_example.sh
- Support for bringing your own custom image for emulation mode virtual machines in Compute Service (--launch-mode parameter on create image)
- Support for returning unquoted strings when the result of a JMESPath --query is a single string value (using --raw-output option)
- Support for launching an instance from an image or boot volume using the --image-id or --source-boot-volume-id parameters (these are alternatives to specifying --source-details)
- Support for boot volume attachment operations (oci compute boot-volume-attachment)
- Support wait for state on detach operations (e.g. oci compute volume-attachment detach --wait-for-state)
Changed
- Upgraded cryptography dependency to 2.1.3
- Changed dependency on pyOpenSSL <= 17.4.0 as the minimum cryptography version for pyOpenSSL 17.5.0 is 2.1.4
- Upgraded six dependency to 1.11.0
- Ugraded requests dependency to 2.18.4
2.4.13
Added
-
Support for Load Balancing Service operations ('oci lb')
- An example of creating a load balancer can be found at https://github.com/oracle/oci-cli/blob/master/scripts/create_load_balancer.sh
-
Support for user managed boot volumes: 'oci bv boot-volume', 'oci compute instance launch --source-details', 'oci compute instance terminate --preserve-boot-volume'
-
Operations which create, update or delete resources with a lifecycle-state now support a --wait-for-state option which allows you to perform the action and then wait until the resource reaches a given state
-
Support for specifying --profile option through OCI_CLI_PROFILE environment variable
Changed
- When listing audit events ('oci audit event list'), audit events can now have a 'response-payload' attribute which contains metadata of interest. For example, the OCID of a resource
2.4.12
Added
- Support option for using second physical NIC on X7 Bare Metal instances (--nic-index option on 'oci compute instance attach-vnic')
- Support for Local Peering Gateway operations ('oci network local-peering-gateway')
- Support for specifying a default for the --profile option in the oci_cli_rc file
- Support create database from backup (oci db database create-from-backup)
- Support for getting archived object restore status ('oci os object restore-status') more details in sample (https://github.com/oracle/oci-cli/scripts/restore_archived_object.sh)
Changed
- Help displayed via the --help/-h/-? option is now formatted like man pages found on Unix (or Unix-like) systems. To switch back to the previous way of displaying help, add use_click_help = True to the OCI_CLI_SETTINGS section of your oci_cli_rc file
2.4.11
Added
- 'oci setup oci-cli-rc' command to generate an oci_cli_rc file with default aliases and pre-defined queries
- Support for defining named JMESPath queries and command / parameter aliases in oci_cli_rc file
- 'oci setup repair-file-permissions' command to set appropriate file permissions on key / config files. Warnings are emitted if permissions are too open on these files.
- Support for --all parameter for 'list' operations to return all items in a list without manual pagination
- Support for audit operations: 'oci audit'
- Support for archive storage tier, object rename and namespace metadata in Object Storage
- Support for fast clones of volumes in Block Storage service
- Support for backup and restore in Database service
- Support for sorting and filtering in list APIs in Core Services
- Support for multipart download for 'oci os object get' and 'oci os object bulk-get'
Deprecated
- The top level parameter --defaults-file has been renamed to --oci-cli-rc and the default location for the file has moved from ~/.oci/cli-defaults to ~/.oci/oci_cli_rc.
2.4.10
Added
- Support for new Database service operations: VM DBs, Bring Your Own License, and Data Guard.
- Support for autocomplete on Windows (PowerShell only)
- Support for defaults file to specify default values for CLI parameters (#20)
- Support for parallelization in bulk object storage commands: bulk upload / download / delete).
- Support for including / excluding files in bulk upload / download / delete based on file patterns.
- Support for enabling / disabling VNIC source/destination checks (#15)
- Support for adding and updating display names for captured instance serial console data.
- Display public key fingerprint in output of 'oci setup config' (#18)
Fixed
- Allow piping input through STDIN for 'oci os object put' (#21)
- Use full path when writing 'key_file' in 'oci setup config' (#19)
- Added missing files and instructions to allow running tests
Deprecated
- oci bv volume create --size-in-mbs parameter is now deprecated in favor of the new --size-in-gbs parameter
2.4.9
Fixed
- On Windows, fall back to old default config location (%USERPROFILE%.oraclebmc\config) if new default location doesn't exist (%USERPROFILE%.oci\config).
Added
- Support for CustomerSecretKey operations (oci iam customer-secret-key create / delete / list / update).