From 359988cee73a638cda572db241ecc367d373ddd4 Mon Sep 17 00:00:00 2001 From: dshelbyo Date: Mon, 14 Jan 2019 19:08:49 +0000 Subject: [PATCH] Releasing version 2.1.4 --- CHANGELOG.rst | 11 +- docs/api/core.rst | 1 + .../core/models/oci.core.models.Device.rst | 11 + docs/api/load_balancer.rst | 11 + ...lancer.models.AddHttpRequestHeaderRule.rst | 11 + ...ancer.models.AddHttpResponseHeaderRule.rst | 11 + ...d_balancer.models.CreateRuleSetDetails.rst | 11 + ...odels.ExtendHttpRequestHeaderValueRule.rst | 11 + ...dels.ExtendHttpResponseHeaderValueRule.rst | 11 + ...cer.models.RemoveHttpRequestHeaderRule.rst | 11 + ...er.models.RemoveHttpResponseHeaderRule.rst | 11 + .../models/oci.load_balancer.models.Rule.rst | 11 + .../oci.load_balancer.models.RuleSet.rst | 11 + ...ci.load_balancer.models.RuleSetDetails.rst | 11 + ...d_balancer.models.UpdateRuleSetDetails.rst | 11 + examples/composite_operations_example.py | 2 +- examples/container_engine.py | 2 +- examples/dns_service_example.py | 2 +- examples/email_service_example.py | 2 +- examples/file_storage_example.py | 2 +- ..._all_instance_ip_addresses_and_dns_info.py | 2 +- examples/instance_principals_examples.py | 2 +- examples/launch_db_system_example.py | 2 +- examples/launch_instance_example.py | 2 +- ...nstance_pv_encryption_intransit_example.py | 2 +- .../load_balancer_path_route_sets_example.py | 2 +- examples/multipart_object_upload.py | 2 +- examples/object_crud.py | 2 +- examples/object_storage_archive_example.py | 2 +- .../object_storage_bucket_tagging_example.py | 2 +- examples/pagination.py | 2 +- examples/parallel_upload_to_object_storage.py | 2 +- examples/raw_request.py | 2 +- examples/remote_peering_connection_example.py | 2 +- examples/reserved_public_ip_example.py | 2 +- examples/retries.py | 2 +- examples/retrieve_audit_events.py | 2 +- examples/search_example.py | 2 +- examples/tagging.py | 2 +- examples/user_crud.py | 2 +- examples/volume_attachment_example.py | 2 +- ...achment_pv_encryption_intransit_example.py | 2 +- examples/volume_backup_policy_example.py | 2 +- examples/wait_for_resource_in_state.py | 2 +- scripts/wercker_validate.py | 2 +- src/oci/__init__.py | 2 +- src/oci/_vendor/chardet/__init__.py | 2 +- src/oci/_vendor/chardet/big5freq.py | 2 +- src/oci/_vendor/chardet/big5prober.py | 2 +- src/oci/_vendor/chardet/chardistribution.py | 2 +- src/oci/_vendor/chardet/charsetgroupprober.py | 2 +- src/oci/_vendor/chardet/charsetprober.py | 2 +- src/oci/_vendor/chardet/codingstatemachine.py | 2 +- src/oci/_vendor/chardet/compat.py | 2 +- src/oci/_vendor/chardet/cp949prober.py | 2 +- src/oci/_vendor/chardet/enums.py | 2 +- src/oci/_vendor/chardet/escprober.py | 2 +- src/oci/_vendor/chardet/escsm.py | 2 +- src/oci/_vendor/chardet/eucjpprober.py | 2 +- src/oci/_vendor/chardet/euckrfreq.py | 2 +- src/oci/_vendor/chardet/euckrprober.py | 2 +- src/oci/_vendor/chardet/euctwfreq.py | 2 +- src/oci/_vendor/chardet/euctwprober.py | 2 +- src/oci/_vendor/chardet/gb2312freq.py | 2 +- src/oci/_vendor/chardet/gb2312prober.py | 2 +- src/oci/_vendor/chardet/hebrewprober.py | 2 +- src/oci/_vendor/chardet/jisfreq.py | 2 +- src/oci/_vendor/chardet/jpcntx.py | 2 +- src/oci/_vendor/chardet/langbulgarianmodel.py | 2 +- src/oci/_vendor/chardet/langcyrillicmodel.py | 2 +- src/oci/_vendor/chardet/langgreekmodel.py | 2 +- src/oci/_vendor/chardet/langhebrewmodel.py | 2 +- src/oci/_vendor/chardet/langhungarianmodel.py | 2 +- src/oci/_vendor/chardet/langthaimodel.py | 2 +- src/oci/_vendor/chardet/langturkishmodel.py | 2 +- src/oci/_vendor/chardet/latin1prober.py | 2 +- src/oci/_vendor/chardet/mbcharsetprober.py | 2 +- src/oci/_vendor/chardet/mbcsgroupprober.py | 2 +- src/oci/_vendor/chardet/mbcssm.py | 2 +- src/oci/_vendor/chardet/sbcharsetprober.py | 2 +- src/oci/_vendor/chardet/sbcsgroupprober.py | 2 +- src/oci/_vendor/chardet/sjisprober.py | 2 +- src/oci/_vendor/chardet/universaldetector.py | 2 +- src/oci/_vendor/chardet/utf8prober.py | 2 +- src/oci/_vendor/chardet/version.py | 2 +- src/oci/_vendor/httpsig_cffi/__init__.py | 2 +- src/oci/_vendor/httpsig_cffi/requests_auth.py | 2 +- src/oci/_vendor/httpsig_cffi/sign.py | 2 +- src/oci/_vendor/httpsig_cffi/utils.py | 2 +- src/oci/_vendor/httpsig_cffi/verify.py | 2 +- src/oci/_vendor/idna/__init__.py | 2 +- src/oci/_vendor/idna/codec.py | 2 +- src/oci/_vendor/idna/compat.py | 2 +- src/oci/_vendor/idna/core.py | 2 +- src/oci/_vendor/idna/idnadata.py | 2 +- src/oci/_vendor/idna/intranges.py | 2 +- src/oci/_vendor/idna/package_data.py | 2 +- src/oci/_vendor/idna/uts46data.py | 2 +- src/oci/_vendor/jwt/__init__.py | 2 +- src/oci/_vendor/jwt/__main__.py | 2 +- src/oci/_vendor/jwt/algorithms.py | 2 +- src/oci/_vendor/jwt/api_jws.py | 2 +- src/oci/_vendor/jwt/api_jwt.py | 2 +- src/oci/_vendor/jwt/compat.py | 2 +- src/oci/_vendor/jwt/exceptions.py | 2 +- src/oci/_vendor/jwt/utils.py | 2 +- src/oci/_vendor/requests/__init__.py | 2 +- src/oci/_vendor/requests/__version__.py | 2 +- src/oci/_vendor/requests/_internal_utils.py | 2 +- src/oci/_vendor/requests/adapters.py | 2 +- src/oci/_vendor/requests/api.py | 2 +- src/oci/_vendor/requests/auth.py | 2 +- src/oci/_vendor/requests/certs.py | 2 +- src/oci/_vendor/requests/compat.py | 2 +- src/oci/_vendor/requests/cookies.py | 2 +- src/oci/_vendor/requests/exceptions.py | 2 +- src/oci/_vendor/requests/help.py | 2 +- src/oci/_vendor/requests/hooks.py | 2 +- src/oci/_vendor/requests/models.py | 2 +- src/oci/_vendor/requests/packages.py | 2 +- src/oci/_vendor/requests/sessions.py | 2 +- src/oci/_vendor/requests/status_codes.py | 2 +- src/oci/_vendor/requests/structures.py | 2 +- src/oci/_vendor/requests/utils.py | 2 +- src/oci/_vendor/urllib3/__init__.py | 2 +- src/oci/_vendor/urllib3/_collections.py | 2 +- src/oci/_vendor/urllib3/connection.py | 2 +- src/oci/_vendor/urllib3/connectionpool.py | 2 +- src/oci/_vendor/urllib3/contrib/__init__.py | 2 +- .../contrib/_securetransport/__init__.py | 2 +- .../contrib/_securetransport/bindings.py | 2 +- .../contrib/_securetransport/low_level.py | 2 +- src/oci/_vendor/urllib3/contrib/appengine.py | 2 +- src/oci/_vendor/urllib3/contrib/ntlmpool.py | 2 +- src/oci/_vendor/urllib3/contrib/pyopenssl.py | 2 +- .../urllib3/contrib/securetransport.py | 2 +- src/oci/_vendor/urllib3/contrib/socks.py | 2 +- src/oci/_vendor/urllib3/exceptions.py | 2 +- src/oci/_vendor/urllib3/fields.py | 2 +- src/oci/_vendor/urllib3/filepost.py | 2 +- src/oci/_vendor/urllib3/packages/__init__.py | 2 +- .../urllib3/packages/backports/__init__.py | 2 +- .../urllib3/packages/backports/makefile.py | 2 +- .../_vendor/urllib3/packages/ordered_dict.py | 2 +- src/oci/_vendor/urllib3/packages/six.py | 2 +- .../packages/ssl_match_hostname/__init__.py | 2 +- .../ssl_match_hostname/_implementation.py | 2 +- src/oci/_vendor/urllib3/poolmanager.py | 2 +- src/oci/_vendor/urllib3/request.py | 2 +- src/oci/_vendor/urllib3/response.py | 2 +- src/oci/_vendor/urllib3/util/__init__.py | 2 +- src/oci/_vendor/urllib3/util/connection.py | 2 +- src/oci/_vendor/urllib3/util/request.py | 2 +- src/oci/_vendor/urllib3/util/response.py | 2 +- src/oci/_vendor/urllib3/util/retry.py | 2 +- src/oci/_vendor/urllib3/util/selectors.py | 2 +- src/oci/_vendor/urllib3/util/ssl_.py | 2 +- src/oci/_vendor/urllib3/util/timeout.py | 2 +- src/oci/_vendor/urllib3/util/url.py | 2 +- src/oci/_vendor/urllib3/util/wait.py | 2 +- src/oci/audit/__init__.py | 2 +- src/oci/audit/audit_client.py | 2 +- .../audit_client_composite_operations.py | 2 +- src/oci/audit/models/__init__.py | 2 +- src/oci/audit/models/audit_event.py | 2 +- src/oci/audit/models/configuration.py | 2 +- .../models/update_configuration_details.py | 2 +- src/oci/auth/__init__.py | 2 +- src/oci/auth/auth_utils.py | 2 +- src/oci/auth/certificate_retriever.py | 2 +- src/oci/auth/federation_client.py | 2 +- src/oci/auth/security_token_container.py | 2 +- src/oci/auth/session_key_supplier.py | 2 +- src/oci/auth/signers/__init__.py | 2 +- ...stance_principals_security_token_signer.py | 2 +- src/oci/auth/signers/security_token_signer.py | 2 +- src/oci/base_client.py | 2 +- src/oci/config.py | 2 +- src/oci/constants.py | 2 +- src/oci/container_engine/__init__.py | 2 +- .../container_engine_client.py | 2 +- ...iner_engine_client_composite_operations.py | 2 +- src/oci/container_engine/models/__init__.py | 2 +- .../container_engine/models/add_on_options.py | 2 +- src/oci/container_engine/models/cluster.py | 2 +- .../models/cluster_create_options.py | 2 +- .../models/cluster_endpoints.py | 2 +- .../models/cluster_metadata.py | 2 +- .../models/cluster_options.py | 2 +- .../models/cluster_summary.py | 2 +- .../models/create_cluster_details.py | 2 +- ...eate_cluster_kubeconfig_content_details.py | 2 +- .../models/create_node_pool_details.py | 2 +- src/oci/container_engine/models/key_value.py | 2 +- .../models/kubernetes_network_config.py | 2 +- src/oci/container_engine/models/node.py | 2 +- src/oci/container_engine/models/node_error.py | 2 +- src/oci/container_engine/models/node_pool.py | 2 +- .../models/node_pool_options.py | 2 +- .../models/node_pool_summary.py | 2 +- .../models/update_cluster_details.py | 2 +- .../models/update_node_pool_details.py | 2 +- .../container_engine/models/work_request.py | 2 +- .../models/work_request_error.py | 2 +- .../models/work_request_log_entry.py | 2 +- .../models/work_request_resource.py | 2 +- .../models/work_request_summary.py | 2 +- src/oci/core/__init__.py | 2 +- src/oci/core/blockstorage_client.py | 2 +- ...lockstorage_client_composite_operations.py | 2 +- src/oci/core/compute_client.py | 148 ++++- .../compute_client_composite_operations.py | 2 +- src/oci/core/compute_management_client.py | 2 +- ..._management_client_composite_operations.py | 2 +- src/oci/core/models/__init__.py | 4 +- src/oci/core/models/app_catalog_listing.py | 2 +- .../app_catalog_listing_resource_version.py | 2 +- ...log_listing_resource_version_agreements.py | 2 +- ...atalog_listing_resource_version_summary.py | 2 +- .../models/app_catalog_listing_summary.py | 2 +- .../core/models/app_catalog_subscription.py | 2 +- .../app_catalog_subscription_summary.py | 2 +- .../core/models/attach_boot_volume_details.py | 2 +- .../models/attach_i_scsi_volume_details.py | 9 +- .../attach_paravirtualized_volume_details.py | 9 +- src/oci/core/models/attach_vnic_details.py | 2 +- src/oci/core/models/attach_volume_details.py | 33 +- src/oci/core/models/boot_volume.py | 2 +- src/oci/core/models/boot_volume_attachment.py | 2 +- src/oci/core/models/boot_volume_backup.py | 2 +- src/oci/core/models/boot_volume_kms_key.py | 2 +- .../core/models/boot_volume_source_details.py | 2 +- ..._source_from_boot_volume_backup_details.py | 2 +- ..._volume_source_from_boot_volume_details.py | 2 +- ...virtual_circuit_public_prefixes_details.py | 2 +- ...virtual_circuit_public_prefixes_details.py | 2 +- .../models/capture_console_history_details.py | 2 +- .../core/models/compute_instance_details.py | 2 +- .../connect_local_peering_gateways_details.py | 2 +- ...nect_remote_peering_connections_details.py | 2 +- src/oci/core/models/console_history.py | 2 +- .../core/models/copy_volume_backup_details.py | 2 +- src/oci/core/models/cpe.py | 2 +- ...create_app_catalog_subscription_details.py | 2 +- .../create_boot_volume_backup_details.py | 2 +- .../core/models/create_boot_volume_details.py | 2 +- src/oci/core/models/create_cpe_details.py | 2 +- .../models/create_cross_connect_details.py | 2 +- .../create_cross_connect_group_details.py | 2 +- src/oci/core/models/create_dhcp_details.py | 2 +- .../models/create_drg_attachment_details.py | 2 +- src/oci/core/models/create_drg_details.py | 2 +- src/oci/core/models/create_image_details.py | 2 +- .../create_instance_configuration_details.py | 2 +- ...ate_instance_console_connection_details.py | 2 +- .../models/create_instance_pool_details.py | 2 +- ...ce_pool_placement_configuration_details.py | 2 +- .../models/create_internet_gateway_details.py | 2 +- .../create_ip_sec_connection_details.py | 2 +- .../create_local_peering_gateway_details.py | 2 +- .../core/models/create_nat_gateway_details.py | 2 +- .../core/models/create_private_ip_details.py | 2 +- .../core/models/create_public_ip_details.py | 2 +- ...reate_remote_peering_connection_details.py | 2 +- .../core/models/create_route_table_details.py | 2 +- .../models/create_security_list_details.py | 2 +- .../models/create_service_gateway_details.py | 2 +- src/oci/core/models/create_subnet_details.py | 2 +- src/oci/core/models/create_vcn_details.py | 2 +- .../models/create_virtual_circuit_details.py | 2 +- ...e_virtual_circuit_public_prefix_details.py | 2 +- src/oci/core/models/create_vnic_details.py | 2 +- .../models/create_volume_backup_details.py | 2 +- ...volume_backup_policy_assignment_details.py | 2 +- src/oci/core/models/create_volume_details.py | 2 +- .../create_volume_group_backup_details.py | 2 +- .../models/create_volume_group_details.py | 2 +- src/oci/core/models/cross_connect.py | 2 +- src/oci/core/models/cross_connect_group.py | 2 +- src/oci/core/models/cross_connect_location.py | 2 +- src/oci/core/models/cross_connect_mapping.py | 2 +- .../models/cross_connect_port_speed_shape.py | 2 +- src/oci/core/models/cross_connect_status.py | 2 +- ...e_virtual_circuit_public_prefix_details.py | 2 +- src/oci/core/models/device.py | 100 +++ src/oci/core/models/dhcp_dns_option.py | 2 +- src/oci/core/models/dhcp_option.py | 2 +- src/oci/core/models/dhcp_options.py | 2 +- .../core/models/dhcp_search_domain_option.py | 2 +- src/oci/core/models/drg.py | 2 +- src/oci/core/models/drg_attachment.py | 2 +- src/oci/core/models/egress_security_rule.py | 2 +- src/oci/core/models/export_image_details.py | 2 +- ..._image_via_object_storage_tuple_details.py | 2 +- ...rt_image_via_object_storage_uri_details.py | 2 +- .../models/fast_connect_provider_service.py | 2 +- .../get_public_ip_by_ip_address_details.py | 2 +- .../get_public_ip_by_private_ip_id_details.py | 2 +- .../core/models/i_scsi_volume_attachment.py | 9 +- src/oci/core/models/icmp_options.py | 2 +- src/oci/core/models/image.py | 2 +- src/oci/core/models/image_source_details.py | 2 +- ...source_via_object_storage_tuple_details.py | 2 +- ...e_source_via_object_storage_uri_details.py | 2 +- src/oci/core/models/ingress_security_rule.py | 2 +- src/oci/core/models/instance.py | 2 +- src/oci/core/models/instance_configuration.py | 2 +- ...tance_configuration_attach_vnic_details.py | 2 +- ...nce_configuration_attach_volume_details.py | 2 +- ...ance_configuration_block_volume_details.py | 2 +- ...tance_configuration_create_vnic_details.py | 2 +- ...nce_configuration_create_volume_details.py | 2 +- ...instance_configuration_instance_details.py | 2 +- ...e_configuration_instance_source_details.py | 2 +- ...instance_source_via_boot_volume_details.py | 2 +- ...ation_instance_source_via_image_details.py | 2 +- ...nfiguration_iscsi_attach_volume_details.py | 2 +- ...e_configuration_launch_instance_details.py | 2 +- ...n_paravirtualized_attach_volume_details.py | 2 +- .../models/instance_configuration_summary.py | 2 +- ...nce_configuration_volume_source_details.py | 2 +- ...olume_source_from_volume_backup_details.py | 2 +- ...ation_volume_source_from_volume_details.py | 2 +- .../models/instance_console_connection.py | 2 +- src/oci/core/models/instance_credentials.py | 2 +- src/oci/core/models/instance_pool.py | 2 +- .../instance_pool_placement_configuration.py | 2 +- ...ce_pool_placement_secondary_vnic_subnet.py | 2 +- src/oci/core/models/instance_pool_summary.py | 2 +- .../core/models/instance_source_details.py | 2 +- ...instance_source_via_boot_volume_details.py | 2 +- .../instance_source_via_image_details.py | 2 +- src/oci/core/models/instance_summary.py | 2 +- src/oci/core/models/internet_gateway.py | 2 +- src/oci/core/models/ip_sec_connection.py | 2 +- .../models/ip_sec_connection_device_config.py | 2 +- .../models/ip_sec_connection_device_status.py | 2 +- .../core/models/launch_instance_details.py | 2 +- src/oci/core/models/launch_options.py | 37 +- src/oci/core/models/letter_of_authority.py | 2 +- src/oci/core/models/local_peering_gateway.py | 2 +- src/oci/core/models/nat_gateway.py | 2 +- .../paravirtualized_volume_attachment.py | 9 +- .../models/peer_region_for_remote_peering.py | 2 +- src/oci/core/models/port_range.py | 2 +- src/oci/core/models/private_ip.py | 2 +- src/oci/core/models/public_ip.py | 2 +- .../core/models/remote_peering_connection.py | 2 +- src/oci/core/models/route_rule.py | 2 +- src/oci/core/models/route_table.py | 2 +- src/oci/core/models/security_list.py | 2 +- src/oci/core/models/service.py | 2 +- src/oci/core/models/service_gateway.py | 2 +- .../core/models/service_id_request_details.py | 2 +- .../models/service_id_response_details.py | 2 +- src/oci/core/models/shape.py | 2 +- src/oci/core/models/subnet.py | 2 +- src/oci/core/models/tcp_options.py | 2 +- src/oci/core/models/tunnel_config.py | 2 +- src/oci/core/models/tunnel_status.py | 2 +- src/oci/core/models/udp_options.py | 2 +- .../update_boot_volume_backup_details.py | 2 +- .../core/models/update_boot_volume_details.py | 2 +- .../update_boot_volume_kms_key_details.py | 2 +- .../models/update_console_history_details.py | 2 +- src/oci/core/models/update_cpe_details.py | 2 +- .../models/update_cross_connect_details.py | 2 +- .../update_cross_connect_group_details.py | 2 +- src/oci/core/models/update_dhcp_details.py | 2 +- .../models/update_drg_attachment_details.py | 2 +- src/oci/core/models/update_drg_details.py | 2 +- src/oci/core/models/update_image_details.py | 2 +- .../update_instance_configuration_details.py | 2 +- .../core/models/update_instance_details.py | 2 +- .../models/update_instance_pool_details.py | 2 +- ...ce_pool_placement_configuration_details.py | 2 +- .../models/update_internet_gateway_details.py | 2 +- .../update_ip_sec_connection_details.py | 2 +- .../update_local_peering_gateway_details.py | 2 +- .../core/models/update_nat_gateway_details.py | 2 +- .../core/models/update_private_ip_details.py | 2 +- .../core/models/update_public_ip_details.py | 2 +- ...pdate_remote_peering_connection_details.py | 2 +- .../core/models/update_route_table_details.py | 2 +- .../models/update_security_list_details.py | 2 +- .../models/update_service_gateway_details.py | 2 +- src/oci/core/models/update_subnet_details.py | 2 +- src/oci/core/models/update_vcn_details.py | 2 +- .../models/update_virtual_circuit_details.py | 2 +- src/oci/core/models/update_vnic_details.py | 2 +- .../models/update_volume_backup_details.py | 2 +- src/oci/core/models/update_volume_details.py | 2 +- .../update_volume_group_backup_details.py | 2 +- .../models/update_volume_group_details.py | 2 +- .../models/update_volume_kms_key_details.py | 2 +- src/oci/core/models/vcn.py | 2 +- src/oci/core/models/virtual_circuit.py | 2 +- .../models/virtual_circuit_bandwidth_shape.py | 2 +- .../models/virtual_circuit_public_prefix.py | 2 +- src/oci/core/models/vnic.py | 2 +- src/oci/core/models/vnic_attachment.py | 2 +- src/oci/core/models/volume.py | 2 +- src/oci/core/models/volume_attachment.py | 33 +- src/oci/core/models/volume_backup.py | 2 +- src/oci/core/models/volume_backup_policy.py | 2 +- .../models/volume_backup_policy_assignment.py | 2 +- src/oci/core/models/volume_backup_schedule.py | 2 +- src/oci/core/models/volume_group.py | 2 +- src/oci/core/models/volume_group_backup.py | 2 +- .../models/volume_group_source_details.py | 2 +- ...source_from_volume_group_backup_details.py | 2 +- ..._group_source_from_volume_group_details.py | 2 +- ...olume_group_source_from_volumes_details.py | 2 +- src/oci/core/models/volume_kms_key.py | 2 +- src/oci/core/models/volume_source_details.py | 2 +- ...olume_source_from_volume_backup_details.py | 2 +- .../volume_source_from_volume_details.py | 2 +- src/oci/core/virtual_network_client.py | 2 +- ...ual_network_client_composite_operations.py | 2 +- src/oci/database/__init__.py | 2 +- src/oci/database/database_client.py | 2 +- .../database_client_composite_operations.py | 2 +- src/oci/database/models/__init__.py | 2 +- .../models/autonomous_data_warehouse.py | 2 +- .../autonomous_data_warehouse_backup.py | 2 +- ...utonomous_data_warehouse_backup_summary.py | 2 +- ...omous_data_warehouse_connection_strings.py | 2 +- .../autonomous_data_warehouse_summary.py | 2 +- .../database/models/autonomous_database.py | 2 +- .../models/autonomous_database_backup.py | 2 +- .../autonomous_database_backup_summary.py | 2 +- .../autonomous_database_connection_strings.py | 2 +- .../models/autonomous_database_summary.py | 2 +- src/oci/database/models/backup.py | 2 +- src/oci/database/models/backup_summary.py | 2 +- .../complete_external_backup_job_details.py | 2 +- ...utonomous_data_warehouse_backup_details.py | 2 +- ...reate_autonomous_data_warehouse_details.py | 2 +- ...eate_autonomous_database_backup_details.py | 2 +- .../create_autonomous_database_details.py | 2 +- .../database/models/create_backup_details.py | 2 +- .../create_data_guard_association_details.py | 2 +- ...sociation_to_existing_db_system_details.py | 2 +- ..._association_with_new_db_system_details.py | 2 +- .../models/create_database_details.py | 2 +- .../create_database_from_backup_details.py | 2 +- .../database/models/create_db_home_details.py | 2 +- .../create_db_home_from_backup_details.py | 2 +- .../create_db_home_with_db_system_id_base.py | 2 +- ...reate_db_home_with_db_system_id_details.py | 2 +- ...e_with_db_system_id_from_backup_details.py | 2 +- .../create_external_backup_job_details.py | 2 +- .../database/models/data_guard_association.py | 2 +- .../models/data_guard_association_summary.py | 2 +- src/oci/database/models/database.py | 2 +- src/oci/database/models/database_summary.py | 2 +- src/oci/database/models/db_backup_config.py | 2 +- src/oci/database/models/db_home.py | 2 +- src/oci/database/models/db_home_summary.py | 2 +- src/oci/database/models/db_node.py | 2 +- src/oci/database/models/db_node_summary.py | 2 +- src/oci/database/models/db_system.py | 2 +- .../models/db_system_shape_summary.py | 2 +- src/oci/database/models/db_system_summary.py | 2 +- src/oci/database/models/db_version_summary.py | 2 +- .../database/models/external_backup_job.py | 2 +- ...failover_data_guard_association_details.py | 2 +- ...utonomous_data_warehouse_wallet_details.py | 2 +- ...rate_autonomous_database_wallet_details.py | 2 +- .../database/models/launch_db_system_base.py | 2 +- .../models/launch_db_system_details.py | 2 +- .../launch_db_system_from_backup_details.py | 2 +- src/oci/database/models/patch.py | 2 +- src/oci/database/models/patch_details.py | 2 +- .../database/models/patch_history_entry.py | 2 +- .../models/patch_history_entry_summary.py | 2 +- src/oci/database/models/patch_summary.py | 2 +- ...einstate_data_guard_association_details.py | 2 +- ...store_autonomous_data_warehouse_details.py | 2 +- .../restore_autonomous_database_details.py | 2 +- .../models/restore_database_details.py | 2 +- ...itchover_data_guard_association_details.py | 2 +- ...pdate_autonomous_data_warehouse_details.py | 2 +- .../update_autonomous_database_details.py | 2 +- .../models/update_database_details.py | 2 +- .../database/models/update_db_home_details.py | 2 +- .../models/update_db_system_details.py | 2 +- src/oci/decorators.py | 2 +- src/oci/dns/__init__.py | 2 +- src/oci/dns/dns_client.py | 2 +- .../dns/dns_client_composite_operations.py | 2 +- src/oci/dns/models/__init__.py | 2 +- src/oci/dns/models/create_zone_details.py | 2 +- src/oci/dns/models/external_master.py | 2 +- src/oci/dns/models/nameserver.py | 2 +- .../models/patch_domain_records_details.py | 2 +- src/oci/dns/models/patch_rr_set_details.py | 2 +- .../dns/models/patch_zone_records_details.py | 2 +- src/oci/dns/models/record.py | 2 +- src/oci/dns/models/record_collection.py | 2 +- src/oci/dns/models/record_details.py | 2 +- src/oci/dns/models/record_operation.py | 2 +- src/oci/dns/models/rr_set.py | 2 +- src/oci/dns/models/tsig.py | 2 +- .../models/update_domain_records_details.py | 2 +- src/oci/dns/models/update_rr_set_details.py | 2 +- src/oci/dns/models/update_zone_details.py | 2 +- .../dns/models/update_zone_records_details.py | 2 +- src/oci/dns/models/zone.py | 2 +- src/oci/dns/models/zone_summary.py | 2 +- src/oci/email/__init__.py | 2 +- src/oci/email/email_client.py | 2 +- .../email_client_composite_operations.py | 2 +- src/oci/email/models/__init__.py | 2 +- src/oci/email/models/create_sender_details.py | 2 +- .../models/create_suppression_details.py | 2 +- src/oci/email/models/sender.py | 2 +- src/oci/email/models/sender_summary.py | 2 +- src/oci/email/models/suppression.py | 2 +- src/oci/email/models/suppression_summary.py | 2 +- src/oci/exceptions.py | 2 +- src/oci/file_storage/__init__.py | 2 +- src/oci/file_storage/file_storage_client.py | 2 +- ...ile_storage_client_composite_operations.py | 2 +- src/oci/file_storage/models/__init__.py | 2 +- src/oci/file_storage/models/client_options.py | 2 +- .../models/create_export_details.py | 2 +- .../models/create_file_system_details.py | 2 +- .../models/create_mount_target_details.py | 2 +- .../models/create_snapshot_details.py | 2 +- src/oci/file_storage/models/export.py | 2 +- src/oci/file_storage/models/export_set.py | 2 +- .../file_storage/models/export_set_summary.py | 2 +- src/oci/file_storage/models/export_summary.py | 2 +- src/oci/file_storage/models/file_system.py | 2 +- .../models/file_system_summary.py | 2 +- src/oci/file_storage/models/mount_target.py | 2 +- .../models/mount_target_summary.py | 2 +- src/oci/file_storage/models/snapshot.py | 2 +- .../file_storage/models/snapshot_summary.py | 2 +- .../models/update_export_details.py | 2 +- .../models/update_export_set_details.py | 2 +- .../models/update_file_system_details.py | 2 +- .../models/update_mount_target_details.py | 2 +- .../models/update_snapshot_details.py | 2 +- src/oci/fips.py | 2 +- src/oci/identity/__init__.py | 2 +- src/oci/identity/identity_client.py | 2 +- .../identity_client_composite_operations.py | 2 +- src/oci/identity/models/__init__.py | 2 +- .../models/add_user_to_group_details.py | 2 +- src/oci/identity/models/api_key.py | 2 +- src/oci/identity/models/auth_token.py | 2 +- .../identity/models/availability_domain.py | 2 +- src/oci/identity/models/compartment.py | 2 +- .../identity/models/create_api_key_details.py | 2 +- .../models/create_auth_token_details.py | 2 +- .../models/create_compartment_details.py | 2 +- .../create_customer_secret_key_details.py | 2 +- .../models/create_dynamic_group_details.py | 2 +- .../identity/models/create_group_details.py | 2 +- .../create_identity_provider_details.py | 2 +- .../create_idp_group_mapping_details.py | 2 +- .../identity/models/create_policy_details.py | 2 +- .../create_region_subscription_details.py | 2 +- .../create_saml2_identity_provider_details.py | 2 +- .../models/create_smtp_credential_details.py | 2 +- .../models/create_swift_password_details.py | 2 +- src/oci/identity/models/create_tag_details.py | 2 +- .../models/create_tag_namespace_details.py | 2 +- .../identity/models/create_user_details.py | 2 +- .../identity/models/customer_secret_key.py | 2 +- .../models/customer_secret_key_summary.py | 2 +- src/oci/identity/models/dynamic_group.py | 2 +- src/oci/identity/models/fault_domain.py | 2 +- src/oci/identity/models/group.py | 2 +- src/oci/identity/models/identity_provider.py | 2 +- .../models/identity_provider_group_summary.py | 2 +- src/oci/identity/models/idp_group_mapping.py | 2 +- src/oci/identity/models/policy.py | 2 +- src/oci/identity/models/region.py | 2 +- .../identity/models/region_subscription.py | 2 +- .../models/saml2_identity_provider.py | 2 +- .../models/scim_client_credentials.py | 2 +- src/oci/identity/models/smtp_credential.py | 2 +- .../models/smtp_credential_summary.py | 2 +- src/oci/identity/models/swift_password.py | 2 +- src/oci/identity/models/tag.py | 2 +- src/oci/identity/models/tag_namespace.py | 2 +- .../identity/models/tag_namespace_summary.py | 2 +- src/oci/identity/models/tag_summary.py | 2 +- src/oci/identity/models/tenancy.py | 2 +- src/oci/identity/models/ui_password.py | 2 +- .../models/update_auth_token_details.py | 2 +- .../models/update_compartment_details.py | 2 +- .../update_customer_secret_key_details.py | 2 +- .../models/update_dynamic_group_details.py | 2 +- .../identity/models/update_group_details.py | 2 +- .../update_identity_provider_details.py | 2 +- .../update_idp_group_mapping_details.py | 2 +- .../identity/models/update_policy_details.py | 2 +- .../update_saml2_identity_provider_details.py | 2 +- .../models/update_smtp_credential_details.py | 2 +- .../identity/models/update_state_details.py | 2 +- .../models/update_swift_password_details.py | 2 +- src/oci/identity/models/update_tag_details.py | 2 +- .../models/update_tag_namespace_details.py | 2 +- .../update_user_capabilities_details.py | 2 +- .../identity/models/update_user_details.py | 2 +- src/oci/identity/models/user.py | 2 +- src/oci/identity/models/user_capabilities.py | 2 +- .../identity/models/user_group_membership.py | 2 +- src/oci/identity/models/work_request.py | 2 +- src/oci/identity/models/work_request_error.py | 2 +- .../identity/models/work_request_log_entry.py | 2 +- .../identity/models/work_request_resource.py | 2 +- .../identity/models/work_request_summary.py | 2 +- src/oci/key_management/__init__.py | 2 +- src/oci/key_management/kms_crypto_client.py | 2 +- .../kms_crypto_client_composite_operations.py | 2 +- .../key_management/kms_management_client.py | 2 +- ..._management_client_composite_operations.py | 2 +- src/oci/key_management/kms_vault_client.py | 2 +- .../kms_vault_client_composite_operations.py | 2 +- src/oci/key_management/models/__init__.py | 2 +- .../models/create_key_details.py | 2 +- .../models/create_vault_details.py | 2 +- .../models/decrypt_data_details.py | 2 +- .../key_management/models/decrypted_data.py | 2 +- .../models/encrypt_data_details.py | 2 +- .../key_management/models/encrypted_data.py | 2 +- .../models/generate_key_details.py | 2 +- .../key_management/models/generated_key.py | 2 +- src/oci/key_management/models/key.py | 2 +- src/oci/key_management/models/key_shape.py | 2 +- src/oci/key_management/models/key_summary.py | 2 +- src/oci/key_management/models/key_version.py | 2 +- .../models/key_version_summary.py | 2 +- .../models/schedule_vault_deletion_details.py | 2 +- .../models/update_key_details.py | 2 +- .../models/update_vault_details.py | 2 +- src/oci/key_management/models/vault.py | 2 +- .../key_management/models/vault_summary.py | 2 +- src/oci/load_balancer/__init__.py | 2 +- src/oci/load_balancer/load_balancer_client.py | 486 ++++++++++++++- ...ad_balancer_client_composite_operations.py | 138 ++++- src/oci/load_balancer/models/__init__.py | 24 +- .../models/add_http_request_header_rule.py | 128 ++++ .../models/add_http_response_header_rule.py | 128 ++++ src/oci/load_balancer/models/backend.py | 270 ++++----- .../load_balancer/models/backend_details.py | 228 +++---- .../load_balancer/models/backend_health.py | 68 +-- src/oci/load_balancer/models/backend_set.py | 152 ++--- .../models/backend_set_details.py | 116 ++-- .../models/backend_set_health.py | 164 ++--- src/oci/load_balancer/models/certificate.py | 110 ++-- .../models/certificate_details.py | 188 +++--- .../models/connection_configuration.py | 2 +- .../models/create_backend_details.py | 230 +++---- .../models/create_backend_set_details.py | 152 ++--- .../models/create_certificate_details.py | 188 +++--- .../models/create_hostname_details.py | 82 +-- .../models/create_listener_details.py | 281 +++++---- .../models/create_load_balancer_details.py | 451 +++++++------- .../models/create_path_route_set_details.py | 4 +- .../models/create_rule_set_details.py | 106 ++++ .../extend_http_request_header_value_rule.py | 166 +++++ .../extend_http_response_header_value_rule.py | 166 +++++ .../models/health_check_result.py | 124 ++-- .../load_balancer/models/health_checker.py | 260 ++++---- .../models/health_checker_details.py | 260 ++++---- src/oci/load_balancer/models/hostname.py | 82 +-- .../load_balancer/models/hostname_details.py | 76 +-- src/oci/load_balancer/models/ip_address.py | 2 +- src/oci/load_balancer/models/listener.py | 269 +++++---- .../load_balancer/models/listener_details.py | 227 ++++--- src/oci/load_balancer/models/load_balancer.py | 567 +++++++++--------- .../models/load_balancer_health.py | 164 ++--- .../models/load_balancer_health_summary.py | 2 +- .../models/load_balancer_policy.py | 2 +- .../models/load_balancer_protocol.py | 2 +- .../models/load_balancer_shape.py | 2 +- .../load_balancer/models/path_match_type.py | 2 +- src/oci/load_balancer/models/path_route.py | 76 +-- .../load_balancer/models/path_route_set.py | 4 +- .../models/path_route_set_details.py | 2 +- .../models/remove_http_request_header_rule.py | 89 +++ .../remove_http_response_header_rule.py | 89 +++ src/oci/load_balancer/models/rule.py | 134 +++++ src/oci/load_balancer/models/rule_set.py | 107 ++++ .../load_balancer/models/rule_set_details.py | 69 +++ ...ssion_persistence_configuration_details.py | 2 +- .../load_balancer/models/ssl_configuration.py | 78 +-- .../models/ssl_configuration_details.py | 78 +-- .../models/update_backend_details.py | 100 +-- .../models/update_backend_set_details.py | 116 ++-- .../models/update_health_checker_details.py | 256 ++++---- .../models/update_hostname_details.py | 2 +- .../models/update_listener_details.py | 227 ++++--- .../models/update_load_balancer_details.py | 90 +-- .../models/update_path_route_set_details.py | 2 +- .../models/update_rule_set_details.py | 69 +++ src/oci/load_balancer/models/work_request.py | 180 +++--- .../models/work_request_error.py | 2 +- src/oci/object_storage/__init__.py | 2 +- src/oci/object_storage/models/__init__.py | 2 +- src/oci/object_storage/models/bucket.py | 2 +- .../object_storage/models/bucket_summary.py | 2 +- .../models/commit_multipart_upload_details.py | 2 +- .../commit_multipart_upload_part_details.py | 2 +- .../models/copy_object_details.py | 2 +- .../models/create_bucket_details.py | 2 +- .../models/create_multipart_upload_details.py | 2 +- ...create_preauthenticated_request_details.py | 2 +- src/oci/object_storage/models/list_objects.py | 2 +- .../object_storage/models/multipart_upload.py | 2 +- .../models/multipart_upload_part_summary.py | 2 +- .../models/namespace_metadata.py | 2 +- .../models/object_lifecycle_policy.py | 2 +- .../models/object_lifecycle_rule.py | 2 +- .../models/object_name_filter.py | 2 +- .../object_storage/models/object_summary.py | 2 +- .../models/preauthenticated_request.py | 2 +- .../preauthenticated_request_summary.py | 2 +- .../put_object_lifecycle_policy_details.py | 2 +- .../models/rename_object_details.py | 2 +- .../models/restore_objects_details.py | 2 +- .../models/update_bucket_details.py | 2 +- .../update_namespace_metadata_details.py | 2 +- src/oci/object_storage/models/work_request.py | 2 +- .../models/work_request_error.py | 2 +- .../models/work_request_log_entry.py | 2 +- .../models/work_request_resource.py | 2 +- .../models/work_request_summary.py | 2 +- .../object_storage/object_storage_client.py | 2 +- ...ect_storage_client_composite_operations.py | 2 +- src/oci/object_storage/transfer/__init__.py | 2 +- src/oci/object_storage/transfer/constants.py | 2 +- .../transfer/internal/__init__.py | 2 +- .../transfer/internal/buffered_part_reader.py | 2 +- .../internal/file_read_callback_stream.py | 2 +- .../object_storage/transfer/internal/md5.py | 2 +- .../internal/multipart_object_assembler.py | 2 +- .../object_storage/transfer/upload_manager.py | 2 +- src/oci/pagination/__init__.py | 2 +- src/oci/pagination/pagination_utils.py | 2 +- src/oci/regions.py | 2 +- src/oci/request.py | 2 +- src/oci/resource_search/__init__.py | 2 +- src/oci/resource_search/models/__init__.py | 2 +- .../models/free_text_search_details.py | 2 +- .../models/queryable_field_description.py | 2 +- .../models/resource_summary.py | 2 +- .../models/resource_summary_collection.py | 2 +- .../resource_search/models/resource_type.py | 2 +- .../resource_search/models/search_context.py | 2 +- .../resource_search/models/search_details.py | 2 +- .../models/structured_search_details.py | 2 +- .../resource_search/resource_search_client.py | 2 +- ...urce_search_client_composite_operations.py | 2 +- src/oci/response.py | 2 +- src/oci/retry/__init__.py | 2 +- src/oci/retry/retry.py | 2 +- src/oci/retry/retry_checkers.py | 2 +- src/oci/retry/retry_sleep_utils.py | 2 +- src/oci/service_endpoints.py | 2 +- src/oci/signer.py | 2 +- src/oci/util.py | 2 +- src/oci/version.py | 4 +- src/oci/waiter.py | 2 +- tests/__init__.py | 2 +- tests/conftest.py | 2 +- tests/integ/__init__.py | 2 +- tests/integ/test_launch_instance_tutorial.py | 2 +- tests/integ/util.py | 2 +- tests/test_config_container.py | 2 +- tests/unit/__init__.py | 2 +- tests/unit/test_basic_api_calls.py | 2 +- tests/unit/test_model.py | 2 +- tests/unit/test_response.py | 2 +- tests/unit/test_waiters.py | 2 +- tests/util.py | 2 +- 782 files changed, 6185 insertions(+), 3598 deletions(-) create mode 100644 docs/api/core/models/oci.core.models.Device.rst create mode 100644 docs/api/load_balancer/models/oci.load_balancer.models.AddHttpRequestHeaderRule.rst create mode 100644 docs/api/load_balancer/models/oci.load_balancer.models.AddHttpResponseHeaderRule.rst create mode 100644 docs/api/load_balancer/models/oci.load_balancer.models.CreateRuleSetDetails.rst create mode 100644 docs/api/load_balancer/models/oci.load_balancer.models.ExtendHttpRequestHeaderValueRule.rst create mode 100644 docs/api/load_balancer/models/oci.load_balancer.models.ExtendHttpResponseHeaderValueRule.rst create mode 100644 docs/api/load_balancer/models/oci.load_balancer.models.RemoveHttpRequestHeaderRule.rst create mode 100644 docs/api/load_balancer/models/oci.load_balancer.models.RemoveHttpResponseHeaderRule.rst create mode 100644 docs/api/load_balancer/models/oci.load_balancer.models.Rule.rst create mode 100644 docs/api/load_balancer/models/oci.load_balancer.models.RuleSet.rst create mode 100644 docs/api/load_balancer/models/oci.load_balancer.models.RuleSetDetails.rst create mode 100644 docs/api/load_balancer/models/oci.load_balancer.models.UpdateRuleSetDetails.rst create mode 100644 src/oci/core/models/device.py create mode 100644 src/oci/load_balancer/models/add_http_request_header_rule.py create mode 100644 src/oci/load_balancer/models/add_http_response_header_rule.py create mode 100644 src/oci/load_balancer/models/create_rule_set_details.py create mode 100644 src/oci/load_balancer/models/extend_http_request_header_value_rule.py create mode 100644 src/oci/load_balancer/models/extend_http_response_header_value_rule.py create mode 100644 src/oci/load_balancer/models/remove_http_request_header_rule.py create mode 100644 src/oci/load_balancer/models/remove_http_response_header_rule.py create mode 100644 src/oci/load_balancer/models/rule.py create mode 100644 src/oci/load_balancer/models/rule_set.py create mode 100644 src/oci/load_balancer/models/rule_set_details.py create mode 100644 src/oci/load_balancer/models/update_rule_set_details.py diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2f675c8843..02a4f62869 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,7 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on `Keep a Changelog `_. ==================== -2.1.3 - 12/13/2018 +2.1.4 - 2019-01-10 +==================== + +Added +----- +* Support for device attributes on volumes in the Block Storage service +* Support for custom header rulesets in the Load Balancing service + +==================== +2.1.3 - 2018-12-13 ==================== Added diff --git a/docs/api/core.rst b/docs/api/core.rst index 8ec2f62d20..21c316785f 100644 --- a/docs/api/core.rst +++ b/docs/api/core.rst @@ -93,6 +93,7 @@ Core Services oci.core.models.CrossConnectPortSpeedShape oci.core.models.CrossConnectStatus oci.core.models.DeleteVirtualCircuitPublicPrefixDetails + oci.core.models.Device oci.core.models.DhcpDnsOption oci.core.models.DhcpOption oci.core.models.DhcpOptions diff --git a/docs/api/core/models/oci.core.models.Device.rst b/docs/api/core/models/oci.core.models.Device.rst new file mode 100644 index 0000000000..cbeb4103b6 --- /dev/null +++ b/docs/api/core/models/oci.core.models.Device.rst @@ -0,0 +1,11 @@ +Device +====== + +.. currentmodule:: oci.core.models + +.. autoclass:: Device + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/load_balancer.rst b/docs/api/load_balancer.rst index 34d1ebf0b2..d6687b1d99 100644 --- a/docs/api/load_balancer.rst +++ b/docs/api/load_balancer.rst @@ -18,6 +18,8 @@ Load Balancer :nosignatures: :template: autosummary/model_class.rst + oci.load_balancer.models.AddHttpRequestHeaderRule + oci.load_balancer.models.AddHttpResponseHeaderRule oci.load_balancer.models.Backend oci.load_balancer.models.BackendDetails oci.load_balancer.models.BackendHealth @@ -34,6 +36,9 @@ Load Balancer oci.load_balancer.models.CreateListenerDetails oci.load_balancer.models.CreateLoadBalancerDetails oci.load_balancer.models.CreatePathRouteSetDetails + oci.load_balancer.models.CreateRuleSetDetails + oci.load_balancer.models.ExtendHttpRequestHeaderValueRule + oci.load_balancer.models.ExtendHttpResponseHeaderValueRule oci.load_balancer.models.HealthCheckResult oci.load_balancer.models.HealthChecker oci.load_balancer.models.HealthCheckerDetails @@ -52,6 +57,11 @@ Load Balancer oci.load_balancer.models.PathRoute oci.load_balancer.models.PathRouteSet oci.load_balancer.models.PathRouteSetDetails + oci.load_balancer.models.RemoveHttpRequestHeaderRule + oci.load_balancer.models.RemoveHttpResponseHeaderRule + oci.load_balancer.models.Rule + oci.load_balancer.models.RuleSet + oci.load_balancer.models.RuleSetDetails oci.load_balancer.models.SSLConfiguration oci.load_balancer.models.SSLConfigurationDetails oci.load_balancer.models.SessionPersistenceConfigurationDetails @@ -62,5 +72,6 @@ Load Balancer oci.load_balancer.models.UpdateListenerDetails oci.load_balancer.models.UpdateLoadBalancerDetails oci.load_balancer.models.UpdatePathRouteSetDetails + oci.load_balancer.models.UpdateRuleSetDetails oci.load_balancer.models.WorkRequest oci.load_balancer.models.WorkRequestError diff --git a/docs/api/load_balancer/models/oci.load_balancer.models.AddHttpRequestHeaderRule.rst b/docs/api/load_balancer/models/oci.load_balancer.models.AddHttpRequestHeaderRule.rst new file mode 100644 index 0000000000..42c0989d7d --- /dev/null +++ b/docs/api/load_balancer/models/oci.load_balancer.models.AddHttpRequestHeaderRule.rst @@ -0,0 +1,11 @@ +AddHttpRequestHeaderRule +======================== + +.. currentmodule:: oci.load_balancer.models + +.. autoclass:: AddHttpRequestHeaderRule + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/load_balancer/models/oci.load_balancer.models.AddHttpResponseHeaderRule.rst b/docs/api/load_balancer/models/oci.load_balancer.models.AddHttpResponseHeaderRule.rst new file mode 100644 index 0000000000..a4214f4129 --- /dev/null +++ b/docs/api/load_balancer/models/oci.load_balancer.models.AddHttpResponseHeaderRule.rst @@ -0,0 +1,11 @@ +AddHttpResponseHeaderRule +========================= + +.. currentmodule:: oci.load_balancer.models + +.. autoclass:: AddHttpResponseHeaderRule + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/load_balancer/models/oci.load_balancer.models.CreateRuleSetDetails.rst b/docs/api/load_balancer/models/oci.load_balancer.models.CreateRuleSetDetails.rst new file mode 100644 index 0000000000..35aa78177c --- /dev/null +++ b/docs/api/load_balancer/models/oci.load_balancer.models.CreateRuleSetDetails.rst @@ -0,0 +1,11 @@ +CreateRuleSetDetails +==================== + +.. currentmodule:: oci.load_balancer.models + +.. autoclass:: CreateRuleSetDetails + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/load_balancer/models/oci.load_balancer.models.ExtendHttpRequestHeaderValueRule.rst b/docs/api/load_balancer/models/oci.load_balancer.models.ExtendHttpRequestHeaderValueRule.rst new file mode 100644 index 0000000000..348b3b483d --- /dev/null +++ b/docs/api/load_balancer/models/oci.load_balancer.models.ExtendHttpRequestHeaderValueRule.rst @@ -0,0 +1,11 @@ +ExtendHttpRequestHeaderValueRule +================================ + +.. currentmodule:: oci.load_balancer.models + +.. autoclass:: ExtendHttpRequestHeaderValueRule + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/load_balancer/models/oci.load_balancer.models.ExtendHttpResponseHeaderValueRule.rst b/docs/api/load_balancer/models/oci.load_balancer.models.ExtendHttpResponseHeaderValueRule.rst new file mode 100644 index 0000000000..be7429a2f7 --- /dev/null +++ b/docs/api/load_balancer/models/oci.load_balancer.models.ExtendHttpResponseHeaderValueRule.rst @@ -0,0 +1,11 @@ +ExtendHttpResponseHeaderValueRule +================================= + +.. currentmodule:: oci.load_balancer.models + +.. autoclass:: ExtendHttpResponseHeaderValueRule + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/load_balancer/models/oci.load_balancer.models.RemoveHttpRequestHeaderRule.rst b/docs/api/load_balancer/models/oci.load_balancer.models.RemoveHttpRequestHeaderRule.rst new file mode 100644 index 0000000000..0e6f8b77e6 --- /dev/null +++ b/docs/api/load_balancer/models/oci.load_balancer.models.RemoveHttpRequestHeaderRule.rst @@ -0,0 +1,11 @@ +RemoveHttpRequestHeaderRule +=========================== + +.. currentmodule:: oci.load_balancer.models + +.. autoclass:: RemoveHttpRequestHeaderRule + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/load_balancer/models/oci.load_balancer.models.RemoveHttpResponseHeaderRule.rst b/docs/api/load_balancer/models/oci.load_balancer.models.RemoveHttpResponseHeaderRule.rst new file mode 100644 index 0000000000..115454714a --- /dev/null +++ b/docs/api/load_balancer/models/oci.load_balancer.models.RemoveHttpResponseHeaderRule.rst @@ -0,0 +1,11 @@ +RemoveHttpResponseHeaderRule +============================ + +.. currentmodule:: oci.load_balancer.models + +.. autoclass:: RemoveHttpResponseHeaderRule + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/load_balancer/models/oci.load_balancer.models.Rule.rst b/docs/api/load_balancer/models/oci.load_balancer.models.Rule.rst new file mode 100644 index 0000000000..9524804d5f --- /dev/null +++ b/docs/api/load_balancer/models/oci.load_balancer.models.Rule.rst @@ -0,0 +1,11 @@ +Rule +==== + +.. currentmodule:: oci.load_balancer.models + +.. autoclass:: Rule + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/load_balancer/models/oci.load_balancer.models.RuleSet.rst b/docs/api/load_balancer/models/oci.load_balancer.models.RuleSet.rst new file mode 100644 index 0000000000..1941a6f6a7 --- /dev/null +++ b/docs/api/load_balancer/models/oci.load_balancer.models.RuleSet.rst @@ -0,0 +1,11 @@ +RuleSet +======= + +.. currentmodule:: oci.load_balancer.models + +.. autoclass:: RuleSet + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/load_balancer/models/oci.load_balancer.models.RuleSetDetails.rst b/docs/api/load_balancer/models/oci.load_balancer.models.RuleSetDetails.rst new file mode 100644 index 0000000000..0e018b505b --- /dev/null +++ b/docs/api/load_balancer/models/oci.load_balancer.models.RuleSetDetails.rst @@ -0,0 +1,11 @@ +RuleSetDetails +============== + +.. currentmodule:: oci.load_balancer.models + +.. autoclass:: RuleSetDetails + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/load_balancer/models/oci.load_balancer.models.UpdateRuleSetDetails.rst b/docs/api/load_balancer/models/oci.load_balancer.models.UpdateRuleSetDetails.rst new file mode 100644 index 0000000000..7e4b521249 --- /dev/null +++ b/docs/api/load_balancer/models/oci.load_balancer.models.UpdateRuleSetDetails.rst @@ -0,0 +1,11 @@ +UpdateRuleSetDetails +==================== + +.. currentmodule:: oci.load_balancer.models + +.. autoclass:: UpdateRuleSetDetails + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/examples/composite_operations_example.py b/examples/composite_operations_example.py index 213f732ab7..de6e9257e8 100644 --- a/examples/composite_operations_example.py +++ b/examples/composite_operations_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides a basic example of how to use composite operations in the Python SDK. Composite operations provide # convenience methods for operations which would otherwise need to be chained together. For example, instead of performing an action diff --git a/examples/container_engine.py b/examples/container_engine.py index 2fb132634e..7dae096bb8 100644 --- a/examples/container_engine.py +++ b/examples/container_engine.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import print_function import oci diff --git a/examples/dns_service_example.py b/examples/dns_service_example.py index 76ca157e47..e8ce45be67 100644 --- a/examples/dns_service_example.py +++ b/examples/dns_service_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides a basic example of how to use the DNS service in the Python SDK. This script accepts two # arguments: diff --git a/examples/email_service_example.py b/examples/email_service_example.py index 8edba7896c..3fccb6e092 100644 --- a/examples/email_service_example.py +++ b/examples/email_service_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides a basic example of how to use the Email Service in the Python SDK. This script accepts two # will demonstrate: diff --git a/examples/file_storage_example.py b/examples/file_storage_example.py index caaadb2cd5..1b7ecdf390 100644 --- a/examples/file_storage_example.py +++ b/examples/file_storage_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides a basic example of how to use the File Storage service in the Python SDK. This script accepts two # arguments: diff --git a/examples/get_all_instance_ip_addresses_and_dns_info.py b/examples/get_all_instance_ip_addresses_and_dns_info.py index e93e4a68d7..90e21371b5 100644 --- a/examples/get_all_instance_ip_addresses_and_dns_info.py +++ b/examples/get_all_instance_ip_addresses_and_dns_info.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides an example of retrieving the IP addresses (private and public) and the fully qualified # domain names for an instance. diff --git a/examples/instance_principals_examples.py b/examples/instance_principals_examples.py index d41e4b8792..b2e1f211c5 100644 --- a/examples/instance_principals_examples.py +++ b/examples/instance_principals_examples.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci diff --git a/examples/launch_db_system_example.py b/examples/launch_db_system_example.py index b4da24e108..4994bd4292 100644 --- a/examples/launch_db_system_example.py +++ b/examples/launch_db_system_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides a basic example of how to launch a DB system using the Python SDK. This script will: # diff --git a/examples/launch_instance_example.py b/examples/launch_instance_example.py index 7fecde6df7..d5913fa219 100644 --- a/examples/launch_instance_example.py +++ b/examples/launch_instance_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides a basic example of how to launch an instance using the Python SDK. This script will: # diff --git a/examples/launch_instance_pv_encryption_intransit_example.py b/examples/launch_instance_pv_encryption_intransit_example.py index b60b2c9eea..a689c4da9e 100755 --- a/examples/launch_instance_pv_encryption_intransit_example.py +++ b/examples/launch_instance_pv_encryption_intransit_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides a basic example of how to launch an instance with pvEncryptionInTransit on using the Python SDK. # This script will: diff --git a/examples/load_balancer_path_route_sets_example.py b/examples/load_balancer_path_route_sets_example.py index c75a666772..ed9bf5a7c7 100644 --- a/examples/load_balancer_path_route_sets_example.py +++ b/examples/load_balancer_path_route_sets_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides a basic example on how to work with path route sets on a load balancer by: # diff --git a/examples/multipart_object_upload.py b/examples/multipart_object_upload.py index cd8bbecbba..5aa786300a 100644 --- a/examples/multipart_object_upload.py +++ b/examples/multipart_object_upload.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import print_function import os diff --git a/examples/object_crud.py b/examples/object_crud.py index b43e8f35be..515b839e00 100644 --- a/examples/object_crud.py +++ b/examples/object_crud.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import filecmp import oci diff --git a/examples/object_storage_archive_example.py b/examples/object_storage_archive_example.py index a3d3a80c4c..3961888460 100644 --- a/examples/object_storage_archive_example.py +++ b/examples/object_storage_archive_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides a basic example of how to use archive storage in the Object Storage service. This example # will create an archive storage bucket and demonstrate putting and restoring objects. diff --git a/examples/object_storage_bucket_tagging_example.py b/examples/object_storage_bucket_tagging_example.py index bd627bf75e..747e51bbb7 100644 --- a/examples/object_storage_bucket_tagging_example.py +++ b/examples/object_storage_bucket_tagging_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides a basic example of how to tag buckets in Object Storage. # This script accepts four arguments: diff --git a/examples/pagination.py b/examples/pagination.py index bb14b75b09..6d1f1e398b 100644 --- a/examples/pagination.py +++ b/examples/pagination.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script demonstrates different methods of pagination in the SDK via the oci.pagination module. This module supports: # diff --git a/examples/parallel_upload_to_object_storage.py b/examples/parallel_upload_to_object_storage.py index 4a3b0b4a36..a2afa82b88 100644 --- a/examples/parallel_upload_to_object_storage.py +++ b/examples/parallel_upload_to_object_storage.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # Uploads all files from a local directory to an object storage bucket # using multiple processes so that the uploads are done in parallel. diff --git a/examples/raw_request.py b/examples/raw_request.py index e1c21195cf..68438a9819 100644 --- a/examples/raw_request.py +++ b/examples/raw_request.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import requests from oci.config import from_file diff --git a/examples/remote_peering_connection_example.py b/examples/remote_peering_connection_example.py index 0ecbd17770..10a30add9d 100644 --- a/examples/remote_peering_connection_example.py +++ b/examples/remote_peering_connection_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides a basic example of how to use use the Python SDK to create a remote peering of two virtual cloud networks # between two different regions within a single compartment. diff --git a/examples/reserved_public_ip_example.py b/examples/reserved_public_ip_example.py index 0e01683b11..9c50530c50 100644 --- a/examples/reserved_public_ip_example.py +++ b/examples/reserved_public_ip_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides a basic example on how to work with reserved and ephemeral public IPs in the Python SDK by: # diff --git a/examples/retries.py b/examples/retries.py index e855bc4fd1..69891c3a60 100644 --- a/examples/retries.py +++ b/examples/retries.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides a basic example of how to use the retry functionality in the Python SDK when # making calls to Oracle Cloud Infrastructure services. In order to demonstrate this functionality, this script shows diff --git a/examples/retrieve_audit_events.py b/examples/retrieve_audit_events.py index ac5314fa38..f5e022f476 100644 --- a/examples/retrieve_audit_events.py +++ b/examples/retrieve_audit_events.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script retrieves all audit logs across an Oracle Cloud Infrastructure Tenancy. # for a timespan defined by start_time and end_time. diff --git a/examples/search_example.py b/examples/search_example.py index 78bed0a61e..41daee6310 100644 --- a/examples/search_example.py +++ b/examples/search_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This example demonstrates how to programatically retrieve resource types and # query for resources. diff --git a/examples/tagging.py b/examples/tagging.py index b5d4496498..6b4eea8441 100644 --- a/examples/tagging.py +++ b/examples/tagging.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides an example on how to use tagging in the Python SDK to manage tags and tag namespaces, as # well as how to apply freeform and defined tags to a resource. diff --git a/examples/user_crud.py b/examples/user_crud.py index 7fb5799bfe..d25b1aded9 100644 --- a/examples/user_crud.py +++ b/examples/user_crud.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci from oci.identity.models import AddUserToGroupDetails, CreateGroupDetails, CreateUserDetails diff --git a/examples/volume_attachment_example.py b/examples/volume_attachment_example.py index fd6fbbe40a..6eb717d387 100644 --- a/examples/volume_attachment_example.py +++ b/examples/volume_attachment_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This example demonstrates how to attach volumes to an instance using different volume attachment # types. It covers: diff --git a/examples/volume_attachment_pv_encryption_intransit_example.py b/examples/volume_attachment_pv_encryption_intransit_example.py index e5cd0a86da..c1ca9b06b5 100755 --- a/examples/volume_attachment_pv_encryption_intransit_example.py +++ b/examples/volume_attachment_pv_encryption_intransit_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This example demonstrates how to attach a volume to an instance with pvEncryptionInTransit on. # diff --git a/examples/volume_backup_policy_example.py b/examples/volume_backup_policy_example.py index 88ed1c5728..b038dbd722 100644 --- a/examples/volume_backup_policy_example.py +++ b/examples/volume_backup_policy_example.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This example demonstrates how to list and apply backup policies to an existing volume. Note that in order to list and apply backup policies you will need # the appropriate level of access. See the section "Required IAM Policy" on this page: diff --git a/examples/wait_for_resource_in_state.py b/examples/wait_for_resource_in_state.py index 11820a9c3d..0fc1af56c2 100644 --- a/examples/wait_for_resource_in_state.py +++ b/examples/wait_for_resource_in_state.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # This script provides an example on how to use waiters in the Python SDK to block/wait until a resource (e.g. an instance, a VCN) # reaches a certain state. diff --git a/scripts/wercker_validate.py b/scripts/wercker_validate.py index f91c045733..e20ba7d098 100644 --- a/scripts/wercker_validate.py +++ b/scripts/wercker_validate.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # A very basic script that can be run at the end of a wercker build to ensure that the SDK can be imported # and used to make a call. This uses dummy values so the intended behaviour is that the call will fail diff --git a/src/oci/__init__.py b/src/oci/__init__.py index a6520243a5..8f26cc3bf2 100644 --- a/src/oci/__init__.py +++ b/src/oci/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from . import audit, container_engine, core, database, dns, email, file_storage, identity, key_management, load_balancer, object_storage, resource_search from . import auth, config, constants, decorators, exceptions, regions, pagination, retry, fips diff --git a/src/oci/_vendor/chardet/__init__.py b/src/oci/_vendor/chardet/__init__.py index e8d41d6fbc..1c57f23486 100644 --- a/src/oci/_vendor/chardet/__init__.py +++ b/src/oci/_vendor/chardet/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet ######################## BEGIN LICENSE BLOCK ######################## diff --git a/src/oci/_vendor/chardet/big5freq.py b/src/oci/_vendor/chardet/big5freq.py index 2b80bcd87a..c625328fb6 100644 --- a/src/oci/_vendor/chardet/big5freq.py +++ b/src/oci/_vendor/chardet/big5freq.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet # Big5 frequency table diff --git a/src/oci/_vendor/chardet/big5prober.py b/src/oci/_vendor/chardet/big5prober.py index ddc3608f02..e80f990045 100644 --- a/src/oci/_vendor/chardet/big5prober.py +++ b/src/oci/_vendor/chardet/big5prober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .mbcharsetprober import MultiByteCharSetProber diff --git a/src/oci/_vendor/chardet/chardistribution.py b/src/oci/_vendor/chardet/chardistribution.py index d942bcc707..120b491352 100644 --- a/src/oci/_vendor/chardet/chardistribution.py +++ b/src/oci/_vendor/chardet/chardistribution.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .euctwfreq import (EUCTW_CHAR_TO_FREQ_ORDER, EUCTW_TABLE_SIZE, diff --git a/src/oci/_vendor/chardet/charsetgroupprober.py b/src/oci/_vendor/chardet/charsetgroupprober.py index cf81b5bde0..fcfb10a8ab 100644 --- a/src/oci/_vendor/chardet/charsetgroupprober.py +++ b/src/oci/_vendor/chardet/charsetgroupprober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .enums import ProbingState diff --git a/src/oci/_vendor/chardet/charsetprober.py b/src/oci/_vendor/chardet/charsetprober.py index eceb8dd572..d5d75b64a3 100644 --- a/src/oci/_vendor/chardet/charsetprober.py +++ b/src/oci/_vendor/chardet/charsetprober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet import logging diff --git a/src/oci/_vendor/chardet/codingstatemachine.py b/src/oci/_vendor/chardet/codingstatemachine.py index 1149c91985..08a8fa222e 100644 --- a/src/oci/_vendor/chardet/codingstatemachine.py +++ b/src/oci/_vendor/chardet/codingstatemachine.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet import logging diff --git a/src/oci/_vendor/chardet/compat.py b/src/oci/_vendor/chardet/compat.py index 1d4abf85bd..547d344a72 100644 --- a/src/oci/_vendor/chardet/compat.py +++ b/src/oci/_vendor/chardet/compat.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet ######################## BEGIN LICENSE BLOCK ######################## diff --git a/src/oci/_vendor/chardet/cp949prober.py b/src/oci/_vendor/chardet/cp949prober.py index f97235d437..e87f6f8b1d 100644 --- a/src/oci/_vendor/chardet/cp949prober.py +++ b/src/oci/_vendor/chardet/cp949prober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .chardistribution import EUCKRDistributionAnalysis diff --git a/src/oci/_vendor/chardet/enums.py b/src/oci/_vendor/chardet/enums.py index e06176e2f9..359e6aac0d 100644 --- a/src/oci/_vendor/chardet/enums.py +++ b/src/oci/_vendor/chardet/enums.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet """ diff --git a/src/oci/_vendor/chardet/escprober.py b/src/oci/_vendor/chardet/escprober.py index fd5315a253..a9bf3088de 100644 --- a/src/oci/_vendor/chardet/escprober.py +++ b/src/oci/_vendor/chardet/escprober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .charsetprober import CharSetProber diff --git a/src/oci/_vendor/chardet/escsm.py b/src/oci/_vendor/chardet/escsm.py index 3d211a3f2b..dd6265e128 100644 --- a/src/oci/_vendor/chardet/escsm.py +++ b/src/oci/_vendor/chardet/escsm.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .enums import MachineState diff --git a/src/oci/_vendor/chardet/eucjpprober.py b/src/oci/_vendor/chardet/eucjpprober.py index 9a607ac975..d4a6d65319 100644 --- a/src/oci/_vendor/chardet/eucjpprober.py +++ b/src/oci/_vendor/chardet/eucjpprober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .enums import ProbingState, MachineState diff --git a/src/oci/_vendor/chardet/euckrfreq.py b/src/oci/_vendor/chardet/euckrfreq.py index 2a311b3db0..b9169eb552 100644 --- a/src/oci/_vendor/chardet/euckrfreq.py +++ b/src/oci/_vendor/chardet/euckrfreq.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet # Sampling from about 20M text materials include literature and computer technology diff --git a/src/oci/_vendor/chardet/euckrprober.py b/src/oci/_vendor/chardet/euckrprober.py index 4f8e63ac23..967c1f95bc 100644 --- a/src/oci/_vendor/chardet/euckrprober.py +++ b/src/oci/_vendor/chardet/euckrprober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .mbcharsetprober import MultiByteCharSetProber diff --git a/src/oci/_vendor/chardet/euctwfreq.py b/src/oci/_vendor/chardet/euctwfreq.py index ddfab6821e..6f372b2b4c 100644 --- a/src/oci/_vendor/chardet/euctwfreq.py +++ b/src/oci/_vendor/chardet/euctwfreq.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet # EUCTW frequency table diff --git a/src/oci/_vendor/chardet/euctwprober.py b/src/oci/_vendor/chardet/euctwprober.py index 6cdbed7054..6a059d5e67 100644 --- a/src/oci/_vendor/chardet/euctwprober.py +++ b/src/oci/_vendor/chardet/euctwprober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .mbcharsetprober import MultiByteCharSetProber diff --git a/src/oci/_vendor/chardet/gb2312freq.py b/src/oci/_vendor/chardet/gb2312freq.py index b2dcce1376..bb957800b1 100644 --- a/src/oci/_vendor/chardet/gb2312freq.py +++ b/src/oci/_vendor/chardet/gb2312freq.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet # GB2312 most frequently used character table diff --git a/src/oci/_vendor/chardet/gb2312prober.py b/src/oci/_vendor/chardet/gb2312prober.py index 92f11283c2..d6258f9a95 100644 --- a/src/oci/_vendor/chardet/gb2312prober.py +++ b/src/oci/_vendor/chardet/gb2312prober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .mbcharsetprober import MultiByteCharSetProber diff --git a/src/oci/_vendor/chardet/hebrewprober.py b/src/oci/_vendor/chardet/hebrewprober.py index 4850b5dec6..fbe3de8563 100644 --- a/src/oci/_vendor/chardet/hebrewprober.py +++ b/src/oci/_vendor/chardet/hebrewprober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .charsetprober import CharSetProber diff --git a/src/oci/_vendor/chardet/jisfreq.py b/src/oci/_vendor/chardet/jisfreq.py index e44d365ec4..dc6ab82aac 100644 --- a/src/oci/_vendor/chardet/jisfreq.py +++ b/src/oci/_vendor/chardet/jisfreq.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet # Sampling from about 20M text materials include literature and computer technology diff --git a/src/oci/_vendor/chardet/jpcntx.py b/src/oci/_vendor/chardet/jpcntx.py index baad72155d..541f9fc1db 100644 --- a/src/oci/_vendor/chardet/jpcntx.py +++ b/src/oci/_vendor/chardet/jpcntx.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet diff --git a/src/oci/_vendor/chardet/langbulgarianmodel.py b/src/oci/_vendor/chardet/langbulgarianmodel.py index ea13fa53a8..780f4762b0 100644 --- a/src/oci/_vendor/chardet/langbulgarianmodel.py +++ b/src/oci/_vendor/chardet/langbulgarianmodel.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet # 255: Control characters that usually does not exist in any text diff --git a/src/oci/_vendor/chardet/langcyrillicmodel.py b/src/oci/_vendor/chardet/langcyrillicmodel.py index 34ad4d6e5a..1b8012c664 100644 --- a/src/oci/_vendor/chardet/langcyrillicmodel.py +++ b/src/oci/_vendor/chardet/langcyrillicmodel.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet # KOI8-R language model diff --git a/src/oci/_vendor/chardet/langgreekmodel.py b/src/oci/_vendor/chardet/langgreekmodel.py index 742dcc12be..11f92faeca 100644 --- a/src/oci/_vendor/chardet/langgreekmodel.py +++ b/src/oci/_vendor/chardet/langgreekmodel.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet # 255: Control characters that usually does not exist in any text diff --git a/src/oci/_vendor/chardet/langhebrewmodel.py b/src/oci/_vendor/chardet/langhebrewmodel.py index c5232d5671..2ff8c347f1 100644 --- a/src/oci/_vendor/chardet/langhebrewmodel.py +++ b/src/oci/_vendor/chardet/langhebrewmodel.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet # 255: Control characters that usually does not exist in any text diff --git a/src/oci/_vendor/chardet/langhungarianmodel.py b/src/oci/_vendor/chardet/langhungarianmodel.py index 74b251e26d..2d64d8eddc 100644 --- a/src/oci/_vendor/chardet/langhungarianmodel.py +++ b/src/oci/_vendor/chardet/langhungarianmodel.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet # 255: Control characters that usually does not exist in any text diff --git a/src/oci/_vendor/chardet/langthaimodel.py b/src/oci/_vendor/chardet/langthaimodel.py index 084c4b9313..be8855d6a6 100644 --- a/src/oci/_vendor/chardet/langthaimodel.py +++ b/src/oci/_vendor/chardet/langthaimodel.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet # 255: Control characters that usually does not exist in any text diff --git a/src/oci/_vendor/chardet/langturkishmodel.py b/src/oci/_vendor/chardet/langturkishmodel.py index 67b90b717f..40f5b5ac00 100644 --- a/src/oci/_vendor/chardet/langturkishmodel.py +++ b/src/oci/_vendor/chardet/langturkishmodel.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet # 255: Control characters that usually does not exist in any text diff --git a/src/oci/_vendor/chardet/latin1prober.py b/src/oci/_vendor/chardet/latin1prober.py index 41aa057db7..5f5e757a2c 100644 --- a/src/oci/_vendor/chardet/latin1prober.py +++ b/src/oci/_vendor/chardet/latin1prober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .charsetprober import CharSetProber diff --git a/src/oci/_vendor/chardet/mbcharsetprober.py b/src/oci/_vendor/chardet/mbcharsetprober.py index 5601afd358..adf1ed6a39 100644 --- a/src/oci/_vendor/chardet/mbcharsetprober.py +++ b/src/oci/_vendor/chardet/mbcharsetprober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .charsetprober import CharSetProber diff --git a/src/oci/_vendor/chardet/mbcsgroupprober.py b/src/oci/_vendor/chardet/mbcsgroupprober.py index 919f3f07f1..77274efb4c 100644 --- a/src/oci/_vendor/chardet/mbcsgroupprober.py +++ b/src/oci/_vendor/chardet/mbcsgroupprober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .charsetgroupprober import CharSetGroupProber diff --git a/src/oci/_vendor/chardet/mbcssm.py b/src/oci/_vendor/chardet/mbcssm.py index 32b8b2695a..64c5e16cda 100644 --- a/src/oci/_vendor/chardet/mbcssm.py +++ b/src/oci/_vendor/chardet/mbcssm.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .enums import MachineState diff --git a/src/oci/_vendor/chardet/sbcharsetprober.py b/src/oci/_vendor/chardet/sbcharsetprober.py index a2cd991062..f9c4ffc29d 100644 --- a/src/oci/_vendor/chardet/sbcharsetprober.py +++ b/src/oci/_vendor/chardet/sbcharsetprober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .charsetprober import CharSetProber diff --git a/src/oci/_vendor/chardet/sbcsgroupprober.py b/src/oci/_vendor/chardet/sbcsgroupprober.py index 6f9a759026..5e761ef564 100644 --- a/src/oci/_vendor/chardet/sbcsgroupprober.py +++ b/src/oci/_vendor/chardet/sbcsgroupprober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .charsetgroupprober import CharSetGroupProber diff --git a/src/oci/_vendor/chardet/sjisprober.py b/src/oci/_vendor/chardet/sjisprober.py index 4d2f73d7a8..d1b292fd02 100644 --- a/src/oci/_vendor/chardet/sjisprober.py +++ b/src/oci/_vendor/chardet/sjisprober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .mbcharsetprober import MultiByteCharSetProber diff --git a/src/oci/_vendor/chardet/universaldetector.py b/src/oci/_vendor/chardet/universaldetector.py index 4e54746a15..ac4992b4a4 100644 --- a/src/oci/_vendor/chardet/universaldetector.py +++ b/src/oci/_vendor/chardet/universaldetector.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet """ diff --git a/src/oci/_vendor/chardet/utf8prober.py b/src/oci/_vendor/chardet/utf8prober.py index 0f9506e077..d5867c13c4 100644 --- a/src/oci/_vendor/chardet/utf8prober.py +++ b/src/oci/_vendor/chardet/utf8prober.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet from .charsetprober import CharSetProber diff --git a/src/oci/_vendor/chardet/version.py b/src/oci/_vendor/chardet/version.py index b15b806158..e493a5a8df 100644 --- a/src/oci/_vendor/chardet/version.py +++ b/src/oci/_vendor/chardet/version.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet """ diff --git a/src/oci/_vendor/httpsig_cffi/__init__.py b/src/oci/_vendor/httpsig_cffi/__init__.py index 4f4c35e06c..00b0dd36e1 100644 --- a/src/oci/_vendor/httpsig_cffi/__init__.py +++ b/src/oci/_vendor/httpsig_cffi/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2014 Adam Knight # Original Work: Copyright (c) 2012 Adam T. Lindsay (original author) diff --git a/src/oci/_vendor/httpsig_cffi/requests_auth.py b/src/oci/_vendor/httpsig_cffi/requests_auth.py index a26d75d2e5..6fd737c30e 100644 --- a/src/oci/_vendor/httpsig_cffi/requests_auth.py +++ b/src/oci/_vendor/httpsig_cffi/requests_auth.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2014 Adam Knight # Original Work: Copyright (c) 2012 Adam T. Lindsay (original author) diff --git a/src/oci/_vendor/httpsig_cffi/sign.py b/src/oci/_vendor/httpsig_cffi/sign.py index 669cd6d5b4..162dcbcc98 100644 --- a/src/oci/_vendor/httpsig_cffi/sign.py +++ b/src/oci/_vendor/httpsig_cffi/sign.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2014 Adam Knight # Original Work: Copyright (c) 2012 Adam T. Lindsay (original author) diff --git a/src/oci/_vendor/httpsig_cffi/utils.py b/src/oci/_vendor/httpsig_cffi/utils.py index 5385856875..1adfc4f88e 100644 --- a/src/oci/_vendor/httpsig_cffi/utils.py +++ b/src/oci/_vendor/httpsig_cffi/utils.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2014 Adam Knight # Original Work: Copyright (c) 2012 Adam T. Lindsay (original author) diff --git a/src/oci/_vendor/httpsig_cffi/verify.py b/src/oci/_vendor/httpsig_cffi/verify.py index f94fe325bb..5dd88a59b7 100644 --- a/src/oci/_vendor/httpsig_cffi/verify.py +++ b/src/oci/_vendor/httpsig_cffi/verify.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2014 Adam Knight # Original Work: Copyright (c) 2012 Adam T. Lindsay (original author) diff --git a/src/oci/_vendor/idna/__init__.py b/src/oci/_vendor/idna/__init__.py index 0bc4427fa5..74934b611a 100644 --- a/src/oci/_vendor/idna/__init__.py +++ b/src/oci/_vendor/idna/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2013-2018, Kim Davies. All rights reserved. from .package_data import __version__ diff --git a/src/oci/_vendor/idna/codec.py b/src/oci/_vendor/idna/codec.py index a1c46957fb..a70175a197 100644 --- a/src/oci/_vendor/idna/codec.py +++ b/src/oci/_vendor/idna/codec.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2013-2018, Kim Davies. All rights reserved. from .core import encode, decode, alabel, ulabel, IDNAError diff --git a/src/oci/_vendor/idna/compat.py b/src/oci/_vendor/idna/compat.py index 8005b34056..f75e834602 100644 --- a/src/oci/_vendor/idna/compat.py +++ b/src/oci/_vendor/idna/compat.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2013-2018, Kim Davies. All rights reserved. from .core import * diff --git a/src/oci/_vendor/idna/core.py b/src/oci/_vendor/idna/core.py index 2361f10208..99b876b92b 100644 --- a/src/oci/_vendor/idna/core.py +++ b/src/oci/_vendor/idna/core.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2013-2018, Kim Davies. All rights reserved. from . import idnadata diff --git a/src/oci/_vendor/idna/idnadata.py b/src/oci/_vendor/idna/idnadata.py index 7bccaceafd..c2f7e2d76c 100644 --- a/src/oci/_vendor/idna/idnadata.py +++ b/src/oci/_vendor/idna/idnadata.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2013-2018, Kim Davies. All rights reserved. # This file is automatically generated by tools/idna-data diff --git a/src/oci/_vendor/idna/intranges.py b/src/oci/_vendor/idna/intranges.py index 12c9c73005..0685764594 100644 --- a/src/oci/_vendor/idna/intranges.py +++ b/src/oci/_vendor/idna/intranges.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2013-2018, Kim Davies. All rights reserved. """ diff --git a/src/oci/_vendor/idna/package_data.py b/src/oci/_vendor/idna/package_data.py index 956df6369b..4e1cf76a00 100644 --- a/src/oci/_vendor/idna/package_data.py +++ b/src/oci/_vendor/idna/package_data.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2013-2018, Kim Davies. All rights reserved. __version__ = '2.6' diff --git a/src/oci/_vendor/idna/uts46data.py b/src/oci/_vendor/idna/uts46data.py index 28fbd09ada..a69f6ebece 100644 --- a/src/oci/_vendor/idna/uts46data.py +++ b/src/oci/_vendor/idna/uts46data.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2013-2018, Kim Davies. All rights reserved. # This file is automatically generated by tools/idna-data diff --git a/src/oci/_vendor/jwt/__init__.py b/src/oci/_vendor/jwt/__init__.py index 7332498f52..52f6b434e3 100644 --- a/src/oci/_vendor/jwt/__init__.py +++ b/src/oci/_vendor/jwt/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2015 José Padilla # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/jwt/__main__.py b/src/oci/_vendor/jwt/__main__.py index da846d0975..0bf718332a 100644 --- a/src/oci/_vendor/jwt/__main__.py +++ b/src/oci/_vendor/jwt/__main__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2015 José Padilla #!/usr/bin/env python diff --git a/src/oci/_vendor/jwt/algorithms.py b/src/oci/_vendor/jwt/algorithms.py index 1eb16f4e4d..aae67f64d5 100644 --- a/src/oci/_vendor/jwt/algorithms.py +++ b/src/oci/_vendor/jwt/algorithms.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2015 José Padilla import hashlib diff --git a/src/oci/_vendor/jwt/api_jws.py b/src/oci/_vendor/jwt/api_jws.py index 8c66b46d49..69fb62d6ce 100644 --- a/src/oci/_vendor/jwt/api_jws.py +++ b/src/oci/_vendor/jwt/api_jws.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2015 José Padilla import binascii diff --git a/src/oci/_vendor/jwt/api_jwt.py b/src/oci/_vendor/jwt/api_jwt.py index 041213b7c1..6939b066fe 100644 --- a/src/oci/_vendor/jwt/api_jwt.py +++ b/src/oci/_vendor/jwt/api_jwt.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2015 José Padilla import json diff --git a/src/oci/_vendor/jwt/compat.py b/src/oci/_vendor/jwt/compat.py index 1dee1e2b93..dd38bcfe7c 100644 --- a/src/oci/_vendor/jwt/compat.py +++ b/src/oci/_vendor/jwt/compat.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2015 José Padilla """ diff --git a/src/oci/_vendor/jwt/exceptions.py b/src/oci/_vendor/jwt/exceptions.py index d7ea4841df..c52028a4d0 100644 --- a/src/oci/_vendor/jwt/exceptions.py +++ b/src/oci/_vendor/jwt/exceptions.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2015 José Padilla class InvalidTokenError(Exception): diff --git a/src/oci/_vendor/jwt/utils.py b/src/oci/_vendor/jwt/utils.py index fb3ef3a99e..8f72e12e0a 100644 --- a/src/oci/_vendor/jwt/utils.py +++ b/src/oci/_vendor/jwt/utils.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Original Work: Copyright (c) 2015 José Padilla import base64 diff --git a/src/oci/_vendor/requests/__init__.py b/src/oci/_vendor/requests/__init__.py index c2e458aab1..4edbfd32ce 100644 --- a/src/oci/_vendor/requests/__init__.py +++ b/src/oci/_vendor/requests/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/requests/__version__.py b/src/oci/_vendor/requests/__version__.py index 939174103a..5c157caa7d 100644 --- a/src/oci/_vendor/requests/__version__.py +++ b/src/oci/_vendor/requests/__version__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # .-. .-. .-. . . .-. .-. .-. .-. diff --git a/src/oci/_vendor/requests/_internal_utils.py b/src/oci/_vendor/requests/_internal_utils.py index cc1a5f75df..12ced99444 100644 --- a/src/oci/_vendor/requests/_internal_utils.py +++ b/src/oci/_vendor/requests/_internal_utils.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/requests/adapters.py b/src/oci/_vendor/requests/adapters.py index fa01a16461..2cceb169d4 100644 --- a/src/oci/_vendor/requests/adapters.py +++ b/src/oci/_vendor/requests/adapters.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/requests/api.py b/src/oci/_vendor/requests/api.py index b247e26476..e9aca70587 100644 --- a/src/oci/_vendor/requests/api.py +++ b/src/oci/_vendor/requests/api.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/requests/auth.py b/src/oci/_vendor/requests/auth.py index 4b1c88933d..cc1e9049d8 100644 --- a/src/oci/_vendor/requests/auth.py +++ b/src/oci/_vendor/requests/auth.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/requests/certs.py b/src/oci/_vendor/requests/certs.py index a1f9bf3892..ce0ab2ea4c 100644 --- a/src/oci/_vendor/requests/certs.py +++ b/src/oci/_vendor/requests/certs.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz #!/usr/bin/env python diff --git a/src/oci/_vendor/requests/compat.py b/src/oci/_vendor/requests/compat.py index 20f9b96aad..3789cf87b1 100644 --- a/src/oci/_vendor/requests/compat.py +++ b/src/oci/_vendor/requests/compat.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/requests/cookies.py b/src/oci/_vendor/requests/cookies.py index f8af43ccc0..c0656b2aed 100644 --- a/src/oci/_vendor/requests/cookies.py +++ b/src/oci/_vendor/requests/cookies.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/requests/exceptions.py b/src/oci/_vendor/requests/exceptions.py index 46e721a6d5..b4acb5493f 100644 --- a/src/oci/_vendor/requests/exceptions.py +++ b/src/oci/_vendor/requests/exceptions.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/requests/help.py b/src/oci/_vendor/requests/help.py index 6edf301de2..422c6a13c4 100644 --- a/src/oci/_vendor/requests/help.py +++ b/src/oci/_vendor/requests/help.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz """Module containing bug report helper(s).""" diff --git a/src/oci/_vendor/requests/hooks.py b/src/oci/_vendor/requests/hooks.py index 029dc321c3..9d818e9ea1 100644 --- a/src/oci/_vendor/requests/hooks.py +++ b/src/oci/_vendor/requests/hooks.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/requests/models.py b/src/oci/_vendor/requests/models.py index ddb2107af5..53c2b86233 100644 --- a/src/oci/_vendor/requests/models.py +++ b/src/oci/_vendor/requests/models.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/requests/packages.py b/src/oci/_vendor/requests/packages.py index 7814486cb4..75bc47506b 100644 --- a/src/oci/_vendor/requests/packages.py +++ b/src/oci/_vendor/requests/packages.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz import sys diff --git a/src/oci/_vendor/requests/sessions.py b/src/oci/_vendor/requests/sessions.py index ad3514931b..ea7546d87e 100644 --- a/src/oci/_vendor/requests/sessions.py +++ b/src/oci/_vendor/requests/sessions.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/requests/status_codes.py b/src/oci/_vendor/requests/status_codes.py index 92fdd3f319..9f2e32bbd6 100644 --- a/src/oci/_vendor/requests/status_codes.py +++ b/src/oci/_vendor/requests/status_codes.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/requests/structures.py b/src/oci/_vendor/requests/structures.py index 6f027a0aa8..24abc29d5a 100644 --- a/src/oci/_vendor/requests/structures.py +++ b/src/oci/_vendor/requests/structures.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/requests/utils.py b/src/oci/_vendor/requests/utils.py index 8c0bde9182..b41d0d0cfd 100644 --- a/src/oci/_vendor/requests/utils.py +++ b/src/oci/_vendor/requests/utils.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2018 Kenneth Reitz # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/urllib3/__init__.py b/src/oci/_vendor/urllib3/__init__.py index 3fa0501cdd..717391302b 100644 --- a/src/oci/_vendor/urllib3/__init__.py +++ b/src/oci/_vendor/urllib3/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors """ diff --git a/src/oci/_vendor/urllib3/_collections.py b/src/oci/_vendor/urllib3/_collections.py index ac05f75ac4..7f2c19e04a 100644 --- a/src/oci/_vendor/urllib3/_collections.py +++ b/src/oci/_vendor/urllib3/_collections.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/connection.py b/src/oci/_vendor/urllib3/connection.py index 3c0f069187..cb4017540c 100644 --- a/src/oci/_vendor/urllib3/connection.py +++ b/src/oci/_vendor/urllib3/connection.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/connectionpool.py b/src/oci/_vendor/urllib3/connectionpool.py index 13fbfbf43c..23fd9757df 100644 --- a/src/oci/_vendor/urllib3/connectionpool.py +++ b/src/oci/_vendor/urllib3/connectionpool.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/contrib/__init__.py b/src/oci/_vendor/urllib3/contrib/__init__.py index 7a65fd623c..67316028c0 100644 --- a/src/oci/_vendor/urllib3/contrib/__init__.py +++ b/src/oci/_vendor/urllib3/contrib/__init__.py @@ -1,4 +1,4 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors diff --git a/src/oci/_vendor/urllib3/contrib/_securetransport/__init__.py b/src/oci/_vendor/urllib3/contrib/_securetransport/__init__.py index 7a65fd623c..67316028c0 100644 --- a/src/oci/_vendor/urllib3/contrib/_securetransport/__init__.py +++ b/src/oci/_vendor/urllib3/contrib/_securetransport/__init__.py @@ -1,4 +1,4 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors diff --git a/src/oci/_vendor/urllib3/contrib/_securetransport/bindings.py b/src/oci/_vendor/urllib3/contrib/_securetransport/bindings.py index f2f0262846..714d121508 100644 --- a/src/oci/_vendor/urllib3/contrib/_securetransport/bindings.py +++ b/src/oci/_vendor/urllib3/contrib/_securetransport/bindings.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors """ diff --git a/src/oci/_vendor/urllib3/contrib/_securetransport/low_level.py b/src/oci/_vendor/urllib3/contrib/_securetransport/low_level.py index 348dd6ab3c..c4785a8e32 100644 --- a/src/oci/_vendor/urllib3/contrib/_securetransport/low_level.py +++ b/src/oci/_vendor/urllib3/contrib/_securetransport/low_level.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors """ diff --git a/src/oci/_vendor/urllib3/contrib/appengine.py b/src/oci/_vendor/urllib3/contrib/appengine.py index a511dae918..e017569415 100644 --- a/src/oci/_vendor/urllib3/contrib/appengine.py +++ b/src/oci/_vendor/urllib3/contrib/appengine.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors """ diff --git a/src/oci/_vendor/urllib3/contrib/ntlmpool.py b/src/oci/_vendor/urllib3/contrib/ntlmpool.py index 0e26833b33..14507233b4 100644 --- a/src/oci/_vendor/urllib3/contrib/ntlmpool.py +++ b/src/oci/_vendor/urllib3/contrib/ntlmpool.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors """ diff --git a/src/oci/_vendor/urllib3/contrib/pyopenssl.py b/src/oci/_vendor/urllib3/contrib/pyopenssl.py index 6e8132ea7b..b594c06028 100644 --- a/src/oci/_vendor/urllib3/contrib/pyopenssl.py +++ b/src/oci/_vendor/urllib3/contrib/pyopenssl.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors """ diff --git a/src/oci/_vendor/urllib3/contrib/securetransport.py b/src/oci/_vendor/urllib3/contrib/securetransport.py index 0e94d2be19..9e7cdf867d 100644 --- a/src/oci/_vendor/urllib3/contrib/securetransport.py +++ b/src/oci/_vendor/urllib3/contrib/securetransport.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors """ diff --git a/src/oci/_vendor/urllib3/contrib/socks.py b/src/oci/_vendor/urllib3/contrib/socks.py index e4554a40e7..6d3bf1443d 100644 --- a/src/oci/_vendor/urllib3/contrib/socks.py +++ b/src/oci/_vendor/urllib3/contrib/socks.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/urllib3/exceptions.py b/src/oci/_vendor/urllib3/exceptions.py index 734a2f10dc..083606ed93 100644 --- a/src/oci/_vendor/urllib3/exceptions.py +++ b/src/oci/_vendor/urllib3/exceptions.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/fields.py b/src/oci/_vendor/urllib3/fields.py index 5882a102b0..8e3774d654 100644 --- a/src/oci/_vendor/urllib3/fields.py +++ b/src/oci/_vendor/urllib3/fields.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/filepost.py b/src/oci/_vendor/urllib3/filepost.py index a62572fca4..a5a9c49700 100644 --- a/src/oci/_vendor/urllib3/filepost.py +++ b/src/oci/_vendor/urllib3/filepost.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/packages/__init__.py b/src/oci/_vendor/urllib3/packages/__init__.py index b42154b93f..760993ce7e 100644 --- a/src/oci/_vendor/urllib3/packages/__init__.py +++ b/src/oci/_vendor/urllib3/packages/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/packages/backports/__init__.py b/src/oci/_vendor/urllib3/packages/backports/__init__.py index 7a65fd623c..67316028c0 100644 --- a/src/oci/_vendor/urllib3/packages/backports/__init__.py +++ b/src/oci/_vendor/urllib3/packages/backports/__init__.py @@ -1,4 +1,4 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors diff --git a/src/oci/_vendor/urllib3/packages/backports/makefile.py b/src/oci/_vendor/urllib3/packages/backports/makefile.py index da880df939..d921346d5e 100644 --- a/src/oci/_vendor/urllib3/packages/backports/makefile.py +++ b/src/oci/_vendor/urllib3/packages/backports/makefile.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors # -*- coding: utf-8 -*- diff --git a/src/oci/_vendor/urllib3/packages/ordered_dict.py b/src/oci/_vendor/urllib3/packages/ordered_dict.py index 2a2b5a3f43..cd18005991 100644 --- a/src/oci/_vendor/urllib3/packages/ordered_dict.py +++ b/src/oci/_vendor/urllib3/packages/ordered_dict.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors try: diff --git a/src/oci/_vendor/urllib3/packages/six.py b/src/oci/_vendor/urllib3/packages/six.py index aaf4dc7fbe..ac93d76770 100644 --- a/src/oci/_vendor/urllib3/packages/six.py +++ b/src/oci/_vendor/urllib3/packages/six.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors """Utilities for writing code that runs on Python 2 and 3""" diff --git a/src/oci/_vendor/urllib3/packages/ssl_match_hostname/__init__.py b/src/oci/_vendor/urllib3/packages/ssl_match_hostname/__init__.py index eb453ca252..22eca8c114 100644 --- a/src/oci/_vendor/urllib3/packages/ssl_match_hostname/__init__.py +++ b/src/oci/_vendor/urllib3/packages/ssl_match_hostname/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors import sys diff --git a/src/oci/_vendor/urllib3/packages/ssl_match_hostname/_implementation.py b/src/oci/_vendor/urllib3/packages/ssl_match_hostname/_implementation.py index 9bddc2f1d2..163390b6c6 100644 --- a/src/oci/_vendor/urllib3/packages/ssl_match_hostname/_implementation.py +++ b/src/oci/_vendor/urllib3/packages/ssl_match_hostname/_implementation.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors """The match_hostname() function from Python 3.3.3, essential when using SSL.""" diff --git a/src/oci/_vendor/urllib3/poolmanager.py b/src/oci/_vendor/urllib3/poolmanager.py index 84311c9d1b..54ec3a0f27 100644 --- a/src/oci/_vendor/urllib3/poolmanager.py +++ b/src/oci/_vendor/urllib3/poolmanager.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/request.py b/src/oci/_vendor/urllib3/request.py index f67d94da67..5bbe6b9ed5 100644 --- a/src/oci/_vendor/urllib3/request.py +++ b/src/oci/_vendor/urllib3/request.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/response.py b/src/oci/_vendor/urllib3/response.py index 6cf11e7b1c..405b61dac4 100644 --- a/src/oci/_vendor/urllib3/response.py +++ b/src/oci/_vendor/urllib3/response.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/util/__init__.py b/src/oci/_vendor/urllib3/util/__init__.py index cc45edf47e..5238fd614e 100644 --- a/src/oci/_vendor/urllib3/util/__init__.py +++ b/src/oci/_vendor/urllib3/util/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/util/connection.py b/src/oci/_vendor/urllib3/util/connection.py index 6837e927bf..b073818fb6 100644 --- a/src/oci/_vendor/urllib3/util/connection.py +++ b/src/oci/_vendor/urllib3/util/connection.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/util/request.py b/src/oci/_vendor/urllib3/util/request.py index 30f33a9479..8596a7e012 100644 --- a/src/oci/_vendor/urllib3/util/request.py +++ b/src/oci/_vendor/urllib3/util/request.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/util/response.py b/src/oci/_vendor/urllib3/util/response.py index b2357a7691..cf50ac0c67 100644 --- a/src/oci/_vendor/urllib3/util/response.py +++ b/src/oci/_vendor/urllib3/util/response.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/util/retry.py b/src/oci/_vendor/urllib3/util/retry.py index 6477ed2679..15a74f60ed 100644 --- a/src/oci/_vendor/urllib3/util/retry.py +++ b/src/oci/_vendor/urllib3/util/retry.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/util/selectors.py b/src/oci/_vendor/urllib3/util/selectors.py index 6b0cbfc371..1218eacbbb 100644 --- a/src/oci/_vendor/urllib3/util/selectors.py +++ b/src/oci/_vendor/urllib3/util/selectors.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors # Backport of selectors.py from Python 3.5+ to support Python < 3.4 diff --git a/src/oci/_vendor/urllib3/util/ssl_.py b/src/oci/_vendor/urllib3/util/ssl_.py index 949d7c06e5..911d5cdc18 100644 --- a/src/oci/_vendor/urllib3/util/ssl_.py +++ b/src/oci/_vendor/urllib3/util/ssl_.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/util/timeout.py b/src/oci/_vendor/urllib3/util/timeout.py index f44e18b3fb..19e33549bd 100644 --- a/src/oci/_vendor/urllib3/util/timeout.py +++ b/src/oci/_vendor/urllib3/util/timeout.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/util/url.py b/src/oci/_vendor/urllib3/util/url.py index 00e5a83ce8..b33e853895 100644 --- a/src/oci/_vendor/urllib3/util/url.py +++ b/src/oci/_vendor/urllib3/util/url.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from __future__ import absolute_import diff --git a/src/oci/_vendor/urllib3/util/wait.py b/src/oci/_vendor/urllib3/util/wait.py index 5c0d36a9b1..5066750181 100644 --- a/src/oci/_vendor/urllib3/util/wait.py +++ b/src/oci/_vendor/urllib3/util/wait.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. +# Modified Work: Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # Copyright 2008-2016 Andrey Petrov and contributors from .selectors import ( diff --git a/src/oci/audit/__init__.py b/src/oci/audit/__init__.py index f7580effd5..3646df2add 100644 --- a/src/oci/audit/__init__.py +++ b/src/oci/audit/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/audit/audit_client.py b/src/oci/audit/audit_client.py index b327918245..93a89a458a 100644 --- a/src/oci/audit/audit_client.py +++ b/src/oci/audit/audit_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/audit/audit_client_composite_operations.py b/src/oci/audit/audit_client_composite_operations.py index e0d3d25320..16c316f3e0 100644 --- a/src/oci/audit/audit_client_composite_operations.py +++ b/src/oci/audit/audit_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/audit/models/__init__.py b/src/oci/audit/models/__init__.py index 9aafd1ce88..1edcaa253a 100644 --- a/src/oci/audit/models/__init__.py +++ b/src/oci/audit/models/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/audit/models/audit_event.py b/src/oci/audit/models/audit_event.py index f31df662ae..5b525324df 100644 --- a/src/oci/audit/models/audit_event.py +++ b/src/oci/audit/models/audit_event.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/audit/models/configuration.py b/src/oci/audit/models/configuration.py index 1eac095b38..a4aabda568 100644 --- a/src/oci/audit/models/configuration.py +++ b/src/oci/audit/models/configuration.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/audit/models/update_configuration_details.py b/src/oci/audit/models/update_configuration_details.py index 4162adebd8..51fc2b1eaf 100644 --- a/src/oci/audit/models/update_configuration_details.py +++ b/src/oci/audit/models/update_configuration_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/auth/__init__.py b/src/oci/auth/__init__.py index e86a338d14..b4078244bf 100644 --- a/src/oci/auth/__init__.py +++ b/src/oci/auth/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from . import auth_utils # noqa: F401 from . import certificate_retriever # noqa: F401 diff --git a/src/oci/auth/auth_utils.py b/src/oci/auth/auth_utils.py index 9032a24563..0da891bd67 100644 --- a/src/oci/auth/auth_utils.py +++ b/src/oci/auth/auth_utils.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci._vendor import six diff --git a/src/oci/auth/certificate_retriever.py b/src/oci/auth/certificate_retriever.py index a531c5e9b4..75ff54dce8 100644 --- a/src/oci/auth/certificate_retriever.py +++ b/src/oci/auth/certificate_retriever.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from cryptography import x509 from cryptography.hazmat.backends import default_backend diff --git a/src/oci/auth/federation_client.py b/src/oci/auth/federation_client.py index a19cf80402..f1d05f107a 100644 --- a/src/oci/auth/federation_client.py +++ b/src/oci/auth/federation_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from . import auth_utils from .security_token_container import SecurityTokenContainer diff --git a/src/oci/auth/security_token_container.py b/src/oci/auth/security_token_container.py index de92b7f6d3..e33ff1c261 100644 --- a/src/oci/auth/security_token_container.py +++ b/src/oci/auth/security_token_container.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci._vendor.jwt as jwt import time diff --git a/src/oci/auth/session_key_supplier.py b/src/oci/auth/session_key_supplier.py index ac2f84b2c0..0c1aafba7c 100644 --- a/src/oci/auth/session_key_supplier.py +++ b/src/oci/auth/session_key_supplier.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives.asymmetric import rsa diff --git a/src/oci/auth/signers/__init__.py b/src/oci/auth/signers/__init__.py index 73db66c7d3..fea39513ae 100644 --- a/src/oci/auth/signers/__init__.py +++ b/src/oci/auth/signers/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .security_token_signer import SecurityTokenSigner, X509FederationClientBasedSecurityTokenSigner # noqa: F401 from .instance_principals_security_token_signer import InstancePrincipalsSecurityTokenSigner # noqa: F401 diff --git a/src/oci/auth/signers/instance_principals_security_token_signer.py b/src/oci/auth/signers/instance_principals_security_token_signer.py index 0b38f64d45..68e1115206 100644 --- a/src/oci/auth/signers/instance_principals_security_token_signer.py +++ b/src/oci/auth/signers/instance_principals_security_token_signer.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .security_token_signer import X509FederationClientBasedSecurityTokenSigner from ..certificate_retriever import UrlBasedCertificateRetriever, INSTANCE_METADATA_URL_CERTIFICATE_RETRIEVER_RETRY_STRATEGY diff --git a/src/oci/auth/signers/security_token_signer.py b/src/oci/auth/signers/security_token_signer.py index 3076c8cb66..942def2314 100644 --- a/src/oci/auth/signers/security_token_signer.py +++ b/src/oci/auth/signers/security_token_signer.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci.signer import threading diff --git a/src/oci/base_client.py b/src/oci/base_client.py index 902ee9e741..ef458a91a1 100644 --- a/src/oci/base_client.py +++ b/src/oci/base_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import import json diff --git a/src/oci/config.py b/src/oci/config.py index 47851359a1..f51e7cccaf 100644 --- a/src/oci/config.py +++ b/src/oci/config.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. """ Helpers for loading and validating service configuration. diff --git a/src/oci/constants.py b/src/oci/constants.py index 527128e633..69474d307f 100644 --- a/src/oci/constants.py +++ b/src/oci/constants.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. HEADER_NEXT_PAGE = 'opc-next-page' HEADER_REQUEST_ID = 'opc-request-id' diff --git a/src/oci/container_engine/__init__.py b/src/oci/container_engine/__init__.py index 728354bd78..005a8880a4 100644 --- a/src/oci/container_engine/__init__.py +++ b/src/oci/container_engine/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/container_engine/container_engine_client.py b/src/oci/container_engine/container_engine_client.py index 6a15b61117..af1272094e 100644 --- a/src/oci/container_engine/container_engine_client.py +++ b/src/oci/container_engine/container_engine_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/container_engine/container_engine_client_composite_operations.py b/src/oci/container_engine/container_engine_client_composite_operations.py index 1379a693b0..9c59c4a8af 100644 --- a/src/oci/container_engine/container_engine_client_composite_operations.py +++ b/src/oci/container_engine/container_engine_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/container_engine/models/__init__.py b/src/oci/container_engine/models/__init__.py index 770dcd33cc..2d0ef49525 100644 --- a/src/oci/container_engine/models/__init__.py +++ b/src/oci/container_engine/models/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/container_engine/models/add_on_options.py b/src/oci/container_engine/models/add_on_options.py index b96f6ee1bd..cd78653f18 100644 --- a/src/oci/container_engine/models/add_on_options.py +++ b/src/oci/container_engine/models/add_on_options.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/cluster.py b/src/oci/container_engine/models/cluster.py index 0ff1508966..5b3d3c011e 100644 --- a/src/oci/container_engine/models/cluster.py +++ b/src/oci/container_engine/models/cluster.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/cluster_create_options.py b/src/oci/container_engine/models/cluster_create_options.py index 51f9a00e2f..ccade50e04 100644 --- a/src/oci/container_engine/models/cluster_create_options.py +++ b/src/oci/container_engine/models/cluster_create_options.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/cluster_endpoints.py b/src/oci/container_engine/models/cluster_endpoints.py index 7d4c7ebc7f..766f49cfa3 100644 --- a/src/oci/container_engine/models/cluster_endpoints.py +++ b/src/oci/container_engine/models/cluster_endpoints.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/cluster_metadata.py b/src/oci/container_engine/models/cluster_metadata.py index 794297bae3..fa858db7d3 100644 --- a/src/oci/container_engine/models/cluster_metadata.py +++ b/src/oci/container_engine/models/cluster_metadata.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/cluster_options.py b/src/oci/container_engine/models/cluster_options.py index c4fdef5b82..0d9edeb05a 100644 --- a/src/oci/container_engine/models/cluster_options.py +++ b/src/oci/container_engine/models/cluster_options.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/cluster_summary.py b/src/oci/container_engine/models/cluster_summary.py index a5b1e48d38..77793413ff 100644 --- a/src/oci/container_engine/models/cluster_summary.py +++ b/src/oci/container_engine/models/cluster_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/create_cluster_details.py b/src/oci/container_engine/models/create_cluster_details.py index d9ad79ba64..1ba173d27a 100644 --- a/src/oci/container_engine/models/create_cluster_details.py +++ b/src/oci/container_engine/models/create_cluster_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/create_cluster_kubeconfig_content_details.py b/src/oci/container_engine/models/create_cluster_kubeconfig_content_details.py index 6a0f3d3ad4..52ec39e0e5 100644 --- a/src/oci/container_engine/models/create_cluster_kubeconfig_content_details.py +++ b/src/oci/container_engine/models/create_cluster_kubeconfig_content_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/create_node_pool_details.py b/src/oci/container_engine/models/create_node_pool_details.py index 6f99efacb3..1a9fd8deaa 100644 --- a/src/oci/container_engine/models/create_node_pool_details.py +++ b/src/oci/container_engine/models/create_node_pool_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/key_value.py b/src/oci/container_engine/models/key_value.py index c2ec172e88..69046e872e 100644 --- a/src/oci/container_engine/models/key_value.py +++ b/src/oci/container_engine/models/key_value.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/kubernetes_network_config.py b/src/oci/container_engine/models/kubernetes_network_config.py index 6d7975618c..a664b6cc35 100644 --- a/src/oci/container_engine/models/kubernetes_network_config.py +++ b/src/oci/container_engine/models/kubernetes_network_config.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/node.py b/src/oci/container_engine/models/node.py index f3a53913e7..af14774f28 100644 --- a/src/oci/container_engine/models/node.py +++ b/src/oci/container_engine/models/node.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/node_error.py b/src/oci/container_engine/models/node_error.py index 419394e437..e0aab363c5 100644 --- a/src/oci/container_engine/models/node_error.py +++ b/src/oci/container_engine/models/node_error.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/node_pool.py b/src/oci/container_engine/models/node_pool.py index ec3447c7ac..70b9c951bb 100644 --- a/src/oci/container_engine/models/node_pool.py +++ b/src/oci/container_engine/models/node_pool.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/node_pool_options.py b/src/oci/container_engine/models/node_pool_options.py index e56979331b..ab34cb443d 100644 --- a/src/oci/container_engine/models/node_pool_options.py +++ b/src/oci/container_engine/models/node_pool_options.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/node_pool_summary.py b/src/oci/container_engine/models/node_pool_summary.py index b9947be208..acfe7391c7 100644 --- a/src/oci/container_engine/models/node_pool_summary.py +++ b/src/oci/container_engine/models/node_pool_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/update_cluster_details.py b/src/oci/container_engine/models/update_cluster_details.py index abfa6524cd..7f09c4c697 100644 --- a/src/oci/container_engine/models/update_cluster_details.py +++ b/src/oci/container_engine/models/update_cluster_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/update_node_pool_details.py b/src/oci/container_engine/models/update_node_pool_details.py index e2c7754a87..322fd6e554 100644 --- a/src/oci/container_engine/models/update_node_pool_details.py +++ b/src/oci/container_engine/models/update_node_pool_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/work_request.py b/src/oci/container_engine/models/work_request.py index d072a2e5a7..2757a87db8 100644 --- a/src/oci/container_engine/models/work_request.py +++ b/src/oci/container_engine/models/work_request.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/work_request_error.py b/src/oci/container_engine/models/work_request_error.py index f699f14b09..53c7a8c9f9 100644 --- a/src/oci/container_engine/models/work_request_error.py +++ b/src/oci/container_engine/models/work_request_error.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/work_request_log_entry.py b/src/oci/container_engine/models/work_request_log_entry.py index 67eeced9a3..ac4d3a5f73 100644 --- a/src/oci/container_engine/models/work_request_log_entry.py +++ b/src/oci/container_engine/models/work_request_log_entry.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/work_request_resource.py b/src/oci/container_engine/models/work_request_resource.py index 7afedab883..c7401daaa3 100644 --- a/src/oci/container_engine/models/work_request_resource.py +++ b/src/oci/container_engine/models/work_request_resource.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/container_engine/models/work_request_summary.py b/src/oci/container_engine/models/work_request_summary.py index 3654dd097e..2243f19923 100644 --- a/src/oci/container_engine/models/work_request_summary.py +++ b/src/oci/container_engine/models/work_request_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/__init__.py b/src/oci/core/__init__.py index 0af89c6406..02c14810ec 100644 --- a/src/oci/core/__init__.py +++ b/src/oci/core/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/core/blockstorage_client.py b/src/oci/core/blockstorage_client.py index 8e5b4984d9..0033fb00f8 100644 --- a/src/oci/core/blockstorage_client.py +++ b/src/oci/core/blockstorage_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/core/blockstorage_client_composite_operations.py b/src/oci/core/blockstorage_client_composite_operations.py index 9ea09a0b0e..ccfd059d16 100644 --- a/src/oci/core/blockstorage_client_composite_operations.py +++ b/src/oci/core/blockstorage_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/core/compute_client.py b/src/oci/core/compute_client.py index 76d5275224..400c2f559e 100644 --- a/src/oci/core/compute_client.py +++ b/src/oci/core/compute_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import @@ -3094,6 +3094,152 @@ def list_instance_console_connections(self, compartment_id, **kwargs): header_params=header_params, response_type="list[InstanceConsoleConnection]") + def list_instance_devices(self, instance_id, **kwargs): + """ + ListInstanceDevices + Gets a list of all the devices for given instance. You can optionally filter results by device availability. + + + :param str instance_id: (required) + The OCID of the instance. + + :param bool is_available: (optional) + A filter to return only available devices or only used devices. + + :param str name: (optional) + A filter to return only devices that match the given name exactly. + + :param int limit: (optional) + For list pagination. The maximum number of results per page, or items to return in a paginated + \"List\" call. For important details about how pagination works, see + `List Pagination`__. + + Example: `50` + + __ https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine + + :param str page: (optional) + For list pagination. The value of the `opc-next-page` response header from the previous \"List\" + call. For important details about how pagination works, see + `List Pagination`__. + + __ https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine + + :param str opc_request_id: (optional) + Unique identifier for the request. + If you need to contact Oracle about a particular request, please provide the request ID. + + :param str sort_by: (optional) + The field to sort by. You can provide one sort order (`sortOrder`). Default order for + TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME + sort order is case sensitive. + + **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you + optionally filter by availability domain if the scope of the resource type is within a + single availability domain. If you call one of these \"List\" operations without specifying + an availability domain, the resources are grouped by availability domain, then sorted. + + Allowed values are: "TIMECREATED", "DISPLAYNAME" + + :param str sort_order: (optional) + The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order + is case sensitive. + + Allowed values are: "ASC", "DESC" + + :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 list of :class:`~oci.core.models.Device` + :rtype: :class:`~oci.response.Response` + """ + resource_path = "/instances/{instanceId}/devices" + method = "GET" + + # Don't accept unknown kwargs + expected_kwargs = [ + "retry_strategy", + "is_available", + "name", + "limit", + "page", + "opc_request_id", + "sort_by", + "sort_order" + ] + extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs] + if extra_kwargs: + raise ValueError( + "list_instance_devices got unknown kwargs: {!r}".format(extra_kwargs)) + + path_params = { + "instanceId": instance_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)) + + if 'sort_by' in kwargs: + sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"] + if kwargs['sort_by'] not in sort_by_allowed_values: + raise ValueError( + "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values) + ) + + if 'sort_order' in kwargs: + sort_order_allowed_values = ["ASC", "DESC"] + if kwargs['sort_order'] not in sort_order_allowed_values: + raise ValueError( + "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values) + ) + + query_params = { + "isAvailable": kwargs.get("is_available", missing), + "name": kwargs.get("name", missing), + "limit": kwargs.get("limit", missing), + "page": kwargs.get("page", missing), + "sortBy": kwargs.get("sort_by", missing), + "sortOrder": kwargs.get("sort_order", missing) + } + query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None} + + header_params = { + "accept": "application/json", + "content-type": "application/json", + "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, + query_params=query_params, + header_params=header_params, + response_type="list[Device]") + else: + return self.base_client.call_api( + resource_path=resource_path, + method=method, + path_params=path_params, + query_params=query_params, + header_params=header_params, + response_type="list[Device]") + def list_instances(self, compartment_id, **kwargs): """ ListInstances diff --git a/src/oci/core/compute_client_composite_operations.py b/src/oci/core/compute_client_composite_operations.py index c4804c04b9..371bdfcff4 100644 --- a/src/oci/core/compute_client_composite_operations.py +++ b/src/oci/core/compute_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/core/compute_management_client.py b/src/oci/core/compute_management_client.py index d9b8a6f9e7..5654729f66 100644 --- a/src/oci/core/compute_management_client.py +++ b/src/oci/core/compute_management_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/core/compute_management_client_composite_operations.py b/src/oci/core/compute_management_client_composite_operations.py index aa0a800ce1..73fe69950b 100644 --- a/src/oci/core/compute_management_client_composite_operations.py +++ b/src/oci/core/compute_management_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/core/models/__init__.py b/src/oci/core/models/__init__.py index 3b34c7dd1e..3832b5d75e 100644 --- a/src/oci/core/models/__init__.py +++ b/src/oci/core/models/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import @@ -72,6 +72,7 @@ from .cross_connect_port_speed_shape import CrossConnectPortSpeedShape from .cross_connect_status import CrossConnectStatus from .delete_virtual_circuit_public_prefix_details import DeleteVirtualCircuitPublicPrefixDetails +from .device import Device from .dhcp_dns_option import DhcpDnsOption from .dhcp_option import DhcpOption from .dhcp_options import DhcpOptions @@ -276,6 +277,7 @@ "CrossConnectPortSpeedShape": CrossConnectPortSpeedShape, "CrossConnectStatus": CrossConnectStatus, "DeleteVirtualCircuitPublicPrefixDetails": DeleteVirtualCircuitPublicPrefixDetails, + "Device": Device, "DhcpDnsOption": DhcpDnsOption, "DhcpOption": DhcpOption, "DhcpOptions": DhcpOptions, diff --git a/src/oci/core/models/app_catalog_listing.py b/src/oci/core/models/app_catalog_listing.py index 2197e65f6d..f80e8d28be 100644 --- a/src/oci/core/models/app_catalog_listing.py +++ b/src/oci/core/models/app_catalog_listing.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/app_catalog_listing_resource_version.py b/src/oci/core/models/app_catalog_listing_resource_version.py index 76f5d1d3d5..52bdf17c5f 100644 --- a/src/oci/core/models/app_catalog_listing_resource_version.py +++ b/src/oci/core/models/app_catalog_listing_resource_version.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/app_catalog_listing_resource_version_agreements.py b/src/oci/core/models/app_catalog_listing_resource_version_agreements.py index 0cae59bf18..244c39a2f3 100644 --- a/src/oci/core/models/app_catalog_listing_resource_version_agreements.py +++ b/src/oci/core/models/app_catalog_listing_resource_version_agreements.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/app_catalog_listing_resource_version_summary.py b/src/oci/core/models/app_catalog_listing_resource_version_summary.py index 96865c925e..f863a90b19 100644 --- a/src/oci/core/models/app_catalog_listing_resource_version_summary.py +++ b/src/oci/core/models/app_catalog_listing_resource_version_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/app_catalog_listing_summary.py b/src/oci/core/models/app_catalog_listing_summary.py index caf0bb74bf..a268dad59f 100644 --- a/src/oci/core/models/app_catalog_listing_summary.py +++ b/src/oci/core/models/app_catalog_listing_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/app_catalog_subscription.py b/src/oci/core/models/app_catalog_subscription.py index 2e28ebeeb4..d408b0683d 100644 --- a/src/oci/core/models/app_catalog_subscription.py +++ b/src/oci/core/models/app_catalog_subscription.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/app_catalog_subscription_summary.py b/src/oci/core/models/app_catalog_subscription_summary.py index 6442ba14df..5261faa1f5 100644 --- a/src/oci/core/models/app_catalog_subscription_summary.py +++ b/src/oci/core/models/app_catalog_subscription_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/attach_boot_volume_details.py b/src/oci/core/models/attach_boot_volume_details.py index 0b4f8780d1..a429146308 100644 --- a/src/oci/core/models/attach_boot_volume_details.py +++ b/src/oci/core/models/attach_boot_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/attach_i_scsi_volume_details.py b/src/oci/core/models/attach_i_scsi_volume_details.py index d9213ef94a..56f584d76f 100644 --- a/src/oci/core/models/attach_i_scsi_volume_details.py +++ b/src/oci/core/models/attach_i_scsi_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .attach_volume_details import AttachVolumeDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -18,6 +18,10 @@ def __init__(self, **kwargs): of this class is ``iscsi`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): + :param device: + The value to assign to the device property of this AttachIScsiVolumeDetails. + :type device: str + :param display_name: The value to assign to the display_name property of this AttachIScsiVolumeDetails. :type display_name: str @@ -44,6 +48,7 @@ def __init__(self, **kwargs): """ self.swagger_types = { + 'device': 'str', 'display_name': 'str', 'instance_id': 'str', 'is_read_only': 'bool', @@ -53,6 +58,7 @@ def __init__(self, **kwargs): } self.attribute_map = { + 'device': 'device', 'display_name': 'displayName', 'instance_id': 'instanceId', 'is_read_only': 'isReadOnly', @@ -61,6 +67,7 @@ def __init__(self, **kwargs): 'use_chap': 'useChap' } + self._device = None self._display_name = None self._instance_id = None self._is_read_only = None diff --git a/src/oci/core/models/attach_paravirtualized_volume_details.py b/src/oci/core/models/attach_paravirtualized_volume_details.py index c93aac0aba..e78b92c217 100644 --- a/src/oci/core/models/attach_paravirtualized_volume_details.py +++ b/src/oci/core/models/attach_paravirtualized_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .attach_volume_details import AttachVolumeDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -18,6 +18,10 @@ def __init__(self, **kwargs): of this class is ``paravirtualized`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): + :param device: + The value to assign to the device property of this AttachParavirtualizedVolumeDetails. + :type device: str + :param display_name: The value to assign to the display_name property of this AttachParavirtualizedVolumeDetails. :type display_name: str @@ -44,6 +48,7 @@ def __init__(self, **kwargs): """ self.swagger_types = { + 'device': 'str', 'display_name': 'str', 'instance_id': 'str', 'is_read_only': 'bool', @@ -53,6 +58,7 @@ def __init__(self, **kwargs): } self.attribute_map = { + 'device': 'device', 'display_name': 'displayName', 'instance_id': 'instanceId', 'is_read_only': 'isReadOnly', @@ -61,6 +67,7 @@ def __init__(self, **kwargs): 'is_pv_encryption_in_transit_enabled': 'isPvEncryptionInTransitEnabled' } + self._device = None self._display_name = None self._instance_id = None self._is_read_only = None diff --git a/src/oci/core/models/attach_vnic_details.py b/src/oci/core/models/attach_vnic_details.py index e995f5d5d0..7eb6d68c79 100644 --- a/src/oci/core/models/attach_vnic_details.py +++ b/src/oci/core/models/attach_vnic_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/attach_volume_details.py b/src/oci/core/models/attach_volume_details.py index 2f08782dc3..bb973ea751 100644 --- a/src/oci/core/models/attach_volume_details.py +++ b/src/oci/core/models/attach_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -22,6 +22,10 @@ def __init__(self, **kwargs): The following keyword arguments are supported (corresponding to the getters/setters of this class): + :param device: + The value to assign to the device property of this AttachVolumeDetails. + :type device: str + :param display_name: The value to assign to the display_name property of this AttachVolumeDetails. :type display_name: str @@ -44,6 +48,7 @@ def __init__(self, **kwargs): """ self.swagger_types = { + 'device': 'str', 'display_name': 'str', 'instance_id': 'str', 'is_read_only': 'bool', @@ -52,6 +57,7 @@ def __init__(self, **kwargs): } self.attribute_map = { + 'device': 'device', 'display_name': 'displayName', 'instance_id': 'instanceId', 'is_read_only': 'isReadOnly', @@ -59,6 +65,7 @@ def __init__(self, **kwargs): 'volume_id': 'volumeId' } + self._device = None self._display_name = None self._instance_id = None self._is_read_only = None @@ -81,6 +88,30 @@ def get_subtype(object_dictionary): else: return 'AttachVolumeDetails' + @property + def device(self): + """ + Gets the device of this AttachVolumeDetails. + The device name. + + + :return: The device of this AttachVolumeDetails. + :rtype: str + """ + return self._device + + @device.setter + def device(self, device): + """ + Sets the device of this AttachVolumeDetails. + The device name. + + + :param device: The device of this AttachVolumeDetails. + :type: str + """ + self._device = device + @property def display_name(self): """ diff --git a/src/oci/core/models/boot_volume.py b/src/oci/core/models/boot_volume.py index 6af4dccc7b..4859b8c4e7 100644 --- a/src/oci/core/models/boot_volume.py +++ b/src/oci/core/models/boot_volume.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/boot_volume_attachment.py b/src/oci/core/models/boot_volume_attachment.py index 6d0cbddedc..4e7fffe6b5 100644 --- a/src/oci/core/models/boot_volume_attachment.py +++ b/src/oci/core/models/boot_volume_attachment.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/boot_volume_backup.py b/src/oci/core/models/boot_volume_backup.py index f224f7f8d5..78c54f4016 100644 --- a/src/oci/core/models/boot_volume_backup.py +++ b/src/oci/core/models/boot_volume_backup.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/boot_volume_kms_key.py b/src/oci/core/models/boot_volume_kms_key.py index 6660bcb394..addbd65314 100644 --- a/src/oci/core/models/boot_volume_kms_key.py +++ b/src/oci/core/models/boot_volume_kms_key.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/boot_volume_source_details.py b/src/oci/core/models/boot_volume_source_details.py index 88e7a6643b..708b4fe6fe 100644 --- a/src/oci/core/models/boot_volume_source_details.py +++ b/src/oci/core/models/boot_volume_source_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/boot_volume_source_from_boot_volume_backup_details.py b/src/oci/core/models/boot_volume_source_from_boot_volume_backup_details.py index 35d6a30bdd..4ff26bae92 100644 --- a/src/oci/core/models/boot_volume_source_from_boot_volume_backup_details.py +++ b/src/oci/core/models/boot_volume_source_from_boot_volume_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .boot_volume_source_details import BootVolumeSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/boot_volume_source_from_boot_volume_details.py b/src/oci/core/models/boot_volume_source_from_boot_volume_details.py index d26c37d30e..7bfa58800f 100644 --- a/src/oci/core/models/boot_volume_source_from_boot_volume_details.py +++ b/src/oci/core/models/boot_volume_source_from_boot_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .boot_volume_source_details import BootVolumeSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.py b/src/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.py index c8edf9b046..a8373cb159 100644 --- a/src/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.py +++ b/src/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.py b/src/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.py index d65c0a9151..34f2bff989 100644 --- a/src/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.py +++ b/src/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/capture_console_history_details.py b/src/oci/core/models/capture_console_history_details.py index 2f85971732..d34d9a4353 100644 --- a/src/oci/core/models/capture_console_history_details.py +++ b/src/oci/core/models/capture_console_history_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/compute_instance_details.py b/src/oci/core/models/compute_instance_details.py index a320ad61bc..775a249961 100644 --- a/src/oci/core/models/compute_instance_details.py +++ b/src/oci/core/models/compute_instance_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .instance_configuration_instance_details import InstanceConfigurationInstanceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/connect_local_peering_gateways_details.py b/src/oci/core/models/connect_local_peering_gateways_details.py index 0babbcb1c1..805aed9ff9 100644 --- a/src/oci/core/models/connect_local_peering_gateways_details.py +++ b/src/oci/core/models/connect_local_peering_gateways_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/connect_remote_peering_connections_details.py b/src/oci/core/models/connect_remote_peering_connections_details.py index 96ba735a76..b238e3be26 100644 --- a/src/oci/core/models/connect_remote_peering_connections_details.py +++ b/src/oci/core/models/connect_remote_peering_connections_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/console_history.py b/src/oci/core/models/console_history.py index ccc365ff30..33f39aba79 100644 --- a/src/oci/core/models/console_history.py +++ b/src/oci/core/models/console_history.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/copy_volume_backup_details.py b/src/oci/core/models/copy_volume_backup_details.py index acf4988deb..da0dadb4d6 100644 --- a/src/oci/core/models/copy_volume_backup_details.py +++ b/src/oci/core/models/copy_volume_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/cpe.py b/src/oci/core/models/cpe.py index 050125cfdb..5d4e250be3 100644 --- a/src/oci/core/models/cpe.py +++ b/src/oci/core/models/cpe.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_app_catalog_subscription_details.py b/src/oci/core/models/create_app_catalog_subscription_details.py index 680cba5608..de0e4f9e28 100644 --- a/src/oci/core/models/create_app_catalog_subscription_details.py +++ b/src/oci/core/models/create_app_catalog_subscription_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 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 322fee1d32..3fc4ecafb0 100644 --- a/src/oci/core/models/create_boot_volume_backup_details.py +++ b/src/oci/core/models/create_boot_volume_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_boot_volume_details.py b/src/oci/core/models/create_boot_volume_details.py index 74a39d7038..0df2fa2be7 100644 --- a/src/oci/core/models/create_boot_volume_details.py +++ b/src/oci/core/models/create_boot_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_cpe_details.py b/src/oci/core/models/create_cpe_details.py index 300e187103..0921ac5c47 100644 --- a/src/oci/core/models/create_cpe_details.py +++ b/src/oci/core/models/create_cpe_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_cross_connect_details.py b/src/oci/core/models/create_cross_connect_details.py index 48eff2bc42..5cd2c186f7 100644 --- a/src/oci/core/models/create_cross_connect_details.py +++ b/src/oci/core/models/create_cross_connect_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_cross_connect_group_details.py b/src/oci/core/models/create_cross_connect_group_details.py index cf038422ba..3cafb7f3bd 100644 --- a/src/oci/core/models/create_cross_connect_group_details.py +++ b/src/oci/core/models/create_cross_connect_group_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_dhcp_details.py b/src/oci/core/models/create_dhcp_details.py index 9546550fef..77cfa7fb97 100644 --- a/src/oci/core/models/create_dhcp_details.py +++ b/src/oci/core/models/create_dhcp_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_drg_attachment_details.py b/src/oci/core/models/create_drg_attachment_details.py index 458e9bafb8..596b472d7b 100644 --- a/src/oci/core/models/create_drg_attachment_details.py +++ b/src/oci/core/models/create_drg_attachment_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_drg_details.py b/src/oci/core/models/create_drg_details.py index 8d10a2ef46..6b90192ee5 100644 --- a/src/oci/core/models/create_drg_details.py +++ b/src/oci/core/models/create_drg_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_image_details.py b/src/oci/core/models/create_image_details.py index a9ba74653f..c180e75604 100644 --- a/src/oci/core/models/create_image_details.py +++ b/src/oci/core/models/create_image_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_instance_configuration_details.py b/src/oci/core/models/create_instance_configuration_details.py index 88cbbd1ee3..a16f34f93f 100644 --- a/src/oci/core/models/create_instance_configuration_details.py +++ b/src/oci/core/models/create_instance_configuration_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 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 8ce2d4c1dc..d1f27970f1 100644 --- a/src/oci/core/models/create_instance_console_connection_details.py +++ b/src/oci/core/models/create_instance_console_connection_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_instance_pool_details.py b/src/oci/core/models/create_instance_pool_details.py index bd6d654ae4..cfafda3a8d 100644 --- a/src/oci/core/models/create_instance_pool_details.py +++ b/src/oci/core/models/create_instance_pool_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_instance_pool_placement_configuration_details.py b/src/oci/core/models/create_instance_pool_placement_configuration_details.py index 657500348e..91a0fa5720 100644 --- a/src/oci/core/models/create_instance_pool_placement_configuration_details.py +++ b/src/oci/core/models/create_instance_pool_placement_configuration_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_internet_gateway_details.py b/src/oci/core/models/create_internet_gateway_details.py index 16d2c299c2..262c9bed2a 100644 --- a/src/oci/core/models/create_internet_gateway_details.py +++ b/src/oci/core/models/create_internet_gateway_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 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 4f98babfe5..c9d7c59b72 100644 --- a/src/oci/core/models/create_ip_sec_connection_details.py +++ b/src/oci/core/models/create_ip_sec_connection_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 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 d8a3b588b4..ffde30275f 100644 --- a/src/oci/core/models/create_local_peering_gateway_details.py +++ b/src/oci/core/models/create_local_peering_gateway_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_nat_gateway_details.py b/src/oci/core/models/create_nat_gateway_details.py index e25dce733b..a2700d9a91 100644 --- a/src/oci/core/models/create_nat_gateway_details.py +++ b/src/oci/core/models/create_nat_gateway_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_private_ip_details.py b/src/oci/core/models/create_private_ip_details.py index 282cb74b98..0e4fa4fad8 100644 --- a/src/oci/core/models/create_private_ip_details.py +++ b/src/oci/core/models/create_private_ip_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_public_ip_details.py b/src/oci/core/models/create_public_ip_details.py index d4b33226f6..9ffe2d1bb9 100644 --- a/src/oci/core/models/create_public_ip_details.py +++ b/src/oci/core/models/create_public_ip_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_remote_peering_connection_details.py b/src/oci/core/models/create_remote_peering_connection_details.py index 24b0f5b9a4..b6dd2d7a77 100644 --- a/src/oci/core/models/create_remote_peering_connection_details.py +++ b/src/oci/core/models/create_remote_peering_connection_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_route_table_details.py b/src/oci/core/models/create_route_table_details.py index 3b6e3428dd..0c943cf7e2 100644 --- a/src/oci/core/models/create_route_table_details.py +++ b/src/oci/core/models/create_route_table_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_security_list_details.py b/src/oci/core/models/create_security_list_details.py index 297de5de65..5d45ce6012 100644 --- a/src/oci/core/models/create_security_list_details.py +++ b/src/oci/core/models/create_security_list_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_service_gateway_details.py b/src/oci/core/models/create_service_gateway_details.py index e39e8f625b..77706a3f24 100644 --- a/src/oci/core/models/create_service_gateway_details.py +++ b/src/oci/core/models/create_service_gateway_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_subnet_details.py b/src/oci/core/models/create_subnet_details.py index 94d8ed0eb9..7d572c9a15 100644 --- a/src/oci/core/models/create_subnet_details.py +++ b/src/oci/core/models/create_subnet_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_vcn_details.py b/src/oci/core/models/create_vcn_details.py index 1af9391c22..efa4fd7366 100644 --- a/src/oci/core/models/create_vcn_details.py +++ b/src/oci/core/models/create_vcn_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_virtual_circuit_details.py b/src/oci/core/models/create_virtual_circuit_details.py index ae0fa9d8ee..611b02b481 100644 --- a/src/oci/core/models/create_virtual_circuit_details.py +++ b/src/oci/core/models/create_virtual_circuit_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_virtual_circuit_public_prefix_details.py b/src/oci/core/models/create_virtual_circuit_public_prefix_details.py index 87191c5f7b..e2f870b12d 100644 --- a/src/oci/core/models/create_virtual_circuit_public_prefix_details.py +++ b/src/oci/core/models/create_virtual_circuit_public_prefix_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_vnic_details.py b/src/oci/core/models/create_vnic_details.py index c1207175f7..5397e1d358 100644 --- a/src/oci/core/models/create_vnic_details.py +++ b/src/oci/core/models/create_vnic_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_volume_backup_details.py b/src/oci/core/models/create_volume_backup_details.py index 04e3e05c62..2f2294802f 100644 --- a/src/oci/core/models/create_volume_backup_details.py +++ b/src/oci/core/models/create_volume_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_volume_backup_policy_assignment_details.py b/src/oci/core/models/create_volume_backup_policy_assignment_details.py index 0f59c7ef3d..1b4a204ed1 100644 --- a/src/oci/core/models/create_volume_backup_policy_assignment_details.py +++ b/src/oci/core/models/create_volume_backup_policy_assignment_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_volume_details.py b/src/oci/core/models/create_volume_details.py index fd5a14c2fa..c8bfc98371 100644 --- a/src/oci/core/models/create_volume_details.py +++ b/src/oci/core/models/create_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 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 9f48575531..16c2fc3f7d 100644 --- a/src/oci/core/models/create_volume_group_backup_details.py +++ b/src/oci/core/models/create_volume_group_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/create_volume_group_details.py b/src/oci/core/models/create_volume_group_details.py index 8e5a768b23..3fc695bfb2 100644 --- a/src/oci/core/models/create_volume_group_details.py +++ b/src/oci/core/models/create_volume_group_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/cross_connect.py b/src/oci/core/models/cross_connect.py index 77596afe0a..3e708f351b 100644 --- a/src/oci/core/models/cross_connect.py +++ b/src/oci/core/models/cross_connect.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/cross_connect_group.py b/src/oci/core/models/cross_connect_group.py index 282c710e54..40bed3f8b2 100644 --- a/src/oci/core/models/cross_connect_group.py +++ b/src/oci/core/models/cross_connect_group.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/cross_connect_location.py b/src/oci/core/models/cross_connect_location.py index 7ab041b9be..e6c1f72b81 100644 --- a/src/oci/core/models/cross_connect_location.py +++ b/src/oci/core/models/cross_connect_location.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/cross_connect_mapping.py b/src/oci/core/models/cross_connect_mapping.py index 82e755a305..23190270f3 100644 --- a/src/oci/core/models/cross_connect_mapping.py +++ b/src/oci/core/models/cross_connect_mapping.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/cross_connect_port_speed_shape.py b/src/oci/core/models/cross_connect_port_speed_shape.py index e7b5eeb1d6..81a1eb3801 100644 --- a/src/oci/core/models/cross_connect_port_speed_shape.py +++ b/src/oci/core/models/cross_connect_port_speed_shape.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/cross_connect_status.py b/src/oci/core/models/cross_connect_status.py index 589787dbf6..6eaec18396 100644 --- a/src/oci/core/models/cross_connect_status.py +++ b/src/oci/core/models/cross_connect_status.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/delete_virtual_circuit_public_prefix_details.py b/src/oci/core/models/delete_virtual_circuit_public_prefix_details.py index 551df3320b..08d20f036e 100644 --- a/src/oci/core/models/delete_virtual_circuit_public_prefix_details.py +++ b/src/oci/core/models/delete_virtual_circuit_public_prefix_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/device.py b/src/oci/core/models/device.py new file mode 100644 index 0000000000..bbaebde25c --- /dev/null +++ b/src/oci/core/models/device.py @@ -0,0 +1,100 @@ +# coding: utf-8 +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. + + +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class Device(object): + """ + Device Path corresponding to the block devices attached to instances having a name and isAvailable flag. + """ + + def __init__(self, **kwargs): + """ + Initializes a new Device object with values from keyword arguments. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param name: + The value to assign to the name property of this Device. + :type name: str + + :param is_available: + The value to assign to the is_available property of this Device. + :type is_available: bool + + """ + self.swagger_types = { + 'name': 'str', + 'is_available': 'bool' + } + + self.attribute_map = { + 'name': 'name', + 'is_available': 'isAvailable' + } + + self._name = None + self._is_available = None + + @property + def name(self): + """ + **[Required]** Gets the name of this Device. + The device name. + + + :return: The name of this Device. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this Device. + The device name. + + + :param name: The name of this Device. + :type: str + """ + self._name = name + + @property + def is_available(self): + """ + **[Required]** Gets the is_available of this Device. + The flag denoting whether device is available. + + + :return: The is_available of this Device. + :rtype: bool + """ + return self._is_available + + @is_available.setter + def is_available(self, is_available): + """ + Sets the is_available of this Device. + The flag denoting whether device is available. + + + :param is_available: The is_available of this Device. + :type: bool + """ + self._is_available = is_available + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/core/models/dhcp_dns_option.py b/src/oci/core/models/dhcp_dns_option.py index 97525e22ab..243b530ec5 100644 --- a/src/oci/core/models/dhcp_dns_option.py +++ b/src/oci/core/models/dhcp_dns_option.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .dhcp_option import DhcpOption from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/dhcp_option.py b/src/oci/core/models/dhcp_option.py index d4d934a5ae..bdbcd37a90 100644 --- a/src/oci/core/models/dhcp_option.py +++ b/src/oci/core/models/dhcp_option.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/dhcp_options.py b/src/oci/core/models/dhcp_options.py index bb6629832e..999758bfda 100644 --- a/src/oci/core/models/dhcp_options.py +++ b/src/oci/core/models/dhcp_options.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/dhcp_search_domain_option.py b/src/oci/core/models/dhcp_search_domain_option.py index 11852e81d1..4f16c70487 100644 --- a/src/oci/core/models/dhcp_search_domain_option.py +++ b/src/oci/core/models/dhcp_search_domain_option.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .dhcp_option import DhcpOption from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/drg.py b/src/oci/core/models/drg.py index 94c450c0eb..7c84d4d812 100644 --- a/src/oci/core/models/drg.py +++ b/src/oci/core/models/drg.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/drg_attachment.py b/src/oci/core/models/drg_attachment.py index 03493b270c..85f0da6e3c 100644 --- a/src/oci/core/models/drg_attachment.py +++ b/src/oci/core/models/drg_attachment.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/egress_security_rule.py b/src/oci/core/models/egress_security_rule.py index 56cd6998de..db3d4ff545 100644 --- a/src/oci/core/models/egress_security_rule.py +++ b/src/oci/core/models/egress_security_rule.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/export_image_details.py b/src/oci/core/models/export_image_details.py index 298072cbf9..4b0c400c46 100644 --- a/src/oci/core/models/export_image_details.py +++ b/src/oci/core/models/export_image_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/export_image_via_object_storage_tuple_details.py b/src/oci/core/models/export_image_via_object_storage_tuple_details.py index 952eec80d6..a5faa48961 100644 --- a/src/oci/core/models/export_image_via_object_storage_tuple_details.py +++ b/src/oci/core/models/export_image_via_object_storage_tuple_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .export_image_details import ExportImageDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/export_image_via_object_storage_uri_details.py b/src/oci/core/models/export_image_via_object_storage_uri_details.py index 975dc69ad8..d63b3aa108 100644 --- a/src/oci/core/models/export_image_via_object_storage_uri_details.py +++ b/src/oci/core/models/export_image_via_object_storage_uri_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .export_image_details import ExportImageDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/fast_connect_provider_service.py b/src/oci/core/models/fast_connect_provider_service.py index f08be54eb4..57830d0a07 100644 --- a/src/oci/core/models/fast_connect_provider_service.py +++ b/src/oci/core/models/fast_connect_provider_service.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/get_public_ip_by_ip_address_details.py b/src/oci/core/models/get_public_ip_by_ip_address_details.py index c690596348..d0d6079fe6 100644 --- a/src/oci/core/models/get_public_ip_by_ip_address_details.py +++ b/src/oci/core/models/get_public_ip_by_ip_address_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/get_public_ip_by_private_ip_id_details.py b/src/oci/core/models/get_public_ip_by_private_ip_id_details.py index 77a2752ca6..fa5f24c5b4 100644 --- a/src/oci/core/models/get_public_ip_by_private_ip_id_details.py +++ b/src/oci/core/models/get_public_ip_by_private_ip_id_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/i_scsi_volume_attachment.py b/src/oci/core/models/i_scsi_volume_attachment.py index 54c12056b2..5e5a24e289 100644 --- a/src/oci/core/models/i_scsi_volume_attachment.py +++ b/src/oci/core/models/i_scsi_volume_attachment.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .volume_attachment import VolumeAttachment from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -30,6 +30,10 @@ def __init__(self, **kwargs): The value to assign to the compartment_id property of this IScsiVolumeAttachment. :type compartment_id: str + :param device: + The value to assign to the device property of this IScsiVolumeAttachment. + :type device: str + :param display_name: The value to assign to the display_name property of this IScsiVolumeAttachment. :type display_name: str @@ -88,6 +92,7 @@ def __init__(self, **kwargs): 'attachment_type': 'str', 'availability_domain': 'str', 'compartment_id': 'str', + 'device': 'str', 'display_name': 'str', 'id': 'str', 'instance_id': 'str', @@ -107,6 +112,7 @@ def __init__(self, **kwargs): 'attachment_type': 'attachmentType', 'availability_domain': 'availabilityDomain', 'compartment_id': 'compartmentId', + 'device': 'device', 'display_name': 'displayName', 'id': 'id', 'instance_id': 'instanceId', @@ -125,6 +131,7 @@ def __init__(self, **kwargs): self._attachment_type = None self._availability_domain = None self._compartment_id = None + self._device = None self._display_name = None self._id = None self._instance_id = None diff --git a/src/oci/core/models/icmp_options.py b/src/oci/core/models/icmp_options.py index 1a3013a371..c6b1294682 100644 --- a/src/oci/core/models/icmp_options.py +++ b/src/oci/core/models/icmp_options.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/image.py b/src/oci/core/models/image.py index c4aba0428d..be45274525 100644 --- a/src/oci/core/models/image.py +++ b/src/oci/core/models/image.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/image_source_details.py b/src/oci/core/models/image_source_details.py index 6c64bbc0fb..132a71a396 100644 --- a/src/oci/core/models/image_source_details.py +++ b/src/oci/core/models/image_source_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 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 21d660be14..3fc4aad755 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 @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .image_source_details import ImageSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 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 990f05ab65..4e624da1f4 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 @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .image_source_details import ImageSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/ingress_security_rule.py b/src/oci/core/models/ingress_security_rule.py index d1117ec627..dd19f92469 100644 --- a/src/oci/core/models/ingress_security_rule.py +++ b/src/oci/core/models/ingress_security_rule.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance.py b/src/oci/core/models/instance.py index ec21aabd1b..6c9b85af43 100644 --- a/src/oci/core/models/instance.py +++ b/src/oci/core/models/instance.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration.py b/src/oci/core/models/instance_configuration.py index 5a9b8df7c0..d46d5a0d04 100644 --- a/src/oci/core/models/instance_configuration.py +++ b/src/oci/core/models/instance_configuration.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration_attach_vnic_details.py b/src/oci/core/models/instance_configuration_attach_vnic_details.py index ab88cf924c..835392464c 100644 --- a/src/oci/core/models/instance_configuration_attach_vnic_details.py +++ b/src/oci/core/models/instance_configuration_attach_vnic_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration_attach_volume_details.py b/src/oci/core/models/instance_configuration_attach_volume_details.py index 1ec229246a..8ccb5c7257 100644 --- a/src/oci/core/models/instance_configuration_attach_volume_details.py +++ b/src/oci/core/models/instance_configuration_attach_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration_block_volume_details.py b/src/oci/core/models/instance_configuration_block_volume_details.py index ea2cf1d7e5..896deb4155 100644 --- a/src/oci/core/models/instance_configuration_block_volume_details.py +++ b/src/oci/core/models/instance_configuration_block_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration_create_vnic_details.py b/src/oci/core/models/instance_configuration_create_vnic_details.py index ea789b0a44..44a8b40cd0 100644 --- a/src/oci/core/models/instance_configuration_create_vnic_details.py +++ b/src/oci/core/models/instance_configuration_create_vnic_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 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 64b90e0904..73cbea64a4 100644 --- a/src/oci/core/models/instance_configuration_create_volume_details.py +++ b/src/oci/core/models/instance_configuration_create_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration_instance_details.py b/src/oci/core/models/instance_configuration_instance_details.py index 3e9c2b3094..babb1d7eb5 100644 --- a/src/oci/core/models/instance_configuration_instance_details.py +++ b/src/oci/core/models/instance_configuration_instance_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration_instance_source_details.py b/src/oci/core/models/instance_configuration_instance_source_details.py index 662d9498ed..b6bc881fea 100644 --- a/src/oci/core/models/instance_configuration_instance_source_details.py +++ b/src/oci/core/models/instance_configuration_instance_source_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.py b/src/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.py index b874d3f180..84c0efe640 100644 --- a/src/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.py +++ b/src/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .instance_configuration_instance_source_details import InstanceConfigurationInstanceSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration_instance_source_via_image_details.py b/src/oci/core/models/instance_configuration_instance_source_via_image_details.py index 9cd522741d..eb5f9131a8 100644 --- a/src/oci/core/models/instance_configuration_instance_source_via_image_details.py +++ b/src/oci/core/models/instance_configuration_instance_source_via_image_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .instance_configuration_instance_source_details import InstanceConfigurationInstanceSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration_iscsi_attach_volume_details.py b/src/oci/core/models/instance_configuration_iscsi_attach_volume_details.py index 07a16bc7b8..990e2fac2e 100644 --- a/src/oci/core/models/instance_configuration_iscsi_attach_volume_details.py +++ b/src/oci/core/models/instance_configuration_iscsi_attach_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .instance_configuration_attach_volume_details import InstanceConfigurationAttachVolumeDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 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 9f0283f654..aeaaacae56 100644 --- a/src/oci/core/models/instance_configuration_launch_instance_details.py +++ b/src/oci/core/models/instance_configuration_launch_instance_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.py b/src/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.py index 77e97a8246..5f98e6cb3c 100644 --- a/src/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.py +++ b/src/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .instance_configuration_attach_volume_details import InstanceConfigurationAttachVolumeDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration_summary.py b/src/oci/core/models/instance_configuration_summary.py index 5faa43fca5..82916761dc 100644 --- a/src/oci/core/models/instance_configuration_summary.py +++ b/src/oci/core/models/instance_configuration_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration_volume_source_details.py b/src/oci/core/models/instance_configuration_volume_source_details.py index 2a65ebc457..896e088093 100644 --- a/src/oci/core/models/instance_configuration_volume_source_details.py +++ b/src/oci/core/models/instance_configuration_volume_source_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.py b/src/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.py index b599094979..17e1c98448 100644 --- a/src/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.py +++ b/src/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .instance_configuration_volume_source_details import InstanceConfigurationVolumeSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_configuration_volume_source_from_volume_details.py b/src/oci/core/models/instance_configuration_volume_source_from_volume_details.py index 9ee73b5390..bb7982dbf5 100644 --- a/src/oci/core/models/instance_configuration_volume_source_from_volume_details.py +++ b/src/oci/core/models/instance_configuration_volume_source_from_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .instance_configuration_volume_source_details import InstanceConfigurationVolumeSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_console_connection.py b/src/oci/core/models/instance_console_connection.py index 31fbf57247..9d717c2200 100644 --- a/src/oci/core/models/instance_console_connection.py +++ b/src/oci/core/models/instance_console_connection.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_credentials.py b/src/oci/core/models/instance_credentials.py index 8cd3cd888c..c86b70290f 100644 --- a/src/oci/core/models/instance_credentials.py +++ b/src/oci/core/models/instance_credentials.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_pool.py b/src/oci/core/models/instance_pool.py index 4667fa5525..e0441c9c3d 100644 --- a/src/oci/core/models/instance_pool.py +++ b/src/oci/core/models/instance_pool.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_pool_placement_configuration.py b/src/oci/core/models/instance_pool_placement_configuration.py index 9e95a1b1cf..8328675e50 100644 --- a/src/oci/core/models/instance_pool_placement_configuration.py +++ b/src/oci/core/models/instance_pool_placement_configuration.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_pool_placement_secondary_vnic_subnet.py b/src/oci/core/models/instance_pool_placement_secondary_vnic_subnet.py index 8fec490d6d..3b588a045e 100644 --- a/src/oci/core/models/instance_pool_placement_secondary_vnic_subnet.py +++ b/src/oci/core/models/instance_pool_placement_secondary_vnic_subnet.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_pool_summary.py b/src/oci/core/models/instance_pool_summary.py index ffa988fce6..83ca5729c3 100644 --- a/src/oci/core/models/instance_pool_summary.py +++ b/src/oci/core/models/instance_pool_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_source_details.py b/src/oci/core/models/instance_source_details.py index 28ad1bc5ea..5b42b92294 100644 --- a/src/oci/core/models/instance_source_details.py +++ b/src/oci/core/models/instance_source_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_source_via_boot_volume_details.py b/src/oci/core/models/instance_source_via_boot_volume_details.py index f0e4118f96..6be15a8566 100644 --- a/src/oci/core/models/instance_source_via_boot_volume_details.py +++ b/src/oci/core/models/instance_source_via_boot_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .instance_source_details import InstanceSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_source_via_image_details.py b/src/oci/core/models/instance_source_via_image_details.py index eb855330bd..30ff6d7af9 100644 --- a/src/oci/core/models/instance_source_via_image_details.py +++ b/src/oci/core/models/instance_source_via_image_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .instance_source_details import InstanceSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/instance_summary.py b/src/oci/core/models/instance_summary.py index 9ccd2855fb..16c2d1d7a2 100644 --- a/src/oci/core/models/instance_summary.py +++ b/src/oci/core/models/instance_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/internet_gateway.py b/src/oci/core/models/internet_gateway.py index b796f47d04..7bda817b5e 100644 --- a/src/oci/core/models/internet_gateway.py +++ b/src/oci/core/models/internet_gateway.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/ip_sec_connection.py b/src/oci/core/models/ip_sec_connection.py index b2ad63cfab..4da46de39a 100644 --- a/src/oci/core/models/ip_sec_connection.py +++ b/src/oci/core/models/ip_sec_connection.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/ip_sec_connection_device_config.py b/src/oci/core/models/ip_sec_connection_device_config.py index 0e64869be1..b948ea1cf6 100644 --- a/src/oci/core/models/ip_sec_connection_device_config.py +++ b/src/oci/core/models/ip_sec_connection_device_config.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/ip_sec_connection_device_status.py b/src/oci/core/models/ip_sec_connection_device_status.py index 40958ad5b7..a593e94d39 100644 --- a/src/oci/core/models/ip_sec_connection_device_status.py +++ b/src/oci/core/models/ip_sec_connection_device_status.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/launch_instance_details.py b/src/oci/core/models/launch_instance_details.py index 2b584d3e64..1e79d4e602 100644 --- a/src/oci/core/models/launch_instance_details.py +++ b/src/oci/core/models/launch_instance_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/launch_options.py b/src/oci/core/models/launch_options.py index 1c001bc1c0..369b3528c1 100644 --- a/src/oci/core/models/launch_options.py +++ b/src/oci/core/models/launch_options.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -105,13 +105,18 @@ def __init__(self, **kwargs): The value to assign to the is_pv_encryption_in_transit_enabled property of this LaunchOptions. :type is_pv_encryption_in_transit_enabled: bool + :param is_consistent_volume_naming_enabled: + The value to assign to the is_consistent_volume_naming_enabled property of this LaunchOptions. + :type is_consistent_volume_naming_enabled: bool + """ self.swagger_types = { 'boot_volume_type': 'str', 'firmware': 'str', 'network_type': 'str', 'remote_data_volume_type': 'str', - 'is_pv_encryption_in_transit_enabled': 'bool' + 'is_pv_encryption_in_transit_enabled': 'bool', + 'is_consistent_volume_naming_enabled': 'bool' } self.attribute_map = { @@ -119,7 +124,8 @@ def __init__(self, **kwargs): 'firmware': 'firmware', 'network_type': 'networkType', 'remote_data_volume_type': 'remoteDataVolumeType', - 'is_pv_encryption_in_transit_enabled': 'isPvEncryptionInTransitEnabled' + 'is_pv_encryption_in_transit_enabled': 'isPvEncryptionInTransitEnabled', + 'is_consistent_volume_naming_enabled': 'isConsistentVolumeNamingEnabled' } self._boot_volume_type = None @@ -127,6 +133,7 @@ def __init__(self, **kwargs): self._network_type = None self._remote_data_volume_type = None self._is_pv_encryption_in_transit_enabled = None + self._is_consistent_volume_naming_enabled = None @property def boot_volume_type(self): @@ -314,6 +321,30 @@ def is_pv_encryption_in_transit_enabled(self, is_pv_encryption_in_transit_enable """ self._is_pv_encryption_in_transit_enabled = is_pv_encryption_in_transit_enabled + @property + def is_consistent_volume_naming_enabled(self): + """ + Gets the is_consistent_volume_naming_enabled of this LaunchOptions. + Whether to enable consistent volume naming feature. Defaults to false. + + + :return: The is_consistent_volume_naming_enabled of this LaunchOptions. + :rtype: bool + """ + return self._is_consistent_volume_naming_enabled + + @is_consistent_volume_naming_enabled.setter + def is_consistent_volume_naming_enabled(self, is_consistent_volume_naming_enabled): + """ + Sets the is_consistent_volume_naming_enabled of this LaunchOptions. + Whether to enable consistent volume naming feature. Defaults to false. + + + :param is_consistent_volume_naming_enabled: The is_consistent_volume_naming_enabled of this LaunchOptions. + :type: bool + """ + self._is_consistent_volume_naming_enabled = is_consistent_volume_naming_enabled + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/core/models/letter_of_authority.py b/src/oci/core/models/letter_of_authority.py index fbd3c23e98..e39a8b73b8 100644 --- a/src/oci/core/models/letter_of_authority.py +++ b/src/oci/core/models/letter_of_authority.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/local_peering_gateway.py b/src/oci/core/models/local_peering_gateway.py index 4d3d630316..c76d675434 100644 --- a/src/oci/core/models/local_peering_gateway.py +++ b/src/oci/core/models/local_peering_gateway.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/nat_gateway.py b/src/oci/core/models/nat_gateway.py index 1b1fc8584b..7ed5ecd6ac 100644 --- a/src/oci/core/models/nat_gateway.py +++ b/src/oci/core/models/nat_gateway.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/paravirtualized_volume_attachment.py b/src/oci/core/models/paravirtualized_volume_attachment.py index a9dc757235..0afb3169b6 100644 --- a/src/oci/core/models/paravirtualized_volume_attachment.py +++ b/src/oci/core/models/paravirtualized_volume_attachment.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .volume_attachment import VolumeAttachment from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -30,6 +30,10 @@ def __init__(self, **kwargs): The value to assign to the compartment_id property of this ParavirtualizedVolumeAttachment. :type compartment_id: str + :param device: + The value to assign to the device property of this ParavirtualizedVolumeAttachment. + :type device: str + :param display_name: The value to assign to the display_name property of this ParavirtualizedVolumeAttachment. :type display_name: str @@ -68,6 +72,7 @@ def __init__(self, **kwargs): 'attachment_type': 'str', 'availability_domain': 'str', 'compartment_id': 'str', + 'device': 'str', 'display_name': 'str', 'id': 'str', 'instance_id': 'str', @@ -82,6 +87,7 @@ def __init__(self, **kwargs): 'attachment_type': 'attachmentType', 'availability_domain': 'availabilityDomain', 'compartment_id': 'compartmentId', + 'device': 'device', 'display_name': 'displayName', 'id': 'id', 'instance_id': 'instanceId', @@ -95,6 +101,7 @@ def __init__(self, **kwargs): self._attachment_type = None self._availability_domain = None self._compartment_id = None + self._device = None self._display_name = None self._id = None self._instance_id = None diff --git a/src/oci/core/models/peer_region_for_remote_peering.py b/src/oci/core/models/peer_region_for_remote_peering.py index cf53112e36..acdc0a16fb 100644 --- a/src/oci/core/models/peer_region_for_remote_peering.py +++ b/src/oci/core/models/peer_region_for_remote_peering.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/port_range.py b/src/oci/core/models/port_range.py index 11bd028900..54e8c75bf4 100644 --- a/src/oci/core/models/port_range.py +++ b/src/oci/core/models/port_range.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/private_ip.py b/src/oci/core/models/private_ip.py index da191ebc7c..e6a6bca5f3 100644 --- a/src/oci/core/models/private_ip.py +++ b/src/oci/core/models/private_ip.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/public_ip.py b/src/oci/core/models/public_ip.py index 240a5caf15..088a8aa793 100644 --- a/src/oci/core/models/public_ip.py +++ b/src/oci/core/models/public_ip.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/remote_peering_connection.py b/src/oci/core/models/remote_peering_connection.py index 1801e01e6c..9e363fe7a1 100644 --- a/src/oci/core/models/remote_peering_connection.py +++ b/src/oci/core/models/remote_peering_connection.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/route_rule.py b/src/oci/core/models/route_rule.py index 30a49eab00..9a86945e19 100644 --- a/src/oci/core/models/route_rule.py +++ b/src/oci/core/models/route_rule.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/route_table.py b/src/oci/core/models/route_table.py index e4877765e6..12da0e301c 100644 --- a/src/oci/core/models/route_table.py +++ b/src/oci/core/models/route_table.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/security_list.py b/src/oci/core/models/security_list.py index 7402abba8d..37ecc5300a 100644 --- a/src/oci/core/models/security_list.py +++ b/src/oci/core/models/security_list.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/service.py b/src/oci/core/models/service.py index bd30269285..77d2da5a61 100644 --- a/src/oci/core/models/service.py +++ b/src/oci/core/models/service.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/service_gateway.py b/src/oci/core/models/service_gateway.py index 3885f7ab73..efc1a8c97c 100644 --- a/src/oci/core/models/service_gateway.py +++ b/src/oci/core/models/service_gateway.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/service_id_request_details.py b/src/oci/core/models/service_id_request_details.py index ed55d23f47..1b6e9cd09c 100644 --- a/src/oci/core/models/service_id_request_details.py +++ b/src/oci/core/models/service_id_request_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/service_id_response_details.py b/src/oci/core/models/service_id_response_details.py index e372fdda13..1f22225944 100644 --- a/src/oci/core/models/service_id_response_details.py +++ b/src/oci/core/models/service_id_response_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/shape.py b/src/oci/core/models/shape.py index 8ee37d7258..4411cb79f7 100644 --- a/src/oci/core/models/shape.py +++ b/src/oci/core/models/shape.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/subnet.py b/src/oci/core/models/subnet.py index eed400190e..b80f298f33 100644 --- a/src/oci/core/models/subnet.py +++ b/src/oci/core/models/subnet.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/tcp_options.py b/src/oci/core/models/tcp_options.py index a9da17d471..7214141bff 100644 --- a/src/oci/core/models/tcp_options.py +++ b/src/oci/core/models/tcp_options.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/tunnel_config.py b/src/oci/core/models/tunnel_config.py index 97da13dce6..2eaed268ed 100644 --- a/src/oci/core/models/tunnel_config.py +++ b/src/oci/core/models/tunnel_config.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/tunnel_status.py b/src/oci/core/models/tunnel_status.py index 894a275d0d..69275d7f41 100644 --- a/src/oci/core/models/tunnel_status.py +++ b/src/oci/core/models/tunnel_status.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/udp_options.py b/src/oci/core/models/udp_options.py index deb90495b6..c896771a70 100644 --- a/src/oci/core/models/udp_options.py +++ b/src/oci/core/models/udp_options.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 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 bbc194b53c..93d7dd5e7d 100644 --- a/src/oci/core/models/update_boot_volume_backup_details.py +++ b/src/oci/core/models/update_boot_volume_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_boot_volume_details.py b/src/oci/core/models/update_boot_volume_details.py index 5f925009f8..0407fa53c2 100644 --- a/src/oci/core/models/update_boot_volume_details.py +++ b/src/oci/core/models/update_boot_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_boot_volume_kms_key_details.py b/src/oci/core/models/update_boot_volume_kms_key_details.py index e385f6f5cd..992d59ae30 100644 --- a/src/oci/core/models/update_boot_volume_kms_key_details.py +++ b/src/oci/core/models/update_boot_volume_kms_key_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_console_history_details.py b/src/oci/core/models/update_console_history_details.py index 43d7b7edd0..94be450ca1 100644 --- a/src/oci/core/models/update_console_history_details.py +++ b/src/oci/core/models/update_console_history_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_cpe_details.py b/src/oci/core/models/update_cpe_details.py index 14e60c4851..f35b3e42bd 100644 --- a/src/oci/core/models/update_cpe_details.py +++ b/src/oci/core/models/update_cpe_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_cross_connect_details.py b/src/oci/core/models/update_cross_connect_details.py index 84ec40109f..b5105d6dac 100644 --- a/src/oci/core/models/update_cross_connect_details.py +++ b/src/oci/core/models/update_cross_connect_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_cross_connect_group_details.py b/src/oci/core/models/update_cross_connect_group_details.py index 35a2d74272..453d7fdef8 100644 --- a/src/oci/core/models/update_cross_connect_group_details.py +++ b/src/oci/core/models/update_cross_connect_group_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_dhcp_details.py b/src/oci/core/models/update_dhcp_details.py index c87e613f1c..99f14bb25e 100644 --- a/src/oci/core/models/update_dhcp_details.py +++ b/src/oci/core/models/update_dhcp_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_drg_attachment_details.py b/src/oci/core/models/update_drg_attachment_details.py index e05555e960..b73f3dfba4 100644 --- a/src/oci/core/models/update_drg_attachment_details.py +++ b/src/oci/core/models/update_drg_attachment_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_drg_details.py b/src/oci/core/models/update_drg_details.py index efb2368afb..72bfeb6680 100644 --- a/src/oci/core/models/update_drg_details.py +++ b/src/oci/core/models/update_drg_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_image_details.py b/src/oci/core/models/update_image_details.py index 0e58e41dcf..d3ce3e0cfa 100644 --- a/src/oci/core/models/update_image_details.py +++ b/src/oci/core/models/update_image_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_instance_configuration_details.py b/src/oci/core/models/update_instance_configuration_details.py index 057500f388..6b89552097 100644 --- a/src/oci/core/models/update_instance_configuration_details.py +++ b/src/oci/core/models/update_instance_configuration_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_instance_details.py b/src/oci/core/models/update_instance_details.py index 1f15868c4b..fbc2fee930 100644 --- a/src/oci/core/models/update_instance_details.py +++ b/src/oci/core/models/update_instance_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_instance_pool_details.py b/src/oci/core/models/update_instance_pool_details.py index f94337f644..a0dac156b6 100644 --- a/src/oci/core/models/update_instance_pool_details.py +++ b/src/oci/core/models/update_instance_pool_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_instance_pool_placement_configuration_details.py b/src/oci/core/models/update_instance_pool_placement_configuration_details.py index 00d5d725ab..55e6a393bf 100644 --- a/src/oci/core/models/update_instance_pool_placement_configuration_details.py +++ b/src/oci/core/models/update_instance_pool_placement_configuration_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_internet_gateway_details.py b/src/oci/core/models/update_internet_gateway_details.py index 6c9b4a8a85..b17c279bd3 100644 --- a/src/oci/core/models/update_internet_gateway_details.py +++ b/src/oci/core/models/update_internet_gateway_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 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 e5d105767f..dbb3769d2f 100644 --- a/src/oci/core/models/update_ip_sec_connection_details.py +++ b/src/oci/core/models/update_ip_sec_connection_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 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 be49cadd81..6a8bb552ae 100644 --- a/src/oci/core/models/update_local_peering_gateway_details.py +++ b/src/oci/core/models/update_local_peering_gateway_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_nat_gateway_details.py b/src/oci/core/models/update_nat_gateway_details.py index 5b3b49aebe..e15e76d769 100644 --- a/src/oci/core/models/update_nat_gateway_details.py +++ b/src/oci/core/models/update_nat_gateway_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_private_ip_details.py b/src/oci/core/models/update_private_ip_details.py index 900516d5af..56eb375b37 100644 --- a/src/oci/core/models/update_private_ip_details.py +++ b/src/oci/core/models/update_private_ip_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_public_ip_details.py b/src/oci/core/models/update_public_ip_details.py index 99e62c9633..8e2ba1a0dc 100644 --- a/src/oci/core/models/update_public_ip_details.py +++ b/src/oci/core/models/update_public_ip_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_remote_peering_connection_details.py b/src/oci/core/models/update_remote_peering_connection_details.py index c770560a2f..a3d20272c4 100644 --- a/src/oci/core/models/update_remote_peering_connection_details.py +++ b/src/oci/core/models/update_remote_peering_connection_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_route_table_details.py b/src/oci/core/models/update_route_table_details.py index 3a2d181550..0f6e1d9343 100644 --- a/src/oci/core/models/update_route_table_details.py +++ b/src/oci/core/models/update_route_table_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_security_list_details.py b/src/oci/core/models/update_security_list_details.py index 851a31602b..d52af04667 100644 --- a/src/oci/core/models/update_security_list_details.py +++ b/src/oci/core/models/update_security_list_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_service_gateway_details.py b/src/oci/core/models/update_service_gateway_details.py index 6e2933d3c0..c6b353deaa 100644 --- a/src/oci/core/models/update_service_gateway_details.py +++ b/src/oci/core/models/update_service_gateway_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_subnet_details.py b/src/oci/core/models/update_subnet_details.py index cf7bd726f9..5198871382 100644 --- a/src/oci/core/models/update_subnet_details.py +++ b/src/oci/core/models/update_subnet_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_vcn_details.py b/src/oci/core/models/update_vcn_details.py index 0eea9756fa..2185a22628 100644 --- a/src/oci/core/models/update_vcn_details.py +++ b/src/oci/core/models/update_vcn_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_virtual_circuit_details.py b/src/oci/core/models/update_virtual_circuit_details.py index 78e86ceeed..5857c933a8 100644 --- a/src/oci/core/models/update_virtual_circuit_details.py +++ b/src/oci/core/models/update_virtual_circuit_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_vnic_details.py b/src/oci/core/models/update_vnic_details.py index 5b640cfd2d..1ebda921cb 100644 --- a/src/oci/core/models/update_vnic_details.py +++ b/src/oci/core/models/update_vnic_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_volume_backup_details.py b/src/oci/core/models/update_volume_backup_details.py index e7ed5cbedc..6e442b3566 100644 --- a/src/oci/core/models/update_volume_backup_details.py +++ b/src/oci/core/models/update_volume_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_volume_details.py b/src/oci/core/models/update_volume_details.py index 11947e60e3..311bb43363 100644 --- a/src/oci/core/models/update_volume_details.py +++ b/src/oci/core/models/update_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 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 3bb6b7fe76..ddd30f5daf 100644 --- a/src/oci/core/models/update_volume_group_backup_details.py +++ b/src/oci/core/models/update_volume_group_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_volume_group_details.py b/src/oci/core/models/update_volume_group_details.py index 7610b6c34e..efd6d03c9a 100644 --- a/src/oci/core/models/update_volume_group_details.py +++ b/src/oci/core/models/update_volume_group_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/update_volume_kms_key_details.py b/src/oci/core/models/update_volume_kms_key_details.py index a1309e1417..c0bab68a45 100644 --- a/src/oci/core/models/update_volume_kms_key_details.py +++ b/src/oci/core/models/update_volume_kms_key_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/vcn.py b/src/oci/core/models/vcn.py index e5ca288a95..2ed31a6334 100644 --- a/src/oci/core/models/vcn.py +++ b/src/oci/core/models/vcn.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/virtual_circuit.py b/src/oci/core/models/virtual_circuit.py index 8da0166099..08e5bde815 100644 --- a/src/oci/core/models/virtual_circuit.py +++ b/src/oci/core/models/virtual_circuit.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/virtual_circuit_bandwidth_shape.py b/src/oci/core/models/virtual_circuit_bandwidth_shape.py index 99d2604c22..158d277958 100644 --- a/src/oci/core/models/virtual_circuit_bandwidth_shape.py +++ b/src/oci/core/models/virtual_circuit_bandwidth_shape.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/virtual_circuit_public_prefix.py b/src/oci/core/models/virtual_circuit_public_prefix.py index aedb627f6b..70424c1a4c 100644 --- a/src/oci/core/models/virtual_circuit_public_prefix.py +++ b/src/oci/core/models/virtual_circuit_public_prefix.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/vnic.py b/src/oci/core/models/vnic.py index 133eee5498..c44015933a 100644 --- a/src/oci/core/models/vnic.py +++ b/src/oci/core/models/vnic.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/vnic_attachment.py b/src/oci/core/models/vnic_attachment.py index c5a43d51c8..707242cba0 100644 --- a/src/oci/core/models/vnic_attachment.py +++ b/src/oci/core/models/vnic_attachment.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume.py b/src/oci/core/models/volume.py index 8fb6e1975e..ad2be24c3b 100644 --- a/src/oci/core/models/volume.py +++ b/src/oci/core/models/volume.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume_attachment.py b/src/oci/core/models/volume_attachment.py index cb9858fea7..93826ae696 100644 --- a/src/oci/core/models/volume_attachment.py +++ b/src/oci/core/models/volume_attachment.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -60,6 +60,10 @@ def __init__(self, **kwargs): The value to assign to the compartment_id property of this VolumeAttachment. :type compartment_id: str + :param device: + The value to assign to the device property of this VolumeAttachment. + :type device: str + :param display_name: The value to assign to the display_name property of this VolumeAttachment. :type display_name: str @@ -99,6 +103,7 @@ def __init__(self, **kwargs): 'attachment_type': 'str', 'availability_domain': 'str', 'compartment_id': 'str', + 'device': 'str', 'display_name': 'str', 'id': 'str', 'instance_id': 'str', @@ -113,6 +118,7 @@ def __init__(self, **kwargs): 'attachment_type': 'attachmentType', 'availability_domain': 'availabilityDomain', 'compartment_id': 'compartmentId', + 'device': 'device', 'display_name': 'displayName', 'id': 'id', 'instance_id': 'instanceId', @@ -126,6 +132,7 @@ def __init__(self, **kwargs): self._attachment_type = None self._availability_domain = None self._compartment_id = None + self._device = None self._display_name = None self._id = None self._instance_id = None @@ -227,6 +234,30 @@ def compartment_id(self, compartment_id): """ self._compartment_id = compartment_id + @property + def device(self): + """ + Gets the device of this VolumeAttachment. + The device name. + + + :return: The device of this VolumeAttachment. + :rtype: str + """ + return self._device + + @device.setter + def device(self, device): + """ + Sets the device of this VolumeAttachment. + The device name. + + + :param device: The device of this VolumeAttachment. + :type: str + """ + self._device = device + @property def display_name(self): """ diff --git a/src/oci/core/models/volume_backup.py b/src/oci/core/models/volume_backup.py index 9c7f2769b9..9d18990217 100644 --- a/src/oci/core/models/volume_backup.py +++ b/src/oci/core/models/volume_backup.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume_backup_policy.py b/src/oci/core/models/volume_backup_policy.py index 3578eb535f..95cf94d191 100644 --- a/src/oci/core/models/volume_backup_policy.py +++ b/src/oci/core/models/volume_backup_policy.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume_backup_policy_assignment.py b/src/oci/core/models/volume_backup_policy_assignment.py index e95a0f4946..2e067299b8 100644 --- a/src/oci/core/models/volume_backup_policy_assignment.py +++ b/src/oci/core/models/volume_backup_policy_assignment.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume_backup_schedule.py b/src/oci/core/models/volume_backup_schedule.py index d9ea1e6e56..d749ece21b 100644 --- a/src/oci/core/models/volume_backup_schedule.py +++ b/src/oci/core/models/volume_backup_schedule.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume_group.py b/src/oci/core/models/volume_group.py index 23f7a77960..0381d5951b 100644 --- a/src/oci/core/models/volume_group.py +++ b/src/oci/core/models/volume_group.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume_group_backup.py b/src/oci/core/models/volume_group_backup.py index 828ddd1f75..dcc0c1bf25 100644 --- a/src/oci/core/models/volume_group_backup.py +++ b/src/oci/core/models/volume_group_backup.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume_group_source_details.py b/src/oci/core/models/volume_group_source_details.py index 424e494442..bacd7e0301 100644 --- a/src/oci/core/models/volume_group_source_details.py +++ b/src/oci/core/models/volume_group_source_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume_group_source_from_volume_group_backup_details.py b/src/oci/core/models/volume_group_source_from_volume_group_backup_details.py index feb13313a3..9a23ef93e0 100644 --- a/src/oci/core/models/volume_group_source_from_volume_group_backup_details.py +++ b/src/oci/core/models/volume_group_source_from_volume_group_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .volume_group_source_details import VolumeGroupSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume_group_source_from_volume_group_details.py b/src/oci/core/models/volume_group_source_from_volume_group_details.py index 16bcbac1e3..a9c72d0813 100644 --- a/src/oci/core/models/volume_group_source_from_volume_group_details.py +++ b/src/oci/core/models/volume_group_source_from_volume_group_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .volume_group_source_details import VolumeGroupSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume_group_source_from_volumes_details.py b/src/oci/core/models/volume_group_source_from_volumes_details.py index 08f5e599d0..9eb8c6cba2 100644 --- a/src/oci/core/models/volume_group_source_from_volumes_details.py +++ b/src/oci/core/models/volume_group_source_from_volumes_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .volume_group_source_details import VolumeGroupSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume_kms_key.py b/src/oci/core/models/volume_kms_key.py index ce0bb3fef1..b0f7af243a 100644 --- a/src/oci/core/models/volume_kms_key.py +++ b/src/oci/core/models/volume_kms_key.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume_source_details.py b/src/oci/core/models/volume_source_details.py index 2f321ab468..40c6b0d025 100644 --- a/src/oci/core/models/volume_source_details.py +++ b/src/oci/core/models/volume_source_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume_source_from_volume_backup_details.py b/src/oci/core/models/volume_source_from_volume_backup_details.py index a72270d0cc..c097f456c8 100644 --- a/src/oci/core/models/volume_source_from_volume_backup_details.py +++ b/src/oci/core/models/volume_source_from_volume_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .volume_source_details import VolumeSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/models/volume_source_from_volume_details.py b/src/oci/core/models/volume_source_from_volume_details.py index 1848cdb2dc..9dbe1c8b4f 100644 --- a/src/oci/core/models/volume_source_from_volume_details.py +++ b/src/oci/core/models/volume_source_from_volume_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .volume_source_details import VolumeSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/core/virtual_network_client.py b/src/oci/core/virtual_network_client.py index 9e8382a60c..27f3657e7c 100644 --- a/src/oci/core/virtual_network_client.py +++ b/src/oci/core/virtual_network_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/core/virtual_network_client_composite_operations.py b/src/oci/core/virtual_network_client_composite_operations.py index 576a18fdee..b55972fffd 100644 --- a/src/oci/core/virtual_network_client_composite_operations.py +++ b/src/oci/core/virtual_network_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/database/__init__.py b/src/oci/database/__init__.py index beff9a61a8..94efef3e5c 100644 --- a/src/oci/database/__init__.py +++ b/src/oci/database/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/database/database_client.py b/src/oci/database/database_client.py index edd9e5bb44..a09b99e780 100644 --- a/src/oci/database/database_client.py +++ b/src/oci/database/database_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/database/database_client_composite_operations.py b/src/oci/database/database_client_composite_operations.py index 952e8d793b..0373449da3 100644 --- a/src/oci/database/database_client_composite_operations.py +++ b/src/oci/database/database_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/database/models/__init__.py b/src/oci/database/models/__init__.py index 3b346e316c..29f4c2b2d7 100644 --- a/src/oci/database/models/__init__.py +++ b/src/oci/database/models/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/database/models/autonomous_data_warehouse.py b/src/oci/database/models/autonomous_data_warehouse.py index 95fa5d0e71..7ca3a6ee11 100644 --- a/src/oci/database/models/autonomous_data_warehouse.py +++ b/src/oci/database/models/autonomous_data_warehouse.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/autonomous_data_warehouse_backup.py b/src/oci/database/models/autonomous_data_warehouse_backup.py index 731c30a681..748831f5ed 100644 --- a/src/oci/database/models/autonomous_data_warehouse_backup.py +++ b/src/oci/database/models/autonomous_data_warehouse_backup.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/autonomous_data_warehouse_backup_summary.py b/src/oci/database/models/autonomous_data_warehouse_backup_summary.py index aa836f0254..4136097b7c 100644 --- a/src/oci/database/models/autonomous_data_warehouse_backup_summary.py +++ b/src/oci/database/models/autonomous_data_warehouse_backup_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/autonomous_data_warehouse_connection_strings.py b/src/oci/database/models/autonomous_data_warehouse_connection_strings.py index c9c60367be..9810657406 100644 --- a/src/oci/database/models/autonomous_data_warehouse_connection_strings.py +++ b/src/oci/database/models/autonomous_data_warehouse_connection_strings.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/autonomous_data_warehouse_summary.py b/src/oci/database/models/autonomous_data_warehouse_summary.py index dfbbe44781..a38665d1bc 100644 --- a/src/oci/database/models/autonomous_data_warehouse_summary.py +++ b/src/oci/database/models/autonomous_data_warehouse_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/autonomous_database.py b/src/oci/database/models/autonomous_database.py index b59297b473..1d4156ee64 100644 --- a/src/oci/database/models/autonomous_database.py +++ b/src/oci/database/models/autonomous_database.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/autonomous_database_backup.py b/src/oci/database/models/autonomous_database_backup.py index 464863efe0..1c4d01c9f7 100644 --- a/src/oci/database/models/autonomous_database_backup.py +++ b/src/oci/database/models/autonomous_database_backup.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/autonomous_database_backup_summary.py b/src/oci/database/models/autonomous_database_backup_summary.py index 97ce3dcf3c..636d53b5f0 100644 --- a/src/oci/database/models/autonomous_database_backup_summary.py +++ b/src/oci/database/models/autonomous_database_backup_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/autonomous_database_connection_strings.py b/src/oci/database/models/autonomous_database_connection_strings.py index 8c51e9ef1d..bbc6a8acc8 100644 --- a/src/oci/database/models/autonomous_database_connection_strings.py +++ b/src/oci/database/models/autonomous_database_connection_strings.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/autonomous_database_summary.py b/src/oci/database/models/autonomous_database_summary.py index 4c9b0fc06d..bda9302fb1 100644 --- a/src/oci/database/models/autonomous_database_summary.py +++ b/src/oci/database/models/autonomous_database_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/backup.py b/src/oci/database/models/backup.py index 7900c8f4f3..3d763bfd82 100644 --- a/src/oci/database/models/backup.py +++ b/src/oci/database/models/backup.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/backup_summary.py b/src/oci/database/models/backup_summary.py index 2f3e76db7a..315ce1c24e 100644 --- a/src/oci/database/models/backup_summary.py +++ b/src/oci/database/models/backup_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/complete_external_backup_job_details.py b/src/oci/database/models/complete_external_backup_job_details.py index a086db4b49..770a4ea719 100644 --- a/src/oci/database/models/complete_external_backup_job_details.py +++ b/src/oci/database/models/complete_external_backup_job_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_autonomous_data_warehouse_backup_details.py b/src/oci/database/models/create_autonomous_data_warehouse_backup_details.py index 420e21349d..a834e41369 100644 --- a/src/oci/database/models/create_autonomous_data_warehouse_backup_details.py +++ b/src/oci/database/models/create_autonomous_data_warehouse_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_autonomous_data_warehouse_details.py b/src/oci/database/models/create_autonomous_data_warehouse_details.py index b6e6295637..ba3f2623fe 100644 --- a/src/oci/database/models/create_autonomous_data_warehouse_details.py +++ b/src/oci/database/models/create_autonomous_data_warehouse_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_autonomous_database_backup_details.py b/src/oci/database/models/create_autonomous_database_backup_details.py index f313456c3e..d69d9f968c 100644 --- a/src/oci/database/models/create_autonomous_database_backup_details.py +++ b/src/oci/database/models/create_autonomous_database_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_autonomous_database_details.py b/src/oci/database/models/create_autonomous_database_details.py index d7b13ad1df..951111d2f9 100644 --- a/src/oci/database/models/create_autonomous_database_details.py +++ b/src/oci/database/models/create_autonomous_database_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_backup_details.py b/src/oci/database/models/create_backup_details.py index 40a99569f1..d7aa8e2580 100644 --- a/src/oci/database/models/create_backup_details.py +++ b/src/oci/database/models/create_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_data_guard_association_details.py b/src/oci/database/models/create_data_guard_association_details.py index 6e30c65c34..28ca80b1d5 100644 --- a/src/oci/database/models/create_data_guard_association_details.py +++ b/src/oci/database/models/create_data_guard_association_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_data_guard_association_to_existing_db_system_details.py b/src/oci/database/models/create_data_guard_association_to_existing_db_system_details.py index 2bbff91d10..d5861f2109 100644 --- a/src/oci/database/models/create_data_guard_association_to_existing_db_system_details.py +++ b/src/oci/database/models/create_data_guard_association_to_existing_db_system_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .create_data_guard_association_details import CreateDataGuardAssociationDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_data_guard_association_with_new_db_system_details.py b/src/oci/database/models/create_data_guard_association_with_new_db_system_details.py index 5a3681ddc0..e4886227de 100644 --- a/src/oci/database/models/create_data_guard_association_with_new_db_system_details.py +++ b/src/oci/database/models/create_data_guard_association_with_new_db_system_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .create_data_guard_association_details import CreateDataGuardAssociationDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_database_details.py b/src/oci/database/models/create_database_details.py index ff1be87199..d55b5fe38b 100644 --- a/src/oci/database/models/create_database_details.py +++ b/src/oci/database/models/create_database_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_database_from_backup_details.py b/src/oci/database/models/create_database_from_backup_details.py index e27af19ab0..07fc2c1f6b 100644 --- a/src/oci/database/models/create_database_from_backup_details.py +++ b/src/oci/database/models/create_database_from_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_db_home_details.py b/src/oci/database/models/create_db_home_details.py index 269a02a207..2cbe3e72e8 100644 --- a/src/oci/database/models/create_db_home_details.py +++ b/src/oci/database/models/create_db_home_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_db_home_from_backup_details.py b/src/oci/database/models/create_db_home_from_backup_details.py index bf4bf0158b..4b06bce629 100644 --- a/src/oci/database/models/create_db_home_from_backup_details.py +++ b/src/oci/database/models/create_db_home_from_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_db_home_with_db_system_id_base.py b/src/oci/database/models/create_db_home_with_db_system_id_base.py index 8f66a6ec72..d640d6545b 100644 --- a/src/oci/database/models/create_db_home_with_db_system_id_base.py +++ b/src/oci/database/models/create_db_home_with_db_system_id_base.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_db_home_with_db_system_id_details.py b/src/oci/database/models/create_db_home_with_db_system_id_details.py index 8cf1a3a0ae..7d3aa62614 100644 --- a/src/oci/database/models/create_db_home_with_db_system_id_details.py +++ b/src/oci/database/models/create_db_home_with_db_system_id_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .create_db_home_with_db_system_id_base import CreateDbHomeWithDbSystemIdBase from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_db_home_with_db_system_id_from_backup_details.py b/src/oci/database/models/create_db_home_with_db_system_id_from_backup_details.py index 853a63b142..ab494af1c9 100644 --- a/src/oci/database/models/create_db_home_with_db_system_id_from_backup_details.py +++ b/src/oci/database/models/create_db_home_with_db_system_id_from_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .create_db_home_with_db_system_id_base import CreateDbHomeWithDbSystemIdBase from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/create_external_backup_job_details.py b/src/oci/database/models/create_external_backup_job_details.py index 1ce72ad6b4..35708aebba 100644 --- a/src/oci/database/models/create_external_backup_job_details.py +++ b/src/oci/database/models/create_external_backup_job_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/data_guard_association.py b/src/oci/database/models/data_guard_association.py index 922f380682..30b37b8457 100644 --- a/src/oci/database/models/data_guard_association.py +++ b/src/oci/database/models/data_guard_association.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/data_guard_association_summary.py b/src/oci/database/models/data_guard_association_summary.py index 5774c29357..e1fe1cecae 100644 --- a/src/oci/database/models/data_guard_association_summary.py +++ b/src/oci/database/models/data_guard_association_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/database.py b/src/oci/database/models/database.py index f5847cc18c..7d8cf77d2d 100644 --- a/src/oci/database/models/database.py +++ b/src/oci/database/models/database.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/database_summary.py b/src/oci/database/models/database_summary.py index 6427bd5795..652e75a1a3 100644 --- a/src/oci/database/models/database_summary.py +++ b/src/oci/database/models/database_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/db_backup_config.py b/src/oci/database/models/db_backup_config.py index ebc5644fa9..c979a1a788 100644 --- a/src/oci/database/models/db_backup_config.py +++ b/src/oci/database/models/db_backup_config.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/db_home.py b/src/oci/database/models/db_home.py index 7637a131ea..7d140c3b4a 100644 --- a/src/oci/database/models/db_home.py +++ b/src/oci/database/models/db_home.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/db_home_summary.py b/src/oci/database/models/db_home_summary.py index 26af3d3cce..5f39854585 100644 --- a/src/oci/database/models/db_home_summary.py +++ b/src/oci/database/models/db_home_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/db_node.py b/src/oci/database/models/db_node.py index 5ade54e077..d5493aef24 100644 --- a/src/oci/database/models/db_node.py +++ b/src/oci/database/models/db_node.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/db_node_summary.py b/src/oci/database/models/db_node_summary.py index 4b1b73fbba..8c42e17562 100644 --- a/src/oci/database/models/db_node_summary.py +++ b/src/oci/database/models/db_node_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/db_system.py b/src/oci/database/models/db_system.py index 713752cbce..cd08b77887 100644 --- a/src/oci/database/models/db_system.py +++ b/src/oci/database/models/db_system.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/db_system_shape_summary.py b/src/oci/database/models/db_system_shape_summary.py index b27f73afa2..f04817f968 100644 --- a/src/oci/database/models/db_system_shape_summary.py +++ b/src/oci/database/models/db_system_shape_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/db_system_summary.py b/src/oci/database/models/db_system_summary.py index 016b45b472..02b82da3d9 100644 --- a/src/oci/database/models/db_system_summary.py +++ b/src/oci/database/models/db_system_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/db_version_summary.py b/src/oci/database/models/db_version_summary.py index 6b63344e1e..f5f04ef740 100644 --- a/src/oci/database/models/db_version_summary.py +++ b/src/oci/database/models/db_version_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/external_backup_job.py b/src/oci/database/models/external_backup_job.py index 2f15e4f97f..5271df8994 100644 --- a/src/oci/database/models/external_backup_job.py +++ b/src/oci/database/models/external_backup_job.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/failover_data_guard_association_details.py b/src/oci/database/models/failover_data_guard_association_details.py index a704596b11..f9b6425dca 100644 --- a/src/oci/database/models/failover_data_guard_association_details.py +++ b/src/oci/database/models/failover_data_guard_association_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/generate_autonomous_data_warehouse_wallet_details.py b/src/oci/database/models/generate_autonomous_data_warehouse_wallet_details.py index 14638dfc55..519a56ff82 100644 --- a/src/oci/database/models/generate_autonomous_data_warehouse_wallet_details.py +++ b/src/oci/database/models/generate_autonomous_data_warehouse_wallet_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/generate_autonomous_database_wallet_details.py b/src/oci/database/models/generate_autonomous_database_wallet_details.py index 7ac650b2ed..6b8d5c6bfe 100644 --- a/src/oci/database/models/generate_autonomous_database_wallet_details.py +++ b/src/oci/database/models/generate_autonomous_database_wallet_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/launch_db_system_base.py b/src/oci/database/models/launch_db_system_base.py index bdbf4965e5..17f827d24d 100644 --- a/src/oci/database/models/launch_db_system_base.py +++ b/src/oci/database/models/launch_db_system_base.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/launch_db_system_details.py b/src/oci/database/models/launch_db_system_details.py index a515955382..272c7e01b2 100644 --- a/src/oci/database/models/launch_db_system_details.py +++ b/src/oci/database/models/launch_db_system_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .launch_db_system_base import LaunchDbSystemBase from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/launch_db_system_from_backup_details.py b/src/oci/database/models/launch_db_system_from_backup_details.py index 600dc117f8..a96cbb8593 100644 --- a/src/oci/database/models/launch_db_system_from_backup_details.py +++ b/src/oci/database/models/launch_db_system_from_backup_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .launch_db_system_base import LaunchDbSystemBase from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/patch.py b/src/oci/database/models/patch.py index 64687f7f73..9d19e52f97 100644 --- a/src/oci/database/models/patch.py +++ b/src/oci/database/models/patch.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/patch_details.py b/src/oci/database/models/patch_details.py index fe79bbfb64..5695bb06d2 100644 --- a/src/oci/database/models/patch_details.py +++ b/src/oci/database/models/patch_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/patch_history_entry.py b/src/oci/database/models/patch_history_entry.py index 5a00537f64..c8d861a569 100644 --- a/src/oci/database/models/patch_history_entry.py +++ b/src/oci/database/models/patch_history_entry.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/patch_history_entry_summary.py b/src/oci/database/models/patch_history_entry_summary.py index b51e529f83..faf265a90e 100644 --- a/src/oci/database/models/patch_history_entry_summary.py +++ b/src/oci/database/models/patch_history_entry_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/patch_summary.py b/src/oci/database/models/patch_summary.py index cb5efefdf6..2b20c2d413 100644 --- a/src/oci/database/models/patch_summary.py +++ b/src/oci/database/models/patch_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/reinstate_data_guard_association_details.py b/src/oci/database/models/reinstate_data_guard_association_details.py index 32ec706a73..11df86b188 100644 --- a/src/oci/database/models/reinstate_data_guard_association_details.py +++ b/src/oci/database/models/reinstate_data_guard_association_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/restore_autonomous_data_warehouse_details.py b/src/oci/database/models/restore_autonomous_data_warehouse_details.py index 96ea3c2b7c..2ed6b4ee6c 100644 --- a/src/oci/database/models/restore_autonomous_data_warehouse_details.py +++ b/src/oci/database/models/restore_autonomous_data_warehouse_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/restore_autonomous_database_details.py b/src/oci/database/models/restore_autonomous_database_details.py index a2908be915..9435a55902 100644 --- a/src/oci/database/models/restore_autonomous_database_details.py +++ b/src/oci/database/models/restore_autonomous_database_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/restore_database_details.py b/src/oci/database/models/restore_database_details.py index 0edceb922a..7109e813e3 100644 --- a/src/oci/database/models/restore_database_details.py +++ b/src/oci/database/models/restore_database_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/switchover_data_guard_association_details.py b/src/oci/database/models/switchover_data_guard_association_details.py index a6a94af73a..1ded4d3e06 100644 --- a/src/oci/database/models/switchover_data_guard_association_details.py +++ b/src/oci/database/models/switchover_data_guard_association_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/update_autonomous_data_warehouse_details.py b/src/oci/database/models/update_autonomous_data_warehouse_details.py index ff8cced023..8d2650b5c4 100644 --- a/src/oci/database/models/update_autonomous_data_warehouse_details.py +++ b/src/oci/database/models/update_autonomous_data_warehouse_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/update_autonomous_database_details.py b/src/oci/database/models/update_autonomous_database_details.py index 47c7996bc1..59c6deada8 100644 --- a/src/oci/database/models/update_autonomous_database_details.py +++ b/src/oci/database/models/update_autonomous_database_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/update_database_details.py b/src/oci/database/models/update_database_details.py index c42c9652dd..12f42d390f 100644 --- a/src/oci/database/models/update_database_details.py +++ b/src/oci/database/models/update_database_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/update_db_home_details.py b/src/oci/database/models/update_db_home_details.py index eeb7b27624..0e5a10c48f 100644 --- a/src/oci/database/models/update_db_home_details.py +++ b/src/oci/database/models/update_db_home_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/database/models/update_db_system_details.py b/src/oci/database/models/update_db_system_details.py index e03ae9bda6..82ed60704f 100644 --- a/src/oci/database/models/update_db_system_details.py +++ b/src/oci/database/models/update_db_system_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/decorators.py b/src/oci/decorators.py index 24716ccad4..31cb3532ef 100644 --- a/src/oci/decorators.py +++ b/src/oci/decorators.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .util import Sentinel diff --git a/src/oci/dns/__init__.py b/src/oci/dns/__init__.py index 3a87a31fa6..c48fa530de 100644 --- a/src/oci/dns/__init__.py +++ b/src/oci/dns/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/dns/dns_client.py b/src/oci/dns/dns_client.py index b350d3917e..27bf3eb147 100644 --- a/src/oci/dns/dns_client.py +++ b/src/oci/dns/dns_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/dns/dns_client_composite_operations.py b/src/oci/dns/dns_client_composite_operations.py index 04ace2fff3..d1a729387d 100644 --- a/src/oci/dns/dns_client_composite_operations.py +++ b/src/oci/dns/dns_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/dns/models/__init__.py b/src/oci/dns/models/__init__.py index 0eea9acbbe..a1518db5ee 100644 --- a/src/oci/dns/models/__init__.py +++ b/src/oci/dns/models/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/dns/models/create_zone_details.py b/src/oci/dns/models/create_zone_details.py index b4f05b8f58..1a64d61f9e 100644 --- a/src/oci/dns/models/create_zone_details.py +++ b/src/oci/dns/models/create_zone_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/external_master.py b/src/oci/dns/models/external_master.py index 48b58fa8f3..fecc329d71 100644 --- a/src/oci/dns/models/external_master.py +++ b/src/oci/dns/models/external_master.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/nameserver.py b/src/oci/dns/models/nameserver.py index b0644e67f6..4a2012afc1 100644 --- a/src/oci/dns/models/nameserver.py +++ b/src/oci/dns/models/nameserver.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/patch_domain_records_details.py b/src/oci/dns/models/patch_domain_records_details.py index 18540b7449..54c2fd5862 100644 --- a/src/oci/dns/models/patch_domain_records_details.py +++ b/src/oci/dns/models/patch_domain_records_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/patch_rr_set_details.py b/src/oci/dns/models/patch_rr_set_details.py index 72cb23c226..b652018778 100644 --- a/src/oci/dns/models/patch_rr_set_details.py +++ b/src/oci/dns/models/patch_rr_set_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/patch_zone_records_details.py b/src/oci/dns/models/patch_zone_records_details.py index e6fa12f024..1ba39ffb52 100644 --- a/src/oci/dns/models/patch_zone_records_details.py +++ b/src/oci/dns/models/patch_zone_records_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/record.py b/src/oci/dns/models/record.py index d50950acc8..2f841d3146 100644 --- a/src/oci/dns/models/record.py +++ b/src/oci/dns/models/record.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/record_collection.py b/src/oci/dns/models/record_collection.py index 889948d1b6..5c5ead3adb 100644 --- a/src/oci/dns/models/record_collection.py +++ b/src/oci/dns/models/record_collection.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/record_details.py b/src/oci/dns/models/record_details.py index 8045348eec..c25b1c7619 100644 --- a/src/oci/dns/models/record_details.py +++ b/src/oci/dns/models/record_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/record_operation.py b/src/oci/dns/models/record_operation.py index bbc3289754..06bef9860e 100644 --- a/src/oci/dns/models/record_operation.py +++ b/src/oci/dns/models/record_operation.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/rr_set.py b/src/oci/dns/models/rr_set.py index 4687ec5a25..d8990f773d 100644 --- a/src/oci/dns/models/rr_set.py +++ b/src/oci/dns/models/rr_set.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/tsig.py b/src/oci/dns/models/tsig.py index 12b030ed20..8d51d7efeb 100644 --- a/src/oci/dns/models/tsig.py +++ b/src/oci/dns/models/tsig.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/update_domain_records_details.py b/src/oci/dns/models/update_domain_records_details.py index fc23099191..ee1a144d2d 100644 --- a/src/oci/dns/models/update_domain_records_details.py +++ b/src/oci/dns/models/update_domain_records_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/update_rr_set_details.py b/src/oci/dns/models/update_rr_set_details.py index abbc64dd13..e99c5628f3 100644 --- a/src/oci/dns/models/update_rr_set_details.py +++ b/src/oci/dns/models/update_rr_set_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/update_zone_details.py b/src/oci/dns/models/update_zone_details.py index b5e001aeb6..1b62d22f49 100644 --- a/src/oci/dns/models/update_zone_details.py +++ b/src/oci/dns/models/update_zone_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/update_zone_records_details.py b/src/oci/dns/models/update_zone_records_details.py index 0a5bd48418..8900b1111b 100644 --- a/src/oci/dns/models/update_zone_records_details.py +++ b/src/oci/dns/models/update_zone_records_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/zone.py b/src/oci/dns/models/zone.py index 06d9ae6285..0dfa86514c 100644 --- a/src/oci/dns/models/zone.py +++ b/src/oci/dns/models/zone.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/dns/models/zone_summary.py b/src/oci/dns/models/zone_summary.py index 5fbf8e38af..640e23e770 100644 --- a/src/oci/dns/models/zone_summary.py +++ b/src/oci/dns/models/zone_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/email/__init__.py b/src/oci/email/__init__.py index a9b318d7ae..9904057aee 100644 --- a/src/oci/email/__init__.py +++ b/src/oci/email/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/email/email_client.py b/src/oci/email/email_client.py index 08c4665089..7e2767842e 100644 --- a/src/oci/email/email_client.py +++ b/src/oci/email/email_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/email/email_client_composite_operations.py b/src/oci/email/email_client_composite_operations.py index 8e13c42055..3cd60d08fa 100644 --- a/src/oci/email/email_client_composite_operations.py +++ b/src/oci/email/email_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/email/models/__init__.py b/src/oci/email/models/__init__.py index db08a5d2b4..e2447ce24e 100644 --- a/src/oci/email/models/__init__.py +++ b/src/oci/email/models/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/email/models/create_sender_details.py b/src/oci/email/models/create_sender_details.py index 37ef32006c..69ddc4eb2b 100644 --- a/src/oci/email/models/create_sender_details.py +++ b/src/oci/email/models/create_sender_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/email/models/create_suppression_details.py b/src/oci/email/models/create_suppression_details.py index 37801e2bac..9b78239b7d 100644 --- a/src/oci/email/models/create_suppression_details.py +++ b/src/oci/email/models/create_suppression_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/email/models/sender.py b/src/oci/email/models/sender.py index 0da8ffdee5..f32f6cd7d2 100644 --- a/src/oci/email/models/sender.py +++ b/src/oci/email/models/sender.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/email/models/sender_summary.py b/src/oci/email/models/sender_summary.py index cbaf0f78c1..06bec71357 100644 --- a/src/oci/email/models/sender_summary.py +++ b/src/oci/email/models/sender_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/email/models/suppression.py b/src/oci/email/models/suppression.py index 576274668f..9468dca06f 100644 --- a/src/oci/email/models/suppression.py +++ b/src/oci/email/models/suppression.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/email/models/suppression_summary.py b/src/oci/email/models/suppression_summary.py index 0cfcbc22f6..1b3573f4c1 100644 --- a/src/oci/email/models/suppression_summary.py +++ b/src/oci/email/models/suppression_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/exceptions.py b/src/oci/exceptions.py index 8ca8663665..13b99a90cc 100644 --- a/src/oci/exceptions.py +++ b/src/oci/exceptions.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci._vendor.requests.exceptions import RequestException as BaseRequestException from oci._vendor.requests.exceptions import ConnectTimeout as BaseConnectTimeout diff --git a/src/oci/file_storage/__init__.py b/src/oci/file_storage/__init__.py index e278ab3207..be3f2ec5f6 100644 --- a/src/oci/file_storage/__init__.py +++ b/src/oci/file_storage/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/file_storage/file_storage_client.py b/src/oci/file_storage/file_storage_client.py index 1f0be17888..9a586d5b03 100644 --- a/src/oci/file_storage/file_storage_client.py +++ b/src/oci/file_storage/file_storage_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/file_storage/file_storage_client_composite_operations.py b/src/oci/file_storage/file_storage_client_composite_operations.py index 0308498e6b..55d780548d 100644 --- a/src/oci/file_storage/file_storage_client_composite_operations.py +++ b/src/oci/file_storage/file_storage_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/file_storage/models/__init__.py b/src/oci/file_storage/models/__init__.py index 9c57684ad6..33408ba2b9 100644 --- a/src/oci/file_storage/models/__init__.py +++ b/src/oci/file_storage/models/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/file_storage/models/client_options.py b/src/oci/file_storage/models/client_options.py index 9cfb0c2e5d..5ca70b6efd 100644 --- a/src/oci/file_storage/models/client_options.py +++ b/src/oci/file_storage/models/client_options.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/create_export_details.py b/src/oci/file_storage/models/create_export_details.py index 222aac49cb..488ae6f096 100644 --- a/src/oci/file_storage/models/create_export_details.py +++ b/src/oci/file_storage/models/create_export_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/create_file_system_details.py b/src/oci/file_storage/models/create_file_system_details.py index ed0753f42b..a727a161f2 100644 --- a/src/oci/file_storage/models/create_file_system_details.py +++ b/src/oci/file_storage/models/create_file_system_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/create_mount_target_details.py b/src/oci/file_storage/models/create_mount_target_details.py index 7fbf2160dc..c764a30453 100644 --- a/src/oci/file_storage/models/create_mount_target_details.py +++ b/src/oci/file_storage/models/create_mount_target_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/create_snapshot_details.py b/src/oci/file_storage/models/create_snapshot_details.py index 41d8cc6362..7baffc4c13 100644 --- a/src/oci/file_storage/models/create_snapshot_details.py +++ b/src/oci/file_storage/models/create_snapshot_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/export.py b/src/oci/file_storage/models/export.py index 42e30a7a92..3df3a3bb95 100644 --- a/src/oci/file_storage/models/export.py +++ b/src/oci/file_storage/models/export.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/export_set.py b/src/oci/file_storage/models/export_set.py index 195cabd697..d0ff70f6bc 100644 --- a/src/oci/file_storage/models/export_set.py +++ b/src/oci/file_storage/models/export_set.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/export_set_summary.py b/src/oci/file_storage/models/export_set_summary.py index 7d0d7cf32e..245f40c268 100644 --- a/src/oci/file_storage/models/export_set_summary.py +++ b/src/oci/file_storage/models/export_set_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/export_summary.py b/src/oci/file_storage/models/export_summary.py index 7f22d5bc58..63d313d90e 100644 --- a/src/oci/file_storage/models/export_summary.py +++ b/src/oci/file_storage/models/export_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/file_system.py b/src/oci/file_storage/models/file_system.py index deaed33305..477d6ec29e 100644 --- a/src/oci/file_storage/models/file_system.py +++ b/src/oci/file_storage/models/file_system.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/file_system_summary.py b/src/oci/file_storage/models/file_system_summary.py index 4e1b460dd9..aba4c53e48 100644 --- a/src/oci/file_storage/models/file_system_summary.py +++ b/src/oci/file_storage/models/file_system_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/mount_target.py b/src/oci/file_storage/models/mount_target.py index 2e35509fef..24470a7550 100644 --- a/src/oci/file_storage/models/mount_target.py +++ b/src/oci/file_storage/models/mount_target.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/mount_target_summary.py b/src/oci/file_storage/models/mount_target_summary.py index b79bb2685e..1973a0970e 100644 --- a/src/oci/file_storage/models/mount_target_summary.py +++ b/src/oci/file_storage/models/mount_target_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/snapshot.py b/src/oci/file_storage/models/snapshot.py index e8001bd1fa..6229359b17 100644 --- a/src/oci/file_storage/models/snapshot.py +++ b/src/oci/file_storage/models/snapshot.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/snapshot_summary.py b/src/oci/file_storage/models/snapshot_summary.py index 1625ff448f..845145065f 100644 --- a/src/oci/file_storage/models/snapshot_summary.py +++ b/src/oci/file_storage/models/snapshot_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/update_export_details.py b/src/oci/file_storage/models/update_export_details.py index e59ba7168d..6409ae8665 100644 --- a/src/oci/file_storage/models/update_export_details.py +++ b/src/oci/file_storage/models/update_export_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/update_export_set_details.py b/src/oci/file_storage/models/update_export_set_details.py index 48e5c5e0e0..61e9f00407 100644 --- a/src/oci/file_storage/models/update_export_set_details.py +++ b/src/oci/file_storage/models/update_export_set_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/update_file_system_details.py b/src/oci/file_storage/models/update_file_system_details.py index fcd554cbfb..1031483b37 100644 --- a/src/oci/file_storage/models/update_file_system_details.py +++ b/src/oci/file_storage/models/update_file_system_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/update_mount_target_details.py b/src/oci/file_storage/models/update_mount_target_details.py index fc3d6102ed..5e22c75ea4 100644 --- a/src/oci/file_storage/models/update_mount_target_details.py +++ b/src/oci/file_storage/models/update_mount_target_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/file_storage/models/update_snapshot_details.py b/src/oci/file_storage/models/update_snapshot_details.py index 6795bd9471..e6a781630b 100644 --- a/src/oci/file_storage/models/update_snapshot_details.py +++ b/src/oci/file_storage/models/update_snapshot_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/fips.py b/src/oci/fips.py index db1cea23f1..9c70af1786 100644 --- a/src/oci/fips.py +++ b/src/oci/fips.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import sys import ctypes diff --git a/src/oci/identity/__init__.py b/src/oci/identity/__init__.py index 65c0fa8caa..d5949875d4 100644 --- a/src/oci/identity/__init__.py +++ b/src/oci/identity/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/identity/identity_client.py b/src/oci/identity/identity_client.py index c50f635bb0..96e6d8ae76 100644 --- a/src/oci/identity/identity_client.py +++ b/src/oci/identity/identity_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/identity/identity_client_composite_operations.py b/src/oci/identity/identity_client_composite_operations.py index 2ea45a3c32..8beaaf5fa9 100644 --- a/src/oci/identity/identity_client_composite_operations.py +++ b/src/oci/identity/identity_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/identity/models/__init__.py b/src/oci/identity/models/__init__.py index f1a8001eff..2d4ba1ceae 100644 --- a/src/oci/identity/models/__init__.py +++ b/src/oci/identity/models/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/identity/models/add_user_to_group_details.py b/src/oci/identity/models/add_user_to_group_details.py index 534b5a4754..93508bacbf 100644 --- a/src/oci/identity/models/add_user_to_group_details.py +++ b/src/oci/identity/models/add_user_to_group_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/api_key.py b/src/oci/identity/models/api_key.py index 65707d6f57..d1c978f4bc 100644 --- a/src/oci/identity/models/api_key.py +++ b/src/oci/identity/models/api_key.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/auth_token.py b/src/oci/identity/models/auth_token.py index ebb6303fa7..1677d9a718 100644 --- a/src/oci/identity/models/auth_token.py +++ b/src/oci/identity/models/auth_token.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/availability_domain.py b/src/oci/identity/models/availability_domain.py index 853c66ee26..c1f65e400d 100644 --- a/src/oci/identity/models/availability_domain.py +++ b/src/oci/identity/models/availability_domain.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/compartment.py b/src/oci/identity/models/compartment.py index 4d53387524..52d48dfcfc 100644 --- a/src/oci/identity/models/compartment.py +++ b/src/oci/identity/models/compartment.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_api_key_details.py b/src/oci/identity/models/create_api_key_details.py index 125f53fc65..46930077be 100644 --- a/src/oci/identity/models/create_api_key_details.py +++ b/src/oci/identity/models/create_api_key_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_auth_token_details.py b/src/oci/identity/models/create_auth_token_details.py index fb29e1e9d9..aba060b1dc 100644 --- a/src/oci/identity/models/create_auth_token_details.py +++ b/src/oci/identity/models/create_auth_token_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_compartment_details.py b/src/oci/identity/models/create_compartment_details.py index 30a70e9185..9bdcdc7c40 100644 --- a/src/oci/identity/models/create_compartment_details.py +++ b/src/oci/identity/models/create_compartment_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_customer_secret_key_details.py b/src/oci/identity/models/create_customer_secret_key_details.py index eaacd99fc5..573fc0b9bb 100644 --- a/src/oci/identity/models/create_customer_secret_key_details.py +++ b/src/oci/identity/models/create_customer_secret_key_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_dynamic_group_details.py b/src/oci/identity/models/create_dynamic_group_details.py index 590ab46698..0f82c197e1 100644 --- a/src/oci/identity/models/create_dynamic_group_details.py +++ b/src/oci/identity/models/create_dynamic_group_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_group_details.py b/src/oci/identity/models/create_group_details.py index 99e56dadd8..e136493cb7 100644 --- a/src/oci/identity/models/create_group_details.py +++ b/src/oci/identity/models/create_group_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_identity_provider_details.py b/src/oci/identity/models/create_identity_provider_details.py index 13baa4a135..28b45362a4 100644 --- a/src/oci/identity/models/create_identity_provider_details.py +++ b/src/oci/identity/models/create_identity_provider_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_idp_group_mapping_details.py b/src/oci/identity/models/create_idp_group_mapping_details.py index 21cc534373..9fac79f7a8 100644 --- a/src/oci/identity/models/create_idp_group_mapping_details.py +++ b/src/oci/identity/models/create_idp_group_mapping_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_policy_details.py b/src/oci/identity/models/create_policy_details.py index a7d19c92bf..6abb3708ff 100644 --- a/src/oci/identity/models/create_policy_details.py +++ b/src/oci/identity/models/create_policy_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_region_subscription_details.py b/src/oci/identity/models/create_region_subscription_details.py index 7c826fcb7f..21378ee325 100644 --- a/src/oci/identity/models/create_region_subscription_details.py +++ b/src/oci/identity/models/create_region_subscription_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_saml2_identity_provider_details.py b/src/oci/identity/models/create_saml2_identity_provider_details.py index 272c52fc59..8970efd850 100644 --- a/src/oci/identity/models/create_saml2_identity_provider_details.py +++ b/src/oci/identity/models/create_saml2_identity_provider_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .create_identity_provider_details import CreateIdentityProviderDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_smtp_credential_details.py b/src/oci/identity/models/create_smtp_credential_details.py index 03818af516..fbb6f9cab7 100644 --- a/src/oci/identity/models/create_smtp_credential_details.py +++ b/src/oci/identity/models/create_smtp_credential_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_swift_password_details.py b/src/oci/identity/models/create_swift_password_details.py index 513d24977a..422f93faf6 100644 --- a/src/oci/identity/models/create_swift_password_details.py +++ b/src/oci/identity/models/create_swift_password_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_tag_details.py b/src/oci/identity/models/create_tag_details.py index b821db27e3..480a84e20d 100644 --- a/src/oci/identity/models/create_tag_details.py +++ b/src/oci/identity/models/create_tag_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_tag_namespace_details.py b/src/oci/identity/models/create_tag_namespace_details.py index f9be438e01..4d86369a17 100644 --- a/src/oci/identity/models/create_tag_namespace_details.py +++ b/src/oci/identity/models/create_tag_namespace_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/create_user_details.py b/src/oci/identity/models/create_user_details.py index 04ef6e8cde..7a882630b0 100644 --- a/src/oci/identity/models/create_user_details.py +++ b/src/oci/identity/models/create_user_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/customer_secret_key.py b/src/oci/identity/models/customer_secret_key.py index 9d55956f1e..ded80a829f 100644 --- a/src/oci/identity/models/customer_secret_key.py +++ b/src/oci/identity/models/customer_secret_key.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/customer_secret_key_summary.py b/src/oci/identity/models/customer_secret_key_summary.py index c74ec0150a..aedccb8d5f 100644 --- a/src/oci/identity/models/customer_secret_key_summary.py +++ b/src/oci/identity/models/customer_secret_key_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/dynamic_group.py b/src/oci/identity/models/dynamic_group.py index ae59a29b1e..ed4ef9d097 100644 --- a/src/oci/identity/models/dynamic_group.py +++ b/src/oci/identity/models/dynamic_group.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/fault_domain.py b/src/oci/identity/models/fault_domain.py index 6f3e53651e..33bcd1bd20 100644 --- a/src/oci/identity/models/fault_domain.py +++ b/src/oci/identity/models/fault_domain.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/group.py b/src/oci/identity/models/group.py index ad46e7d7a3..c982063697 100644 --- a/src/oci/identity/models/group.py +++ b/src/oci/identity/models/group.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/identity_provider.py b/src/oci/identity/models/identity_provider.py index 8414ff323f..cf7d97a620 100644 --- a/src/oci/identity/models/identity_provider.py +++ b/src/oci/identity/models/identity_provider.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/identity_provider_group_summary.py b/src/oci/identity/models/identity_provider_group_summary.py index b029773637..29cd2bf3b0 100644 --- a/src/oci/identity/models/identity_provider_group_summary.py +++ b/src/oci/identity/models/identity_provider_group_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/idp_group_mapping.py b/src/oci/identity/models/idp_group_mapping.py index 508965d5c5..62bd0e2e48 100644 --- a/src/oci/identity/models/idp_group_mapping.py +++ b/src/oci/identity/models/idp_group_mapping.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/policy.py b/src/oci/identity/models/policy.py index ff3041e9c0..1e3be34279 100644 --- a/src/oci/identity/models/policy.py +++ b/src/oci/identity/models/policy.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/region.py b/src/oci/identity/models/region.py index ffebc41239..116e144600 100644 --- a/src/oci/identity/models/region.py +++ b/src/oci/identity/models/region.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/region_subscription.py b/src/oci/identity/models/region_subscription.py index 0a6d9c9614..1ea45cd279 100644 --- a/src/oci/identity/models/region_subscription.py +++ b/src/oci/identity/models/region_subscription.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/saml2_identity_provider.py b/src/oci/identity/models/saml2_identity_provider.py index c00d080267..93ec216005 100644 --- a/src/oci/identity/models/saml2_identity_provider.py +++ b/src/oci/identity/models/saml2_identity_provider.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .identity_provider import IdentityProvider from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/scim_client_credentials.py b/src/oci/identity/models/scim_client_credentials.py index d4ee290db1..9bcfa38fca 100644 --- a/src/oci/identity/models/scim_client_credentials.py +++ b/src/oci/identity/models/scim_client_credentials.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/smtp_credential.py b/src/oci/identity/models/smtp_credential.py index 05927d5c40..b4dbeab323 100644 --- a/src/oci/identity/models/smtp_credential.py +++ b/src/oci/identity/models/smtp_credential.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/smtp_credential_summary.py b/src/oci/identity/models/smtp_credential_summary.py index c32955af61..92abba1186 100644 --- a/src/oci/identity/models/smtp_credential_summary.py +++ b/src/oci/identity/models/smtp_credential_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/swift_password.py b/src/oci/identity/models/swift_password.py index 32ba816df4..deea583bd3 100644 --- a/src/oci/identity/models/swift_password.py +++ b/src/oci/identity/models/swift_password.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/tag.py b/src/oci/identity/models/tag.py index e9ea26f815..1322544d6f 100644 --- a/src/oci/identity/models/tag.py +++ b/src/oci/identity/models/tag.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/tag_namespace.py b/src/oci/identity/models/tag_namespace.py index 3b61db744b..8b639cc036 100644 --- a/src/oci/identity/models/tag_namespace.py +++ b/src/oci/identity/models/tag_namespace.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/tag_namespace_summary.py b/src/oci/identity/models/tag_namespace_summary.py index bc4bb0ab40..df53c72a0d 100644 --- a/src/oci/identity/models/tag_namespace_summary.py +++ b/src/oci/identity/models/tag_namespace_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/tag_summary.py b/src/oci/identity/models/tag_summary.py index 2e5bd6048a..eaf339b901 100644 --- a/src/oci/identity/models/tag_summary.py +++ b/src/oci/identity/models/tag_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/tenancy.py b/src/oci/identity/models/tenancy.py index a543122936..3a04640ccf 100644 --- a/src/oci/identity/models/tenancy.py +++ b/src/oci/identity/models/tenancy.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/ui_password.py b/src/oci/identity/models/ui_password.py index b236f2800c..5cb14f0414 100644 --- a/src/oci/identity/models/ui_password.py +++ b/src/oci/identity/models/ui_password.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_auth_token_details.py b/src/oci/identity/models/update_auth_token_details.py index b5fd7ce080..e732014d9a 100644 --- a/src/oci/identity/models/update_auth_token_details.py +++ b/src/oci/identity/models/update_auth_token_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_compartment_details.py b/src/oci/identity/models/update_compartment_details.py index 73db78400b..629db75448 100644 --- a/src/oci/identity/models/update_compartment_details.py +++ b/src/oci/identity/models/update_compartment_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_customer_secret_key_details.py b/src/oci/identity/models/update_customer_secret_key_details.py index c9cd0a4054..78c19e5725 100644 --- a/src/oci/identity/models/update_customer_secret_key_details.py +++ b/src/oci/identity/models/update_customer_secret_key_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_dynamic_group_details.py b/src/oci/identity/models/update_dynamic_group_details.py index 06ca06f050..5e77455241 100644 --- a/src/oci/identity/models/update_dynamic_group_details.py +++ b/src/oci/identity/models/update_dynamic_group_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_group_details.py b/src/oci/identity/models/update_group_details.py index 4df8ad1fb7..0c893b29f3 100644 --- a/src/oci/identity/models/update_group_details.py +++ b/src/oci/identity/models/update_group_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_identity_provider_details.py b/src/oci/identity/models/update_identity_provider_details.py index 615080e007..06ea5b375e 100644 --- a/src/oci/identity/models/update_identity_provider_details.py +++ b/src/oci/identity/models/update_identity_provider_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_idp_group_mapping_details.py b/src/oci/identity/models/update_idp_group_mapping_details.py index aa07bca30e..b48abbb227 100644 --- a/src/oci/identity/models/update_idp_group_mapping_details.py +++ b/src/oci/identity/models/update_idp_group_mapping_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_policy_details.py b/src/oci/identity/models/update_policy_details.py index f38f2b46a6..9e727d8fff 100644 --- a/src/oci/identity/models/update_policy_details.py +++ b/src/oci/identity/models/update_policy_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_saml2_identity_provider_details.py b/src/oci/identity/models/update_saml2_identity_provider_details.py index 7700ecc00c..1ba754dd10 100644 --- a/src/oci/identity/models/update_saml2_identity_provider_details.py +++ b/src/oci/identity/models/update_saml2_identity_provider_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .update_identity_provider_details import UpdateIdentityProviderDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_smtp_credential_details.py b/src/oci/identity/models/update_smtp_credential_details.py index 06103522d2..ab2246bbb7 100644 --- a/src/oci/identity/models/update_smtp_credential_details.py +++ b/src/oci/identity/models/update_smtp_credential_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_state_details.py b/src/oci/identity/models/update_state_details.py index 87648dedd5..5b3cb8560e 100644 --- a/src/oci/identity/models/update_state_details.py +++ b/src/oci/identity/models/update_state_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_swift_password_details.py b/src/oci/identity/models/update_swift_password_details.py index cfb101b04d..a77e448fea 100644 --- a/src/oci/identity/models/update_swift_password_details.py +++ b/src/oci/identity/models/update_swift_password_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_tag_details.py b/src/oci/identity/models/update_tag_details.py index 8956c2e59a..d216ae7699 100644 --- a/src/oci/identity/models/update_tag_details.py +++ b/src/oci/identity/models/update_tag_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_tag_namespace_details.py b/src/oci/identity/models/update_tag_namespace_details.py index 4953ef9590..df102e67bd 100644 --- a/src/oci/identity/models/update_tag_namespace_details.py +++ b/src/oci/identity/models/update_tag_namespace_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_user_capabilities_details.py b/src/oci/identity/models/update_user_capabilities_details.py index da99683f67..cad52bccf5 100644 --- a/src/oci/identity/models/update_user_capabilities_details.py +++ b/src/oci/identity/models/update_user_capabilities_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/update_user_details.py b/src/oci/identity/models/update_user_details.py index df81afe6ea..8b8dbb59b7 100644 --- a/src/oci/identity/models/update_user_details.py +++ b/src/oci/identity/models/update_user_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/user.py b/src/oci/identity/models/user.py index a35ee56d02..f5779356d6 100644 --- a/src/oci/identity/models/user.py +++ b/src/oci/identity/models/user.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/user_capabilities.py b/src/oci/identity/models/user_capabilities.py index b931d27978..4194654734 100644 --- a/src/oci/identity/models/user_capabilities.py +++ b/src/oci/identity/models/user_capabilities.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/user_group_membership.py b/src/oci/identity/models/user_group_membership.py index 3d72e27e5b..64d5d4b2df 100644 --- a/src/oci/identity/models/user_group_membership.py +++ b/src/oci/identity/models/user_group_membership.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/work_request.py b/src/oci/identity/models/work_request.py index 7ce1c0ab36..53093bc968 100644 --- a/src/oci/identity/models/work_request.py +++ b/src/oci/identity/models/work_request.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/work_request_error.py b/src/oci/identity/models/work_request_error.py index 4e0ae8c2b1..c4c7ab9439 100644 --- a/src/oci/identity/models/work_request_error.py +++ b/src/oci/identity/models/work_request_error.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/work_request_log_entry.py b/src/oci/identity/models/work_request_log_entry.py index 7d3b27bdfd..ef2fbb493c 100644 --- a/src/oci/identity/models/work_request_log_entry.py +++ b/src/oci/identity/models/work_request_log_entry.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/work_request_resource.py b/src/oci/identity/models/work_request_resource.py index 503d531f20..67a804427e 100644 --- a/src/oci/identity/models/work_request_resource.py +++ b/src/oci/identity/models/work_request_resource.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/identity/models/work_request_summary.py b/src/oci/identity/models/work_request_summary.py index 1fda08eb2c..06cece8962 100644 --- a/src/oci/identity/models/work_request_summary.py +++ b/src/oci/identity/models/work_request_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/__init__.py b/src/oci/key_management/__init__.py index 26f4b699f0..e2f4294b86 100644 --- a/src/oci/key_management/__init__.py +++ b/src/oci/key_management/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/key_management/kms_crypto_client.py b/src/oci/key_management/kms_crypto_client.py index 49404fbd51..324801895c 100644 --- a/src/oci/key_management/kms_crypto_client.py +++ b/src/oci/key_management/kms_crypto_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/key_management/kms_crypto_client_composite_operations.py b/src/oci/key_management/kms_crypto_client_composite_operations.py index 9ca07f5098..a44c777b47 100644 --- a/src/oci/key_management/kms_crypto_client_composite_operations.py +++ b/src/oci/key_management/kms_crypto_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/key_management/kms_management_client.py b/src/oci/key_management/kms_management_client.py index 981b6513e9..6e0138a4da 100644 --- a/src/oci/key_management/kms_management_client.py +++ b/src/oci/key_management/kms_management_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/key_management/kms_management_client_composite_operations.py b/src/oci/key_management/kms_management_client_composite_operations.py index f4e311e21a..f8a2544d9c 100644 --- a/src/oci/key_management/kms_management_client_composite_operations.py +++ b/src/oci/key_management/kms_management_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/key_management/kms_vault_client.py b/src/oci/key_management/kms_vault_client.py index 9938da2d02..e3a3db1feb 100644 --- a/src/oci/key_management/kms_vault_client.py +++ b/src/oci/key_management/kms_vault_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/key_management/kms_vault_client_composite_operations.py b/src/oci/key_management/kms_vault_client_composite_operations.py index 338fd38965..1196a91464 100644 --- a/src/oci/key_management/kms_vault_client_composite_operations.py +++ b/src/oci/key_management/kms_vault_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/key_management/models/__init__.py b/src/oci/key_management/models/__init__.py index ebb68eec7e..5a581b366b 100644 --- a/src/oci/key_management/models/__init__.py +++ b/src/oci/key_management/models/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/key_management/models/create_key_details.py b/src/oci/key_management/models/create_key_details.py index 73c58d8e94..fb7ecf16b3 100644 --- a/src/oci/key_management/models/create_key_details.py +++ b/src/oci/key_management/models/create_key_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/create_vault_details.py b/src/oci/key_management/models/create_vault_details.py index 6e84abaead..1b10dab86d 100644 --- a/src/oci/key_management/models/create_vault_details.py +++ b/src/oci/key_management/models/create_vault_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/decrypt_data_details.py b/src/oci/key_management/models/decrypt_data_details.py index 93e9577805..f645f3ec20 100644 --- a/src/oci/key_management/models/decrypt_data_details.py +++ b/src/oci/key_management/models/decrypt_data_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/decrypted_data.py b/src/oci/key_management/models/decrypted_data.py index 247e40cdd1..fc8654ba52 100644 --- a/src/oci/key_management/models/decrypted_data.py +++ b/src/oci/key_management/models/decrypted_data.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/encrypt_data_details.py b/src/oci/key_management/models/encrypt_data_details.py index ed5f920bf1..32d142dde2 100644 --- a/src/oci/key_management/models/encrypt_data_details.py +++ b/src/oci/key_management/models/encrypt_data_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/encrypted_data.py b/src/oci/key_management/models/encrypted_data.py index d70353edac..a32f10f1e2 100644 --- a/src/oci/key_management/models/encrypted_data.py +++ b/src/oci/key_management/models/encrypted_data.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/generate_key_details.py b/src/oci/key_management/models/generate_key_details.py index 5d7e1b1403..a58d973395 100644 --- a/src/oci/key_management/models/generate_key_details.py +++ b/src/oci/key_management/models/generate_key_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/generated_key.py b/src/oci/key_management/models/generated_key.py index 9773ecb9c6..50d0803403 100644 --- a/src/oci/key_management/models/generated_key.py +++ b/src/oci/key_management/models/generated_key.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/key.py b/src/oci/key_management/models/key.py index 6cb1df96ce..6ada94f731 100644 --- a/src/oci/key_management/models/key.py +++ b/src/oci/key_management/models/key.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/key_shape.py b/src/oci/key_management/models/key_shape.py index bfcb4e17ca..a19f91d3b2 100644 --- a/src/oci/key_management/models/key_shape.py +++ b/src/oci/key_management/models/key_shape.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/key_summary.py b/src/oci/key_management/models/key_summary.py index 1f9edf9dae..f4190dc09d 100644 --- a/src/oci/key_management/models/key_summary.py +++ b/src/oci/key_management/models/key_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/key_version.py b/src/oci/key_management/models/key_version.py index f26fbd2f6d..c34a1ba327 100644 --- a/src/oci/key_management/models/key_version.py +++ b/src/oci/key_management/models/key_version.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/key_version_summary.py b/src/oci/key_management/models/key_version_summary.py index 182c7c4558..cf4f676597 100644 --- a/src/oci/key_management/models/key_version_summary.py +++ b/src/oci/key_management/models/key_version_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/schedule_vault_deletion_details.py b/src/oci/key_management/models/schedule_vault_deletion_details.py index c4da509546..dc6f11cc20 100644 --- a/src/oci/key_management/models/schedule_vault_deletion_details.py +++ b/src/oci/key_management/models/schedule_vault_deletion_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/update_key_details.py b/src/oci/key_management/models/update_key_details.py index 148335e2db..ffacda73c3 100644 --- a/src/oci/key_management/models/update_key_details.py +++ b/src/oci/key_management/models/update_key_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/update_vault_details.py b/src/oci/key_management/models/update_vault_details.py index c75731a862..d35fc0de6b 100644 --- a/src/oci/key_management/models/update_vault_details.py +++ b/src/oci/key_management/models/update_vault_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/vault.py b/src/oci/key_management/models/vault.py index 74f4dd6701..62edc3dd8f 100644 --- a/src/oci/key_management/models/vault.py +++ b/src/oci/key_management/models/vault.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/key_management/models/vault_summary.py b/src/oci/key_management/models/vault_summary.py index 40b4b49a42..393c6b7c45 100644 --- a/src/oci/key_management/models/vault_summary.py +++ b/src/oci/key_management/models/vault_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/load_balancer/__init__.py b/src/oci/load_balancer/__init__.py index 9e312da875..ceef91a5bf 100644 --- a/src/oci/load_balancer/__init__.py +++ b/src/oci/load_balancer/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/load_balancer/load_balancer_client.py b/src/oci/load_balancer/load_balancer_client.py index 4071dbbb00..a0073f8792 100644 --- a/src/oci/load_balancer/load_balancer_client.py +++ b/src/oci/load_balancer/load_balancer_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import @@ -17,7 +17,8 @@ class LoadBalancerClient(object): """ - API for the Load Balancing Service + API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more + information, see [Overview of Load Balancing](/iaas/Content/Balance/Concepts/balanceoverview.htm). """ def __init__(self, config, **kwargs): @@ -74,6 +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', 'skip_deserialization': kwargs.get('skip_deserialization', False) } self.base_client = BaseClient("load_balancer", config, signer, load_balancer_type_mapping, **base_client_init_kwargs) @@ -735,6 +737,85 @@ def create_path_route_set(self, create_path_route_set_details, load_balancer_id, header_params=header_params, body=create_path_route_set_details) + def create_rule_set(self, load_balancer_id, create_rule_set_details, **kwargs): + """ + CreateRuleSet + Creates a new rule set associated with the specified load balancer. + + + :param str load_balancer_id: (required) + The `OCID`__ of the specified load balancer. + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm + + :param CreateRuleSetDetails create_rule_set_details: (required) + The configuration details for the rule set to create. + + :param str opc_request_id: (optional) + The 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 = "/loadBalancers/{loadBalancerId}/ruleSets" + method = "POST" + + # Don't accept unknown kwargs + expected_kwargs = [ + "retry_strategy", + "opc_request_id" + ] + extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs] + if extra_kwargs: + raise ValueError( + "create_rule_set got unknown kwargs: {!r}".format(extra_kwargs)) + + path_params = { + "loadBalancerId": load_balancer_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", + "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, + body=create_rule_set_details) + else: + return self.base_client.call_api( + resource_path=resource_path, + method=method, + path_params=path_params, + header_params=header_params, + body=create_rule_set_details) + def delete_backend(self, load_balancer_id, backend_set_name, backend_name, **kwargs): """ DeleteBackend @@ -1301,6 +1382,89 @@ def delete_path_route_set(self, load_balancer_id, path_route_set_name, **kwargs) path_params=path_params, header_params=header_params) + def delete_rule_set(self, load_balancer_id, rule_set_name, **kwargs): + """ + DeleteRuleSet + Deletes a rule set from the specified load balancer. + + To delete a rule from a rule set, use the + :func:`update_rule_set` operation. + + + :param str load_balancer_id: (required) + The `OCID`__ of the specified load balancer. + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm + + :param str rule_set_name: (required) + The name of the rule set to delete. + + Example: `example_rule_set` + + :param str opc_request_id: (optional) + The 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 = "/loadBalancers/{loadBalancerId}/ruleSets/{ruleSetName}" + method = "DELETE" + + # Don't accept unknown kwargs + expected_kwargs = [ + "retry_strategy", + "opc_request_id" + ] + extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs] + if extra_kwargs: + raise ValueError( + "delete_rule_set got unknown kwargs: {!r}".format(extra_kwargs)) + + path_params = { + "loadBalancerId": load_balancer_id, + "ruleSetName": rule_set_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", + "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 get_backend(self, load_balancer_id, backend_set_name, backend_name, **kwargs): """ GetBackend @@ -2039,6 +2203,88 @@ def get_path_route_set(self, load_balancer_id, path_route_set_name, **kwargs): header_params=header_params, response_type="PathRouteSet") + def get_rule_set(self, load_balancer_id, rule_set_name, **kwargs): + """ + GetRuleSet + Gets the specified set of rules. + + + :param str load_balancer_id: (required) + The `OCID`__ of the specified load balancer. + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm + + :param str rule_set_name: (required) + The name of the rule set to retrieve. + + Example: `example_rule_set` + + :param str opc_request_id: (optional) + The 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 :class:`~oci.load_balancer.models.RuleSet` + :rtype: :class:`~oci.response.Response` + """ + resource_path = "/loadBalancers/{loadBalancerId}/ruleSets/{ruleSetName}" + method = "GET" + + # Don't accept unknown kwargs + expected_kwargs = [ + "retry_strategy", + "opc_request_id" + ] + extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs] + if extra_kwargs: + raise ValueError( + "get_rule_set got unknown kwargs: {!r}".format(extra_kwargs)) + + path_params = { + "loadBalancerId": load_balancer_id, + "ruleSetName": rule_set_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", + "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, + response_type="RuleSet") + else: + return self.base_client.call_api( + resource_path=resource_path, + method=method, + path_params=path_params, + header_params=header_params, + response_type="RuleSet") + def get_work_request(self, work_request_id, **kwargs): """ GetWorkRequest @@ -2443,15 +2689,21 @@ def list_load_balancer_healths(self, compartment_id, **kwargs): particular request, please provide the request ID. :param int limit: (optional) - The maximum number of items to return in a paginated \"List\" call. + For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. + For important details about how pagination works, see `List Pagination`__. - Example: `500` + Example: `50` + + __ https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) - The value of the `opc-next-page` response header from the previous \"List\" call. + For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. + For important details about how pagination works, see `List Pagination`__. Example: `3` + __ https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine + :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. @@ -2528,15 +2780,21 @@ def list_load_balancers(self, compartment_id, **kwargs): particular request, please provide the request ID. :param int limit: (optional) - The maximum number of items to return in a paginated \"List\" call. + For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. + For important details about how pagination works, see `List Pagination`__. + + Example: `50` - Example: `500` + __ https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) - The value of the `opc-next-page` response header from the previous \"List\" call. + For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. + For important details about how pagination works, see `List Pagination`__. Example: `3` + __ https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine + :param str detail: (optional) The level of detail to return for each result. Can be `full` or `simple`. @@ -2749,15 +3007,21 @@ def list_policies(self, compartment_id, **kwargs): particular request, please provide the request ID. :param int limit: (optional) - The maximum number of items to return in a paginated \"List\" call. + For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. + For important details about how pagination works, see `List Pagination`__. + + Example: `50` - Example: `500` + __ https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) - The value of the `opc-next-page` response header from the previous \"List\" call. + For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. + For important details about how pagination works, see `List Pagination`__. Example: `3` + __ https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine + :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. @@ -2834,15 +3098,21 @@ def list_protocols(self, compartment_id, **kwargs): particular request, please provide the request ID. :param int limit: (optional) - The maximum number of items to return in a paginated \"List\" call. + For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. + For important details about how pagination works, see `List Pagination`__. - Example: `500` + Example: `50` + + __ https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) - The value of the `opc-next-page` response header from the previous \"List\" call. + For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. + For important details about how pagination works, see `List Pagination`__. Example: `3` + __ https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine + :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. @@ -2903,6 +3173,82 @@ def list_protocols(self, compartment_id, **kwargs): header_params=header_params, response_type="list[LoadBalancerProtocol]") + def list_rule_sets(self, load_balancer_id, **kwargs): + """ + ListRuleSets + Lists all rule sets associated with the specified load balancer. + + + :param str load_balancer_id: (required) + The `OCID`__ of the specified load balancer. + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm + + :param str opc_request_id: (optional) + The 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 list of :class:`~oci.load_balancer.models.RuleSet` + :rtype: :class:`~oci.response.Response` + """ + resource_path = "/loadBalancers/{loadBalancerId}/ruleSets" + method = "GET" + + # Don't accept unknown kwargs + expected_kwargs = [ + "retry_strategy", + "opc_request_id" + ] + extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs] + if extra_kwargs: + raise ValueError( + "list_rule_sets got unknown kwargs: {!r}".format(extra_kwargs)) + + path_params = { + "loadBalancerId": load_balancer_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", + "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, + response_type="list[RuleSet]") + else: + return self.base_client.call_api( + resource_path=resource_path, + method=method, + path_params=path_params, + header_params=header_params, + response_type="list[RuleSet]") + def list_shapes(self, compartment_id, **kwargs): """ ListShapes @@ -2919,15 +3265,21 @@ def list_shapes(self, compartment_id, **kwargs): particular request, please provide the request ID. :param int limit: (optional) - The maximum number of items to return in a paginated \"List\" call. + For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. + For important details about how pagination works, see `List Pagination`__. + + Example: `50` - Example: `500` + __ https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) - The value of the `opc-next-page` response header from the previous \"List\" call. + For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. + For important details about how pagination works, see `List Pagination`__. Example: `3` + __ https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine + :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. @@ -3004,15 +3356,21 @@ def list_work_requests(self, load_balancer_id, **kwargs): particular request, please provide the request ID. :param int limit: (optional) - The maximum number of items to return in a paginated \"List\" call. + For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. + For important details about how pagination works, see `List Pagination`__. + + Example: `50` - Example: `500` + __ https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) - The value of the `opc-next-page` response header from the previous \"List\" call. + For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. + For important details about how pagination works, see `List Pagination`__. Example: `3` + __ https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine + :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. @@ -3751,3 +4109,91 @@ def update_path_route_set(self, update_path_route_set_details, load_balancer_id, path_params=path_params, header_params=header_params, body=update_path_route_set_details) + + def update_rule_set(self, load_balancer_id, rule_set_name, update_rule_set_details, **kwargs): + """ + UpdateRuleSet + Overwrites an existing set of rules on the specified load balancer. Use this operation to add or alter + the rules in a rule set. + + To add a new rule to a set, the body must include both the new rule to add and the existing rules to retain. + + + :param str load_balancer_id: (required) + The `OCID`__ of the specified load balancer. + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm + + :param str rule_set_name: (required) + The name of the rule set to update. + + Example: `example_rule_set` + + :param UpdateRuleSetDetails update_rule_set_details: (required) + The configuration details to update a set of rules. + + :param str opc_request_id: (optional) + The 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 = "/loadBalancers/{loadBalancerId}/ruleSets/{ruleSetName}" + method = "PUT" + + # Don't accept unknown kwargs + expected_kwargs = [ + "retry_strategy", + "opc_request_id" + ] + extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs] + if extra_kwargs: + raise ValueError( + "update_rule_set got unknown kwargs: {!r}".format(extra_kwargs)) + + path_params = { + "loadBalancerId": load_balancer_id, + "ruleSetName": rule_set_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", + "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, + body=update_rule_set_details) + else: + return self.base_client.call_api( + resource_path=resource_path, + method=method, + path_params=path_params, + header_params=header_params, + body=update_rule_set_details) diff --git a/src/oci/load_balancer/load_balancer_client_composite_operations.py b/src/oci/load_balancer/load_balancer_client_composite_operations.py index d4274ba7cc..c0bd421ad9 100644 --- a/src/oci/load_balancer/load_balancer_client_composite_operations.py +++ b/src/oci/load_balancer/load_balancer_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 @@ -322,6 +322,49 @@ def create_path_route_set_and_wait_for_state(self, create_path_route_set_details except Exception as e: raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def create_rule_set_and_wait_for_state(self, load_balancer_id, create_rule_set_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): + """ + Calls :py:func:`~oci.load_balancer.LoadBalancerClient.create_rule_set` and waits for the :py:class:`~oci.load_balancer.models.WorkRequest` + to enter the given state(s). + + :param str load_balancer_id: (required) + The `OCID`__ of the specified load balancer. + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm + + :param CreateRuleSetDetails create_rule_set_details: (required) + The configuration details for the rule set to create. + + :param list[str] wait_for_states: + An array of states to wait on. These should be valid values for :py:attr:`~oci.load_balancer.models.WorkRequest.lifecycle_state` + + :param dict operation_kwargs: + A dictionary of keyword arguments to pass to :py:func:`~oci.load_balancer.LoadBalancerClient.create_rule_set` + + :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_rule_set(load_balancer_id, create_rule_set_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.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, '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 delete_backend_and_wait_for_state(self, load_balancer_id, backend_set_name, backend_name, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): """ Calls :py:func:`~oci.load_balancer.LoadBalancerClient.delete_backend` and waits for the :py:class:`~oci.load_balancer.models.WorkRequest` @@ -638,6 +681,51 @@ def delete_path_route_set_and_wait_for_state(self, load_balancer_id, path_route_ except Exception as e: raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def delete_rule_set_and_wait_for_state(self, load_balancer_id, rule_set_name, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): + """ + Calls :py:func:`~oci.load_balancer.LoadBalancerClient.delete_rule_set` and waits for the :py:class:`~oci.load_balancer.models.WorkRequest` + to enter the given state(s). + + :param str load_balancer_id: (required) + The `OCID`__ of the specified load balancer. + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm + + :param str rule_set_name: (required) + The name of the rule set to delete. + + Example: `example_rule_set` + + :param list[str] wait_for_states: + An array of states to wait on. These should be valid values for :py:attr:`~oci.load_balancer.models.WorkRequest.lifecycle_state` + + :param dict operation_kwargs: + A dictionary of keyword arguments to pass to :py:func:`~oci.load_balancer.LoadBalancerClient.delete_rule_set` + + :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.delete_rule_set(load_balancer_id, rule_set_name, **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.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, '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_backend_and_wait_for_state(self, update_backend_details, load_balancer_id, backend_set_name, backend_name, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): """ Calls :py:func:`~oci.load_balancer.LoadBalancerClient.update_backend` and waits for the :py:class:`~oci.load_balancer.models.WorkRequest` @@ -974,3 +1062,51 @@ def update_path_route_set_and_wait_for_state(self, update_path_route_set_details return result_to_return except Exception as e: raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + + def update_rule_set_and_wait_for_state(self, load_balancer_id, rule_set_name, update_rule_set_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): + """ + Calls :py:func:`~oci.load_balancer.LoadBalancerClient.update_rule_set` and waits for the :py:class:`~oci.load_balancer.models.WorkRequest` + to enter the given state(s). + + :param str load_balancer_id: (required) + The `OCID`__ of the specified load balancer. + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm + + :param str rule_set_name: (required) + The name of the rule set to update. + + Example: `example_rule_set` + + :param UpdateRuleSetDetails update_rule_set_details: (required) + The configuration details to update a set of rules. + + :param list[str] wait_for_states: + An array of states to wait on. These should be valid values for :py:attr:`~oci.load_balancer.models.WorkRequest.lifecycle_state` + + :param dict operation_kwargs: + A dictionary of keyword arguments to pass to :py:func:`~oci.load_balancer.LoadBalancerClient.update_rule_set` + + :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_rule_set(load_balancer_id, rule_set_name, update_rule_set_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.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, '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) diff --git a/src/oci/load_balancer/models/__init__.py b/src/oci/load_balancer/models/__init__.py index 7e8689b1fd..7ab4c6518d 100644 --- a/src/oci/load_balancer/models/__init__.py +++ b/src/oci/load_balancer/models/__init__.py @@ -1,8 +1,10 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import +from .add_http_request_header_rule import AddHttpRequestHeaderRule +from .add_http_response_header_rule import AddHttpResponseHeaderRule from .backend import Backend from .backend_details import BackendDetails from .backend_health import BackendHealth @@ -19,6 +21,9 @@ from .create_listener_details import CreateListenerDetails from .create_load_balancer_details import CreateLoadBalancerDetails from .create_path_route_set_details import CreatePathRouteSetDetails +from .create_rule_set_details import CreateRuleSetDetails +from .extend_http_request_header_value_rule import ExtendHttpRequestHeaderValueRule +from .extend_http_response_header_value_rule import ExtendHttpResponseHeaderValueRule from .health_check_result import HealthCheckResult from .health_checker import HealthChecker from .health_checker_details import HealthCheckerDetails @@ -37,6 +42,11 @@ from .path_route import PathRoute from .path_route_set import PathRouteSet from .path_route_set_details import PathRouteSetDetails +from .remove_http_request_header_rule import RemoveHttpRequestHeaderRule +from .remove_http_response_header_rule import RemoveHttpResponseHeaderRule +from .rule import Rule +from .rule_set import RuleSet +from .rule_set_details import RuleSetDetails from .ssl_configuration import SSLConfiguration from .ssl_configuration_details import SSLConfigurationDetails from .session_persistence_configuration_details import SessionPersistenceConfigurationDetails @@ -47,11 +57,14 @@ from .update_listener_details import UpdateListenerDetails from .update_load_balancer_details import UpdateLoadBalancerDetails from .update_path_route_set_details import UpdatePathRouteSetDetails +from .update_rule_set_details import UpdateRuleSetDetails from .work_request import WorkRequest from .work_request_error import WorkRequestError # Maps type names to classes for load_balancer services. load_balancer_type_mapping = { + "AddHttpRequestHeaderRule": AddHttpRequestHeaderRule, + "AddHttpResponseHeaderRule": AddHttpResponseHeaderRule, "Backend": Backend, "BackendDetails": BackendDetails, "BackendHealth": BackendHealth, @@ -68,6 +81,9 @@ "CreateListenerDetails": CreateListenerDetails, "CreateLoadBalancerDetails": CreateLoadBalancerDetails, "CreatePathRouteSetDetails": CreatePathRouteSetDetails, + "CreateRuleSetDetails": CreateRuleSetDetails, + "ExtendHttpRequestHeaderValueRule": ExtendHttpRequestHeaderValueRule, + "ExtendHttpResponseHeaderValueRule": ExtendHttpResponseHeaderValueRule, "HealthCheckResult": HealthCheckResult, "HealthChecker": HealthChecker, "HealthCheckerDetails": HealthCheckerDetails, @@ -86,6 +102,11 @@ "PathRoute": PathRoute, "PathRouteSet": PathRouteSet, "PathRouteSetDetails": PathRouteSetDetails, + "RemoveHttpRequestHeaderRule": RemoveHttpRequestHeaderRule, + "RemoveHttpResponseHeaderRule": RemoveHttpResponseHeaderRule, + "Rule": Rule, + "RuleSet": RuleSet, + "RuleSetDetails": RuleSetDetails, "SSLConfiguration": SSLConfiguration, "SSLConfigurationDetails": SSLConfigurationDetails, "SessionPersistenceConfigurationDetails": SessionPersistenceConfigurationDetails, @@ -96,6 +117,7 @@ "UpdateListenerDetails": UpdateListenerDetails, "UpdateLoadBalancerDetails": UpdateLoadBalancerDetails, "UpdatePathRouteSetDetails": UpdatePathRouteSetDetails, + "UpdateRuleSetDetails": UpdateRuleSetDetails, "WorkRequest": WorkRequest, "WorkRequestError": WorkRequestError } diff --git a/src/oci/load_balancer/models/add_http_request_header_rule.py b/src/oci/load_balancer/models/add_http_request_header_rule.py new file mode 100644 index 0000000000..374d2943fe --- /dev/null +++ b/src/oci/load_balancer/models/add_http_request_header_rule.py @@ -0,0 +1,128 @@ +# coding: utf-8 +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. + +from .rule import Rule +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class AddHttpRequestHeaderRule(Rule): + """ + An object that represents the action of adding a header to a request. + This rule applies only to HTTP or HTTP2 listeners. + + **NOTES:** + + * If a matching header already exists in the request, the system removes all of its occurrences, and then adds the + new header. + + * The system does not distinquish between underscore and dash characters in headers. That is, it treats + `example_header_name` and `example-header-name` as identical. Oracle recommends that you do not rely on underscore + or dash characters to uniquely distinguish header names. + """ + + def __init__(self, **kwargs): + """ + Initializes a new AddHttpRequestHeaderRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.AddHttpRequestHeaderRule.action` attribute + of this class is ``ADD_HTTP_REQUEST_HEADER`` and it should not be changed. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param action: + The value to assign to the action property of this AddHttpRequestHeaderRule. + Allowed values for this property are: "ADD_HTTP_REQUEST_HEADER", "EXTEND_HTTP_REQUEST_HEADER_VALUE", "REMOVE_HTTP_REQUEST_HEADER", "ADD_HTTP_RESPONSE_HEADER", "EXTEND_HTTP_RESPONSE_HEADER_VALUE", "REMOVE_HTTP_RESPONSE_HEADER" + :type action: str + + :param header: + The value to assign to the header property of this AddHttpRequestHeaderRule. + :type header: str + + :param value: + The value to assign to the value property of this AddHttpRequestHeaderRule. + :type value: str + + """ + self.swagger_types = { + 'action': 'str', + 'header': 'str', + 'value': 'str' + } + + self.attribute_map = { + 'action': 'action', + 'header': 'header', + 'value': 'value' + } + + self._action = None + self._header = None + self._value = None + self._action = 'ADD_HTTP_REQUEST_HEADER' + + @property + def header(self): + """ + **[Required]** Gets the header of this AddHttpRequestHeaderRule. + A header name that conforms to RFC 7230. + + Example: `example_header_name` + + + :return: The header of this AddHttpRequestHeaderRule. + :rtype: str + """ + return self._header + + @header.setter + def header(self, header): + """ + Sets the header of this AddHttpRequestHeaderRule. + A header name that conforms to RFC 7230. + + Example: `example_header_name` + + + :param header: The header of this AddHttpRequestHeaderRule. + :type: str + """ + self._header = header + + @property + def value(self): + """ + **[Required]** Gets the value of this AddHttpRequestHeaderRule. + A header value that conforms to RFC 7230. + + Example: `example_value` + + + :return: The value of this AddHttpRequestHeaderRule. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """ + Sets the value of this AddHttpRequestHeaderRule. + A header value that conforms to RFC 7230. + + Example: `example_value` + + + :param value: The value of this AddHttpRequestHeaderRule. + :type: str + """ + self._value = value + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/load_balancer/models/add_http_response_header_rule.py b/src/oci/load_balancer/models/add_http_response_header_rule.py new file mode 100644 index 0000000000..434dd91b80 --- /dev/null +++ b/src/oci/load_balancer/models/add_http_response_header_rule.py @@ -0,0 +1,128 @@ +# coding: utf-8 +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. + +from .rule import Rule +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class AddHttpResponseHeaderRule(Rule): + """ + An object that represents the action of adding a header to a response. + This rule applies only to HTTP or HTTP2 listeners. + + **NOTES:** + + * If a matching header already exists in the response, the system removes all of its occurrences, and then adds the + new header. + + * The system does not distinquish between underscore and dash characters in headers. That is, it treats + `example_header_name` and `example-header-name` as identical. Oracle recommends that you do not rely on underscore + or dash characters to uniquely distinguish header names. + """ + + def __init__(self, **kwargs): + """ + Initializes a new AddHttpResponseHeaderRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.AddHttpResponseHeaderRule.action` attribute + of this class is ``ADD_HTTP_RESPONSE_HEADER`` and it should not be changed. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param action: + The value to assign to the action property of this AddHttpResponseHeaderRule. + Allowed values for this property are: "ADD_HTTP_REQUEST_HEADER", "EXTEND_HTTP_REQUEST_HEADER_VALUE", "REMOVE_HTTP_REQUEST_HEADER", "ADD_HTTP_RESPONSE_HEADER", "EXTEND_HTTP_RESPONSE_HEADER_VALUE", "REMOVE_HTTP_RESPONSE_HEADER" + :type action: str + + :param header: + The value to assign to the header property of this AddHttpResponseHeaderRule. + :type header: str + + :param value: + The value to assign to the value property of this AddHttpResponseHeaderRule. + :type value: str + + """ + self.swagger_types = { + 'action': 'str', + 'header': 'str', + 'value': 'str' + } + + self.attribute_map = { + 'action': 'action', + 'header': 'header', + 'value': 'value' + } + + self._action = None + self._header = None + self._value = None + self._action = 'ADD_HTTP_RESPONSE_HEADER' + + @property + def header(self): + """ + **[Required]** Gets the header of this AddHttpResponseHeaderRule. + A header name that conforms to RFC 7230. + + Example: `example_header_name` + + + :return: The header of this AddHttpResponseHeaderRule. + :rtype: str + """ + return self._header + + @header.setter + def header(self, header): + """ + Sets the header of this AddHttpResponseHeaderRule. + A header name that conforms to RFC 7230. + + Example: `example_header_name` + + + :param header: The header of this AddHttpResponseHeaderRule. + :type: str + """ + self._header = header + + @property + def value(self): + """ + **[Required]** Gets the value of this AddHttpResponseHeaderRule. + A header value that conforms to RFC 7230. + + Example: `example_value` + + + :return: The value of this AddHttpResponseHeaderRule. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """ + Sets the value of this AddHttpResponseHeaderRule. + A header value that conforms to RFC 7230. + + Example: `example_value` + + + :param value: The value of this AddHttpResponseHeaderRule. + :type: str + """ + self._value = value + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/load_balancer/models/backend.py b/src/oci/load_balancer/models/backend.py index 25ff416222..29d0c431df 100644 --- a/src/oci/load_balancer/models/backend.py +++ b/src/oci/load_balancer/models/backend.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -20,25 +20,13 @@ def __init__(self, **kwargs): Initializes a new Backend object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param backup: - The value to assign to the backup property of this Backend. - :type backup: bool - - :param drain: - The value to assign to the drain property of this Backend. - :type drain: bool - - :param ip_address: - The value to assign to the ip_address property of this Backend. - :type ip_address: str - :param name: The value to assign to the name property of this Backend. :type name: str - :param offline: - The value to assign to the offline property of this Backend. - :type offline: bool + :param ip_address: + The value to assign to the ip_address property of this Backend. + :type ip_address: str :param port: The value to assign to the port property of this Backend. @@ -48,122 +36,46 @@ def __init__(self, **kwargs): The value to assign to the weight property of this Backend. :type weight: int + :param drain: + The value to assign to the drain property of this Backend. + :type drain: bool + + :param backup: + The value to assign to the backup property of this Backend. + :type backup: bool + + :param offline: + The value to assign to the offline property of this Backend. + :type offline: bool + """ self.swagger_types = { - 'backup': 'bool', - 'drain': 'bool', - 'ip_address': 'str', 'name': 'str', - 'offline': 'bool', + 'ip_address': 'str', 'port': 'int', - 'weight': 'int' + 'weight': 'int', + 'drain': 'bool', + 'backup': 'bool', + 'offline': 'bool' } self.attribute_map = { - 'backup': 'backup', - 'drain': 'drain', - 'ip_address': 'ipAddress', 'name': 'name', - 'offline': 'offline', + 'ip_address': 'ipAddress', 'port': 'port', - 'weight': 'weight' + 'weight': 'weight', + 'drain': 'drain', + 'backup': 'backup', + 'offline': 'offline' } - self._backup = None - self._drain = None - self._ip_address = None self._name = None - self._offline = None + self._ip_address = None self._port = None self._weight = None - - @property - def backup(self): - """ - **[Required]** Gets the backup of this Backend. - Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress - traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy. - - Example: `false` - - - :return: The backup of this Backend. - :rtype: bool - """ - return self._backup - - @backup.setter - def backup(self, backup): - """ - Sets the backup of this Backend. - Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress - traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy. - - Example: `false` - - - :param backup: The backup of this Backend. - :type: bool - """ - self._backup = backup - - @property - def drain(self): - """ - **[Required]** Gets the drain of this Backend. - Whether the load balancer should drain this server. Servers marked \"drain\" receive no new - incoming traffic. - - Example: `false` - - - :return: The drain of this Backend. - :rtype: bool - """ - return self._drain - - @drain.setter - def drain(self, drain): - """ - Sets the drain of this Backend. - Whether the load balancer should drain this server. Servers marked \"drain\" receive no new - incoming traffic. - - Example: `false` - - - :param drain: The drain of this Backend. - :type: bool - """ - self._drain = drain - - @property - def ip_address(self): - """ - **[Required]** Gets the ip_address of this Backend. - The IP address of the backend server. - - Example: `10.0.0.3` - - - :return: The ip_address of this Backend. - :rtype: str - """ - return self._ip_address - - @ip_address.setter - def ip_address(self, ip_address): - """ - Sets the ip_address of this Backend. - The IP address of the backend server. - - Example: `10.0.0.3` - - - :param ip_address: The ip_address of this Backend. - :type: str - """ - self._ip_address = ip_address + self._drain = None + self._backup = None + self._offline = None @property def name(self): @@ -194,34 +106,32 @@ def name(self, name): self._name = name @property - def offline(self): + def ip_address(self): """ - **[Required]** Gets the offline of this Backend. - Whether the load balancer should treat this server as offline. Offline servers receive no incoming - traffic. + **[Required]** Gets the ip_address of this Backend. + The IP address of the backend server. - Example: `false` + Example: `10.0.0.3` - :return: The offline of this Backend. - :rtype: bool + :return: The ip_address of this Backend. + :rtype: str """ - return self._offline + return self._ip_address - @offline.setter - def offline(self, offline): + @ip_address.setter + def ip_address(self, ip_address): """ - Sets the offline of this Backend. - Whether the load balancer should treat this server as offline. Offline servers receive no incoming - traffic. + Sets the ip_address of this Backend. + The IP address of the backend server. - Example: `false` + Example: `10.0.0.3` - :param offline: The offline of this Backend. - :type: bool + :param ip_address: The ip_address of this Backend. + :type: str """ - self._offline = offline + self._ip_address = ip_address @property def port(self): @@ -291,6 +201,96 @@ def weight(self, weight): """ self._weight = weight + @property + def drain(self): + """ + **[Required]** Gets the drain of this Backend. + Whether the load balancer should drain this server. Servers marked \"drain\" receive no new + incoming traffic. + + Example: `false` + + + :return: The drain of this Backend. + :rtype: bool + """ + return self._drain + + @drain.setter + def drain(self, drain): + """ + Sets the drain of this Backend. + Whether the load balancer should drain this server. Servers marked \"drain\" receive no new + incoming traffic. + + Example: `false` + + + :param drain: The drain of this Backend. + :type: bool + """ + self._drain = drain + + @property + def backup(self): + """ + **[Required]** Gets the backup of this Backend. + Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress + traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy. + + Example: `false` + + + :return: The backup of this Backend. + :rtype: bool + """ + return self._backup + + @backup.setter + def backup(self, backup): + """ + Sets the backup of this Backend. + Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress + traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy. + + Example: `false` + + + :param backup: The backup of this Backend. + :type: bool + """ + self._backup = backup + + @property + def offline(self): + """ + **[Required]** Gets the offline of this Backend. + Whether the load balancer should treat this server as offline. Offline servers receive no incoming + traffic. + + Example: `false` + + + :return: The offline of this Backend. + :rtype: bool + """ + return self._offline + + @offline.setter + def offline(self, offline): + """ + Sets the offline of this Backend. + Whether the load balancer should treat this server as offline. Offline servers receive no incoming + traffic. + + Example: `false` + + + :param offline: The offline of this Backend. + :type: bool + """ + self._offline = offline + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/backend_details.py b/src/oci/load_balancer/models/backend_details.py index 863a5edb3a..0cab4f987c 100644 --- a/src/oci/load_balancer/models/backend_details.py +++ b/src/oci/load_balancer/models/backend_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -17,22 +17,10 @@ def __init__(self, **kwargs): Initializes a new BackendDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param backup: - The value to assign to the backup property of this BackendDetails. - :type backup: bool - - :param drain: - The value to assign to the drain property of this BackendDetails. - :type drain: bool - :param ip_address: The value to assign to the ip_address property of this BackendDetails. :type ip_address: str - :param offline: - The value to assign to the offline property of this BackendDetails. - :type offline: bool - :param port: The value to assign to the port property of this BackendDetails. :type port: int @@ -41,91 +29,43 @@ def __init__(self, **kwargs): The value to assign to the weight property of this BackendDetails. :type weight: int + :param backup: + The value to assign to the backup property of this BackendDetails. + :type backup: bool + + :param drain: + The value to assign to the drain property of this BackendDetails. + :type drain: bool + + :param offline: + The value to assign to the offline property of this BackendDetails. + :type offline: bool + """ self.swagger_types = { - 'backup': 'bool', - 'drain': 'bool', 'ip_address': 'str', - 'offline': 'bool', 'port': 'int', - 'weight': 'int' + 'weight': 'int', + 'backup': 'bool', + 'drain': 'bool', + 'offline': 'bool' } self.attribute_map = { - 'backup': 'backup', - 'drain': 'drain', 'ip_address': 'ipAddress', - 'offline': 'offline', 'port': 'port', - 'weight': 'weight' + 'weight': 'weight', + 'backup': 'backup', + 'drain': 'drain', + 'offline': 'offline' } - self._backup = None - self._drain = None self._ip_address = None - self._offline = None self._port = None self._weight = None - - @property - def backup(self): - """ - Gets the backup of this BackendDetails. - Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress - traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy. - - Example: `false` - - - :return: The backup of this BackendDetails. - :rtype: bool - """ - return self._backup - - @backup.setter - def backup(self, backup): - """ - Sets the backup of this BackendDetails. - Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress - traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy. - - Example: `false` - - - :param backup: The backup of this BackendDetails. - :type: bool - """ - self._backup = backup - - @property - def drain(self): - """ - Gets the drain of this BackendDetails. - Whether the load balancer should drain this server. Servers marked \"drain\" receive no new - incoming traffic. - - Example: `false` - - - :return: The drain of this BackendDetails. - :rtype: bool - """ - return self._drain - - @drain.setter - def drain(self, drain): - """ - Sets the drain of this BackendDetails. - Whether the load balancer should drain this server. Servers marked \"drain\" receive no new - incoming traffic. - - Example: `false` - - - :param drain: The drain of this BackendDetails. - :type: bool - """ - self._drain = drain + self._backup = None + self._drain = None + self._offline = None @property def ip_address(self): @@ -155,36 +95,6 @@ def ip_address(self, ip_address): """ self._ip_address = ip_address - @property - def offline(self): - """ - Gets the offline of this BackendDetails. - Whether the load balancer should treat this server as offline. Offline servers receive no incoming - traffic. - - Example: `false` - - - :return: The offline of this BackendDetails. - :rtype: bool - """ - return self._offline - - @offline.setter - def offline(self, offline): - """ - Sets the offline of this BackendDetails. - Whether the load balancer should treat this server as offline. Offline servers receive no incoming - traffic. - - Example: `false` - - - :param offline: The offline of this BackendDetails. - :type: bool - """ - self._offline = offline - @property def port(self): """ @@ -253,6 +163,96 @@ def weight(self, weight): """ self._weight = weight + @property + def backup(self): + """ + Gets the backup of this BackendDetails. + Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress + traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy. + + Example: `false` + + + :return: The backup of this BackendDetails. + :rtype: bool + """ + return self._backup + + @backup.setter + def backup(self, backup): + """ + Sets the backup of this BackendDetails. + Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress + traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy. + + Example: `false` + + + :param backup: The backup of this BackendDetails. + :type: bool + """ + self._backup = backup + + @property + def drain(self): + """ + Gets the drain of this BackendDetails. + Whether the load balancer should drain this server. Servers marked \"drain\" receive no new + incoming traffic. + + Example: `false` + + + :return: The drain of this BackendDetails. + :rtype: bool + """ + return self._drain + + @drain.setter + def drain(self, drain): + """ + Sets the drain of this BackendDetails. + Whether the load balancer should drain this server. Servers marked \"drain\" receive no new + incoming traffic. + + Example: `false` + + + :param drain: The drain of this BackendDetails. + :type: bool + """ + self._drain = drain + + @property + def offline(self): + """ + Gets the offline of this BackendDetails. + Whether the load balancer should treat this server as offline. Offline servers receive no incoming + traffic. + + Example: `false` + + + :return: The offline of this BackendDetails. + :rtype: bool + """ + return self._offline + + @offline.setter + def offline(self, offline): + """ + Sets the offline of this BackendDetails. + Whether the load balancer should treat this server as offline. Offline servers receive no incoming + traffic. + + Example: `false` + + + :param offline: The offline of this BackendDetails. + :type: bool + """ + self._offline = offline + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/backend_health.py b/src/oci/load_balancer/models/backend_health.py index 8721b22ee6..ff7d5dab54 100644 --- a/src/oci/load_balancer/models/backend_health.py +++ b/src/oci/load_balancer/models/backend_health.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -33,53 +33,29 @@ def __init__(self, **kwargs): Initializes a new BackendHealth object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param health_check_results: - The value to assign to the health_check_results property of this BackendHealth. - :type health_check_results: list[HealthCheckResult] - :param status: The value to assign to the status property of this BackendHealth. Allowed values for this property are: "OK", "WARNING", "CRITICAL", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str + :param health_check_results: + The value to assign to the health_check_results property of this BackendHealth. + :type health_check_results: list[HealthCheckResult] + """ self.swagger_types = { - 'health_check_results': 'list[HealthCheckResult]', - 'status': 'str' + 'status': 'str', + 'health_check_results': 'list[HealthCheckResult]' } self.attribute_map = { - 'health_check_results': 'healthCheckResults', - 'status': 'status' + 'status': 'status', + 'health_check_results': 'healthCheckResults' } - self._health_check_results = None self._status = None - - @property - def health_check_results(self): - """ - **[Required]** Gets the health_check_results of this BackendHealth. - A list of the most recent health check results returned for the specified backend server. - - - :return: The health_check_results of this BackendHealth. - :rtype: list[HealthCheckResult] - """ - return self._health_check_results - - @health_check_results.setter - def health_check_results(self, health_check_results): - """ - Sets the health_check_results of this BackendHealth. - A list of the most recent health check results returned for the specified backend server. - - - :param health_check_results: The health_check_results of this BackendHealth. - :type: list[HealthCheckResult] - """ - self._health_check_results = health_check_results + self._health_check_results = None @property def status(self): @@ -127,6 +103,30 @@ def status(self, status): status = 'UNKNOWN_ENUM_VALUE' self._status = status + @property + def health_check_results(self): + """ + **[Required]** Gets the health_check_results of this BackendHealth. + A list of the most recent health check results returned for the specified backend server. + + + :return: The health_check_results of this BackendHealth. + :rtype: list[HealthCheckResult] + """ + return self._health_check_results + + @health_check_results.setter + def health_check_results(self, health_check_results): + """ + Sets the health_check_results of this BackendHealth. + A list of the most recent health check results returned for the specified backend server. + + + :param health_check_results: The health_check_results of this BackendHealth. + :type: list[HealthCheckResult] + """ + self._health_check_results = health_check_results + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/backend_set.py b/src/oci/load_balancer/models/backend_set.py index 90af381e20..90fab28136 100644 --- a/src/oci/load_balancer/models/backend_set.py +++ b/src/oci/load_balancer/models/backend_set.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -13,7 +13,9 @@ class BackendSet(object): For more information on backend set configuration, see `Managing Backend Sets`__. - __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managingbackendsets.htm + **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingbackendsets.htm """ def __init__(self, **kwargs): @@ -21,14 +23,6 @@ def __init__(self, **kwargs): Initializes a new BackendSet object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param backends: - The value to assign to the backends property of this BackendSet. - :type backends: list[Backend] - - :param health_checker: - The value to assign to the health_checker property of this BackendSet. - :type health_checker: HealthChecker - :param name: The value to assign to the name property of this BackendSet. :type name: str @@ -37,79 +31,47 @@ def __init__(self, **kwargs): The value to assign to the policy property of this BackendSet. :type policy: str - :param session_persistence_configuration: - The value to assign to the session_persistence_configuration property of this BackendSet. - :type session_persistence_configuration: SessionPersistenceConfigurationDetails + :param backends: + The value to assign to the backends property of this BackendSet. + :type backends: list[Backend] + + :param health_checker: + The value to assign to the health_checker property of this BackendSet. + :type health_checker: HealthChecker :param ssl_configuration: The value to assign to the ssl_configuration property of this BackendSet. :type ssl_configuration: SSLConfiguration + :param session_persistence_configuration: + The value to assign to the session_persistence_configuration property of this BackendSet. + :type session_persistence_configuration: SessionPersistenceConfigurationDetails + """ self.swagger_types = { - 'backends': 'list[Backend]', - 'health_checker': 'HealthChecker', 'name': 'str', 'policy': 'str', - 'session_persistence_configuration': 'SessionPersistenceConfigurationDetails', - 'ssl_configuration': 'SSLConfiguration' + 'backends': 'list[Backend]', + 'health_checker': 'HealthChecker', + 'ssl_configuration': 'SSLConfiguration', + 'session_persistence_configuration': 'SessionPersistenceConfigurationDetails' } self.attribute_map = { - 'backends': 'backends', - 'health_checker': 'healthChecker', 'name': 'name', 'policy': 'policy', - 'session_persistence_configuration': 'sessionPersistenceConfiguration', - 'ssl_configuration': 'sslConfiguration' + 'backends': 'backends', + 'health_checker': 'healthChecker', + 'ssl_configuration': 'sslConfiguration', + 'session_persistence_configuration': 'sessionPersistenceConfiguration' } - self._backends = None - self._health_checker = None self._name = None self._policy = None - self._session_persistence_configuration = None + self._backends = None + self._health_checker = None self._ssl_configuration = None - - @property - def backends(self): - """ - **[Required]** Gets the backends of this BackendSet. - - :return: The backends of this BackendSet. - :rtype: list[Backend] - """ - return self._backends - - @backends.setter - def backends(self, backends): - """ - Sets the backends of this BackendSet. - - :param backends: The backends of this BackendSet. - :type: list[Backend] - """ - self._backends = backends - - @property - def health_checker(self): - """ - **[Required]** Gets the health_checker of this BackendSet. - - :return: The health_checker of this BackendSet. - :rtype: HealthChecker - """ - return self._health_checker - - @health_checker.setter - def health_checker(self, health_checker): - """ - Sets the health_checker of this BackendSet. - - :param health_checker: The health_checker of this BackendSet. - :type: HealthChecker - """ - self._health_checker = health_checker + self._session_persistence_configuration = None @property def name(self): @@ -176,24 +138,44 @@ def policy(self, policy): self._policy = policy @property - def session_persistence_configuration(self): + def backends(self): """ - Gets the session_persistence_configuration of this BackendSet. + **[Required]** Gets the backends of this BackendSet. - :return: The session_persistence_configuration of this BackendSet. - :rtype: SessionPersistenceConfigurationDetails + :return: The backends of this BackendSet. + :rtype: list[Backend] """ - return self._session_persistence_configuration + return self._backends - @session_persistence_configuration.setter - def session_persistence_configuration(self, session_persistence_configuration): + @backends.setter + def backends(self, backends): """ - Sets the session_persistence_configuration of this BackendSet. + Sets the backends of this BackendSet. - :param session_persistence_configuration: The session_persistence_configuration of this BackendSet. - :type: SessionPersistenceConfigurationDetails + :param backends: The backends of this BackendSet. + :type: list[Backend] """ - self._session_persistence_configuration = session_persistence_configuration + self._backends = backends + + @property + def health_checker(self): + """ + **[Required]** Gets the health_checker of this BackendSet. + + :return: The health_checker of this BackendSet. + :rtype: HealthChecker + """ + return self._health_checker + + @health_checker.setter + def health_checker(self, health_checker): + """ + Sets the health_checker of this BackendSet. + + :param health_checker: The health_checker of this BackendSet. + :type: HealthChecker + """ + self._health_checker = health_checker @property def ssl_configuration(self): @@ -215,6 +197,26 @@ def ssl_configuration(self, ssl_configuration): """ self._ssl_configuration = ssl_configuration + @property + def session_persistence_configuration(self): + """ + Gets the session_persistence_configuration of this BackendSet. + + :return: The session_persistence_configuration of this BackendSet. + :rtype: SessionPersistenceConfigurationDetails + """ + return self._session_persistence_configuration + + @session_persistence_configuration.setter + def session_persistence_configuration(self, session_persistence_configuration): + """ + Sets the session_persistence_configuration of this BackendSet. + + :param session_persistence_configuration: The session_persistence_configuration of this BackendSet. + :type: SessionPersistenceConfigurationDetails + """ + self._session_persistence_configuration = session_persistence_configuration + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/backend_set_details.py b/src/oci/load_balancer/models/backend_set_details.py index 3ff7479ec6..bcb945a89e 100644 --- a/src/oci/load_balancer/models/backend_set_details.py +++ b/src/oci/load_balancer/models/backend_set_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -13,7 +13,7 @@ class BackendSetDetails(object): For more information on backend set configuration, see `Managing Backend Sets`__. - __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managingbackendsets.htm + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingbackendsets.htm """ def __init__(self, **kwargs): @@ -21,6 +21,10 @@ def __init__(self, **kwargs): Initializes a new BackendSetDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): + :param policy: + The value to assign to the policy property of this BackendSetDetails. + :type policy: str + :param backends: The value to assign to the backends property of this BackendSetDetails. :type backends: list[BackendDetails] @@ -29,40 +33,66 @@ def __init__(self, **kwargs): The value to assign to the health_checker property of this BackendSetDetails. :type health_checker: HealthCheckerDetails - :param policy: - The value to assign to the policy property of this BackendSetDetails. - :type policy: str + :param ssl_configuration: + The value to assign to the ssl_configuration property of this BackendSetDetails. + :type ssl_configuration: SSLConfigurationDetails :param session_persistence_configuration: The value to assign to the session_persistence_configuration property of this BackendSetDetails. :type session_persistence_configuration: SessionPersistenceConfigurationDetails - :param ssl_configuration: - The value to assign to the ssl_configuration property of this BackendSetDetails. - :type ssl_configuration: SSLConfigurationDetails - """ self.swagger_types = { + 'policy': 'str', 'backends': 'list[BackendDetails]', 'health_checker': 'HealthCheckerDetails', - 'policy': 'str', - 'session_persistence_configuration': 'SessionPersistenceConfigurationDetails', - 'ssl_configuration': 'SSLConfigurationDetails' + 'ssl_configuration': 'SSLConfigurationDetails', + 'session_persistence_configuration': 'SessionPersistenceConfigurationDetails' } self.attribute_map = { + 'policy': 'policy', 'backends': 'backends', 'health_checker': 'healthChecker', - 'policy': 'policy', - 'session_persistence_configuration': 'sessionPersistenceConfiguration', - 'ssl_configuration': 'sslConfiguration' + 'ssl_configuration': 'sslConfiguration', + 'session_persistence_configuration': 'sessionPersistenceConfiguration' } + self._policy = None self._backends = None self._health_checker = None - self._policy = None - self._session_persistence_configuration = None self._ssl_configuration = None + self._session_persistence_configuration = None + + @property + def policy(self): + """ + **[Required]** Gets the policy of this BackendSetDetails. + The load balancer policy for the backend set. To get a list of available policies, use the + :func:`list_policies` operation. + + Example: `LEAST_CONNECTIONS` + + + :return: The policy of this BackendSetDetails. + :rtype: str + """ + return self._policy + + @policy.setter + def policy(self, policy): + """ + Sets the policy of this BackendSetDetails. + The load balancer policy for the backend set. To get a list of available policies, use the + :func:`list_policies` operation. + + Example: `LEAST_CONNECTIONS` + + + :param policy: The policy of this BackendSetDetails. + :type: str + """ + self._policy = policy @property def backends(self): @@ -105,34 +135,24 @@ def health_checker(self, health_checker): self._health_checker = health_checker @property - def policy(self): + def ssl_configuration(self): """ - **[Required]** Gets the policy of this BackendSetDetails. - The load balancer policy for the backend set. To get a list of available policies, use the - :func:`list_policies` operation. - - Example: `LEAST_CONNECTIONS` - + Gets the ssl_configuration of this BackendSetDetails. - :return: The policy of this BackendSetDetails. - :rtype: str + :return: The ssl_configuration of this BackendSetDetails. + :rtype: SSLConfigurationDetails """ - return self._policy + return self._ssl_configuration - @policy.setter - def policy(self, policy): + @ssl_configuration.setter + def ssl_configuration(self, ssl_configuration): """ - Sets the policy of this BackendSetDetails. - The load balancer policy for the backend set. To get a list of available policies, use the - :func:`list_policies` operation. - - Example: `LEAST_CONNECTIONS` - + Sets the ssl_configuration of this BackendSetDetails. - :param policy: The policy of this BackendSetDetails. - :type: str + :param ssl_configuration: The ssl_configuration of this BackendSetDetails. + :type: SSLConfigurationDetails """ - self._policy = policy + self._ssl_configuration = ssl_configuration @property def session_persistence_configuration(self): @@ -154,26 +174,6 @@ def session_persistence_configuration(self, session_persistence_configuration): """ self._session_persistence_configuration = session_persistence_configuration - @property - def ssl_configuration(self): - """ - Gets the ssl_configuration of this BackendSetDetails. - - :return: The ssl_configuration of this BackendSetDetails. - :rtype: SSLConfigurationDetails - """ - return self._ssl_configuration - - @ssl_configuration.setter - def ssl_configuration(self, ssl_configuration): - """ - Sets the ssl_configuration of this BackendSetDetails. - - :param ssl_configuration: The ssl_configuration of this BackendSetDetails. - :type: SSLConfigurationDetails - """ - self._ssl_configuration = ssl_configuration - def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/backend_set_health.py b/src/oci/load_balancer/models/backend_set_health.py index ae7349f00e..cc9e1930fa 100644 --- a/src/oci/load_balancer/models/backend_set_health.py +++ b/src/oci/load_balancer/models/backend_set_health.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -36,80 +36,50 @@ def __init__(self, **kwargs): Initializes a new BackendSetHealth object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param critical_state_backend_names: - The value to assign to the critical_state_backend_names property of this BackendSetHealth. - :type critical_state_backend_names: list[str] - :param status: The value to assign to the status property of this BackendSetHealth. Allowed values for this property are: "OK", "WARNING", "CRITICAL", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str - :param total_backend_count: - The value to assign to the total_backend_count property of this BackendSetHealth. - :type total_backend_count: int + :param warning_state_backend_names: + The value to assign to the warning_state_backend_names property of this BackendSetHealth. + :type warning_state_backend_names: list[str] + + :param critical_state_backend_names: + The value to assign to the critical_state_backend_names property of this BackendSetHealth. + :type critical_state_backend_names: list[str] :param unknown_state_backend_names: The value to assign to the unknown_state_backend_names property of this BackendSetHealth. :type unknown_state_backend_names: list[str] - :param warning_state_backend_names: - The value to assign to the warning_state_backend_names property of this BackendSetHealth. - :type warning_state_backend_names: list[str] + :param total_backend_count: + The value to assign to the total_backend_count property of this BackendSetHealth. + :type total_backend_count: int """ self.swagger_types = { - 'critical_state_backend_names': 'list[str]', 'status': 'str', - 'total_backend_count': 'int', + 'warning_state_backend_names': 'list[str]', + 'critical_state_backend_names': 'list[str]', 'unknown_state_backend_names': 'list[str]', - 'warning_state_backend_names': 'list[str]' + 'total_backend_count': 'int' } self.attribute_map = { - 'critical_state_backend_names': 'criticalStateBackendNames', 'status': 'status', - 'total_backend_count': 'totalBackendCount', + 'warning_state_backend_names': 'warningStateBackendNames', + 'critical_state_backend_names': 'criticalStateBackendNames', 'unknown_state_backend_names': 'unknownStateBackendNames', - 'warning_state_backend_names': 'warningStateBackendNames' + 'total_backend_count': 'totalBackendCount' } - self._critical_state_backend_names = None self._status = None - self._total_backend_count = None - self._unknown_state_backend_names = None self._warning_state_backend_names = None - - @property - def critical_state_backend_names(self): - """ - **[Required]** Gets the critical_state_backend_names of this BackendSetHealth. - A list of backend servers that are currently in the `CRITICAL` health state. The list identifies each backend server by - IP address and port. - - Example: `10.0.0.4:8080` - - - :return: The critical_state_backend_names of this BackendSetHealth. - :rtype: list[str] - """ - return self._critical_state_backend_names - - @critical_state_backend_names.setter - def critical_state_backend_names(self, critical_state_backend_names): - """ - Sets the critical_state_backend_names of this BackendSetHealth. - A list of backend servers that are currently in the `CRITICAL` health state. The list identifies each backend server by - IP address and port. - - Example: `10.0.0.4:8080` - - - :param critical_state_backend_names: The critical_state_backend_names of this BackendSetHealth. - :type: list[str] - """ - self._critical_state_backend_names = critical_state_backend_names + self._critical_state_backend_names = None + self._unknown_state_backend_names = None + self._total_backend_count = None @property def status(self): @@ -162,32 +132,64 @@ def status(self, status): self._status = status @property - def total_backend_count(self): + def warning_state_backend_names(self): """ - **[Required]** Gets the total_backend_count of this BackendSetHealth. - The total number of backend servers in this backend set. + **[Required]** Gets the warning_state_backend_names of this BackendSetHealth. + A list of backend servers that are currently in the `WARNING` health state. The list identifies each backend server by + IP address and port. - Example: `7` + Example: `10.0.0.3:8080` - :return: The total_backend_count of this BackendSetHealth. - :rtype: int + :return: The warning_state_backend_names of this BackendSetHealth. + :rtype: list[str] """ - return self._total_backend_count + return self._warning_state_backend_names - @total_backend_count.setter - def total_backend_count(self, total_backend_count): + @warning_state_backend_names.setter + def warning_state_backend_names(self, warning_state_backend_names): """ - Sets the total_backend_count of this BackendSetHealth. - The total number of backend servers in this backend set. + Sets the warning_state_backend_names of this BackendSetHealth. + A list of backend servers that are currently in the `WARNING` health state. The list identifies each backend server by + IP address and port. - Example: `7` + Example: `10.0.0.3:8080` - :param total_backend_count: The total_backend_count of this BackendSetHealth. - :type: int + :param warning_state_backend_names: The warning_state_backend_names of this BackendSetHealth. + :type: list[str] """ - self._total_backend_count = total_backend_count + self._warning_state_backend_names = warning_state_backend_names + + @property + def critical_state_backend_names(self): + """ + **[Required]** Gets the critical_state_backend_names of this BackendSetHealth. + A list of backend servers that are currently in the `CRITICAL` health state. The list identifies each backend server by + IP address and port. + + Example: `10.0.0.4:8080` + + + :return: The critical_state_backend_names of this BackendSetHealth. + :rtype: list[str] + """ + return self._critical_state_backend_names + + @critical_state_backend_names.setter + def critical_state_backend_names(self, critical_state_backend_names): + """ + Sets the critical_state_backend_names of this BackendSetHealth. + A list of backend servers that are currently in the `CRITICAL` health state. The list identifies each backend server by + IP address and port. + + Example: `10.0.0.4:8080` + + + :param critical_state_backend_names: The critical_state_backend_names of this BackendSetHealth. + :type: list[str] + """ + self._critical_state_backend_names = critical_state_backend_names @property def unknown_state_backend_names(self): @@ -220,34 +222,32 @@ def unknown_state_backend_names(self, unknown_state_backend_names): self._unknown_state_backend_names = unknown_state_backend_names @property - def warning_state_backend_names(self): + def total_backend_count(self): """ - **[Required]** Gets the warning_state_backend_names of this BackendSetHealth. - A list of backend servers that are currently in the `WARNING` health state. The list identifies each backend server by - IP address and port. + **[Required]** Gets the total_backend_count of this BackendSetHealth. + The total number of backend servers in this backend set. - Example: `10.0.0.3:8080` + Example: `7` - :return: The warning_state_backend_names of this BackendSetHealth. - :rtype: list[str] + :return: The total_backend_count of this BackendSetHealth. + :rtype: int """ - return self._warning_state_backend_names + return self._total_backend_count - @warning_state_backend_names.setter - def warning_state_backend_names(self, warning_state_backend_names): + @total_backend_count.setter + def total_backend_count(self, total_backend_count): """ - Sets the warning_state_backend_names of this BackendSetHealth. - A list of backend servers that are currently in the `WARNING` health state. The list identifies each backend server by - IP address and port. + Sets the total_backend_count of this BackendSetHealth. + The total number of backend servers in this backend set. - Example: `10.0.0.3:8080` + Example: `7` - :param warning_state_backend_names: The warning_state_backend_names of this BackendSetHealth. - :type: list[str] + :param total_backend_count: The total_backend_count of this BackendSetHealth. + :type: int """ - self._warning_state_backend_names = warning_state_backend_names + self._total_backend_count = total_backend_count def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/certificate.py b/src/oci/load_balancer/models/certificate.py index f049435eb8..8950d7df35 100644 --- a/src/oci/load_balancer/models/certificate.py +++ b/src/oci/load_balancer/models/certificate.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -13,6 +13,8 @@ class Certificate(object): For more information on SSL certficate configuration, see `Managing SSL Certificates`__. + **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingcertificates.htm """ @@ -21,10 +23,6 @@ def __init__(self, **kwargs): Initializes a new Certificate object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param ca_certificate: - The value to assign to the ca_certificate property of this Certificate. - :type ca_certificate: str - :param certificate_name: The value to assign to the certificate_name property of this Certificate. :type certificate_name: str @@ -33,66 +31,26 @@ def __init__(self, **kwargs): The value to assign to the public_certificate property of this Certificate. :type public_certificate: str + :param ca_certificate: + The value to assign to the ca_certificate property of this Certificate. + :type ca_certificate: str + """ self.swagger_types = { - 'ca_certificate': 'str', 'certificate_name': 'str', - 'public_certificate': 'str' + 'public_certificate': 'str', + 'ca_certificate': 'str' } self.attribute_map = { - 'ca_certificate': 'caCertificate', 'certificate_name': 'certificateName', - 'public_certificate': 'publicCertificate' + 'public_certificate': 'publicCertificate', + 'ca_certificate': 'caCertificate' } - self._ca_certificate = None self._certificate_name = None self._public_certificate = None - - @property - def ca_certificate(self): - """ - **[Required]** Gets the ca_certificate of this Certificate. - The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. - - Example: - - -----BEGIN CERTIFICATE----- - MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix - EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD - VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y - aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy - ... - -----END CERTIFICATE----- - - - :return: The ca_certificate of this Certificate. - :rtype: str - """ - return self._ca_certificate - - @ca_certificate.setter - def ca_certificate(self, ca_certificate): - """ - Sets the ca_certificate of this Certificate. - The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. - - Example: - - -----BEGIN CERTIFICATE----- - MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix - EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD - VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y - aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy - ... - -----END CERTIFICATE----- - - - :param ca_certificate: The ca_certificate of this Certificate. - :type: str - """ - self._ca_certificate = ca_certificate + self._ca_certificate = None @property def certificate_name(self): @@ -170,6 +128,50 @@ def public_certificate(self, public_certificate): """ self._public_certificate = public_certificate + @property + def ca_certificate(self): + """ + **[Required]** Gets the ca_certificate of this Certificate. + The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. + + Example: + + -----BEGIN CERTIFICATE----- + MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix + EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD + VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y + aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy + ... + -----END CERTIFICATE----- + + + :return: The ca_certificate of this Certificate. + :rtype: str + """ + return self._ca_certificate + + @ca_certificate.setter + def ca_certificate(self, ca_certificate): + """ + Sets the ca_certificate of this Certificate. + The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. + + Example: + + -----BEGIN CERTIFICATE----- + MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix + EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD + VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y + aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy + ... + -----END CERTIFICATE----- + + + :param ca_certificate: The ca_certificate of this Certificate. + :type: str + """ + self._ca_certificate = ca_certificate + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/certificate_details.py b/src/oci/load_balancer/models/certificate_details.py index 01e482d98d..546de8acab 100644 --- a/src/oci/load_balancer/models/certificate_details.py +++ b/src/oci/load_balancer/models/certificate_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -13,6 +13,8 @@ class CertificateDetails(object): For more information on SSL certficate configuration, see `Managing SSL Certificates`__. + **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingcertificates.htm """ @@ -21,14 +23,6 @@ def __init__(self, **kwargs): Initializes a new CertificateDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param ca_certificate: - The value to assign to the ca_certificate property of this CertificateDetails. - :type ca_certificate: str - - :param certificate_name: - The value to assign to the certificate_name property of this CertificateDetails. - :type certificate_name: str - :param passphrase: The value to assign to the passphrase property of this CertificateDetails. :type passphrase: str @@ -41,104 +35,36 @@ def __init__(self, **kwargs): The value to assign to the public_certificate property of this CertificateDetails. :type public_certificate: str + :param ca_certificate: + The value to assign to the ca_certificate property of this CertificateDetails. + :type ca_certificate: str + + :param certificate_name: + The value to assign to the certificate_name property of this CertificateDetails. + :type certificate_name: str + """ self.swagger_types = { - 'ca_certificate': 'str', - 'certificate_name': 'str', 'passphrase': 'str', 'private_key': 'str', - 'public_certificate': 'str' + 'public_certificate': 'str', + 'ca_certificate': 'str', + 'certificate_name': 'str' } self.attribute_map = { - 'ca_certificate': 'caCertificate', - 'certificate_name': 'certificateName', 'passphrase': 'passphrase', 'private_key': 'privateKey', - 'public_certificate': 'publicCertificate' + 'public_certificate': 'publicCertificate', + 'ca_certificate': 'caCertificate', + 'certificate_name': 'certificateName' } - self._ca_certificate = None - self._certificate_name = None self._passphrase = None self._private_key = None self._public_certificate = None - - @property - def ca_certificate(self): - """ - Gets the ca_certificate of this CertificateDetails. - The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. - - Example: - - -----BEGIN CERTIFICATE----- - MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix - EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD - VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y - aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy - ... - -----END CERTIFICATE----- - - - :return: The ca_certificate of this CertificateDetails. - :rtype: str - """ - return self._ca_certificate - - @ca_certificate.setter - def ca_certificate(self, ca_certificate): - """ - Sets the ca_certificate of this CertificateDetails. - The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. - - Example: - - -----BEGIN CERTIFICATE----- - MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix - EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD - VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y - aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy - ... - -----END CERTIFICATE----- - - - :param ca_certificate: The ca_certificate of this CertificateDetails. - :type: str - """ - self._ca_certificate = ca_certificate - - @property - def certificate_name(self): - """ - **[Required]** Gets the certificate_name of this CertificateDetails. - A friendly name for the certificate bundle. It must be unique and it cannot be changed. - Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. - Certificate bundle names cannot contain spaces. Avoid entering confidential information. - - Example: `example_certificate_bundle` - - - :return: The certificate_name of this CertificateDetails. - :rtype: str - """ - return self._certificate_name - - @certificate_name.setter - def certificate_name(self, certificate_name): - """ - Sets the certificate_name of this CertificateDetails. - A friendly name for the certificate bundle. It must be unique and it cannot be changed. - Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. - Certificate bundle names cannot contain spaces. Avoid entering confidential information. - - Example: `example_certificate_bundle` - - - :param certificate_name: The certificate_name of this CertificateDetails. - :type: str - """ - self._certificate_name = certificate_name + self._ca_certificate = None + self._certificate_name = None @property def passphrase(self): @@ -252,6 +178,82 @@ def public_certificate(self, public_certificate): """ self._public_certificate = public_certificate + @property + def ca_certificate(self): + """ + Gets the ca_certificate of this CertificateDetails. + The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. + + Example: + + -----BEGIN CERTIFICATE----- + MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix + EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD + VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y + aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy + ... + -----END CERTIFICATE----- + + + :return: The ca_certificate of this CertificateDetails. + :rtype: str + """ + return self._ca_certificate + + @ca_certificate.setter + def ca_certificate(self, ca_certificate): + """ + Sets the ca_certificate of this CertificateDetails. + The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. + + Example: + + -----BEGIN CERTIFICATE----- + MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix + EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD + VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y + aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy + ... + -----END CERTIFICATE----- + + + :param ca_certificate: The ca_certificate of this CertificateDetails. + :type: str + """ + self._ca_certificate = ca_certificate + + @property + def certificate_name(self): + """ + **[Required]** Gets the certificate_name of this CertificateDetails. + A friendly name for the certificate bundle. It must be unique and it cannot be changed. + Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. + Certificate bundle names cannot contain spaces. Avoid entering confidential information. + + Example: `example_certificate_bundle` + + + :return: The certificate_name of this CertificateDetails. + :rtype: str + """ + return self._certificate_name + + @certificate_name.setter + def certificate_name(self, certificate_name): + """ + Sets the certificate_name of this CertificateDetails. + A friendly name for the certificate bundle. It must be unique and it cannot be changed. + Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. + Certificate bundle names cannot contain spaces. Avoid entering confidential information. + + Example: `example_certificate_bundle` + + + :param certificate_name: The certificate_name of this CertificateDetails. + :type: str + """ + self._certificate_name = certificate_name + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/connection_configuration.py b/src/oci/load_balancer/models/connection_configuration.py index 8e8e100308..a7ff29b104 100644 --- a/src/oci/load_balancer/models/connection_configuration.py +++ b/src/oci/load_balancer/models/connection_configuration.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/load_balancer/models/create_backend_details.py b/src/oci/load_balancer/models/create_backend_details.py index af56807ff1..63cef5bc83 100644 --- a/src/oci/load_balancer/models/create_backend_details.py +++ b/src/oci/load_balancer/models/create_backend_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -13,7 +13,7 @@ class CreateBackendDetails(object): For more information on backend server configuration, see `Managing Backend Servers`__. - __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managingbackendservers.htm + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingbackendservers.htm """ def __init__(self, **kwargs): @@ -21,22 +21,10 @@ def __init__(self, **kwargs): Initializes a new CreateBackendDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param backup: - The value to assign to the backup property of this CreateBackendDetails. - :type backup: bool - - :param drain: - The value to assign to the drain property of this CreateBackendDetails. - :type drain: bool - :param ip_address: The value to assign to the ip_address property of this CreateBackendDetails. :type ip_address: str - :param offline: - The value to assign to the offline property of this CreateBackendDetails. - :type offline: bool - :param port: The value to assign to the port property of this CreateBackendDetails. :type port: int @@ -45,91 +33,43 @@ def __init__(self, **kwargs): The value to assign to the weight property of this CreateBackendDetails. :type weight: int + :param backup: + The value to assign to the backup property of this CreateBackendDetails. + :type backup: bool + + :param drain: + The value to assign to the drain property of this CreateBackendDetails. + :type drain: bool + + :param offline: + The value to assign to the offline property of this CreateBackendDetails. + :type offline: bool + """ self.swagger_types = { - 'backup': 'bool', - 'drain': 'bool', 'ip_address': 'str', - 'offline': 'bool', 'port': 'int', - 'weight': 'int' + 'weight': 'int', + 'backup': 'bool', + 'drain': 'bool', + 'offline': 'bool' } self.attribute_map = { - 'backup': 'backup', - 'drain': 'drain', 'ip_address': 'ipAddress', - 'offline': 'offline', 'port': 'port', - 'weight': 'weight' + 'weight': 'weight', + 'backup': 'backup', + 'drain': 'drain', + 'offline': 'offline' } - self._backup = None - self._drain = None self._ip_address = None - self._offline = None self._port = None self._weight = None - - @property - def backup(self): - """ - Gets the backup of this CreateBackendDetails. - Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress - traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy. - - Example: `false` - - - :return: The backup of this CreateBackendDetails. - :rtype: bool - """ - return self._backup - - @backup.setter - def backup(self, backup): - """ - Sets the backup of this CreateBackendDetails. - Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress - traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy. - - Example: `false` - - - :param backup: The backup of this CreateBackendDetails. - :type: bool - """ - self._backup = backup - - @property - def drain(self): - """ - Gets the drain of this CreateBackendDetails. - Whether the load balancer should drain this server. Servers marked \"drain\" receive no new - incoming traffic. - - Example: `false` - - - :return: The drain of this CreateBackendDetails. - :rtype: bool - """ - return self._drain - - @drain.setter - def drain(self, drain): - """ - Sets the drain of this CreateBackendDetails. - Whether the load balancer should drain this server. Servers marked \"drain\" receive no new - incoming traffic. - - Example: `false` - - - :param drain: The drain of this CreateBackendDetails. - :type: bool - """ - self._drain = drain + self._backup = None + self._drain = None + self._offline = None @property def ip_address(self): @@ -159,36 +99,6 @@ def ip_address(self, ip_address): """ self._ip_address = ip_address - @property - def offline(self): - """ - Gets the offline of this CreateBackendDetails. - Whether the load balancer should treat this server as offline. Offline servers receive no incoming - traffic. - - Example: `false` - - - :return: The offline of this CreateBackendDetails. - :rtype: bool - """ - return self._offline - - @offline.setter - def offline(self, offline): - """ - Sets the offline of this CreateBackendDetails. - Whether the load balancer should treat this server as offline. Offline servers receive no incoming - traffic. - - Example: `false` - - - :param offline: The offline of this CreateBackendDetails. - :type: bool - """ - self._offline = offline - @property def port(self): """ @@ -257,6 +167,96 @@ def weight(self, weight): """ self._weight = weight + @property + def backup(self): + """ + Gets the backup of this CreateBackendDetails. + Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress + traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy. + + Example: `false` + + + :return: The backup of this CreateBackendDetails. + :rtype: bool + """ + return self._backup + + @backup.setter + def backup(self, backup): + """ + Sets the backup of this CreateBackendDetails. + Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress + traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy. + + Example: `false` + + + :param backup: The backup of this CreateBackendDetails. + :type: bool + """ + self._backup = backup + + @property + def drain(self): + """ + Gets the drain of this CreateBackendDetails. + Whether the load balancer should drain this server. Servers marked \"drain\" receive no new + incoming traffic. + + Example: `false` + + + :return: The drain of this CreateBackendDetails. + :rtype: bool + """ + return self._drain + + @drain.setter + def drain(self, drain): + """ + Sets the drain of this CreateBackendDetails. + Whether the load balancer should drain this server. Servers marked \"drain\" receive no new + incoming traffic. + + Example: `false` + + + :param drain: The drain of this CreateBackendDetails. + :type: bool + """ + self._drain = drain + + @property + def offline(self): + """ + Gets the offline of this CreateBackendDetails. + Whether the load balancer should treat this server as offline. Offline servers receive no incoming + traffic. + + Example: `false` + + + :return: The offline of this CreateBackendDetails. + :rtype: bool + """ + return self._offline + + @offline.setter + def offline(self, offline): + """ + Sets the offline of this CreateBackendDetails. + Whether the load balancer should treat this server as offline. Offline servers receive no incoming + traffic. + + Example: `false` + + + :param offline: The offline of this CreateBackendDetails. + :type: bool + """ + self._offline = offline + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/create_backend_set_details.py b/src/oci/load_balancer/models/create_backend_set_details.py index 3a5d1b7527..d643b87e7e 100644 --- a/src/oci/load_balancer/models/create_backend_set_details.py +++ b/src/oci/load_balancer/models/create_backend_set_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -13,7 +13,9 @@ class CreateBackendSetDetails(object): For more information on backend set configuration, see `Managing Backend Sets`__. - __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managingbackendsets.htm + **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingbackendsets.htm """ def __init__(self, **kwargs): @@ -21,14 +23,6 @@ def __init__(self, **kwargs): Initializes a new CreateBackendSetDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param backends: - The value to assign to the backends property of this CreateBackendSetDetails. - :type backends: list[BackendDetails] - - :param health_checker: - The value to assign to the health_checker property of this CreateBackendSetDetails. - :type health_checker: HealthCheckerDetails - :param name: The value to assign to the name property of this CreateBackendSetDetails. :type name: str @@ -37,79 +31,47 @@ def __init__(self, **kwargs): The value to assign to the policy property of this CreateBackendSetDetails. :type policy: str - :param session_persistence_configuration: - The value to assign to the session_persistence_configuration property of this CreateBackendSetDetails. - :type session_persistence_configuration: SessionPersistenceConfigurationDetails + :param backends: + The value to assign to the backends property of this CreateBackendSetDetails. + :type backends: list[BackendDetails] + + :param health_checker: + The value to assign to the health_checker property of this CreateBackendSetDetails. + :type health_checker: HealthCheckerDetails :param ssl_configuration: The value to assign to the ssl_configuration property of this CreateBackendSetDetails. :type ssl_configuration: SSLConfigurationDetails + :param session_persistence_configuration: + The value to assign to the session_persistence_configuration property of this CreateBackendSetDetails. + :type session_persistence_configuration: SessionPersistenceConfigurationDetails + """ self.swagger_types = { - 'backends': 'list[BackendDetails]', - 'health_checker': 'HealthCheckerDetails', 'name': 'str', 'policy': 'str', - 'session_persistence_configuration': 'SessionPersistenceConfigurationDetails', - 'ssl_configuration': 'SSLConfigurationDetails' + 'backends': 'list[BackendDetails]', + 'health_checker': 'HealthCheckerDetails', + 'ssl_configuration': 'SSLConfigurationDetails', + 'session_persistence_configuration': 'SessionPersistenceConfigurationDetails' } self.attribute_map = { - 'backends': 'backends', - 'health_checker': 'healthChecker', 'name': 'name', 'policy': 'policy', - 'session_persistence_configuration': 'sessionPersistenceConfiguration', - 'ssl_configuration': 'sslConfiguration' + 'backends': 'backends', + 'health_checker': 'healthChecker', + 'ssl_configuration': 'sslConfiguration', + 'session_persistence_configuration': 'sessionPersistenceConfiguration' } - self._backends = None - self._health_checker = None self._name = None self._policy = None - self._session_persistence_configuration = None + self._backends = None + self._health_checker = None self._ssl_configuration = None - - @property - def backends(self): - """ - Gets the backends of this CreateBackendSetDetails. - - :return: The backends of this CreateBackendSetDetails. - :rtype: list[BackendDetails] - """ - return self._backends - - @backends.setter - def backends(self, backends): - """ - Sets the backends of this CreateBackendSetDetails. - - :param backends: The backends of this CreateBackendSetDetails. - :type: list[BackendDetails] - """ - self._backends = backends - - @property - def health_checker(self): - """ - **[Required]** Gets the health_checker of this CreateBackendSetDetails. - - :return: The health_checker of this CreateBackendSetDetails. - :rtype: HealthCheckerDetails - """ - return self._health_checker - - @health_checker.setter - def health_checker(self, health_checker): - """ - Sets the health_checker of this CreateBackendSetDetails. - - :param health_checker: The health_checker of this CreateBackendSetDetails. - :type: HealthCheckerDetails - """ - self._health_checker = health_checker + self._session_persistence_configuration = None @property def name(self): @@ -176,24 +138,44 @@ def policy(self, policy): self._policy = policy @property - def session_persistence_configuration(self): + def backends(self): """ - Gets the session_persistence_configuration of this CreateBackendSetDetails. + Gets the backends of this CreateBackendSetDetails. - :return: The session_persistence_configuration of this CreateBackendSetDetails. - :rtype: SessionPersistenceConfigurationDetails + :return: The backends of this CreateBackendSetDetails. + :rtype: list[BackendDetails] """ - return self._session_persistence_configuration + return self._backends - @session_persistence_configuration.setter - def session_persistence_configuration(self, session_persistence_configuration): + @backends.setter + def backends(self, backends): """ - Sets the session_persistence_configuration of this CreateBackendSetDetails. + Sets the backends of this CreateBackendSetDetails. - :param session_persistence_configuration: The session_persistence_configuration of this CreateBackendSetDetails. - :type: SessionPersistenceConfigurationDetails + :param backends: The backends of this CreateBackendSetDetails. + :type: list[BackendDetails] """ - self._session_persistence_configuration = session_persistence_configuration + self._backends = backends + + @property + def health_checker(self): + """ + **[Required]** Gets the health_checker of this CreateBackendSetDetails. + + :return: The health_checker of this CreateBackendSetDetails. + :rtype: HealthCheckerDetails + """ + return self._health_checker + + @health_checker.setter + def health_checker(self, health_checker): + """ + Sets the health_checker of this CreateBackendSetDetails. + + :param health_checker: The health_checker of this CreateBackendSetDetails. + :type: HealthCheckerDetails + """ + self._health_checker = health_checker @property def ssl_configuration(self): @@ -215,6 +197,26 @@ def ssl_configuration(self, ssl_configuration): """ self._ssl_configuration = ssl_configuration + @property + def session_persistence_configuration(self): + """ + Gets the session_persistence_configuration of this CreateBackendSetDetails. + + :return: The session_persistence_configuration of this CreateBackendSetDetails. + :rtype: SessionPersistenceConfigurationDetails + """ + return self._session_persistence_configuration + + @session_persistence_configuration.setter + def session_persistence_configuration(self, session_persistence_configuration): + """ + Sets the session_persistence_configuration of this CreateBackendSetDetails. + + :param session_persistence_configuration: The session_persistence_configuration of this CreateBackendSetDetails. + :type: SessionPersistenceConfigurationDetails + """ + self._session_persistence_configuration = session_persistence_configuration + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/create_certificate_details.py b/src/oci/load_balancer/models/create_certificate_details.py index 5219a40656..f795111d2c 100644 --- a/src/oci/load_balancer/models/create_certificate_details.py +++ b/src/oci/load_balancer/models/create_certificate_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -13,6 +13,8 @@ class CreateCertificateDetails(object): For more information on SSL certficate configuration, see `Managing SSL Certificates`__. + **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingcertificates.htm """ @@ -21,14 +23,6 @@ def __init__(self, **kwargs): Initializes a new CreateCertificateDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param ca_certificate: - The value to assign to the ca_certificate property of this CreateCertificateDetails. - :type ca_certificate: str - - :param certificate_name: - The value to assign to the certificate_name property of this CreateCertificateDetails. - :type certificate_name: str - :param passphrase: The value to assign to the passphrase property of this CreateCertificateDetails. :type passphrase: str @@ -41,104 +35,36 @@ def __init__(self, **kwargs): The value to assign to the public_certificate property of this CreateCertificateDetails. :type public_certificate: str + :param ca_certificate: + The value to assign to the ca_certificate property of this CreateCertificateDetails. + :type ca_certificate: str + + :param certificate_name: + The value to assign to the certificate_name property of this CreateCertificateDetails. + :type certificate_name: str + """ self.swagger_types = { - 'ca_certificate': 'str', - 'certificate_name': 'str', 'passphrase': 'str', 'private_key': 'str', - 'public_certificate': 'str' + 'public_certificate': 'str', + 'ca_certificate': 'str', + 'certificate_name': 'str' } self.attribute_map = { - 'ca_certificate': 'caCertificate', - 'certificate_name': 'certificateName', 'passphrase': 'passphrase', 'private_key': 'privateKey', - 'public_certificate': 'publicCertificate' + 'public_certificate': 'publicCertificate', + 'ca_certificate': 'caCertificate', + 'certificate_name': 'certificateName' } - self._ca_certificate = None - self._certificate_name = None self._passphrase = None self._private_key = None self._public_certificate = None - - @property - def ca_certificate(self): - """ - Gets the ca_certificate of this CreateCertificateDetails. - The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. - - Example: - - -----BEGIN CERTIFICATE----- - MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix - EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD - VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y - aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy - ... - -----END CERTIFICATE----- - - - :return: The ca_certificate of this CreateCertificateDetails. - :rtype: str - """ - return self._ca_certificate - - @ca_certificate.setter - def ca_certificate(self, ca_certificate): - """ - Sets the ca_certificate of this CreateCertificateDetails. - The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. - - Example: - - -----BEGIN CERTIFICATE----- - MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix - EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD - VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y - aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy - ... - -----END CERTIFICATE----- - - - :param ca_certificate: The ca_certificate of this CreateCertificateDetails. - :type: str - """ - self._ca_certificate = ca_certificate - - @property - def certificate_name(self): - """ - **[Required]** Gets the certificate_name of this CreateCertificateDetails. - A friendly name for the certificate bundle. It must be unique and it cannot be changed. - Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. - Certificate bundle names cannot contain spaces. Avoid entering confidential information. - - Example: `example_certificate_bundle` - - - :return: The certificate_name of this CreateCertificateDetails. - :rtype: str - """ - return self._certificate_name - - @certificate_name.setter - def certificate_name(self, certificate_name): - """ - Sets the certificate_name of this CreateCertificateDetails. - A friendly name for the certificate bundle. It must be unique and it cannot be changed. - Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. - Certificate bundle names cannot contain spaces. Avoid entering confidential information. - - Example: `example_certificate_bundle` - - - :param certificate_name: The certificate_name of this CreateCertificateDetails. - :type: str - """ - self._certificate_name = certificate_name + self._ca_certificate = None + self._certificate_name = None @property def passphrase(self): @@ -252,6 +178,82 @@ def public_certificate(self, public_certificate): """ self._public_certificate = public_certificate + @property + def ca_certificate(self): + """ + Gets the ca_certificate of this CreateCertificateDetails. + The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. + + Example: + + -----BEGIN CERTIFICATE----- + MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix + EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD + VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y + aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy + ... + -----END CERTIFICATE----- + + + :return: The ca_certificate of this CreateCertificateDetails. + :rtype: str + """ + return self._ca_certificate + + @ca_certificate.setter + def ca_certificate(self, ca_certificate): + """ + Sets the ca_certificate of this CreateCertificateDetails. + The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. + + Example: + + -----BEGIN CERTIFICATE----- + MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix + EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD + VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y + aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy + ... + -----END CERTIFICATE----- + + + :param ca_certificate: The ca_certificate of this CreateCertificateDetails. + :type: str + """ + self._ca_certificate = ca_certificate + + @property + def certificate_name(self): + """ + **[Required]** Gets the certificate_name of this CreateCertificateDetails. + A friendly name for the certificate bundle. It must be unique and it cannot be changed. + Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. + Certificate bundle names cannot contain spaces. Avoid entering confidential information. + + Example: `example_certificate_bundle` + + + :return: The certificate_name of this CreateCertificateDetails. + :rtype: str + """ + return self._certificate_name + + @certificate_name.setter + def certificate_name(self, certificate_name): + """ + Sets the certificate_name of this CreateCertificateDetails. + A friendly name for the certificate bundle. It must be unique and it cannot be changed. + Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. + Certificate bundle names cannot contain spaces. Avoid entering confidential information. + + Example: `example_certificate_bundle` + + + :param certificate_name: The certificate_name of this CreateCertificateDetails. + :type: str + """ + self._certificate_name = certificate_name + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/create_hostname_details.py b/src/oci/load_balancer/models/create_hostname_details.py index fb7217cdbb..2c060c11f2 100644 --- a/src/oci/load_balancer/models/create_hostname_details.py +++ b/src/oci/load_balancer/models/create_hostname_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -10,6 +10,8 @@ class CreateHostnameDetails(object): """ The details of the hostname resource to add to a load balancer. + + **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. """ def __init__(self, **kwargs): @@ -17,27 +19,57 @@ def __init__(self, **kwargs): Initializes a new CreateHostnameDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param hostname: - The value to assign to the hostname property of this CreateHostnameDetails. - :type hostname: str - :param name: The value to assign to the name property of this CreateHostnameDetails. :type name: str + :param hostname: + The value to assign to the hostname property of this CreateHostnameDetails. + :type hostname: str + """ self.swagger_types = { - 'hostname': 'str', - 'name': 'str' + 'name': 'str', + 'hostname': 'str' } self.attribute_map = { - 'hostname': 'hostname', - 'name': 'name' + 'name': 'name', + 'hostname': 'hostname' } - self._hostname = None self._name = None + self._hostname = None + + @property + def name(self): + """ + **[Required]** Gets the name of this CreateHostnameDetails. + A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential + information. + + Example: `example_hostname_001` + + + :return: The name of this CreateHostnameDetails. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this CreateHostnameDetails. + A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential + information. + + Example: `example_hostname_001` + + + :param name: The name of this CreateHostnameDetails. + :type: str + """ + self._name = name @property def hostname(self): @@ -73,36 +105,6 @@ def hostname(self, hostname): """ self._hostname = hostname - @property - def name(self): - """ - **[Required]** Gets the name of this CreateHostnameDetails. - A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential - information. - - Example: `example_hostname_001` - - - :return: The name of this CreateHostnameDetails. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """ - Sets the name of this CreateHostnameDetails. - A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential - information. - - Example: `example_hostname_001` - - - :param name: The name of this CreateHostnameDetails. - :type: str - """ - self._name = name - def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/create_listener_details.py b/src/oci/load_balancer/models/create_listener_details.py index c1b5fdbca7..e55c48a2c9 100644 --- a/src/oci/load_balancer/models/create_listener_details.py +++ b/src/oci/load_balancer/models/create_listener_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -13,6 +13,8 @@ class CreateListenerDetails(object): For more information on listener configuration, see `Managing Load Balancer Listeners`__. + **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managinglisteners.htm """ @@ -21,26 +23,10 @@ def __init__(self, **kwargs): Initializes a new CreateListenerDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param connection_configuration: - The value to assign to the connection_configuration property of this CreateListenerDetails. - :type connection_configuration: ConnectionConfiguration - :param default_backend_set_name: The value to assign to the default_backend_set_name property of this CreateListenerDetails. :type default_backend_set_name: str - :param hostname_names: - The value to assign to the hostname_names property of this CreateListenerDetails. - :type hostname_names: list[str] - - :param name: - The value to assign to the name property of this CreateListenerDetails. - :type name: str - - :param path_route_set_name: - The value to assign to the path_route_set_name property of this CreateListenerDetails. - :type path_route_set_name: str - :param port: The value to assign to the port property of this CreateListenerDetails. :type port: int @@ -49,61 +35,64 @@ def __init__(self, **kwargs): The value to assign to the protocol property of this CreateListenerDetails. :type protocol: str + :param hostname_names: + The value to assign to the hostname_names property of this CreateListenerDetails. + :type hostname_names: list[str] + + :param path_route_set_name: + The value to assign to the path_route_set_name property of this CreateListenerDetails. + :type path_route_set_name: str + :param ssl_configuration: The value to assign to the ssl_configuration property of this CreateListenerDetails. :type ssl_configuration: SSLConfigurationDetails + :param connection_configuration: + The value to assign to the connection_configuration property of this CreateListenerDetails. + :type connection_configuration: ConnectionConfiguration + + :param name: + The value to assign to the name property of this CreateListenerDetails. + :type name: str + + :param rule_set_names: + The value to assign to the rule_set_names property of this CreateListenerDetails. + :type rule_set_names: list[str] + """ self.swagger_types = { - 'connection_configuration': 'ConnectionConfiguration', 'default_backend_set_name': 'str', - 'hostname_names': 'list[str]', - 'name': 'str', - 'path_route_set_name': 'str', 'port': 'int', 'protocol': 'str', - 'ssl_configuration': 'SSLConfigurationDetails' + 'hostname_names': 'list[str]', + 'path_route_set_name': 'str', + 'ssl_configuration': 'SSLConfigurationDetails', + 'connection_configuration': 'ConnectionConfiguration', + 'name': 'str', + 'rule_set_names': 'list[str]' } self.attribute_map = { - 'connection_configuration': 'connectionConfiguration', 'default_backend_set_name': 'defaultBackendSetName', - 'hostname_names': 'hostnameNames', - 'name': 'name', - 'path_route_set_name': 'pathRouteSetName', 'port': 'port', 'protocol': 'protocol', - 'ssl_configuration': 'sslConfiguration' + 'hostname_names': 'hostnameNames', + 'path_route_set_name': 'pathRouteSetName', + 'ssl_configuration': 'sslConfiguration', + 'connection_configuration': 'connectionConfiguration', + 'name': 'name', + 'rule_set_names': 'ruleSetNames' } - self._connection_configuration = None self._default_backend_set_name = None - self._hostname_names = None - self._name = None - self._path_route_set_name = None self._port = None self._protocol = None + self._hostname_names = None + self._path_route_set_name = None self._ssl_configuration = None - - @property - def connection_configuration(self): - """ - Gets the connection_configuration of this CreateListenerDetails. - - :return: The connection_configuration of this CreateListenerDetails. - :rtype: ConnectionConfiguration - """ - return self._connection_configuration - - @connection_configuration.setter - def connection_configuration(self, connection_configuration): - """ - Sets the connection_configuration of this CreateListenerDetails. - - :param connection_configuration: The connection_configuration of this CreateListenerDetails. - :type: ConnectionConfiguration - """ - self._connection_configuration = connection_configuration + self._connection_configuration = None + self._name = None + self._rule_set_names = None @property def default_backend_set_name(self): @@ -134,58 +123,88 @@ def default_backend_set_name(self, default_backend_set_name): self._default_backend_set_name = default_backend_set_name @property - def hostname_names(self): + def port(self): """ - Gets the hostname_names of this CreateListenerDetails. - An array of hostname resource names. + **[Required]** Gets the port of this CreateListenerDetails. + The communication port for the listener. + Example: `80` - :return: The hostname_names of this CreateListenerDetails. - :rtype: list[str] + + :return: The port of this CreateListenerDetails. + :rtype: int """ - return self._hostname_names + return self._port - @hostname_names.setter - def hostname_names(self, hostname_names): + @port.setter + def port(self, port): """ - Sets the hostname_names of this CreateListenerDetails. - An array of hostname resource names. + Sets the port of this CreateListenerDetails. + The communication port for the listener. + Example: `80` - :param hostname_names: The hostname_names of this CreateListenerDetails. - :type: list[str] + + :param port: The port of this CreateListenerDetails. + :type: int """ - self._hostname_names = hostname_names + self._port = port @property - def name(self): + def protocol(self): """ - **[Required]** Gets the name of this CreateListenerDetails. - A friendly name for the listener. It must be unique and it cannot be changed. - Avoid entering confidential information. + **[Required]** Gets the protocol of this CreateListenerDetails. + The protocol on which the listener accepts connection requests. + To get a list of valid protocols, use the :func:`list_protocols` + operation. - Example: `example_listener` + Example: `HTTP` - :return: The name of this CreateListenerDetails. + :return: The protocol of this CreateListenerDetails. :rtype: str """ - return self._name + return self._protocol - @name.setter - def name(self, name): + @protocol.setter + def protocol(self, protocol): """ - Sets the name of this CreateListenerDetails. - A friendly name for the listener. It must be unique and it cannot be changed. - Avoid entering confidential information. + Sets the protocol of this CreateListenerDetails. + The protocol on which the listener accepts connection requests. + To get a list of valid protocols, use the :func:`list_protocols` + operation. - Example: `example_listener` + Example: `HTTP` - :param name: The name of this CreateListenerDetails. + :param protocol: The protocol of this CreateListenerDetails. :type: str """ - self._name = name + self._protocol = protocol + + @property + def hostname_names(self): + """ + Gets the hostname_names of this CreateListenerDetails. + An array of hostname resource names. + + + :return: The hostname_names of this CreateListenerDetails. + :rtype: list[str] + """ + return self._hostname_names + + @hostname_names.setter + def hostname_names(self, hostname_names): + """ + Sets the hostname_names of this CreateListenerDetails. + An array of hostname resource names. + + + :param hostname_names: The hostname_names of this CreateListenerDetails. + :type: list[str] + """ + self._hostname_names = hostname_names @property def path_route_set_name(self): @@ -218,84 +237,102 @@ def path_route_set_name(self, path_route_set_name): self._path_route_set_name = path_route_set_name @property - def port(self): + def ssl_configuration(self): """ - **[Required]** Gets the port of this CreateListenerDetails. - The communication port for the listener. + Gets the ssl_configuration of this CreateListenerDetails. - Example: `80` + :return: The ssl_configuration of this CreateListenerDetails. + :rtype: SSLConfigurationDetails + """ + return self._ssl_configuration + @ssl_configuration.setter + def ssl_configuration(self, ssl_configuration): + """ + Sets the ssl_configuration of this CreateListenerDetails. - :return: The port of this CreateListenerDetails. - :rtype: int + :param ssl_configuration: The ssl_configuration of this CreateListenerDetails. + :type: SSLConfigurationDetails """ - return self._port + self._ssl_configuration = ssl_configuration - @port.setter - def port(self, port): + @property + def connection_configuration(self): """ - Sets the port of this CreateListenerDetails. - The communication port for the listener. + Gets the connection_configuration of this CreateListenerDetails. - Example: `80` + :return: The connection_configuration of this CreateListenerDetails. + :rtype: ConnectionConfiguration + """ + return self._connection_configuration + @connection_configuration.setter + def connection_configuration(self, connection_configuration): + """ + Sets the connection_configuration of this CreateListenerDetails. - :param port: The port of this CreateListenerDetails. - :type: int + :param connection_configuration: The connection_configuration of this CreateListenerDetails. + :type: ConnectionConfiguration """ - self._port = port + self._connection_configuration = connection_configuration @property - def protocol(self): + def name(self): """ - **[Required]** Gets the protocol of this CreateListenerDetails. - The protocol on which the listener accepts connection requests. - To get a list of valid protocols, use the :func:`list_protocols` - operation. + **[Required]** Gets the name of this CreateListenerDetails. + A friendly name for the listener. It must be unique and it cannot be changed. + Avoid entering confidential information. - Example: `HTTP` + Example: `example_listener` - :return: The protocol of this CreateListenerDetails. + :return: The name of this CreateListenerDetails. :rtype: str """ - return self._protocol + return self._name - @protocol.setter - def protocol(self, protocol): + @name.setter + def name(self, name): """ - Sets the protocol of this CreateListenerDetails. - The protocol on which the listener accepts connection requests. - To get a list of valid protocols, use the :func:`list_protocols` - operation. + Sets the name of this CreateListenerDetails. + A friendly name for the listener. It must be unique and it cannot be changed. + Avoid entering confidential information. - Example: `HTTP` + Example: `example_listener` - :param protocol: The protocol of this CreateListenerDetails. + :param name: The name of this CreateListenerDetails. :type: str """ - self._protocol = protocol + self._name = name @property - def ssl_configuration(self): + def rule_set_names(self): """ - Gets the ssl_configuration of this CreateListenerDetails. + Gets the rule_set_names of this CreateListenerDetails. + The names of the :class:`RuleSet` to apply to the listener. - :return: The ssl_configuration of this CreateListenerDetails. - :rtype: SSLConfigurationDetails + Example: [\"example_rule_set\"] + + + :return: The rule_set_names of this CreateListenerDetails. + :rtype: list[str] """ - return self._ssl_configuration + return self._rule_set_names - @ssl_configuration.setter - def ssl_configuration(self, ssl_configuration): + @rule_set_names.setter + def rule_set_names(self, rule_set_names): """ - Sets the ssl_configuration of this CreateListenerDetails. + Sets the rule_set_names of this CreateListenerDetails. + The names of the :class:`RuleSet` to apply to the listener. - :param ssl_configuration: The ssl_configuration of this CreateListenerDetails. - :type: SSLConfigurationDetails + Example: [\"example_rule_set\"] + + + :param rule_set_names: The rule_set_names of this CreateListenerDetails. + :type: list[str] """ - self._ssl_configuration = ssl_configuration + self._rule_set_names = rule_set_names def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/create_load_balancer_details.py b/src/oci/load_balancer/models/create_load_balancer_details.py index a5382f5c29..2b70b7a3ca 100644 --- a/src/oci/load_balancer/models/create_load_balancer_details.py +++ b/src/oci/load_balancer/models/create_load_balancer_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -10,6 +10,8 @@ class CreateLoadBalancerDetails(object): """ The configuration details for creating a load balancer. + + **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. """ def __init__(self, **kwargs): @@ -17,33 +19,17 @@ def __init__(self, **kwargs): Initializes a new CreateLoadBalancerDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param backend_sets: - The value to assign to the backend_sets property of this CreateLoadBalancerDetails. - :type backend_sets: dict(str, BackendSetDetails) - - :param certificates: - The value to assign to the certificates property of this CreateLoadBalancerDetails. - :type certificates: dict(str, CertificateDetails) - :param compartment_id: The value to assign to the compartment_id property of this CreateLoadBalancerDetails. :type compartment_id: str - :param defined_tags: - The value to assign to the defined_tags property of this CreateLoadBalancerDetails. - :type defined_tags: dict(str, dict(str, object)) - :param display_name: The value to assign to the display_name property of this CreateLoadBalancerDetails. :type display_name: str - :param freeform_tags: - The value to assign to the freeform_tags property of this CreateLoadBalancerDetails. - :type freeform_tags: dict(str, str) - - :param hostnames: - The value to assign to the hostnames property of this CreateLoadBalancerDetails. - :type hostnames: dict(str, HostnameDetails) + :param shape_name: + The value to assign to the shape_name property of this CreateLoadBalancerDetails. + :type shape_name: str :param is_private: The value to assign to the is_private property of this CreateLoadBalancerDetails. @@ -53,101 +39,84 @@ def __init__(self, **kwargs): The value to assign to the listeners property of this CreateLoadBalancerDetails. :type listeners: dict(str, ListenerDetails) - :param path_route_sets: - The value to assign to the path_route_sets property of this CreateLoadBalancerDetails. - :type path_route_sets: dict(str, PathRouteSetDetails) + :param hostnames: + The value to assign to the hostnames property of this CreateLoadBalancerDetails. + :type hostnames: dict(str, HostnameDetails) - :param shape_name: - The value to assign to the shape_name property of this CreateLoadBalancerDetails. - :type shape_name: str + :param backend_sets: + The value to assign to the backend_sets property of this CreateLoadBalancerDetails. + :type backend_sets: dict(str, BackendSetDetails) :param subnet_ids: The value to assign to the subnet_ids property of this CreateLoadBalancerDetails. :type subnet_ids: list[str] + :param certificates: + The value to assign to the certificates property of this CreateLoadBalancerDetails. + :type certificates: dict(str, CertificateDetails) + + :param path_route_sets: + The value to assign to the path_route_sets property of this CreateLoadBalancerDetails. + :type path_route_sets: dict(str, PathRouteSetDetails) + + :param freeform_tags: + The value to assign to the freeform_tags property of this CreateLoadBalancerDetails. + :type freeform_tags: dict(str, str) + + :param defined_tags: + The value to assign to the defined_tags property of this CreateLoadBalancerDetails. + :type defined_tags: dict(str, dict(str, object)) + + :param rule_sets: + The value to assign to the rule_sets property of this CreateLoadBalancerDetails. + :type rule_sets: dict(str, RuleSetDetails) + """ self.swagger_types = { - 'backend_sets': 'dict(str, BackendSetDetails)', - 'certificates': 'dict(str, CertificateDetails)', 'compartment_id': 'str', - 'defined_tags': 'dict(str, dict(str, object))', 'display_name': 'str', - 'freeform_tags': 'dict(str, str)', - 'hostnames': 'dict(str, HostnameDetails)', + 'shape_name': 'str', 'is_private': 'bool', 'listeners': 'dict(str, ListenerDetails)', + 'hostnames': 'dict(str, HostnameDetails)', + 'backend_sets': 'dict(str, BackendSetDetails)', + 'subnet_ids': 'list[str]', + 'certificates': 'dict(str, CertificateDetails)', 'path_route_sets': 'dict(str, PathRouteSetDetails)', - 'shape_name': 'str', - 'subnet_ids': 'list[str]' + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))', + 'rule_sets': 'dict(str, RuleSetDetails)' } self.attribute_map = { - 'backend_sets': 'backendSets', - 'certificates': 'certificates', 'compartment_id': 'compartmentId', - 'defined_tags': 'definedTags', 'display_name': 'displayName', - 'freeform_tags': 'freeformTags', - 'hostnames': 'hostnames', + 'shape_name': 'shapeName', 'is_private': 'isPrivate', 'listeners': 'listeners', + 'hostnames': 'hostnames', + 'backend_sets': 'backendSets', + 'subnet_ids': 'subnetIds', + 'certificates': 'certificates', 'path_route_sets': 'pathRouteSets', - 'shape_name': 'shapeName', - 'subnet_ids': 'subnetIds' + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags', + 'rule_sets': 'ruleSets' } - self._backend_sets = None - self._certificates = None self._compartment_id = None - self._defined_tags = None self._display_name = None - self._freeform_tags = None - self._hostnames = None + self._shape_name = None self._is_private = None self._listeners = None - self._path_route_sets = None - self._shape_name = None + self._hostnames = None + self._backend_sets = None self._subnet_ids = None - - @property - def backend_sets(self): - """ - Gets the backend_sets of this CreateLoadBalancerDetails. - - :return: The backend_sets of this CreateLoadBalancerDetails. - :rtype: dict(str, BackendSetDetails) - """ - return self._backend_sets - - @backend_sets.setter - def backend_sets(self, backend_sets): - """ - Sets the backend_sets of this CreateLoadBalancerDetails. - - :param backend_sets: The backend_sets of this CreateLoadBalancerDetails. - :type: dict(str, BackendSetDetails) - """ - self._backend_sets = backend_sets - - @property - def certificates(self): - """ - Gets the certificates of this CreateLoadBalancerDetails. - - :return: The certificates of this CreateLoadBalancerDetails. - :rtype: dict(str, CertificateDetails) - """ - return self._certificates - - @certificates.setter - def certificates(self, certificates): - """ - Sets the certificates of this CreateLoadBalancerDetails. - - :param certificates: The certificates of this CreateLoadBalancerDetails. - :type: dict(str, CertificateDetails) - """ - self._certificates = certificates + self._certificates = None + self._path_route_sets = None + self._freeform_tags = None + self._defined_tags = None + self._rule_sets = None @property def compartment_id(self): @@ -177,40 +146,6 @@ def compartment_id(self, compartment_id): """ self._compartment_id = compartment_id - @property - def defined_tags(self): - """ - Gets the defined_tags of this CreateLoadBalancerDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. - - Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` - - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm - - - :return: The defined_tags of this CreateLoadBalancerDetails. - :rtype: dict(str, dict(str, object)) - """ - return self._defined_tags - - @defined_tags.setter - def defined_tags(self, defined_tags): - """ - Sets the defined_tags of this CreateLoadBalancerDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. - - Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` - - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm - - - :param defined_tags: The defined_tags of this CreateLoadBalancerDetails. - :type: dict(str, dict(str, object)) - """ - self._defined_tags = defined_tags - @property def display_name(self): """ @@ -242,58 +177,36 @@ def display_name(self, display_name): self._display_name = display_name @property - def freeform_tags(self): - """ - Gets the freeform_tags of this CreateLoadBalancerDetails. - 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`__. - - Example: `{\"Department\": \"Finance\"}` - - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm - - - :return: The freeform_tags of this CreateLoadBalancerDetails. - :rtype: dict(str, str) - """ - return self._freeform_tags - - @freeform_tags.setter - def freeform_tags(self, freeform_tags): + def shape_name(self): """ - Sets the freeform_tags of this CreateLoadBalancerDetails. - 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`__. - - Example: `{\"Department\": \"Finance\"}` + **[Required]** Gets the shape_name of this CreateLoadBalancerDetails. + A template that determines the total pre-provisioned bandwidth (ingress plus egress). + To get a list of available shapes, use the :func:`list_shapes` + operation. - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm + Example: `100Mbps` - :param freeform_tags: The freeform_tags of this CreateLoadBalancerDetails. - :type: dict(str, str) + :return: The shape_name of this CreateLoadBalancerDetails. + :rtype: str """ - self._freeform_tags = freeform_tags + return self._shape_name - @property - def hostnames(self): + @shape_name.setter + def shape_name(self, shape_name): """ - Gets the hostnames of this CreateLoadBalancerDetails. + Sets the shape_name of this CreateLoadBalancerDetails. + A template that determines the total pre-provisioned bandwidth (ingress plus egress). + To get a list of available shapes, use the :func:`list_shapes` + operation. - :return: The hostnames of this CreateLoadBalancerDetails. - :rtype: dict(str, HostnameDetails) - """ - return self._hostnames + Example: `100Mbps` - @hostnames.setter - def hostnames(self, hostnames): - """ - Sets the hostnames of this CreateLoadBalancerDetails. - :param hostnames: The hostnames of this CreateLoadBalancerDetails. - :type: dict(str, HostnameDetails) + :param shape_name: The shape_name of this CreateLoadBalancerDetails. + :type: str """ - self._hostnames = hostnames + self._shape_name = shape_name @property def is_private(self): @@ -301,21 +214,18 @@ def is_private(self): Gets the is_private of this CreateLoadBalancerDetails. Whether the load balancer has a VCN-local (private) IP address. - If \"true\", the service assigns a private IP address to the load balancer. The load balancer requires only one subnet - to host both the primary and secondary load balancers. The private IP address is local to the subnet. The load balancer - is accessible only from within the VCN that contains the associated subnet, or as further restricted by your security - list rules. The load balancer can route traffic to any backend server that is reachable from the VCN. + If \"true\", the service assigns a private IP address to the load balancer. - For a private load balancer, both the primary and secondary load balancer hosts are within the same Availability Domain. + If \"false\", the service assigns a public IP address to the load balancer. - If \"false\", the service assigns a public IP address to the load balancer. A load balancer with a public IP address - requires two subnets, each in a different Availability Domain. One subnet hosts the primary load balancer and the other - hosts the secondary (standby) load balancer. A public load balancer is accessible from the internet, depending on your - VCN's `security list rules`__. + A public load balancer is accessible from the internet, depending on your VCN's + `security list rules`__. For more information about public and + private load balancers, see `How Load Balancing Works`__. Example: `true` __ https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/securitylists.htm + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works :return: The is_private of this CreateLoadBalancerDetails. @@ -329,21 +239,18 @@ def is_private(self, is_private): Sets the is_private of this CreateLoadBalancerDetails. Whether the load balancer has a VCN-local (private) IP address. - If \"true\", the service assigns a private IP address to the load balancer. The load balancer requires only one subnet - to host both the primary and secondary load balancers. The private IP address is local to the subnet. The load balancer - is accessible only from within the VCN that contains the associated subnet, or as further restricted by your security - list rules. The load balancer can route traffic to any backend server that is reachable from the VCN. + If \"true\", the service assigns a private IP address to the load balancer. - For a private load balancer, both the primary and secondary load balancer hosts are within the same Availability Domain. + If \"false\", the service assigns a public IP address to the load balancer. - If \"false\", the service assigns a public IP address to the load balancer. A load balancer with a public IP address - requires two subnets, each in a different Availability Domain. One subnet hosts the primary load balancer and the other - hosts the secondary (standby) load balancer. A public load balancer is accessible from the internet, depending on your - VCN's `security list rules`__. + A public load balancer is accessible from the internet, depending on your VCN's + `security list rules`__. For more information about public and + private load balancers, see `How Load Balancing Works`__. Example: `true` __ https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/securitylists.htm + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works :param is_private: The is_private of this CreateLoadBalancerDetails. @@ -372,56 +279,44 @@ def listeners(self, listeners): self._listeners = listeners @property - def path_route_sets(self): + def hostnames(self): """ - Gets the path_route_sets of this CreateLoadBalancerDetails. + Gets the hostnames of this CreateLoadBalancerDetails. - :return: The path_route_sets of this CreateLoadBalancerDetails. - :rtype: dict(str, PathRouteSetDetails) + :return: The hostnames of this CreateLoadBalancerDetails. + :rtype: dict(str, HostnameDetails) """ - return self._path_route_sets + return self._hostnames - @path_route_sets.setter - def path_route_sets(self, path_route_sets): + @hostnames.setter + def hostnames(self, hostnames): """ - Sets the path_route_sets of this CreateLoadBalancerDetails. + Sets the hostnames of this CreateLoadBalancerDetails. - :param path_route_sets: The path_route_sets of this CreateLoadBalancerDetails. - :type: dict(str, PathRouteSetDetails) + :param hostnames: The hostnames of this CreateLoadBalancerDetails. + :type: dict(str, HostnameDetails) """ - self._path_route_sets = path_route_sets + self._hostnames = hostnames @property - def shape_name(self): + def backend_sets(self): """ - **[Required]** Gets the shape_name of this CreateLoadBalancerDetails. - A template that determines the total pre-provisioned bandwidth (ingress plus egress). - To get a list of available shapes, use the :func:`list_shapes` - operation. - - Example: `100Mbps` - + Gets the backend_sets of this CreateLoadBalancerDetails. - :return: The shape_name of this CreateLoadBalancerDetails. - :rtype: str + :return: The backend_sets of this CreateLoadBalancerDetails. + :rtype: dict(str, BackendSetDetails) """ - return self._shape_name + return self._backend_sets - @shape_name.setter - def shape_name(self, shape_name): + @backend_sets.setter + def backend_sets(self, backend_sets): """ - Sets the shape_name of this CreateLoadBalancerDetails. - A template that determines the total pre-provisioned bandwidth (ingress plus egress). - To get a list of available shapes, use the :func:`list_shapes` - operation. - - Example: `100Mbps` - + Sets the backend_sets of this CreateLoadBalancerDetails. - :param shape_name: The shape_name of this CreateLoadBalancerDetails. - :type: str + :param backend_sets: The backend_sets of this CreateLoadBalancerDetails. + :type: dict(str, BackendSetDetails) """ - self._shape_name = shape_name + self._backend_sets = backend_sets @property def subnet_ids(self): @@ -451,6 +346,134 @@ def subnet_ids(self, subnet_ids): """ self._subnet_ids = subnet_ids + @property + def certificates(self): + """ + Gets the certificates of this CreateLoadBalancerDetails. + + :return: The certificates of this CreateLoadBalancerDetails. + :rtype: dict(str, CertificateDetails) + """ + return self._certificates + + @certificates.setter + def certificates(self, certificates): + """ + Sets the certificates of this CreateLoadBalancerDetails. + + :param certificates: The certificates of this CreateLoadBalancerDetails. + :type: dict(str, CertificateDetails) + """ + self._certificates = certificates + + @property + def path_route_sets(self): + """ + Gets the path_route_sets of this CreateLoadBalancerDetails. + + :return: The path_route_sets of this CreateLoadBalancerDetails. + :rtype: dict(str, PathRouteSetDetails) + """ + return self._path_route_sets + + @path_route_sets.setter + def path_route_sets(self, path_route_sets): + """ + Sets the path_route_sets of this CreateLoadBalancerDetails. + + :param path_route_sets: The path_route_sets of this CreateLoadBalancerDetails. + :type: dict(str, PathRouteSetDetails) + """ + self._path_route_sets = path_route_sets + + @property + def freeform_tags(self): + """ + Gets the freeform_tags of this CreateLoadBalancerDetails. + 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`__. + + Example: `{\"Department\": \"Finance\"}` + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm + + + :return: The freeform_tags of this CreateLoadBalancerDetails. + :rtype: dict(str, str) + """ + return self._freeform_tags + + @freeform_tags.setter + def freeform_tags(self, freeform_tags): + """ + Sets the freeform_tags of this CreateLoadBalancerDetails. + 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`__. + + Example: `{\"Department\": \"Finance\"}` + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm + + + :param freeform_tags: The freeform_tags of this CreateLoadBalancerDetails. + :type: dict(str, str) + """ + self._freeform_tags = freeform_tags + + @property + def defined_tags(self): + """ + Gets the defined_tags of this CreateLoadBalancerDetails. + Defined tags for this resource. Each key is predefined and scoped to a namespace. + For more information, see `Resource Tags`__. + + Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm + + + :return: The defined_tags of this CreateLoadBalancerDetails. + :rtype: dict(str, dict(str, object)) + """ + return self._defined_tags + + @defined_tags.setter + def defined_tags(self, defined_tags): + """ + Sets the defined_tags of this CreateLoadBalancerDetails. + Defined tags for this resource. Each key is predefined and scoped to a namespace. + For more information, see `Resource Tags`__. + + Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm + + + :param defined_tags: The defined_tags of this CreateLoadBalancerDetails. + :type: dict(str, dict(str, object)) + """ + self._defined_tags = defined_tags + + @property + def rule_sets(self): + """ + Gets the rule_sets of this CreateLoadBalancerDetails. + + :return: The rule_sets of this CreateLoadBalancerDetails. + :rtype: dict(str, RuleSetDetails) + """ + return self._rule_sets + + @rule_sets.setter + def rule_sets(self, rule_sets): + """ + Sets the rule_sets of this CreateLoadBalancerDetails. + + :param rule_sets: The rule_sets of this CreateLoadBalancerDetails. + :type: dict(str, RuleSetDetails) + """ + self._rule_sets = rule_sets + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/create_path_route_set_details.py b/src/oci/load_balancer/models/create_path_route_set_details.py index 52c2fe5b77..1f115d28d5 100644 --- a/src/oci/load_balancer/models/create_path_route_set_details.py +++ b/src/oci/load_balancer/models/create_path_route_set_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -10,6 +10,8 @@ class CreatePathRouteSetDetails(object): """ A named set of path route rules to add to the load balancer. + + **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. """ def __init__(self, **kwargs): diff --git a/src/oci/load_balancer/models/create_rule_set_details.py b/src/oci/load_balancer/models/create_rule_set_details.py new file mode 100644 index 0000000000..38406cf59c --- /dev/null +++ b/src/oci/load_balancer/models/create_rule_set_details.py @@ -0,0 +1,106 @@ +# coding: utf-8 +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. + + +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class CreateRuleSetDetails(object): + """ + A named set of rules to add to the load balancer. + """ + + def __init__(self, **kwargs): + """ + Initializes a new CreateRuleSetDetails object with values from keyword arguments. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param name: + The value to assign to the name property of this CreateRuleSetDetails. + :type name: str + + :param items: + The value to assign to the items property of this CreateRuleSetDetails. + :type items: list[Rule] + + """ + self.swagger_types = { + 'name': 'str', + 'items': 'list[Rule]' + } + + self.attribute_map = { + 'name': 'name', + 'items': 'items' + } + + self._name = None + self._items = None + + @property + def name(self): + """ + **[Required]** Gets the name of this CreateRuleSetDetails. + The name for this set of rules. It must be unique and it cannot be changed. Avoid entering + confidential information. + + Example: `example_rule_set` + + + :return: The name of this CreateRuleSetDetails. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this CreateRuleSetDetails. + The name for this set of rules. It must be unique and it cannot be changed. Avoid entering + confidential information. + + Example: `example_rule_set` + + + :param name: The name of this CreateRuleSetDetails. + :type: str + """ + self._name = name + + @property + def items(self): + """ + **[Required]** Gets the items of this CreateRuleSetDetails. + An array of rules that compose the rule set. + + + :return: The items of this CreateRuleSetDetails. + :rtype: list[Rule] + """ + return self._items + + @items.setter + def items(self, items): + """ + Sets the items of this CreateRuleSetDetails. + An array of rules that compose the rule set. + + + :param items: The items of this CreateRuleSetDetails. + :type: list[Rule] + """ + self._items = items + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/load_balancer/models/extend_http_request_header_value_rule.py b/src/oci/load_balancer/models/extend_http_request_header_value_rule.py new file mode 100644 index 0000000000..7bd3ecaa92 --- /dev/null +++ b/src/oci/load_balancer/models/extend_http_request_header_value_rule.py @@ -0,0 +1,166 @@ +# coding: utf-8 +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. + +from .rule import Rule +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class ExtendHttpRequestHeaderValueRule(Rule): + """ + An object that represents the action of modifying a request header value. This rule applies only to HTTP or HTTP2 listeners. + + This rule adds a prefix, a suffix, or both to the header value. + + **NOTES:** + + * This rule requires a value for a prefix, suffix, or both. + + * The system does not support this rule for headers with multiple values. + + * The system does not distinquish between underscore and dash characters in headers. That is, it treats + `example_header_name` and `example-header-name` as identical. If two such headers appear in a request, the system + applies the action to the first header it finds. The affected header cannot be determined in advance. Oracle + recommends that you do not rely on underscore or dash characters to uniquely distinguish header names. + """ + + def __init__(self, **kwargs): + """ + Initializes a new ExtendHttpRequestHeaderValueRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.ExtendHttpRequestHeaderValueRule.action` attribute + of this class is ``EXTEND_HTTP_REQUEST_HEADER_VALUE`` and it should not be changed. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param action: + The value to assign to the action property of this ExtendHttpRequestHeaderValueRule. + Allowed values for this property are: "ADD_HTTP_REQUEST_HEADER", "EXTEND_HTTP_REQUEST_HEADER_VALUE", "REMOVE_HTTP_REQUEST_HEADER", "ADD_HTTP_RESPONSE_HEADER", "EXTEND_HTTP_RESPONSE_HEADER_VALUE", "REMOVE_HTTP_RESPONSE_HEADER" + :type action: str + + :param header: + The value to assign to the header property of this ExtendHttpRequestHeaderValueRule. + :type header: str + + :param prefix: + The value to assign to the prefix property of this ExtendHttpRequestHeaderValueRule. + :type prefix: str + + :param suffix: + The value to assign to the suffix property of this ExtendHttpRequestHeaderValueRule. + :type suffix: str + + """ + self.swagger_types = { + 'action': 'str', + 'header': 'str', + 'prefix': 'str', + 'suffix': 'str' + } + + self.attribute_map = { + 'action': 'action', + 'header': 'header', + 'prefix': 'prefix', + 'suffix': 'suffix' + } + + self._action = None + self._header = None + self._prefix = None + self._suffix = None + self._action = 'EXTEND_HTTP_REQUEST_HEADER_VALUE' + + @property + def header(self): + """ + **[Required]** Gets the header of this ExtendHttpRequestHeaderValueRule. + A header name that conforms to RFC 7230. + + Example: `example_header_name` + + + :return: The header of this ExtendHttpRequestHeaderValueRule. + :rtype: str + """ + return self._header + + @header.setter + def header(self, header): + """ + Sets the header of this ExtendHttpRequestHeaderValueRule. + A header name that conforms to RFC 7230. + + Example: `example_header_name` + + + :param header: The header of this ExtendHttpRequestHeaderValueRule. + :type: str + """ + self._header = header + + @property + def prefix(self): + """ + Gets the prefix of this ExtendHttpRequestHeaderValueRule. + A string to prepend to the header value. The resulting header value must conform to RFC 7230. + + Example: `example_prefix_value` + + + :return: The prefix of this ExtendHttpRequestHeaderValueRule. + :rtype: str + """ + return self._prefix + + @prefix.setter + def prefix(self, prefix): + """ + Sets the prefix of this ExtendHttpRequestHeaderValueRule. + A string to prepend to the header value. The resulting header value must conform to RFC 7230. + + Example: `example_prefix_value` + + + :param prefix: The prefix of this ExtendHttpRequestHeaderValueRule. + :type: str + """ + self._prefix = prefix + + @property + def suffix(self): + """ + Gets the suffix of this ExtendHttpRequestHeaderValueRule. + A string to append to the header value. The resulting header value must conform to RFC 7230. + + Example: `example_suffix_value` + + + :return: The suffix of this ExtendHttpRequestHeaderValueRule. + :rtype: str + """ + return self._suffix + + @suffix.setter + def suffix(self, suffix): + """ + Sets the suffix of this ExtendHttpRequestHeaderValueRule. + A string to append to the header value. The resulting header value must conform to RFC 7230. + + Example: `example_suffix_value` + + + :param suffix: The suffix of this ExtendHttpRequestHeaderValueRule. + :type: str + """ + self._suffix = suffix + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/load_balancer/models/extend_http_response_header_value_rule.py b/src/oci/load_balancer/models/extend_http_response_header_value_rule.py new file mode 100644 index 0000000000..f3622aa33d --- /dev/null +++ b/src/oci/load_balancer/models/extend_http_response_header_value_rule.py @@ -0,0 +1,166 @@ +# coding: utf-8 +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. + +from .rule import Rule +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class ExtendHttpResponseHeaderValueRule(Rule): + """ + An object that represents the action of modifying a response header value. This rule applies only to HTTP or HTTP2 listeners. + + This rule adds a prefix, a suffix, or both to the header value. + + **NOTES:** + + * This rule requires a value for a prefix, suffix, or both. + + * The system does not support this rule for headers with multiple values. + + * The system does not distinquish between underscore and dash characters in headers. That is, it treats + `example_header_name` and `example-header-name` as identical. If two such headers appear in a request, the system + applies the action to the first header it finds. The affected header cannot be determined in advance. Oracle + recommends that you do not rely on underscore or dash characters to uniquely distinguish header names. + """ + + def __init__(self, **kwargs): + """ + Initializes a new ExtendHttpResponseHeaderValueRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.ExtendHttpResponseHeaderValueRule.action` attribute + of this class is ``EXTEND_HTTP_RESPONSE_HEADER_VALUE`` and it should not be changed. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param action: + The value to assign to the action property of this ExtendHttpResponseHeaderValueRule. + Allowed values for this property are: "ADD_HTTP_REQUEST_HEADER", "EXTEND_HTTP_REQUEST_HEADER_VALUE", "REMOVE_HTTP_REQUEST_HEADER", "ADD_HTTP_RESPONSE_HEADER", "EXTEND_HTTP_RESPONSE_HEADER_VALUE", "REMOVE_HTTP_RESPONSE_HEADER" + :type action: str + + :param header: + The value to assign to the header property of this ExtendHttpResponseHeaderValueRule. + :type header: str + + :param prefix: + The value to assign to the prefix property of this ExtendHttpResponseHeaderValueRule. + :type prefix: str + + :param suffix: + The value to assign to the suffix property of this ExtendHttpResponseHeaderValueRule. + :type suffix: str + + """ + self.swagger_types = { + 'action': 'str', + 'header': 'str', + 'prefix': 'str', + 'suffix': 'str' + } + + self.attribute_map = { + 'action': 'action', + 'header': 'header', + 'prefix': 'prefix', + 'suffix': 'suffix' + } + + self._action = None + self._header = None + self._prefix = None + self._suffix = None + self._action = 'EXTEND_HTTP_RESPONSE_HEADER_VALUE' + + @property + def header(self): + """ + **[Required]** Gets the header of this ExtendHttpResponseHeaderValueRule. + A header name that conforms to RFC 7230. + + Example: `example_header_name` + + + :return: The header of this ExtendHttpResponseHeaderValueRule. + :rtype: str + """ + return self._header + + @header.setter + def header(self, header): + """ + Sets the header of this ExtendHttpResponseHeaderValueRule. + A header name that conforms to RFC 7230. + + Example: `example_header_name` + + + :param header: The header of this ExtendHttpResponseHeaderValueRule. + :type: str + """ + self._header = header + + @property + def prefix(self): + """ + Gets the prefix of this ExtendHttpResponseHeaderValueRule. + A string to prepend to the header value. The resulting header value must still conform to RFC 7230. + + Example: `example_prefix_value` + + + :return: The prefix of this ExtendHttpResponseHeaderValueRule. + :rtype: str + """ + return self._prefix + + @prefix.setter + def prefix(self, prefix): + """ + Sets the prefix of this ExtendHttpResponseHeaderValueRule. + A string to prepend to the header value. The resulting header value must still conform to RFC 7230. + + Example: `example_prefix_value` + + + :param prefix: The prefix of this ExtendHttpResponseHeaderValueRule. + :type: str + """ + self._prefix = prefix + + @property + def suffix(self): + """ + Gets the suffix of this ExtendHttpResponseHeaderValueRule. + A string to append to the header value. The resulting header value must still conform to RFC 7230. + + Example: `example_suffix_value` + + + :return: The suffix of this ExtendHttpResponseHeaderValueRule. + :rtype: str + """ + return self._suffix + + @suffix.setter + def suffix(self, suffix): + """ + Sets the suffix of this ExtendHttpResponseHeaderValueRule. + A string to append to the header value. The resulting header value must still conform to RFC 7230. + + Example: `example_suffix_value` + + + :param suffix: The suffix of this ExtendHttpResponseHeaderValueRule. + :type: str + """ + self._suffix = suffix + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/load_balancer/models/health_check_result.py b/src/oci/load_balancer/models/health_check_result.py index a0275890c9..4e38084def 100644 --- a/src/oci/load_balancer/models/health_check_result.py +++ b/src/oci/load_balancer/models/health_check_result.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -49,73 +49,71 @@ def __init__(self, **kwargs): Initializes a new HealthCheckResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param health_check_status: - The value to assign to the health_check_status property of this HealthCheckResult. - Allowed values for this property are: "OK", "INVALID_STATUS_CODE", "TIMED_OUT", "REGEX_MISMATCH", "CONNECT_FAILED", "IO_ERROR", "OFFLINE", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'. - Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. - :type health_check_status: str + :param subnet_id: + The value to assign to the subnet_id property of this HealthCheckResult. + :type subnet_id: str :param source_ip_address: The value to assign to the source_ip_address property of this HealthCheckResult. :type source_ip_address: str - :param subnet_id: - The value to assign to the subnet_id property of this HealthCheckResult. - :type subnet_id: str - :param timestamp: The value to assign to the timestamp property of this HealthCheckResult. :type timestamp: datetime + :param health_check_status: + The value to assign to the health_check_status property of this HealthCheckResult. + Allowed values for this property are: "OK", "INVALID_STATUS_CODE", "TIMED_OUT", "REGEX_MISMATCH", "CONNECT_FAILED", "IO_ERROR", "OFFLINE", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type health_check_status: str + """ self.swagger_types = { - 'health_check_status': 'str', - 'source_ip_address': 'str', 'subnet_id': 'str', - 'timestamp': 'datetime' + 'source_ip_address': 'str', + 'timestamp': 'datetime', + 'health_check_status': 'str' } self.attribute_map = { - 'health_check_status': 'healthCheckStatus', - 'source_ip_address': 'sourceIpAddress', 'subnet_id': 'subnetId', - 'timestamp': 'timestamp' + 'source_ip_address': 'sourceIpAddress', + 'timestamp': 'timestamp', + 'health_check_status': 'healthCheckStatus' } - self._health_check_status = None - self._source_ip_address = None self._subnet_id = None + self._source_ip_address = None self._timestamp = None + self._health_check_status = None @property - def health_check_status(self): + def subnet_id(self): """ - **[Required]** Gets the health_check_status of this HealthCheckResult. - The result of the most recent health check. + **[Required]** Gets the subnet_id of this HealthCheckResult. + The `OCID`__ of the subnet hosting the load balancer that reported this health check status. - Allowed values for this property are: "OK", "INVALID_STATUS_CODE", "TIMED_OUT", "REGEX_MISMATCH", "CONNECT_FAILED", "IO_ERROR", "OFFLINE", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'. - Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm - :return: The health_check_status of this HealthCheckResult. + :return: The subnet_id of this HealthCheckResult. :rtype: str """ - return self._health_check_status + return self._subnet_id - @health_check_status.setter - def health_check_status(self, health_check_status): + @subnet_id.setter + def subnet_id(self, subnet_id): """ - Sets the health_check_status of this HealthCheckResult. - The result of the most recent health check. + Sets the subnet_id of this HealthCheckResult. + The `OCID`__ of the subnet hosting the load balancer that reported this health check status. + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm - :param health_check_status: The health_check_status of this HealthCheckResult. + + :param subnet_id: The subnet_id of this HealthCheckResult. :type: str """ - allowed_values = ["OK", "INVALID_STATUS_CODE", "TIMED_OUT", "REGEX_MISMATCH", "CONNECT_FAILED", "IO_ERROR", "OFFLINE", "UNKNOWN"] - if not value_allowed_none_or_none_sentinel(health_check_status, allowed_values): - health_check_status = 'UNKNOWN_ENUM_VALUE' - self._health_check_status = health_check_status + self._subnet_id = subnet_id @property def source_ip_address(self): @@ -147,34 +145,6 @@ def source_ip_address(self, source_ip_address): """ self._source_ip_address = source_ip_address - @property - def subnet_id(self): - """ - **[Required]** Gets the subnet_id of this HealthCheckResult. - The `OCID`__ of the subnet hosting the load balancer that reported this health check status. - - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm - - - :return: The subnet_id of this HealthCheckResult. - :rtype: str - """ - return self._subnet_id - - @subnet_id.setter - def subnet_id(self, subnet_id): - """ - Sets the subnet_id of this HealthCheckResult. - The `OCID`__ of the subnet hosting the load balancer that reported this health check status. - - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm - - - :param subnet_id: The subnet_id of this HealthCheckResult. - :type: str - """ - self._subnet_id = subnet_id - @property def timestamp(self): """ @@ -203,6 +173,36 @@ def timestamp(self, timestamp): """ self._timestamp = timestamp + @property + def health_check_status(self): + """ + **[Required]** Gets the health_check_status of this HealthCheckResult. + The result of the most recent health check. + + Allowed values for this property are: "OK", "INVALID_STATUS_CODE", "TIMED_OUT", "REGEX_MISMATCH", "CONNECT_FAILED", "IO_ERROR", "OFFLINE", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The health_check_status of this HealthCheckResult. + :rtype: str + """ + return self._health_check_status + + @health_check_status.setter + def health_check_status(self, health_check_status): + """ + Sets the health_check_status of this HealthCheckResult. + The result of the most recent health check. + + + :param health_check_status: The health_check_status of this HealthCheckResult. + :type: str + """ + allowed_values = ["OK", "INVALID_STATUS_CODE", "TIMED_OUT", "REGEX_MISMATCH", "CONNECT_FAILED", "IO_ERROR", "OFFLINE", "UNKNOWN"] + if not value_allowed_none_or_none_sentinel(health_check_status, allowed_values): + health_check_status = 'UNKNOWN_ENUM_VALUE' + self._health_check_status = health_check_status + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/health_checker.py b/src/oci/load_balancer/models/health_checker.py index 9af5cadac4..b9fb0f746c 100644 --- a/src/oci/load_balancer/models/health_checker.py +++ b/src/oci/load_balancer/models/health_checker.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -20,127 +20,69 @@ def __init__(self, **kwargs): Initializes a new HealthChecker object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param interval_in_millis: - The value to assign to the interval_in_millis property of this HealthChecker. - :type interval_in_millis: int - - :param port: - The value to assign to the port property of this HealthChecker. - :type port: int - :param protocol: The value to assign to the protocol property of this HealthChecker. :type protocol: str - :param response_body_regex: - The value to assign to the response_body_regex property of this HealthChecker. - :type response_body_regex: str + :param url_path: + The value to assign to the url_path property of this HealthChecker. + :type url_path: str - :param retries: - The value to assign to the retries property of this HealthChecker. - :type retries: int + :param port: + The value to assign to the port property of this HealthChecker. + :type port: int :param return_code: The value to assign to the return_code property of this HealthChecker. :type return_code: int + :param retries: + The value to assign to the retries property of this HealthChecker. + :type retries: int + :param timeout_in_millis: The value to assign to the timeout_in_millis property of this HealthChecker. :type timeout_in_millis: int - :param url_path: - The value to assign to the url_path property of this HealthChecker. - :type url_path: str + :param interval_in_millis: + The value to assign to the interval_in_millis property of this HealthChecker. + :type interval_in_millis: int + + :param response_body_regex: + The value to assign to the response_body_regex property of this HealthChecker. + :type response_body_regex: str """ self.swagger_types = { - 'interval_in_millis': 'int', - 'port': 'int', 'protocol': 'str', - 'response_body_regex': 'str', - 'retries': 'int', + 'url_path': 'str', + 'port': 'int', 'return_code': 'int', + 'retries': 'int', 'timeout_in_millis': 'int', - 'url_path': 'str' + 'interval_in_millis': 'int', + 'response_body_regex': 'str' } self.attribute_map = { - 'interval_in_millis': 'intervalInMillis', - 'port': 'port', 'protocol': 'protocol', - 'response_body_regex': 'responseBodyRegex', - 'retries': 'retries', + 'url_path': 'urlPath', + 'port': 'port', 'return_code': 'returnCode', + 'retries': 'retries', 'timeout_in_millis': 'timeoutInMillis', - 'url_path': 'urlPath' + 'interval_in_millis': 'intervalInMillis', + 'response_body_regex': 'responseBodyRegex' } - self._interval_in_millis = None - self._port = None self._protocol = None - self._response_body_regex = None - self._retries = None + self._url_path = None + self._port = None self._return_code = None + self._retries = None self._timeout_in_millis = None - self._url_path = None - - @property - def interval_in_millis(self): - """ - Gets the interval_in_millis of this HealthChecker. - The interval between health checks, in milliseconds. The default is 10000 (10 seconds). - - Example: `10000` - - - :return: The interval_in_millis of this HealthChecker. - :rtype: int - """ - return self._interval_in_millis - - @interval_in_millis.setter - def interval_in_millis(self, interval_in_millis): - """ - Sets the interval_in_millis of this HealthChecker. - The interval between health checks, in milliseconds. The default is 10000 (10 seconds). - - Example: `10000` - - - :param interval_in_millis: The interval_in_millis of this HealthChecker. - :type: int - """ - self._interval_in_millis = interval_in_millis - - @property - def port(self): - """ - **[Required]** Gets the port of this HealthChecker. - The backend server port against which to run the health check. If the port is not specified, the load balancer uses the - port information from the `Backend` object. - - Example: `8080` - - - :return: The port of this HealthChecker. - :rtype: int - """ - return self._port - - @port.setter - def port(self, port): - """ - Sets the port of this HealthChecker. - The backend server port against which to run the health check. If the port is not specified, the load balancer uses the - port information from the `Backend` object. - - Example: `8080` - - - :param port: The port of this HealthChecker. - :type: int - """ - self._port = port + self._interval_in_millis = None + self._response_body_regex = None @property def protocol(self): @@ -171,60 +113,62 @@ def protocol(self, protocol): self._protocol = protocol @property - def response_body_regex(self): + def url_path(self): """ - **[Required]** Gets the response_body_regex of this HealthChecker. - A regular expression for parsing the response body from the backend server. + Gets the url_path of this HealthChecker. + The path against which to run the health check. - Example: `^((?!false).|\\s)*$` + Example: `/healthcheck` - :return: The response_body_regex of this HealthChecker. + :return: The url_path of this HealthChecker. :rtype: str """ - return self._response_body_regex + return self._url_path - @response_body_regex.setter - def response_body_regex(self, response_body_regex): + @url_path.setter + def url_path(self, url_path): """ - Sets the response_body_regex of this HealthChecker. - A regular expression for parsing the response body from the backend server. + Sets the url_path of this HealthChecker. + The path against which to run the health check. - Example: `^((?!false).|\\s)*$` + Example: `/healthcheck` - :param response_body_regex: The response_body_regex of this HealthChecker. + :param url_path: The url_path of this HealthChecker. :type: str """ - self._response_body_regex = response_body_regex + self._url_path = url_path @property - def retries(self): + def port(self): """ - Gets the retries of this HealthChecker. - The number of retries to attempt before a backend server is considered \"unhealthy\". Defaults to 3. + **[Required]** Gets the port of this HealthChecker. + The backend server port against which to run the health check. If the port is not specified, the load balancer uses the + port information from the `Backend` object. - Example: `3` + Example: `8080` - :return: The retries of this HealthChecker. + :return: The port of this HealthChecker. :rtype: int """ - return self._retries + return self._port - @retries.setter - def retries(self, retries): + @port.setter + def port(self, port): """ - Sets the retries of this HealthChecker. - The number of retries to attempt before a backend server is considered \"unhealthy\". Defaults to 3. + Sets the port of this HealthChecker. + The backend server port against which to run the health check. If the port is not specified, the load balancer uses the + port information from the `Backend` object. - Example: `3` + Example: `8080` - :param retries: The retries of this HealthChecker. + :param port: The port of this HealthChecker. :type: int """ - self._retries = retries + self._port = port @property def return_code(self): @@ -256,6 +200,34 @@ def return_code(self, return_code): """ self._return_code = return_code + @property + def retries(self): + """ + Gets the retries of this HealthChecker. + The number of retries to attempt before a backend server is considered \"unhealthy\". Defaults to 3. + + Example: `3` + + + :return: The retries of this HealthChecker. + :rtype: int + """ + return self._retries + + @retries.setter + def retries(self, retries): + """ + Sets the retries of this HealthChecker. + The number of retries to attempt before a backend server is considered \"unhealthy\". Defaults to 3. + + Example: `3` + + + :param retries: The retries of this HealthChecker. + :type: int + """ + self._retries = retries + @property def timeout_in_millis(self): """ @@ -287,32 +259,60 @@ def timeout_in_millis(self, timeout_in_millis): self._timeout_in_millis = timeout_in_millis @property - def url_path(self): + def interval_in_millis(self): """ - Gets the url_path of this HealthChecker. - The path against which to run the health check. + Gets the interval_in_millis of this HealthChecker. + The interval between health checks, in milliseconds. The default is 10000 (10 seconds). - Example: `/healthcheck` + Example: `10000` - :return: The url_path of this HealthChecker. + :return: The interval_in_millis of this HealthChecker. + :rtype: int + """ + return self._interval_in_millis + + @interval_in_millis.setter + def interval_in_millis(self, interval_in_millis): + """ + Sets the interval_in_millis of this HealthChecker. + The interval between health checks, in milliseconds. The default is 10000 (10 seconds). + + Example: `10000` + + + :param interval_in_millis: The interval_in_millis of this HealthChecker. + :type: int + """ + self._interval_in_millis = interval_in_millis + + @property + def response_body_regex(self): + """ + **[Required]** Gets the response_body_regex of this HealthChecker. + A regular expression for parsing the response body from the backend server. + + Example: `^((?!false).|\\s)*$` + + + :return: The response_body_regex of this HealthChecker. :rtype: str """ - return self._url_path + return self._response_body_regex - @url_path.setter - def url_path(self, url_path): + @response_body_regex.setter + def response_body_regex(self, response_body_regex): """ - Sets the url_path of this HealthChecker. - The path against which to run the health check. + Sets the response_body_regex of this HealthChecker. + A regular expression for parsing the response body from the backend server. - Example: `/healthcheck` + Example: `^((?!false).|\\s)*$` - :param url_path: The url_path of this HealthChecker. + :param response_body_regex: The response_body_regex of this HealthChecker. :type: str """ - self._url_path = url_path + self._response_body_regex = response_body_regex def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/health_checker_details.py b/src/oci/load_balancer/models/health_checker_details.py index 081692b8a8..043ee28b40 100644 --- a/src/oci/load_balancer/models/health_checker_details.py +++ b/src/oci/load_balancer/models/health_checker_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -17,127 +17,69 @@ def __init__(self, **kwargs): Initializes a new HealthCheckerDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param interval_in_millis: - The value to assign to the interval_in_millis property of this HealthCheckerDetails. - :type interval_in_millis: int - - :param port: - The value to assign to the port property of this HealthCheckerDetails. - :type port: int - :param protocol: The value to assign to the protocol property of this HealthCheckerDetails. :type protocol: str - :param response_body_regex: - The value to assign to the response_body_regex property of this HealthCheckerDetails. - :type response_body_regex: str + :param url_path: + The value to assign to the url_path property of this HealthCheckerDetails. + :type url_path: str - :param retries: - The value to assign to the retries property of this HealthCheckerDetails. - :type retries: int + :param port: + The value to assign to the port property of this HealthCheckerDetails. + :type port: int :param return_code: The value to assign to the return_code property of this HealthCheckerDetails. :type return_code: int + :param retries: + The value to assign to the retries property of this HealthCheckerDetails. + :type retries: int + :param timeout_in_millis: The value to assign to the timeout_in_millis property of this HealthCheckerDetails. :type timeout_in_millis: int - :param url_path: - The value to assign to the url_path property of this HealthCheckerDetails. - :type url_path: str + :param interval_in_millis: + The value to assign to the interval_in_millis property of this HealthCheckerDetails. + :type interval_in_millis: int + + :param response_body_regex: + The value to assign to the response_body_regex property of this HealthCheckerDetails. + :type response_body_regex: str """ self.swagger_types = { - 'interval_in_millis': 'int', - 'port': 'int', 'protocol': 'str', - 'response_body_regex': 'str', - 'retries': 'int', + 'url_path': 'str', + 'port': 'int', 'return_code': 'int', + 'retries': 'int', 'timeout_in_millis': 'int', - 'url_path': 'str' + 'interval_in_millis': 'int', + 'response_body_regex': 'str' } self.attribute_map = { - 'interval_in_millis': 'intervalInMillis', - 'port': 'port', 'protocol': 'protocol', - 'response_body_regex': 'responseBodyRegex', - 'retries': 'retries', + 'url_path': 'urlPath', + 'port': 'port', 'return_code': 'returnCode', + 'retries': 'retries', 'timeout_in_millis': 'timeoutInMillis', - 'url_path': 'urlPath' + 'interval_in_millis': 'intervalInMillis', + 'response_body_regex': 'responseBodyRegex' } - self._interval_in_millis = None - self._port = None self._protocol = None - self._response_body_regex = None - self._retries = None + self._url_path = None + self._port = None self._return_code = None + self._retries = None self._timeout_in_millis = None - self._url_path = None - - @property - def interval_in_millis(self): - """ - Gets the interval_in_millis of this HealthCheckerDetails. - The interval between health checks, in milliseconds. - - Example: `10000` - - - :return: The interval_in_millis of this HealthCheckerDetails. - :rtype: int - """ - return self._interval_in_millis - - @interval_in_millis.setter - def interval_in_millis(self, interval_in_millis): - """ - Sets the interval_in_millis of this HealthCheckerDetails. - The interval between health checks, in milliseconds. - - Example: `10000` - - - :param interval_in_millis: The interval_in_millis of this HealthCheckerDetails. - :type: int - """ - self._interval_in_millis = interval_in_millis - - @property - def port(self): - """ - Gets the port of this HealthCheckerDetails. - The backend server port against which to run the health check. If the port is not specified, the load balancer uses the - port information from the `Backend` object. - - Example: `8080` - - - :return: The port of this HealthCheckerDetails. - :rtype: int - """ - return self._port - - @port.setter - def port(self, port): - """ - Sets the port of this HealthCheckerDetails. - The backend server port against which to run the health check. If the port is not specified, the load balancer uses the - port information from the `Backend` object. - - Example: `8080` - - - :param port: The port of this HealthCheckerDetails. - :type: int - """ - self._port = port + self._interval_in_millis = None + self._response_body_regex = None @property def protocol(self): @@ -168,60 +110,62 @@ def protocol(self, protocol): self._protocol = protocol @property - def response_body_regex(self): + def url_path(self): """ - Gets the response_body_regex of this HealthCheckerDetails. - A regular expression for parsing the response body from the backend server. + Gets the url_path of this HealthCheckerDetails. + The path against which to run the health check. - Example: `^((?!false).|\\s)*$` + Example: `/healthcheck` - :return: The response_body_regex of this HealthCheckerDetails. + :return: The url_path of this HealthCheckerDetails. :rtype: str """ - return self._response_body_regex + return self._url_path - @response_body_regex.setter - def response_body_regex(self, response_body_regex): + @url_path.setter + def url_path(self, url_path): """ - Sets the response_body_regex of this HealthCheckerDetails. - A regular expression for parsing the response body from the backend server. + Sets the url_path of this HealthCheckerDetails. + The path against which to run the health check. - Example: `^((?!false).|\\s)*$` + Example: `/healthcheck` - :param response_body_regex: The response_body_regex of this HealthCheckerDetails. + :param url_path: The url_path of this HealthCheckerDetails. :type: str """ - self._response_body_regex = response_body_regex + self._url_path = url_path @property - def retries(self): + def port(self): """ - Gets the retries of this HealthCheckerDetails. - The number of retries to attempt before a backend server is considered \"unhealthy\". + Gets the port of this HealthCheckerDetails. + The backend server port against which to run the health check. If the port is not specified, the load balancer uses the + port information from the `Backend` object. - Example: `3` + Example: `8080` - :return: The retries of this HealthCheckerDetails. + :return: The port of this HealthCheckerDetails. :rtype: int """ - return self._retries + return self._port - @retries.setter - def retries(self, retries): + @port.setter + def port(self, port): """ - Sets the retries of this HealthCheckerDetails. - The number of retries to attempt before a backend server is considered \"unhealthy\". + Sets the port of this HealthCheckerDetails. + The backend server port against which to run the health check. If the port is not specified, the load balancer uses the + port information from the `Backend` object. - Example: `3` + Example: `8080` - :param retries: The retries of this HealthCheckerDetails. + :param port: The port of this HealthCheckerDetails. :type: int """ - self._retries = retries + self._port = port @property def return_code(self): @@ -251,6 +195,34 @@ def return_code(self, return_code): """ self._return_code = return_code + @property + def retries(self): + """ + Gets the retries of this HealthCheckerDetails. + The number of retries to attempt before a backend server is considered \"unhealthy\". + + Example: `3` + + + :return: The retries of this HealthCheckerDetails. + :rtype: int + """ + return self._retries + + @retries.setter + def retries(self, retries): + """ + Sets the retries of this HealthCheckerDetails. + The number of retries to attempt before a backend server is considered \"unhealthy\". + + Example: `3` + + + :param retries: The retries of this HealthCheckerDetails. + :type: int + """ + self._retries = retries + @property def timeout_in_millis(self): """ @@ -282,32 +254,60 @@ def timeout_in_millis(self, timeout_in_millis): self._timeout_in_millis = timeout_in_millis @property - def url_path(self): + def interval_in_millis(self): """ - Gets the url_path of this HealthCheckerDetails. - The path against which to run the health check. + Gets the interval_in_millis of this HealthCheckerDetails. + The interval between health checks, in milliseconds. - Example: `/healthcheck` + Example: `10000` - :return: The url_path of this HealthCheckerDetails. + :return: The interval_in_millis of this HealthCheckerDetails. + :rtype: int + """ + return self._interval_in_millis + + @interval_in_millis.setter + def interval_in_millis(self, interval_in_millis): + """ + Sets the interval_in_millis of this HealthCheckerDetails. + The interval between health checks, in milliseconds. + + Example: `10000` + + + :param interval_in_millis: The interval_in_millis of this HealthCheckerDetails. + :type: int + """ + self._interval_in_millis = interval_in_millis + + @property + def response_body_regex(self): + """ + Gets the response_body_regex of this HealthCheckerDetails. + A regular expression for parsing the response body from the backend server. + + Example: `^((?!false).|\\s)*$` + + + :return: The response_body_regex of this HealthCheckerDetails. :rtype: str """ - return self._url_path + return self._response_body_regex - @url_path.setter - def url_path(self, url_path): + @response_body_regex.setter + def response_body_regex(self, response_body_regex): """ - Sets the url_path of this HealthCheckerDetails. - The path against which to run the health check. + Sets the response_body_regex of this HealthCheckerDetails. + A regular expression for parsing the response body from the backend server. - Example: `/healthcheck` + Example: `^((?!false).|\\s)*$` - :param url_path: The url_path of this HealthCheckerDetails. + :param response_body_regex: The response_body_regex of this HealthCheckerDetails. :type: str """ - self._url_path = url_path + self._response_body_regex = response_body_regex def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/hostname.py b/src/oci/load_balancer/models/hostname.py index 16973bbd8f..2fdae7e40e 100644 --- a/src/oci/load_balancer/models/hostname.py +++ b/src/oci/load_balancer/models/hostname.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -10,6 +10,8 @@ class Hostname(object): """ A hostname resource associated with a load balancer for use by one or more listeners. + + **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. """ def __init__(self, **kwargs): @@ -17,27 +19,57 @@ def __init__(self, **kwargs): Initializes a new Hostname object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param hostname: - The value to assign to the hostname property of this Hostname. - :type hostname: str - :param name: The value to assign to the name property of this Hostname. :type name: str + :param hostname: + The value to assign to the hostname property of this Hostname. + :type hostname: str + """ self.swagger_types = { - 'hostname': 'str', - 'name': 'str' + 'name': 'str', + 'hostname': 'str' } self.attribute_map = { - 'hostname': 'hostname', - 'name': 'name' + 'name': 'name', + 'hostname': 'hostname' } - self._hostname = None self._name = None + self._hostname = None + + @property + def name(self): + """ + **[Required]** Gets the name of this Hostname. + A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential + information. + + Example: `example_hostname_001` + + + :return: The name of this Hostname. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this Hostname. + A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential + information. + + Example: `example_hostname_001` + + + :param name: The name of this Hostname. + :type: str + """ + self._name = name @property def hostname(self): @@ -73,36 +105,6 @@ def hostname(self, hostname): """ self._hostname = hostname - @property - def name(self): - """ - **[Required]** Gets the name of this Hostname. - A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential - information. - - Example: `example_hostname_001` - - - :return: The name of this Hostname. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """ - Sets the name of this Hostname. - A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential - information. - - Example: `example_hostname_001` - - - :param name: The name of this Hostname. - :type: str - """ - self._name = name - def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/hostname_details.py b/src/oci/load_balancer/models/hostname_details.py index a4db840b4f..9a53076248 100644 --- a/src/oci/load_balancer/models/hostname_details.py +++ b/src/oci/load_balancer/models/hostname_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -17,27 +17,55 @@ def __init__(self, **kwargs): Initializes a new HostnameDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param hostname: - The value to assign to the hostname property of this HostnameDetails. - :type hostname: str - :param name: The value to assign to the name property of this HostnameDetails. :type name: str + :param hostname: + The value to assign to the hostname property of this HostnameDetails. + :type hostname: str + """ self.swagger_types = { - 'hostname': 'str', - 'name': 'str' + 'name': 'str', + 'hostname': 'str' } self.attribute_map = { - 'hostname': 'hostname', - 'name': 'name' + 'name': 'name', + 'hostname': 'hostname' } - self._hostname = None self._name = None + self._hostname = None + + @property + def name(self): + """ + **[Required]** Gets the name of this HostnameDetails. + The name of the hostname resource. + + Example: `example_hostname_001` + + + :return: The name of this HostnameDetails. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this HostnameDetails. + The name of the hostname resource. + + Example: `example_hostname_001` + + + :param name: The name of this HostnameDetails. + :type: str + """ + self._name = name @property def hostname(self): @@ -73,34 +101,6 @@ def hostname(self, hostname): """ self._hostname = hostname - @property - def name(self): - """ - **[Required]** Gets the name of this HostnameDetails. - The name of the hostname resource. - - Example: `example_hostname_001` - - - :return: The name of this HostnameDetails. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """ - Sets the name of this HostnameDetails. - The name of the hostname resource. - - Example: `example_hostname_001` - - - :param name: The name of this HostnameDetails. - :type: str - """ - self._name = name - def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/ip_address.py b/src/oci/load_balancer/models/ip_address.py index b6855d3af8..17035b2fd4 100644 --- a/src/oci/load_balancer/models/ip_address.py +++ b/src/oci/load_balancer/models/ip_address.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/load_balancer/models/listener.py b/src/oci/load_balancer/models/listener.py index c0148a93b3..45afb57402 100644 --- a/src/oci/load_balancer/models/listener.py +++ b/src/oci/load_balancer/models/listener.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -21,25 +21,13 @@ def __init__(self, **kwargs): Initializes a new Listener object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param connection_configuration: - The value to assign to the connection_configuration property of this Listener. - :type connection_configuration: ConnectionConfiguration - - :param default_backend_set_name: - The value to assign to the default_backend_set_name property of this Listener. - :type default_backend_set_name: str - - :param hostname_names: - The value to assign to the hostname_names property of this Listener. - :type hostname_names: list[str] - :param name: The value to assign to the name property of this Listener. :type name: str - :param path_route_set_name: - The value to assign to the path_route_set_name property of this Listener. - :type path_route_set_name: str + :param default_backend_set_name: + The value to assign to the default_backend_set_name property of this Listener. + :type default_backend_set_name: str :param port: The value to assign to the port property of this Listener. @@ -49,113 +37,60 @@ def __init__(self, **kwargs): The value to assign to the protocol property of this Listener. :type protocol: str + :param hostname_names: + The value to assign to the hostname_names property of this Listener. + :type hostname_names: list[str] + + :param path_route_set_name: + The value to assign to the path_route_set_name property of this Listener. + :type path_route_set_name: str + :param ssl_configuration: The value to assign to the ssl_configuration property of this Listener. :type ssl_configuration: SSLConfiguration + :param connection_configuration: + The value to assign to the connection_configuration property of this Listener. + :type connection_configuration: ConnectionConfiguration + + :param rule_set_names: + The value to assign to the rule_set_names property of this Listener. + :type rule_set_names: list[str] + """ self.swagger_types = { - 'connection_configuration': 'ConnectionConfiguration', - 'default_backend_set_name': 'str', - 'hostname_names': 'list[str]', 'name': 'str', - 'path_route_set_name': 'str', + 'default_backend_set_name': 'str', 'port': 'int', 'protocol': 'str', - 'ssl_configuration': 'SSLConfiguration' + 'hostname_names': 'list[str]', + 'path_route_set_name': 'str', + 'ssl_configuration': 'SSLConfiguration', + 'connection_configuration': 'ConnectionConfiguration', + 'rule_set_names': 'list[str]' } self.attribute_map = { - 'connection_configuration': 'connectionConfiguration', - 'default_backend_set_name': 'defaultBackendSetName', - 'hostname_names': 'hostnameNames', 'name': 'name', - 'path_route_set_name': 'pathRouteSetName', + 'default_backend_set_name': 'defaultBackendSetName', 'port': 'port', 'protocol': 'protocol', - 'ssl_configuration': 'sslConfiguration' + 'hostname_names': 'hostnameNames', + 'path_route_set_name': 'pathRouteSetName', + 'ssl_configuration': 'sslConfiguration', + 'connection_configuration': 'connectionConfiguration', + 'rule_set_names': 'ruleSetNames' } - self._connection_configuration = None - self._default_backend_set_name = None - self._hostname_names = None self._name = None - self._path_route_set_name = None + self._default_backend_set_name = None self._port = None self._protocol = None + self._hostname_names = None + self._path_route_set_name = None self._ssl_configuration = None - - @property - def connection_configuration(self): - """ - Gets the connection_configuration of this Listener. - - :return: The connection_configuration of this Listener. - :rtype: ConnectionConfiguration - """ - return self._connection_configuration - - @connection_configuration.setter - def connection_configuration(self, connection_configuration): - """ - Sets the connection_configuration of this Listener. - - :param connection_configuration: The connection_configuration of this Listener. - :type: ConnectionConfiguration - """ - self._connection_configuration = connection_configuration - - @property - def default_backend_set_name(self): - """ - **[Required]** Gets the default_backend_set_name of this Listener. - The name of the associated backend set. - - Example: `example_backend_set` - - - :return: The default_backend_set_name of this Listener. - :rtype: str - """ - return self._default_backend_set_name - - @default_backend_set_name.setter - def default_backend_set_name(self, default_backend_set_name): - """ - Sets the default_backend_set_name of this Listener. - The name of the associated backend set. - - Example: `example_backend_set` - - - :param default_backend_set_name: The default_backend_set_name of this Listener. - :type: str - """ - self._default_backend_set_name = default_backend_set_name - - @property - def hostname_names(self): - """ - Gets the hostname_names of this Listener. - An array of hostname resource names. - - - :return: The hostname_names of this Listener. - :rtype: list[str] - """ - return self._hostname_names - - @hostname_names.setter - def hostname_names(self, hostname_names): - """ - Sets the hostname_names of this Listener. - An array of hostname resource names. - - - :param hostname_names: The hostname_names of this Listener. - :type: list[str] - """ - self._hostname_names = hostname_names + self._connection_configuration = None + self._rule_set_names = None @property def name(self): @@ -186,34 +121,32 @@ def name(self, name): self._name = name @property - def path_route_set_name(self): + def default_backend_set_name(self): """ - Gets the path_route_set_name of this Listener. - The name of the set of path-based routing rules, :class:`PathRouteSet`, - applied to this listener's traffic. + **[Required]** Gets the default_backend_set_name of this Listener. + The name of the associated backend set. - Example: `example_path_route_set` + Example: `example_backend_set` - :return: The path_route_set_name of this Listener. + :return: The default_backend_set_name of this Listener. :rtype: str """ - return self._path_route_set_name + return self._default_backend_set_name - @path_route_set_name.setter - def path_route_set_name(self, path_route_set_name): + @default_backend_set_name.setter + def default_backend_set_name(self, default_backend_set_name): """ - Sets the path_route_set_name of this Listener. - The name of the set of path-based routing rules, :class:`PathRouteSet`, - applied to this listener's traffic. + Sets the default_backend_set_name of this Listener. + The name of the associated backend set. - Example: `example_path_route_set` + Example: `example_backend_set` - :param path_route_set_name: The path_route_set_name of this Listener. + :param default_backend_set_name: The default_backend_set_name of this Listener. :type: str """ - self._path_route_set_name = path_route_set_name + self._default_backend_set_name = default_backend_set_name @property def port(self): @@ -275,6 +208,60 @@ def protocol(self, protocol): """ self._protocol = protocol + @property + def hostname_names(self): + """ + Gets the hostname_names of this Listener. + An array of hostname resource names. + + + :return: The hostname_names of this Listener. + :rtype: list[str] + """ + return self._hostname_names + + @hostname_names.setter + def hostname_names(self, hostname_names): + """ + Sets the hostname_names of this Listener. + An array of hostname resource names. + + + :param hostname_names: The hostname_names of this Listener. + :type: list[str] + """ + self._hostname_names = hostname_names + + @property + def path_route_set_name(self): + """ + Gets the path_route_set_name of this Listener. + The name of the set of path-based routing rules, :class:`PathRouteSet`, + applied to this listener's traffic. + + Example: `example_path_route_set` + + + :return: The path_route_set_name of this Listener. + :rtype: str + """ + return self._path_route_set_name + + @path_route_set_name.setter + def path_route_set_name(self, path_route_set_name): + """ + Sets the path_route_set_name of this Listener. + The name of the set of path-based routing rules, :class:`PathRouteSet`, + applied to this listener's traffic. + + Example: `example_path_route_set` + + + :param path_route_set_name: The path_route_set_name of this Listener. + :type: str + """ + self._path_route_set_name = path_route_set_name + @property def ssl_configuration(self): """ @@ -295,6 +282,54 @@ def ssl_configuration(self, ssl_configuration): """ self._ssl_configuration = ssl_configuration + @property + def connection_configuration(self): + """ + Gets the connection_configuration of this Listener. + + :return: The connection_configuration of this Listener. + :rtype: ConnectionConfiguration + """ + return self._connection_configuration + + @connection_configuration.setter + def connection_configuration(self, connection_configuration): + """ + Sets the connection_configuration of this Listener. + + :param connection_configuration: The connection_configuration of this Listener. + :type: ConnectionConfiguration + """ + self._connection_configuration = connection_configuration + + @property + def rule_set_names(self): + """ + Gets the rule_set_names of this Listener. + The names of the :class:`RuleSet` to apply to the listener. + + Example: [\"example_rule_set\"] + + + :return: The rule_set_names of this Listener. + :rtype: list[str] + """ + return self._rule_set_names + + @rule_set_names.setter + def rule_set_names(self, rule_set_names): + """ + Sets the rule_set_names of this Listener. + The names of the :class:`RuleSet` to apply to the listener. + + Example: [\"example_rule_set\"] + + + :param rule_set_names: The rule_set_names of this Listener. + :type: list[str] + """ + self._rule_set_names = rule_set_names + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/listener_details.py b/src/oci/load_balancer/models/listener_details.py index 1b27b4538c..93d0c7c078 100644 --- a/src/oci/load_balancer/models/listener_details.py +++ b/src/oci/load_balancer/models/listener_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -17,22 +17,10 @@ def __init__(self, **kwargs): Initializes a new ListenerDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param connection_configuration: - The value to assign to the connection_configuration property of this ListenerDetails. - :type connection_configuration: ConnectionConfiguration - :param default_backend_set_name: The value to assign to the default_backend_set_name property of this ListenerDetails. :type default_backend_set_name: str - :param hostname_names: - The value to assign to the hostname_names property of this ListenerDetails. - :type hostname_names: list[str] - - :param path_route_set_name: - The value to assign to the path_route_set_name property of this ListenerDetails. - :type path_route_set_name: str - :param port: The value to assign to the port property of this ListenerDetails. :type port: int @@ -41,58 +29,57 @@ def __init__(self, **kwargs): The value to assign to the protocol property of this ListenerDetails. :type protocol: str + :param hostname_names: + The value to assign to the hostname_names property of this ListenerDetails. + :type hostname_names: list[str] + + :param path_route_set_name: + The value to assign to the path_route_set_name property of this ListenerDetails. + :type path_route_set_name: str + :param ssl_configuration: The value to assign to the ssl_configuration property of this ListenerDetails. :type ssl_configuration: SSLConfigurationDetails + :param connection_configuration: + The value to assign to the connection_configuration property of this ListenerDetails. + :type connection_configuration: ConnectionConfiguration + + :param rule_set_names: + The value to assign to the rule_set_names property of this ListenerDetails. + :type rule_set_names: list[str] + """ self.swagger_types = { - 'connection_configuration': 'ConnectionConfiguration', 'default_backend_set_name': 'str', - 'hostname_names': 'list[str]', - 'path_route_set_name': 'str', 'port': 'int', 'protocol': 'str', - 'ssl_configuration': 'SSLConfigurationDetails' + 'hostname_names': 'list[str]', + 'path_route_set_name': 'str', + 'ssl_configuration': 'SSLConfigurationDetails', + 'connection_configuration': 'ConnectionConfiguration', + 'rule_set_names': 'list[str]' } self.attribute_map = { - 'connection_configuration': 'connectionConfiguration', 'default_backend_set_name': 'defaultBackendSetName', - 'hostname_names': 'hostnameNames', - 'path_route_set_name': 'pathRouteSetName', 'port': 'port', 'protocol': 'protocol', - 'ssl_configuration': 'sslConfiguration' + 'hostname_names': 'hostnameNames', + 'path_route_set_name': 'pathRouteSetName', + 'ssl_configuration': 'sslConfiguration', + 'connection_configuration': 'connectionConfiguration', + 'rule_set_names': 'ruleSetNames' } - self._connection_configuration = None self._default_backend_set_name = None - self._hostname_names = None - self._path_route_set_name = None self._port = None self._protocol = None + self._hostname_names = None + self._path_route_set_name = None self._ssl_configuration = None - - @property - def connection_configuration(self): - """ - Gets the connection_configuration of this ListenerDetails. - - :return: The connection_configuration of this ListenerDetails. - :rtype: ConnectionConfiguration - """ - return self._connection_configuration - - @connection_configuration.setter - def connection_configuration(self, connection_configuration): - """ - Sets the connection_configuration of this ListenerDetails. - - :param connection_configuration: The connection_configuration of this ListenerDetails. - :type: ConnectionConfiguration - """ - self._connection_configuration = connection_configuration + self._connection_configuration = None + self._rule_set_names = None @property def default_backend_set_name(self): @@ -122,6 +109,66 @@ def default_backend_set_name(self, default_backend_set_name): """ self._default_backend_set_name = default_backend_set_name + @property + def port(self): + """ + **[Required]** Gets the port of this ListenerDetails. + The communication port for the listener. + + Example: `80` + + + :return: The port of this ListenerDetails. + :rtype: int + """ + return self._port + + @port.setter + def port(self, port): + """ + Sets the port of this ListenerDetails. + The communication port for the listener. + + Example: `80` + + + :param port: The port of this ListenerDetails. + :type: int + """ + self._port = port + + @property + def protocol(self): + """ + **[Required]** Gets the protocol of this ListenerDetails. + The protocol on which the listener accepts connection requests. + To get a list of valid protocols, use the :func:`list_protocols` + operation. + + Example: `HTTP` + + + :return: The protocol of this ListenerDetails. + :rtype: str + """ + return self._protocol + + @protocol.setter + def protocol(self, protocol): + """ + Sets the protocol of this ListenerDetails. + The protocol on which the listener accepts connection requests. + To get a list of valid protocols, use the :func:`list_protocols` + operation. + + Example: `HTTP` + + + :param protocol: The protocol of this ListenerDetails. + :type: str + """ + self._protocol = protocol + @property def hostname_names(self): """ @@ -177,84 +224,72 @@ def path_route_set_name(self, path_route_set_name): self._path_route_set_name = path_route_set_name @property - def port(self): + def ssl_configuration(self): """ - **[Required]** Gets the port of this ListenerDetails. - The communication port for the listener. - - Example: `80` - + Gets the ssl_configuration of this ListenerDetails. - :return: The port of this ListenerDetails. - :rtype: int + :return: The ssl_configuration of this ListenerDetails. + :rtype: SSLConfigurationDetails """ - return self._port + return self._ssl_configuration - @port.setter - def port(self, port): + @ssl_configuration.setter + def ssl_configuration(self, ssl_configuration): """ - Sets the port of this ListenerDetails. - The communication port for the listener. - - Example: `80` - + Sets the ssl_configuration of this ListenerDetails. - :param port: The port of this ListenerDetails. - :type: int + :param ssl_configuration: The ssl_configuration of this ListenerDetails. + :type: SSLConfigurationDetails """ - self._port = port + self._ssl_configuration = ssl_configuration @property - def protocol(self): + def connection_configuration(self): """ - **[Required]** Gets the protocol of this ListenerDetails. - The protocol on which the listener accepts connection requests. - To get a list of valid protocols, use the :func:`list_protocols` - operation. + Gets the connection_configuration of this ListenerDetails. - Example: `HTTP` + :return: The connection_configuration of this ListenerDetails. + :rtype: ConnectionConfiguration + """ + return self._connection_configuration + @connection_configuration.setter + def connection_configuration(self, connection_configuration): + """ + Sets the connection_configuration of this ListenerDetails. - :return: The protocol of this ListenerDetails. - :rtype: str + :param connection_configuration: The connection_configuration of this ListenerDetails. + :type: ConnectionConfiguration """ - return self._protocol + self._connection_configuration = connection_configuration - @protocol.setter - def protocol(self, protocol): + @property + def rule_set_names(self): """ - Sets the protocol of this ListenerDetails. - The protocol on which the listener accepts connection requests. - To get a list of valid protocols, use the :func:`list_protocols` - operation. + Gets the rule_set_names of this ListenerDetails. + The names of the :class:`RuleSet` to apply to the listener. - Example: `HTTP` + Example: [\"example_rule_set\"] - :param protocol: The protocol of this ListenerDetails. - :type: str + :return: The rule_set_names of this ListenerDetails. + :rtype: list[str] """ - self._protocol = protocol + return self._rule_set_names - @property - def ssl_configuration(self): + @rule_set_names.setter + def rule_set_names(self, rule_set_names): """ - Gets the ssl_configuration of this ListenerDetails. + Sets the rule_set_names of this ListenerDetails. + The names of the :class:`RuleSet` to apply to the listener. - :return: The ssl_configuration of this ListenerDetails. - :rtype: SSLConfigurationDetails - """ - return self._ssl_configuration + Example: [\"example_rule_set\"] - @ssl_configuration.setter - def ssl_configuration(self, ssl_configuration): - """ - Sets the ssl_configuration of this ListenerDetails. - :param ssl_configuration: The ssl_configuration of this ListenerDetails. - :type: SSLConfigurationDetails + :param rule_set_names: The rule_set_names of this ListenerDetails. + :type: list[str] """ - self._ssl_configuration = ssl_configuration + self._rule_set_names = rule_set_names def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/load_balancer.py b/src/oci/load_balancer/models/load_balancer.py index 6e78068c9f..123d84a100 100644 --- a/src/oci/load_balancer/models/load_balancer.py +++ b/src/oci/load_balancer/models/load_balancer.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -51,167 +51,162 @@ def __init__(self, **kwargs): Initializes a new LoadBalancer object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param backend_sets: - The value to assign to the backend_sets property of this LoadBalancer. - :type backend_sets: dict(str, BackendSet) - - :param certificates: - The value to assign to the certificates property of this LoadBalancer. - :type certificates: dict(str, Certificate) + :param id: + The value to assign to the id property of this LoadBalancer. + :type id: str :param compartment_id: The value to assign to the compartment_id property of this LoadBalancer. :type compartment_id: str - :param defined_tags: - The value to assign to the defined_tags property of this LoadBalancer. - :type defined_tags: dict(str, dict(str, object)) - :param display_name: The value to assign to the display_name property of this LoadBalancer. :type display_name: str - :param freeform_tags: - The value to assign to the freeform_tags property of this LoadBalancer. - :type freeform_tags: dict(str, str) - - :param hostnames: - The value to assign to the hostnames property of this LoadBalancer. - :type hostnames: dict(str, Hostname) + :param lifecycle_state: + The value to assign to the lifecycle_state property of this LoadBalancer. + Allowed values for this property are: "CREATING", "FAILED", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type lifecycle_state: str - :param id: - The value to assign to the id property of this LoadBalancer. - :type id: str + :param time_created: + The value to assign to the time_created property of this LoadBalancer. + :type time_created: datetime :param ip_addresses: The value to assign to the ip_addresses property of this LoadBalancer. :type ip_addresses: list[IpAddress] + :param shape_name: + The value to assign to the shape_name property of this LoadBalancer. + :type shape_name: str + :param is_private: The value to assign to the is_private property of this LoadBalancer. :type is_private: bool - :param lifecycle_state: - The value to assign to the lifecycle_state property of this LoadBalancer. - Allowed values for this property are: "CREATING", "FAILED", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. - Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. - :type lifecycle_state: str + :param subnet_ids: + The value to assign to the subnet_ids property of this LoadBalancer. + :type subnet_ids: list[str] :param listeners: The value to assign to the listeners property of this LoadBalancer. :type listeners: dict(str, Listener) + :param hostnames: + The value to assign to the hostnames property of this LoadBalancer. + :type hostnames: dict(str, Hostname) + + :param certificates: + The value to assign to the certificates property of this LoadBalancer. + :type certificates: dict(str, Certificate) + + :param backend_sets: + The value to assign to the backend_sets property of this LoadBalancer. + :type backend_sets: dict(str, BackendSet) + :param path_route_sets: The value to assign to the path_route_sets property of this LoadBalancer. :type path_route_sets: dict(str, PathRouteSet) - :param shape_name: - The value to assign to the shape_name property of this LoadBalancer. - :type shape_name: str + :param freeform_tags: + The value to assign to the freeform_tags property of this LoadBalancer. + :type freeform_tags: dict(str, str) - :param subnet_ids: - The value to assign to the subnet_ids property of this LoadBalancer. - :type subnet_ids: list[str] + :param defined_tags: + The value to assign to the defined_tags property of this LoadBalancer. + :type defined_tags: dict(str, dict(str, object)) - :param time_created: - The value to assign to the time_created property of this LoadBalancer. - :type time_created: datetime + :param rule_sets: + The value to assign to the rule_sets property of this LoadBalancer. + :type rule_sets: dict(str, RuleSet) """ self.swagger_types = { - 'backend_sets': 'dict(str, BackendSet)', - 'certificates': 'dict(str, Certificate)', + 'id': 'str', 'compartment_id': 'str', - 'defined_tags': 'dict(str, dict(str, object))', 'display_name': 'str', - 'freeform_tags': 'dict(str, str)', - 'hostnames': 'dict(str, Hostname)', - 'id': 'str', + 'lifecycle_state': 'str', + 'time_created': 'datetime', 'ip_addresses': 'list[IpAddress]', + 'shape_name': 'str', 'is_private': 'bool', - 'lifecycle_state': 'str', + 'subnet_ids': 'list[str]', 'listeners': 'dict(str, Listener)', + 'hostnames': 'dict(str, Hostname)', + 'certificates': 'dict(str, Certificate)', + 'backend_sets': 'dict(str, BackendSet)', 'path_route_sets': 'dict(str, PathRouteSet)', - 'shape_name': 'str', - 'subnet_ids': 'list[str]', - 'time_created': 'datetime' + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))', + 'rule_sets': 'dict(str, RuleSet)' } self.attribute_map = { - 'backend_sets': 'backendSets', - 'certificates': 'certificates', + 'id': 'id', 'compartment_id': 'compartmentId', - 'defined_tags': 'definedTags', 'display_name': 'displayName', - 'freeform_tags': 'freeformTags', - 'hostnames': 'hostnames', - 'id': 'id', + 'lifecycle_state': 'lifecycleState', + 'time_created': 'timeCreated', 'ip_addresses': 'ipAddresses', + 'shape_name': 'shapeName', 'is_private': 'isPrivate', - 'lifecycle_state': 'lifecycleState', + 'subnet_ids': 'subnetIds', 'listeners': 'listeners', + 'hostnames': 'hostnames', + 'certificates': 'certificates', + 'backend_sets': 'backendSets', 'path_route_sets': 'pathRouteSets', - 'shape_name': 'shapeName', - 'subnet_ids': 'subnetIds', - 'time_created': 'timeCreated' + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags', + 'rule_sets': 'ruleSets' } - self._backend_sets = None - self._certificates = None + self._id = None self._compartment_id = None - self._defined_tags = None self._display_name = None - self._freeform_tags = None - self._hostnames = None - self._id = None + self._lifecycle_state = None + self._time_created = None self._ip_addresses = None + self._shape_name = None self._is_private = None - self._lifecycle_state = None + self._subnet_ids = None self._listeners = None + self._hostnames = None + self._certificates = None + self._backend_sets = None self._path_route_sets = None - self._shape_name = None - self._subnet_ids = None - self._time_created = None + self._freeform_tags = None + self._defined_tags = None + self._rule_sets = None @property - def backend_sets(self): + def id(self): """ - Gets the backend_sets of this LoadBalancer. + **[Required]** Gets the id of this LoadBalancer. + The `OCID`__ of the load balancer. - :return: The backend_sets of this LoadBalancer. - :rtype: dict(str, BackendSet) - """ - return self._backend_sets + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm - @backend_sets.setter - def backend_sets(self, backend_sets): - """ - Sets the backend_sets of this LoadBalancer. - :param backend_sets: The backend_sets of this LoadBalancer. - :type: dict(str, BackendSet) + :return: The id of this LoadBalancer. + :rtype: str """ - self._backend_sets = backend_sets + return self._id - @property - def certificates(self): + @id.setter + def id(self, id): """ - Gets the certificates of this LoadBalancer. + Sets the id of this LoadBalancer. + The `OCID`__ of the load balancer. - :return: The certificates of this LoadBalancer. - :rtype: dict(str, Certificate) - """ - return self._certificates + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm - @certificates.setter - def certificates(self, certificates): - """ - Sets the certificates of this LoadBalancer. - :param certificates: The certificates of this LoadBalancer. - :type: dict(str, Certificate) + :param id: The id of this LoadBalancer. + :type: str """ - self._certificates = certificates + self._id = id @property def compartment_id(self): @@ -241,40 +236,6 @@ def compartment_id(self, compartment_id): """ self._compartment_id = compartment_id - @property - def defined_tags(self): - """ - Gets the defined_tags of this LoadBalancer. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. - - Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` - - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm - - - :return: The defined_tags of this LoadBalancer. - :rtype: dict(str, dict(str, object)) - """ - return self._defined_tags - - @defined_tags.setter - def defined_tags(self, defined_tags): - """ - Sets the defined_tags of this LoadBalancer. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. - - Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` - - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm - - - :param defined_tags: The defined_tags of this LoadBalancer. - :type: dict(str, dict(str, object)) - """ - self._defined_tags = defined_tags - @property def display_name(self): """ @@ -304,86 +265,62 @@ def display_name(self, display_name): self._display_name = display_name @property - def freeform_tags(self): - """ - Gets the freeform_tags of this LoadBalancer. - 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`__. - - Example: `{\"Department\": \"Finance\"}` - - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm - - - :return: The freeform_tags of this LoadBalancer. - :rtype: dict(str, str) - """ - return self._freeform_tags - - @freeform_tags.setter - def freeform_tags(self, freeform_tags): + def lifecycle_state(self): """ - Sets the freeform_tags of this LoadBalancer. - 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`__. - - Example: `{\"Department\": \"Finance\"}` - - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm + **[Required]** Gets the lifecycle_state of this LoadBalancer. + The current state of the load balancer. + Allowed values for this property are: "CREATING", "FAILED", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. - :param freeform_tags: The freeform_tags of this LoadBalancer. - :type: dict(str, str) - """ - self._freeform_tags = freeform_tags - @property - def hostnames(self): + :return: The lifecycle_state of this LoadBalancer. + :rtype: str """ - Gets the hostnames of this LoadBalancer. + return self._lifecycle_state - :return: The hostnames of this LoadBalancer. - :rtype: dict(str, Hostname) + @lifecycle_state.setter + def lifecycle_state(self, lifecycle_state): """ - return self._hostnames + Sets the lifecycle_state of this LoadBalancer. + The current state of the load balancer. - @hostnames.setter - def hostnames(self, hostnames): - """ - Sets the hostnames of this LoadBalancer. - :param hostnames: The hostnames of this LoadBalancer. - :type: dict(str, Hostname) + :param lifecycle_state: The lifecycle_state of this LoadBalancer. + :type: str """ - self._hostnames = hostnames + allowed_values = ["CREATING", "FAILED", "ACTIVE", "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 id(self): + def time_created(self): """ - **[Required]** Gets the id of this LoadBalancer. - The `OCID`__ of the load balancer. + **[Required]** Gets the time_created of this LoadBalancer. + The date and time the load balancer was created, in the format defined by RFC3339. - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm + Example: `2016-08-25T21:10:29.600Z` - :return: The id of this LoadBalancer. - :rtype: str + :return: The time_created of this LoadBalancer. + :rtype: datetime """ - return self._id + return self._time_created - @id.setter - def id(self, id): + @time_created.setter + def time_created(self, time_created): """ - Sets the id of this LoadBalancer. - The `OCID`__ of the load balancer. + Sets the time_created of this LoadBalancer. + The date and time the load balancer was created, in the format defined by RFC3339. - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm + Example: `2016-08-25T21:10:29.600Z` - :param id: The id of this LoadBalancer. - :type: str + :param time_created: The time_created of this LoadBalancer. + :type: datetime """ - self._id = id + self._time_created = time_created @property def ip_addresses(self): @@ -409,27 +346,56 @@ def ip_addresses(self, ip_addresses): """ self._ip_addresses = ip_addresses + @property + def shape_name(self): + """ + **[Required]** Gets the shape_name of this LoadBalancer. + A template that determines the total pre-provisioned bandwidth (ingress plus egress). + To get a list of available shapes, use the :func:`list_shapes` + operation. + + Example: `100Mbps` + + + :return: The shape_name of this LoadBalancer. + :rtype: str + """ + return self._shape_name + + @shape_name.setter + def shape_name(self, shape_name): + """ + Sets the shape_name of this LoadBalancer. + A template that determines the total pre-provisioned bandwidth (ingress plus egress). + To get a list of available shapes, use the :func:`list_shapes` + operation. + + Example: `100Mbps` + + + :param shape_name: The shape_name of this LoadBalancer. + :type: str + """ + self._shape_name = shape_name + @property def is_private(self): """ Gets the is_private of this LoadBalancer. Whether the load balancer has a VCN-local (private) IP address. - If \"true\", the service assigns a private IP address to the load balancer. The load balancer requires only one subnet - to host both the primary and secondary load balancers. The private IP address is local to the subnet. The load balancer - is accessible only from within the VCN that contains the associated subnet, or as further restricted by your security - list rules. The load balancer can route traffic to any backend server that is reachable from the VCN. + If \"true\", the service assigns a private IP address to the load balancer. - For a private load balancer, both the primary and secondary load balancer hosts are within the same Availability Domain. + If \"false\", the service assigns a public IP address to the load balancer. - If \"false\", the service assigns a public IP address to the load balancer. A load balancer with a public IP address - requires two subnets, each in a different Availability Domain. One subnet hosts the primary load balancer and the other - hosts the secondary (standby) load balancer. A public load balancer is accessible from the internet, depending on your - VCN's `security list rules`__. + A public load balancer is accessible from the internet, depending on your VCN's + `security list rules`__. For more information about public and + private load balancers, see `How Load Balancing Works`__. Example: `true` __ https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/securitylists.htm + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works :return: The is_private of this LoadBalancer. @@ -443,21 +409,18 @@ def is_private(self, is_private): Sets the is_private of this LoadBalancer. Whether the load balancer has a VCN-local (private) IP address. - If \"true\", the service assigns a private IP address to the load balancer. The load balancer requires only one subnet - to host both the primary and secondary load balancers. The private IP address is local to the subnet. The load balancer - is accessible only from within the VCN that contains the associated subnet, or as further restricted by your security - list rules. The load balancer can route traffic to any backend server that is reachable from the VCN. + If \"true\", the service assigns a private IP address to the load balancer. - For a private load balancer, both the primary and secondary load balancer hosts are within the same Availability Domain. + If \"false\", the service assigns a public IP address to the load balancer. - If \"false\", the service assigns a public IP address to the load balancer. A load balancer with a public IP address - requires two subnets, each in a different Availability Domain. One subnet hosts the primary load balancer and the other - hosts the secondary (standby) load balancer. A public load balancer is accessible from the internet, depending on your - VCN's `security list rules`__. + A public load balancer is accessible from the internet, depending on your VCN's + `security list rules`__. For more information about public and + private load balancers, see `How Load Balancing Works`__. Example: `true` __ https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/securitylists.htm + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works :param is_private: The is_private of this LoadBalancer. @@ -466,34 +429,32 @@ def is_private(self, is_private): self._is_private = is_private @property - def lifecycle_state(self): + def subnet_ids(self): """ - **[Required]** Gets the lifecycle_state of this LoadBalancer. - The current state of the load balancer. + Gets the subnet_ids of this LoadBalancer. + An array of subnet `OCIDs`__. - Allowed values for this property are: "CREATING", "FAILED", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. - Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm - :return: The lifecycle_state of this LoadBalancer. - :rtype: str + :return: The subnet_ids of this LoadBalancer. + :rtype: list[str] """ - return self._lifecycle_state + return self._subnet_ids - @lifecycle_state.setter - def lifecycle_state(self, lifecycle_state): + @subnet_ids.setter + def subnet_ids(self, subnet_ids): """ - Sets the lifecycle_state of this LoadBalancer. - The current state of the load balancer. + Sets the subnet_ids of this LoadBalancer. + An array of subnet `OCIDs`__. + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm - :param lifecycle_state: The lifecycle_state of this LoadBalancer. - :type: str + + :param subnet_ids: The subnet_ids of this LoadBalancer. + :type: list[str] """ - allowed_values = ["CREATING", "FAILED", "ACTIVE", "DELETING", "DELETED"] - if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): - lifecycle_state = 'UNKNOWN_ENUM_VALUE' - self._lifecycle_state = lifecycle_state + self._subnet_ids = subnet_ids @property def listeners(self): @@ -515,6 +476,66 @@ def listeners(self, listeners): """ self._listeners = listeners + @property + def hostnames(self): + """ + Gets the hostnames of this LoadBalancer. + + :return: The hostnames of this LoadBalancer. + :rtype: dict(str, Hostname) + """ + return self._hostnames + + @hostnames.setter + def hostnames(self, hostnames): + """ + Sets the hostnames of this LoadBalancer. + + :param hostnames: The hostnames of this LoadBalancer. + :type: dict(str, Hostname) + """ + self._hostnames = hostnames + + @property + def certificates(self): + """ + Gets the certificates of this LoadBalancer. + + :return: The certificates of this LoadBalancer. + :rtype: dict(str, Certificate) + """ + return self._certificates + + @certificates.setter + def certificates(self, certificates): + """ + Sets the certificates of this LoadBalancer. + + :param certificates: The certificates of this LoadBalancer. + :type: dict(str, Certificate) + """ + self._certificates = certificates + + @property + def backend_sets(self): + """ + Gets the backend_sets of this LoadBalancer. + + :return: The backend_sets of this LoadBalancer. + :rtype: dict(str, BackendSet) + """ + return self._backend_sets + + @backend_sets.setter + def backend_sets(self, backend_sets): + """ + Sets the backend_sets of this LoadBalancer. + + :param backend_sets: The backend_sets of this LoadBalancer. + :type: dict(str, BackendSet) + """ + self._backend_sets = backend_sets + @property def path_route_sets(self): """ @@ -536,92 +557,92 @@ def path_route_sets(self, path_route_sets): self._path_route_sets = path_route_sets @property - def shape_name(self): + def freeform_tags(self): """ - **[Required]** Gets the shape_name of this LoadBalancer. - A template that determines the total pre-provisioned bandwidth (ingress plus egress). - To get a list of available shapes, use the :func:`list_shapes` - operation. + Gets the freeform_tags of this LoadBalancer. + 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`__. - Example: `100Mbps` + Example: `{\"Department\": \"Finance\"}` + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm - :return: The shape_name of this LoadBalancer. - :rtype: str + + :return: The freeform_tags of this LoadBalancer. + :rtype: dict(str, str) """ - return self._shape_name + return self._freeform_tags - @shape_name.setter - def shape_name(self, shape_name): + @freeform_tags.setter + def freeform_tags(self, freeform_tags): """ - Sets the shape_name of this LoadBalancer. - A template that determines the total pre-provisioned bandwidth (ingress plus egress). - To get a list of available shapes, use the :func:`list_shapes` - operation. + Sets the freeform_tags of this LoadBalancer. + 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`__. - Example: `100Mbps` + Example: `{\"Department\": \"Finance\"}` + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm - :param shape_name: The shape_name of this LoadBalancer. - :type: str + + :param freeform_tags: The freeform_tags of this LoadBalancer. + :type: dict(str, str) """ - self._shape_name = shape_name + self._freeform_tags = freeform_tags @property - def subnet_ids(self): + def defined_tags(self): """ - Gets the subnet_ids of this LoadBalancer. - An array of subnet `OCIDs`__. + Gets the defined_tags of this LoadBalancer. + Defined tags for this resource. Each key is predefined and scoped to a namespace. + For more information, see `Resource Tags`__. - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm + Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm - :return: The subnet_ids of this LoadBalancer. - :rtype: list[str] + + :return: The defined_tags of this LoadBalancer. + :rtype: dict(str, dict(str, object)) """ - return self._subnet_ids + return self._defined_tags - @subnet_ids.setter - def subnet_ids(self, subnet_ids): + @defined_tags.setter + def defined_tags(self, defined_tags): """ - Sets the subnet_ids of this LoadBalancer. - An array of subnet `OCIDs`__. + Sets the defined_tags of this LoadBalancer. + Defined tags for this resource. Each key is predefined and scoped to a namespace. + For more information, see `Resource Tags`__. - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm + Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm - :param subnet_ids: The subnet_ids of this LoadBalancer. - :type: list[str] + + :param defined_tags: The defined_tags of this LoadBalancer. + :type: dict(str, dict(str, object)) """ - self._subnet_ids = subnet_ids + self._defined_tags = defined_tags @property - def time_created(self): + def rule_sets(self): """ - **[Required]** Gets the time_created of this LoadBalancer. - The date and time the load balancer was created, in the format defined by RFC3339. + Gets the rule_sets of this LoadBalancer. - Example: `2016-08-25T21:10:29.600Z` - - - :return: The time_created of this LoadBalancer. - :rtype: datetime + :return: The rule_sets of this LoadBalancer. + :rtype: dict(str, RuleSet) """ - return self._time_created + return self._rule_sets - @time_created.setter - def time_created(self, time_created): + @rule_sets.setter + def rule_sets(self, rule_sets): """ - Sets the time_created of this LoadBalancer. - The date and time the load balancer was created, in the format defined by RFC3339. - - Example: `2016-08-25T21:10:29.600Z` + Sets the rule_sets of this LoadBalancer. - - :param time_created: The time_created of this LoadBalancer. - :type: datetime + :param rule_sets: The rule_sets of this LoadBalancer. + :type: dict(str, RuleSet) """ - self._time_created = time_created + self._rule_sets = rule_sets def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/load_balancer_health.py b/src/oci/load_balancer/models/load_balancer_health.py index 9b3060fd02..217e7a5ecb 100644 --- a/src/oci/load_balancer/models/load_balancer_health.py +++ b/src/oci/load_balancer/models/load_balancer_health.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -36,80 +36,50 @@ def __init__(self, **kwargs): Initializes a new LoadBalancerHealth object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param critical_state_backend_set_names: - The value to assign to the critical_state_backend_set_names property of this LoadBalancerHealth. - :type critical_state_backend_set_names: list[str] - :param status: The value to assign to the status property of this LoadBalancerHealth. Allowed values for this property are: "OK", "WARNING", "CRITICAL", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str - :param total_backend_set_count: - The value to assign to the total_backend_set_count property of this LoadBalancerHealth. - :type total_backend_set_count: int + :param warning_state_backend_set_names: + The value to assign to the warning_state_backend_set_names property of this LoadBalancerHealth. + :type warning_state_backend_set_names: list[str] + + :param critical_state_backend_set_names: + The value to assign to the critical_state_backend_set_names property of this LoadBalancerHealth. + :type critical_state_backend_set_names: list[str] :param unknown_state_backend_set_names: The value to assign to the unknown_state_backend_set_names property of this LoadBalancerHealth. :type unknown_state_backend_set_names: list[str] - :param warning_state_backend_set_names: - The value to assign to the warning_state_backend_set_names property of this LoadBalancerHealth. - :type warning_state_backend_set_names: list[str] + :param total_backend_set_count: + The value to assign to the total_backend_set_count property of this LoadBalancerHealth. + :type total_backend_set_count: int """ self.swagger_types = { - 'critical_state_backend_set_names': 'list[str]', 'status': 'str', - 'total_backend_set_count': 'int', + 'warning_state_backend_set_names': 'list[str]', + 'critical_state_backend_set_names': 'list[str]', 'unknown_state_backend_set_names': 'list[str]', - 'warning_state_backend_set_names': 'list[str]' + 'total_backend_set_count': 'int' } self.attribute_map = { - 'critical_state_backend_set_names': 'criticalStateBackendSetNames', 'status': 'status', - 'total_backend_set_count': 'totalBackendSetCount', + 'warning_state_backend_set_names': 'warningStateBackendSetNames', + 'critical_state_backend_set_names': 'criticalStateBackendSetNames', 'unknown_state_backend_set_names': 'unknownStateBackendSetNames', - 'warning_state_backend_set_names': 'warningStateBackendSetNames' + 'total_backend_set_count': 'totalBackendSetCount' } - self._critical_state_backend_set_names = None self._status = None - self._total_backend_set_count = None - self._unknown_state_backend_set_names = None self._warning_state_backend_set_names = None - - @property - def critical_state_backend_set_names(self): - """ - **[Required]** Gets the critical_state_backend_set_names of this LoadBalancerHealth. - A list of backend sets that are currently in the `CRITICAL` health state. The list identifies each backend set by the - friendly name you assigned when you created it. - - Example: `example_backend_set` - - - :return: The critical_state_backend_set_names of this LoadBalancerHealth. - :rtype: list[str] - """ - return self._critical_state_backend_set_names - - @critical_state_backend_set_names.setter - def critical_state_backend_set_names(self, critical_state_backend_set_names): - """ - Sets the critical_state_backend_set_names of this LoadBalancerHealth. - A list of backend sets that are currently in the `CRITICAL` health state. The list identifies each backend set by the - friendly name you assigned when you created it. - - Example: `example_backend_set` - - - :param critical_state_backend_set_names: The critical_state_backend_set_names of this LoadBalancerHealth. - :type: list[str] - """ - self._critical_state_backend_set_names = critical_state_backend_set_names + self._critical_state_backend_set_names = None + self._unknown_state_backend_set_names = None + self._total_backend_set_count = None @property def status(self): @@ -178,32 +148,64 @@ def status(self, status): self._status = status @property - def total_backend_set_count(self): + def warning_state_backend_set_names(self): """ - **[Required]** Gets the total_backend_set_count of this LoadBalancerHealth. - The total number of backend sets associated with this load balancer. + **[Required]** Gets the warning_state_backend_set_names of this LoadBalancerHealth. + A list of backend sets that are currently in the `WARNING` health state. The list identifies each backend set by the + friendly name you assigned when you created it. - Example: `4` + Example: `example_backend_set3` - :return: The total_backend_set_count of this LoadBalancerHealth. - :rtype: int + :return: The warning_state_backend_set_names of this LoadBalancerHealth. + :rtype: list[str] """ - return self._total_backend_set_count + return self._warning_state_backend_set_names - @total_backend_set_count.setter - def total_backend_set_count(self, total_backend_set_count): + @warning_state_backend_set_names.setter + def warning_state_backend_set_names(self, warning_state_backend_set_names): """ - Sets the total_backend_set_count of this LoadBalancerHealth. - The total number of backend sets associated with this load balancer. + Sets the warning_state_backend_set_names of this LoadBalancerHealth. + A list of backend sets that are currently in the `WARNING` health state. The list identifies each backend set by the + friendly name you assigned when you created it. - Example: `4` + Example: `example_backend_set3` - :param total_backend_set_count: The total_backend_set_count of this LoadBalancerHealth. - :type: int + :param warning_state_backend_set_names: The warning_state_backend_set_names of this LoadBalancerHealth. + :type: list[str] """ - self._total_backend_set_count = total_backend_set_count + self._warning_state_backend_set_names = warning_state_backend_set_names + + @property + def critical_state_backend_set_names(self): + """ + **[Required]** Gets the critical_state_backend_set_names of this LoadBalancerHealth. + A list of backend sets that are currently in the `CRITICAL` health state. The list identifies each backend set by the + friendly name you assigned when you created it. + + Example: `example_backend_set` + + + :return: The critical_state_backend_set_names of this LoadBalancerHealth. + :rtype: list[str] + """ + return self._critical_state_backend_set_names + + @critical_state_backend_set_names.setter + def critical_state_backend_set_names(self, critical_state_backend_set_names): + """ + Sets the critical_state_backend_set_names of this LoadBalancerHealth. + A list of backend sets that are currently in the `CRITICAL` health state. The list identifies each backend set by the + friendly name you assigned when you created it. + + Example: `example_backend_set` + + + :param critical_state_backend_set_names: The critical_state_backend_set_names of this LoadBalancerHealth. + :type: list[str] + """ + self._critical_state_backend_set_names = critical_state_backend_set_names @property def unknown_state_backend_set_names(self): @@ -236,34 +238,32 @@ def unknown_state_backend_set_names(self, unknown_state_backend_set_names): self._unknown_state_backend_set_names = unknown_state_backend_set_names @property - def warning_state_backend_set_names(self): + def total_backend_set_count(self): """ - **[Required]** Gets the warning_state_backend_set_names of this LoadBalancerHealth. - A list of backend sets that are currently in the `WARNING` health state. The list identifies each backend set by the - friendly name you assigned when you created it. + **[Required]** Gets the total_backend_set_count of this LoadBalancerHealth. + The total number of backend sets associated with this load balancer. - Example: `example_backend_set3` + Example: `4` - :return: The warning_state_backend_set_names of this LoadBalancerHealth. - :rtype: list[str] + :return: The total_backend_set_count of this LoadBalancerHealth. + :rtype: int """ - return self._warning_state_backend_set_names + return self._total_backend_set_count - @warning_state_backend_set_names.setter - def warning_state_backend_set_names(self, warning_state_backend_set_names): + @total_backend_set_count.setter + def total_backend_set_count(self, total_backend_set_count): """ - Sets the warning_state_backend_set_names of this LoadBalancerHealth. - A list of backend sets that are currently in the `WARNING` health state. The list identifies each backend set by the - friendly name you assigned when you created it. + Sets the total_backend_set_count of this LoadBalancerHealth. + The total number of backend sets associated with this load balancer. - Example: `example_backend_set3` + Example: `4` - :param warning_state_backend_set_names: The warning_state_backend_set_names of this LoadBalancerHealth. - :type: list[str] + :param total_backend_set_count: The total_backend_set_count of this LoadBalancerHealth. + :type: int """ - self._warning_state_backend_set_names = warning_state_backend_set_names + self._total_backend_set_count = total_backend_set_count def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/load_balancer_health_summary.py b/src/oci/load_balancer/models/load_balancer_health_summary.py index 2f71f72cf8..d7c5ae8b40 100644 --- a/src/oci/load_balancer/models/load_balancer_health_summary.py +++ b/src/oci/load_balancer/models/load_balancer_health_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/load_balancer/models/load_balancer_policy.py b/src/oci/load_balancer/models/load_balancer_policy.py index 02a196eb2b..9345fc503a 100644 --- a/src/oci/load_balancer/models/load_balancer_policy.py +++ b/src/oci/load_balancer/models/load_balancer_policy.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/load_balancer/models/load_balancer_protocol.py b/src/oci/load_balancer/models/load_balancer_protocol.py index 33ebc042b8..e86e969d2c 100644 --- a/src/oci/load_balancer/models/load_balancer_protocol.py +++ b/src/oci/load_balancer/models/load_balancer_protocol.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/load_balancer/models/load_balancer_shape.py b/src/oci/load_balancer/models/load_balancer_shape.py index 1a7b6de97c..39d2f65077 100644 --- a/src/oci/load_balancer/models/load_balancer_shape.py +++ b/src/oci/load_balancer/models/load_balancer_shape.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/load_balancer/models/path_match_type.py b/src/oci/load_balancer/models/path_match_type.py index aece2942db..fb33ed0358 100644 --- a/src/oci/load_balancer/models/path_match_type.py +++ b/src/oci/load_balancer/models/path_match_type.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/load_balancer/models/path_route.py b/src/oci/load_balancer/models/path_route.py index dcb7349353..c3a7f2c5ad 100644 --- a/src/oci/load_balancer/models/path_route.py +++ b/src/oci/load_balancer/models/path_route.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -19,10 +19,6 @@ def __init__(self, **kwargs): Initializes a new PathRoute object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param backend_set_name: - The value to assign to the backend_set_name property of this PathRoute. - :type backend_set_name: str - :param path: The value to assign to the path property of this PathRoute. :type path: str @@ -31,50 +27,26 @@ def __init__(self, **kwargs): The value to assign to the path_match_type property of this PathRoute. :type path_match_type: PathMatchType + :param backend_set_name: + The value to assign to the backend_set_name property of this PathRoute. + :type backend_set_name: str + """ self.swagger_types = { - 'backend_set_name': 'str', 'path': 'str', - 'path_match_type': 'PathMatchType' + 'path_match_type': 'PathMatchType', + 'backend_set_name': 'str' } self.attribute_map = { - 'backend_set_name': 'backendSetName', 'path': 'path', - 'path_match_type': 'pathMatchType' + 'path_match_type': 'pathMatchType', + 'backend_set_name': 'backendSetName' } - self._backend_set_name = None self._path = None self._path_match_type = None - - @property - def backend_set_name(self): - """ - **[Required]** Gets the backend_set_name of this PathRoute. - The name of the target backend set for requests where the incoming URI matches the specified path. - - Example: `example_backend_set` - - - :return: The backend_set_name of this PathRoute. - :rtype: str - """ - return self._backend_set_name - - @backend_set_name.setter - def backend_set_name(self, backend_set_name): - """ - Sets the backend_set_name of this PathRoute. - The name of the target backend set for requests where the incoming URI matches the specified path. - - Example: `example_backend_set` - - - :param backend_set_name: The backend_set_name of this PathRoute. - :type: str - """ - self._backend_set_name = backend_set_name + self._backend_set_name = None @property def path(self): @@ -140,6 +112,34 @@ def path_match_type(self, path_match_type): """ self._path_match_type = path_match_type + @property + def backend_set_name(self): + """ + **[Required]** Gets the backend_set_name of this PathRoute. + The name of the target backend set for requests where the incoming URI matches the specified path. + + Example: `example_backend_set` + + + :return: The backend_set_name of this PathRoute. + :rtype: str + """ + return self._backend_set_name + + @backend_set_name.setter + def backend_set_name(self, backend_set_name): + """ + Sets the backend_set_name of this PathRoute. + The name of the target backend set for requests where the incoming URI matches the specified path. + + Example: `example_backend_set` + + + :param backend_set_name: The backend_set_name of this PathRoute. + :type: str + """ + self._backend_set_name = backend_set_name + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/path_route_set.py b/src/oci/load_balancer/models/path_route_set.py index 3664f65dcf..c417f58e91 100644 --- a/src/oci/load_balancer/models/path_route_set.py +++ b/src/oci/load_balancer/models/path_route_set.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -12,6 +12,8 @@ class PathRouteSet(object): A named set of path route rules. For more information, see `Managing Request Routing`__. + **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm """ diff --git a/src/oci/load_balancer/models/path_route_set_details.py b/src/oci/load_balancer/models/path_route_set_details.py index 44b8eea2dd..ed91a55db8 100644 --- a/src/oci/load_balancer/models/path_route_set_details.py +++ b/src/oci/load_balancer/models/path_route_set_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/load_balancer/models/remove_http_request_header_rule.py b/src/oci/load_balancer/models/remove_http_request_header_rule.py new file mode 100644 index 0000000000..ccc81d160a --- /dev/null +++ b/src/oci/load_balancer/models/remove_http_request_header_rule.py @@ -0,0 +1,89 @@ +# coding: utf-8 +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. + +from .rule import Rule +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class RemoveHttpRequestHeaderRule(Rule): + """ + An object that represents the action of removing a header from a request. This rule applies only to HTTP or HTTP2 listeners. + + If the same header appears more than once in the request, the load balancer removes all occurances of the specified header. + + **NOTE:** The system does not distinquish between underscore and dash characters in headers. That is, it treats + `example_header_name` and `example-header-name` as identical. Oracle recommends that you do not rely on underscore + or dash characters to uniquely distinguish header names. + """ + + def __init__(self, **kwargs): + """ + Initializes a new RemoveHttpRequestHeaderRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.RemoveHttpRequestHeaderRule.action` attribute + of this class is ``REMOVE_HTTP_REQUEST_HEADER`` and it should not be changed. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param action: + The value to assign to the action property of this RemoveHttpRequestHeaderRule. + Allowed values for this property are: "ADD_HTTP_REQUEST_HEADER", "EXTEND_HTTP_REQUEST_HEADER_VALUE", "REMOVE_HTTP_REQUEST_HEADER", "ADD_HTTP_RESPONSE_HEADER", "EXTEND_HTTP_RESPONSE_HEADER_VALUE", "REMOVE_HTTP_RESPONSE_HEADER" + :type action: str + + :param header: + The value to assign to the header property of this RemoveHttpRequestHeaderRule. + :type header: str + + """ + self.swagger_types = { + 'action': 'str', + 'header': 'str' + } + + self.attribute_map = { + 'action': 'action', + 'header': 'header' + } + + self._action = None + self._header = None + self._action = 'REMOVE_HTTP_REQUEST_HEADER' + + @property + def header(self): + """ + **[Required]** Gets the header of this RemoveHttpRequestHeaderRule. + A header name that conforms to RFC 7230. + + Example: `example_header_name` + + + :return: The header of this RemoveHttpRequestHeaderRule. + :rtype: str + """ + return self._header + + @header.setter + def header(self, header): + """ + Sets the header of this RemoveHttpRequestHeaderRule. + A header name that conforms to RFC 7230. + + Example: `example_header_name` + + + :param header: The header of this RemoveHttpRequestHeaderRule. + :type: str + """ + self._header = header + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/load_balancer/models/remove_http_response_header_rule.py b/src/oci/load_balancer/models/remove_http_response_header_rule.py new file mode 100644 index 0000000000..9171bcd868 --- /dev/null +++ b/src/oci/load_balancer/models/remove_http_response_header_rule.py @@ -0,0 +1,89 @@ +# coding: utf-8 +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. + +from .rule import Rule +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class RemoveHttpResponseHeaderRule(Rule): + """ + An object that represents the action of removing a header from a response. This rule applies only to HTTP or HTTP2 listeners. + + If the same header appears more than once in the response, the load balancer removes all occurances of the specified header. + + **NOTE:** The system does not distinquish between underscore and dash characters in headers. That is, it treats + `example_header_name` and `example-header-name` as identical. Oracle recommends that you do not rely on underscore + or dash characters to uniquely distinguish header names. + """ + + def __init__(self, **kwargs): + """ + Initializes a new RemoveHttpResponseHeaderRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.RemoveHttpResponseHeaderRule.action` attribute + of this class is ``REMOVE_HTTP_RESPONSE_HEADER`` and it should not be changed. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param action: + The value to assign to the action property of this RemoveHttpResponseHeaderRule. + Allowed values for this property are: "ADD_HTTP_REQUEST_HEADER", "EXTEND_HTTP_REQUEST_HEADER_VALUE", "REMOVE_HTTP_REQUEST_HEADER", "ADD_HTTP_RESPONSE_HEADER", "EXTEND_HTTP_RESPONSE_HEADER_VALUE", "REMOVE_HTTP_RESPONSE_HEADER" + :type action: str + + :param header: + The value to assign to the header property of this RemoveHttpResponseHeaderRule. + :type header: str + + """ + self.swagger_types = { + 'action': 'str', + 'header': 'str' + } + + self.attribute_map = { + 'action': 'action', + 'header': 'header' + } + + self._action = None + self._header = None + self._action = 'REMOVE_HTTP_RESPONSE_HEADER' + + @property + def header(self): + """ + **[Required]** Gets the header of this RemoveHttpResponseHeaderRule. + A header name that conforms to RFC 7230. + + Example: `example_header_name` + + + :return: The header of this RemoveHttpResponseHeaderRule. + :rtype: str + """ + return self._header + + @header.setter + def header(self, header): + """ + Sets the header of this RemoveHttpResponseHeaderRule. + A header name that conforms to RFC 7230. + + Example: `example_header_name` + + + :param header: The header of this RemoveHttpResponseHeaderRule. + :type: str + """ + self._header = header + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/load_balancer/models/rule.py b/src/oci/load_balancer/models/rule.py new file mode 100644 index 0000000000..1b7ded2575 --- /dev/null +++ b/src/oci/load_balancer/models/rule.py @@ -0,0 +1,134 @@ +# coding: utf-8 +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. + + +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class Rule(object): + """ + An object that represents an action to apply to a listener. + """ + + #: A constant which can be used with the action property of a Rule. + #: This constant has a value of "ADD_HTTP_REQUEST_HEADER" + ACTION_ADD_HTTP_REQUEST_HEADER = "ADD_HTTP_REQUEST_HEADER" + + #: A constant which can be used with the action property of a Rule. + #: This constant has a value of "EXTEND_HTTP_REQUEST_HEADER_VALUE" + ACTION_EXTEND_HTTP_REQUEST_HEADER_VALUE = "EXTEND_HTTP_REQUEST_HEADER_VALUE" + + #: A constant which can be used with the action property of a Rule. + #: This constant has a value of "REMOVE_HTTP_REQUEST_HEADER" + ACTION_REMOVE_HTTP_REQUEST_HEADER = "REMOVE_HTTP_REQUEST_HEADER" + + #: A constant which can be used with the action property of a Rule. + #: This constant has a value of "ADD_HTTP_RESPONSE_HEADER" + ACTION_ADD_HTTP_RESPONSE_HEADER = "ADD_HTTP_RESPONSE_HEADER" + + #: A constant which can be used with the action property of a Rule. + #: This constant has a value of "EXTEND_HTTP_RESPONSE_HEADER_VALUE" + ACTION_EXTEND_HTTP_RESPONSE_HEADER_VALUE = "EXTEND_HTTP_RESPONSE_HEADER_VALUE" + + #: A constant which can be used with the action property of a Rule. + #: This constant has a value of "REMOVE_HTTP_RESPONSE_HEADER" + ACTION_REMOVE_HTTP_RESPONSE_HEADER = "REMOVE_HTTP_RESPONSE_HEADER" + + def __init__(self, **kwargs): + """ + Initializes a new Rule object with values from keyword arguments. This class has the following subclasses and if you are using this class as input + to a service operations then you should favor using a subclass over the base class: + + * :class:`~oci.load_balancer.models.AddHttpRequestHeaderRule` + * :class:`~oci.load_balancer.models.RemoveHttpRequestHeaderRule` + * :class:`~oci.load_balancer.models.ExtendHttpRequestHeaderValueRule` + * :class:`~oci.load_balancer.models.RemoveHttpResponseHeaderRule` + * :class:`~oci.load_balancer.models.AddHttpResponseHeaderRule` + * :class:`~oci.load_balancer.models.ExtendHttpResponseHeaderValueRule` + + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param action: + The value to assign to the action property of this Rule. + Allowed values for this property are: "ADD_HTTP_REQUEST_HEADER", "EXTEND_HTTP_REQUEST_HEADER_VALUE", "REMOVE_HTTP_REQUEST_HEADER", "ADD_HTTP_RESPONSE_HEADER", "EXTEND_HTTP_RESPONSE_HEADER_VALUE", "REMOVE_HTTP_RESPONSE_HEADER", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type action: str + + """ + self.swagger_types = { + 'action': 'str' + } + + self.attribute_map = { + 'action': 'action' + } + + self._action = None + + @staticmethod + def get_subtype(object_dictionary): + """ + Given the hash representation of a subtype of this class, + use the info in the hash to return the class of the subtype. + """ + type = object_dictionary['action'] + + if type == 'ADD_HTTP_REQUEST_HEADER': + return 'AddHttpRequestHeaderRule' + + if type == 'REMOVE_HTTP_REQUEST_HEADER': + return 'RemoveHttpRequestHeaderRule' + + if type == 'EXTEND_HTTP_REQUEST_HEADER_VALUE': + return 'ExtendHttpRequestHeaderValueRule' + + if type == 'REMOVE_HTTP_RESPONSE_HEADER': + return 'RemoveHttpResponseHeaderRule' + + if type == 'ADD_HTTP_RESPONSE_HEADER': + return 'AddHttpResponseHeaderRule' + + if type == 'EXTEND_HTTP_RESPONSE_HEADER_VALUE': + return 'ExtendHttpResponseHeaderValueRule' + else: + return 'Rule' + + @property + def action(self): + """ + **[Required]** Gets the action of this Rule. + Allowed values for this property are: "ADD_HTTP_REQUEST_HEADER", "EXTEND_HTTP_REQUEST_HEADER_VALUE", "REMOVE_HTTP_REQUEST_HEADER", "ADD_HTTP_RESPONSE_HEADER", "EXTEND_HTTP_RESPONSE_HEADER_VALUE", "REMOVE_HTTP_RESPONSE_HEADER", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The action of this Rule. + :rtype: str + """ + return self._action + + @action.setter + def action(self, action): + """ + Sets the action of this Rule. + + :param action: The action of this Rule. + :type: str + """ + allowed_values = ["ADD_HTTP_REQUEST_HEADER", "EXTEND_HTTP_REQUEST_HEADER_VALUE", "REMOVE_HTTP_REQUEST_HEADER", "ADD_HTTP_RESPONSE_HEADER", "EXTEND_HTTP_RESPONSE_HEADER_VALUE", "REMOVE_HTTP_RESPONSE_HEADER"] + if not value_allowed_none_or_none_sentinel(action, allowed_values): + action = 'UNKNOWN_ENUM_VALUE' + self._action = action + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/load_balancer/models/rule_set.py b/src/oci/load_balancer/models/rule_set.py new file mode 100644 index 0000000000..7858b621e3 --- /dev/null +++ b/src/oci/load_balancer/models/rule_set.py @@ -0,0 +1,107 @@ +# coding: utf-8 +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. + + +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class RuleSet(object): + """ + A named set of rules associated with a load balancer. Rules are objects that represent actions to apply to a listener, + such as adding, altering, or removing HTTP headers. + """ + + def __init__(self, **kwargs): + """ + Initializes a new RuleSet object with values from keyword arguments. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param name: + The value to assign to the name property of this RuleSet. + :type name: str + + :param items: + The value to assign to the items property of this RuleSet. + :type items: list[Rule] + + """ + self.swagger_types = { + 'name': 'str', + 'items': 'list[Rule]' + } + + self.attribute_map = { + 'name': 'name', + 'items': 'items' + } + + self._name = None + self._items = None + + @property + def name(self): + """ + **[Required]** Gets the name of this RuleSet. + The name for this set of rules. It must be unique and it cannot be changed. Avoid entering + confidential information. + + Example: `example_rule_set` + + + :return: The name of this RuleSet. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this RuleSet. + The name for this set of rules. It must be unique and it cannot be changed. Avoid entering + confidential information. + + Example: `example_rule_set` + + + :param name: The name of this RuleSet. + :type: str + """ + self._name = name + + @property + def items(self): + """ + **[Required]** Gets the items of this RuleSet. + An array of rules that compose the rule set. + + + :return: The items of this RuleSet. + :rtype: list[Rule] + """ + return self._items + + @items.setter + def items(self, items): + """ + Sets the items of this RuleSet. + An array of rules that compose the rule set. + + + :param items: The items of this RuleSet. + :type: list[Rule] + """ + self._items = items + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/load_balancer/models/rule_set_details.py b/src/oci/load_balancer/models/rule_set_details.py new file mode 100644 index 0000000000..dd61b3df11 --- /dev/null +++ b/src/oci/load_balancer/models/rule_set_details.py @@ -0,0 +1,69 @@ +# coding: utf-8 +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. + + +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class RuleSetDetails(object): + """ + The rules that compose a rule set. + """ + + def __init__(self, **kwargs): + """ + Initializes a new RuleSetDetails object with values from keyword arguments. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param items: + The value to assign to the items property of this RuleSetDetails. + :type items: list[Rule] + + """ + self.swagger_types = { + 'items': 'list[Rule]' + } + + self.attribute_map = { + 'items': 'items' + } + + self._items = None + + @property + def items(self): + """ + **[Required]** Gets the items of this RuleSetDetails. + An array of rules that compose the rule set. + + + :return: The items of this RuleSetDetails. + :rtype: list[Rule] + """ + return self._items + + @items.setter + def items(self, items): + """ + Sets the items of this RuleSetDetails. + An array of rules that compose the rule set. + + + :param items: The items of this RuleSetDetails. + :type: list[Rule] + """ + self._items = items + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other 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 d69ae70969..ba3b38c601 100644 --- a/src/oci/load_balancer/models/session_persistence_configuration_details.py +++ b/src/oci/load_balancer/models/session_persistence_configuration_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/load_balancer/models/ssl_configuration.py b/src/oci/load_balancer/models/ssl_configuration.py index 474f16129d..02336d1bb9 100644 --- a/src/oci/load_balancer/models/ssl_configuration.py +++ b/src/oci/load_balancer/models/ssl_configuration.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -12,6 +12,8 @@ class SSLConfiguration(object): A listener's SSL handling configuration. To use SSL, a listener must be associated with a :class:`Certificate`. + + **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. """ def __init__(self, **kwargs): @@ -23,30 +25,30 @@ def __init__(self, **kwargs): The value to assign to the certificate_name property of this SSLConfiguration. :type certificate_name: str - :param verify_depth: - The value to assign to the verify_depth property of this SSLConfiguration. - :type verify_depth: int - :param verify_peer_certificate: The value to assign to the verify_peer_certificate property of this SSLConfiguration. :type verify_peer_certificate: bool + :param verify_depth: + The value to assign to the verify_depth property of this SSLConfiguration. + :type verify_depth: int + """ self.swagger_types = { 'certificate_name': 'str', - 'verify_depth': 'int', - 'verify_peer_certificate': 'bool' + 'verify_peer_certificate': 'bool', + 'verify_depth': 'int' } self.attribute_map = { 'certificate_name': 'certificateName', - 'verify_depth': 'verifyDepth', - 'verify_peer_certificate': 'verifyPeerCertificate' + 'verify_peer_certificate': 'verifyPeerCertificate', + 'verify_depth': 'verifyDepth' } self._certificate_name = None - self._verify_depth = None self._verify_peer_certificate = None + self._verify_depth = None @property def certificate_name(self): @@ -80,34 +82,6 @@ def certificate_name(self, certificate_name): """ self._certificate_name = certificate_name - @property - def verify_depth(self): - """ - **[Required]** Gets the verify_depth of this SSLConfiguration. - The maximum depth for peer certificate chain verification. - - Example: `3` - - - :return: The verify_depth of this SSLConfiguration. - :rtype: int - """ - return self._verify_depth - - @verify_depth.setter - def verify_depth(self, verify_depth): - """ - Sets the verify_depth of this SSLConfiguration. - The maximum depth for peer certificate chain verification. - - Example: `3` - - - :param verify_depth: The verify_depth of this SSLConfiguration. - :type: int - """ - self._verify_depth = verify_depth - @property def verify_peer_certificate(self): """ @@ -136,6 +110,34 @@ def verify_peer_certificate(self, verify_peer_certificate): """ self._verify_peer_certificate = verify_peer_certificate + @property + def verify_depth(self): + """ + **[Required]** Gets the verify_depth of this SSLConfiguration. + The maximum depth for peer certificate chain verification. + + Example: `3` + + + :return: The verify_depth of this SSLConfiguration. + :rtype: int + """ + return self._verify_depth + + @verify_depth.setter + def verify_depth(self, verify_depth): + """ + Sets the verify_depth of this SSLConfiguration. + The maximum depth for peer certificate chain verification. + + Example: `3` + + + :param verify_depth: The verify_depth of this SSLConfiguration. + :type: int + """ + self._verify_depth = verify_depth + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/ssl_configuration_details.py b/src/oci/load_balancer/models/ssl_configuration_details.py index 943df4b04a..cbdce90eb0 100644 --- a/src/oci/load_balancer/models/ssl_configuration_details.py +++ b/src/oci/load_balancer/models/ssl_configuration_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -10,6 +10,8 @@ class SSLConfigurationDetails(object): """ The load balancer's SSL handling configuration details. + + **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. """ def __init__(self, **kwargs): @@ -21,30 +23,30 @@ def __init__(self, **kwargs): The value to assign to the certificate_name property of this SSLConfigurationDetails. :type certificate_name: str - :param verify_depth: - The value to assign to the verify_depth property of this SSLConfigurationDetails. - :type verify_depth: int - :param verify_peer_certificate: The value to assign to the verify_peer_certificate property of this SSLConfigurationDetails. :type verify_peer_certificate: bool + :param verify_depth: + The value to assign to the verify_depth property of this SSLConfigurationDetails. + :type verify_depth: int + """ self.swagger_types = { 'certificate_name': 'str', - 'verify_depth': 'int', - 'verify_peer_certificate': 'bool' + 'verify_peer_certificate': 'bool', + 'verify_depth': 'int' } self.attribute_map = { 'certificate_name': 'certificateName', - 'verify_depth': 'verifyDepth', - 'verify_peer_certificate': 'verifyPeerCertificate' + 'verify_peer_certificate': 'verifyPeerCertificate', + 'verify_depth': 'verifyDepth' } self._certificate_name = None - self._verify_depth = None self._verify_peer_certificate = None + self._verify_depth = None @property def certificate_name(self): @@ -78,34 +80,6 @@ def certificate_name(self, certificate_name): """ self._certificate_name = certificate_name - @property - def verify_depth(self): - """ - Gets the verify_depth of this SSLConfigurationDetails. - The maximum depth for peer certificate chain verification. - - Example: `3` - - - :return: The verify_depth of this SSLConfigurationDetails. - :rtype: int - """ - return self._verify_depth - - @verify_depth.setter - def verify_depth(self, verify_depth): - """ - Sets the verify_depth of this SSLConfigurationDetails. - The maximum depth for peer certificate chain verification. - - Example: `3` - - - :param verify_depth: The verify_depth of this SSLConfigurationDetails. - :type: int - """ - self._verify_depth = verify_depth - @property def verify_peer_certificate(self): """ @@ -134,6 +108,34 @@ def verify_peer_certificate(self, verify_peer_certificate): """ self._verify_peer_certificate = verify_peer_certificate + @property + def verify_depth(self): + """ + Gets the verify_depth of this SSLConfigurationDetails. + The maximum depth for peer certificate chain verification. + + Example: `3` + + + :return: The verify_depth of this SSLConfigurationDetails. + :rtype: int + """ + return self._verify_depth + + @verify_depth.setter + def verify_depth(self, verify_depth): + """ + Sets the verify_depth of this SSLConfigurationDetails. + The maximum depth for peer certificate chain verification. + + Example: `3` + + + :param verify_depth: The verify_depth of this SSLConfigurationDetails. + :type: int + """ + self._verify_depth = verify_depth + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/update_backend_details.py b/src/oci/load_balancer/models/update_backend_details.py index 1b0fff3f17..95ee7accd2 100644 --- a/src/oci/load_balancer/models/update_backend_details.py +++ b/src/oci/load_balancer/models/update_backend_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -17,6 +17,10 @@ def __init__(self, **kwargs): Initializes a new UpdateBackendDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): + :param weight: + The value to assign to the weight property of this UpdateBackendDetails. + :type weight: int + :param backup: The value to assign to the backup property of this UpdateBackendDetails. :type backup: bool @@ -29,29 +33,65 @@ def __init__(self, **kwargs): The value to assign to the offline property of this UpdateBackendDetails. :type offline: bool - :param weight: - The value to assign to the weight property of this UpdateBackendDetails. - :type weight: int - """ self.swagger_types = { + 'weight': 'int', 'backup': 'bool', 'drain': 'bool', - 'offline': 'bool', - 'weight': 'int' + 'offline': 'bool' } self.attribute_map = { + 'weight': 'weight', 'backup': 'backup', 'drain': 'drain', - 'offline': 'offline', - 'weight': 'weight' + 'offline': 'offline' } + self._weight = None self._backup = None self._drain = None self._offline = None - self._weight = None + + @property + def weight(self): + """ + **[Required]** Gets the weight of this UpdateBackendDetails. + The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger + proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections + as a server weighted '1'. + For more information on load balancing policies, see + `How Load Balancing Policies Work`__. + + Example: `3` + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Reference/lbpolicies.htm + + + :return: The weight of this UpdateBackendDetails. + :rtype: int + """ + return self._weight + + @weight.setter + def weight(self, weight): + """ + Sets the weight of this UpdateBackendDetails. + The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger + proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections + as a server weighted '1'. + For more information on load balancing policies, see + `How Load Balancing Policies Work`__. + + Example: `3` + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Reference/lbpolicies.htm + + + :param weight: The weight of this UpdateBackendDetails. + :type: int + """ + self._weight = weight @property def backup(self): @@ -143,46 +183,6 @@ def offline(self, offline): """ self._offline = offline - @property - def weight(self): - """ - **[Required]** Gets the weight of this UpdateBackendDetails. - The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger - proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections - as a server weighted '1'. - For more information on load balancing policies, see - `How Load Balancing Policies Work`__. - - Example: `3` - - __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Reference/lbpolicies.htm - - - :return: The weight of this UpdateBackendDetails. - :rtype: int - """ - return self._weight - - @weight.setter - def weight(self, weight): - """ - Sets the weight of this UpdateBackendDetails. - The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger - proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections - as a server weighted '1'. - For more information on load balancing policies, see - `How Load Balancing Policies Work`__. - - Example: `3` - - __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Reference/lbpolicies.htm - - - :param weight: The weight of this UpdateBackendDetails. - :type: int - """ - self._weight = weight - def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/update_backend_set_details.py b/src/oci/load_balancer/models/update_backend_set_details.py index d2e7d895e1..a4f7d7c997 100644 --- a/src/oci/load_balancer/models/update_backend_set_details.py +++ b/src/oci/load_balancer/models/update_backend_set_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -13,7 +13,7 @@ class UpdateBackendSetDetails(object): For more information on backend set configuration, see `Managing Backend Sets`__. - __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managingbackendsets.htm + __ https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingbackendsets.htm """ def __init__(self, **kwargs): @@ -21,6 +21,10 @@ def __init__(self, **kwargs): Initializes a new UpdateBackendSetDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): + :param policy: + The value to assign to the policy property of this UpdateBackendSetDetails. + :type policy: str + :param backends: The value to assign to the backends property of this UpdateBackendSetDetails. :type backends: list[BackendDetails] @@ -29,40 +33,66 @@ def __init__(self, **kwargs): The value to assign to the health_checker property of this UpdateBackendSetDetails. :type health_checker: HealthCheckerDetails - :param policy: - The value to assign to the policy property of this UpdateBackendSetDetails. - :type policy: str + :param ssl_configuration: + The value to assign to the ssl_configuration property of this UpdateBackendSetDetails. + :type ssl_configuration: SSLConfigurationDetails :param session_persistence_configuration: The value to assign to the session_persistence_configuration property of this UpdateBackendSetDetails. :type session_persistence_configuration: SessionPersistenceConfigurationDetails - :param ssl_configuration: - The value to assign to the ssl_configuration property of this UpdateBackendSetDetails. - :type ssl_configuration: SSLConfigurationDetails - """ self.swagger_types = { + 'policy': 'str', 'backends': 'list[BackendDetails]', 'health_checker': 'HealthCheckerDetails', - 'policy': 'str', - 'session_persistence_configuration': 'SessionPersistenceConfigurationDetails', - 'ssl_configuration': 'SSLConfigurationDetails' + 'ssl_configuration': 'SSLConfigurationDetails', + 'session_persistence_configuration': 'SessionPersistenceConfigurationDetails' } self.attribute_map = { + 'policy': 'policy', 'backends': 'backends', 'health_checker': 'healthChecker', - 'policy': 'policy', - 'session_persistence_configuration': 'sessionPersistenceConfiguration', - 'ssl_configuration': 'sslConfiguration' + 'ssl_configuration': 'sslConfiguration', + 'session_persistence_configuration': 'sessionPersistenceConfiguration' } + self._policy = None self._backends = None self._health_checker = None - self._policy = None - self._session_persistence_configuration = None self._ssl_configuration = None + self._session_persistence_configuration = None + + @property + def policy(self): + """ + **[Required]** Gets the policy of this UpdateBackendSetDetails. + The load balancer policy for the backend set. To get a list of available policies, use the + :func:`list_policies` operation. + + Example: `LEAST_CONNECTIONS` + + + :return: The policy of this UpdateBackendSetDetails. + :rtype: str + """ + return self._policy + + @policy.setter + def policy(self, policy): + """ + Sets the policy of this UpdateBackendSetDetails. + The load balancer policy for the backend set. To get a list of available policies, use the + :func:`list_policies` operation. + + Example: `LEAST_CONNECTIONS` + + + :param policy: The policy of this UpdateBackendSetDetails. + :type: str + """ + self._policy = policy @property def backends(self): @@ -105,34 +135,24 @@ def health_checker(self, health_checker): self._health_checker = health_checker @property - def policy(self): + def ssl_configuration(self): """ - **[Required]** Gets the policy of this UpdateBackendSetDetails. - The load balancer policy for the backend set. To get a list of available policies, use the - :func:`list_policies` operation. - - Example: `LEAST_CONNECTIONS` - + Gets the ssl_configuration of this UpdateBackendSetDetails. - :return: The policy of this UpdateBackendSetDetails. - :rtype: str + :return: The ssl_configuration of this UpdateBackendSetDetails. + :rtype: SSLConfigurationDetails """ - return self._policy + return self._ssl_configuration - @policy.setter - def policy(self, policy): + @ssl_configuration.setter + def ssl_configuration(self, ssl_configuration): """ - Sets the policy of this UpdateBackendSetDetails. - The load balancer policy for the backend set. To get a list of available policies, use the - :func:`list_policies` operation. - - Example: `LEAST_CONNECTIONS` - + Sets the ssl_configuration of this UpdateBackendSetDetails. - :param policy: The policy of this UpdateBackendSetDetails. - :type: str + :param ssl_configuration: The ssl_configuration of this UpdateBackendSetDetails. + :type: SSLConfigurationDetails """ - self._policy = policy + self._ssl_configuration = ssl_configuration @property def session_persistence_configuration(self): @@ -154,26 +174,6 @@ def session_persistence_configuration(self, session_persistence_configuration): """ self._session_persistence_configuration = session_persistence_configuration - @property - def ssl_configuration(self): - """ - Gets the ssl_configuration of this UpdateBackendSetDetails. - - :return: The ssl_configuration of this UpdateBackendSetDetails. - :rtype: SSLConfigurationDetails - """ - return self._ssl_configuration - - @ssl_configuration.setter - def ssl_configuration(self, ssl_configuration): - """ - Sets the ssl_configuration of this UpdateBackendSetDetails. - - :param ssl_configuration: The ssl_configuration of this UpdateBackendSetDetails. - :type: SSLConfigurationDetails - """ - self._ssl_configuration = ssl_configuration - def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/update_health_checker_details.py b/src/oci/load_balancer/models/update_health_checker_details.py index a28a538127..63735adc35 100644 --- a/src/oci/load_balancer/models/update_health_checker_details.py +++ b/src/oci/load_balancer/models/update_health_checker_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -17,125 +17,69 @@ def __init__(self, **kwargs): Initializes a new UpdateHealthCheckerDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param interval_in_millis: - The value to assign to the interval_in_millis property of this UpdateHealthCheckerDetails. - :type interval_in_millis: int - - :param port: - The value to assign to the port property of this UpdateHealthCheckerDetails. - :type port: int - :param protocol: The value to assign to the protocol property of this UpdateHealthCheckerDetails. :type protocol: str - :param response_body_regex: - The value to assign to the response_body_regex property of this UpdateHealthCheckerDetails. - :type response_body_regex: str + :param url_path: + The value to assign to the url_path property of this UpdateHealthCheckerDetails. + :type url_path: str - :param retries: - The value to assign to the retries property of this UpdateHealthCheckerDetails. - :type retries: int + :param port: + The value to assign to the port property of this UpdateHealthCheckerDetails. + :type port: int :param return_code: The value to assign to the return_code property of this UpdateHealthCheckerDetails. :type return_code: int + :param retries: + The value to assign to the retries property of this UpdateHealthCheckerDetails. + :type retries: int + :param timeout_in_millis: The value to assign to the timeout_in_millis property of this UpdateHealthCheckerDetails. :type timeout_in_millis: int - :param url_path: - The value to assign to the url_path property of this UpdateHealthCheckerDetails. - :type url_path: str + :param interval_in_millis: + The value to assign to the interval_in_millis property of this UpdateHealthCheckerDetails. + :type interval_in_millis: int + + :param response_body_regex: + The value to assign to the response_body_regex property of this UpdateHealthCheckerDetails. + :type response_body_regex: str """ self.swagger_types = { - 'interval_in_millis': 'int', - 'port': 'int', 'protocol': 'str', - 'response_body_regex': 'str', - 'retries': 'int', + 'url_path': 'str', + 'port': 'int', 'return_code': 'int', + 'retries': 'int', 'timeout_in_millis': 'int', - 'url_path': 'str' + 'interval_in_millis': 'int', + 'response_body_regex': 'str' } self.attribute_map = { - 'interval_in_millis': 'intervalInMillis', - 'port': 'port', 'protocol': 'protocol', - 'response_body_regex': 'responseBodyRegex', - 'retries': 'retries', + 'url_path': 'urlPath', + 'port': 'port', 'return_code': 'returnCode', + 'retries': 'retries', 'timeout_in_millis': 'timeoutInMillis', - 'url_path': 'urlPath' + 'interval_in_millis': 'intervalInMillis', + 'response_body_regex': 'responseBodyRegex' } - self._interval_in_millis = None - self._port = None self._protocol = None - self._response_body_regex = None - self._retries = None + self._url_path = None + self._port = None self._return_code = None + self._retries = None self._timeout_in_millis = None - self._url_path = None - - @property - def interval_in_millis(self): - """ - **[Required]** Gets the interval_in_millis of this UpdateHealthCheckerDetails. - The interval between health checks, in milliseconds. - - Example: `10000` - - - :return: The interval_in_millis of this UpdateHealthCheckerDetails. - :rtype: int - """ - return self._interval_in_millis - - @interval_in_millis.setter - def interval_in_millis(self, interval_in_millis): - """ - Sets the interval_in_millis of this UpdateHealthCheckerDetails. - The interval between health checks, in milliseconds. - - Example: `10000` - - - :param interval_in_millis: The interval_in_millis of this UpdateHealthCheckerDetails. - :type: int - """ - self._interval_in_millis = interval_in_millis - - @property - def port(self): - """ - **[Required]** Gets the port of this UpdateHealthCheckerDetails. - The backend server port against which to run the health check. - - Example: `8080` - - - :return: The port of this UpdateHealthCheckerDetails. - :rtype: int - """ - return self._port - - @port.setter - def port(self, port): - """ - Sets the port of this UpdateHealthCheckerDetails. - The backend server port against which to run the health check. - - Example: `8080` - - - :param port: The port of this UpdateHealthCheckerDetails. - :type: int - """ - self._port = port + self._interval_in_millis = None + self._response_body_regex = None @property def protocol(self): @@ -166,60 +110,60 @@ def protocol(self, protocol): self._protocol = protocol @property - def response_body_regex(self): + def url_path(self): """ - **[Required]** Gets the response_body_regex of this UpdateHealthCheckerDetails. - A regular expression for parsing the response body from the backend server. + Gets the url_path of this UpdateHealthCheckerDetails. + The path against which to run the health check. - Example: `^((?!false).|\\s)*$` + Example: `/healthcheck` - :return: The response_body_regex of this UpdateHealthCheckerDetails. + :return: The url_path of this UpdateHealthCheckerDetails. :rtype: str """ - return self._response_body_regex + return self._url_path - @response_body_regex.setter - def response_body_regex(self, response_body_regex): + @url_path.setter + def url_path(self, url_path): """ - Sets the response_body_regex of this UpdateHealthCheckerDetails. - A regular expression for parsing the response body from the backend server. + Sets the url_path of this UpdateHealthCheckerDetails. + The path against which to run the health check. - Example: `^((?!false).|\\s)*$` + Example: `/healthcheck` - :param response_body_regex: The response_body_regex of this UpdateHealthCheckerDetails. + :param url_path: The url_path of this UpdateHealthCheckerDetails. :type: str """ - self._response_body_regex = response_body_regex + self._url_path = url_path @property - def retries(self): + def port(self): """ - **[Required]** Gets the retries of this UpdateHealthCheckerDetails. - The number of retries to attempt before a backend server is considered \"unhealthy\". + **[Required]** Gets the port of this UpdateHealthCheckerDetails. + The backend server port against which to run the health check. - Example: `3` + Example: `8080` - :return: The retries of this UpdateHealthCheckerDetails. + :return: The port of this UpdateHealthCheckerDetails. :rtype: int """ - return self._retries + return self._port - @retries.setter - def retries(self, retries): + @port.setter + def port(self, port): """ - Sets the retries of this UpdateHealthCheckerDetails. - The number of retries to attempt before a backend server is considered \"unhealthy\". + Sets the port of this UpdateHealthCheckerDetails. + The backend server port against which to run the health check. - Example: `3` + Example: `8080` - :param retries: The retries of this UpdateHealthCheckerDetails. + :param port: The port of this UpdateHealthCheckerDetails. :type: int """ - self._retries = retries + self._port = port @property def return_code(self): @@ -249,6 +193,34 @@ def return_code(self, return_code): """ self._return_code = return_code + @property + def retries(self): + """ + **[Required]** Gets the retries of this UpdateHealthCheckerDetails. + The number of retries to attempt before a backend server is considered \"unhealthy\". + + Example: `3` + + + :return: The retries of this UpdateHealthCheckerDetails. + :rtype: int + """ + return self._retries + + @retries.setter + def retries(self, retries): + """ + Sets the retries of this UpdateHealthCheckerDetails. + The number of retries to attempt before a backend server is considered \"unhealthy\". + + Example: `3` + + + :param retries: The retries of this UpdateHealthCheckerDetails. + :type: int + """ + self._retries = retries + @property def timeout_in_millis(self): """ @@ -280,32 +252,60 @@ def timeout_in_millis(self, timeout_in_millis): self._timeout_in_millis = timeout_in_millis @property - def url_path(self): + def interval_in_millis(self): """ - Gets the url_path of this UpdateHealthCheckerDetails. - The path against which to run the health check. + **[Required]** Gets the interval_in_millis of this UpdateHealthCheckerDetails. + The interval between health checks, in milliseconds. - Example: `/healthcheck` + Example: `10000` - :return: The url_path of this UpdateHealthCheckerDetails. + :return: The interval_in_millis of this UpdateHealthCheckerDetails. + :rtype: int + """ + return self._interval_in_millis + + @interval_in_millis.setter + def interval_in_millis(self, interval_in_millis): + """ + Sets the interval_in_millis of this UpdateHealthCheckerDetails. + The interval between health checks, in milliseconds. + + Example: `10000` + + + :param interval_in_millis: The interval_in_millis of this UpdateHealthCheckerDetails. + :type: int + """ + self._interval_in_millis = interval_in_millis + + @property + def response_body_regex(self): + """ + **[Required]** Gets the response_body_regex of this UpdateHealthCheckerDetails. + A regular expression for parsing the response body from the backend server. + + Example: `^((?!false).|\\s)*$` + + + :return: The response_body_regex of this UpdateHealthCheckerDetails. :rtype: str """ - return self._url_path + return self._response_body_regex - @url_path.setter - def url_path(self, url_path): + @response_body_regex.setter + def response_body_regex(self, response_body_regex): """ - Sets the url_path of this UpdateHealthCheckerDetails. - The path against which to run the health check. + Sets the response_body_regex of this UpdateHealthCheckerDetails. + A regular expression for parsing the response body from the backend server. - Example: `/healthcheck` + Example: `^((?!false).|\\s)*$` - :param url_path: The url_path of this UpdateHealthCheckerDetails. + :param response_body_regex: The response_body_regex of this UpdateHealthCheckerDetails. :type: str """ - self._url_path = url_path + self._response_body_regex = response_body_regex def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/update_hostname_details.py b/src/oci/load_balancer/models/update_hostname_details.py index 93750f3ed7..0b353a78e9 100644 --- a/src/oci/load_balancer/models/update_hostname_details.py +++ b/src/oci/load_balancer/models/update_hostname_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/load_balancer/models/update_listener_details.py b/src/oci/load_balancer/models/update_listener_details.py index 5af08289be..49271ea43f 100644 --- a/src/oci/load_balancer/models/update_listener_details.py +++ b/src/oci/load_balancer/models/update_listener_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -17,22 +17,10 @@ def __init__(self, **kwargs): Initializes a new UpdateListenerDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param connection_configuration: - The value to assign to the connection_configuration property of this UpdateListenerDetails. - :type connection_configuration: ConnectionConfiguration - :param default_backend_set_name: The value to assign to the default_backend_set_name property of this UpdateListenerDetails. :type default_backend_set_name: str - :param hostname_names: - The value to assign to the hostname_names property of this UpdateListenerDetails. - :type hostname_names: list[str] - - :param path_route_set_name: - The value to assign to the path_route_set_name property of this UpdateListenerDetails. - :type path_route_set_name: str - :param port: The value to assign to the port property of this UpdateListenerDetails. :type port: int @@ -41,58 +29,57 @@ def __init__(self, **kwargs): The value to assign to the protocol property of this UpdateListenerDetails. :type protocol: str + :param hostname_names: + The value to assign to the hostname_names property of this UpdateListenerDetails. + :type hostname_names: list[str] + + :param path_route_set_name: + The value to assign to the path_route_set_name property of this UpdateListenerDetails. + :type path_route_set_name: str + :param ssl_configuration: The value to assign to the ssl_configuration property of this UpdateListenerDetails. :type ssl_configuration: SSLConfigurationDetails + :param connection_configuration: + The value to assign to the connection_configuration property of this UpdateListenerDetails. + :type connection_configuration: ConnectionConfiguration + + :param rule_set_names: + The value to assign to the rule_set_names property of this UpdateListenerDetails. + :type rule_set_names: list[str] + """ self.swagger_types = { - 'connection_configuration': 'ConnectionConfiguration', 'default_backend_set_name': 'str', - 'hostname_names': 'list[str]', - 'path_route_set_name': 'str', 'port': 'int', 'protocol': 'str', - 'ssl_configuration': 'SSLConfigurationDetails' + 'hostname_names': 'list[str]', + 'path_route_set_name': 'str', + 'ssl_configuration': 'SSLConfigurationDetails', + 'connection_configuration': 'ConnectionConfiguration', + 'rule_set_names': 'list[str]' } self.attribute_map = { - 'connection_configuration': 'connectionConfiguration', 'default_backend_set_name': 'defaultBackendSetName', - 'hostname_names': 'hostnameNames', - 'path_route_set_name': 'pathRouteSetName', 'port': 'port', 'protocol': 'protocol', - 'ssl_configuration': 'sslConfiguration' + 'hostname_names': 'hostnameNames', + 'path_route_set_name': 'pathRouteSetName', + 'ssl_configuration': 'sslConfiguration', + 'connection_configuration': 'connectionConfiguration', + 'rule_set_names': 'ruleSetNames' } - self._connection_configuration = None self._default_backend_set_name = None - self._hostname_names = None - self._path_route_set_name = None self._port = None self._protocol = None + self._hostname_names = None + self._path_route_set_name = None self._ssl_configuration = None - - @property - def connection_configuration(self): - """ - Gets the connection_configuration of this UpdateListenerDetails. - - :return: The connection_configuration of this UpdateListenerDetails. - :rtype: ConnectionConfiguration - """ - return self._connection_configuration - - @connection_configuration.setter - def connection_configuration(self, connection_configuration): - """ - Sets the connection_configuration of this UpdateListenerDetails. - - :param connection_configuration: The connection_configuration of this UpdateListenerDetails. - :type: ConnectionConfiguration - """ - self._connection_configuration = connection_configuration + self._connection_configuration = None + self._rule_set_names = None @property def default_backend_set_name(self): @@ -122,6 +109,66 @@ def default_backend_set_name(self, default_backend_set_name): """ self._default_backend_set_name = default_backend_set_name + @property + def port(self): + """ + **[Required]** Gets the port of this UpdateListenerDetails. + The communication port for the listener. + + Example: `80` + + + :return: The port of this UpdateListenerDetails. + :rtype: int + """ + return self._port + + @port.setter + def port(self, port): + """ + Sets the port of this UpdateListenerDetails. + The communication port for the listener. + + Example: `80` + + + :param port: The port of this UpdateListenerDetails. + :type: int + """ + self._port = port + + @property + def protocol(self): + """ + **[Required]** Gets the protocol of this UpdateListenerDetails. + The protocol on which the listener accepts connection requests. + To get a list of valid protocols, use the :func:`list_protocols` + operation. + + Example: `HTTP` + + + :return: The protocol of this UpdateListenerDetails. + :rtype: str + """ + return self._protocol + + @protocol.setter + def protocol(self, protocol): + """ + Sets the protocol of this UpdateListenerDetails. + The protocol on which the listener accepts connection requests. + To get a list of valid protocols, use the :func:`list_protocols` + operation. + + Example: `HTTP` + + + :param protocol: The protocol of this UpdateListenerDetails. + :type: str + """ + self._protocol = protocol + @property def hostname_names(self): """ @@ -177,84 +224,72 @@ def path_route_set_name(self, path_route_set_name): self._path_route_set_name = path_route_set_name @property - def port(self): + def ssl_configuration(self): """ - **[Required]** Gets the port of this UpdateListenerDetails. - The communication port for the listener. - - Example: `80` - + Gets the ssl_configuration of this UpdateListenerDetails. - :return: The port of this UpdateListenerDetails. - :rtype: int + :return: The ssl_configuration of this UpdateListenerDetails. + :rtype: SSLConfigurationDetails """ - return self._port + return self._ssl_configuration - @port.setter - def port(self, port): + @ssl_configuration.setter + def ssl_configuration(self, ssl_configuration): """ - Sets the port of this UpdateListenerDetails. - The communication port for the listener. - - Example: `80` - + Sets the ssl_configuration of this UpdateListenerDetails. - :param port: The port of this UpdateListenerDetails. - :type: int + :param ssl_configuration: The ssl_configuration of this UpdateListenerDetails. + :type: SSLConfigurationDetails """ - self._port = port + self._ssl_configuration = ssl_configuration @property - def protocol(self): + def connection_configuration(self): """ - **[Required]** Gets the protocol of this UpdateListenerDetails. - The protocol on which the listener accepts connection requests. - To get a list of valid protocols, use the :func:`list_protocols` - operation. + Gets the connection_configuration of this UpdateListenerDetails. - Example: `HTTP` + :return: The connection_configuration of this UpdateListenerDetails. + :rtype: ConnectionConfiguration + """ + return self._connection_configuration + @connection_configuration.setter + def connection_configuration(self, connection_configuration): + """ + Sets the connection_configuration of this UpdateListenerDetails. - :return: The protocol of this UpdateListenerDetails. - :rtype: str + :param connection_configuration: The connection_configuration of this UpdateListenerDetails. + :type: ConnectionConfiguration """ - return self._protocol + self._connection_configuration = connection_configuration - @protocol.setter - def protocol(self, protocol): + @property + def rule_set_names(self): """ - Sets the protocol of this UpdateListenerDetails. - The protocol on which the listener accepts connection requests. - To get a list of valid protocols, use the :func:`list_protocols` - operation. + Gets the rule_set_names of this UpdateListenerDetails. + The names of the :class:`RuleSet` to apply to the listener. - Example: `HTTP` + Example: [\"example_rule_set\"] - :param protocol: The protocol of this UpdateListenerDetails. - :type: str + :return: The rule_set_names of this UpdateListenerDetails. + :rtype: list[str] """ - self._protocol = protocol + return self._rule_set_names - @property - def ssl_configuration(self): + @rule_set_names.setter + def rule_set_names(self, rule_set_names): """ - Gets the ssl_configuration of this UpdateListenerDetails. + Sets the rule_set_names of this UpdateListenerDetails. + The names of the :class:`RuleSet` to apply to the listener. - :return: The ssl_configuration of this UpdateListenerDetails. - :rtype: SSLConfigurationDetails - """ - return self._ssl_configuration + Example: [\"example_rule_set\"] - @ssl_configuration.setter - def ssl_configuration(self, ssl_configuration): - """ - Sets the ssl_configuration of this UpdateListenerDetails. - :param ssl_configuration: The ssl_configuration of this UpdateListenerDetails. - :type: SSLConfigurationDetails + :param rule_set_names: The rule_set_names of this UpdateListenerDetails. + :type: list[str] """ - self._ssl_configuration = ssl_configuration + self._rule_set_names = rule_set_names def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/update_load_balancer_details.py b/src/oci/load_balancer/models/update_load_balancer_details.py index 9f2e7477d9..4ca8573fd3 100644 --- a/src/oci/load_balancer/models/update_load_balancer_details.py +++ b/src/oci/load_balancer/models/update_load_balancer_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -10,6 +10,8 @@ class UpdateLoadBalancerDetails(object): """ Configuration details to update a load balancer. + + **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. """ def __init__(self, **kwargs): @@ -17,10 +19,6 @@ def __init__(self, **kwargs): Initializes a new UpdateLoadBalancerDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param defined_tags: - The value to assign to the defined_tags property of this UpdateLoadBalancerDetails. - :type defined_tags: dict(str, dict(str, object)) - :param display_name: The value to assign to the display_name property of this UpdateLoadBalancerDetails. :type display_name: str @@ -29,56 +27,26 @@ def __init__(self, **kwargs): The value to assign to the freeform_tags property of this UpdateLoadBalancerDetails. :type freeform_tags: dict(str, str) + :param defined_tags: + The value to assign to the defined_tags property of this UpdateLoadBalancerDetails. + :type defined_tags: dict(str, dict(str, object)) + """ self.swagger_types = { - 'defined_tags': 'dict(str, dict(str, object))', 'display_name': 'str', - 'freeform_tags': 'dict(str, str)' + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))' } self.attribute_map = { - 'defined_tags': 'definedTags', 'display_name': 'displayName', - 'freeform_tags': 'freeformTags' + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags' } - self._defined_tags = None self._display_name = None self._freeform_tags = None - - @property - def defined_tags(self): - """ - Gets the defined_tags of this UpdateLoadBalancerDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. - - Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` - - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm - - - :return: The defined_tags of this UpdateLoadBalancerDetails. - :rtype: dict(str, dict(str, object)) - """ - return self._defined_tags - - @defined_tags.setter - def defined_tags(self, defined_tags): - """ - Sets the defined_tags of this UpdateLoadBalancerDetails. - Defined tags for this resource. Each key is predefined and scoped to a namespace. - For more information, see `Resource Tags`__. - - Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` - - __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm - - - :param defined_tags: The defined_tags of this UpdateLoadBalancerDetails. - :type: dict(str, dict(str, object)) - """ - self._defined_tags = defined_tags + self._defined_tags = None @property def display_name(self): @@ -144,6 +112,40 @@ def freeform_tags(self, freeform_tags): """ self._freeform_tags = freeform_tags + @property + def defined_tags(self): + """ + Gets the defined_tags of this UpdateLoadBalancerDetails. + Defined tags for this resource. Each key is predefined and scoped to a namespace. + For more information, see `Resource Tags`__. + + Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm + + + :return: The defined_tags of this UpdateLoadBalancerDetails. + :rtype: dict(str, dict(str, object)) + """ + return self._defined_tags + + @defined_tags.setter + def defined_tags(self, defined_tags): + """ + Sets the defined_tags of this UpdateLoadBalancerDetails. + Defined tags for this resource. Each key is predefined and scoped to a namespace. + For more information, see `Resource Tags`__. + + Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` + + __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm + + + :param defined_tags: The defined_tags of this UpdateLoadBalancerDetails. + :type: dict(str, dict(str, object)) + """ + self._defined_tags = defined_tags + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/update_path_route_set_details.py b/src/oci/load_balancer/models/update_path_route_set_details.py index 0bde465385..71aec389d2 100644 --- a/src/oci/load_balancer/models/update_path_route_set_details.py +++ b/src/oci/load_balancer/models/update_path_route_set_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/load_balancer/models/update_rule_set_details.py b/src/oci/load_balancer/models/update_rule_set_details.py new file mode 100644 index 0000000000..7f259e080a --- /dev/null +++ b/src/oci/load_balancer/models/update_rule_set_details.py @@ -0,0 +1,69 @@ +# coding: utf-8 +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. + + +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class UpdateRuleSetDetails(object): + """ + An updated set of rules that overwrites the existing set of rules. + """ + + def __init__(self, **kwargs): + """ + Initializes a new UpdateRuleSetDetails object with values from keyword arguments. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param items: + The value to assign to the items property of this UpdateRuleSetDetails. + :type items: list[Rule] + + """ + self.swagger_types = { + 'items': 'list[Rule]' + } + + self.attribute_map = { + 'items': 'items' + } + + self._items = None + + @property + def items(self): + """ + **[Required]** Gets the items of this UpdateRuleSetDetails. + An array of rules that compose the rule set. + + + :return: The items of this UpdateRuleSetDetails. + :rtype: list[Rule] + """ + return self._items + + @items.setter + def items(self, items): + """ + Sets the items of this UpdateRuleSetDetails. + An array of rules that compose the rule set. + + + :param items: The items of this UpdateRuleSetDetails. + :type: list[Rule] + """ + self._items = items + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/load_balancer/models/work_request.py b/src/oci/load_balancer/models/work_request.py index 59f4057d38..f620e98aa8 100644 --- a/src/oci/load_balancer/models/work_request.py +++ b/src/oci/load_balancer/models/work_request.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -38,24 +38,24 @@ def __init__(self, **kwargs): Initializes a new WorkRequest object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - :param error_details: - The value to assign to the error_details property of this WorkRequest. - :type error_details: list[WorkRequestError] - :param id: The value to assign to the id property of this WorkRequest. :type id: str + :param load_balancer_id: + The value to assign to the load_balancer_id property of this WorkRequest. + :type load_balancer_id: str + + :param type: + The value to assign to the type property of this WorkRequest. + :type type: str + :param lifecycle_state: The value to assign to the lifecycle_state property of this WorkRequest. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str - :param load_balancer_id: - The value to assign to the load_balancer_id property of this WorkRequest. - :type load_balancer_id: str - :param message: The value to assign to the message property of this WorkRequest. :type message: str @@ -68,61 +68,41 @@ def __init__(self, **kwargs): The value to assign to the time_finished property of this WorkRequest. :type time_finished: datetime - :param type: - The value to assign to the type property of this WorkRequest. - :type type: str + :param error_details: + The value to assign to the error_details property of this WorkRequest. + :type error_details: list[WorkRequestError] """ self.swagger_types = { - 'error_details': 'list[WorkRequestError]', 'id': 'str', - 'lifecycle_state': 'str', 'load_balancer_id': 'str', + 'type': 'str', + 'lifecycle_state': 'str', 'message': 'str', 'time_accepted': 'datetime', 'time_finished': 'datetime', - 'type': 'str' + 'error_details': 'list[WorkRequestError]' } self.attribute_map = { - 'error_details': 'errorDetails', 'id': 'id', - 'lifecycle_state': 'lifecycleState', 'load_balancer_id': 'loadBalancerId', + 'type': 'type', + 'lifecycle_state': 'lifecycleState', 'message': 'message', 'time_accepted': 'timeAccepted', 'time_finished': 'timeFinished', - 'type': 'type' + 'error_details': 'errorDetails' } - self._error_details = None self._id = None - self._lifecycle_state = None self._load_balancer_id = None + self._type = None + self._lifecycle_state = None self._message = None self._time_accepted = None self._time_finished = None - self._type = None - - @property - def error_details(self): - """ - **[Required]** Gets the error_details of this WorkRequest. - - :return: The error_details of this WorkRequest. - :rtype: list[WorkRequestError] - """ - return self._error_details - - @error_details.setter - def error_details(self, error_details): - """ - Sets the error_details of this WorkRequest. - - :param error_details: The error_details of this WorkRequest. - :type: list[WorkRequestError] - """ - self._error_details = error_details + self._error_details = None @property def id(self): @@ -152,36 +132,6 @@ def id(self, id): """ self._id = id - @property - def lifecycle_state(self): - """ - **[Required]** Gets the lifecycle_state of this WorkRequest. - The current state of the work request. - - Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", 'UNKNOWN_ENUM_VALUE'. - Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. - - - :return: The lifecycle_state of this WorkRequest. - :rtype: str - """ - return self._lifecycle_state - - @lifecycle_state.setter - def lifecycle_state(self, lifecycle_state): - """ - Sets the lifecycle_state of this WorkRequest. - The current state of the work request. - - - :param lifecycle_state: The lifecycle_state of this WorkRequest. - :type: str - """ - allowed_values = ["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED"] - if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): - lifecycle_state = 'UNKNOWN_ENUM_VALUE' - self._lifecycle_state = lifecycle_state - @property def load_balancer_id(self): """ @@ -212,6 +162,64 @@ def load_balancer_id(self, load_balancer_id): """ self._load_balancer_id = load_balancer_id + @property + def type(self): + """ + **[Required]** Gets the type of this WorkRequest. + The type of action the work request represents. + + Example: `CreateListener` + + + :return: The type of this WorkRequest. + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """ + Sets the type of this WorkRequest. + The type of action the work request represents. + + Example: `CreateListener` + + + :param type: The type of this WorkRequest. + :type: str + """ + self._type = type + + @property + def lifecycle_state(self): + """ + **[Required]** Gets the lifecycle_state of this WorkRequest. + The current state of the work request. + + Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The lifecycle_state of this WorkRequest. + :rtype: str + """ + return self._lifecycle_state + + @lifecycle_state.setter + def lifecycle_state(self, lifecycle_state): + """ + Sets the lifecycle_state of this WorkRequest. + The current state of the work request. + + + :param lifecycle_state: The lifecycle_state of this WorkRequest. + :type: str + """ + allowed_values = ["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED"] + if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): + lifecycle_state = 'UNKNOWN_ENUM_VALUE' + self._lifecycle_state = lifecycle_state + @property def message(self): """ @@ -307,32 +315,24 @@ def time_finished(self, time_finished): self._time_finished = time_finished @property - def type(self): + def error_details(self): """ - **[Required]** Gets the type of this WorkRequest. - The type of action the work request represents. - - Example: `CreateListener` - + **[Required]** Gets the error_details of this WorkRequest. - :return: The type of this WorkRequest. - :rtype: str + :return: The error_details of this WorkRequest. + :rtype: list[WorkRequestError] """ - return self._type + return self._error_details - @type.setter - def type(self, type): + @error_details.setter + def error_details(self, error_details): """ - Sets the type of this WorkRequest. - The type of action the work request represents. - - Example: `CreateListener` - + Sets the error_details of this WorkRequest. - :param type: The type of this WorkRequest. - :type: str + :param error_details: The error_details of this WorkRequest. + :type: list[WorkRequestError] """ - self._type = type + self._error_details = error_details def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/load_balancer/models/work_request_error.py b/src/oci/load_balancer/models/work_request_error.py index 79270bf56f..22aab5f439 100644 --- a/src/oci/load_balancer/models/work_request_error.py +++ b/src/oci/load_balancer/models/work_request_error.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/__init__.py b/src/oci/object_storage/__init__.py index 6a4fd0b0b4..f796109dca 100644 --- a/src/oci/object_storage/__init__.py +++ b/src/oci/object_storage/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/object_storage/models/__init__.py b/src/oci/object_storage/models/__init__.py index 3635c1c327..4256162122 100644 --- a/src/oci/object_storage/models/__init__.py +++ b/src/oci/object_storage/models/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/object_storage/models/bucket.py b/src/oci/object_storage/models/bucket.py index 599646b9e7..0c32eb557d 100644 --- a/src/oci/object_storage/models/bucket.py +++ b/src/oci/object_storage/models/bucket.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/bucket_summary.py b/src/oci/object_storage/models/bucket_summary.py index f39350bbc5..74efab13c6 100644 --- a/src/oci/object_storage/models/bucket_summary.py +++ b/src/oci/object_storage/models/bucket_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/commit_multipart_upload_details.py b/src/oci/object_storage/models/commit_multipart_upload_details.py index 0328543fcb..6e21c65c5e 100644 --- a/src/oci/object_storage/models/commit_multipart_upload_details.py +++ b/src/oci/object_storage/models/commit_multipart_upload_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/commit_multipart_upload_part_details.py b/src/oci/object_storage/models/commit_multipart_upload_part_details.py index c3a557cfab..f7a844b7a1 100644 --- a/src/oci/object_storage/models/commit_multipart_upload_part_details.py +++ b/src/oci/object_storage/models/commit_multipart_upload_part_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/copy_object_details.py b/src/oci/object_storage/models/copy_object_details.py index 4ed5c14128..8b9f89adf0 100644 --- a/src/oci/object_storage/models/copy_object_details.py +++ b/src/oci/object_storage/models/copy_object_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/create_bucket_details.py b/src/oci/object_storage/models/create_bucket_details.py index 47770c7073..129de8c87f 100644 --- a/src/oci/object_storage/models/create_bucket_details.py +++ b/src/oci/object_storage/models/create_bucket_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/create_multipart_upload_details.py b/src/oci/object_storage/models/create_multipart_upload_details.py index d3d6550047..6c015b9764 100644 --- a/src/oci/object_storage/models/create_multipart_upload_details.py +++ b/src/oci/object_storage/models/create_multipart_upload_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/create_preauthenticated_request_details.py b/src/oci/object_storage/models/create_preauthenticated_request_details.py index 31fb480f4f..5128408c76 100644 --- a/src/oci/object_storage/models/create_preauthenticated_request_details.py +++ b/src/oci/object_storage/models/create_preauthenticated_request_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/list_objects.py b/src/oci/object_storage/models/list_objects.py index 7153eb1de9..54bea47115 100644 --- a/src/oci/object_storage/models/list_objects.py +++ b/src/oci/object_storage/models/list_objects.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/multipart_upload.py b/src/oci/object_storage/models/multipart_upload.py index 028cdfcff3..86d1d657b7 100644 --- a/src/oci/object_storage/models/multipart_upload.py +++ b/src/oci/object_storage/models/multipart_upload.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/multipart_upload_part_summary.py b/src/oci/object_storage/models/multipart_upload_part_summary.py index db92a7613d..a7bbee0fe2 100644 --- a/src/oci/object_storage/models/multipart_upload_part_summary.py +++ b/src/oci/object_storage/models/multipart_upload_part_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/namespace_metadata.py b/src/oci/object_storage/models/namespace_metadata.py index 9f4637d6ef..e88127011a 100644 --- a/src/oci/object_storage/models/namespace_metadata.py +++ b/src/oci/object_storage/models/namespace_metadata.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/object_lifecycle_policy.py b/src/oci/object_storage/models/object_lifecycle_policy.py index ea9d29e72c..ef41b4b5fa 100644 --- a/src/oci/object_storage/models/object_lifecycle_policy.py +++ b/src/oci/object_storage/models/object_lifecycle_policy.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/object_lifecycle_rule.py b/src/oci/object_storage/models/object_lifecycle_rule.py index 74fda4921c..552e3d2efc 100644 --- a/src/oci/object_storage/models/object_lifecycle_rule.py +++ b/src/oci/object_storage/models/object_lifecycle_rule.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/object_name_filter.py b/src/oci/object_storage/models/object_name_filter.py index 1b53620fe3..58da9df003 100644 --- a/src/oci/object_storage/models/object_name_filter.py +++ b/src/oci/object_storage/models/object_name_filter.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/object_summary.py b/src/oci/object_storage/models/object_summary.py index cfbbdae8b6..730226a1fe 100644 --- a/src/oci/object_storage/models/object_summary.py +++ b/src/oci/object_storage/models/object_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/preauthenticated_request.py b/src/oci/object_storage/models/preauthenticated_request.py index 9aa249bf85..45ba571e0d 100644 --- a/src/oci/object_storage/models/preauthenticated_request.py +++ b/src/oci/object_storage/models/preauthenticated_request.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/preauthenticated_request_summary.py b/src/oci/object_storage/models/preauthenticated_request_summary.py index 7423ff568d..cd8941751e 100644 --- a/src/oci/object_storage/models/preauthenticated_request_summary.py +++ b/src/oci/object_storage/models/preauthenticated_request_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/put_object_lifecycle_policy_details.py b/src/oci/object_storage/models/put_object_lifecycle_policy_details.py index e2e2685215..3a2859e06e 100644 --- a/src/oci/object_storage/models/put_object_lifecycle_policy_details.py +++ b/src/oci/object_storage/models/put_object_lifecycle_policy_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/rename_object_details.py b/src/oci/object_storage/models/rename_object_details.py index 04820a39f6..106f578eb0 100644 --- a/src/oci/object_storage/models/rename_object_details.py +++ b/src/oci/object_storage/models/rename_object_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/restore_objects_details.py b/src/oci/object_storage/models/restore_objects_details.py index 4f141bbd17..ba960036b9 100644 --- a/src/oci/object_storage/models/restore_objects_details.py +++ b/src/oci/object_storage/models/restore_objects_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/update_bucket_details.py b/src/oci/object_storage/models/update_bucket_details.py index 0ce6ef1af1..ebc2284725 100644 --- a/src/oci/object_storage/models/update_bucket_details.py +++ b/src/oci/object_storage/models/update_bucket_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/update_namespace_metadata_details.py b/src/oci/object_storage/models/update_namespace_metadata_details.py index 760cdb9a81..c17bc60e00 100644 --- a/src/oci/object_storage/models/update_namespace_metadata_details.py +++ b/src/oci/object_storage/models/update_namespace_metadata_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/work_request.py b/src/oci/object_storage/models/work_request.py index 4391aa8871..0bc3dae8d3 100644 --- a/src/oci/object_storage/models/work_request.py +++ b/src/oci/object_storage/models/work_request.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/work_request_error.py b/src/oci/object_storage/models/work_request_error.py index 642e606fb1..6aaef3613b 100644 --- a/src/oci/object_storage/models/work_request_error.py +++ b/src/oci/object_storage/models/work_request_error.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/work_request_log_entry.py b/src/oci/object_storage/models/work_request_log_entry.py index 52df0f4946..fb7027427f 100644 --- a/src/oci/object_storage/models/work_request_log_entry.py +++ b/src/oci/object_storage/models/work_request_log_entry.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/work_request_resource.py b/src/oci/object_storage/models/work_request_resource.py index b79c388ecd..d0464c965a 100644 --- a/src/oci/object_storage/models/work_request_resource.py +++ b/src/oci/object_storage/models/work_request_resource.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/models/work_request_summary.py b/src/oci/object_storage/models/work_request_summary.py index fb842fb3ab..f797bd6cf5 100644 --- a/src/oci/object_storage/models/work_request_summary.py +++ b/src/oci/object_storage/models/work_request_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/object_storage/object_storage_client.py b/src/oci/object_storage/object_storage_client.py index f3126ca415..d8cb4767ea 100644 --- a/src/oci/object_storage/object_storage_client.py +++ b/src/oci/object_storage/object_storage_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/object_storage/object_storage_client_composite_operations.py b/src/oci/object_storage/object_storage_client_composite_operations.py index 51b03b4f53..5d4d37de74 100644 --- a/src/oci/object_storage/object_storage_client_composite_operations.py +++ b/src/oci/object_storage/object_storage_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/object_storage/transfer/__init__.py b/src/oci/object_storage/transfer/__init__.py index 959b3b1364..4cb2d9f603 100644 --- a/src/oci/object_storage/transfer/__init__.py +++ b/src/oci/object_storage/transfer/__init__.py @@ -1,4 +1,4 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # noqa: W391, W292 \ No newline at end of file diff --git a/src/oci/object_storage/transfer/constants.py b/src/oci/object_storage/transfer/constants.py index 3f10ec37b2..184de04af6 100644 --- a/src/oci/object_storage/transfer/constants.py +++ b/src/oci/object_storage/transfer/constants.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. MEBIBYTE = 1024 * 1024 STREAMING_DEFAULT_PART_SIZE = 10 * MEBIBYTE diff --git a/src/oci/object_storage/transfer/internal/__init__.py b/src/oci/object_storage/transfer/internal/__init__.py index 959b3b1364..4cb2d9f603 100644 --- a/src/oci/object_storage/transfer/internal/__init__.py +++ b/src/oci/object_storage/transfer/internal/__init__.py @@ -1,4 +1,4 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # noqa: W391, W292 \ No newline at end of file diff --git a/src/oci/object_storage/transfer/internal/buffered_part_reader.py b/src/oci/object_storage/transfer/internal/buffered_part_reader.py index c432738eda..8a3cfd7e6d 100644 --- a/src/oci/object_storage/transfer/internal/buffered_part_reader.py +++ b/src/oci/object_storage/transfer/internal/buffered_part_reader.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import io diff --git a/src/oci/object_storage/transfer/internal/file_read_callback_stream.py b/src/oci/object_storage/transfer/internal/file_read_callback_stream.py index 48ece40ef6..b7e02037d3 100644 --- a/src/oci/object_storage/transfer/internal/file_read_callback_stream.py +++ b/src/oci/object_storage/transfer/internal/file_read_callback_stream.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. class FileReadCallbackStream: diff --git a/src/oci/object_storage/transfer/internal/md5.py b/src/oci/object_storage/transfer/internal/md5.py index 3f28e2bd79..2894b5d527 100644 --- a/src/oci/object_storage/transfer/internal/md5.py +++ b/src/oci/object_storage/transfer/internal/md5.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import hashes diff --git a/src/oci/object_storage/transfer/internal/multipart_object_assembler.py b/src/oci/object_storage/transfer/internal/multipart_object_assembler.py index fcc51bde64..64e7dcde13 100644 --- a/src/oci/object_storage/transfer/internal/multipart_object_assembler.py +++ b/src/oci/object_storage/transfer/internal/multipart_object_assembler.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import io import hashlib diff --git a/src/oci/object_storage/transfer/upload_manager.py b/src/oci/object_storage/transfer/upload_manager.py index 842ada121b..275571ef91 100644 --- a/src/oci/object_storage/transfer/upload_manager.py +++ b/src/oci/object_storage/transfer/upload_manager.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import print_function import os diff --git a/src/oci/pagination/__init__.py b/src/oci/pagination/__init__.py index 9b10411381..60f7a9c40d 100644 --- a/src/oci/pagination/__init__.py +++ b/src/oci/pagination/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .pagination_utils import list_call_get_all_results, list_call_get_up_to_limit, list_call_get_all_results_generator, list_call_get_up_to_limit_generator diff --git a/src/oci/pagination/pagination_utils.py b/src/oci/pagination/pagination_utils.py index 250ed47345..ea94b810b1 100644 --- a/src/oci/pagination/pagination_utils.py +++ b/src/oci/pagination/pagination_utils.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .. import dns, object_storage from .. import retry diff --git a/src/oci/regions.py b/src/oci/regions.py index 505de2f489..f8e29f69d5 100644 --- a/src/oci/regions.py +++ b/src/oci/regions.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from . import service_endpoints diff --git a/src/oci/request.py b/src/oci/request.py index 3d5f8a724c..4fbfba13af 100644 --- a/src/oci/request.py +++ b/src/oci/request.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. class Request(object): diff --git a/src/oci/resource_search/__init__.py b/src/oci/resource_search/__init__.py index 920684183f..8ac0be1f35 100644 --- a/src/oci/resource_search/__init__.py +++ b/src/oci/resource_search/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/resource_search/models/__init__.py b/src/oci/resource_search/models/__init__.py index 7f8fc148e4..0dc5416750 100644 --- a/src/oci/resource_search/models/__init__.py +++ b/src/oci/resource_search/models/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/resource_search/models/free_text_search_details.py b/src/oci/resource_search/models/free_text_search_details.py index 47a1d1795c..54f1916e75 100644 --- a/src/oci/resource_search/models/free_text_search_details.py +++ b/src/oci/resource_search/models/free_text_search_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .search_details import SearchDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/resource_search/models/queryable_field_description.py b/src/oci/resource_search/models/queryable_field_description.py index a3ecfe6793..5cdb6c8b30 100644 --- a/src/oci/resource_search/models/queryable_field_description.py +++ b/src/oci/resource_search/models/queryable_field_description.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/resource_search/models/resource_summary.py b/src/oci/resource_search/models/resource_summary.py index ad5d15e3f3..91b6b2124c 100644 --- a/src/oci/resource_search/models/resource_summary.py +++ b/src/oci/resource_search/models/resource_summary.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/resource_search/models/resource_summary_collection.py b/src/oci/resource_search/models/resource_summary_collection.py index aae3cac423..c7e77f7104 100644 --- a/src/oci/resource_search/models/resource_summary_collection.py +++ b/src/oci/resource_search/models/resource_summary_collection.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/resource_search/models/resource_type.py b/src/oci/resource_search/models/resource_type.py index ea6441a486..fdac3f7334 100644 --- a/src/oci/resource_search/models/resource_type.py +++ b/src/oci/resource_search/models/resource_type.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/resource_search/models/search_context.py b/src/oci/resource_search/models/search_context.py index 4b69f17bb3..77e62633e1 100644 --- a/src/oci/resource_search/models/search_context.py +++ b/src/oci/resource_search/models/search_context.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/resource_search/models/search_details.py b/src/oci/resource_search/models/search_details.py index b9d0ca6cc0..07f8e25bfc 100644 --- a/src/oci/resource_search/models/search_details.py +++ b/src/oci/resource_search/models/search_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/resource_search/models/structured_search_details.py b/src/oci/resource_search/models/structured_search_details.py index 86605e3827..cd1e3f4762 100644 --- a/src/oci/resource_search/models/structured_search_details.py +++ b/src/oci/resource_search/models/structured_search_details.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .search_details import SearchDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/resource_search/resource_search_client.py b/src/oci/resource_search/resource_search_client.py index bc748f1032..17e6b8079c 100644 --- a/src/oci/resource_search/resource_search_client.py +++ b/src/oci/resource_search/resource_search_client.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/resource_search/resource_search_client_composite_operations.py b/src/oci/resource_search/resource_search_client_composite_operations.py index 1b6c516b52..b2c434b5c6 100644 --- a/src/oci/resource_search/resource_search_client_composite_operations.py +++ b/src/oci/resource_search/resource_search_client_composite_operations.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci # noqa: F401 diff --git a/src/oci/response.py b/src/oci/response.py index 154a53d71f..b83d899743 100644 --- a/src/oci/response.py +++ b/src/oci/response.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .constants import HEADER_NEXT_PAGE, HEADER_REQUEST_ID diff --git a/src/oci/retry/__init__.py b/src/oci/retry/__init__.py index 51fce638c0..29ddc68548 100644 --- a/src/oci/retry/__init__.py +++ b/src/oci/retry/__init__.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from .retry import BACKOFF_FULL_JITTER_VALUE, BACKOFF_EQUAL_JITTER_VALUE, BACKOFF_FULL_JITTER_EQUAL_ON_THROTTLE_VALUE from .retry import RetryStrategyBuilder, NoneRetryStrategy, ExponentialBackoffRetryStrategyBase, ExponentialBackoffWithFullJitterRetryStrategy, ExponentialBackoffWithEqualJitterRetryStrategy, ExponentialBackoffWithFullJitterEqualForThrottlesRetryStrategy diff --git a/src/oci/retry/retry.py b/src/oci/retry/retry.py index add6db3256..dd86034b2b 100644 --- a/src/oci/retry/retry.py +++ b/src/oci/retry/retry.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # Contains classes for defining and building retry strategies. diff --git a/src/oci/retry/retry_checkers.py b/src/oci/retry/retry_checkers.py index 74150271a4..b42e6043da 100644 --- a/src/oci/retry/retry_checkers.py +++ b/src/oci/retry/retry_checkers.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # Contains helper classes that can say whether a retry should occur based on various criteria, such as a maximum number of retries being # hit or the exception received from a service call (or the response from the service call if it didn't exception out). diff --git a/src/oci/retry/retry_sleep_utils.py b/src/oci/retry/retry_sleep_utils.py index c713dcd141..c9b96e1009 100644 --- a/src/oci/retry/retry_sleep_utils.py +++ b/src/oci/retry/retry_sleep_utils.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import random diff --git a/src/oci/service_endpoints.py b/src/oci/service_endpoints.py index bf78b0f299..da8fc0f226 100644 --- a/src/oci/service_endpoints.py +++ b/src/oci/service_endpoints.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. SERVICE_ENDPOINTS = { "audit": "https://audit.{domain}", diff --git a/src/oci/signer.py b/src/oci/signer.py index a41254743c..f76167ba17 100644 --- a/src/oci/signer.py +++ b/src/oci/signer.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import absolute_import diff --git a/src/oci/util.py b/src/oci/util.py index 60ea856eea..10fea64cc5 100644 --- a/src/oci/util.py +++ b/src/oci/util.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import base64 import datetime diff --git a/src/oci/version.py b/src/oci/version.py index e0d34eb246..22a64f694e 100644 --- a/src/oci/version.py +++ b/src/oci/version.py @@ -1,4 +1,4 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. -__version__ = "2.1.3" +__version__ = "2.1.4" diff --git a/src/oci/waiter.py b/src/oci/waiter.py index e31b9965b3..38ee5bfbb1 100644 --- a/src/oci/waiter.py +++ b/src/oci/waiter.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import time diff --git a/tests/__init__.py b/tests/__init__.py index 959b3b1364..4cb2d9f603 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,4 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # noqa: W391, W292 \ No newline at end of file diff --git a/tests/conftest.py b/tests/conftest.py index f97e548451..3e5fc11bd3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import os import pytest diff --git a/tests/integ/__init__.py b/tests/integ/__init__.py index 959b3b1364..4cb2d9f603 100644 --- a/tests/integ/__init__.py +++ b/tests/integ/__init__.py @@ -1,4 +1,4 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # noqa: W391, W292 \ No newline at end of file diff --git a/tests/integ/test_launch_instance_tutorial.py b/tests/integ/test_launch_instance_tutorial.py index 978a366108..1c61a04757 100644 --- a/tests/integ/test_launch_instance_tutorial.py +++ b/tests/integ/test_launch_instance_tutorial.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import tests.util import oci diff --git a/tests/integ/util.py b/tests/integ/util.py index 8bf84959b9..f03e3824d2 100644 --- a/tests/integ/util.py +++ b/tests/integ/util.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import print_function import functools diff --git a/tests/test_config_container.py b/tests/test_config_container.py index dbdffe2b08..a048561b98 100644 --- a/tests/test_config_container.py +++ b/tests/test_config_container.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # A module which holds test configuration information. This is intended to be a shared space where tests # can figure out what kind of recording (via VCR) is being done and also so that they can take actions (e.g. waiting) diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py index 959b3b1364..4cb2d9f603 100644 --- a/tests/unit/__init__.py +++ b/tests/unit/__init__.py @@ -1,4 +1,4 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. # noqa: W391, W292 \ No newline at end of file diff --git a/tests/unit/test_basic_api_calls.py b/tests/unit/test_basic_api_calls.py index 0dde69ec57..15ff4943a9 100644 --- a/tests/unit/test_basic_api_calls.py +++ b/tests/unit/test_basic_api_calls.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci import pytest diff --git a/tests/unit/test_model.py b/tests/unit/test_model.py index 7360ebc003..648fb0d25e 100644 --- a/tests/unit/test_model.py +++ b/tests/unit/test_model.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci import oci.util diff --git a/tests/unit/test_response.py b/tests/unit/test_response.py index 83a9934c5f..6241449dee 100644 --- a/tests/unit/test_response.py +++ b/tests/unit/test_response.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import oci diff --git a/tests/unit/test_waiters.py b/tests/unit/test_waiters.py index 487a64b154..3afa59b6e4 100644 --- a/tests/unit/test_waiters.py +++ b/tests/unit/test_waiters.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import tests.util import oci diff --git a/tests/util.py b/tests/util.py index 09a83d8e56..53fe99959d 100644 --- a/tests/util.py +++ b/tests/util.py @@ -1,5 +1,5 @@ # coding: utf-8 -# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. import functools import random