oci 2.150.0__py3-none-any.whl → 2.150.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +12 -12
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +282 -45
- oci/container_engine/container_engine_client_composite_operations.py +90 -0
- oci/container_engine/models/__init__.py +10 -0
- oci/container_engine/models/cluster_node.py +101 -0
- oci/container_engine/models/image.py +132 -0
- oci/container_engine/models/node_eviction_node_pool_settings.py +33 -2
- oci/container_engine/models/node_eviction_settings.py +103 -0
- oci/container_engine/models/node_pool_cycling_details.py +35 -4
- oci/container_engine/models/reboot_cluster_node_details.py +66 -0
- oci/container_engine/models/replace_boot_volume_cluster_node_details.py +66 -0
- oci/container_engine/models/work_request.py +11 -3
- oci/container_engine/models/work_request_summary.py +11 -3
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +117 -117
- oci/core/compute_management_client.py +32 -32
- oci/core/models/create_volume_details.py +33 -2
- oci/core/models/instance_configuration_create_volume_details.py +33 -2
- oci/core/models/update_volume_details.py +33 -2
- oci/core/models/volume.py +33 -2
- oci/core/virtual_network_client.py +258 -258
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +317 -317
- oci/data_science/data_science_client.py +145 -145
- oci/database/database_client.py +414 -414
- oci/database/models/autonomous_container_database.py +31 -0
- oci/database/models/autonomous_container_database_summary.py +31 -0
- oci/database/models/create_autonomous_container_database_details.py +31 -0
- oci/database/models/update_autonomous_container_database_details.py +31 -0
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +345 -12
- oci/dblm/models/__init__.py +22 -0
- oci/dblm/models/additional_patches.py +179 -0
- oci/dblm/models/databases_summary.py +670 -0
- oci/dblm/models/dblm_patch_management.py +410 -0
- oci/dblm/models/fpp_server.py +604 -0
- oci/dblm/models/image_details.py +338 -0
- oci/dblm/models/images_patch_recommendation_summary.py +132 -0
- oci/dblm/models/patch_activity_details.py +394 -0
- oci/dblm/models/patch_compliance_details.py +121 -0
- oci/dblm/models/patch_databases_collection.py +70 -0
- oci/dblm/models/patch_operations_summary.py +194 -0
- oci/dblm/models/resource_info.py +33 -2
- oci/dblm/models/resources_patch_compliance_summary.py +194 -0
- oci/dblm/models/vulnerabilities_summary.py +10 -10
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +74 -74
- oci/fips.py +58 -36
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_inference/generative_ai_inference_client.py +102 -5
- oci/generative_ai_inference/models/__init__.py +26 -0
- oci/generative_ai_inference/models/apply_guardrails_details.py +124 -0
- oci/generative_ai_inference/models/apply_guardrails_result.py +66 -0
- oci/generative_ai_inference/models/assistant_message.py +3 -0
- oci/generative_ai_inference/models/category_score.py +101 -0
- oci/generative_ai_inference/models/cohere_chat_request.py +53 -2
- oci/generative_ai_inference/models/content_moderation_configuration.py +70 -0
- oci/generative_ai_inference/models/content_moderation_result.py +70 -0
- oci/generative_ai_inference/models/guardrail_configs.py +120 -0
- oci/generative_ai_inference/models/guardrails_input.py +99 -0
- oci/generative_ai_inference/models/guardrails_results.py +124 -0
- oci/generative_ai_inference/models/guardrails_text_input.py +111 -0
- oci/generative_ai_inference/models/personally_identifiable_information_configuration.py +70 -0
- oci/generative_ai_inference/models/personally_identifiable_information_result.py +194 -0
- oci/generative_ai_inference/models/prompt_injection_configuration.py +39 -0
- oci/generative_ai_inference/models/prompt_injection_protection_result.py +70 -0
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +89 -89
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/lustre_file_storage/lustre_file_storage_client.py +22 -22
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/mngdmac/mac_device_client.py +3 -3
- oci/mngdmac/mac_order_client.py +11 -11
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +181 -181
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +34 -34
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/regions_definitions.py +9 -0
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +87 -87
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/models/__init__.py +6 -0
- oci/visual_builder/models/network_endpoint_details.py +11 -3
- oci/visual_builder/models/private_endpoint_details.py +1 -1
- oci/visual_builder/models/public_endpoint_details.py +113 -0
- oci/visual_builder/models/update_network_endpoint_details.py +11 -3
- oci/visual_builder/models/update_private_endpoint_details.py +1 -1
- oci/visual_builder/models/update_public_endpoint_details.py +113 -0
- oci/visual_builder/models/virtual_cloud_network.py +103 -0
- oci/visual_builder/vb_instance_client.py +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.150.0.dist-info → oci-2.150.2.dist-info}/METADATA +1 -1
- {oci-2.150.0.dist-info → oci-2.150.2.dist-info}/RECORD +322 -290
- {oci-2.150.0.dist-info → oci-2.150.2.dist-info}/LICENSE.txt +0 -0
- {oci-2.150.0.dist-info → oci-2.150.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.150.0.dist-info → oci-2.150.2.dist-info}/WHEEL +0 -0
- {oci-2.150.0.dist-info → oci-2.150.2.dist-info}/top_level.txt +0 -0
@@ -154,7 +154,7 @@ class ContainerEngineClient(object):
|
|
154
154
|
:rtype: :class:`~oci.response.Response`
|
155
155
|
|
156
156
|
:example:
|
157
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
157
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/cluster_migrate_to_native_vcn.py.html>`__ to see an example of how to use cluster_migrate_to_native_vcn API.
|
158
158
|
"""
|
159
159
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
160
160
|
required_arguments = ['clusterId']
|
@@ -264,7 +264,7 @@ class ContainerEngineClient(object):
|
|
264
264
|
:rtype: :class:`~oci.response.Response`
|
265
265
|
|
266
266
|
:example:
|
267
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
267
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/complete_credential_rotation.py.html>`__ to see an example of how to use complete_credential_rotation API.
|
268
268
|
"""
|
269
269
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
270
270
|
required_arguments = ['clusterId']
|
@@ -370,7 +370,7 @@ class ContainerEngineClient(object):
|
|
370
370
|
:rtype: :class:`~oci.response.Response`
|
371
371
|
|
372
372
|
:example:
|
373
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
373
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/create_cluster.py.html>`__ to see an example of how to use create_cluster API.
|
374
374
|
"""
|
375
375
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
376
376
|
required_arguments = []
|
@@ -463,7 +463,7 @@ class ContainerEngineClient(object):
|
|
463
463
|
:rtype: :class:`~oci.response.Response`
|
464
464
|
|
465
465
|
:example:
|
466
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
466
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/create_kubeconfig.py.html>`__ to see an example of how to use create_kubeconfig API.
|
467
467
|
"""
|
468
468
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
469
469
|
required_arguments = ['clusterId']
|
@@ -569,7 +569,7 @@ class ContainerEngineClient(object):
|
|
569
569
|
:rtype: :class:`~oci.response.Response`
|
570
570
|
|
571
571
|
:example:
|
572
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
572
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/create_node_pool.py.html>`__ to see an example of how to use create_node_pool API.
|
573
573
|
"""
|
574
574
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
575
575
|
required_arguments = []
|
@@ -663,7 +663,7 @@ class ContainerEngineClient(object):
|
|
663
663
|
:rtype: :class:`~oci.response.Response`
|
664
664
|
|
665
665
|
:example:
|
666
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
666
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/create_virtual_node_pool.py.html>`__ to see an example of how to use create_virtual_node_pool API.
|
667
667
|
"""
|
668
668
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
669
669
|
required_arguments = []
|
@@ -760,7 +760,7 @@ class ContainerEngineClient(object):
|
|
760
760
|
:rtype: :class:`~oci.response.Response`
|
761
761
|
|
762
762
|
:example:
|
763
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
763
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/create_workload_mapping.py.html>`__ to see an example of how to use create_workload_mapping API.
|
764
764
|
"""
|
765
765
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
766
766
|
required_arguments = ['clusterId']
|
@@ -869,7 +869,7 @@ class ContainerEngineClient(object):
|
|
869
869
|
:rtype: :class:`~oci.response.Response`
|
870
870
|
|
871
871
|
:example:
|
872
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
872
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/delete_cluster.py.html>`__ to see an example of how to use delete_cluster API.
|
873
873
|
"""
|
874
874
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
875
875
|
required_arguments = ['clusterId']
|
@@ -986,7 +986,7 @@ class ContainerEngineClient(object):
|
|
986
986
|
:rtype: :class:`~oci.response.Response`
|
987
987
|
|
988
988
|
:example:
|
989
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
989
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/delete_node.py.html>`__ to see an example of how to use delete_node API.
|
990
990
|
"""
|
991
991
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
992
992
|
required_arguments = ['nodePoolId', 'nodeId']
|
@@ -1110,7 +1110,7 @@ class ContainerEngineClient(object):
|
|
1110
1110
|
:rtype: :class:`~oci.response.Response`
|
1111
1111
|
|
1112
1112
|
:example:
|
1113
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1113
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/delete_node_pool.py.html>`__ to see an example of how to use delete_node_pool API.
|
1114
1114
|
"""
|
1115
1115
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1116
1116
|
required_arguments = ['nodePoolId']
|
@@ -1231,7 +1231,7 @@ class ContainerEngineClient(object):
|
|
1231
1231
|
:rtype: :class:`~oci.response.Response`
|
1232
1232
|
|
1233
1233
|
:example:
|
1234
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1234
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/delete_virtual_node_pool.py.html>`__ to see an example of how to use delete_virtual_node_pool API.
|
1235
1235
|
"""
|
1236
1236
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1237
1237
|
required_arguments = ['virtualNodePoolId']
|
@@ -1345,7 +1345,7 @@ class ContainerEngineClient(object):
|
|
1345
1345
|
:rtype: :class:`~oci.response.Response`
|
1346
1346
|
|
1347
1347
|
:example:
|
1348
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1348
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/delete_work_request.py.html>`__ to see an example of how to use delete_work_request API.
|
1349
1349
|
"""
|
1350
1350
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1351
1351
|
required_arguments = ['workRequestId']
|
@@ -1452,7 +1452,7 @@ class ContainerEngineClient(object):
|
|
1452
1452
|
:rtype: :class:`~oci.response.Response`
|
1453
1453
|
|
1454
1454
|
:example:
|
1455
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1455
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/delete_workload_mapping.py.html>`__ to see an example of how to use delete_workload_mapping API.
|
1456
1456
|
"""
|
1457
1457
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1458
1458
|
required_arguments = ['clusterId', 'workloadMappingId']
|
@@ -1563,7 +1563,7 @@ class ContainerEngineClient(object):
|
|
1563
1563
|
:rtype: :class:`~oci.response.Response`
|
1564
1564
|
|
1565
1565
|
:example:
|
1566
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1566
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/disable_addon.py.html>`__ to see an example of how to use disable_addon API.
|
1567
1567
|
"""
|
1568
1568
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1569
1569
|
required_arguments = ['clusterId', 'addonName', 'isRemoveExistingAddOn']
|
@@ -1673,7 +1673,7 @@ class ContainerEngineClient(object):
|
|
1673
1673
|
:rtype: :class:`~oci.response.Response`
|
1674
1674
|
|
1675
1675
|
:example:
|
1676
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1676
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/get_addon.py.html>`__ to see an example of how to use get_addon API.
|
1677
1677
|
"""
|
1678
1678
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1679
1679
|
required_arguments = ['clusterId', 'addonName']
|
@@ -1757,6 +1757,9 @@ class ContainerEngineClient(object):
|
|
1757
1757
|
Unique Oracle-assigned identifier for the request. If you need to contact
|
1758
1758
|
Oracle about a particular request, please provide the request ID.
|
1759
1759
|
|
1760
|
+
:param bool should_include_oidc_config_file: (optional)
|
1761
|
+
Boolean value to determine if the OpenIdConnectAuth configuration file should be displayed for the provided cluster.
|
1762
|
+
|
1760
1763
|
:param obj retry_strategy: (optional)
|
1761
1764
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1762
1765
|
|
@@ -1773,7 +1776,7 @@ class ContainerEngineClient(object):
|
|
1773
1776
|
:rtype: :class:`~oci.response.Response`
|
1774
1777
|
|
1775
1778
|
:example:
|
1776
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1779
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/get_cluster.py.html>`__ to see an example of how to use get_cluster API.
|
1777
1780
|
"""
|
1778
1781
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1779
1782
|
required_arguments = ['clusterId']
|
@@ -1786,7 +1789,8 @@ class ContainerEngineClient(object):
|
|
1786
1789
|
expected_kwargs = [
|
1787
1790
|
"allow_control_chars",
|
1788
1791
|
"retry_strategy",
|
1789
|
-
"opc_request_id"
|
1792
|
+
"opc_request_id",
|
1793
|
+
"should_include_oidc_config_file"
|
1790
1794
|
]
|
1791
1795
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1792
1796
|
if extra_kwargs:
|
@@ -1803,6 +1807,11 @@ class ContainerEngineClient(object):
|
|
1803
1807
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1804
1808
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1805
1809
|
|
1810
|
+
query_params = {
|
1811
|
+
"shouldIncludeOidcConfigFile": kwargs.get("should_include_oidc_config_file", missing)
|
1812
|
+
}
|
1813
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1814
|
+
|
1806
1815
|
header_params = {
|
1807
1816
|
"accept": "application/json",
|
1808
1817
|
"content-type": "application/json",
|
@@ -1826,6 +1835,7 @@ class ContainerEngineClient(object):
|
|
1826
1835
|
resource_path=resource_path,
|
1827
1836
|
method=method,
|
1828
1837
|
path_params=path_params,
|
1838
|
+
query_params=query_params,
|
1829
1839
|
header_params=header_params,
|
1830
1840
|
response_type="Cluster",
|
1831
1841
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -1837,6 +1847,7 @@ class ContainerEngineClient(object):
|
|
1837
1847
|
resource_path=resource_path,
|
1838
1848
|
method=method,
|
1839
1849
|
path_params=path_params,
|
1850
|
+
query_params=query_params,
|
1840
1851
|
header_params=header_params,
|
1841
1852
|
response_type="Cluster",
|
1842
1853
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -1872,7 +1883,7 @@ class ContainerEngineClient(object):
|
|
1872
1883
|
:rtype: :class:`~oci.response.Response`
|
1873
1884
|
|
1874
1885
|
:example:
|
1875
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1886
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/get_cluster_migrate_to_native_vcn_status.py.html>`__ to see an example of how to use get_cluster_migrate_to_native_vcn_status API.
|
1876
1887
|
"""
|
1877
1888
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1878
1889
|
required_arguments = ['clusterId']
|
@@ -1974,7 +1985,7 @@ class ContainerEngineClient(object):
|
|
1974
1985
|
:rtype: :class:`~oci.response.Response`
|
1975
1986
|
|
1976
1987
|
:example:
|
1977
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1988
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/get_cluster_options.py.html>`__ to see an example of how to use get_cluster_options API.
|
1978
1989
|
"""
|
1979
1990
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1980
1991
|
required_arguments = ['clusterOptionId']
|
@@ -2081,7 +2092,7 @@ class ContainerEngineClient(object):
|
|
2081
2092
|
:rtype: :class:`~oci.response.Response`
|
2082
2093
|
|
2083
2094
|
:example:
|
2084
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2095
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/get_credential_rotation_status.py.html>`__ to see an example of how to use get_credential_rotation_status API.
|
2085
2096
|
"""
|
2086
2097
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2087
2098
|
required_arguments = ['clusterId']
|
@@ -2180,7 +2191,7 @@ class ContainerEngineClient(object):
|
|
2180
2191
|
:rtype: :class:`~oci.response.Response`
|
2181
2192
|
|
2182
2193
|
:example:
|
2183
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2194
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/get_node_pool.py.html>`__ to see an example of how to use get_node_pool API.
|
2184
2195
|
"""
|
2185
2196
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2186
2197
|
required_arguments = ['nodePoolId']
|
@@ -2282,7 +2293,7 @@ class ContainerEngineClient(object):
|
|
2282
2293
|
:rtype: :class:`~oci.response.Response`
|
2283
2294
|
|
2284
2295
|
:example:
|
2285
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2296
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/get_node_pool_options.py.html>`__ to see an example of how to use get_node_pool_options API.
|
2286
2297
|
"""
|
2287
2298
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2288
2299
|
required_arguments = ['nodePoolOptionId']
|
@@ -2392,7 +2403,7 @@ class ContainerEngineClient(object):
|
|
2392
2403
|
:rtype: :class:`~oci.response.Response`
|
2393
2404
|
|
2394
2405
|
:example:
|
2395
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2406
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/get_virtual_node.py.html>`__ to see an example of how to use get_virtual_node API.
|
2396
2407
|
"""
|
2397
2408
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2398
2409
|
required_arguments = ['virtualNodePoolId', 'virtualNodeId']
|
@@ -2492,7 +2503,7 @@ class ContainerEngineClient(object):
|
|
2492
2503
|
:rtype: :class:`~oci.response.Response`
|
2493
2504
|
|
2494
2505
|
:example:
|
2495
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2506
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/get_virtual_node_pool.py.html>`__ to see an example of how to use get_virtual_node_pool API.
|
2496
2507
|
"""
|
2497
2508
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2498
2509
|
required_arguments = ['virtualNodePoolId']
|
@@ -2591,7 +2602,7 @@ class ContainerEngineClient(object):
|
|
2591
2602
|
:rtype: :class:`~oci.response.Response`
|
2592
2603
|
|
2593
2604
|
:example:
|
2594
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2605
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
2595
2606
|
"""
|
2596
2607
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2597
2608
|
required_arguments = ['workRequestId']
|
@@ -2693,7 +2704,7 @@ class ContainerEngineClient(object):
|
|
2693
2704
|
:rtype: :class:`~oci.response.Response`
|
2694
2705
|
|
2695
2706
|
:example:
|
2696
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2707
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/get_workload_mapping.py.html>`__ to see an example of how to use get_workload_mapping API.
|
2697
2708
|
"""
|
2698
2709
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2699
2710
|
required_arguments = ['clusterId', 'workloadMappingId']
|
@@ -2805,7 +2816,7 @@ class ContainerEngineClient(object):
|
|
2805
2816
|
:rtype: :class:`~oci.response.Response`
|
2806
2817
|
|
2807
2818
|
:example:
|
2808
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2819
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/install_addon.py.html>`__ to see an example of how to use install_addon API.
|
2809
2820
|
"""
|
2810
2821
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2811
2822
|
required_arguments = ['clusterId']
|
@@ -2935,7 +2946,7 @@ class ContainerEngineClient(object):
|
|
2935
2946
|
:rtype: :class:`~oci.response.Response`
|
2936
2947
|
|
2937
2948
|
:example:
|
2938
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
2949
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/list_addon_options.py.html>`__ to see an example of how to use list_addon_options API.
|
2939
2950
|
"""
|
2940
2951
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2941
2952
|
required_arguments = ['kubernetesVersion']
|
@@ -3076,7 +3087,7 @@ class ContainerEngineClient(object):
|
|
3076
3087
|
:rtype: :class:`~oci.response.Response`
|
3077
3088
|
|
3078
3089
|
:example:
|
3079
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
3090
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/list_addons.py.html>`__ to see an example of how to use list_addons API.
|
3080
3091
|
"""
|
3081
3092
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3082
3093
|
required_arguments = ['clusterId']
|
@@ -3236,7 +3247,7 @@ class ContainerEngineClient(object):
|
|
3236
3247
|
:rtype: :class:`~oci.response.Response`
|
3237
3248
|
|
3238
3249
|
:example:
|
3239
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
3250
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/list_clusters.py.html>`__ to see an example of how to use list_clusters API.
|
3240
3251
|
"""
|
3241
3252
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3242
3253
|
required_arguments = ['compartmentId']
|
@@ -3400,7 +3411,7 @@ class ContainerEngineClient(object):
|
|
3400
3411
|
:rtype: :class:`~oci.response.Response`
|
3401
3412
|
|
3402
3413
|
:example:
|
3403
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
3414
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/list_node_pools.py.html>`__ to see an example of how to use list_node_pools API.
|
3404
3415
|
"""
|
3405
3416
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3406
3417
|
required_arguments = ['compartmentId']
|
@@ -3559,7 +3570,7 @@ class ContainerEngineClient(object):
|
|
3559
3570
|
:rtype: :class:`~oci.response.Response`
|
3560
3571
|
|
3561
3572
|
:example:
|
3562
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
3573
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/list_pod_shapes.py.html>`__ to see an example of how to use list_pod_shapes API.
|
3563
3574
|
"""
|
3564
3575
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3565
3576
|
required_arguments = ['compartmentId']
|
@@ -3713,7 +3724,7 @@ class ContainerEngineClient(object):
|
|
3713
3724
|
:rtype: :class:`~oci.response.Response`
|
3714
3725
|
|
3715
3726
|
:example:
|
3716
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
3727
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/list_virtual_node_pools.py.html>`__ to see an example of how to use list_virtual_node_pools API.
|
3717
3728
|
"""
|
3718
3729
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3719
3730
|
required_arguments = ['compartmentId']
|
@@ -3869,7 +3880,7 @@ class ContainerEngineClient(object):
|
|
3869
3880
|
:rtype: :class:`~oci.response.Response`
|
3870
3881
|
|
3871
3882
|
:example:
|
3872
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
3883
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/list_virtual_nodes.py.html>`__ to see an example of how to use list_virtual_nodes API.
|
3873
3884
|
"""
|
3874
3885
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3875
3886
|
required_arguments = ['virtualNodePoolId']
|
@@ -4001,7 +4012,7 @@ class ContainerEngineClient(object):
|
|
4001
4012
|
:rtype: :class:`~oci.response.Response`
|
4002
4013
|
|
4003
4014
|
:example:
|
4004
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
4015
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
4005
4016
|
"""
|
4006
4017
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4007
4018
|
required_arguments = ['workRequestId', 'compartmentId']
|
@@ -4110,7 +4121,7 @@ class ContainerEngineClient(object):
|
|
4110
4121
|
:rtype: :class:`~oci.response.Response`
|
4111
4122
|
|
4112
4123
|
:example:
|
4113
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
4124
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
4114
4125
|
"""
|
4115
4126
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4116
4127
|
required_arguments = ['workRequestId', 'compartmentId']
|
@@ -4253,7 +4264,7 @@ class ContainerEngineClient(object):
|
|
4253
4264
|
:rtype: :class:`~oci.response.Response`
|
4254
4265
|
|
4255
4266
|
:example:
|
4256
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
4267
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
4257
4268
|
"""
|
4258
4269
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4259
4270
|
required_arguments = ['compartmentId']
|
@@ -4407,7 +4418,7 @@ class ContainerEngineClient(object):
|
|
4407
4418
|
:rtype: :class:`~oci.response.Response`
|
4408
4419
|
|
4409
4420
|
:example:
|
4410
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
4421
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/list_workload_mappings.py.html>`__ to see an example of how to use list_workload_mappings API.
|
4411
4422
|
"""
|
4412
4423
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4413
4424
|
required_arguments = ['clusterId']
|
@@ -4506,6 +4517,232 @@ class ContainerEngineClient(object):
|
|
4506
4517
|
api_reference_link=api_reference_link,
|
4507
4518
|
required_arguments=required_arguments)
|
4508
4519
|
|
4520
|
+
def reboot_cluster_node(self, cluster_id, node_id, reboot_cluster_node_details, **kwargs):
|
4521
|
+
"""
|
4522
|
+
perform reboot action to node in cluster
|
4523
|
+
|
4524
|
+
|
4525
|
+
:param str cluster_id: (required)
|
4526
|
+
The OCID of the cluster.
|
4527
|
+
|
4528
|
+
:param str node_id: (required)
|
4529
|
+
The OCID of the compute instance.
|
4530
|
+
|
4531
|
+
:param oci.container_engine.models.RebootClusterNodeDetails reboot_cluster_node_details: (required)
|
4532
|
+
The fields to reboot a node.
|
4533
|
+
|
4534
|
+
:param str opc_request_id: (optional)
|
4535
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
4536
|
+
Oracle about a particular request, please provide the request ID.
|
4537
|
+
|
4538
|
+
:param str opc_retry_token: (optional)
|
4539
|
+
A token you supply to uniquely identify the request and provide idempotency if
|
4540
|
+
the request is retried. Idempotency tokens expire after 24 hours.
|
4541
|
+
|
4542
|
+
:param obj retry_strategy: (optional)
|
4543
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
4544
|
+
|
4545
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
4546
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
4547
|
+
|
4548
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
4549
|
+
|
4550
|
+
:param bool allow_control_chars: (optional)
|
4551
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
4552
|
+
By default, the response will not allow control characters in strings
|
4553
|
+
|
4554
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
4555
|
+
:rtype: :class:`~oci.response.Response`
|
4556
|
+
|
4557
|
+
:example:
|
4558
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/reboot_cluster_node.py.html>`__ to see an example of how to use reboot_cluster_node API.
|
4559
|
+
"""
|
4560
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4561
|
+
required_arguments = ['clusterId', 'nodeId']
|
4562
|
+
resource_path = "/clusters/{clusterId}/nodes/{nodeId}/actions/reboot"
|
4563
|
+
method = "POST"
|
4564
|
+
operation_name = "reboot_cluster_node"
|
4565
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/RebootClusterNode"
|
4566
|
+
|
4567
|
+
# Don't accept unknown kwargs
|
4568
|
+
expected_kwargs = [
|
4569
|
+
"allow_control_chars",
|
4570
|
+
"retry_strategy",
|
4571
|
+
"opc_request_id",
|
4572
|
+
"opc_retry_token"
|
4573
|
+
]
|
4574
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
4575
|
+
if extra_kwargs:
|
4576
|
+
raise ValueError(
|
4577
|
+
f"reboot_cluster_node got unknown kwargs: {extra_kwargs!r}")
|
4578
|
+
|
4579
|
+
path_params = {
|
4580
|
+
"clusterId": cluster_id,
|
4581
|
+
"nodeId": node_id
|
4582
|
+
}
|
4583
|
+
|
4584
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
4585
|
+
|
4586
|
+
for (k, v) in six.iteritems(path_params):
|
4587
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
4588
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
4589
|
+
|
4590
|
+
header_params = {
|
4591
|
+
"accept": "application/json",
|
4592
|
+
"content-type": "application/json",
|
4593
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
4594
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
4595
|
+
}
|
4596
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
4597
|
+
|
4598
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
4599
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
4600
|
+
client_retry_strategy=self.retry_strategy
|
4601
|
+
)
|
4602
|
+
if retry_strategy is None:
|
4603
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
4604
|
+
|
4605
|
+
if retry_strategy:
|
4606
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
4607
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
4608
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
4609
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
4610
|
+
return retry_strategy.make_retrying_call(
|
4611
|
+
self.base_client.call_api,
|
4612
|
+
resource_path=resource_path,
|
4613
|
+
method=method,
|
4614
|
+
path_params=path_params,
|
4615
|
+
header_params=header_params,
|
4616
|
+
body=reboot_cluster_node_details,
|
4617
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
4618
|
+
operation_name=operation_name,
|
4619
|
+
api_reference_link=api_reference_link,
|
4620
|
+
required_arguments=required_arguments)
|
4621
|
+
else:
|
4622
|
+
return self.base_client.call_api(
|
4623
|
+
resource_path=resource_path,
|
4624
|
+
method=method,
|
4625
|
+
path_params=path_params,
|
4626
|
+
header_params=header_params,
|
4627
|
+
body=reboot_cluster_node_details,
|
4628
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
4629
|
+
operation_name=operation_name,
|
4630
|
+
api_reference_link=api_reference_link,
|
4631
|
+
required_arguments=required_arguments)
|
4632
|
+
|
4633
|
+
def replace_boot_volume_cluster_node(self, cluster_id, node_id, replace_boot_volume_cluster_node_details, **kwargs):
|
4634
|
+
"""
|
4635
|
+
perform cycle action to node in cluster
|
4636
|
+
|
4637
|
+
|
4638
|
+
:param str cluster_id: (required)
|
4639
|
+
The OCID of the cluster.
|
4640
|
+
|
4641
|
+
:param str node_id: (required)
|
4642
|
+
The OCID of the compute instance.
|
4643
|
+
|
4644
|
+
:param oci.container_engine.models.ReplaceBootVolumeClusterNodeDetails replace_boot_volume_cluster_node_details: (required)
|
4645
|
+
The fields to replace boot volume of a node.
|
4646
|
+
|
4647
|
+
:param str opc_request_id: (optional)
|
4648
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
4649
|
+
Oracle about a particular request, please provide the request ID.
|
4650
|
+
|
4651
|
+
:param str opc_retry_token: (optional)
|
4652
|
+
A token you supply to uniquely identify the request and provide idempotency if
|
4653
|
+
the request is retried. Idempotency tokens expire after 24 hours.
|
4654
|
+
|
4655
|
+
:param obj retry_strategy: (optional)
|
4656
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
4657
|
+
|
4658
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
4659
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
4660
|
+
|
4661
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
4662
|
+
|
4663
|
+
:param bool allow_control_chars: (optional)
|
4664
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
4665
|
+
By default, the response will not allow control characters in strings
|
4666
|
+
|
4667
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
4668
|
+
:rtype: :class:`~oci.response.Response`
|
4669
|
+
|
4670
|
+
:example:
|
4671
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/replace_boot_volume_cluster_node.py.html>`__ to see an example of how to use replace_boot_volume_cluster_node API.
|
4672
|
+
"""
|
4673
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4674
|
+
required_arguments = ['clusterId', 'nodeId']
|
4675
|
+
resource_path = "/clusters/{clusterId}/nodes/{nodeId}/actions/replaceBootVolume"
|
4676
|
+
method = "POST"
|
4677
|
+
operation_name = "replace_boot_volume_cluster_node"
|
4678
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/ReplaceBootVolumeClusterNode"
|
4679
|
+
|
4680
|
+
# Don't accept unknown kwargs
|
4681
|
+
expected_kwargs = [
|
4682
|
+
"allow_control_chars",
|
4683
|
+
"retry_strategy",
|
4684
|
+
"opc_request_id",
|
4685
|
+
"opc_retry_token"
|
4686
|
+
]
|
4687
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
4688
|
+
if extra_kwargs:
|
4689
|
+
raise ValueError(
|
4690
|
+
f"replace_boot_volume_cluster_node got unknown kwargs: {extra_kwargs!r}")
|
4691
|
+
|
4692
|
+
path_params = {
|
4693
|
+
"clusterId": cluster_id,
|
4694
|
+
"nodeId": node_id
|
4695
|
+
}
|
4696
|
+
|
4697
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
4698
|
+
|
4699
|
+
for (k, v) in six.iteritems(path_params):
|
4700
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
4701
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
4702
|
+
|
4703
|
+
header_params = {
|
4704
|
+
"accept": "application/json",
|
4705
|
+
"content-type": "application/json",
|
4706
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
4707
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
4708
|
+
}
|
4709
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
4710
|
+
|
4711
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
4712
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
4713
|
+
client_retry_strategy=self.retry_strategy
|
4714
|
+
)
|
4715
|
+
if retry_strategy is None:
|
4716
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
4717
|
+
|
4718
|
+
if retry_strategy:
|
4719
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
4720
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
4721
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
4722
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
4723
|
+
return retry_strategy.make_retrying_call(
|
4724
|
+
self.base_client.call_api,
|
4725
|
+
resource_path=resource_path,
|
4726
|
+
method=method,
|
4727
|
+
path_params=path_params,
|
4728
|
+
header_params=header_params,
|
4729
|
+
body=replace_boot_volume_cluster_node_details,
|
4730
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
4731
|
+
operation_name=operation_name,
|
4732
|
+
api_reference_link=api_reference_link,
|
4733
|
+
required_arguments=required_arguments)
|
4734
|
+
else:
|
4735
|
+
return self.base_client.call_api(
|
4736
|
+
resource_path=resource_path,
|
4737
|
+
method=method,
|
4738
|
+
path_params=path_params,
|
4739
|
+
header_params=header_params,
|
4740
|
+
body=replace_boot_volume_cluster_node_details,
|
4741
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
4742
|
+
operation_name=operation_name,
|
4743
|
+
api_reference_link=api_reference_link,
|
4744
|
+
required_arguments=required_arguments)
|
4745
|
+
|
4509
4746
|
def start_credential_rotation(self, cluster_id, start_credential_rotation_details, **kwargs):
|
4510
4747
|
"""
|
4511
4748
|
Start cluster credential rotation by adding new credentials, old credentials will still work after this operation.
|
@@ -4546,7 +4783,7 @@ class ContainerEngineClient(object):
|
|
4546
4783
|
:rtype: :class:`~oci.response.Response`
|
4547
4784
|
|
4548
4785
|
:example:
|
4549
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
4786
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/start_credential_rotation.py.html>`__ to see an example of how to use start_credential_rotation API.
|
4550
4787
|
"""
|
4551
4788
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4552
4789
|
required_arguments = ['clusterId']
|
@@ -4661,7 +4898,7 @@ class ContainerEngineClient(object):
|
|
4661
4898
|
:rtype: :class:`~oci.response.Response`
|
4662
4899
|
|
4663
4900
|
:example:
|
4664
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
4901
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/update_addon.py.html>`__ to see an example of how to use update_addon API.
|
4665
4902
|
"""
|
4666
4903
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4667
4904
|
required_arguments = ['clusterId', 'addonName']
|
@@ -4771,7 +5008,7 @@ class ContainerEngineClient(object):
|
|
4771
5008
|
:rtype: :class:`~oci.response.Response`
|
4772
5009
|
|
4773
5010
|
:example:
|
4774
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
5011
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/update_cluster.py.html>`__ to see an example of how to use update_cluster API.
|
4775
5012
|
"""
|
4776
5013
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4777
5014
|
required_arguments = ['clusterId']
|
@@ -4880,7 +5117,7 @@ class ContainerEngineClient(object):
|
|
4880
5117
|
:rtype: :class:`~oci.response.Response`
|
4881
5118
|
|
4882
5119
|
:example:
|
4883
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
5120
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/update_cluster_endpoint_config.py.html>`__ to see an example of how to use update_cluster_endpoint_config API.
|
4884
5121
|
"""
|
4885
5122
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4886
5123
|
required_arguments = ['clusterId']
|
@@ -4996,7 +5233,7 @@ class ContainerEngineClient(object):
|
|
4996
5233
|
:rtype: :class:`~oci.response.Response`
|
4997
5234
|
|
4998
5235
|
:example:
|
4999
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
5236
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/update_node_pool.py.html>`__ to see an example of how to use update_node_pool API.
|
5000
5237
|
"""
|
5001
5238
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5002
5239
|
required_arguments = ['nodePoolId']
|
@@ -5115,7 +5352,7 @@ class ContainerEngineClient(object):
|
|
5115
5352
|
:rtype: :class:`~oci.response.Response`
|
5116
5353
|
|
5117
5354
|
:example:
|
5118
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
5355
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/update_virtual_node_pool.py.html>`__ to see an example of how to use update_virtual_node_pool API.
|
5119
5356
|
"""
|
5120
5357
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5121
5358
|
required_arguments = ['virtualNodePoolId']
|
@@ -5227,7 +5464,7 @@ class ContainerEngineClient(object):
|
|
5227
5464
|
:rtype: :class:`~oci.response.Response`
|
5228
5465
|
|
5229
5466
|
:example:
|
5230
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
5467
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/containerengine/update_workload_mapping.py.html>`__ to see an example of how to use update_workload_mapping API.
|
5231
5468
|
"""
|
5232
5469
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5233
5470
|
required_arguments = ['clusterId', 'workloadMappingId']
|