oci 2.139.0__py3-none-any.whl → 2.140.0__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_language/models/__init__.py +6 -0
- oci/ai_language/models/batch_detect_dominant_language_details.py +31 -0
- oci/ai_language/models/batch_detect_health_entity_details.py +31 -0
- oci/ai_language/models/batch_detect_language_entities_details.py +31 -0
- oci/ai_language/models/batch_detect_language_key_phrases_details.py +31 -0
- oci/ai_language/models/batch_detect_language_pii_entities_details.py +31 -0
- oci/ai_language/models/batch_detect_language_sentiments_details.py +31 -0
- oci/ai_language/models/batch_detect_language_text_classification_details.py +31 -0
- oci/ai_language/models/batch_language_translation_details.py +93 -0
- oci/ai_language/models/create_endpoint_details.py +78 -0
- oci/ai_language/models/endpoint.py +78 -0
- oci/ai_language/models/endpoint_summary.py +78 -0
- oci/ai_language/models/health_nlu_model_details.py +91 -0
- oci/ai_language/models/hierarchical_entity.py +27 -0
- oci/ai_language/models/meta_info.py +196 -0
- oci/ai_language/models/model_details.py +35 -23
- oci/ai_language/models/named_entity_recognition_model_details.py +1 -1
- oci/ai_language/models/pii_entity_mask.py +14 -0
- oci/ai_language/models/pii_entity_masking.py +64 -2
- oci/ai_language/models/pii_entity_remove.py +16 -2
- oci/ai_language/models/pii_entity_replace.py +14 -0
- oci/ai_language/models/pii_model_details.py +1 -1
- oci/ai_language/models/pre_trained_health_nlu_model_details.py +1 -1
- oci/ai_language/models/pre_trained_key_phrase_extraction_model_details.py +1 -1
- oci/ai_language/models/pre_trained_language_detection_model_details.py +1 -1
- oci/ai_language/models/pre_trained_named_entity_recognition_model_details.py +1 -1
- oci/ai_language/models/pre_trained_pii_model_details.py +1 -1
- oci/ai_language/models/pre_trained_sentiment_analysis_model_details.py +1 -1
- oci/ai_language/models/pre_trained_summarization.py +1 -1
- oci/ai_language/models/pre_trained_text_classification_model_details.py +1 -1
- oci/ai_language/models/pre_trained_translation_model_details.py +91 -0
- oci/ai_language/models/pre_trained_universal_model.py +1 -1
- oci/ai_language/models/text_classification_model_details.py +1 -1
- oci/ai_language/models/update_endpoint_details.py +31 -0
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +25 -25
- 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 +9 -9
- 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/auth/signers/oke_workload_identity_resource_principal_signer.py +12 -5
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +72 -72
- 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 +22 -22
- 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 +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +10 -0
- oci/core/models/instance.py +33 -2
- oci/core/models/instance_configuration_launch_instance_details.py +33 -2
- oci/core/models/launch_instance_details.py +33 -2
- oci/core/models/launch_instance_licensing_config.py +152 -0
- oci/core/models/launch_instance_windows_licensing_config.py +59 -0
- oci/core/models/licensing_config.py +166 -0
- oci/core/models/update_instance_details.py +33 -2
- oci/core/models/update_instance_licensing_config.py +152 -0
- oci/core/models/update_instance_windows_licensing_config.py +59 -0
- oci/core/virtual_network_client.py +247 -247
- 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 +146 -44
- oci/data_flow/data_flow_client_composite_operations.py +39 -0
- oci/data_flow/models/application.py +7 -3
- oci/data_flow/models/application_summary.py +7 -3
- 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 +292 -292
- oci/data_science/data_science_client.py +92 -92
- oci/database/database_client.py +411 -399
- oci/database/models/__init__.py +4 -0
- oci/database/models/rotate_autonomous_container_database_encryption_key_details.py +76 -0
- oci/database/models/rotate_autonomous_database_encryption_key_details.py +76 -0
- oci/database_management/db_management_client.py +211 -211
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- 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/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 +289 -31
- oci/disaster_recovery/disaster_recovery_client_composite_operations.py +88 -0
- oci/disaster_recovery/models/__init__.py +8 -0
- oci/disaster_recovery/models/create_dr_plan_details.py +35 -0
- oci/disaster_recovery/models/dr_plan.py +92 -0
- oci/disaster_recovery/models/dr_plan_group.py +55 -0
- oci/disaster_recovery/models/dr_plan_step.py +51 -0
- oci/disaster_recovery/models/dr_plan_summary.py +59 -0
- oci/disaster_recovery/models/refresh_dr_plan_default_details.py +51 -0
- oci/disaster_recovery/models/refresh_dr_plan_details.py +101 -0
- oci/disaster_recovery/models/verify_dr_plan_default_details.py +51 -0
- oci/disaster_recovery/models/verify_dr_plan_details.py +101 -0
- oci/disaster_recovery/models/work_request.py +11 -3
- oci/disaster_recovery/models/work_request_summary.py +11 -3
- 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 +68 -68
- 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 +48 -48
- oci/fleet_software_update/models/__init__.py +12 -0
- oci/fleet_software_update/models/apply_action.py +1 -1
- oci/fleet_software_update/models/apply_action_summary.py +1 -1
- oci/fleet_software_update/models/apply_fsu_job.py +1 -1
- oci/fleet_software_update/models/apply_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/cleanup_action.py +1 -1
- oci/fleet_software_update/models/cleanup_action_summary.py +1 -1
- oci/fleet_software_update/models/cleanup_fsu_job.py +1 -1
- oci/fleet_software_update/models/cleanup_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/create_apply_action_details.py +1 -1
- oci/fleet_software_update/models/create_cleanup_action_details.py +1 -1
- oci/fleet_software_update/models/create_fsu_action_details.py +11 -3
- oci/fleet_software_update/models/create_precheck_action_details.py +1 -1
- oci/fleet_software_update/models/create_rollback_action_details.py +1 -1
- oci/fleet_software_update/models/create_rollback_cycle_apply_action_details.py +111 -0
- oci/fleet_software_update/models/create_stage_action_details.py +1 -1
- oci/fleet_software_update/models/db_collection.py +7 -0
- oci/fleet_software_update/models/db_fsu_collection_summary.py +7 -0
- oci/fleet_software_update/models/fsu_action.py +11 -3
- oci/fleet_software_update/models/fsu_action_summary.py +11 -3
- oci/fleet_software_update/models/fsu_collection.py +35 -0
- oci/fleet_software_update/models/fsu_collection_summary.py +35 -0
- oci/fleet_software_update/models/fsu_cycle.py +105 -3
- oci/fleet_software_update/models/fsu_cycle_summary.py +101 -3
- oci/fleet_software_update/models/fsu_job.py +11 -3
- oci/fleet_software_update/models/fsu_job_summary.py +11 -3
- oci/fleet_software_update/models/gi_collection.py +7 -0
- oci/fleet_software_update/models/gi_fsu_collection_summary.py +7 -0
- oci/fleet_software_update/models/next_action_to_execute_details.py +7 -3
- oci/fleet_software_update/models/patch_fsu_cycle.py +16 -1
- oci/fleet_software_update/models/precheck_action.py +1 -1
- oci/fleet_software_update/models/precheck_action_summary.py +1 -1
- oci/fleet_software_update/models/precheck_fsu_job.py +1 -1
- oci/fleet_software_update/models/precheck_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/rollback_action.py +1 -1
- oci/fleet_software_update/models/rollback_action_summary.py +1 -1
- oci/fleet_software_update/models/rollback_cycle_action.py +226 -0
- oci/fleet_software_update/models/rollback_cycle_action_summary.py +225 -0
- oci/fleet_software_update/models/rollback_cycle_fsu_job.py +278 -0
- oci/fleet_software_update/models/rollback_cycle_fsu_job_summary.py +251 -0
- oci/fleet_software_update/models/rollback_fsu_job.py +1 -1
- oci/fleet_software_update/models/rollback_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/stage_action.py +1 -1
- oci/fleet_software_update/models/stage_action_summary.py +1 -1
- oci/fleet_software_update/models/stage_fsu_job.py +1 -1
- oci/fleet_software_update/models/stage_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/update_apply_action_details.py +1 -1
- oci/fleet_software_update/models/update_cleanup_action_details.py +1 -1
- oci/fleet_software_update/models/update_fsu_action_details.py +11 -3
- oci/fleet_software_update/models/update_precheck_action_details.py +1 -1
- oci/fleet_software_update/models/update_rollback_action_details.py +1 -1
- oci/fleet_software_update/models/update_rollback_cycle_action_details.py +72 -0
- oci/fleet_software_update/models/update_stage_action_details.py +1 -1
- oci/fleet_software_update/models/work_request.py +7 -3
- oci/fleet_software_update/models/work_request_summary.py +7 -3
- 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 +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- 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 +70 -70
- 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 +75 -75
- 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/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/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 +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/object_storage/transfer/internal/multipart_object_assembler.py +15 -0
- 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 +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/operations_insights_client.py +180 -180
- 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 +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- 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 +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- 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 +33 -33
- 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/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 +71 -71
- 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 +8 -4
- oci/visual_builder/models/create_vb_instance_details.py +29 -2
- oci/visual_builder/models/network_endpoint_details.py +102 -0
- oci/visual_builder/models/private_endpoint_details.py +144 -0
- oci/visual_builder/models/update_network_endpoint_details.py +102 -0
- oci/visual_builder/models/update_private_endpoint_details.py +113 -0
- oci/visual_builder/models/update_vb_instance_details.py +29 -2
- oci/visual_builder/models/vb_instance.py +29 -60
- oci/visual_builder/models/vb_instance_summary.py +29 -2
- oci/visual_builder/vb_instance_client.py +129 -13
- oci/visual_builder/vb_instance_client_composite_operations.py +39 -0
- 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.139.0.dist-info → oci-2.140.0.dist-info}/METADATA +1 -1
- {oci-2.139.0.dist-info → oci-2.140.0.dist-info}/RECORD +388 -366
- oci/visual_builder/models/attachment_details.py +0 -218
- oci/visual_builder/models/idcs_info_details.py +0 -198
- {oci-2.139.0.dist-info → oci-2.140.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.139.0.dist-info → oci-2.140.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.139.0.dist-info → oci-2.140.0.dist-info}/WHEEL +0 -0
- {oci-2.139.0.dist-info → oci-2.140.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,152 @@
|
|
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: 20160918
|
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 LaunchInstanceLicensingConfig(object):
|
14
|
+
"""
|
15
|
+
The license config requested for the instance.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the type property of a LaunchInstanceLicensingConfig.
|
19
|
+
#: This constant has a value of "WINDOWS"
|
20
|
+
TYPE_WINDOWS = "WINDOWS"
|
21
|
+
|
22
|
+
#: A constant which can be used with the license_type property of a LaunchInstanceLicensingConfig.
|
23
|
+
#: This constant has a value of "OCI_PROVIDED"
|
24
|
+
LICENSE_TYPE_OCI_PROVIDED = "OCI_PROVIDED"
|
25
|
+
|
26
|
+
#: A constant which can be used with the license_type property of a LaunchInstanceLicensingConfig.
|
27
|
+
#: This constant has a value of "BRING_YOUR_OWN_LICENSE"
|
28
|
+
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE = "BRING_YOUR_OWN_LICENSE"
|
29
|
+
|
30
|
+
def __init__(self, **kwargs):
|
31
|
+
"""
|
32
|
+
Initializes a new LaunchInstanceLicensingConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
33
|
+
to a service operations then you should favor using a subclass over the base class:
|
34
|
+
|
35
|
+
* :class:`~oci.core.models.LaunchInstanceWindowsLicensingConfig`
|
36
|
+
|
37
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
38
|
+
|
39
|
+
:param type:
|
40
|
+
The value to assign to the type property of this LaunchInstanceLicensingConfig.
|
41
|
+
Allowed values for this property are: "WINDOWS", 'UNKNOWN_ENUM_VALUE'.
|
42
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
43
|
+
:type type: str
|
44
|
+
|
45
|
+
:param license_type:
|
46
|
+
The value to assign to the license_type property of this LaunchInstanceLicensingConfig.
|
47
|
+
Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
|
48
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
49
|
+
:type license_type: str
|
50
|
+
|
51
|
+
"""
|
52
|
+
self.swagger_types = {
|
53
|
+
'type': 'str',
|
54
|
+
'license_type': 'str'
|
55
|
+
}
|
56
|
+
|
57
|
+
self.attribute_map = {
|
58
|
+
'type': 'type',
|
59
|
+
'license_type': 'licenseType'
|
60
|
+
}
|
61
|
+
|
62
|
+
self._type = None
|
63
|
+
self._license_type = None
|
64
|
+
|
65
|
+
@staticmethod
|
66
|
+
def get_subtype(object_dictionary):
|
67
|
+
"""
|
68
|
+
Given the hash representation of a subtype of this class,
|
69
|
+
use the info in the hash to return the class of the subtype.
|
70
|
+
"""
|
71
|
+
type = object_dictionary['type']
|
72
|
+
|
73
|
+
if type == 'WINDOWS':
|
74
|
+
return 'LaunchInstanceWindowsLicensingConfig'
|
75
|
+
else:
|
76
|
+
return 'LaunchInstanceLicensingConfig'
|
77
|
+
|
78
|
+
@property
|
79
|
+
def type(self):
|
80
|
+
"""
|
81
|
+
**[Required]** Gets the type of this LaunchInstanceLicensingConfig.
|
82
|
+
Operating System type of the Configuration.
|
83
|
+
|
84
|
+
Allowed values for this property are: "WINDOWS", 'UNKNOWN_ENUM_VALUE'.
|
85
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
86
|
+
|
87
|
+
|
88
|
+
:return: The type of this LaunchInstanceLicensingConfig.
|
89
|
+
:rtype: str
|
90
|
+
"""
|
91
|
+
return self._type
|
92
|
+
|
93
|
+
@type.setter
|
94
|
+
def type(self, type):
|
95
|
+
"""
|
96
|
+
Sets the type of this LaunchInstanceLicensingConfig.
|
97
|
+
Operating System type of the Configuration.
|
98
|
+
|
99
|
+
|
100
|
+
:param type: The type of this LaunchInstanceLicensingConfig.
|
101
|
+
:type: str
|
102
|
+
"""
|
103
|
+
allowed_values = ["WINDOWS"]
|
104
|
+
if not value_allowed_none_or_none_sentinel(type, allowed_values):
|
105
|
+
type = 'UNKNOWN_ENUM_VALUE'
|
106
|
+
self._type = type
|
107
|
+
|
108
|
+
@property
|
109
|
+
def license_type(self):
|
110
|
+
"""
|
111
|
+
Gets the license_type of this LaunchInstanceLicensingConfig.
|
112
|
+
License Type for the OS license.
|
113
|
+
* `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour).
|
114
|
+
* `BRING_YOUR_OWN_LICENSE` - Bring your own license.
|
115
|
+
|
116
|
+
Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
|
117
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
118
|
+
|
119
|
+
|
120
|
+
:return: The license_type of this LaunchInstanceLicensingConfig.
|
121
|
+
:rtype: str
|
122
|
+
"""
|
123
|
+
return self._license_type
|
124
|
+
|
125
|
+
@license_type.setter
|
126
|
+
def license_type(self, license_type):
|
127
|
+
"""
|
128
|
+
Sets the license_type of this LaunchInstanceLicensingConfig.
|
129
|
+
License Type for the OS license.
|
130
|
+
* `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour).
|
131
|
+
* `BRING_YOUR_OWN_LICENSE` - Bring your own license.
|
132
|
+
|
133
|
+
|
134
|
+
:param license_type: The license_type of this LaunchInstanceLicensingConfig.
|
135
|
+
:type: str
|
136
|
+
"""
|
137
|
+
allowed_values = ["OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE"]
|
138
|
+
if not value_allowed_none_or_none_sentinel(license_type, allowed_values):
|
139
|
+
license_type = 'UNKNOWN_ENUM_VALUE'
|
140
|
+
self._license_type = license_type
|
141
|
+
|
142
|
+
def __repr__(self):
|
143
|
+
return formatted_flat_dict(self)
|
144
|
+
|
145
|
+
def __eq__(self, other):
|
146
|
+
if other is None:
|
147
|
+
return False
|
148
|
+
|
149
|
+
return self.__dict__ == other.__dict__
|
150
|
+
|
151
|
+
def __ne__(self, other):
|
152
|
+
return not self == other
|
@@ -0,0 +1,59 @@
|
|
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: 20160918
|
6
|
+
|
7
|
+
from .launch_instance_licensing_config import LaunchInstanceLicensingConfig
|
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 LaunchInstanceWindowsLicensingConfig(LaunchInstanceLicensingConfig):
|
14
|
+
"""
|
15
|
+
The default windows licensing config.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new LaunchInstanceWindowsLicensingConfig object with values from keyword arguments. The default value of the :py:attr:`~oci.core.models.LaunchInstanceWindowsLicensingConfig.type` attribute
|
21
|
+
of this class is ``WINDOWS`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param type:
|
25
|
+
The value to assign to the type property of this LaunchInstanceWindowsLicensingConfig.
|
26
|
+
Allowed values for this property are: "WINDOWS"
|
27
|
+
:type type: str
|
28
|
+
|
29
|
+
:param license_type:
|
30
|
+
The value to assign to the license_type property of this LaunchInstanceWindowsLicensingConfig.
|
31
|
+
Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE"
|
32
|
+
:type license_type: str
|
33
|
+
|
34
|
+
"""
|
35
|
+
self.swagger_types = {
|
36
|
+
'type': 'str',
|
37
|
+
'license_type': 'str'
|
38
|
+
}
|
39
|
+
|
40
|
+
self.attribute_map = {
|
41
|
+
'type': 'type',
|
42
|
+
'license_type': 'licenseType'
|
43
|
+
}
|
44
|
+
|
45
|
+
self._type = None
|
46
|
+
self._license_type = None
|
47
|
+
self._type = 'WINDOWS'
|
48
|
+
|
49
|
+
def __repr__(self):
|
50
|
+
return formatted_flat_dict(self)
|
51
|
+
|
52
|
+
def __eq__(self, other):
|
53
|
+
if other is None:
|
54
|
+
return False
|
55
|
+
|
56
|
+
return self.__dict__ == other.__dict__
|
57
|
+
|
58
|
+
def __ne__(self, other):
|
59
|
+
return not self == other
|
@@ -0,0 +1,166 @@
|
|
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: 20160918
|
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 LicensingConfig(object):
|
14
|
+
"""
|
15
|
+
Configuration of the Operating System license.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the type property of a LicensingConfig.
|
19
|
+
#: This constant has a value of "WINDOWS"
|
20
|
+
TYPE_WINDOWS = "WINDOWS"
|
21
|
+
|
22
|
+
#: A constant which can be used with the license_type property of a LicensingConfig.
|
23
|
+
#: This constant has a value of "OCI_PROVIDED"
|
24
|
+
LICENSE_TYPE_OCI_PROVIDED = "OCI_PROVIDED"
|
25
|
+
|
26
|
+
#: A constant which can be used with the license_type property of a LicensingConfig.
|
27
|
+
#: This constant has a value of "BRING_YOUR_OWN_LICENSE"
|
28
|
+
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE = "BRING_YOUR_OWN_LICENSE"
|
29
|
+
|
30
|
+
def __init__(self, **kwargs):
|
31
|
+
"""
|
32
|
+
Initializes a new LicensingConfig object with values from keyword arguments.
|
33
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
34
|
+
|
35
|
+
:param type:
|
36
|
+
The value to assign to the type property of this LicensingConfig.
|
37
|
+
Allowed values for this property are: "WINDOWS", 'UNKNOWN_ENUM_VALUE'.
|
38
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
:type type: str
|
40
|
+
|
41
|
+
:param license_type:
|
42
|
+
The value to assign to the license_type property of this LicensingConfig.
|
43
|
+
Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
|
44
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
45
|
+
:type license_type: str
|
46
|
+
|
47
|
+
:param os_version:
|
48
|
+
The value to assign to the os_version property of this LicensingConfig.
|
49
|
+
:type os_version: str
|
50
|
+
|
51
|
+
"""
|
52
|
+
self.swagger_types = {
|
53
|
+
'type': 'str',
|
54
|
+
'license_type': 'str',
|
55
|
+
'os_version': 'str'
|
56
|
+
}
|
57
|
+
|
58
|
+
self.attribute_map = {
|
59
|
+
'type': 'type',
|
60
|
+
'license_type': 'licenseType',
|
61
|
+
'os_version': 'osVersion'
|
62
|
+
}
|
63
|
+
|
64
|
+
self._type = None
|
65
|
+
self._license_type = None
|
66
|
+
self._os_version = None
|
67
|
+
|
68
|
+
@property
|
69
|
+
def type(self):
|
70
|
+
"""
|
71
|
+
Gets the type of this LicensingConfig.
|
72
|
+
Operating System type of the Configuration.
|
73
|
+
|
74
|
+
Allowed values for this property are: "WINDOWS", 'UNKNOWN_ENUM_VALUE'.
|
75
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
76
|
+
|
77
|
+
|
78
|
+
:return: The type of this LicensingConfig.
|
79
|
+
:rtype: str
|
80
|
+
"""
|
81
|
+
return self._type
|
82
|
+
|
83
|
+
@type.setter
|
84
|
+
def type(self, type):
|
85
|
+
"""
|
86
|
+
Sets the type of this LicensingConfig.
|
87
|
+
Operating System type of the Configuration.
|
88
|
+
|
89
|
+
|
90
|
+
:param type: The type of this LicensingConfig.
|
91
|
+
:type: str
|
92
|
+
"""
|
93
|
+
allowed_values = ["WINDOWS"]
|
94
|
+
if not value_allowed_none_or_none_sentinel(type, allowed_values):
|
95
|
+
type = 'UNKNOWN_ENUM_VALUE'
|
96
|
+
self._type = type
|
97
|
+
|
98
|
+
@property
|
99
|
+
def license_type(self):
|
100
|
+
"""
|
101
|
+
Gets the license_type of this LicensingConfig.
|
102
|
+
License Type for the OS license.
|
103
|
+
* `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour).
|
104
|
+
* `BRING_YOUR_OWN_LICENSE` - Bring your own license.
|
105
|
+
|
106
|
+
Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
|
107
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
108
|
+
|
109
|
+
|
110
|
+
:return: The license_type of this LicensingConfig.
|
111
|
+
:rtype: str
|
112
|
+
"""
|
113
|
+
return self._license_type
|
114
|
+
|
115
|
+
@license_type.setter
|
116
|
+
def license_type(self, license_type):
|
117
|
+
"""
|
118
|
+
Sets the license_type of this LicensingConfig.
|
119
|
+
License Type for the OS license.
|
120
|
+
* `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour).
|
121
|
+
* `BRING_YOUR_OWN_LICENSE` - Bring your own license.
|
122
|
+
|
123
|
+
|
124
|
+
:param license_type: The license_type of this LicensingConfig.
|
125
|
+
:type: str
|
126
|
+
"""
|
127
|
+
allowed_values = ["OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE"]
|
128
|
+
if not value_allowed_none_or_none_sentinel(license_type, allowed_values):
|
129
|
+
license_type = 'UNKNOWN_ENUM_VALUE'
|
130
|
+
self._license_type = license_type
|
131
|
+
|
132
|
+
@property
|
133
|
+
def os_version(self):
|
134
|
+
"""
|
135
|
+
Gets the os_version of this LicensingConfig.
|
136
|
+
The Operating System version of the license config.
|
137
|
+
|
138
|
+
|
139
|
+
:return: The os_version of this LicensingConfig.
|
140
|
+
:rtype: str
|
141
|
+
"""
|
142
|
+
return self._os_version
|
143
|
+
|
144
|
+
@os_version.setter
|
145
|
+
def os_version(self, os_version):
|
146
|
+
"""
|
147
|
+
Sets the os_version of this LicensingConfig.
|
148
|
+
The Operating System version of the license config.
|
149
|
+
|
150
|
+
|
151
|
+
:param os_version: The os_version of this LicensingConfig.
|
152
|
+
:type: str
|
153
|
+
"""
|
154
|
+
self._os_version = os_version
|
155
|
+
|
156
|
+
def __repr__(self):
|
157
|
+
return formatted_flat_dict(self)
|
158
|
+
|
159
|
+
def __eq__(self, other):
|
160
|
+
if other is None:
|
161
|
+
return False
|
162
|
+
|
163
|
+
return self.__dict__ == other.__dict__
|
164
|
+
|
165
|
+
def __ne__(self, other):
|
166
|
+
return not self == other
|
@@ -105,6 +105,10 @@ class UpdateInstanceDetails(object):
|
|
105
105
|
The value to assign to the platform_config property of this UpdateInstanceDetails.
|
106
106
|
:type platform_config: oci.core.models.UpdateInstancePlatformConfig
|
107
107
|
|
108
|
+
:param licensing_configs:
|
109
|
+
The value to assign to the licensing_configs property of this UpdateInstanceDetails.
|
110
|
+
:type licensing_configs: list[oci.core.models.UpdateInstanceLicensingConfig]
|
111
|
+
|
108
112
|
"""
|
109
113
|
self.swagger_types = {
|
110
114
|
'capacity_reservation_id': 'str',
|
@@ -125,7 +129,8 @@ class UpdateInstanceDetails(object):
|
|
125
129
|
'availability_config': 'UpdateInstanceAvailabilityConfigDetails',
|
126
130
|
'time_maintenance_reboot_due': 'datetime',
|
127
131
|
'dedicated_vm_host_id': 'str',
|
128
|
-
'platform_config': 'UpdateInstancePlatformConfig'
|
132
|
+
'platform_config': 'UpdateInstancePlatformConfig',
|
133
|
+
'licensing_configs': 'list[UpdateInstanceLicensingConfig]'
|
129
134
|
}
|
130
135
|
|
131
136
|
self.attribute_map = {
|
@@ -147,7 +152,8 @@ class UpdateInstanceDetails(object):
|
|
147
152
|
'availability_config': 'availabilityConfig',
|
148
153
|
'time_maintenance_reboot_due': 'timeMaintenanceRebootDue',
|
149
154
|
'dedicated_vm_host_id': 'dedicatedVmHostId',
|
150
|
-
'platform_config': 'platformConfig'
|
155
|
+
'platform_config': 'platformConfig',
|
156
|
+
'licensing_configs': 'licensingConfigs'
|
151
157
|
}
|
152
158
|
|
153
159
|
self._capacity_reservation_id = None
|
@@ -169,6 +175,7 @@ class UpdateInstanceDetails(object):
|
|
169
175
|
self._time_maintenance_reboot_due = None
|
170
176
|
self._dedicated_vm_host_id = None
|
171
177
|
self._platform_config = None
|
178
|
+
self._licensing_configs = None
|
172
179
|
|
173
180
|
@property
|
174
181
|
def capacity_reservation_id(self):
|
@@ -799,6 +806,30 @@ class UpdateInstanceDetails(object):
|
|
799
806
|
"""
|
800
807
|
self._platform_config = platform_config
|
801
808
|
|
809
|
+
@property
|
810
|
+
def licensing_configs(self):
|
811
|
+
"""
|
812
|
+
Gets the licensing_configs of this UpdateInstanceDetails.
|
813
|
+
The list of liscensing configurations with target update values.
|
814
|
+
|
815
|
+
|
816
|
+
:return: The licensing_configs of this UpdateInstanceDetails.
|
817
|
+
:rtype: list[oci.core.models.UpdateInstanceLicensingConfig]
|
818
|
+
"""
|
819
|
+
return self._licensing_configs
|
820
|
+
|
821
|
+
@licensing_configs.setter
|
822
|
+
def licensing_configs(self, licensing_configs):
|
823
|
+
"""
|
824
|
+
Sets the licensing_configs of this UpdateInstanceDetails.
|
825
|
+
The list of liscensing configurations with target update values.
|
826
|
+
|
827
|
+
|
828
|
+
:param licensing_configs: The licensing_configs of this UpdateInstanceDetails.
|
829
|
+
:type: list[oci.core.models.UpdateInstanceLicensingConfig]
|
830
|
+
"""
|
831
|
+
self._licensing_configs = licensing_configs
|
832
|
+
|
802
833
|
def __repr__(self):
|
803
834
|
return formatted_flat_dict(self)
|
804
835
|
|
@@ -0,0 +1,152 @@
|
|
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: 20160918
|
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 UpdateInstanceLicensingConfig(object):
|
14
|
+
"""
|
15
|
+
The target license config to be updated on the instance.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the type property of a UpdateInstanceLicensingConfig.
|
19
|
+
#: This constant has a value of "WINDOWS"
|
20
|
+
TYPE_WINDOWS = "WINDOWS"
|
21
|
+
|
22
|
+
#: A constant which can be used with the license_type property of a UpdateInstanceLicensingConfig.
|
23
|
+
#: This constant has a value of "OCI_PROVIDED"
|
24
|
+
LICENSE_TYPE_OCI_PROVIDED = "OCI_PROVIDED"
|
25
|
+
|
26
|
+
#: A constant which can be used with the license_type property of a UpdateInstanceLicensingConfig.
|
27
|
+
#: This constant has a value of "BRING_YOUR_OWN_LICENSE"
|
28
|
+
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE = "BRING_YOUR_OWN_LICENSE"
|
29
|
+
|
30
|
+
def __init__(self, **kwargs):
|
31
|
+
"""
|
32
|
+
Initializes a new UpdateInstanceLicensingConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
33
|
+
to a service operations then you should favor using a subclass over the base class:
|
34
|
+
|
35
|
+
* :class:`~oci.core.models.UpdateInstanceWindowsLicensingConfig`
|
36
|
+
|
37
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
38
|
+
|
39
|
+
:param type:
|
40
|
+
The value to assign to the type property of this UpdateInstanceLicensingConfig.
|
41
|
+
Allowed values for this property are: "WINDOWS"
|
42
|
+
:type type: str
|
43
|
+
|
44
|
+
:param license_type:
|
45
|
+
The value to assign to the license_type property of this UpdateInstanceLicensingConfig.
|
46
|
+
Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE"
|
47
|
+
:type license_type: str
|
48
|
+
|
49
|
+
"""
|
50
|
+
self.swagger_types = {
|
51
|
+
'type': 'str',
|
52
|
+
'license_type': 'str'
|
53
|
+
}
|
54
|
+
|
55
|
+
self.attribute_map = {
|
56
|
+
'type': 'type',
|
57
|
+
'license_type': 'licenseType'
|
58
|
+
}
|
59
|
+
|
60
|
+
self._type = None
|
61
|
+
self._license_type = None
|
62
|
+
|
63
|
+
@staticmethod
|
64
|
+
def get_subtype(object_dictionary):
|
65
|
+
"""
|
66
|
+
Given the hash representation of a subtype of this class,
|
67
|
+
use the info in the hash to return the class of the subtype.
|
68
|
+
"""
|
69
|
+
type = object_dictionary['type']
|
70
|
+
|
71
|
+
if type == 'WINDOWS':
|
72
|
+
return 'UpdateInstanceWindowsLicensingConfig'
|
73
|
+
else:
|
74
|
+
return 'UpdateInstanceLicensingConfig'
|
75
|
+
|
76
|
+
@property
|
77
|
+
def type(self):
|
78
|
+
"""
|
79
|
+
**[Required]** Gets the type of this UpdateInstanceLicensingConfig.
|
80
|
+
Operating system type of the configuration.
|
81
|
+
|
82
|
+
Allowed values for this property are: "WINDOWS"
|
83
|
+
|
84
|
+
|
85
|
+
:return: The type of this UpdateInstanceLicensingConfig.
|
86
|
+
:rtype: str
|
87
|
+
"""
|
88
|
+
return self._type
|
89
|
+
|
90
|
+
@type.setter
|
91
|
+
def type(self, type):
|
92
|
+
"""
|
93
|
+
Sets the type of this UpdateInstanceLicensingConfig.
|
94
|
+
Operating system type of the configuration.
|
95
|
+
|
96
|
+
|
97
|
+
:param type: The type of this UpdateInstanceLicensingConfig.
|
98
|
+
:type: str
|
99
|
+
"""
|
100
|
+
allowed_values = ["WINDOWS"]
|
101
|
+
if not value_allowed_none_or_none_sentinel(type, allowed_values):
|
102
|
+
raise ValueError(
|
103
|
+
f"Invalid value for `type`, must be None or one of {allowed_values}"
|
104
|
+
)
|
105
|
+
self._type = type
|
106
|
+
|
107
|
+
@property
|
108
|
+
def license_type(self):
|
109
|
+
"""
|
110
|
+
Gets the license_type of this UpdateInstanceLicensingConfig.
|
111
|
+
License Type for the OS license.
|
112
|
+
* `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour).
|
113
|
+
* `BRING_YOUR_OWN_LICENSE` - Bring your own license.
|
114
|
+
|
115
|
+
Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE"
|
116
|
+
|
117
|
+
|
118
|
+
:return: The license_type of this UpdateInstanceLicensingConfig.
|
119
|
+
:rtype: str
|
120
|
+
"""
|
121
|
+
return self._license_type
|
122
|
+
|
123
|
+
@license_type.setter
|
124
|
+
def license_type(self, license_type):
|
125
|
+
"""
|
126
|
+
Sets the license_type of this UpdateInstanceLicensingConfig.
|
127
|
+
License Type for the OS license.
|
128
|
+
* `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour).
|
129
|
+
* `BRING_YOUR_OWN_LICENSE` - Bring your own license.
|
130
|
+
|
131
|
+
|
132
|
+
:param license_type: The license_type of this UpdateInstanceLicensingConfig.
|
133
|
+
:type: str
|
134
|
+
"""
|
135
|
+
allowed_values = ["OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE"]
|
136
|
+
if not value_allowed_none_or_none_sentinel(license_type, allowed_values):
|
137
|
+
raise ValueError(
|
138
|
+
f"Invalid value for `license_type`, must be None or one of {allowed_values}"
|
139
|
+
)
|
140
|
+
self._license_type = license_type
|
141
|
+
|
142
|
+
def __repr__(self):
|
143
|
+
return formatted_flat_dict(self)
|
144
|
+
|
145
|
+
def __eq__(self, other):
|
146
|
+
if other is None:
|
147
|
+
return False
|
148
|
+
|
149
|
+
return self.__dict__ == other.__dict__
|
150
|
+
|
151
|
+
def __ne__(self, other):
|
152
|
+
return not self == other
|
@@ -0,0 +1,59 @@
|
|
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: 20160918
|
6
|
+
|
7
|
+
from .update_instance_licensing_config import UpdateInstanceLicensingConfig
|
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 UpdateInstanceWindowsLicensingConfig(UpdateInstanceLicensingConfig):
|
14
|
+
"""
|
15
|
+
The default windows licensing config.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new UpdateInstanceWindowsLicensingConfig object with values from keyword arguments. The default value of the :py:attr:`~oci.core.models.UpdateInstanceWindowsLicensingConfig.type` attribute
|
21
|
+
of this class is ``WINDOWS`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param type:
|
25
|
+
The value to assign to the type property of this UpdateInstanceWindowsLicensingConfig.
|
26
|
+
Allowed values for this property are: "WINDOWS"
|
27
|
+
:type type: str
|
28
|
+
|
29
|
+
:param license_type:
|
30
|
+
The value to assign to the license_type property of this UpdateInstanceWindowsLicensingConfig.
|
31
|
+
Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE"
|
32
|
+
:type license_type: str
|
33
|
+
|
34
|
+
"""
|
35
|
+
self.swagger_types = {
|
36
|
+
'type': 'str',
|
37
|
+
'license_type': 'str'
|
38
|
+
}
|
39
|
+
|
40
|
+
self.attribute_map = {
|
41
|
+
'type': 'type',
|
42
|
+
'license_type': 'licenseType'
|
43
|
+
}
|
44
|
+
|
45
|
+
self._type = None
|
46
|
+
self._license_type = None
|
47
|
+
self._type = 'WINDOWS'
|
48
|
+
|
49
|
+
def __repr__(self):
|
50
|
+
return formatted_flat_dict(self)
|
51
|
+
|
52
|
+
def __eq__(self, other):
|
53
|
+
if other is None:
|
54
|
+
return False
|
55
|
+
|
56
|
+
return self.__dict__ == other.__dict__
|
57
|
+
|
58
|
+
def __ne__(self, other):
|
59
|
+
return not self == other
|