oci 2.123.0__py3-none-any.whl → 2.124.1__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 +22 -22
- oci/ai_language/ai_service_language_client.py +36 -36
- oci/ai_speech/ai_service_speech_client.py +122 -9
- oci/ai_speech/ai_service_speech_client_composite_operations.py +59 -0
- oci/ai_speech/models/transcription_model_details.py +390 -7
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- 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 +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- 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 +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +19 -19
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- 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 +133 -133
- oci/cloud_migrations/migration_client.py +43 -43
- 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 +44 -44
- oci/container_instances/container_instance_client.py +21 -21
- oci/container_instances/models/__init__.py +2 -0
- oci/container_instances/models/container_capabilities.py +239 -0
- oci/container_instances/models/create_linux_security_context_details.py +29 -2
- oci/container_instances/models/linux_security_context.py +29 -2
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/models/emulated_volume_attachment.py +9 -2
- oci/core/models/i_scsi_volume_attachment.py +7 -0
- oci/core/models/paravirtualized_volume_attachment.py +9 -2
- oci/core/models/volume_attachment.py +35 -2
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +148 -148
- oci/data_flow/data_flow_client.py +42 -42
- 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 +272 -272
- oci/data_science/data_science_client.py +91 -91
- oci/data_science/models/__init__.py +22 -0
- oci/data_science/models/auto_scaling_policy.py +148 -0
- oci/data_science/models/auto_scaling_policy_details.py +104 -0
- oci/data_science/models/custom_expression_query_scaling_configuration.py +124 -0
- oci/data_science/models/custom_metric_expression_rule.py +105 -0
- oci/data_science/models/fixed_size_scaling_policy.py +1 -1
- oci/data_science/models/instance_pool_model_deployment_system_data.py +82 -0
- oci/data_science/models/metric_expression_rule.py +121 -0
- oci/data_science/models/model_configuration_details.py +33 -2
- oci/data_science/models/model_deployment.py +27 -0
- oci/data_science/models/model_deployment_instance_shape_config_details.py +61 -2
- oci/data_science/models/model_deployment_system_data.py +101 -0
- oci/data_science/models/predefined_expression_threshold_scaling_configuration.py +97 -0
- oci/data_science/models/predefined_metric_expression_rule.py +153 -0
- oci/data_science/models/scaling_configuration.py +185 -0
- oci/data_science/models/scaling_policy.py +11 -3
- oci/data_science/models/threshold_based_auto_scaling_policy_details.py +187 -0
- oci/data_science/models/update_model_configuration_details.py +33 -2
- oci/database/database_client.py +327 -327
- oci/database/models/autonomous_container_database.py +158 -2
- oci/database/models/autonomous_container_database_summary.py +158 -2
- oci/database/models/autonomous_database.py +80 -2
- oci/database/models/autonomous_database_summary.py +80 -2
- oci/database/models/create_autonomous_container_database_details.py +158 -2
- oci/database/models/create_autonomous_database_base.py +31 -0
- oci/database/models/create_autonomous_database_clone_details.py +7 -0
- oci/database/models/create_autonomous_database_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +7 -0
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +7 -0
- oci/database/models/create_cross_region_disaster_recovery_details.py +7 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +7 -0
- oci/database/models/update_autonomous_database_details.py +31 -0
- oci/database_management/db_management_client.py +194 -194
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +6 -6
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/desktops/desktop_service_client.py +42 -42
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- 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_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +25 -25
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +3 -3
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +29 -29
- oci/golden_gate/golden_gate_client.py +61 -61
- 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 +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- 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 +23 -23
- 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/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_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- 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 +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- 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 +11 -11
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- 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/models/__init__.py +2 -0
- oci/opsi/models/create_news_report_details.py +100 -2
- oci/opsi/models/news_content_types.py +189 -3
- oci/opsi/models/news_report.py +100 -2
- oci/opsi/models/news_report_summary.py +100 -2
- oci/opsi/models/update_host_insight_details.py +4 -0
- oci/opsi/models/update_news_report_details.py +162 -2
- oci/opsi/models/update_pe_comanaged_host_insight_details.py +65 -0
- oci/opsi/operations_insights_client.py +175 -175
- 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/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +2 -2
- oci/osp_gateway/address_service_client.py +3 -3
- oci/osp_gateway/invoice_service_client.py +6 -6
- oci/osp_gateway/subscription_service_client.py +6 -6
- 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 +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +23 -23
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- 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 +4 -4
- oci/sch/service_connector_client.py +24 -24
- oci/secrets/secrets_client.py +3 -3
- 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 +64 -64
- 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 +28 -28
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- 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-2.123.0.dist-info → oci-2.124.1.dist-info}/METADATA +1 -1
- {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/RECORD +295 -282
- {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/WHEEL +0 -0
- {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,239 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class ContainerCapabilities(object):
|
14
|
+
"""
|
15
|
+
Linux Container capabilities to configure capabilities of container.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
19
|
+
#: This constant has a value of "CAP_CHOWN"
|
20
|
+
ADD_CAPABILITIES_CAP_CHOWN = "CAP_CHOWN"
|
21
|
+
|
22
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
23
|
+
#: This constant has a value of "CAP_DAC_OVERRIDE"
|
24
|
+
ADD_CAPABILITIES_CAP_DAC_OVERRIDE = "CAP_DAC_OVERRIDE"
|
25
|
+
|
26
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
27
|
+
#: This constant has a value of "CAP_FSETID"
|
28
|
+
ADD_CAPABILITIES_CAP_FSETID = "CAP_FSETID"
|
29
|
+
|
30
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
31
|
+
#: This constant has a value of "CAP_FOWNER"
|
32
|
+
ADD_CAPABILITIES_CAP_FOWNER = "CAP_FOWNER"
|
33
|
+
|
34
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
35
|
+
#: This constant has a value of "CAP_MKNOD"
|
36
|
+
ADD_CAPABILITIES_CAP_MKNOD = "CAP_MKNOD"
|
37
|
+
|
38
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
39
|
+
#: This constant has a value of "CAP_NET_RAW"
|
40
|
+
ADD_CAPABILITIES_CAP_NET_RAW = "CAP_NET_RAW"
|
41
|
+
|
42
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
43
|
+
#: This constant has a value of "CAP_SETGID"
|
44
|
+
ADD_CAPABILITIES_CAP_SETGID = "CAP_SETGID"
|
45
|
+
|
46
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
47
|
+
#: This constant has a value of "CAP_SETUID"
|
48
|
+
ADD_CAPABILITIES_CAP_SETUID = "CAP_SETUID"
|
49
|
+
|
50
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
51
|
+
#: This constant has a value of "CAP_SETFCAP"
|
52
|
+
ADD_CAPABILITIES_CAP_SETFCAP = "CAP_SETFCAP"
|
53
|
+
|
54
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
55
|
+
#: This constant has a value of "CAP_SETPCAP"
|
56
|
+
ADD_CAPABILITIES_CAP_SETPCAP = "CAP_SETPCAP"
|
57
|
+
|
58
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
59
|
+
#: This constant has a value of "CAP_NET_BIND_SERVICE"
|
60
|
+
ADD_CAPABILITIES_CAP_NET_BIND_SERVICE = "CAP_NET_BIND_SERVICE"
|
61
|
+
|
62
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
63
|
+
#: This constant has a value of "CAP_SYS_CHROOT"
|
64
|
+
ADD_CAPABILITIES_CAP_SYS_CHROOT = "CAP_SYS_CHROOT"
|
65
|
+
|
66
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
67
|
+
#: This constant has a value of "CAP_KILL"
|
68
|
+
ADD_CAPABILITIES_CAP_KILL = "CAP_KILL"
|
69
|
+
|
70
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
71
|
+
#: This constant has a value of "CAP_AUDIT_WRITE"
|
72
|
+
ADD_CAPABILITIES_CAP_AUDIT_WRITE = "CAP_AUDIT_WRITE"
|
73
|
+
|
74
|
+
#: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
|
75
|
+
#: This constant has a value of "ALL"
|
76
|
+
ADD_CAPABILITIES_ALL = "ALL"
|
77
|
+
|
78
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
79
|
+
#: This constant has a value of "CAP_CHOWN"
|
80
|
+
DROP_CAPABILITIES_CAP_CHOWN = "CAP_CHOWN"
|
81
|
+
|
82
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
83
|
+
#: This constant has a value of "CAP_DAC_OVERRIDE"
|
84
|
+
DROP_CAPABILITIES_CAP_DAC_OVERRIDE = "CAP_DAC_OVERRIDE"
|
85
|
+
|
86
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
87
|
+
#: This constant has a value of "CAP_FSETID"
|
88
|
+
DROP_CAPABILITIES_CAP_FSETID = "CAP_FSETID"
|
89
|
+
|
90
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
91
|
+
#: This constant has a value of "CAP_FOWNER"
|
92
|
+
DROP_CAPABILITIES_CAP_FOWNER = "CAP_FOWNER"
|
93
|
+
|
94
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
95
|
+
#: This constant has a value of "CAP_MKNOD"
|
96
|
+
DROP_CAPABILITIES_CAP_MKNOD = "CAP_MKNOD"
|
97
|
+
|
98
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
99
|
+
#: This constant has a value of "CAP_NET_RAW"
|
100
|
+
DROP_CAPABILITIES_CAP_NET_RAW = "CAP_NET_RAW"
|
101
|
+
|
102
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
103
|
+
#: This constant has a value of "CAP_SETGID"
|
104
|
+
DROP_CAPABILITIES_CAP_SETGID = "CAP_SETGID"
|
105
|
+
|
106
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
107
|
+
#: This constant has a value of "CAP_SETUID"
|
108
|
+
DROP_CAPABILITIES_CAP_SETUID = "CAP_SETUID"
|
109
|
+
|
110
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
111
|
+
#: This constant has a value of "CAP_SETFCAP"
|
112
|
+
DROP_CAPABILITIES_CAP_SETFCAP = "CAP_SETFCAP"
|
113
|
+
|
114
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
115
|
+
#: This constant has a value of "CAP_SETPCAP"
|
116
|
+
DROP_CAPABILITIES_CAP_SETPCAP = "CAP_SETPCAP"
|
117
|
+
|
118
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
119
|
+
#: This constant has a value of "CAP_NET_BIND_SERVICE"
|
120
|
+
DROP_CAPABILITIES_CAP_NET_BIND_SERVICE = "CAP_NET_BIND_SERVICE"
|
121
|
+
|
122
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
123
|
+
#: This constant has a value of "CAP_SYS_CHROOT"
|
124
|
+
DROP_CAPABILITIES_CAP_SYS_CHROOT = "CAP_SYS_CHROOT"
|
125
|
+
|
126
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
127
|
+
#: This constant has a value of "CAP_KILL"
|
128
|
+
DROP_CAPABILITIES_CAP_KILL = "CAP_KILL"
|
129
|
+
|
130
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
131
|
+
#: This constant has a value of "CAP_AUDIT_WRITE"
|
132
|
+
DROP_CAPABILITIES_CAP_AUDIT_WRITE = "CAP_AUDIT_WRITE"
|
133
|
+
|
134
|
+
#: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
|
135
|
+
#: This constant has a value of "ALL"
|
136
|
+
DROP_CAPABILITIES_ALL = "ALL"
|
137
|
+
|
138
|
+
def __init__(self, **kwargs):
|
139
|
+
"""
|
140
|
+
Initializes a new ContainerCapabilities object with values from keyword arguments.
|
141
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
142
|
+
|
143
|
+
:param add_capabilities:
|
144
|
+
The value to assign to the add_capabilities property of this ContainerCapabilities.
|
145
|
+
Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'.
|
146
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
147
|
+
:type add_capabilities: list[str]
|
148
|
+
|
149
|
+
:param drop_capabilities:
|
150
|
+
The value to assign to the drop_capabilities property of this ContainerCapabilities.
|
151
|
+
Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'.
|
152
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
153
|
+
:type drop_capabilities: list[str]
|
154
|
+
|
155
|
+
"""
|
156
|
+
self.swagger_types = {
|
157
|
+
'add_capabilities': 'list[str]',
|
158
|
+
'drop_capabilities': 'list[str]'
|
159
|
+
}
|
160
|
+
|
161
|
+
self.attribute_map = {
|
162
|
+
'add_capabilities': 'addCapabilities',
|
163
|
+
'drop_capabilities': 'dropCapabilities'
|
164
|
+
}
|
165
|
+
|
166
|
+
self._add_capabilities = None
|
167
|
+
self._drop_capabilities = None
|
168
|
+
|
169
|
+
@property
|
170
|
+
def add_capabilities(self):
|
171
|
+
"""
|
172
|
+
Gets the add_capabilities of this ContainerCapabilities.
|
173
|
+
A list of additional configurable container capabilities.
|
174
|
+
|
175
|
+
Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'.
|
176
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
177
|
+
|
178
|
+
|
179
|
+
:return: The add_capabilities of this ContainerCapabilities.
|
180
|
+
:rtype: list[str]
|
181
|
+
"""
|
182
|
+
return self._add_capabilities
|
183
|
+
|
184
|
+
@add_capabilities.setter
|
185
|
+
def add_capabilities(self, add_capabilities):
|
186
|
+
"""
|
187
|
+
Sets the add_capabilities of this ContainerCapabilities.
|
188
|
+
A list of additional configurable container capabilities.
|
189
|
+
|
190
|
+
|
191
|
+
:param add_capabilities: The add_capabilities of this ContainerCapabilities.
|
192
|
+
:type: list[str]
|
193
|
+
"""
|
194
|
+
allowed_values = ["CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL"]
|
195
|
+
if add_capabilities:
|
196
|
+
add_capabilities[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in add_capabilities]
|
197
|
+
self._add_capabilities = add_capabilities
|
198
|
+
|
199
|
+
@property
|
200
|
+
def drop_capabilities(self):
|
201
|
+
"""
|
202
|
+
Gets the drop_capabilities of this ContainerCapabilities.
|
203
|
+
A list of container capabilities that can be dropped.
|
204
|
+
|
205
|
+
Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'.
|
206
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
207
|
+
|
208
|
+
|
209
|
+
:return: The drop_capabilities of this ContainerCapabilities.
|
210
|
+
:rtype: list[str]
|
211
|
+
"""
|
212
|
+
return self._drop_capabilities
|
213
|
+
|
214
|
+
@drop_capabilities.setter
|
215
|
+
def drop_capabilities(self, drop_capabilities):
|
216
|
+
"""
|
217
|
+
Sets the drop_capabilities of this ContainerCapabilities.
|
218
|
+
A list of container capabilities that can be dropped.
|
219
|
+
|
220
|
+
|
221
|
+
:param drop_capabilities: The drop_capabilities of this ContainerCapabilities.
|
222
|
+
:type: list[str]
|
223
|
+
"""
|
224
|
+
allowed_values = ["CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL"]
|
225
|
+
if drop_capabilities:
|
226
|
+
drop_capabilities[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in drop_capabilities]
|
227
|
+
self._drop_capabilities = drop_capabilities
|
228
|
+
|
229
|
+
def __repr__(self):
|
230
|
+
return formatted_flat_dict(self)
|
231
|
+
|
232
|
+
def __eq__(self, other):
|
233
|
+
if other is None:
|
234
|
+
return False
|
235
|
+
|
236
|
+
return self.__dict__ == other.__dict__
|
237
|
+
|
238
|
+
def __ne__(self, other):
|
239
|
+
return not self == other
|
@@ -41,13 +41,18 @@ class CreateLinuxSecurityContextDetails(CreateSecurityContextDetails):
|
|
41
41
|
The value to assign to the is_root_file_system_readonly property of this CreateLinuxSecurityContextDetails.
|
42
42
|
:type is_root_file_system_readonly: bool
|
43
43
|
|
44
|
+
:param capabilities:
|
45
|
+
The value to assign to the capabilities property of this CreateLinuxSecurityContextDetails.
|
46
|
+
:type capabilities: oci.container_instances.models.ContainerCapabilities
|
47
|
+
|
44
48
|
"""
|
45
49
|
self.swagger_types = {
|
46
50
|
'security_context_type': 'str',
|
47
51
|
'run_as_user': 'int',
|
48
52
|
'run_as_group': 'int',
|
49
53
|
'is_non_root_user_check_enabled': 'bool',
|
50
|
-
'is_root_file_system_readonly': 'bool'
|
54
|
+
'is_root_file_system_readonly': 'bool',
|
55
|
+
'capabilities': 'ContainerCapabilities'
|
51
56
|
}
|
52
57
|
|
53
58
|
self.attribute_map = {
|
@@ -55,7 +60,8 @@ class CreateLinuxSecurityContextDetails(CreateSecurityContextDetails):
|
|
55
60
|
'run_as_user': 'runAsUser',
|
56
61
|
'run_as_group': 'runAsGroup',
|
57
62
|
'is_non_root_user_check_enabled': 'isNonRootUserCheckEnabled',
|
58
|
-
'is_root_file_system_readonly': 'isRootFileSystemReadonly'
|
63
|
+
'is_root_file_system_readonly': 'isRootFileSystemReadonly',
|
64
|
+
'capabilities': 'capabilities'
|
59
65
|
}
|
60
66
|
|
61
67
|
self._security_context_type = None
|
@@ -63,6 +69,7 @@ class CreateLinuxSecurityContextDetails(CreateSecurityContextDetails):
|
|
63
69
|
self._run_as_group = None
|
64
70
|
self._is_non_root_user_check_enabled = None
|
65
71
|
self._is_root_file_system_readonly = None
|
72
|
+
self._capabilities = None
|
66
73
|
self._security_context_type = 'LINUX'
|
67
74
|
|
68
75
|
@property
|
@@ -161,6 +168,26 @@ class CreateLinuxSecurityContextDetails(CreateSecurityContextDetails):
|
|
161
168
|
"""
|
162
169
|
self._is_root_file_system_readonly = is_root_file_system_readonly
|
163
170
|
|
171
|
+
@property
|
172
|
+
def capabilities(self):
|
173
|
+
"""
|
174
|
+
Gets the capabilities of this CreateLinuxSecurityContextDetails.
|
175
|
+
|
176
|
+
:return: The capabilities of this CreateLinuxSecurityContextDetails.
|
177
|
+
:rtype: oci.container_instances.models.ContainerCapabilities
|
178
|
+
"""
|
179
|
+
return self._capabilities
|
180
|
+
|
181
|
+
@capabilities.setter
|
182
|
+
def capabilities(self, capabilities):
|
183
|
+
"""
|
184
|
+
Sets the capabilities of this CreateLinuxSecurityContextDetails.
|
185
|
+
|
186
|
+
:param capabilities: The capabilities of this CreateLinuxSecurityContextDetails.
|
187
|
+
:type: oci.container_instances.models.ContainerCapabilities
|
188
|
+
"""
|
189
|
+
self._capabilities = capabilities
|
190
|
+
|
164
191
|
def __repr__(self):
|
165
192
|
return formatted_flat_dict(self)
|
166
193
|
|
@@ -42,13 +42,18 @@ class LinuxSecurityContext(SecurityContext):
|
|
42
42
|
The value to assign to the is_root_file_system_readonly property of this LinuxSecurityContext.
|
43
43
|
:type is_root_file_system_readonly: bool
|
44
44
|
|
45
|
+
:param capabilities:
|
46
|
+
The value to assign to the capabilities property of this LinuxSecurityContext.
|
47
|
+
:type capabilities: oci.container_instances.models.ContainerCapabilities
|
48
|
+
|
45
49
|
"""
|
46
50
|
self.swagger_types = {
|
47
51
|
'security_context_type': 'str',
|
48
52
|
'run_as_user': 'int',
|
49
53
|
'run_as_group': 'int',
|
50
54
|
'is_non_root_user_check_enabled': 'bool',
|
51
|
-
'is_root_file_system_readonly': 'bool'
|
55
|
+
'is_root_file_system_readonly': 'bool',
|
56
|
+
'capabilities': 'ContainerCapabilities'
|
52
57
|
}
|
53
58
|
|
54
59
|
self.attribute_map = {
|
@@ -56,7 +61,8 @@ class LinuxSecurityContext(SecurityContext):
|
|
56
61
|
'run_as_user': 'runAsUser',
|
57
62
|
'run_as_group': 'runAsGroup',
|
58
63
|
'is_non_root_user_check_enabled': 'isNonRootUserCheckEnabled',
|
59
|
-
'is_root_file_system_readonly': 'isRootFileSystemReadonly'
|
64
|
+
'is_root_file_system_readonly': 'isRootFileSystemReadonly',
|
65
|
+
'capabilities': 'capabilities'
|
60
66
|
}
|
61
67
|
|
62
68
|
self._security_context_type = None
|
@@ -64,6 +70,7 @@ class LinuxSecurityContext(SecurityContext):
|
|
64
70
|
self._run_as_group = None
|
65
71
|
self._is_non_root_user_check_enabled = None
|
66
72
|
self._is_root_file_system_readonly = None
|
73
|
+
self._capabilities = None
|
67
74
|
self._security_context_type = 'LINUX'
|
68
75
|
|
69
76
|
@property
|
@@ -162,6 +169,26 @@ class LinuxSecurityContext(SecurityContext):
|
|
162
169
|
"""
|
163
170
|
self._is_root_file_system_readonly = is_root_file_system_readonly
|
164
171
|
|
172
|
+
@property
|
173
|
+
def capabilities(self):
|
174
|
+
"""
|
175
|
+
Gets the capabilities of this LinuxSecurityContext.
|
176
|
+
|
177
|
+
:return: The capabilities of this LinuxSecurityContext.
|
178
|
+
:rtype: oci.container_instances.models.ContainerCapabilities
|
179
|
+
"""
|
180
|
+
return self._capabilities
|
181
|
+
|
182
|
+
@capabilities.setter
|
183
|
+
def capabilities(self, capabilities):
|
184
|
+
"""
|
185
|
+
Sets the capabilities of this LinuxSecurityContext.
|
186
|
+
|
187
|
+
:param capabilities: The capabilities of this LinuxSecurityContext.
|
188
|
+
:type: oci.container_instances.models.ContainerCapabilities
|
189
|
+
"""
|
190
|
+
self._capabilities = capabilities
|
191
|
+
|
165
192
|
def __repr__(self):
|
166
193
|
return formatted_flat_dict(self)
|
167
194
|
|