From cf4a535e13c99b93379f4e9df87355fceaab4def Mon Sep 17 00:00:00 2001 From: dshelbyo Date: Tue, 4 Jun 2019 17:31:42 +0000 Subject: [PATCH] Releasing version 2.2.12 --- CHANGELOG.rst | 14 + examples/database/adb_example.py | 69 +++++ examples/showoci/CHANGELOG.rst | 8 + examples/showoci/showoci.py | 2 +- examples/showoci/showoci_output.py | 8 +- examples/showoci/showoci_service.py | 28 +- src/oci/core/blockstorage_client.py | 24 +- src/oci/core/compute_client.py | 40 ++- src/oci/core/compute_management_client.py | 12 +- src/oci/core/models/boot_volume.py | 14 +- src/oci/core/models/boot_volume_backup.py | 14 +- .../models/capture_console_history_details.py | 14 +- src/oci/core/models/console_history.py | 14 +- src/oci/core/models/cpe.py | 14 +- .../create_boot_volume_backup_details.py | 14 +- .../core/models/create_boot_volume_details.py | 14 +- src/oci/core/models/create_cpe_details.py | 14 +- src/oci/core/models/create_dhcp_details.py | 14 +- src/oci/core/models/create_drg_details.py | 14 +- src/oci/core/models/create_image_details.py | 14 +- .../create_instance_configuration_details.py | 14 +- ...ate_instance_console_connection_details.py | 14 +- .../models/create_instance_pool_details.py | 14 +- .../models/create_internet_gateway_details.py | 14 +- .../create_ip_sec_connection_details.py | 24 +- ...create_ip_sec_connection_tunnel_details.py | 10 +- .../create_local_peering_gateway_details.py | 14 +- .../core/models/create_nat_gateway_details.py | 14 +- .../core/models/create_private_ip_details.py | 14 +- .../core/models/create_public_ip_details.py | 14 +- .../core/models/create_route_table_details.py | 14 +- .../models/create_security_list_details.py | 14 +- .../models/create_service_gateway_details.py | 14 +- src/oci/core/models/create_subnet_details.py | 14 +- src/oci/core/models/create_vcn_details.py | 14 +- src/oci/core/models/create_vnic_details.py | 14 +- .../models/create_volume_backup_details.py | 14 +- src/oci/core/models/create_volume_details.py | 14 +- .../create_volume_group_backup_details.py | 14 +- .../models/create_volume_group_details.py | 14 +- src/oci/core/models/dhcp_options.py | 14 +- src/oci/core/models/drg.py | 14 +- src/oci/core/models/image.py | 14 +- src/oci/core/models/image_source_details.py | 54 ++++ ...source_via_object_storage_tuple_details.py | 14 + ...e_source_via_object_storage_uri_details.py | 14 + src/oci/core/models/instance.py | 14 +- src/oci/core/models/instance_configuration.py | 14 +- ...nce_configuration_create_volume_details.py | 14 +- ...e_configuration_launch_instance_details.py | 75 ++++- .../models/instance_configuration_summary.py | 14 +- .../models/instance_console_connection.py | 14 +- src/oci/core/models/instance_pool.py | 14 +- src/oci/core/models/instance_pool_summary.py | 14 +- src/oci/core/models/internet_gateway.py | 14 +- src/oci/core/models/ip_sec_connection.py | 24 +- .../ip_sec_connection_tunnel_shared_secret.py | 4 +- .../core/models/launch_instance_details.py | 14 +- src/oci/core/models/local_peering_gateway.py | 14 +- src/oci/core/models/nat_gateway.py | 14 +- src/oci/core/models/private_ip.py | 14 +- src/oci/core/models/public_ip.py | 14 +- src/oci/core/models/route_table.py | 14 +- src/oci/core/models/security_list.py | 14 +- src/oci/core/models/service_gateway.py | 14 +- src/oci/core/models/subnet.py | 14 +- src/oci/core/models/tunnel_config.py | 4 +- .../update_boot_volume_backup_details.py | 14 +- .../core/models/update_boot_volume_details.py | 14 +- .../models/update_console_history_details.py | 14 +- src/oci/core/models/update_cpe_details.py | 14 +- src/oci/core/models/update_dhcp_details.py | 14 +- src/oci/core/models/update_drg_details.py | 14 +- src/oci/core/models/update_image_details.py | 88 +++++- .../update_instance_configuration_details.py | 14 +- .../core/models/update_instance_details.py | 14 +- .../models/update_instance_pool_details.py | 14 +- .../models/update_internet_gateway_details.py | 14 +- .../update_ip_sec_connection_details.py | 24 +- ...connection_tunnel_shared_secret_details.py | 10 +- .../update_local_peering_gateway_details.py | 14 +- .../core/models/update_nat_gateway_details.py | 14 +- .../core/models/update_private_ip_details.py | 14 +- .../core/models/update_public_ip_details.py | 14 +- .../core/models/update_route_table_details.py | 14 +- .../models/update_security_list_details.py | 14 +- .../models/update_service_gateway_details.py | 14 +- src/oci/core/models/update_subnet_details.py | 14 +- src/oci/core/models/update_vcn_details.py | 14 +- src/oci/core/models/update_vnic_details.py | 14 +- .../models/update_volume_backup_details.py | 14 +- src/oci/core/models/update_volume_details.py | 14 +- .../update_volume_group_backup_details.py | 14 +- .../models/update_volume_group_details.py | 14 +- src/oci/core/models/vcn.py | 14 +- src/oci/core/models/vnic.py | 14 +- src/oci/core/models/volume.py | 14 +- src/oci/core/models/volume_backup.py | 14 +- src/oci/core/models/volume_group.py | 14 +- src/oci/core/models/volume_group_backup.py | 14 +- src/oci/core/virtual_network_client.py | 136 ++++++--- ...ual_network_client_composite_operations.py | 8 +- .../database/models/autonomous_database.py | 35 ++- .../models/autonomous_database_summary.py | 35 ++- .../models/create_autonomous_database_base.py | 31 +++ ...reate_autonomous_database_clone_details.py | 7 + .../create_autonomous_database_details.py | 7 + .../update_autonomous_database_details.py | 35 ++- src/oci/identity/identity_client.py | 210 +++++++++++++- .../identity_client_composite_operations.py | 260 ++++++++++++++++++ src/oci/identity/models/tag.py | 55 ++++ src/oci/identity/models/tag_namespace.py | 55 ++++ .../identity/models/tag_namespace_summary.py | 31 +++ src/oci/identity/models/tag_summary.py | 31 +++ src/oci/identity/models/work_request.py | 10 +- .../identity/models/work_request_summary.py | 10 +- src/oci/load_balancer/load_balancer_client.py | 2 +- ...ssion_persistence_configuration_details.py | 1 + src/oci/version.py | 2 +- 119 files changed, 1842 insertions(+), 775 deletions(-) create mode 100644 examples/database/adb_example.py diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f60b65ffe5..bb95c8e067 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file. The format is based on `Keep a Changelog `_. +==================== +2.2.12 - 2019-06-04 +==================== + +Added +----- +* Support for autoscaling autonomous databases and autonomous data warehouses in the Database service +* Support for specifying fault domains as part of instance configurations in the Compute Autoscaling service +* Support for deleting tag definitions and tag namespaces in the Identity service + +Fixed +----- +* Support for regions in realms other than oraclecloud.com in the Load Balancing service + ==================== 2.2.11 - 2019-05-28 ==================== diff --git a/examples/database/adb_example.py b/examples/database/adb_example.py new file mode 100644 index 0000000000..b7b741b7be --- /dev/null +++ b/examples/database/adb_example.py @@ -0,0 +1,69 @@ +# coding: utf-8 +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. + +import oci + +# Overview of Autonomous Data Warehouse +# https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/adboverview.htm + +# Load the default configuration +config = oci.config.from_file() + +# Set the compartment_id. You can use any compartment in your tenancy which +# has privileges for creating an Autonomous Database +compartment_id = config["tenancy"] + + +def create_adb(db_client): + # Create the model and populate the values + # See: https://docs.cloud.oracle.com/iaas/Content/Database/Tasks/adbcreating.htm + adb_request = oci.database.models.CreateAutonomousDatabaseDetails() + + adb_request.compartment_id = compartment_id + adb_request.cpu_core_count = 1 + adb_request.data_storage_size_in_tbs = 1 + adb_request.db_name = "adbexample2" + adb_request.display_name = "PYSDK-ADB-EXAMPLE" + adb_request.db_workload = "OLTP" + adb_request.license_model = adb_request.LICENSE_MODEL_BRING_YOUR_OWN_LICENSE + adb_request.admin_password = "Welcome1!SDK" + adb_request.is_auto_scaling_enabled = True + + adb_response = db_client.create_autonomous_database( + create_autonomous_database_details=adb_request, + retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY) + + print("Created Automated Database {}".format(adb_response.data.id)) + + return adb_response.data.id + + +def delete_adb(db_client, adb_id): + # Delete the autonomous database + response = db_client.delete_autonomous_database(adb_id) + print(response) + + +def update_adb(db_client, adb_id): + # Create the model and populate the values + # See: https://docs.cloud.oracle.com/iaas/Content/Database/Tasks/adbcreating.htm + adb_request = oci.database.models.UpdateAutonomousDatabaseDetails() + + adb_request.cpu_core_count = 2 + adb_request.data_storage_size_in_tbs = 2 + adb_request.is_auto_scaling_enabled = True + + adb_response = db_client.update_autonomous_database(adb_id, + update_autonomous_database_details=adb_request, + retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY) + + print("Created Automated Data Warehouse {}".format(adb_response.data.id)) + + return adb_response.data.id + + +if __name__ == "__main__": + # Initialize the client + db_client = oci.database.DatabaseClient(config) + adb_id = create_adb(db_client) + delete_adb(db_client, adb_id) diff --git a/examples/showoci/CHANGELOG.rst b/examples/showoci/CHANGELOG.rst index c239ed14fd..c6ab32ab6f 100644 --- a/examples/showoci/CHANGELOG.rst +++ b/examples/showoci/CHANGELOG.rst @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on `Keep a Changelog `_. +==================== +19.6.3 - 2019-06-03 +==================== + +Added +----- +* Added support for ipsec dynamic routing (bgp) + ==================== 19.5.27 - 2019-05-27 ==================== diff --git a/examples/showoci/showoci.py b/examples/showoci/showoci.py index ef51d1f3b6..fc1364517c 100644 --- a/examples/showoci/showoci.py +++ b/examples/showoci/showoci.py @@ -62,7 +62,7 @@ import argparse import datetime -version = "19.5.27" +version = "19.6.3" ########################################################################## # execute_extract diff --git a/examples/showoci/showoci_output.py b/examples/showoci/showoci_output.py index b40c595207..73323b95cf 100755 --- a/examples/showoci/showoci_output.py +++ b/examples/showoci/showoci_output.py @@ -494,8 +494,12 @@ def __print_core_network_ipsec(self, ipsecs): print(self.tabs + "CPE : " + ips['cpe']) # get tunnel status for t in ips['tunnels']: - print(self.tabs + "Tunnel : " + t['ip_address'] + " - " + t['status'] + " - " + t['status_date']) - print(self.tabs + "Routes : " + "\n Routes : ".join(ips['routes'])) + print(self.tabs + "Tunnel : " + t['display_name'].ljust(12) + " - " + t['status'] + ", " + t['routing'] + ", VPN: " + t['vpn_ip'] + ", CPE: " + t['cpe_ip'] + ", " + t['status_date']) + if t['bgp_info']: + print(self.tabs + " : " + t['bgp_info']) + + if ips['routes']: + print(self.tabs + "Routes : " + "\n Static : ".join(ips['routes'])) print("") except Exception as e: diff --git a/examples/showoci/showoci_service.py b/examples/showoci/showoci_service.py index 9bd7e8293a..472285e2ab 100755 --- a/examples/showoci/showoci_service.py +++ b/examples/showoci/showoci_service.py @@ -98,7 +98,7 @@ def is_load_basic_network(self): # class ShowOCIService ########################################################################## class ShowOCIService(object): - oci_compatible_version = "2.2.7" + oci_compatible_version = "2.2.10" ########################################################################## # Global Constants @@ -413,9 +413,9 @@ def check_oci_version_compatible(self): try: # loop on digits for i, rl in zip(self.get_oci_version().split("."), self.oci_compatible_version.split(".")): - if i > rl: + if int(i) > int(rl): return True - if i < rl: + if int(i) < int(rl): print("") print("*********************************************************************") print("Error, OCI version " + self.oci_compatible_version + " required !") @@ -2276,13 +2276,25 @@ def __load_core_network_ips(self, virtual_network, compartments): if arr.lifecycle_state == oci.core.models.IPSecConnection.LIFECYCLE_STATE_AVAILABLE: # get tunnel info + # ipss = oci.core.models.IPSecConnectionTunnel data_tun = [] try: - ipss = virtual_network.get_ip_sec_connection_device_status(arr.id).data - for tunnel in ipss.tunnels: - data_tun.append( - {'ip_address': str(tunnel.ip_address), 'status': str(tunnel.lifecycle_state), - 'status_date': tunnel.time_state_modified.strftime("%Y-%m-%d %H:%M")}) + tunnels = virtual_network.list_ip_sec_connection_tunnels(arr.id).data + for tunnel in tunnels: + tun_val = {'status': str(tunnel.status), + 'lifecycle_state': str(tunnel.lifecycle_state), + 'status_date': tunnel.time_status_updated.strftime("%Y-%m-%d %H:%M"), + 'display_name': str(tunnel.display_name), + 'routing': str(tunnel.routing), + 'cpe_ip': str(tunnel.cpe_ip), + 'vpn_ip': str(tunnel.vpn_ip), + 'bgp_info': ""} + + if tunnel.bgp_session_info: + bs = tunnel.bgp_session_info + tun_val['bgp_info'] = "BGP Status ".ljust(12) + " - " + str(bs.bgp_state + ", Cust: " + bs.customer_interface_ip + " (" + bs.customer_bgp_asn + "), Oracle: " + bs.oracle_interface_ip + " (" + bs.oracle_bgp_asn) + ")" + + data_tun.append(tun_val) except Exception: pass diff --git a/src/oci/core/blockstorage_client.py b/src/oci/core/blockstorage_client.py index 5605ad4b05..83247d25af 100644 --- a/src/oci/core/blockstorage_client.py +++ b/src/oci/core/blockstorage_client.py @@ -2123,7 +2123,9 @@ def list_boot_volume_backups(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str boot_volume_id: (optional) The OCID of the boot volume. @@ -2270,7 +2272,9 @@ def list_boot_volumes(self, availability_domain, compartment_id, **kwargs): Example: `Uocm:PHX-AD-1` :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -2436,7 +2440,9 @@ def list_volume_backups(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str volume_id: (optional) The OCID of the volume. @@ -2586,7 +2592,9 @@ def list_volume_group_backups(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str volume_group_id: (optional) The OCID of the volume group. @@ -2717,7 +2725,9 @@ def list_volume_groups(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. @@ -2861,7 +2871,9 @@ def list_volumes(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. diff --git a/src/oci/core/compute_client.py b/src/oci/core/compute_client.py index 8a747668ad..81b698ee49 100644 --- a/src/oci/core/compute_client.py +++ b/src/oci/core/compute_client.py @@ -630,7 +630,9 @@ def delete_app_catalog_subscription(self, listing_id, compartment_id, resource_v The OCID of the listing. :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str resource_version: (required) Listing Resource Version. @@ -2484,7 +2486,9 @@ def list_app_catalog_subscriptions(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -2613,7 +2617,9 @@ def list_boot_volume_attachments(self, availability_domain, compartment_id, **kw Example: `Uocm:PHX-AD-1` :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -2706,7 +2712,9 @@ def list_console_histories(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. @@ -2859,7 +2867,9 @@ def list_images(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str display_name: (optional) A filter to return only resources that match the given display name exactly. @@ -3019,7 +3029,9 @@ def list_instance_console_connections(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str instance_id: (optional) The OCID of the instance. @@ -3254,7 +3266,9 @@ def list_instances(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. @@ -3399,7 +3413,9 @@ def list_shapes(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. @@ -3495,7 +3511,9 @@ def list_vnic_attachments(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. @@ -3598,7 +3616,9 @@ def list_volume_attachments(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. diff --git a/src/oci/core/compute_management_client.py b/src/oci/core/compute_management_client.py index 82db0a0876..252fb9404e 100644 --- a/src/oci/core/compute_management_client.py +++ b/src/oci/core/compute_management_client.py @@ -696,7 +696,9 @@ def list_instance_configurations(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -814,7 +816,9 @@ def list_instance_pool_instances(self, compartment_id, instance_pool_id, **kwarg :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str instance_pool_id: (required) The OCID of the instance pool. @@ -952,7 +956,9 @@ def list_instance_pools(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str display_name: (optional) A filter to return only resources that match the given display name exactly. diff --git a/src/oci/core/models/boot_volume.py b/src/oci/core/models/boot_volume.py index 6be70ea8bb..19ad06f084 100644 --- a/src/oci/core/models/boot_volume.py +++ b/src/oci/core/models/boot_volume.py @@ -223,8 +223,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this BootVolume. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -240,8 +240,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this BootVolume. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -284,8 +284,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this BootVolume. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -302,8 +301,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this BootVolume. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/boot_volume_backup.py b/src/oci/core/models/boot_volume_backup.py index 556beff4e3..62b01e6747 100644 --- a/src/oci/core/models/boot_volume_backup.py +++ b/src/oci/core/models/boot_volume_backup.py @@ -240,8 +240,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this BootVolumeBackup. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -257,8 +257,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this BootVolumeBackup. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -333,8 +333,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this BootVolumeBackup. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -351,8 +350,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this BootVolumeBackup. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/capture_console_history_details.py b/src/oci/core/models/capture_console_history_details.py index e59acbb38b..fdd2e5118f 100644 --- a/src/oci/core/models/capture_console_history_details.py +++ b/src/oci/core/models/capture_console_history_details.py @@ -57,8 +57,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this CaptureConsoleHistoryDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -74,8 +74,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CaptureConsoleHistoryDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -116,8 +116,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CaptureConsoleHistoryDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -134,8 +133,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CaptureConsoleHistoryDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/console_history.py b/src/oci/core/models/console_history.py index 998590f559..4a62d7fb1c 100644 --- a/src/oci/core/models/console_history.py +++ b/src/oci/core/models/console_history.py @@ -167,8 +167,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this ConsoleHistory. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -184,8 +184,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this ConsoleHistory. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -232,8 +232,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this ConsoleHistory. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -250,8 +249,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this ConsoleHistory. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/cpe.py b/src/oci/core/models/cpe.py index 61af6d74a4..12663a78dc 100644 --- a/src/oci/core/models/cpe.py +++ b/src/oci/core/models/cpe.py @@ -116,8 +116,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this Cpe. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -133,8 +133,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this Cpe. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -177,8 +177,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this Cpe. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -195,8 +194,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this Cpe. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_boot_volume_backup_details.py b/src/oci/core/models/create_boot_volume_backup_details.py index 6f7e7144fd..8be6dd4659 100644 --- a/src/oci/core/models/create_boot_volume_backup_details.py +++ b/src/oci/core/models/create_boot_volume_backup_details.py @@ -97,8 +97,8 @@ def boot_volume_id(self, boot_volume_id): def defined_tags(self): """ Gets the defined_tags of this CreateBootVolumeBackupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -114,8 +114,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateBootVolumeBackupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -158,8 +158,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateBootVolumeBackupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -176,8 +175,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateBootVolumeBackupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_boot_volume_details.py b/src/oci/core/models/create_boot_volume_details.py index 885a940fb1..862013ba86 100644 --- a/src/oci/core/models/create_boot_volume_details.py +++ b/src/oci/core/models/create_boot_volume_details.py @@ -170,8 +170,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateBootVolumeDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -187,8 +187,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateBootVolumeDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -231,8 +231,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateBootVolumeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -249,8 +248,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateBootVolumeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_cpe_details.py b/src/oci/core/models/create_cpe_details.py index 7965a8bc2f..4c783977ee 100644 --- a/src/oci/core/models/create_cpe_details.py +++ b/src/oci/core/models/create_cpe_details.py @@ -88,8 +88,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateCpeDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -105,8 +105,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateCpeDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -147,8 +147,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateCpeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -165,8 +164,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateCpeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_dhcp_details.py b/src/oci/core/models/create_dhcp_details.py index 591de96dc5..6148d6af2c 100644 --- a/src/oci/core/models/create_dhcp_details.py +++ b/src/oci/core/models/create_dhcp_details.py @@ -95,8 +95,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateDhcpDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -112,8 +112,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateDhcpDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -154,8 +154,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateDhcpDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -172,8 +171,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateDhcpDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_drg_details.py b/src/oci/core/models/create_drg_details.py index 643bbd94e8..e2dc6fa2a2 100644 --- a/src/oci/core/models/create_drg_details.py +++ b/src/oci/core/models/create_drg_details.py @@ -81,8 +81,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateDrgDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -98,8 +98,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateDrgDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -140,8 +140,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateDrgDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -158,8 +157,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateDrgDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_image_details.py b/src/oci/core/models/create_image_details.py index bd1b62629b..e48e4d65b2 100644 --- a/src/oci/core/models/create_image_details.py +++ b/src/oci/core/models/create_image_details.py @@ -119,8 +119,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateImageDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -136,8 +136,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateImageDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -188,8 +188,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateImageDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -206,8 +205,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateImageDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_instance_configuration_details.py b/src/oci/core/models/create_instance_configuration_details.py index 331918d287..26d2e5c86c 100644 --- a/src/oci/core/models/create_instance_configuration_details.py +++ b/src/oci/core/models/create_instance_configuration_details.py @@ -88,8 +88,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateInstanceConfigurationDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -105,8 +105,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateInstanceConfigurationDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -147,8 +147,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateInstanceConfigurationDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -165,8 +164,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateInstanceConfigurationDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_instance_console_connection_details.py b/src/oci/core/models/create_instance_console_connection_details.py index b858d341c7..ad12ef19a4 100644 --- a/src/oci/core/models/create_instance_console_connection_details.py +++ b/src/oci/core/models/create_instance_console_connection_details.py @@ -58,8 +58,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this CreateInstanceConsoleConnectionDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -75,8 +75,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateInstanceConsoleConnectionDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -93,8 +93,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateInstanceConsoleConnectionDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -111,8 +110,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateInstanceConsoleConnectionDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_instance_pool_details.py b/src/oci/core/models/create_instance_pool_details.py index c28cee30c0..690f751c2a 100644 --- a/src/oci/core/models/create_instance_pool_details.py +++ b/src/oci/core/models/create_instance_pool_details.py @@ -109,8 +109,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateInstancePoolDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -126,8 +126,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateInstancePoolDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -168,8 +168,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateInstancePoolDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -186,8 +185,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateInstancePoolDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_internet_gateway_details.py b/src/oci/core/models/create_internet_gateway_details.py index 06b08c7c56..729655f49c 100644 --- a/src/oci/core/models/create_internet_gateway_details.py +++ b/src/oci/core/models/create_internet_gateway_details.py @@ -95,8 +95,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateInternetGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -112,8 +112,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateInternetGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -154,8 +154,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateInternetGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -172,8 +171,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateInternetGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_ip_sec_connection_details.py b/src/oci/core/models/create_ip_sec_connection_details.py index e382ed80c6..c97dbecc0c 100644 --- a/src/oci/core/models/create_ip_sec_connection_details.py +++ b/src/oci/core/models/create_ip_sec_connection_details.py @@ -156,8 +156,8 @@ def cpe_id(self, cpe_id): def defined_tags(self): """ Gets the defined_tags of this CreateIPSecConnectionDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -173,8 +173,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateIPSecConnectionDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -239,8 +239,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateIPSecConnectionDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -257,8 +256,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateIPSecConnectionDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -281,10 +279,15 @@ def cpe_local_identifier(self): If you don't provide a value, the `ipAddress` attribute for the :class:`Cpe` object specified by `cpeId` is used as the `cpeLocalIdentifier`. + For information about why you'd provide this value, see + `If Your CPE Is Behind a NAT Device`__. + Example IP address: `10.0.3.3` Example hostname: `cpe.example.com` + __ https://docs.cloud.oracle.com/Content/Network/Tasks/overviewIPsec.htm#nat + :return: The cpe_local_identifier of this CreateIPSecConnectionDetails. :rtype: str @@ -302,10 +305,15 @@ def cpe_local_identifier(self, cpe_local_identifier): If you don't provide a value, the `ipAddress` attribute for the :class:`Cpe` object specified by `cpeId` is used as the `cpeLocalIdentifier`. + For information about why you'd provide this value, see + `If Your CPE Is Behind a NAT Device`__. + Example IP address: `10.0.3.3` Example hostname: `cpe.example.com` + __ https://docs.cloud.oracle.com/Content/Network/Tasks/overviewIPsec.htm#nat + :param cpe_local_identifier: The cpe_local_identifier of this CreateIPSecConnectionDetails. :type: str diff --git a/src/oci/core/models/create_ip_sec_connection_tunnel_details.py b/src/oci/core/models/create_ip_sec_connection_tunnel_details.py index 8ead1cff64..bbbe130e98 100644 --- a/src/oci/core/models/create_ip_sec_connection_tunnel_details.py +++ b/src/oci/core/models/create_ip_sec_connection_tunnel_details.py @@ -124,11 +124,12 @@ def routing(self, routing): def shared_secret(self): """ Gets the shared_secret of this CreateIPSecConnectionTunnelDetails. - The shared secret (pre-shared key) to use for the IPSec tunnel. If you don't provide a value, + The shared secret (pre-shared key) to use for the IPSec tunnel. Only numbers, letters, and + spaces are allowed. If you don't provide a value, Oracle generates a value for you. You can specify your own shared secret later if you like with :func:`update_ip_sec_connection_tunnel_shared_secret`. - Example: `EXAMPLEToUis6j1c.p8G.dVQxcmdfMO0yXMLi.lZTbYCMDGu4V8o` + Example: `EXAMPLEToUis6j1cp8GdVQxcmdfMO0yXMLilZTbYCMDGu4V8o` :return: The shared_secret of this CreateIPSecConnectionTunnelDetails. @@ -140,11 +141,12 @@ def shared_secret(self): def shared_secret(self, shared_secret): """ Sets the shared_secret of this CreateIPSecConnectionTunnelDetails. - The shared secret (pre-shared key) to use for the IPSec tunnel. If you don't provide a value, + The shared secret (pre-shared key) to use for the IPSec tunnel. Only numbers, letters, and + spaces are allowed. If you don't provide a value, Oracle generates a value for you. You can specify your own shared secret later if you like with :func:`update_ip_sec_connection_tunnel_shared_secret`. - Example: `EXAMPLEToUis6j1c.p8G.dVQxcmdfMO0yXMLi.lZTbYCMDGu4V8o` + Example: `EXAMPLEToUis6j1cp8GdVQxcmdfMO0yXMLilZTbYCMDGu4V8o` :param shared_secret: The shared_secret of this CreateIPSecConnectionTunnelDetails. diff --git a/src/oci/core/models/create_local_peering_gateway_details.py b/src/oci/core/models/create_local_peering_gateway_details.py index e573b7e390..ec90c6f8d9 100644 --- a/src/oci/core/models/create_local_peering_gateway_details.py +++ b/src/oci/core/models/create_local_peering_gateway_details.py @@ -95,8 +95,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateLocalPeeringGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -112,8 +112,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateLocalPeeringGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -156,8 +156,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateLocalPeeringGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -174,8 +173,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateLocalPeeringGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_nat_gateway_details.py b/src/oci/core/models/create_nat_gateway_details.py index f8814084fd..38fdcf31f1 100644 --- a/src/oci/core/models/create_nat_gateway_details.py +++ b/src/oci/core/models/create_nat_gateway_details.py @@ -101,8 +101,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateNatGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -118,8 +118,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateNatGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -162,8 +162,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateNatGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -180,8 +179,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateNatGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_private_ip_details.py b/src/oci/core/models/create_private_ip_details.py index c1ca3c7bc0..0e8a22f03a 100644 --- a/src/oci/core/models/create_private_ip_details.py +++ b/src/oci/core/models/create_private_ip_details.py @@ -71,8 +71,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this CreatePrivateIpDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -88,8 +88,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreatePrivateIpDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -132,8 +132,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreatePrivateIpDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -150,8 +149,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreatePrivateIpDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_public_ip_details.py b/src/oci/core/models/create_public_ip_details.py index 6fc6a554fc..b56280263e 100644 --- a/src/oci/core/models/create_public_ip_details.py +++ b/src/oci/core/models/create_public_ip_details.py @@ -106,8 +106,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreatePublicIpDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -123,8 +123,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreatePublicIpDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -167,8 +167,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreatePublicIpDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -185,8 +184,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreatePublicIpDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_route_table_details.py b/src/oci/core/models/create_route_table_details.py index 5414a71c24..e8695c3c7d 100644 --- a/src/oci/core/models/create_route_table_details.py +++ b/src/oci/core/models/create_route_table_details.py @@ -95,8 +95,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateRouteTableDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -112,8 +112,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateRouteTableDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -154,8 +154,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateRouteTableDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -172,8 +171,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateRouteTableDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_security_list_details.py b/src/oci/core/models/create_security_list_details.py index fbecbfc4ee..a0ba843f56 100644 --- a/src/oci/core/models/create_security_list_details.py +++ b/src/oci/core/models/create_security_list_details.py @@ -102,8 +102,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateSecurityListDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -119,8 +119,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateSecurityListDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -185,8 +185,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateSecurityListDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -203,8 +202,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateSecurityListDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_service_gateway_details.py b/src/oci/core/models/create_service_gateway_details.py index a543609563..e9ed1064ed 100644 --- a/src/oci/core/models/create_service_gateway_details.py +++ b/src/oci/core/models/create_service_gateway_details.py @@ -99,8 +99,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateServiceGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -116,8 +116,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateServiceGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -160,8 +160,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateServiceGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -178,8 +177,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateServiceGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_subnet_details.py b/src/oci/core/models/create_subnet_details.py index 17f6f91b93..bd7aa6cdac 100644 --- a/src/oci/core/models/create_subnet_details.py +++ b/src/oci/core/models/create_subnet_details.py @@ -213,8 +213,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateSubnetDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -230,8 +230,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateSubnetDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -352,8 +352,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateSubnetDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -370,8 +369,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateSubnetDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_vcn_details.py b/src/oci/core/models/create_vcn_details.py index 3971c01836..1b3096bdb5 100644 --- a/src/oci/core/models/create_vcn_details.py +++ b/src/oci/core/models/create_vcn_details.py @@ -123,8 +123,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateVcnDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -140,8 +140,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateVcnDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -238,8 +238,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateVcnDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -256,8 +255,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateVcnDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_vnic_details.py b/src/oci/core/models/create_vnic_details.py index b15f52559e..6a6fb32694 100644 --- a/src/oci/core/models/create_vnic_details.py +++ b/src/oci/core/models/create_vnic_details.py @@ -158,8 +158,8 @@ def assign_public_ip(self, assign_public_ip): def defined_tags(self): """ Gets the defined_tags of this CreateVnicDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -175,8 +175,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateVnicDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -219,8 +219,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateVnicDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -237,8 +236,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateVnicDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_volume_backup_details.py b/src/oci/core/models/create_volume_backup_details.py index 2bc82ab3b7..cd4f9bf46b 100644 --- a/src/oci/core/models/create_volume_backup_details.py +++ b/src/oci/core/models/create_volume_backup_details.py @@ -73,8 +73,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this CreateVolumeBackupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -90,8 +90,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateVolumeBackupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -134,8 +134,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateVolumeBackupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -152,8 +151,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateVolumeBackupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_volume_details.py b/src/oci/core/models/create_volume_details.py index 6b760a780b..2d37721208 100644 --- a/src/oci/core/models/create_volume_details.py +++ b/src/oci/core/models/create_volume_details.py @@ -184,8 +184,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateVolumeDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -201,8 +201,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateVolumeDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -245,8 +245,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateVolumeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -263,8 +262,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateVolumeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_volume_group_backup_details.py b/src/oci/core/models/create_volume_group_backup_details.py index e4aa8e2bd3..d3a935baed 100644 --- a/src/oci/core/models/create_volume_group_backup_details.py +++ b/src/oci/core/models/create_volume_group_backup_details.py @@ -104,8 +104,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateVolumeGroupBackupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -121,8 +121,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateVolumeGroupBackupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -163,8 +163,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateVolumeGroupBackupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -181,8 +180,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateVolumeGroupBackupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/create_volume_group_details.py b/src/oci/core/models/create_volume_group_details.py index 268620e996..d1e486436d 100644 --- a/src/oci/core/models/create_volume_group_details.py +++ b/src/oci/core/models/create_volume_group_details.py @@ -119,8 +119,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this CreateVolumeGroupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -136,8 +136,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateVolumeGroupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -178,8 +178,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this CreateVolumeGroupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -196,8 +195,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateVolumeGroupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/dhcp_options.py b/src/oci/core/models/dhcp_options.py index cb755ae2e7..29f6ea43c2 100644 --- a/src/oci/core/models/dhcp_options.py +++ b/src/oci/core/models/dhcp_options.py @@ -155,8 +155,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this DhcpOptions. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -172,8 +172,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this DhcpOptions. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -216,8 +216,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this DhcpOptions. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -234,8 +233,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this DhcpOptions. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/drg.py b/src/oci/core/models/drg.py index 8f54975f9b..0f347a66cf 100644 --- a/src/oci/core/models/drg.py +++ b/src/oci/core/models/drg.py @@ -134,8 +134,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this Drg. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -151,8 +151,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this Drg. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -195,8 +195,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this Drg. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -213,8 +212,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this Drg. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/image.py b/src/oci/core/models/image.py index 852a6abcde..f45f73875b 100644 --- a/src/oci/core/models/image.py +++ b/src/oci/core/models/image.py @@ -265,8 +265,8 @@ def create_image_allowed(self, create_image_allowed): def defined_tags(self): """ Gets the defined_tags of this Image. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -282,8 +282,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this Image. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -332,8 +332,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this Image. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -350,8 +349,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this Image. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/image_source_details.py b/src/oci/core/models/image_source_details.py index f12aa59edf..cf5f453efd 100644 --- a/src/oci/core/models/image_source_details.py +++ b/src/oci/core/models/image_source_details.py @@ -30,6 +30,14 @@ def __init__(self, **kwargs): The following keyword arguments are supported (corresponding to the getters/setters of this class): + :param operating_system: + The value to assign to the operating_system property of this ImageSourceDetails. + :type operating_system: str + + :param operating_system_version: + The value to assign to the operating_system_version property of this ImageSourceDetails. + :type operating_system_version: str + :param source_image_type: The value to assign to the source_image_type property of this ImageSourceDetails. Allowed values for this property are: "QCOW2", "VMDK" @@ -41,15 +49,21 @@ def __init__(self, **kwargs): """ self.swagger_types = { + 'operating_system': 'str', + 'operating_system_version': 'str', 'source_image_type': 'str', 'source_type': 'str' } self.attribute_map = { + 'operating_system': 'operatingSystem', + 'operating_system_version': 'operatingSystemVersion', 'source_image_type': 'sourceImageType', 'source_type': 'sourceType' } + self._operating_system = None + self._operating_system_version = None self._source_image_type = None self._source_type = None @@ -69,6 +83,46 @@ def get_subtype(object_dictionary): else: return 'ImageSourceDetails' + @property + def operating_system(self): + """ + Gets the operating_system of this ImageSourceDetails. + + :return: The operating_system of this ImageSourceDetails. + :rtype: str + """ + return self._operating_system + + @operating_system.setter + def operating_system(self, operating_system): + """ + Sets the operating_system of this ImageSourceDetails. + + :param operating_system: The operating_system of this ImageSourceDetails. + :type: str + """ + self._operating_system = operating_system + + @property + def operating_system_version(self): + """ + Gets the operating_system_version of this ImageSourceDetails. + + :return: The operating_system_version of this ImageSourceDetails. + :rtype: str + """ + return self._operating_system_version + + @operating_system_version.setter + def operating_system_version(self, operating_system_version): + """ + Sets the operating_system_version of this ImageSourceDetails. + + :param operating_system_version: The operating_system_version of this ImageSourceDetails. + :type: str + """ + self._operating_system_version = operating_system_version + @property def source_image_type(self): """ diff --git a/src/oci/core/models/image_source_via_object_storage_tuple_details.py b/src/oci/core/models/image_source_via_object_storage_tuple_details.py index 3fc4aad755..dcd827aeb1 100644 --- a/src/oci/core/models/image_source_via_object_storage_tuple_details.py +++ b/src/oci/core/models/image_source_via_object_storage_tuple_details.py @@ -18,6 +18,14 @@ def __init__(self, **kwargs): of this class is ``objectStorageTuple`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): + :param operating_system: + The value to assign to the operating_system property of this ImageSourceViaObjectStorageTupleDetails. + :type operating_system: str + + :param operating_system_version: + The value to assign to the operating_system_version property of this ImageSourceViaObjectStorageTupleDetails. + :type operating_system_version: str + :param source_image_type: The value to assign to the source_image_type property of this ImageSourceViaObjectStorageTupleDetails. Allowed values for this property are: "QCOW2", "VMDK" @@ -41,6 +49,8 @@ def __init__(self, **kwargs): """ self.swagger_types = { + 'operating_system': 'str', + 'operating_system_version': 'str', 'source_image_type': 'str', 'source_type': 'str', 'bucket_name': 'str', @@ -49,6 +59,8 @@ def __init__(self, **kwargs): } self.attribute_map = { + 'operating_system': 'operatingSystem', + 'operating_system_version': 'operatingSystemVersion', 'source_image_type': 'sourceImageType', 'source_type': 'sourceType', 'bucket_name': 'bucketName', @@ -56,6 +68,8 @@ def __init__(self, **kwargs): 'object_name': 'objectName' } + self._operating_system = None + self._operating_system_version = None self._source_image_type = None self._source_type = None self._bucket_name = None diff --git a/src/oci/core/models/image_source_via_object_storage_uri_details.py b/src/oci/core/models/image_source_via_object_storage_uri_details.py index 4e624da1f4..142031dff1 100644 --- a/src/oci/core/models/image_source_via_object_storage_uri_details.py +++ b/src/oci/core/models/image_source_via_object_storage_uri_details.py @@ -18,6 +18,14 @@ def __init__(self, **kwargs): of this class is ``objectStorageUri`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): + :param operating_system: + The value to assign to the operating_system property of this ImageSourceViaObjectStorageUriDetails. + :type operating_system: str + + :param operating_system_version: + The value to assign to the operating_system_version property of this ImageSourceViaObjectStorageUriDetails. + :type operating_system_version: str + :param source_image_type: The value to assign to the source_image_type property of this ImageSourceViaObjectStorageUriDetails. Allowed values for this property are: "QCOW2", "VMDK" @@ -33,17 +41,23 @@ def __init__(self, **kwargs): """ self.swagger_types = { + 'operating_system': 'str', + 'operating_system_version': 'str', 'source_image_type': 'str', 'source_type': 'str', 'source_uri': 'str' } self.attribute_map = { + 'operating_system': 'operatingSystem', + 'operating_system_version': 'operatingSystemVersion', 'source_image_type': 'sourceImageType', 'source_type': 'sourceType', 'source_uri': 'sourceUri' } + self._operating_system = None + self._operating_system_version = None self._source_image_type = None self._source_type = None self._source_uri = None diff --git a/src/oci/core/models/instance.py b/src/oci/core/models/instance.py index 785d55273c..e25d0a9159 100644 --- a/src/oci/core/models/instance.py +++ b/src/oci/core/models/instance.py @@ -286,8 +286,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this Instance. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -303,8 +303,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this Instance. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -425,8 +425,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this Instance. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -443,8 +442,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this Instance. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/instance_configuration.py b/src/oci/core/models/instance_configuration.py index 702f69a46f..cb5d495981 100644 --- a/src/oci/core/models/instance_configuration.py +++ b/src/oci/core/models/instance_configuration.py @@ -109,8 +109,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this InstanceConfiguration. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -126,8 +126,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this InstanceConfiguration. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -168,8 +168,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this InstanceConfiguration. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -186,8 +185,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this InstanceConfiguration. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/instance_configuration_create_volume_details.py b/src/oci/core/models/instance_configuration_create_volume_details.py index 9f3c92bd44..1bf3336aef 100644 --- a/src/oci/core/models/instance_configuration_create_volume_details.py +++ b/src/oci/core/models/instance_configuration_create_volume_details.py @@ -163,8 +163,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this InstanceConfigurationCreateVolumeDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -180,8 +180,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this InstanceConfigurationCreateVolumeDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -224,8 +224,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this InstanceConfigurationCreateVolumeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -242,8 +241,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this InstanceConfigurationCreateVolumeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/instance_configuration_launch_instance_details.py b/src/oci/core/models/instance_configuration_launch_instance_details.py index 78dbf836e4..cb77466035 100644 --- a/src/oci/core/models/instance_configuration_launch_instance_details.py +++ b/src/oci/core/models/instance_configuration_launch_instance_details.py @@ -61,6 +61,10 @@ def __init__(self, **kwargs): The value to assign to the source_details property of this InstanceConfigurationLaunchInstanceDetails. :type source_details: InstanceConfigurationInstanceSourceDetails + :param fault_domain: + The value to assign to the fault_domain property of this InstanceConfigurationLaunchInstanceDetails. + :type fault_domain: str + """ self.swagger_types = { 'availability_domain': 'str', @@ -73,7 +77,8 @@ def __init__(self, **kwargs): 'ipxe_script': 'str', 'metadata': 'dict(str, str)', 'shape': 'str', - 'source_details': 'InstanceConfigurationInstanceSourceDetails' + 'source_details': 'InstanceConfigurationInstanceSourceDetails', + 'fault_domain': 'str' } self.attribute_map = { @@ -87,7 +92,8 @@ def __init__(self, **kwargs): 'ipxe_script': 'ipxeScript', 'metadata': 'metadata', 'shape': 'shape', - 'source_details': 'sourceDetails' + 'source_details': 'sourceDetails', + 'fault_domain': 'faultDomain' } self._availability_domain = None @@ -101,6 +107,7 @@ def __init__(self, **kwargs): self._metadata = None self._shape = None self._source_details = None + self._fault_domain = None @property def availability_domain(self): @@ -184,8 +191,8 @@ def create_vnic_details(self, create_vnic_details): def defined_tags(self): """ Gets the defined_tags of this InstanceConfigurationLaunchInstanceDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -201,8 +208,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this InstanceConfigurationLaunchInstanceDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -277,8 +284,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this InstanceConfigurationLaunchInstanceDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -295,8 +301,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this InstanceConfigurationLaunchInstanceDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -582,6 +587,56 @@ def source_details(self, source_details): """ self._source_details = source_details + @property + def fault_domain(self): + """ + Gets the fault_domain of this InstanceConfigurationLaunchInstanceDetails. + A fault domain is a grouping of hardware and infrastructure within an availability domain. + Each availability domain contains three fault domains. Fault domains let you distribute your + instances so that they are not on the same physical hardware within a single availability domain. + A hardware failure or Compute hardware maintenance that affects one fault domain does not affect + instances in other fault domains. + + If you do not specify the fault domain, the system selects one for you. To change the fault + domain for an instance, terminate it and launch a new instance in the preferred fault domain. + + To get a list of fault domains, use the + :func:`list_fault_domains` operation in the + Identity and Access Management Service API. + + Example: `FAULT-DOMAIN-1` + + + :return: The fault_domain of this InstanceConfigurationLaunchInstanceDetails. + :rtype: str + """ + return self._fault_domain + + @fault_domain.setter + def fault_domain(self, fault_domain): + """ + Sets the fault_domain of this InstanceConfigurationLaunchInstanceDetails. + A fault domain is a grouping of hardware and infrastructure within an availability domain. + Each availability domain contains three fault domains. Fault domains let you distribute your + instances so that they are not on the same physical hardware within a single availability domain. + A hardware failure or Compute hardware maintenance that affects one fault domain does not affect + instances in other fault domains. + + If you do not specify the fault domain, the system selects one for you. To change the fault + domain for an instance, terminate it and launch a new instance in the preferred fault domain. + + To get a list of fault domains, use the + :func:`list_fault_domains` operation in the + Identity and Access Management Service API. + + Example: `FAULT-DOMAIN-1` + + + :param fault_domain: The fault_domain of this InstanceConfigurationLaunchInstanceDetails. + :type: str + """ + self._fault_domain = fault_domain + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/core/models/instance_configuration_summary.py b/src/oci/core/models/instance_configuration_summary.py index 33a9773478..596b43700e 100644 --- a/src/oci/core/models/instance_configuration_summary.py +++ b/src/oci/core/models/instance_configuration_summary.py @@ -169,8 +169,8 @@ def time_created(self, time_created): def defined_tags(self): """ Gets the defined_tags of this InstanceConfigurationSummary. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -186,8 +186,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this InstanceConfigurationSummary. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -204,8 +204,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this InstanceConfigurationSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -222,8 +221,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this InstanceConfigurationSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/instance_console_connection.py b/src/oci/core/models/instance_console_connection.py index ccb580fe7f..d5294034fa 100644 --- a/src/oci/core/models/instance_console_connection.py +++ b/src/oci/core/models/instance_console_connection.py @@ -168,8 +168,8 @@ def connection_string(self, connection_string): def defined_tags(self): """ Gets the defined_tags of this InstanceConsoleConnection. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -185,8 +185,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this InstanceConsoleConnection. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -227,8 +227,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this InstanceConsoleConnection. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -245,8 +244,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this InstanceConsoleConnection. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/instance_pool.py b/src/oci/core/models/instance_pool.py index ee0c540509..afd73d8694 100644 --- a/src/oci/core/models/instance_pool.py +++ b/src/oci/core/models/instance_pool.py @@ -188,8 +188,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this InstancePool. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -205,8 +205,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this InstancePool. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -247,8 +247,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this InstancePool. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -265,8 +264,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this InstancePool. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/instance_pool_summary.py b/src/oci/core/models/instance_pool_summary.py index b387799f92..84e86b6de4 100644 --- a/src/oci/core/models/instance_pool_summary.py +++ b/src/oci/core/models/instance_pool_summary.py @@ -333,8 +333,8 @@ def time_created(self, time_created): def defined_tags(self): """ Gets the defined_tags of this InstancePoolSummary. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -350,8 +350,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this InstancePoolSummary. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -368,8 +368,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this InstancePoolSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -386,8 +385,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this InstancePoolSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/internet_gateway.py b/src/oci/core/models/internet_gateway.py index bd232acc63..b480a56a8e 100644 --- a/src/oci/core/models/internet_gateway.py +++ b/src/oci/core/models/internet_gateway.py @@ -146,8 +146,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this InternetGateway. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -163,8 +163,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this InternetGateway. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -207,8 +207,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this InternetGateway. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -225,8 +224,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this InternetGateway. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/ip_sec_connection.py b/src/oci/core/models/ip_sec_connection.py index c6c02c3109..e42929a787 100644 --- a/src/oci/core/models/ip_sec_connection.py +++ b/src/oci/core/models/ip_sec_connection.py @@ -215,8 +215,8 @@ def cpe_id(self, cpe_id): def defined_tags(self): """ Gets the defined_tags of this IPSecConnection. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -232,8 +232,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this IPSecConnection. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -300,8 +300,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this IPSecConnection. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -318,8 +317,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this IPSecConnection. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -396,10 +394,15 @@ def cpe_local_identifier(self): If you don't provide a value when creating the IPSec connection, the `ipAddress` attribute for the :class:`Cpe` object specified by `cpeId` is used as the `cpeLocalIdentifier`. + For information about why you'd provide this value, see + `If Your CPE Is Behind a NAT Device`__. + Example IP address: `10.0.3.3` Example hostname: `cpe.example.com` + __ https://docs.cloud.oracle.com/Content/Network/Tasks/overviewIPsec.htm#nat + :return: The cpe_local_identifier of this IPSecConnection. :rtype: str @@ -417,10 +420,15 @@ def cpe_local_identifier(self, cpe_local_identifier): If you don't provide a value when creating the IPSec connection, the `ipAddress` attribute for the :class:`Cpe` object specified by `cpeId` is used as the `cpeLocalIdentifier`. + For information about why you'd provide this value, see + `If Your CPE Is Behind a NAT Device`__. + Example IP address: `10.0.3.3` Example hostname: `cpe.example.com` + __ https://docs.cloud.oracle.com/Content/Network/Tasks/overviewIPsec.htm#nat + :param cpe_local_identifier: The cpe_local_identifier of this IPSecConnection. :type: str diff --git a/src/oci/core/models/ip_sec_connection_tunnel_shared_secret.py b/src/oci/core/models/ip_sec_connection_tunnel_shared_secret.py index b44da68f8e..6e98843511 100644 --- a/src/oci/core/models/ip_sec_connection_tunnel_shared_secret.py +++ b/src/oci/core/models/ip_sec_connection_tunnel_shared_secret.py @@ -38,7 +38,7 @@ def shared_secret(self): **[Required]** Gets the shared_secret of this IPSecConnectionTunnelSharedSecret. The tunnel's shared secret (pre-shared key). - Example: `EXAMPLEToUis6j1c.p8G.dVQxcmdfMO0yXMLi.lZTbYCMDGu4V8o` + Example: `EXAMPLEToUis6j1cp8GdVQxcmdfMO0yXMLilZTbYCMDGu4V8o` :return: The shared_secret of this IPSecConnectionTunnelSharedSecret. @@ -52,7 +52,7 @@ def shared_secret(self, shared_secret): Sets the shared_secret of this IPSecConnectionTunnelSharedSecret. The tunnel's shared secret (pre-shared key). - Example: `EXAMPLEToUis6j1c.p8G.dVQxcmdfMO0yXMLi.lZTbYCMDGu4V8o` + Example: `EXAMPLEToUis6j1cp8GdVQxcmdfMO0yXMLilZTbYCMDGu4V8o` :param shared_secret: The shared_secret of this IPSecConnectionTunnelSharedSecret. diff --git a/src/oci/core/models/launch_instance_details.py b/src/oci/core/models/launch_instance_details.py index 6d4b6f990d..fd9d3ff1ff 100644 --- a/src/oci/core/models/launch_instance_details.py +++ b/src/oci/core/models/launch_instance_details.py @@ -227,8 +227,8 @@ def create_vnic_details(self, create_vnic_details): def defined_tags(self): """ Gets the defined_tags of this LaunchInstanceDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -244,8 +244,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this LaunchInstanceDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -370,8 +370,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this LaunchInstanceDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -388,8 +387,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this LaunchInstanceDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/local_peering_gateway.py b/src/oci/core/models/local_peering_gateway.py index 7b1112536b..4aa072eb22 100644 --- a/src/oci/core/models/local_peering_gateway.py +++ b/src/oci/core/models/local_peering_gateway.py @@ -205,8 +205,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this LocalPeeringGateway. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -222,8 +222,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this LocalPeeringGateway. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -266,8 +266,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this LocalPeeringGateway. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -284,8 +283,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this LocalPeeringGateway. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/nat_gateway.py b/src/oci/core/models/nat_gateway.py index 9d4dc745eb..e50b77a23f 100644 --- a/src/oci/core/models/nat_gateway.py +++ b/src/oci/core/models/nat_gateway.py @@ -162,8 +162,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this NatGateway. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -179,8 +179,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this NatGateway. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -223,8 +223,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this NatGateway. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -241,8 +240,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this NatGateway. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/private_ip.py b/src/oci/core/models/private_ip.py index 9ed5bdd169..1ba65fa1ba 100644 --- a/src/oci/core/models/private_ip.py +++ b/src/oci/core/models/private_ip.py @@ -200,8 +200,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this PrivateIp. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -217,8 +217,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this PrivateIp. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -261,8 +261,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this PrivateIp. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -279,8 +278,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this PrivateIp. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/public_ip.py b/src/oci/core/models/public_ip.py index b568b601c5..5d46bc2a76 100644 --- a/src/oci/core/models/public_ip.py +++ b/src/oci/core/models/public_ip.py @@ -324,8 +324,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this PublicIp. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -341,8 +341,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this PublicIp. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -385,8 +385,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this PublicIp. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -403,8 +402,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this PublicIp. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/route_table.py b/src/oci/core/models/route_table.py index c1807ef8df..77257f86fd 100644 --- a/src/oci/core/models/route_table.py +++ b/src/oci/core/models/route_table.py @@ -146,8 +146,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this RouteTable. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -163,8 +163,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this RouteTable. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -207,8 +207,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this RouteTable. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -225,8 +224,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this RouteTable. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/security_list.py b/src/oci/core/models/security_list.py index 72e00113d1..dcb2a31ec8 100644 --- a/src/oci/core/models/security_list.py +++ b/src/oci/core/models/security_list.py @@ -159,8 +159,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this SecurityList. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -176,8 +176,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this SecurityList. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -244,8 +244,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this SecurityList. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -262,8 +261,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this SecurityList. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/service_gateway.py b/src/oci/core/models/service_gateway.py index e0863f19c8..b99ce2aba7 100644 --- a/src/oci/core/models/service_gateway.py +++ b/src/oci/core/models/service_gateway.py @@ -193,8 +193,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this ServiceGateway. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -210,8 +210,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this ServiceGateway. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -254,8 +254,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this ServiceGateway. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -272,8 +271,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this ServiceGateway. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/subnet.py b/src/oci/core/models/subnet.py index 67df9941d4..6647eb19df 100644 --- a/src/oci/core/models/subnet.py +++ b/src/oci/core/models/subnet.py @@ -270,8 +270,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this Subnet. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -287,8 +287,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this Subnet. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -407,8 +407,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this Subnet. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -425,8 +424,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this Subnet. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/tunnel_config.py b/src/oci/core/models/tunnel_config.py index 5b7a846c15..f8738d1897 100644 --- a/src/oci/core/models/tunnel_config.py +++ b/src/oci/core/models/tunnel_config.py @@ -83,7 +83,7 @@ def shared_secret(self): **[Required]** Gets the shared_secret of this TunnelConfig. The shared secret of the IPSec tunnel. - Example: `EXAMPLEToUis6j1c.p8G.dVQxcmdfMO0yXMLi.lZTbYCMDGu4V8o` + Example: `EXAMPLEToUis6j1cp8GdVQxcmdfMO0yXMLilZTbYCMDGu4V8o` :return: The shared_secret of this TunnelConfig. @@ -97,7 +97,7 @@ def shared_secret(self, shared_secret): Sets the shared_secret of this TunnelConfig. The shared secret of the IPSec tunnel. - Example: `EXAMPLEToUis6j1c.p8G.dVQxcmdfMO0yXMLi.lZTbYCMDGu4V8o` + Example: `EXAMPLEToUis6j1cp8GdVQxcmdfMO0yXMLilZTbYCMDGu4V8o` :param shared_secret: The shared_secret of this TunnelConfig. diff --git a/src/oci/core/models/update_boot_volume_backup_details.py b/src/oci/core/models/update_boot_volume_backup_details.py index ae292087a8..4d87feaa14 100644 --- a/src/oci/core/models/update_boot_volume_backup_details.py +++ b/src/oci/core/models/update_boot_volume_backup_details.py @@ -50,8 +50,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateBootVolumeBackupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -67,8 +67,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateBootVolumeBackupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -111,8 +111,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateBootVolumeBackupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -129,8 +128,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateBootVolumeBackupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_boot_volume_details.py b/src/oci/core/models/update_boot_volume_details.py index f9733222e2..20eeb2d075 100644 --- a/src/oci/core/models/update_boot_volume_details.py +++ b/src/oci/core/models/update_boot_volume_details.py @@ -57,8 +57,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateBootVolumeDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -74,8 +74,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateBootVolumeDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -118,8 +118,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateBootVolumeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -136,8 +135,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateBootVolumeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_console_history_details.py b/src/oci/core/models/update_console_history_details.py index c18b00842c..5b43c4cd95 100644 --- a/src/oci/core/models/update_console_history_details.py +++ b/src/oci/core/models/update_console_history_details.py @@ -50,8 +50,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateConsoleHistoryDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -67,8 +67,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateConsoleHistoryDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -109,8 +109,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateConsoleHistoryDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -127,8 +126,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateConsoleHistoryDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_cpe_details.py b/src/oci/core/models/update_cpe_details.py index 1f2c2991f0..d9f4f4daf7 100644 --- a/src/oci/core/models/update_cpe_details.py +++ b/src/oci/core/models/update_cpe_details.py @@ -50,8 +50,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateCpeDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -67,8 +67,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateCpeDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -111,8 +111,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateCpeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -129,8 +128,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateCpeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_dhcp_details.py b/src/oci/core/models/update_dhcp_details.py index b0753f8e53..75cc570d44 100644 --- a/src/oci/core/models/update_dhcp_details.py +++ b/src/oci/core/models/update_dhcp_details.py @@ -57,8 +57,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateDhcpDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -74,8 +74,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateDhcpDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -118,8 +118,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateDhcpDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -136,8 +135,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateDhcpDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_drg_details.py b/src/oci/core/models/update_drg_details.py index 325260de06..e78cf05839 100644 --- a/src/oci/core/models/update_drg_details.py +++ b/src/oci/core/models/update_drg_details.py @@ -50,8 +50,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateDrgDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -67,8 +67,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateDrgDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -111,8 +111,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateDrgDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -129,8 +128,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateDrgDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_image_details.py b/src/oci/core/models/update_image_details.py index a61b476c48..4f77e26548 100644 --- a/src/oci/core/models/update_image_details.py +++ b/src/oci/core/models/update_image_details.py @@ -29,29 +29,43 @@ def __init__(self, **kwargs): The value to assign to the freeform_tags property of this UpdateImageDetails. :type freeform_tags: dict(str, str) + :param operating_system: + The value to assign to the operating_system property of this UpdateImageDetails. + :type operating_system: str + + :param operating_system_version: + The value to assign to the operating_system_version property of this UpdateImageDetails. + :type operating_system_version: str + """ self.swagger_types = { 'defined_tags': 'dict(str, dict(str, object))', 'display_name': 'str', - 'freeform_tags': 'dict(str, str)' + 'freeform_tags': 'dict(str, str)', + 'operating_system': 'str', + 'operating_system_version': 'str' } self.attribute_map = { 'defined_tags': 'definedTags', 'display_name': 'displayName', - 'freeform_tags': 'freeformTags' + 'freeform_tags': 'freeformTags', + 'operating_system': 'operatingSystem', + 'operating_system_version': 'operatingSystemVersion' } self._defined_tags = None self._display_name = None self._freeform_tags = None + self._operating_system = None + self._operating_system_version = None @property def defined_tags(self): """ Gets the defined_tags of this UpdateImageDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -67,8 +81,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateImageDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -115,8 +129,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateImageDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -133,8 +146,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateImageDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -146,6 +158,62 @@ def freeform_tags(self, freeform_tags): """ self._freeform_tags = freeform_tags + @property + def operating_system(self): + """ + Gets the operating_system of this UpdateImageDetails. + Operating system + + Example: `Oracle Linux` + + + :return: The operating_system of this UpdateImageDetails. + :rtype: str + """ + return self._operating_system + + @operating_system.setter + def operating_system(self, operating_system): + """ + Sets the operating_system of this UpdateImageDetails. + Operating system + + Example: `Oracle Linux` + + + :param operating_system: The operating_system of this UpdateImageDetails. + :type: str + """ + self._operating_system = operating_system + + @property + def operating_system_version(self): + """ + Gets the operating_system_version of this UpdateImageDetails. + Operating system version + + Example: `7.4` + + + :return: The operating_system_version of this UpdateImageDetails. + :rtype: str + """ + return self._operating_system_version + + @operating_system_version.setter + def operating_system_version(self, operating_system_version): + """ + Sets the operating_system_version of this UpdateImageDetails. + Operating system version + + Example: `7.4` + + + :param operating_system_version: The operating_system_version of this UpdateImageDetails. + :type: str + """ + self._operating_system_version = operating_system_version + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/core/models/update_instance_configuration_details.py b/src/oci/core/models/update_instance_configuration_details.py index 6fb734cf6f..574032b23a 100644 --- a/src/oci/core/models/update_instance_configuration_details.py +++ b/src/oci/core/models/update_instance_configuration_details.py @@ -50,8 +50,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateInstanceConfigurationDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -67,8 +67,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateInstanceConfigurationDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -115,8 +115,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateInstanceConfigurationDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -133,8 +132,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateInstanceConfigurationDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_instance_details.py b/src/oci/core/models/update_instance_details.py index 27fe8f67dd..e5ae3e6bf1 100644 --- a/src/oci/core/models/update_instance_details.py +++ b/src/oci/core/models/update_instance_details.py @@ -71,8 +71,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateInstanceDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -88,8 +88,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateInstanceDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -136,8 +136,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateInstanceDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -154,8 +153,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateInstanceDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_instance_pool_details.py b/src/oci/core/models/update_instance_pool_details.py index 0d440f9585..e0202d05c1 100644 --- a/src/oci/core/models/update_instance_pool_details.py +++ b/src/oci/core/models/update_instance_pool_details.py @@ -71,8 +71,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateInstancePoolDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -88,8 +88,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateInstancePoolDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -130,8 +130,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateInstancePoolDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -148,8 +147,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateInstancePoolDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_internet_gateway_details.py b/src/oci/core/models/update_internet_gateway_details.py index ebd7b35106..ddcd077663 100644 --- a/src/oci/core/models/update_internet_gateway_details.py +++ b/src/oci/core/models/update_internet_gateway_details.py @@ -57,8 +57,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateInternetGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -74,8 +74,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateInternetGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -118,8 +118,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateInternetGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -136,8 +135,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateInternetGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_ip_sec_connection_details.py b/src/oci/core/models/update_ip_sec_connection_details.py index f5d2c1f072..7f661ec3d0 100644 --- a/src/oci/core/models/update_ip_sec_connection_details.py +++ b/src/oci/core/models/update_ip_sec_connection_details.py @@ -80,8 +80,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateIPSecConnectionDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -97,8 +97,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateIPSecConnectionDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -141,8 +141,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateIPSecConnectionDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -159,8 +158,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateIPSecConnectionDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -180,10 +178,15 @@ def cpe_local_identifier(self): fully qualified domain name (FQDN)). The type of identifier you provide here must correspond to the value for `cpeLocalIdentifierType`. + For information about why you'd provide this value, see + `If Your CPE Is Behind a NAT Device`__. + Example IP address: `10.0.3.3` Example hostname: `cpe.example.com` + __ https://docs.cloud.oracle.com/Content/Network/Tasks/overviewIPsec.htm#nat + :return: The cpe_local_identifier of this UpdateIPSecConnectionDetails. :rtype: str @@ -198,10 +201,15 @@ def cpe_local_identifier(self, cpe_local_identifier): fully qualified domain name (FQDN)). The type of identifier you provide here must correspond to the value for `cpeLocalIdentifierType`. + For information about why you'd provide this value, see + `If Your CPE Is Behind a NAT Device`__. + Example IP address: `10.0.3.3` Example hostname: `cpe.example.com` + __ https://docs.cloud.oracle.com/Content/Network/Tasks/overviewIPsec.htm#nat + :param cpe_local_identifier: The cpe_local_identifier of this UpdateIPSecConnectionDetails. :type: str diff --git a/src/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.py b/src/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.py index 8cc82535b6..08dfc18c91 100644 --- a/src/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.py +++ b/src/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.py @@ -36,9 +36,10 @@ def __init__(self, **kwargs): def shared_secret(self): """ Gets the shared_secret of this UpdateIPSecConnectionTunnelSharedSecretDetails. - The shared secret (pre-shared key) to use for the tunnel. + The shared secret (pre-shared key) to use for the tunnel. Only numbers, letters, and spaces + are allowed. - Example: `EXAMPLEToUis6j1c.p8G.dVQxcmdfMO0yXMLi.lZTbYCMDGu4V8o` + Example: `EXAMPLEToUis6j1cp8GdVQxcmdfMO0yXMLilZTbYCMDGu4V8o` :return: The shared_secret of this UpdateIPSecConnectionTunnelSharedSecretDetails. @@ -50,9 +51,10 @@ def shared_secret(self): def shared_secret(self, shared_secret): """ Sets the shared_secret of this UpdateIPSecConnectionTunnelSharedSecretDetails. - The shared secret (pre-shared key) to use for the tunnel. + The shared secret (pre-shared key) to use for the tunnel. Only numbers, letters, and spaces + are allowed. - Example: `EXAMPLEToUis6j1c.p8G.dVQxcmdfMO0yXMLi.lZTbYCMDGu4V8o` + Example: `EXAMPLEToUis6j1cp8GdVQxcmdfMO0yXMLilZTbYCMDGu4V8o` :param shared_secret: The shared_secret of this UpdateIPSecConnectionTunnelSharedSecretDetails. diff --git a/src/oci/core/models/update_local_peering_gateway_details.py b/src/oci/core/models/update_local_peering_gateway_details.py index b94fc82c9f..475be66362 100644 --- a/src/oci/core/models/update_local_peering_gateway_details.py +++ b/src/oci/core/models/update_local_peering_gateway_details.py @@ -57,8 +57,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateLocalPeeringGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -74,8 +74,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateLocalPeeringGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -118,8 +118,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateLocalPeeringGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -136,8 +135,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateLocalPeeringGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_nat_gateway_details.py b/src/oci/core/models/update_nat_gateway_details.py index eabec9792c..84d6490117 100644 --- a/src/oci/core/models/update_nat_gateway_details.py +++ b/src/oci/core/models/update_nat_gateway_details.py @@ -57,8 +57,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateNatGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -74,8 +74,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateNatGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -118,8 +118,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateNatGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -136,8 +135,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateNatGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_private_ip_details.py b/src/oci/core/models/update_private_ip_details.py index 0444eafc94..657622ff8a 100644 --- a/src/oci/core/models/update_private_ip_details.py +++ b/src/oci/core/models/update_private_ip_details.py @@ -64,8 +64,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdatePrivateIpDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -81,8 +81,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdatePrivateIpDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -125,8 +125,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdatePrivateIpDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -143,8 +142,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdatePrivateIpDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_public_ip_details.py b/src/oci/core/models/update_public_ip_details.py index 101ecc7cfa..30a94efad5 100644 --- a/src/oci/core/models/update_public_ip_details.py +++ b/src/oci/core/models/update_public_ip_details.py @@ -57,8 +57,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdatePublicIpDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -74,8 +74,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdatePublicIpDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -118,8 +118,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdatePublicIpDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -136,8 +135,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdatePublicIpDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_route_table_details.py b/src/oci/core/models/update_route_table_details.py index b38ad97517..ec7a8c4c44 100644 --- a/src/oci/core/models/update_route_table_details.py +++ b/src/oci/core/models/update_route_table_details.py @@ -57,8 +57,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateRouteTableDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -74,8 +74,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateRouteTableDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -118,8 +118,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateRouteTableDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -136,8 +135,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateRouteTableDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_security_list_details.py b/src/oci/core/models/update_security_list_details.py index 651b76c7a4..52a4f598e3 100644 --- a/src/oci/core/models/update_security_list_details.py +++ b/src/oci/core/models/update_security_list_details.py @@ -64,8 +64,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateSecurityListDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -81,8 +81,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateSecurityListDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -149,8 +149,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateSecurityListDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -167,8 +166,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateSecurityListDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_service_gateway_details.py b/src/oci/core/models/update_service_gateway_details.py index 1d24210f44..09bede7592 100644 --- a/src/oci/core/models/update_service_gateway_details.py +++ b/src/oci/core/models/update_service_gateway_details.py @@ -94,8 +94,8 @@ def block_traffic(self, block_traffic): def defined_tags(self): """ Gets the defined_tags of this UpdateServiceGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -111,8 +111,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateServiceGatewayDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -155,8 +155,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateServiceGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -173,8 +172,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateServiceGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_subnet_details.py b/src/oci/core/models/update_subnet_details.py index c2ff958c34..dc8bf55fcf 100644 --- a/src/oci/core/models/update_subnet_details.py +++ b/src/oci/core/models/update_subnet_details.py @@ -71,8 +71,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateSubnetDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -88,8 +88,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateSubnetDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -156,8 +156,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateSubnetDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -174,8 +173,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateSubnetDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_vcn_details.py b/src/oci/core/models/update_vcn_details.py index dd3bb33105..7853db5177 100644 --- a/src/oci/core/models/update_vcn_details.py +++ b/src/oci/core/models/update_vcn_details.py @@ -50,8 +50,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateVcnDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -67,8 +67,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateVcnDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -111,8 +111,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateVcnDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -129,8 +128,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateVcnDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_vnic_details.py b/src/oci/core/models/update_vnic_details.py index e87ed85788..e10edbe569 100644 --- a/src/oci/core/models/update_vnic_details.py +++ b/src/oci/core/models/update_vnic_details.py @@ -64,8 +64,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateVnicDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -81,8 +81,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateVnicDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -123,8 +123,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateVnicDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -141,8 +140,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateVnicDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_volume_backup_details.py b/src/oci/core/models/update_volume_backup_details.py index 705e119098..91f5b12c7b 100644 --- a/src/oci/core/models/update_volume_backup_details.py +++ b/src/oci/core/models/update_volume_backup_details.py @@ -50,8 +50,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateVolumeBackupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -67,8 +67,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateVolumeBackupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -111,8 +111,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateVolumeBackupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -129,8 +128,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateVolumeBackupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_volume_details.py b/src/oci/core/models/update_volume_details.py index 37c988b448..55a6464fe4 100644 --- a/src/oci/core/models/update_volume_details.py +++ b/src/oci/core/models/update_volume_details.py @@ -57,8 +57,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateVolumeDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -74,8 +74,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateVolumeDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -118,8 +118,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateVolumeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -136,8 +135,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateVolumeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_volume_group_backup_details.py b/src/oci/core/models/update_volume_group_backup_details.py index 3cd96c7345..51349ef989 100644 --- a/src/oci/core/models/update_volume_group_backup_details.py +++ b/src/oci/core/models/update_volume_group_backup_details.py @@ -50,8 +50,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateVolumeGroupBackupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -67,8 +67,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateVolumeGroupBackupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -109,8 +109,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateVolumeGroupBackupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -127,8 +126,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateVolumeGroupBackupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/update_volume_group_details.py b/src/oci/core/models/update_volume_group_details.py index f001d78ec5..09373f8ba7 100644 --- a/src/oci/core/models/update_volume_group_details.py +++ b/src/oci/core/models/update_volume_group_details.py @@ -57,8 +57,8 @@ def __init__(self, **kwargs): def defined_tags(self): """ Gets the defined_tags of this UpdateVolumeGroupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -74,8 +74,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateVolumeGroupDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -116,8 +116,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this UpdateVolumeGroupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -134,8 +133,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateVolumeGroupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/vcn.py b/src/oci/core/models/vcn.py index be1b5ffd3b..e84f7369c6 100644 --- a/src/oci/core/models/vcn.py +++ b/src/oci/core/models/vcn.py @@ -273,8 +273,8 @@ def default_security_list_id(self, default_security_list_id): def defined_tags(self): """ Gets the defined_tags of this Vcn. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -290,8 +290,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this Vcn. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -386,8 +386,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this Vcn. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -404,8 +403,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this Vcn. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/vnic.py b/src/oci/core/models/vnic.py index 243bf71f31..e3521b76c0 100644 --- a/src/oci/core/models/vnic.py +++ b/src/oci/core/models/vnic.py @@ -225,8 +225,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this Vnic. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -242,8 +242,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this Vnic. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -286,8 +286,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this Vnic. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -304,8 +303,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this Vnic. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/volume.py b/src/oci/core/models/volume.py index f313199742..40f7dd75d6 100644 --- a/src/oci/core/models/volume.py +++ b/src/oci/core/models/volume.py @@ -217,8 +217,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this Volume. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -234,8 +234,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this Volume. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -278,8 +278,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this Volume. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -296,8 +295,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this Volume. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/volume_backup.py b/src/oci/core/models/volume_backup.py index dd58848638..2b24b6226f 100644 --- a/src/oci/core/models/volume_backup.py +++ b/src/oci/core/models/volume_backup.py @@ -230,8 +230,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this VolumeBackup. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -247,8 +247,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this VolumeBackup. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -323,8 +323,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this VolumeBackup. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -341,8 +340,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this VolumeBackup. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/volume_group.py b/src/oci/core/models/volume_group.py index 5c18cfb42d..3823dc9d51 100644 --- a/src/oci/core/models/volume_group.py +++ b/src/oci/core/models/volume_group.py @@ -196,8 +196,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this VolumeGroup. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -213,8 +213,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this VolumeGroup. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -255,8 +255,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this VolumeGroup. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -273,8 +272,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this VolumeGroup. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/models/volume_group_backup.py b/src/oci/core/models/volume_group_backup.py index b8f3005d7e..e60e5ccc43 100644 --- a/src/oci/core/models/volume_group_backup.py +++ b/src/oci/core/models/volume_group_backup.py @@ -209,8 +209,8 @@ def compartment_id(self, compartment_id): def defined_tags(self): """ Gets the defined_tags of this VolumeGroupBackup. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -226,8 +226,8 @@ def defined_tags(self): def defined_tags(self, defined_tags): """ Sets the defined_tags of this VolumeGroupBackup. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. + Defined tags for this resource. Each key is predefined and scoped to a + namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` @@ -268,8 +268,7 @@ def freeform_tags(self): """ Gets the freeform_tags of this VolumeGroupBackup. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` @@ -286,8 +285,7 @@ def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this VolumeGroupBackup. Free-form tags for this resource. Each tag is a simple key-value pair with no - predefined name, type, or namespace. For more information, see - `Resource Tags`__. + predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` diff --git a/src/oci/core/virtual_network_client.py b/src/oci/core/virtual_network_client.py index 20de87cd06..5bf1690216 100644 --- a/src/oci/core/virtual_network_client.py +++ b/src/oci/core/virtual_network_client.py @@ -3436,7 +3436,9 @@ def delete_vcn(self, vcn_id, **kwargs): :param str vcn_id: (required) - The OCID of the VCN. + The `OCID`__ of the VCN. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -5516,7 +5518,9 @@ def get_vcn(self, vcn_id, **kwargs): :param str vcn_id: (required) - The OCID of the VCN. + The `OCID`__ of the VCN. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. @@ -5763,7 +5767,9 @@ def list_cpes(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -5845,7 +5851,9 @@ def list_cross_connect_groups(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -5983,7 +5991,9 @@ def list_cross_connect_locations(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -6066,7 +6076,9 @@ def list_cross_connects(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str cross_connect_group_id: (optional) The OCID of the cross-connect group. @@ -6210,7 +6222,9 @@ def list_crossconnect_port_speed_shapes(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -6294,10 +6308,14 @@ def list_dhcp_options(self, compartment_id, vcn_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str vcn_id: (required) - The OCID of the VCN. + The `OCID`__ of the VCN. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -6436,10 +6454,14 @@ def list_drg_attachments(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str vcn_id: (optional) - The OCID of the VCN. + The `OCID`__ of the VCN. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str drg_id: (optional) The OCID of the DRG. @@ -6528,7 +6550,9 @@ def list_drgs(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -6618,7 +6642,9 @@ def list_fast_connect_provider_services(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -6798,10 +6824,14 @@ def list_internet_gateways(self, compartment_id, vcn_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str vcn_id: (required) - The OCID of the VCN. + The `OCID`__ of the VCN. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -7033,7 +7063,9 @@ def list_ip_sec_connections(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str drg_id: (optional) The OCID of the DRG. @@ -7126,10 +7158,14 @@ def list_local_peering_gateways(self, compartment_id, vcn_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str vcn_id: (required) - The OCID of the VCN. + The `OCID`__ of the VCN. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -7213,10 +7249,14 @@ def list_nat_gateways(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str vcn_id: (optional) - The OCID of the VCN. + The `OCID`__ of the VCN. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -7494,7 +7534,9 @@ def list_public_ips(self, scope, compartment_id, **kwargs): Allowed values are: "REGION", "AVAILABILITY_DOMAIN" :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -7605,7 +7647,9 @@ def list_remote_peering_connections(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str drg_id: (optional) The OCID of the DRG. @@ -7694,10 +7738,14 @@ def list_route_tables(self, compartment_id, vcn_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str vcn_id: (required) - The OCID of the VCN. + The `OCID`__ of the VCN. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -7835,10 +7883,14 @@ def list_security_lists(self, compartment_id, vcn_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str vcn_id: (required) - The OCID of the VCN. + The `OCID`__ of the VCN. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -7977,10 +8029,14 @@ def list_service_gateways(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str vcn_id: (optional) - The OCID of the VCN. + The `OCID`__ of the VCN. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -8193,10 +8249,14 @@ def list_subnets(self, compartment_id, vcn_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str vcn_id: (required) - The OCID of the VCN. + The `OCID`__ of the VCN. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -8334,7 +8394,9 @@ def list_vcns(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -8471,7 +8533,9 @@ def list_virtual_circuit_bandwidth_shapes(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -8642,7 +8706,9 @@ def list_virtual_circuits(self, compartment_id, **kwargs): :param str compartment_id: (required) - The OCID of the compartment. + The `OCID`__ of the compartment. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated @@ -10404,7 +10470,9 @@ def update_vcn(self, vcn_id, update_vcn_details, **kwargs): :param str vcn_id: (required) - The OCID of the VCN. + The `OCID`__ of the VCN. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param UpdateVcnDetails update_vcn_details: (required) Details object for updating a VCN. diff --git a/src/oci/core/virtual_network_client_composite_operations.py b/src/oci/core/virtual_network_client_composite_operations.py index 11eb932e9e..3f218ffef8 100644 --- a/src/oci/core/virtual_network_client_composite_operations.py +++ b/src/oci/core/virtual_network_client_composite_operations.py @@ -1426,7 +1426,9 @@ def delete_vcn_and_wait_for_state(self, vcn_id, wait_for_states=[], operation_kw to enter the given state(s). :param str vcn_id: (required) - The OCID of the VCN. + The `OCID`__ of the VCN. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param list[str] wait_for_states: An array of states to wait on. These should be valid values for :py:attr:`~oci.core.models.Vcn.lifecycle_state` @@ -2228,7 +2230,9 @@ def update_vcn_and_wait_for_state(self, vcn_id, update_vcn_details, wait_for_sta to enter the given state(s). :param str vcn_id: (required) - The OCID of the VCN. + The `OCID`__ of the VCN. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param UpdateVcnDetails update_vcn_details: (required) Details object for updating a VCN. diff --git a/src/oci/database/models/autonomous_database.py b/src/oci/database/models/autonomous_database.py index ea6725962e..c743816a5d 100644 --- a/src/oci/database/models/autonomous_database.py +++ b/src/oci/database/models/autonomous_database.py @@ -167,6 +167,10 @@ def __init__(self, **kwargs): The value to assign to the whitelisted_ips property of this AutonomousDatabase. :type whitelisted_ips: list[str] + :param is_auto_scaling_enabled: + The value to assign to the is_auto_scaling_enabled property of this AutonomousDatabase. + :type is_auto_scaling_enabled: bool + """ self.swagger_types = { 'id': 'str', @@ -186,7 +190,8 @@ def __init__(self, **kwargs): 'defined_tags': 'dict(str, dict(str, object))', 'db_version': 'str', 'db_workload': 'str', - 'whitelisted_ips': 'list[str]' + 'whitelisted_ips': 'list[str]', + 'is_auto_scaling_enabled': 'bool' } self.attribute_map = { @@ -207,7 +212,8 @@ def __init__(self, **kwargs): 'defined_tags': 'definedTags', 'db_version': 'dbVersion', 'db_workload': 'dbWorkload', - 'whitelisted_ips': 'whitelistedIps' + 'whitelisted_ips': 'whitelistedIps', + 'is_auto_scaling_enabled': 'isAutoScalingEnabled' } self._id = None @@ -228,6 +234,7 @@ def __init__(self, **kwargs): self._db_version = None self._db_workload = None self._whitelisted_ips = None + self._is_auto_scaling_enabled = None @property def id(self): @@ -707,6 +714,30 @@ def whitelisted_ips(self, whitelisted_ips): """ self._whitelisted_ips = whitelisted_ips + @property + def is_auto_scaling_enabled(self): + """ + Gets the is_auto_scaling_enabled of this AutonomousDatabase. + Indicates if auto scaling is enabled for the Autonomous Database CPU core count. + + + :return: The is_auto_scaling_enabled of this AutonomousDatabase. + :rtype: bool + """ + return self._is_auto_scaling_enabled + + @is_auto_scaling_enabled.setter + def is_auto_scaling_enabled(self, is_auto_scaling_enabled): + """ + Sets the is_auto_scaling_enabled of this AutonomousDatabase. + Indicates if auto scaling is enabled for the Autonomous Database CPU core count. + + + :param is_auto_scaling_enabled: The is_auto_scaling_enabled of this AutonomousDatabase. + :type: bool + """ + self._is_auto_scaling_enabled = is_auto_scaling_enabled + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/database/models/autonomous_database_summary.py b/src/oci/database/models/autonomous_database_summary.py index 31749ff8a1..acde6647e0 100644 --- a/src/oci/database/models/autonomous_database_summary.py +++ b/src/oci/database/models/autonomous_database_summary.py @@ -169,6 +169,10 @@ def __init__(self, **kwargs): The value to assign to the whitelisted_ips property of this AutonomousDatabaseSummary. :type whitelisted_ips: list[str] + :param is_auto_scaling_enabled: + The value to assign to the is_auto_scaling_enabled property of this AutonomousDatabaseSummary. + :type is_auto_scaling_enabled: bool + """ self.swagger_types = { 'id': 'str', @@ -188,7 +192,8 @@ def __init__(self, **kwargs): 'defined_tags': 'dict(str, dict(str, object))', 'db_version': 'str', 'db_workload': 'str', - 'whitelisted_ips': 'list[str]' + 'whitelisted_ips': 'list[str]', + 'is_auto_scaling_enabled': 'bool' } self.attribute_map = { @@ -209,7 +214,8 @@ def __init__(self, **kwargs): 'defined_tags': 'definedTags', 'db_version': 'dbVersion', 'db_workload': 'dbWorkload', - 'whitelisted_ips': 'whitelistedIps' + 'whitelisted_ips': 'whitelistedIps', + 'is_auto_scaling_enabled': 'isAutoScalingEnabled' } self._id = None @@ -230,6 +236,7 @@ def __init__(self, **kwargs): self._db_version = None self._db_workload = None self._whitelisted_ips = None + self._is_auto_scaling_enabled = None @property def id(self): @@ -709,6 +716,30 @@ def whitelisted_ips(self, whitelisted_ips): """ self._whitelisted_ips = whitelisted_ips + @property + def is_auto_scaling_enabled(self): + """ + Gets the is_auto_scaling_enabled of this AutonomousDatabaseSummary. + Indicates if auto scaling is enabled for the Autonomous Database CPU core count. + + + :return: The is_auto_scaling_enabled of this AutonomousDatabaseSummary. + :rtype: bool + """ + return self._is_auto_scaling_enabled + + @is_auto_scaling_enabled.setter + def is_auto_scaling_enabled(self, is_auto_scaling_enabled): + """ + Sets the is_auto_scaling_enabled of this AutonomousDatabaseSummary. + Indicates if auto scaling is enabled for the Autonomous Database CPU core count. + + + :param is_auto_scaling_enabled: The is_auto_scaling_enabled of this AutonomousDatabaseSummary. + :type: bool + """ + self._is_auto_scaling_enabled = is_auto_scaling_enabled + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/database/models/create_autonomous_database_base.py b/src/oci/database/models/create_autonomous_database_base.py index 0b4c3800ed..251c6515f7 100644 --- a/src/oci/database/models/create_autonomous_database_base.py +++ b/src/oci/database/models/create_autonomous_database_base.py @@ -82,6 +82,10 @@ def __init__(self, **kwargs): Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" :type license_model: str + :param is_auto_scaling_enabled: + The value to assign to the is_auto_scaling_enabled property of this CreateAutonomousDatabaseBase. + :type is_auto_scaling_enabled: bool + :param freeform_tags: The value to assign to the freeform_tags property of this CreateAutonomousDatabaseBase. :type freeform_tags: dict(str, str) @@ -105,6 +109,7 @@ def __init__(self, **kwargs): 'admin_password': 'str', 'display_name': 'str', 'license_model': 'str', + 'is_auto_scaling_enabled': 'bool', 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))', 'source': 'str' @@ -119,6 +124,7 @@ def __init__(self, **kwargs): 'admin_password': 'adminPassword', 'display_name': 'displayName', 'license_model': 'licenseModel', + 'is_auto_scaling_enabled': 'isAutoScalingEnabled', 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags', 'source': 'source' @@ -132,6 +138,7 @@ def __init__(self, **kwargs): self._admin_password = None self._display_name = None self._license_model = None + self._is_auto_scaling_enabled = None self._freeform_tags = None self._defined_tags = None self._source = None @@ -364,6 +371,30 @@ def license_model(self, license_model): ) self._license_model = license_model + @property + def is_auto_scaling_enabled(self): + """ + Gets the is_auto_scaling_enabled of this CreateAutonomousDatabaseBase. + Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is false. + + + :return: The is_auto_scaling_enabled of this CreateAutonomousDatabaseBase. + :rtype: bool + """ + return self._is_auto_scaling_enabled + + @is_auto_scaling_enabled.setter + def is_auto_scaling_enabled(self, is_auto_scaling_enabled): + """ + Sets the is_auto_scaling_enabled of this CreateAutonomousDatabaseBase. + Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is false. + + + :param is_auto_scaling_enabled: The is_auto_scaling_enabled of this CreateAutonomousDatabaseBase. + :type: bool + """ + self._is_auto_scaling_enabled = is_auto_scaling_enabled + @property def freeform_tags(self): """ diff --git a/src/oci/database/models/create_autonomous_database_clone_details.py b/src/oci/database/models/create_autonomous_database_clone_details.py index 911dc53b55..fd8e6b2a24 100644 --- a/src/oci/database/models/create_autonomous_database_clone_details.py +++ b/src/oci/database/models/create_autonomous_database_clone_details.py @@ -60,6 +60,10 @@ def __init__(self, **kwargs): Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" :type license_model: str + :param is_auto_scaling_enabled: + The value to assign to the is_auto_scaling_enabled property of this CreateAutonomousDatabaseCloneDetails. + :type is_auto_scaling_enabled: bool + :param freeform_tags: The value to assign to the freeform_tags property of this CreateAutonomousDatabaseCloneDetails. :type freeform_tags: dict(str, str) @@ -92,6 +96,7 @@ def __init__(self, **kwargs): 'admin_password': 'str', 'display_name': 'str', 'license_model': 'str', + 'is_auto_scaling_enabled': 'bool', 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))', 'source': 'str', @@ -108,6 +113,7 @@ def __init__(self, **kwargs): 'admin_password': 'adminPassword', 'display_name': 'displayName', 'license_model': 'licenseModel', + 'is_auto_scaling_enabled': 'isAutoScalingEnabled', 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags', 'source': 'source', @@ -123,6 +129,7 @@ def __init__(self, **kwargs): self._admin_password = None self._display_name = None self._license_model = None + self._is_auto_scaling_enabled = None self._freeform_tags = None self._defined_tags = None self._source = None diff --git a/src/oci/database/models/create_autonomous_database_details.py b/src/oci/database/models/create_autonomous_database_details.py index c693fcb88c..607b1359af 100644 --- a/src/oci/database/models/create_autonomous_database_details.py +++ b/src/oci/database/models/create_autonomous_database_details.py @@ -52,6 +52,10 @@ def __init__(self, **kwargs): Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" :type license_model: str + :param is_auto_scaling_enabled: + The value to assign to the is_auto_scaling_enabled property of this CreateAutonomousDatabaseDetails. + :type is_auto_scaling_enabled: bool + :param freeform_tags: The value to assign to the freeform_tags property of this CreateAutonomousDatabaseDetails. :type freeform_tags: dict(str, str) @@ -75,6 +79,7 @@ def __init__(self, **kwargs): 'admin_password': 'str', 'display_name': 'str', 'license_model': 'str', + 'is_auto_scaling_enabled': 'bool', 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))', 'source': 'str' @@ -89,6 +94,7 @@ def __init__(self, **kwargs): 'admin_password': 'adminPassword', 'display_name': 'displayName', 'license_model': 'licenseModel', + 'is_auto_scaling_enabled': 'isAutoScalingEnabled', 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags', 'source': 'source' @@ -102,6 +108,7 @@ def __init__(self, **kwargs): self._admin_password = None self._display_name = None self._license_model = None + self._is_auto_scaling_enabled = None self._freeform_tags = None self._defined_tags = None self._source = None diff --git a/src/oci/database/models/update_autonomous_database_details.py b/src/oci/database/models/update_autonomous_database_details.py index f2b26f8869..056b750036 100644 --- a/src/oci/database/models/update_autonomous_database_details.py +++ b/src/oci/database/models/update_autonomous_database_details.py @@ -60,6 +60,10 @@ def __init__(self, **kwargs): The value to assign to the whitelisted_ips property of this UpdateAutonomousDatabaseDetails. :type whitelisted_ips: list[str] + :param is_auto_scaling_enabled: + The value to assign to the is_auto_scaling_enabled property of this UpdateAutonomousDatabaseDetails. + :type is_auto_scaling_enabled: bool + """ self.swagger_types = { 'cpu_core_count': 'int', @@ -69,7 +73,8 @@ def __init__(self, **kwargs): 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))', 'license_model': 'str', - 'whitelisted_ips': 'list[str]' + 'whitelisted_ips': 'list[str]', + 'is_auto_scaling_enabled': 'bool' } self.attribute_map = { @@ -80,7 +85,8 @@ def __init__(self, **kwargs): 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags', 'license_model': 'licenseModel', - 'whitelisted_ips': 'whitelistedIps' + 'whitelisted_ips': 'whitelistedIps', + 'is_auto_scaling_enabled': 'isAutoScalingEnabled' } self._cpu_core_count = None @@ -91,6 +97,7 @@ def __init__(self, **kwargs): self._defined_tags = None self._license_model = None self._whitelisted_ips = None + self._is_auto_scaling_enabled = None @property def cpu_core_count(self): @@ -312,6 +319,30 @@ def whitelisted_ips(self, whitelisted_ips): """ self._whitelisted_ips = whitelisted_ips + @property + def is_auto_scaling_enabled(self): + """ + Gets the is_auto_scaling_enabled of this UpdateAutonomousDatabaseDetails. + Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is false. + + + :return: The is_auto_scaling_enabled of this UpdateAutonomousDatabaseDetails. + :rtype: bool + """ + return self._is_auto_scaling_enabled + + @is_auto_scaling_enabled.setter + def is_auto_scaling_enabled(self, is_auto_scaling_enabled): + """ + Sets the is_auto_scaling_enabled of this UpdateAutonomousDatabaseDetails. + Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is false. + + + :param is_auto_scaling_enabled: The is_auto_scaling_enabled of this UpdateAutonomousDatabaseDetails. + :type: bool + """ + self._is_auto_scaling_enabled = is_auto_scaling_enabled + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/identity/identity_client.py b/src/oci/identity/identity_client.py index 848395f446..c09ebc5d7d 100644 --- a/src/oci/identity/identity_client.py +++ b/src/oci/identity/identity_client.py @@ -2774,6 +2774,83 @@ def delete_swift_password(self, user_id, swift_password_id, **kwargs): path_params=path_params, header_params=header_params) + def delete_tag(self, tag_namespace_id, tag_name, **kwargs): + """ + DeleteTag + Deletes the the specified tag definition. + + + :param str tag_namespace_id: (required) + The OCID of the tag namespace. + + :param str tag_name: (required) + The name of the tag. + + :param str if_match: (optional) + For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + parameter to the value of the etag from a previous GET or POST response for that resource. The resource + will be updated or deleted only if the etag you provide matches the resource's current etag value. + + :param obj retry_strategy: (optional) + A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. + + This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` + is also available. The specifics of the default retry strategy are described `here `__. + + To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. + + :return: A :class:`~oci.response.Response` object with data of type None + :rtype: :class:`~oci.response.Response` + """ + resource_path = "/tagNamespaces/{tagNamespaceId}/tags/{tagName}" + method = "DELETE" + + # Don't accept unknown kwargs + expected_kwargs = [ + "retry_strategy", + "if_match" + ] + extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs] + if extra_kwargs: + raise ValueError( + "delete_tag got unknown kwargs: {!r}".format(extra_kwargs)) + + path_params = { + "tagNamespaceId": tag_namespace_id, + "tagName": tag_name + } + + path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing} + + for (k, v) in six.iteritems(path_params): + if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0): + raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k)) + + header_params = { + "accept": "application/json", + "content-type": "application/json", + "if-match": kwargs.get("if_match", missing) + } + header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None} + + retry_strategy = self.retry_strategy + if kwargs.get('retry_strategy'): + retry_strategy = kwargs.get('retry_strategy') + + if retry_strategy: + return retry_strategy.make_retrying_call( + self.base_client.call_api, + resource_path=resource_path, + method=method, + path_params=path_params, + header_params=header_params) + else: + return self.base_client.call_api( + resource_path=resource_path, + method=method, + path_params=path_params, + header_params=header_params) + def delete_tag_default(self, tag_default_id, **kwargs): """ DeleteTagDefault @@ -2853,6 +2930,86 @@ def delete_tag_default(self, tag_default_id, **kwargs): path_params=path_params, header_params=header_params) + def delete_tag_namespace(self, tag_namespace_id, **kwargs): + """ + DeleteTagNamespace + Delete the specified tag namespace. Only an empty tagnamespace can be deleted. + If the tag namespace you are trying to delete is not empty, please remove tag definitions from it first. + + + :param str tag_namespace_id: (required) + The OCID of the tag namespace. + + :param str if_match: (optional) + For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + parameter to the value of the etag from a previous GET or POST response for that resource. The resource + will be updated or deleted only if the etag you provide matches the resource's current etag value. + + :param str opc_request_id: (optional) + Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + particular request, please provide the request ID. + + :param obj retry_strategy: (optional) + A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. + + This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` + is also available. The specifics of the default retry strategy are described `here `__. + + To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. + + :return: A :class:`~oci.response.Response` object with data of type None + :rtype: :class:`~oci.response.Response` + """ + resource_path = "/tagNamespaces/{tagNamespaceId}" + method = "DELETE" + + # Don't accept unknown kwargs + expected_kwargs = [ + "retry_strategy", + "if_match", + "opc_request_id" + ] + extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs] + if extra_kwargs: + raise ValueError( + "delete_tag_namespace got unknown kwargs: {!r}".format(extra_kwargs)) + + path_params = { + "tagNamespaceId": tag_namespace_id + } + + path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing} + + for (k, v) in six.iteritems(path_params): + if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0): + raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k)) + + header_params = { + "accept": "application/json", + "content-type": "application/json", + "if-match": kwargs.get("if_match", missing), + "opc-request-id": kwargs.get("opc_request_id", missing) + } + header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None} + + retry_strategy = self.retry_strategy + if kwargs.get('retry_strategy'): + retry_strategy = kwargs.get('retry_strategy') + + if retry_strategy: + return retry_strategy.make_retrying_call( + self.base_client.call_api, + resource_path=resource_path, + method=method, + path_params=path_params, + header_params=header_params) + else: + return self.base_client.call_api( + resource_path=resource_path, + method=method, + path_params=path_params, + header_params=header_params) + def delete_user(self, user_id, **kwargs): """ DeleteUser @@ -5539,6 +5696,11 @@ def list_tag_namespaces(self, compartment_id, **kwargs): An optional boolean parameter indicating whether to retrieve all tag namespaces in subcompartments. If this parameter is not specified, only the tag namespaces defined in the specified compartment are retrieved. + :param str lifecycle_state: (optional) + A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + + Allowed values are: "ACTIVE", "INACTIVE", "DELETING", "DELETED" + :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. @@ -5558,18 +5720,27 @@ def list_tag_namespaces(self, compartment_id, **kwargs): "retry_strategy", "page", "limit", - "include_subcompartments" + "include_subcompartments", + "lifecycle_state" ] extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs] if extra_kwargs: raise ValueError( "list_tag_namespaces got unknown kwargs: {!r}".format(extra_kwargs)) + if 'lifecycle_state' in kwargs: + lifecycle_state_allowed_values = ["ACTIVE", "INACTIVE", "DELETING", "DELETED"] + if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values: + raise ValueError( + "Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values) + ) + query_params = { "compartmentId": compartment_id, "page": kwargs.get("page", missing), "limit": kwargs.get("limit", missing), - "includeSubcompartments": kwargs.get("include_subcompartments", missing) + "includeSubcompartments": kwargs.get("include_subcompartments", missing), + "lifecycleState": kwargs.get("lifecycle_state", missing) } query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None} @@ -5613,6 +5784,11 @@ def list_tags(self, tag_namespace_id, **kwargs): :param int limit: (optional) The maximum number of items to return in a paginated \"List\" call. + :param str lifecycle_state: (optional) + A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + + Allowed values are: "ACTIVE", "INACTIVE", "DELETING", "DELETED" + :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. @@ -5631,7 +5807,8 @@ def list_tags(self, tag_namespace_id, **kwargs): expected_kwargs = [ "retry_strategy", "page", - "limit" + "limit", + "lifecycle_state" ] extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs] if extra_kwargs: @@ -5648,9 +5825,17 @@ def list_tags(self, tag_namespace_id, **kwargs): if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0): raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k)) + if 'lifecycle_state' in kwargs: + lifecycle_state_allowed_values = ["ACTIVE", "INACTIVE", "DELETING", "DELETED"] + if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values: + raise ValueError( + "Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values) + ) + query_params = { "page": kwargs.get("page", missing), - "limit": kwargs.get("limit", missing) + "limit": kwargs.get("limit", missing), + "lifecycleState": kwargs.get("lifecycle_state", missing) } query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None} @@ -6993,6 +7178,11 @@ def update_tag(self, tag_namespace_id, tag_name, update_tag_details, **kwargs): :param UpdateTagDetails update_tag_details: (required) Request object for updating a tag. + :param str if_match: (optional) + For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + parameter to the value of the etag from a previous GET or POST response for that resource. The resource + will be updated or deleted only if the etag you provide matches the resource's current etag value. + :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. @@ -7007,7 +7197,11 @@ def update_tag(self, tag_namespace_id, tag_name, update_tag_details, **kwargs): resource_path = "/tagNamespaces/{tagNamespaceId}/tags/{tagName}" method = "PUT" - expected_kwargs = ["retry_strategy"] + # Don't accept unknown kwargs + expected_kwargs = [ + "retry_strategy", + "if_match" + ] extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs] if extra_kwargs: raise ValueError( @@ -7026,8 +7220,10 @@ def update_tag(self, tag_namespace_id, tag_name, update_tag_details, **kwargs): header_params = { "accept": "application/json", - "content-type": "application/json" + "content-type": "application/json", + "if-match": kwargs.get("if_match", missing) } + header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None} retry_strategy = self.retry_strategy if kwargs.get('retry_strategy'): @@ -7054,7 +7250,7 @@ def update_tag(self, tag_namespace_id, tag_name, update_tag_details, **kwargs): def update_tag_default(self, tag_default_id, update_tag_default_details, **kwargs): """ UpdateTagDefault - Updates the the specified tag default. You can update the following field: `value`. + Updates the specified tag default. You can update the following field: `value`. :param str tag_default_id: (required) diff --git a/src/oci/identity/identity_client_composite_operations.py b/src/oci/identity/identity_client_composite_operations.py index df2c0fc679..15d56d494e 100644 --- a/src/oci/identity/identity_client_composite_operations.py +++ b/src/oci/identity/identity_client_composite_operations.py @@ -329,6 +329,47 @@ def create_policy_and_wait_for_state(self, create_policy_details, wait_for_state except Exception as e: raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def create_tag_and_wait_for_state(self, tag_namespace_id, create_tag_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): + """ + Calls :py:func:`~oci.identity.IdentityClient.create_tag` and waits for the :py:class:`~oci.identity.models.Tag` acted upon + to enter the given state(s). + + :param str tag_namespace_id: (required) + The OCID of the tag namespace. + + :param CreateTagDetails create_tag_details: (required) + Request object for creating a new tag in the specified tag namespace. + + :param list[str] wait_for_states: + An array of states to wait on. These should be valid values for :py:attr:`~oci.identity.models.Tag.lifecycle_state` + + :param dict operation_kwargs: + A dictionary of keyword arguments to pass to :py:func:`~oci.identity.IdentityClient.create_tag` + + :param dict waiter_kwargs: + A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds`` + as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait + """ + operation_result = self.client.create_tag(tag_namespace_id, create_tag_details, **operation_kwargs) + if not wait_for_states: + return operation_result + + lowered_wait_for_states = [w.lower() for w in wait_for_states] + wait_for_resource_id = operation_result.data.id + + try: + waiter_result = oci.wait_until( + self.client, + self.client.get_tag(wait_for_resource_id), + evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states, + **waiter_kwargs + ) + result_to_return = waiter_result + + return result_to_return + except Exception as e: + raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def create_tag_default_and_wait_for_state(self, create_tag_default_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): """ Calls :py:func:`~oci.identity.IdentityClient.create_tag_default` and waits for the :py:class:`~oci.identity.models.TagDefault` acted upon @@ -367,6 +408,44 @@ def create_tag_default_and_wait_for_state(self, create_tag_default_details, wait except Exception as e: raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def create_tag_namespace_and_wait_for_state(self, create_tag_namespace_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): + """ + Calls :py:func:`~oci.identity.IdentityClient.create_tag_namespace` and waits for the :py:class:`~oci.identity.models.TagNamespace` acted upon + to enter the given state(s). + + :param CreateTagNamespaceDetails create_tag_namespace_details: (required) + Request object for creating a new tag namespace. + + :param list[str] wait_for_states: + An array of states to wait on. These should be valid values for :py:attr:`~oci.identity.models.TagNamespace.lifecycle_state` + + :param dict operation_kwargs: + A dictionary of keyword arguments to pass to :py:func:`~oci.identity.IdentityClient.create_tag_namespace` + + :param dict waiter_kwargs: + A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds`` + as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait + """ + operation_result = self.client.create_tag_namespace(create_tag_namespace_details, **operation_kwargs) + if not wait_for_states: + return operation_result + + lowered_wait_for_states = [w.lower() for w in wait_for_states] + wait_for_resource_id = operation_result.data.id + + try: + waiter_result = oci.wait_until( + self.client, + self.client.get_tag_namespace(wait_for_resource_id), + evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states, + **waiter_kwargs + ) + result_to_return = waiter_result + + return result_to_return + except Exception as e: + raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def create_user_and_wait_for_state(self, create_user_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): """ Calls :py:func:`~oci.identity.IdentityClient.create_user` and waits for the :py:class:`~oci.identity.models.User` acted upon @@ -639,6 +718,55 @@ def delete_policy_and_wait_for_state(self, policy_id, wait_for_states=[], operat except Exception as e: raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def delete_tag_and_wait_for_state(self, tag_namespace_id, tag_name, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): + """ + Calls :py:func:`~oci.identity.IdentityClient.delete_tag` and waits for the :py:class:`~oci.identity.models.WorkRequest` + to enter the given state(s). + + :param str tag_namespace_id: (required) + The OCID of the tag namespace. + + :param str tag_name: (required) + The name of the tag. + + :param list[str] wait_for_states: + An array of states to wait on. These should be valid values for :py:attr:`~oci.identity.models.WorkRequest.status` + + :param dict operation_kwargs: + A dictionary of keyword arguments to pass to :py:func:`~oci.identity.IdentityClient.delete_tag` + + :param dict waiter_kwargs: + A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds`` + as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait + """ + operation_result = None + try: + operation_result = self.client.delete_tag(tag_namespace_id, tag_name, **operation_kwargs) + except oci.exceptions.ServiceError as e: + if e.status == 404: + return WAIT_RESOURCE_NOT_FOUND + else: + raise e + + if not wait_for_states: + return operation_result + + lowered_wait_for_states = [w.lower() for w in wait_for_states] + wait_for_resource_id = operation_result.headers['opc-work-request-id'] + + try: + waiter_result = oci.wait_until( + self.client, + self.client.get_work_request(wait_for_resource_id), + evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states, + **waiter_kwargs + ) + result_to_return = waiter_result + + return result_to_return + except Exception as e: + raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def delete_tag_default_and_wait_for_state(self, tag_default_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): """ Calls :py:func:`~oci.identity.IdentityClient.delete_tag_default` and waits for the :py:class:`~oci.identity.models.TagDefault` acted upon @@ -686,6 +814,53 @@ def delete_tag_default_and_wait_for_state(self, tag_default_id, wait_for_states= except Exception as e: raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def delete_tag_namespace_and_wait_for_state(self, tag_namespace_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): + """ + Calls :py:func:`~oci.identity.IdentityClient.delete_tag_namespace` and waits for the :py:class:`~oci.identity.models.TagNamespace` acted upon + to enter the given state(s). + + :param str tag_namespace_id: (required) + The OCID of the tag namespace. + + :param list[str] wait_for_states: + An array of states to wait on. These should be valid values for :py:attr:`~oci.identity.models.TagNamespace.lifecycle_state` + + :param dict operation_kwargs: + A dictionary of keyword arguments to pass to :py:func:`~oci.identity.IdentityClient.delete_tag_namespace` + + :param dict waiter_kwargs: + A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds`` + as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait + """ + initial_get_result = self.client.get_tag_namespace(tag_namespace_id) + operation_result = None + try: + operation_result = self.client.delete_tag_namespace(tag_namespace_id, **operation_kwargs) + except oci.exceptions.ServiceError as e: + if e.status == 404: + return WAIT_RESOURCE_NOT_FOUND + else: + raise e + + if not wait_for_states: + return operation_result + + lowered_wait_for_states = [w.lower() for w in wait_for_states] + + try: + waiter_result = oci.wait_until( + self.client, + initial_get_result, + evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states, + succeed_on_not_found=True, + **waiter_kwargs + ) + result_to_return = waiter_result + + return result_to_return + except Exception as e: + raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def delete_user_and_wait_for_state(self, user_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): """ Calls :py:func:`~oci.identity.IdentityClient.delete_user` and waits for the :py:class:`~oci.identity.models.User` acted upon @@ -1023,6 +1198,50 @@ def update_policy_and_wait_for_state(self, policy_id, update_policy_details, wai except Exception as e: raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def update_tag_and_wait_for_state(self, tag_namespace_id, tag_name, update_tag_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): + """ + Calls :py:func:`~oci.identity.IdentityClient.update_tag` and waits for the :py:class:`~oci.identity.models.Tag` acted upon + to enter the given state(s). + + :param str tag_namespace_id: (required) + The OCID of the tag namespace. + + :param str tag_name: (required) + The name of the tag. + + :param UpdateTagDetails update_tag_details: (required) + Request object for updating a tag. + + :param list[str] wait_for_states: + An array of states to wait on. These should be valid values for :py:attr:`~oci.identity.models.Tag.lifecycle_state` + + :param dict operation_kwargs: + A dictionary of keyword arguments to pass to :py:func:`~oci.identity.IdentityClient.update_tag` + + :param dict waiter_kwargs: + A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds`` + as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait + """ + operation_result = self.client.update_tag(tag_namespace_id, tag_name, update_tag_details, **operation_kwargs) + if not wait_for_states: + return operation_result + + lowered_wait_for_states = [w.lower() for w in wait_for_states] + wait_for_resource_id = operation_result.data.id + + try: + waiter_result = oci.wait_until( + self.client, + self.client.get_tag(wait_for_resource_id), + evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states, + **waiter_kwargs + ) + result_to_return = waiter_result + + return result_to_return + except Exception as e: + raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def update_tag_default_and_wait_for_state(self, tag_default_id, update_tag_default_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): """ Calls :py:func:`~oci.identity.IdentityClient.update_tag_default` and waits for the :py:class:`~oci.identity.models.TagDefault` acted upon @@ -1064,6 +1283,47 @@ def update_tag_default_and_wait_for_state(self, tag_default_id, update_tag_defau except Exception as e: raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def update_tag_namespace_and_wait_for_state(self, tag_namespace_id, update_tag_namespace_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): + """ + Calls :py:func:`~oci.identity.IdentityClient.update_tag_namespace` and waits for the :py:class:`~oci.identity.models.TagNamespace` acted upon + to enter the given state(s). + + :param str tag_namespace_id: (required) + The OCID of the tag namespace. + + :param UpdateTagNamespaceDetails update_tag_namespace_details: (required) + Request object for updating a namespace. + + :param list[str] wait_for_states: + An array of states to wait on. These should be valid values for :py:attr:`~oci.identity.models.TagNamespace.lifecycle_state` + + :param dict operation_kwargs: + A dictionary of keyword arguments to pass to :py:func:`~oci.identity.IdentityClient.update_tag_namespace` + + :param dict waiter_kwargs: + A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds`` + as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait + """ + operation_result = self.client.update_tag_namespace(tag_namespace_id, update_tag_namespace_details, **operation_kwargs) + if not wait_for_states: + return operation_result + + lowered_wait_for_states = [w.lower() for w in wait_for_states] + wait_for_resource_id = operation_result.data.id + + try: + waiter_result = oci.wait_until( + self.client, + self.client.get_tag_namespace(wait_for_resource_id), + evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states, + **waiter_kwargs + ) + result_to_return = waiter_result + + return result_to_return + except Exception as e: + raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def update_user_and_wait_for_state(self, user_id, update_user_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): """ Calls :py:func:`~oci.identity.IdentityClient.update_user` and waits for the :py:class:`~oci.identity.models.User` acted upon diff --git a/src/oci/identity/models/tag.py b/src/oci/identity/models/tag.py index e9aa3a350c..a04bf6ee66 100644 --- a/src/oci/identity/models/tag.py +++ b/src/oci/identity/models/tag.py @@ -16,6 +16,22 @@ class Tag(object): __ https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm """ + #: A constant which can be used with the lifecycle_state property of a Tag. + #: This constant has a value of "ACTIVE" + LIFECYCLE_STATE_ACTIVE = "ACTIVE" + + #: A constant which can be used with the lifecycle_state property of a Tag. + #: This constant has a value of "INACTIVE" + LIFECYCLE_STATE_INACTIVE = "INACTIVE" + + #: A constant which can be used with the lifecycle_state property of a Tag. + #: This constant has a value of "DELETING" + LIFECYCLE_STATE_DELETING = "DELETING" + + #: A constant which can be used with the lifecycle_state property of a Tag. + #: This constant has a value of "DELETED" + LIFECYCLE_STATE_DELETED = "DELETED" + def __init__(self, **kwargs): """ Initializes a new Tag object with values from keyword arguments. @@ -57,6 +73,12 @@ def __init__(self, **kwargs): The value to assign to the is_retired property of this Tag. :type is_retired: bool + :param lifecycle_state: + The value to assign to the lifecycle_state property of this Tag. + Allowed values for this property are: "ACTIVE", "INACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type lifecycle_state: str + :param time_created: The value to assign to the time_created property of this Tag. :type time_created: datetime @@ -76,6 +98,7 @@ def __init__(self, **kwargs): 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))', 'is_retired': 'bool', + 'lifecycle_state': 'str', 'time_created': 'datetime', 'is_cost_tracking': 'bool' } @@ -90,6 +113,7 @@ def __init__(self, **kwargs): 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags', 'is_retired': 'isRetired', + 'lifecycle_state': 'lifecycleState', 'time_created': 'timeCreated', 'is_cost_tracking': 'isCostTracking' } @@ -103,6 +127,7 @@ def __init__(self, **kwargs): self._freeform_tags = None self._defined_tags = None self._is_retired = None + self._lifecycle_state = None self._time_created = None self._is_cost_tracking = None @@ -344,6 +369,36 @@ def is_retired(self, is_retired): """ self._is_retired = is_retired + @property + def lifecycle_state(self): + """ + Gets the lifecycle_state of this Tag. + The tag's current state. After creating a tag, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tag, make sure its `lifecycleState` is INACTIVE before using it. + + Allowed values for this property are: "ACTIVE", "INACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The lifecycle_state of this Tag. + :rtype: str + """ + return self._lifecycle_state + + @lifecycle_state.setter + def lifecycle_state(self, lifecycle_state): + """ + Sets the lifecycle_state of this Tag. + The tag's current state. After creating a tag, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tag, make sure its `lifecycleState` is INACTIVE before using it. + + + :param lifecycle_state: The lifecycle_state of this Tag. + :type: str + """ + allowed_values = ["ACTIVE", "INACTIVE", "DELETING", "DELETED"] + if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): + lifecycle_state = 'UNKNOWN_ENUM_VALUE' + self._lifecycle_state = lifecycle_state + @property def time_created(self): """ diff --git a/src/oci/identity/models/tag_namespace.py b/src/oci/identity/models/tag_namespace.py index 1dbbaab6cd..fdcb9dd9af 100644 --- a/src/oci/identity/models/tag_namespace.py +++ b/src/oci/identity/models/tag_namespace.py @@ -15,6 +15,22 @@ class TagNamespace(object): __ https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm """ + #: A constant which can be used with the lifecycle_state property of a TagNamespace. + #: This constant has a value of "ACTIVE" + LIFECYCLE_STATE_ACTIVE = "ACTIVE" + + #: A constant which can be used with the lifecycle_state property of a TagNamespace. + #: This constant has a value of "INACTIVE" + LIFECYCLE_STATE_INACTIVE = "INACTIVE" + + #: A constant which can be used with the lifecycle_state property of a TagNamespace. + #: This constant has a value of "DELETING" + LIFECYCLE_STATE_DELETING = "DELETING" + + #: A constant which can be used with the lifecycle_state property of a TagNamespace. + #: This constant has a value of "DELETED" + LIFECYCLE_STATE_DELETED = "DELETED" + def __init__(self, **kwargs): """ Initializes a new TagNamespace object with values from keyword arguments. @@ -48,6 +64,12 @@ def __init__(self, **kwargs): The value to assign to the is_retired property of this TagNamespace. :type is_retired: bool + :param lifecycle_state: + The value to assign to the lifecycle_state property of this TagNamespace. + Allowed values for this property are: "ACTIVE", "INACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type lifecycle_state: str + :param time_created: The value to assign to the time_created property of this TagNamespace. :type time_created: datetime @@ -61,6 +83,7 @@ def __init__(self, **kwargs): 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))', 'is_retired': 'bool', + 'lifecycle_state': 'str', 'time_created': 'datetime' } @@ -72,6 +95,7 @@ def __init__(self, **kwargs): 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags', 'is_retired': 'isRetired', + 'lifecycle_state': 'lifecycleState', 'time_created': 'timeCreated' } @@ -82,6 +106,7 @@ def __init__(self, **kwargs): self._freeform_tags = None self._defined_tags = None self._is_retired = None + self._lifecycle_state = None self._time_created = None @property @@ -274,6 +299,36 @@ def is_retired(self, is_retired): """ self._is_retired = is_retired + @property + def lifecycle_state(self): + """ + Gets the lifecycle_state of this TagNamespace. + The tagnamespace's current state. After creating a tagnamespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tagnamespace, make sure its `lifecycleState` is INACTIVE before using it. + + Allowed values for this property are: "ACTIVE", "INACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The lifecycle_state of this TagNamespace. + :rtype: str + """ + return self._lifecycle_state + + @lifecycle_state.setter + def lifecycle_state(self, lifecycle_state): + """ + Sets the lifecycle_state of this TagNamespace. + The tagnamespace's current state. After creating a tagnamespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tagnamespace, make sure its `lifecycleState` is INACTIVE before using it. + + + :param lifecycle_state: The lifecycle_state of this TagNamespace. + :type: str + """ + allowed_values = ["ACTIVE", "INACTIVE", "DELETING", "DELETED"] + if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): + lifecycle_state = 'UNKNOWN_ENUM_VALUE' + self._lifecycle_state = lifecycle_state + @property def time_created(self): """ diff --git a/src/oci/identity/models/tag_namespace_summary.py b/src/oci/identity/models/tag_namespace_summary.py index d635e1f91c..f95423c460 100644 --- a/src/oci/identity/models/tag_namespace_summary.py +++ b/src/oci/identity/models/tag_namespace_summary.py @@ -45,6 +45,10 @@ def __init__(self, **kwargs): The value to assign to the is_retired property of this TagNamespaceSummary. :type is_retired: bool + :param lifecycle_state: + The value to assign to the lifecycle_state property of this TagNamespaceSummary. + :type lifecycle_state: str + :param time_created: The value to assign to the time_created property of this TagNamespaceSummary. :type time_created: datetime @@ -58,6 +62,7 @@ def __init__(self, **kwargs): 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))', 'is_retired': 'bool', + 'lifecycle_state': 'str', 'time_created': 'datetime' } @@ -69,6 +74,7 @@ def __init__(self, **kwargs): 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags', 'is_retired': 'isRetired', + 'lifecycle_state': 'lifecycleState', 'time_created': 'timeCreated' } @@ -79,6 +85,7 @@ def __init__(self, **kwargs): self._freeform_tags = None self._defined_tags = None self._is_retired = None + self._lifecycle_state = None self._time_created = None @property @@ -271,6 +278,30 @@ def is_retired(self, is_retired): """ self._is_retired = is_retired + @property + def lifecycle_state(self): + """ + Gets the lifecycle_state of this TagNamespaceSummary. + The tagnamespace's current state. After creating a tagnamespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tagnamespace, make sure its `lifecycleState` is INACTIVE before using it. + + + :return: The lifecycle_state of this TagNamespaceSummary. + :rtype: str + """ + return self._lifecycle_state + + @lifecycle_state.setter + def lifecycle_state(self, lifecycle_state): + """ + Sets the lifecycle_state of this TagNamespaceSummary. + The tagnamespace's current state. After creating a tagnamespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tagnamespace, make sure its `lifecycleState` is INACTIVE before using it. + + + :param lifecycle_state: The lifecycle_state of this TagNamespaceSummary. + :type: str + """ + self._lifecycle_state = lifecycle_state + @property def time_created(self): """ diff --git a/src/oci/identity/models/tag_summary.py b/src/oci/identity/models/tag_summary.py index cb803e6412..21a2b11da4 100644 --- a/src/oci/identity/models/tag_summary.py +++ b/src/oci/identity/models/tag_summary.py @@ -45,6 +45,10 @@ def __init__(self, **kwargs): The value to assign to the is_retired property of this TagSummary. :type is_retired: bool + :param lifecycle_state: + The value to assign to the lifecycle_state property of this TagSummary. + :type lifecycle_state: str + :param time_created: The value to assign to the time_created property of this TagSummary. :type time_created: datetime @@ -62,6 +66,7 @@ def __init__(self, **kwargs): 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))', 'is_retired': 'bool', + 'lifecycle_state': 'str', 'time_created': 'datetime', 'is_cost_tracking': 'bool' } @@ -74,6 +79,7 @@ def __init__(self, **kwargs): 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags', 'is_retired': 'isRetired', + 'lifecycle_state': 'lifecycleState', 'time_created': 'timeCreated', 'is_cost_tracking': 'isCostTracking' } @@ -85,6 +91,7 @@ def __init__(self, **kwargs): self._freeform_tags = None self._defined_tags = None self._is_retired = None + self._lifecycle_state = None self._time_created = None self._is_cost_tracking = None @@ -278,6 +285,30 @@ def is_retired(self, is_retired): """ self._is_retired = is_retired + @property + def lifecycle_state(self): + """ + Gets the lifecycle_state of this TagSummary. + The tag's current state. After creating a tag, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tag, make sure its `lifecycleState` is INACTIVE before using it. + + + :return: The lifecycle_state of this TagSummary. + :rtype: str + """ + return self._lifecycle_state + + @lifecycle_state.setter + def lifecycle_state(self, lifecycle_state): + """ + Sets the lifecycle_state of this TagSummary. + The tag's current state. After creating a tag, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tag, make sure its `lifecycleState` is INACTIVE before using it. + + + :param lifecycle_state: The lifecycle_state of this TagSummary. + :type: str + """ + self._lifecycle_state = lifecycle_state + @property def time_created(self): """ diff --git a/src/oci/identity/models/work_request.py b/src/oci/identity/models/work_request.py index 53093bc968..c9a44c3d05 100644 --- a/src/oci/identity/models/work_request.py +++ b/src/oci/identity/models/work_request.py @@ -17,6 +17,10 @@ class WorkRequest(object): #: This constant has a value of "DELETE_COMPARTMENT" OPERATION_TYPE_DELETE_COMPARTMENT = "DELETE_COMPARTMENT" + #: A constant which can be used with the operation_type property of a WorkRequest. + #: This constant has a value of "DELETE_TAG_DEFINITION" + OPERATION_TYPE_DELETE_TAG_DEFINITION = "DELETE_TAG_DEFINITION" + #: A constant which can be used with the status property of a WorkRequest. #: This constant has a value of "ACCEPTED" STATUS_ACCEPTED = "ACCEPTED" @@ -52,7 +56,7 @@ def __init__(self, **kwargs): :param operation_type: The value to assign to the operation_type property of this WorkRequest. - Allowed values for this property are: "DELETE_COMPARTMENT", 'UNKNOWN_ENUM_VALUE'. + Allowed values for this property are: "DELETE_COMPARTMENT", "DELETE_TAG_DEFINITION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operation_type: str @@ -165,7 +169,7 @@ def operation_type(self): **[Required]** Gets the operation_type of this WorkRequest. An enum-like description of the type of work the work request is doing. - Allowed values for this property are: "DELETE_COMPARTMENT", 'UNKNOWN_ENUM_VALUE'. + Allowed values for this property are: "DELETE_COMPARTMENT", "DELETE_TAG_DEFINITION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. @@ -184,7 +188,7 @@ def operation_type(self, operation_type): :param operation_type: The operation_type of this WorkRequest. :type: str """ - allowed_values = ["DELETE_COMPARTMENT"] + allowed_values = ["DELETE_COMPARTMENT", "DELETE_TAG_DEFINITION"] if not value_allowed_none_or_none_sentinel(operation_type, allowed_values): operation_type = 'UNKNOWN_ENUM_VALUE' self._operation_type = operation_type diff --git a/src/oci/identity/models/work_request_summary.py b/src/oci/identity/models/work_request_summary.py index 06cece8962..a895f5a191 100644 --- a/src/oci/identity/models/work_request_summary.py +++ b/src/oci/identity/models/work_request_summary.py @@ -16,6 +16,10 @@ class WorkRequestSummary(object): #: This constant has a value of "DELETE_COMPARTMENT" OPERATION_TYPE_DELETE_COMPARTMENT = "DELETE_COMPARTMENT" + #: A constant which can be used with the operation_type property of a WorkRequestSummary. + #: This constant has a value of "DELETE_TAG_DEFINITION" + OPERATION_TYPE_DELETE_TAG_DEFINITION = "DELETE_TAG_DEFINITION" + #: A constant which can be used with the status property of a WorkRequestSummary. #: This constant has a value of "ACCEPTED" STATUS_ACCEPTED = "ACCEPTED" @@ -51,7 +55,7 @@ def __init__(self, **kwargs): :param operation_type: The value to assign to the operation_type property of this WorkRequestSummary. - Allowed values for this property are: "DELETE_COMPARTMENT", 'UNKNOWN_ENUM_VALUE'. + Allowed values for this property are: "DELETE_COMPARTMENT", "DELETE_TAG_DEFINITION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operation_type: str @@ -157,7 +161,7 @@ def operation_type(self): **[Required]** Gets the operation_type of this WorkRequestSummary. An enum-like description of the type of work the work request is doing. - Allowed values for this property are: "DELETE_COMPARTMENT", 'UNKNOWN_ENUM_VALUE'. + Allowed values for this property are: "DELETE_COMPARTMENT", "DELETE_TAG_DEFINITION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. @@ -176,7 +180,7 @@ def operation_type(self, operation_type): :param operation_type: The operation_type of this WorkRequestSummary. :type: str """ - allowed_values = ["DELETE_COMPARTMENT"] + allowed_values = ["DELETE_COMPARTMENT", "DELETE_TAG_DEFINITION"] if not value_allowed_none_or_none_sentinel(operation_type, allowed_values): operation_type = 'UNKNOWN_ENUM_VALUE' self._operation_type = operation_type diff --git a/src/oci/load_balancer/load_balancer_client.py b/src/oci/load_balancer/load_balancer_client.py index 897802b0f9..539c4c3fe0 100644 --- a/src/oci/load_balancer/load_balancer_client.py +++ b/src/oci/load_balancer/load_balancer_client.py @@ -75,7 +75,7 @@ def __init__(self, config, **kwargs): 'service_endpoint': kwargs.get('service_endpoint'), 'timeout': kwargs.get('timeout'), 'base_path': '/20170115', - 'service_endpoint_template': 'https://iaas.{region}.oraclecloud.com', + 'service_endpoint_template': 'https://iaas.{region}.{secondLevelDomain}', 'skip_deserialization': kwargs.get('skip_deserialization', False) } self.base_client = BaseClient("load_balancer", config, signer, load_balancer_type_mapping, **base_client_init_kwargs) diff --git a/src/oci/load_balancer/models/session_persistence_configuration_details.py b/src/oci/load_balancer/models/session_persistence_configuration_details.py index 00b9c0e56b..e2cd6d5a8d 100644 --- a/src/oci/load_balancer/models/session_persistence_configuration_details.py +++ b/src/oci/load_balancer/models/session_persistence_configuration_details.py @@ -13,6 +13,7 @@ class SessionPersistenceConfigurationDetails(object): Service to direct any number of requests that originate from a single logical client to a single backend web server. For more information, see `Session Persistence`__. + To disable session persistence on a running load balancer, use the :func:`update_backend_set` operation and specify \"null\" for the `SessionPersistenceConfigurationDetails` object. diff --git a/src/oci/version.py b/src/oci/version.py index 6c688f9e15..92fcbe4967 100644 --- a/src/oci/version.py +++ b/src/oci/version.py @@ -1,4 +1,4 @@ # coding: utf-8 # Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. -__version__ = "2.2.11" +__version__ = "2.2.12"