Skip to content

Commit baff723

Browse files
authored
Releasing version 2.4.32 (#84)
1 parent 373060d commit baff723

30 files changed

+1420
-938
lines changed

CHANGELOG.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@ All notable changes to this project will be documented in this file.
66

77
The format is based on `Keep a Changelog <http://keepachangelog.com/>`__.
88

9+
2.4.32 - 2018-09-06
10+
---------------------
11+
Added
12+
~~~~~~~~
13+
* Support for updating user custom metadata on an instance in the Compute service after the instance has launched
14+
15+
* (``oci compute instance update --instance-id --metadata --extended-metadata``)
16+
17+
* Ability to increase size of boot and block volumes during creation (from clone or restore from backup) in the Block Storage Service.
18+
19+
* (``oci bv boot-volume create --size-in-gbs``)
20+
* (``oci bv volume create --size-in-gbs``)
21+
22+
Changed
23+
~~~~~~~~
24+
* Updated the Description of Database API to include new character set.
25+
* The default License Type for Autonomous DataWarehouse and Autonomous Transaction Processing will be Bring Your Own License.
26+
927
2.4.31 - 2018-08-23
1028
---------------------
1129
Added

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Jinja2==2.9.6
1212
jmespath==0.9.3
1313
ndg-httpsclient==0.4.2
1414
mock==2.0.0
15-
oci==2.0.2
15+
oci==2.0.3
1616
packaging==16.8
1717
pluggy==0.4.0
1818
py==1.4.33

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def open_relative(*path):
2828
readme = f.read()
2929

3030
requires = [
31-
'oci==2.0.2',
31+
'oci==2.0.3',
3232
'arrow==0.10.0',
3333
'certifi',
3434
'click==6.7',

src/oci_cli/bin/OciTabExpansion.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ $ociCommandsToLongParams = @{
153153
'bv backup get' = 'from-json help volume-backup-id'
154154
'bv backup list' = 'all compartment-id display-name from-json help lifecycle-state limit page page-size sort-by sort-order volume-id'
155155
'bv backup update' = 'defined-tags display-name force freeform-tags from-json help if-match max-wait-seconds volume-backup-id wait-for-state wait-interval-seconds'
156-
'bv boot-volume create' = 'availability-domain backup-policy-id boot-volume-backup-id compartment-id defined-tags display-name freeform-tags from-json help max-wait-seconds source-boot-volume-id wait-for-state wait-interval-seconds'
156+
'bv boot-volume create' = 'availability-domain backup-policy-id boot-volume-backup-id compartment-id defined-tags display-name freeform-tags from-json help max-wait-seconds size-in-gbs source-boot-volume-id wait-for-state wait-interval-seconds'
157157
'bv boot-volume delete' = 'boot-volume-id force from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
158158
'bv boot-volume get' = 'boot-volume-id from-json help'
159159
'bv boot-volume list' = 'all availability-domain compartment-id from-json help limit page page-size volume-group-id'
@@ -230,7 +230,7 @@ $ociCommandsToLongParams = @{
230230
'compute instance list' = 'all availability-domain compartment-id display-name from-json help lifecycle-state limit page page-size sort-by sort-order'
231231
'compute instance list-vnics' = 'all from-json help instance-id limit page page-size'
232232
'compute instance terminate' = 'force from-json help if-match instance-id max-wait-seconds preserve-boot-volume wait-for-state wait-interval-seconds'
233-
'compute instance update' = 'defined-tags display-name force freeform-tags from-json help if-match instance-id max-wait-seconds wait-for-state wait-interval-seconds'
233+
'compute instance update' = 'defined-tags display-name extended-metadata force freeform-tags from-json help if-match instance-id max-wait-seconds metadata wait-for-state wait-interval-seconds'
234234
'compute instance-console-connection create' = 'defined-tags freeform-tags from-json help instance-id max-wait-seconds ssh-public-key-file wait-for-state wait-interval-seconds'
235235
'compute instance-console-connection delete' = 'force from-json help if-match instance-console-connection-id max-wait-seconds wait-for-state wait-interval-seconds'
236236
'compute instance-console-connection get' = 'from-json help instance-console-connection-id'

src/oci_cli/cli_util.py

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,34 +59,25 @@
5959

6060

6161
OVERRIDES = {
62-
"audit_root_group.help": "Audit Service",
6362
"audit_event_group.command_name": "event",
6463
"configuration_group.command_name": "config",
6564
"list_events.command_name": "list",
6665
"blockstorage_root_group.command_name": "bv",
67-
"blockstorage_root_group.help": "Block Volume Service",
6866
"compute_root_group.command_name": "compute",
69-
"compute_root_group.help": "Compute Service",
7067
"ce_root_group.command_name": "ce",
71-
"db_root_group.help": "Database Service",
7268
"db_root_group.command_name": "db",
7369
"db_node_group.command_name": "node",
7470
"db_system_group.command_name": "system",
7571
"db_system_shape_group.command_name": "system-shape",
7672
"db_version_group.command_name": "version",
77-
"dns_root_group.help": "DNS Zone Management Service",
78-
"email_root_group.help": "Email Delivery Service",
79-
"fs_root_group.help": "File Storage Service",
8073
"get_console_history_content.command_name": "get-content",
8174
"get_db_system_patch.command_name": "by-db-system",
8275
"get_db_system_patch_history_entry.command_name": "by-db-system",
8376
"get_namespace_metadata.command_name": "get-metadata",
8477
"get_windows_instance_initial_credentials.command_name": "get-windows-initial-creds",
85-
"iam_root_group.help": "Identity and Access Management Service",
8678
"instance_action.command_name": "action",
8779
"list_db_system_patches.command_name": "by-db-system",
8880
"list_db_system_patch_history_entries.command_name": "by-db-system",
89-
"lb_root_group.help": "Load Balancing Service",
9081
"load_balancer_policy_group.command_name": "policy",
9182
"load_balancer_protocol_group.command_name": "protocol",
9283
"load_balancer_shape_group.command_name": "shape",
@@ -96,20 +87,31 @@
9687
"list_policies.command_name": "list",
9788
"list_work_request_logs.command_name": "list",
9889
"namespace_group.command_name": "ns",
99-
"os_root_group.help": "Object Storage Service",
10090
"patch_history_entry_group.command_name": "patch-history",
10191
"preauthenticated_request_group.command_name": "preauth-request",
10292
"update_namespace_metadata.command_name": "update-metadata",
10393
"virtual_network_root_group.command_name": "network",
104-
"virtual_network_root_group.help": "Networking Service",
105-
"compute_management_group.command_name": "compute-management",
106-
"compute_management_group.help": "Compute Management Service",
10794
"volume_backup_group.command_name": "backup",
10895
"resource_summary_collection_group.command_name": "resource",
10996
"search_resources_structured_search_details.command_name": "structured-search",
11097
"search_resources_free_text_search_details.command_name": "free-text-search"
11198
}
11299

100+
ROOT_COMMAND_HELP_OVERRIDES = {
101+
"compute_root_group.help": "Compute Service CLI",
102+
"compute_root_group.short_help": "Compute Service",
103+
"compute_management_root_group.help": "Compute Management Service CLI",
104+
"compute_management_root_group.short_help": "Compute Management Service",
105+
"blockstorage_root_group.help": "Block Volume Service CLI",
106+
"blockstorage_root_group.short_help": "Block Volume Service",
107+
"compute_root_group.help": "Compute Service CLI",
108+
"compute_root_group.short_help": "Compute Service",
109+
"os_root_group.help": "Object Storage Service CLI",
110+
"os_root_group.short_help": "Object Storage Service",
111+
"virtual_network_root_group.help": "Networking Service CLI",
112+
"virtual_network_root_group.short_help": "Networking Service",
113+
"email_root_group.help": "Email Delivery Service CLI",
114+
}
113115

114116
DNS_OVERRIDES = {
115117
"get_domain_records.command_name": "get",
@@ -126,6 +128,7 @@
126128

127129

128130
OVERRIDES.update(DNS_OVERRIDES)
131+
OVERRIDES.update(ROOT_COMMAND_HELP_OVERRIDES)
129132

130133

131134
GENERIC_JSON_FORMAT_HELP = """This must be provided in JSON format. See API reference for additional help."""
@@ -142,6 +145,18 @@
142145

143146

144147
def override(key, default):
148+
# special case for root command help
149+
# - the short help is used in the `oci --help` output, and is the spec title so we remove 'API'
150+
# - the regular help is used in the command help `oci bv --help` and is the spec description so we
151+
# replace 'API' with 'CLI' since the description may be a full sentence
152+
# note: this is simply meant to cover as many places as possible automatically, if there are descriptions
153+
# that don't work well, we should add them to the manual overrides
154+
if 'API' in default:
155+
if key.endswith('_root_group.help'):
156+
default = default.replace('API', 'CLI').strip()
157+
elif key.endswith('_root_group.short_help'):
158+
default = default.replace('API', '').strip()
159+
145160
return OVERRIDES.get(key, default)
146161

147162

src/oci_cli/core_cli_extended.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -807,8 +807,7 @@ def create_instance_console_connection(ctx, from_json, instance_id, ssh_public_k
807807
808808
This is optional when cloning a volume as the newly created volume will be created in the same Availability Domain as its source. This is required when creating an empty volume or restoring a volume from a backup.""", append=False)
809809
cli_util.update_param_help(blockstorage_cli.create_volume, 'compartment_id', """The OCID of the compartment that contains the volume. This is optional when cloning a volume or restoring a volume from a backup. If it is not supplied then the volume will be created in the same compartment as the source. This is requied when creating an empty volume.""", append=False)
810-
cli_util.update_param_help(blockstorage_cli.create_volume, 'size_in_gbs', """This option cannot be supplied when cloning a volume or restoring a volume from a backup""", append=True)
811-
cli_util.update_param_help(blockstorage_cli.create_volume, 'size_in_mbs', """[DEPRECATED] The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Use --size-in-gbs instead. This option cannot be supplied when cloning a volume or restoring a volume from a backup""", append=False)
810+
cli_util.update_param_help(blockstorage_cli.create_volume, 'size_in_mbs', """[DEPRECATED] The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Use --size-in-gbs instead.""", append=False)
812811

813812

814813
@cli_util.copy_params_from_generated_command(blockstorage_cli.create_volume, params_to_exclude=['source_details', 'volume_backup_id', 'availability_domain', 'compartment_id'])
@@ -836,10 +835,7 @@ def create_volume_extended(ctx, **kwargs):
836835
if not kwargs['source_volume_id'] and not kwargs['volume_backup_id'] and not kwargs['compartment_id']:
837836
raise click.UsageError('A compartment ID must be specified when creating an empty volume')
838837

839-
if (kwargs['volume_backup_id'] or kwargs['source_volume_id']) and (kwargs['size_in_gbs'] or kwargs['size_in_mbs']):
840-
raise click.UsageError('You cannot specify a size when cloning a volume or restoring a volume from a backup')
841-
842-
if (kwargs['size_in_mbs'] and kwargs['size_in_gbs']):
838+
if kwargs['size_in_mbs'] and kwargs['size_in_gbs']:
843839
raise click.UsageError('You cannot specify both --size-in-mbs and --size-in-gbs')
844840

845841
client = cli_util.build_client('blockstorage', ctx)
@@ -877,7 +873,7 @@ def create_volume_extended(ctx, **kwargs):
877873
ctx.invoke(blockstorage_cli.create_volume, **kwargs)
878874

879875

880-
@cli_util.copy_params_from_generated_command(blockstorage_cli.create_boot_volume, params_to_exclude=['source_details', 'size_in_gbs', 'availability_domain', 'compartment_id'])
876+
@cli_util.copy_params_from_generated_command(blockstorage_cli.create_boot_volume, params_to_exclude=['source_details', 'availability_domain', 'compartment_id'])
881877
@blockstorage_cli.boot_volume_group.command(name=cli_util.override('create_boot_volume.command_name', 'create'), help="""Creates a new boot volume in the specified compartment from an existing boot volume or a boot volume backup. For general information about boot volumes, see [Boot Volumes]. You may optionally specify a *display name* for the volume, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information.""")
882878
@cli_util.option('--availability-domain', help="""The Availability Domain of the boot volume. Example: `Uocm:PHX-AD-1`.
883879

src/oci_cli/database_cli_extended.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
@cli_util.copy_params_from_generated_command(database_cli.launch_db_system_launch_db_system_details, params_to_exclude=['db_home', 'ssh_public_keys'])
1616
@database_cli.db_system_group.command(name='launch', help=database_cli.launch_db_system_launch_db_system_details.help)
1717
@cli_util.option('--admin-password', required=True, help="""A strong password for SYS, SYSTEM, and PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.""")
18-
@cli_util.option('--character-set', help="""The character set for the database. The default is AL32UTF8. Allowed values are: AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS.""")
18+
@cli_util.option('--character-set', help="""The character set for the database. The default is AL32UTF8. Allowed values are: AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS.""")
1919
@cli_util.option('--db-name', required=True, help="""The database name. It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.""")
2020
@cli_util.option('--db-version', required=True, help="""A valid Oracle database version. To get a list of supported versions, use the command 'oci db version list'.""")
2121
@cli_util.option('--db-workload', help="""Database workload type. Allowed values are: OLTP, DSS""")
@@ -113,7 +113,7 @@ def launch_db_system_backup_extended(ctx, **kwargs):
113113
@cli_util.copy_params_from_generated_command(database_cli.create_db_home, params_to_exclude=['database', 'display_name', 'db_version'])
114114
@database_cli.database_group.command(name='create', help="""Creates a new database in the given DB System.""")
115115
@cli_util.option('--admin-password', required=True, help="""A strong password for SYS, SYSTEM, and PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.""")
116-
@cli_util.option('--character-set', help="""The character set for the database. The default is AL32UTF8. Allowed values are: AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS.""")
116+
@cli_util.option('--character-set', help="""The character set for the database. The default is AL32UTF8. Allowed values are: AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS.""")
117117
@cli_util.option('--db-name', required=True, help="""The database name. It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.""")
118118
@cli_util.option('--db-workload', help="""Database workload type. Allowed values are: OLTP, DSS""")
119119
@cli_util.option('--ncharacter-set', help="""National character set for the database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.""")

src/oci_cli/generated/audit_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from ..aliasing import CommandGroupWithAlias
1515

1616

17-
@cli.command(cli_util.override('audit_root_group.command_name', 'audit'), cls=CommandGroupWithAlias, help=cli_util.override('audit_root_group.help', """API for the Audit Service. You can use this API for queries, but not bulk-export operations."""))
17+
@cli.command(cli_util.override('audit_root_group.command_name', 'audit'), cls=CommandGroupWithAlias, help=cli_util.override('audit_root_group.help', """API for the Audit Service. You can use this API for queries, but not bulk-export operations."""), short_help=cli_util.override('audit_root_group.short_help', """Audit API"""))
1818
@cli_util.help_option_group
1919
def audit_root_group():
2020
pass

0 commit comments

Comments
 (0)