pulumi-oci 3.1.0a1750230541__py3-none-any.whl → 3.1.0a1751948424__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.
- pulumi_oci/__init__.py +299 -0
- pulumi_oci/capacitymanagement/__init__.py +18 -0
- pulumi_oci/capacitymanagement/_inputs.py +459 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signal.py +268 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_catalog.py +254 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_catalog_resources.py +233 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_catalogs.py +192 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_deliveries.py +197 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_delivery.py +296 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_items.py +233 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signals.py +222 -0
- pulumi_oci/capacitymanagement/get_occm_demand_signal.py +254 -0
- pulumi_oci/capacitymanagement/get_occm_demand_signal_catalog_resources.py +189 -0
- pulumi_oci/capacitymanagement/get_occm_demand_signal_deliveries.py +175 -0
- pulumi_oci/capacitymanagement/get_occm_demand_signal_item.py +352 -0
- pulumi_oci/capacitymanagement/get_occm_demand_signal_items.py +211 -0
- pulumi_oci/capacitymanagement/get_occm_demand_signals.py +200 -0
- pulumi_oci/capacitymanagement/internal_occm_demand_signal.py +564 -0
- pulumi_oci/capacitymanagement/internal_occm_demand_signal_delivery.py +760 -0
- pulumi_oci/capacitymanagement/occm_demand_signal.py +585 -0
- pulumi_oci/capacitymanagement/occm_demand_signal_item.py +950 -0
- pulumi_oci/capacitymanagement/outputs.py +3499 -1230
- pulumi_oci/containerengine/get_cluster.py +7 -7
- pulumi_oci/core/__init__.py +4 -0
- pulumi_oci/core/_inputs.py +477 -0
- pulumi_oci/core/compute_host.py +910 -0
- pulumi_oci/core/compute_host_group.py +648 -0
- pulumi_oci/core/dedicated_vm_host.py +56 -0
- pulumi_oci/core/get_compute_host.py +72 -1
- pulumi_oci/core/get_compute_host_group.py +269 -0
- pulumi_oci/core/get_compute_host_groups.py +148 -0
- pulumi_oci/core/get_compute_hosts.py +37 -1
- pulumi_oci/core/get_dedicated_vm_host.py +29 -1
- pulumi_oci/core/outputs.py +912 -24
- pulumi_oci/database/__init__.py +2 -0
- pulumi_oci/database/_inputs.py +739 -52
- pulumi_oci/database/autonomous_container_database.py +141 -12
- pulumi_oci/database/autonomous_container_database_add_standby.py +8 -10
- pulumi_oci/database/autonomous_container_database_dataguard_association.py +8 -16
- pulumi_oci/database/autonomous_container_database_snapshot_standby.py +4 -6
- pulumi_oci/database/autonomous_database_software_image.py +28 -0
- pulumi_oci/database/autonomous_vm_cluster.py +28 -0
- pulumi_oci/database/backup_destination.py +28 -0
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +126 -0
- pulumi_oci/database/cloud_vm_cluster.py +82 -7
- pulumi_oci/database/database.py +28 -0
- pulumi_oci/database/database_software_image.py +28 -0
- pulumi_oci/database/database_upgrade.py +28 -0
- pulumi_oci/database/db_home.py +28 -0
- pulumi_oci/database/db_node.py +28 -0
- pulumi_oci/database/db_system.py +28 -0
- pulumi_oci/database/exadata_infrastructure.py +28 -0
- pulumi_oci/database/exadata_infrastructure_compute.py +39 -24
- pulumi_oci/database/external_container_database.py +28 -0
- pulumi_oci/database/external_database_connector.py +28 -0
- pulumi_oci/database/external_non_container_database.py +28 -0
- pulumi_oci/database/external_pluggable_database.py +28 -0
- pulumi_oci/database/get_autonomous_container_database.py +52 -2
- pulumi_oci/database/get_autonomous_container_database_backups.py +255 -0
- pulumi_oci/database/get_autonomous_container_database_dataguard_association.py +2 -2
- pulumi_oci/database/get_autonomous_container_database_dataguard_associations.py +2 -2
- pulumi_oci/database/get_autonomous_database_dataguard_associations.py +2 -2
- pulumi_oci/database/get_autonomous_database_resource_pool_members.py +145 -0
- pulumi_oci/database/get_autonomous_database_software_image.py +15 -1
- pulumi_oci/database/get_autonomous_vm_cluster.py +15 -1
- pulumi_oci/database/get_backup_destination.py +15 -1
- pulumi_oci/database/get_cloud_autonomous_vm_cluster.py +40 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +30 -2
- pulumi_oci/database/get_database.py +15 -1
- pulumi_oci/database/get_database_software_image.py +15 -1
- pulumi_oci/database/get_db_home.py +15 -1
- pulumi_oci/database/get_db_node.py +15 -1
- pulumi_oci/database/get_db_nodes.py +2 -2
- pulumi_oci/database/get_db_server.py +15 -1
- pulumi_oci/database/get_exadata_infrastructure.py +15 -1
- pulumi_oci/database/get_external_container_database.py +15 -1
- pulumi_oci/database/get_external_database_connector.py +15 -1
- pulumi_oci/database/get_external_non_container_database.py +15 -1
- pulumi_oci/database/get_external_pluggable_database.py +15 -1
- pulumi_oci/database/get_key_store.py +15 -1
- pulumi_oci/database/get_maintenance_run.py +15 -1
- pulumi_oci/database/get_oneoff_patch.py +15 -1
- pulumi_oci/database/get_pluggable_database.py +15 -1
- pulumi_oci/database/get_vm_cluster.py +15 -1
- pulumi_oci/database/get_vm_cluster_network.py +15 -1
- pulumi_oci/database/key_store.py +28 -0
- pulumi_oci/database/maintenance_run.py +28 -0
- pulumi_oci/database/oneoff_patch.py +28 -0
- pulumi_oci/database/outputs.py +1624 -54
- pulumi_oci/database/pluggable_database.py +28 -0
- pulumi_oci/database/pluggable_databases_local_clone.py +28 -0
- pulumi_oci/database/pluggable_databases_remote_clone.py +28 -0
- pulumi_oci/database/vm_cluster.py +28 -0
- pulumi_oci/database/vm_cluster_network.py +28 -0
- pulumi_oci/databasemanagement/__init__.py +7 -0
- pulumi_oci/databasemanagement/_inputs.py +196 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database.py +15 -1
- pulumi_oci/databasemanagement/get_managed_my_sql_database_binary_log_information.py +198 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database_digest_errors.py +164 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database_general_replication_information.py +352 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database_high_availability_members.py +145 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database_inbound_replications.py +145 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database_outbound_replications.py +145 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database_query_detail.py +176 -0
- pulumi_oci/databasemanagement/outputs.py +1330 -19
- pulumi_oci/databasemigration/_inputs.py +94 -0
- pulumi_oci/databasemigration/get_migration.py +15 -1
- pulumi_oci/databasemigration/get_migrations.py +15 -1
- pulumi_oci/databasemigration/job.py +28 -0
- pulumi_oci/databasemigration/migration.py +52 -3
- pulumi_oci/databasemigration/outputs.py +73 -0
- pulumi_oci/dataflow/_inputs.py +20 -0
- pulumi_oci/dataflow/outputs.py +36 -0
- pulumi_oci/fleetappsmanagement/__init__.py +48 -0
- pulumi_oci/fleetappsmanagement/_inputs.py +11016 -30
- pulumi_oci/fleetappsmanagement/catalog_item.py +1156 -0
- pulumi_oci/fleetappsmanagement/compliance_policy_rule.py +811 -0
- pulumi_oci/fleetappsmanagement/fleet.py +1003 -0
- pulumi_oci/fleetappsmanagement/fleet_credential.py +623 -0
- pulumi_oci/fleetappsmanagement/fleet_property.py +585 -0
- pulumi_oci/fleetappsmanagement/fleet_resource.py +853 -0
- pulumi_oci/fleetappsmanagement/get_announcements.py +29 -7
- pulumi_oci/fleetappsmanagement/get_catalog_item.py +434 -0
- pulumi_oci/fleetappsmanagement/get_catalog_items.py +274 -0
- pulumi_oci/fleetappsmanagement/get_compliance_policies.py +36 -12
- pulumi_oci/fleetappsmanagement/get_compliance_policy.py +20 -6
- pulumi_oci/fleetappsmanagement/get_compliance_policy_rule.py +325 -0
- pulumi_oci/fleetappsmanagement/get_compliance_policy_rules.py +244 -0
- pulumi_oci/fleetappsmanagement/get_compliance_record_counts.py +26 -7
- pulumi_oci/fleetappsmanagement/get_compliance_records.py +299 -0
- pulumi_oci/fleetappsmanagement/get_fleet.py +409 -0
- pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +15 -1
- pulumi_oci/fleetappsmanagement/get_fleet_credential.py +274 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +283 -0
- pulumi_oci/fleetappsmanagement/get_fleet_products.py +2 -2
- pulumi_oci/fleetappsmanagement/get_fleet_properties.py +197 -0
- pulumi_oci/fleetappsmanagement/get_fleet_property.py +287 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resource.py +399 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resources.py +216 -0
- pulumi_oci/fleetappsmanagement/get_fleets.py +284 -0
- pulumi_oci/fleetappsmanagement/get_inventory_records.py +205 -0
- pulumi_oci/fleetappsmanagement/get_inventory_resources.py +4 -2
- pulumi_oci/fleetappsmanagement/get_maintenance_window.py +338 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +221 -0
- pulumi_oci/fleetappsmanagement/get_managed_entity_counts.py +26 -7
- pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +26 -5
- pulumi_oci/fleetappsmanagement/get_onboardings.py +180 -0
- pulumi_oci/fleetappsmanagement/get_patch.py +364 -0
- pulumi_oci/fleetappsmanagement/get_patches.py +338 -0
- pulumi_oci/fleetappsmanagement/get_platform_configuration.py +297 -0
- pulumi_oci/fleetappsmanagement/get_platform_configurations.py +265 -0
- pulumi_oci/fleetappsmanagement/get_properties.py +37 -13
- pulumi_oci/fleetappsmanagement/get_property.py +1 -1
- pulumi_oci/fleetappsmanagement/get_provision.py +493 -0
- pulumi_oci/fleetappsmanagement/get_provisions.py +224 -0
- pulumi_oci/fleetappsmanagement/get_runbook.py +406 -0
- pulumi_oci/fleetappsmanagement/get_runbook_version.py +319 -0
- pulumi_oci/fleetappsmanagement/get_runbook_versions.py +230 -0
- pulumi_oci/fleetappsmanagement/get_runbooks.py +265 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +395 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +167 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +347 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_executions.py +334 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_job_counts.py +26 -7
- pulumi_oci/fleetappsmanagement/get_scheduler_job_job_activity_steps.py +2 -2
- pulumi_oci/fleetappsmanagement/get_task_record.py +308 -0
- pulumi_oci/fleetappsmanagement/get_task_records.py +265 -0
- pulumi_oci/fleetappsmanagement/maintenance_window.py +840 -0
- pulumi_oci/fleetappsmanagement/onboarding.py +631 -0
- pulumi_oci/fleetappsmanagement/outputs.py +25528 -1223
- pulumi_oci/fleetappsmanagement/patch.py +980 -0
- pulumi_oci/fleetappsmanagement/platform_configuration.py +694 -0
- pulumi_oci/fleetappsmanagement/property.py +28 -27
- pulumi_oci/fleetappsmanagement/provision.py +1195 -0
- pulumi_oci/fleetappsmanagement/runbook.py +1277 -0
- pulumi_oci/fleetappsmanagement/runbook_version.py +996 -0
- pulumi_oci/fleetappsmanagement/scheduler_definition.py +946 -0
- pulumi_oci/fleetappsmanagement/task_record.py +786 -0
- pulumi_oci/fleetsoftwareupdate/_inputs.py +88 -15
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +71 -42
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +21 -7
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +1 -1
- pulumi_oci/fleetsoftwareupdate/outputs.py +172 -15
- pulumi_oci/goldengate/_inputs.py +449 -3
- pulumi_oci/goldengate/connection.py +200 -56
- pulumi_oci/goldengate/get_connection.py +59 -28
- pulumi_oci/goldengate/get_connections.py +0 -3
- pulumi_oci/goldengate/outputs.py +886 -22
- pulumi_oci/loadbalancer/_inputs.py +24 -6
- pulumi_oci/loadbalancer/backend.py +35 -7
- pulumi_oci/loadbalancer/backend_set.py +35 -7
- pulumi_oci/loadbalancer/listener.py +7 -7
- pulumi_oci/loadbalancer/load_balancer.py +81 -0
- pulumi_oci/loadbalancer/outputs.py +29 -10
- pulumi_oci/loganalytics/__init__.py +3 -0
- pulumi_oci/loganalytics/_inputs.py +123 -0
- pulumi_oci/loganalytics/get_log_analytics_entities.py +52 -0
- pulumi_oci/loganalytics/get_log_analytics_entity_type.py +254 -0
- pulumi_oci/loganalytics/get_log_analytics_entity_types.py +230 -0
- pulumi_oci/loganalytics/log_analytics_entity_type.py +508 -0
- pulumi_oci/loganalytics/outputs.py +258 -0
- pulumi_oci/mysql/_inputs.py +274 -0
- pulumi_oci/mysql/get_mysql_backup.py +29 -1
- pulumi_oci/mysql/get_mysql_backups.py +23 -1
- pulumi_oci/mysql/get_mysql_db_system.py +15 -1
- pulumi_oci/mysql/get_replica.py +15 -1
- pulumi_oci/mysql/mysql_backup.py +98 -2
- pulumi_oci/mysql/mysql_db_system.py +57 -0
- pulumi_oci/mysql/outputs.py +594 -0
- pulumi_oci/mysql/replica.py +28 -0
- pulumi_oci/nosql/__init__.py +2 -0
- pulumi_oci/nosql/_inputs.py +129 -3
- pulumi_oci/nosql/configuration.py +383 -0
- pulumi_oci/nosql/get_configuration.py +162 -0
- pulumi_oci/nosql/index.py +7 -7
- pulumi_oci/nosql/outputs.py +164 -2
- pulumi_oci/nosql/table_replica.py +9 -9
- pulumi_oci/oci/__init__.py +56 -0
- pulumi_oci/oci/_inputs.py +1615 -0
- pulumi_oci/oci/apiaccesscontrol_privileged_api_control.py +930 -0
- pulumi_oci/oci/apiaccesscontrol_privileged_api_request.py +1303 -0
- pulumi_oci/oci/dbmulticloud_multi_cloud_resource_discovery.py +675 -0
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_container.py +743 -0
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_mount.py +675 -0
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_connector.py +740 -0
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault.py +840 -0
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault_association.py +673 -0
- pulumi_oci/oci/get_apiaccesscontrol_api_metadata.py +310 -0
- pulumi_oci/oci/get_apiaccesscontrol_api_metadata_by_entity_types.py +208 -0
- pulumi_oci/oci/get_apiaccesscontrol_api_metadatas.py +208 -0
- pulumi_oci/oci/get_apiaccesscontrol_privileged_api_control.py +367 -0
- pulumi_oci/oci/get_apiaccesscontrol_privileged_api_controls.py +222 -0
- pulumi_oci/oci/get_apiaccesscontrol_privileged_api_request.py +535 -0
- pulumi_oci/oci/get_apiaccesscontrol_privileged_api_requests.py +244 -0
- pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discoveries.py +252 -0
- pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discovery.py +297 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_container.py +310 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_containers.py +255 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mount.py +296 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mounts.py +255 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connector.py +311 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connectors.py +233 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_key.py +282 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_keys.py +233 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault.py +338 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_association.py +296 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_associations.py +255 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vaults.py +252 -0
- pulumi_oci/oci/get_wlms_managed_instance.py +255 -0
- pulumi_oci/oci/get_wlms_managed_instance_scan_results.py +189 -0
- pulumi_oci/oci/get_wlms_managed_instance_server.py +378 -0
- pulumi_oci/oci/get_wlms_managed_instance_server_installed_patches.py +168 -0
- pulumi_oci/oci/get_wlms_managed_instance_servers.py +170 -0
- pulumi_oci/oci/get_wlms_managed_instances.py +200 -0
- pulumi_oci/oci/get_wlms_wls_domain.py +311 -0
- pulumi_oci/oci/get_wlms_wls_domain_agreement_records.py +145 -0
- pulumi_oci/oci/get_wlms_wls_domain_applicable_patches.py +145 -0
- pulumi_oci/oci/get_wlms_wls_domain_scan_results.py +170 -0
- pulumi_oci/oci/get_wlms_wls_domain_server.py +378 -0
- pulumi_oci/oci/get_wlms_wls_domain_server_backup.py +230 -0
- pulumi_oci/oci/get_wlms_wls_domain_server_backup_content.py +189 -0
- pulumi_oci/oci/get_wlms_wls_domain_server_backups.py +168 -0
- pulumi_oci/oci/get_wlms_wls_domain_server_installed_patches.py +168 -0
- pulumi_oci/oci/get_wlms_wls_domain_servers.py +170 -0
- pulumi_oci/oci/get_wlms_wls_domains.py +266 -0
- pulumi_oci/oci/outputs.py +5617 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/__init__.py +8 -0
- pulumi_oci/redis/_inputs.py +179 -0
- pulumi_oci/redis/get_oci_cache_user.py +283 -0
- pulumi_oci/redis/get_oci_cache_users.py +192 -0
- pulumi_oci/redis/oci_cache_user.py +695 -0
- pulumi_oci/redis/oci_cache_user_get_redis_cluster.py +333 -0
- pulumi_oci/redis/outputs.py +330 -0
- pulumi_oci/redis/redis_cluster_attach_oci_cache_user.py +263 -0
- pulumi_oci/redis/redis_cluster_create_identity_token.py +439 -0
- pulumi_oci/redis/redis_cluster_detach_oci_cache_user.py +263 -0
- pulumi_oci/redis/redis_cluster_get_oci_cache_user.py +333 -0
- {pulumi_oci-3.1.0a1750230541.dist-info → pulumi_oci-3.1.0a1751948424.dist-info}/METADATA +1 -1
- {pulumi_oci-3.1.0a1750230541.dist-info → pulumi_oci-3.1.0a1751948424.dist-info}/RECORD +282 -141
- {pulumi_oci-3.1.0a1750230541.dist-info → pulumi_oci-3.1.0a1751948424.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.1.0a1750230541.dist-info → pulumi_oci-3.1.0a1751948424.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,648 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = ['ComputeHostGroupArgs', 'ComputeHostGroup']
|
21
|
+
|
22
|
+
@pulumi.input_type
|
23
|
+
class ComputeHostGroupArgs:
|
24
|
+
def __init__(__self__, *,
|
25
|
+
availability_domain: pulumi.Input[builtins.str],
|
26
|
+
compartment_id: pulumi.Input[builtins.str],
|
27
|
+
display_name: pulumi.Input[builtins.str],
|
28
|
+
is_targeted_placement_required: pulumi.Input[builtins.bool],
|
29
|
+
configurations: Optional[pulumi.Input[Sequence[pulumi.Input['ComputeHostGroupConfigurationArgs']]]] = None,
|
30
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
31
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
|
32
|
+
"""
|
33
|
+
The set of arguments for constructing a ComputeHostGroup resource.
|
34
|
+
:param pulumi.Input[builtins.str] availability_domain: The availability domain of a host group. Example: `Uocm:PHX-AD-1`
|
35
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment that contains host group.
|
36
|
+
:param pulumi.Input[builtins.str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
37
|
+
:param pulumi.Input[builtins.bool] is_targeted_placement_required: (Updatable) A flag that allows customers to restrict placement for hosts attached to the group. If true, the only way to place on hosts is to target the specific host group.
|
38
|
+
|
39
|
+
|
40
|
+
** IMPORTANT **
|
41
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input['ComputeHostGroupConfigurationArgs']]] configurations: (Updatable) A list of HostGroupConfiguration objects
|
43
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
44
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
45
|
+
"""
|
46
|
+
pulumi.set(__self__, "availability_domain", availability_domain)
|
47
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
48
|
+
pulumi.set(__self__, "display_name", display_name)
|
49
|
+
pulumi.set(__self__, "is_targeted_placement_required", is_targeted_placement_required)
|
50
|
+
if configurations is not None:
|
51
|
+
pulumi.set(__self__, "configurations", configurations)
|
52
|
+
if defined_tags is not None:
|
53
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
54
|
+
if freeform_tags is not None:
|
55
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="availabilityDomain")
|
59
|
+
def availability_domain(self) -> pulumi.Input[builtins.str]:
|
60
|
+
"""
|
61
|
+
The availability domain of a host group. Example: `Uocm:PHX-AD-1`
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "availability_domain")
|
64
|
+
|
65
|
+
@availability_domain.setter
|
66
|
+
def availability_domain(self, value: pulumi.Input[builtins.str]):
|
67
|
+
pulumi.set(self, "availability_domain", value)
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="compartmentId")
|
71
|
+
def compartment_id(self) -> pulumi.Input[builtins.str]:
|
72
|
+
"""
|
73
|
+
(Updatable) The OCID of the compartment that contains host group.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "compartment_id")
|
76
|
+
|
77
|
+
@compartment_id.setter
|
78
|
+
def compartment_id(self, value: pulumi.Input[builtins.str]):
|
79
|
+
pulumi.set(self, "compartment_id", value)
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="displayName")
|
83
|
+
def display_name(self) -> pulumi.Input[builtins.str]:
|
84
|
+
"""
|
85
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "display_name")
|
88
|
+
|
89
|
+
@display_name.setter
|
90
|
+
def display_name(self, value: pulumi.Input[builtins.str]):
|
91
|
+
pulumi.set(self, "display_name", value)
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="isTargetedPlacementRequired")
|
95
|
+
def is_targeted_placement_required(self) -> pulumi.Input[builtins.bool]:
|
96
|
+
"""
|
97
|
+
(Updatable) A flag that allows customers to restrict placement for hosts attached to the group. If true, the only way to place on hosts is to target the specific host group.
|
98
|
+
|
99
|
+
|
100
|
+
** IMPORTANT **
|
101
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "is_targeted_placement_required")
|
104
|
+
|
105
|
+
@is_targeted_placement_required.setter
|
106
|
+
def is_targeted_placement_required(self, value: pulumi.Input[builtins.bool]):
|
107
|
+
pulumi.set(self, "is_targeted_placement_required", value)
|
108
|
+
|
109
|
+
@property
|
110
|
+
@pulumi.getter
|
111
|
+
def configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ComputeHostGroupConfigurationArgs']]]]:
|
112
|
+
"""
|
113
|
+
(Updatable) A list of HostGroupConfiguration objects
|
114
|
+
"""
|
115
|
+
return pulumi.get(self, "configurations")
|
116
|
+
|
117
|
+
@configurations.setter
|
118
|
+
def configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ComputeHostGroupConfigurationArgs']]]]):
|
119
|
+
pulumi.set(self, "configurations", value)
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter(name="definedTags")
|
123
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
124
|
+
"""
|
125
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "defined_tags")
|
128
|
+
|
129
|
+
@defined_tags.setter
|
130
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
131
|
+
pulumi.set(self, "defined_tags", value)
|
132
|
+
|
133
|
+
@property
|
134
|
+
@pulumi.getter(name="freeformTags")
|
135
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
136
|
+
"""
|
137
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
138
|
+
"""
|
139
|
+
return pulumi.get(self, "freeform_tags")
|
140
|
+
|
141
|
+
@freeform_tags.setter
|
142
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
143
|
+
pulumi.set(self, "freeform_tags", value)
|
144
|
+
|
145
|
+
|
146
|
+
@pulumi.input_type
|
147
|
+
class _ComputeHostGroupState:
|
148
|
+
def __init__(__self__, *,
|
149
|
+
availability_domain: Optional[pulumi.Input[builtins.str]] = None,
|
150
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
151
|
+
configurations: Optional[pulumi.Input[Sequence[pulumi.Input['ComputeHostGroupConfigurationArgs']]]] = None,
|
152
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
153
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
154
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
155
|
+
is_targeted_placement_required: Optional[pulumi.Input[builtins.bool]] = None,
|
156
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
157
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
158
|
+
time_created: Optional[pulumi.Input[builtins.str]] = None,
|
159
|
+
time_updated: Optional[pulumi.Input[builtins.str]] = None):
|
160
|
+
"""
|
161
|
+
Input properties used for looking up and filtering ComputeHostGroup resources.
|
162
|
+
:param pulumi.Input[builtins.str] availability_domain: The availability domain of a host group. Example: `Uocm:PHX-AD-1`
|
163
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment that contains host group.
|
164
|
+
:param pulumi.Input[Sequence[pulumi.Input['ComputeHostGroupConfigurationArgs']]] configurations: (Updatable) A list of HostGroupConfiguration objects
|
165
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
166
|
+
:param pulumi.Input[builtins.str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
167
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
168
|
+
:param pulumi.Input[builtins.bool] is_targeted_placement_required: (Updatable) A flag that allows customers to restrict placement for hosts attached to the group. If true, the only way to place on hosts is to target the specific host group.
|
169
|
+
|
170
|
+
|
171
|
+
** IMPORTANT **
|
172
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
173
|
+
:param pulumi.Input[builtins.str] state: The lifecycle state of the host group
|
174
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] system_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
175
|
+
:param pulumi.Input[builtins.str] time_created: The date and time the host group was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
176
|
+
:param pulumi.Input[builtins.str] time_updated: The date and time the host group was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
177
|
+
"""
|
178
|
+
if availability_domain is not None:
|
179
|
+
pulumi.set(__self__, "availability_domain", availability_domain)
|
180
|
+
if compartment_id is not None:
|
181
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
182
|
+
if configurations is not None:
|
183
|
+
pulumi.set(__self__, "configurations", configurations)
|
184
|
+
if defined_tags is not None:
|
185
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
186
|
+
if display_name is not None:
|
187
|
+
pulumi.set(__self__, "display_name", display_name)
|
188
|
+
if freeform_tags is not None:
|
189
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
190
|
+
if is_targeted_placement_required is not None:
|
191
|
+
pulumi.set(__self__, "is_targeted_placement_required", is_targeted_placement_required)
|
192
|
+
if state is not None:
|
193
|
+
pulumi.set(__self__, "state", state)
|
194
|
+
if system_tags is not None:
|
195
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
196
|
+
if time_created is not None:
|
197
|
+
pulumi.set(__self__, "time_created", time_created)
|
198
|
+
if time_updated is not None:
|
199
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
200
|
+
|
201
|
+
@property
|
202
|
+
@pulumi.getter(name="availabilityDomain")
|
203
|
+
def availability_domain(self) -> Optional[pulumi.Input[builtins.str]]:
|
204
|
+
"""
|
205
|
+
The availability domain of a host group. Example: `Uocm:PHX-AD-1`
|
206
|
+
"""
|
207
|
+
return pulumi.get(self, "availability_domain")
|
208
|
+
|
209
|
+
@availability_domain.setter
|
210
|
+
def availability_domain(self, value: Optional[pulumi.Input[builtins.str]]):
|
211
|
+
pulumi.set(self, "availability_domain", value)
|
212
|
+
|
213
|
+
@property
|
214
|
+
@pulumi.getter(name="compartmentId")
|
215
|
+
def compartment_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
216
|
+
"""
|
217
|
+
(Updatable) The OCID of the compartment that contains host group.
|
218
|
+
"""
|
219
|
+
return pulumi.get(self, "compartment_id")
|
220
|
+
|
221
|
+
@compartment_id.setter
|
222
|
+
def compartment_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
223
|
+
pulumi.set(self, "compartment_id", value)
|
224
|
+
|
225
|
+
@property
|
226
|
+
@pulumi.getter
|
227
|
+
def configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ComputeHostGroupConfigurationArgs']]]]:
|
228
|
+
"""
|
229
|
+
(Updatable) A list of HostGroupConfiguration objects
|
230
|
+
"""
|
231
|
+
return pulumi.get(self, "configurations")
|
232
|
+
|
233
|
+
@configurations.setter
|
234
|
+
def configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ComputeHostGroupConfigurationArgs']]]]):
|
235
|
+
pulumi.set(self, "configurations", value)
|
236
|
+
|
237
|
+
@property
|
238
|
+
@pulumi.getter(name="definedTags")
|
239
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
240
|
+
"""
|
241
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
242
|
+
"""
|
243
|
+
return pulumi.get(self, "defined_tags")
|
244
|
+
|
245
|
+
@defined_tags.setter
|
246
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
247
|
+
pulumi.set(self, "defined_tags", value)
|
248
|
+
|
249
|
+
@property
|
250
|
+
@pulumi.getter(name="displayName")
|
251
|
+
def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
252
|
+
"""
|
253
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
254
|
+
"""
|
255
|
+
return pulumi.get(self, "display_name")
|
256
|
+
|
257
|
+
@display_name.setter
|
258
|
+
def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
259
|
+
pulumi.set(self, "display_name", value)
|
260
|
+
|
261
|
+
@property
|
262
|
+
@pulumi.getter(name="freeformTags")
|
263
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
264
|
+
"""
|
265
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
266
|
+
"""
|
267
|
+
return pulumi.get(self, "freeform_tags")
|
268
|
+
|
269
|
+
@freeform_tags.setter
|
270
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
271
|
+
pulumi.set(self, "freeform_tags", value)
|
272
|
+
|
273
|
+
@property
|
274
|
+
@pulumi.getter(name="isTargetedPlacementRequired")
|
275
|
+
def is_targeted_placement_required(self) -> Optional[pulumi.Input[builtins.bool]]:
|
276
|
+
"""
|
277
|
+
(Updatable) A flag that allows customers to restrict placement for hosts attached to the group. If true, the only way to place on hosts is to target the specific host group.
|
278
|
+
|
279
|
+
|
280
|
+
** IMPORTANT **
|
281
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
282
|
+
"""
|
283
|
+
return pulumi.get(self, "is_targeted_placement_required")
|
284
|
+
|
285
|
+
@is_targeted_placement_required.setter
|
286
|
+
def is_targeted_placement_required(self, value: Optional[pulumi.Input[builtins.bool]]):
|
287
|
+
pulumi.set(self, "is_targeted_placement_required", value)
|
288
|
+
|
289
|
+
@property
|
290
|
+
@pulumi.getter
|
291
|
+
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
292
|
+
"""
|
293
|
+
The lifecycle state of the host group
|
294
|
+
"""
|
295
|
+
return pulumi.get(self, "state")
|
296
|
+
|
297
|
+
@state.setter
|
298
|
+
def state(self, value: Optional[pulumi.Input[builtins.str]]):
|
299
|
+
pulumi.set(self, "state", value)
|
300
|
+
|
301
|
+
@property
|
302
|
+
@pulumi.getter(name="systemTags")
|
303
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
304
|
+
"""
|
305
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
306
|
+
"""
|
307
|
+
return pulumi.get(self, "system_tags")
|
308
|
+
|
309
|
+
@system_tags.setter
|
310
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
311
|
+
pulumi.set(self, "system_tags", value)
|
312
|
+
|
313
|
+
@property
|
314
|
+
@pulumi.getter(name="timeCreated")
|
315
|
+
def time_created(self) -> Optional[pulumi.Input[builtins.str]]:
|
316
|
+
"""
|
317
|
+
The date and time the host group was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
318
|
+
"""
|
319
|
+
return pulumi.get(self, "time_created")
|
320
|
+
|
321
|
+
@time_created.setter
|
322
|
+
def time_created(self, value: Optional[pulumi.Input[builtins.str]]):
|
323
|
+
pulumi.set(self, "time_created", value)
|
324
|
+
|
325
|
+
@property
|
326
|
+
@pulumi.getter(name="timeUpdated")
|
327
|
+
def time_updated(self) -> Optional[pulumi.Input[builtins.str]]:
|
328
|
+
"""
|
329
|
+
The date and time the host group was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
330
|
+
"""
|
331
|
+
return pulumi.get(self, "time_updated")
|
332
|
+
|
333
|
+
@time_updated.setter
|
334
|
+
def time_updated(self, value: Optional[pulumi.Input[builtins.str]]):
|
335
|
+
pulumi.set(self, "time_updated", value)
|
336
|
+
|
337
|
+
|
338
|
+
@pulumi.type_token("oci:Core/computeHostGroup:ComputeHostGroup")
|
339
|
+
class ComputeHostGroup(pulumi.CustomResource):
|
340
|
+
@overload
|
341
|
+
def __init__(__self__,
|
342
|
+
resource_name: str,
|
343
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
344
|
+
availability_domain: Optional[pulumi.Input[builtins.str]] = None,
|
345
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
346
|
+
configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ComputeHostGroupConfigurationArgs', 'ComputeHostGroupConfigurationArgsDict']]]]] = None,
|
347
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
348
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
349
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
350
|
+
is_targeted_placement_required: Optional[pulumi.Input[builtins.bool]] = None,
|
351
|
+
__props__=None):
|
352
|
+
"""
|
353
|
+
This resource provides the Compute Host Group resource in Oracle Cloud Infrastructure Core service.
|
354
|
+
|
355
|
+
Creates a new compute host group in the specified compartment and availability domain.
|
356
|
+
|
357
|
+
## Example Usage
|
358
|
+
|
359
|
+
```python
|
360
|
+
import pulumi
|
361
|
+
import pulumi_oci as oci
|
362
|
+
|
363
|
+
test_compute_host_group = oci.core.ComputeHostGroup("test_compute_host_group",
|
364
|
+
availability_domain=compute_host_group_availability_domain,
|
365
|
+
compartment_id=compartment_id,
|
366
|
+
display_name=compute_host_group_display_name,
|
367
|
+
is_targeted_placement_required=compute_host_group_is_targeted_placement_required,
|
368
|
+
configurations=[{
|
369
|
+
"firmware_bundle_id": test_firmware_bundle["id"],
|
370
|
+
"recycle_level": compute_host_group_configurations_recycle_level,
|
371
|
+
"target": compute_host_group_configurations_target,
|
372
|
+
}],
|
373
|
+
defined_tags={
|
374
|
+
"Operations.CostCenter": "42",
|
375
|
+
},
|
376
|
+
freeform_tags={
|
377
|
+
"Department": "Finance",
|
378
|
+
})
|
379
|
+
```
|
380
|
+
|
381
|
+
## Import
|
382
|
+
|
383
|
+
ComputeHostGroups can be imported using the `id`, e.g.
|
384
|
+
|
385
|
+
```sh
|
386
|
+
$ pulumi import oci:Core/computeHostGroup:ComputeHostGroup test_compute_host_group "id"
|
387
|
+
```
|
388
|
+
|
389
|
+
:param str resource_name: The name of the resource.
|
390
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
391
|
+
:param pulumi.Input[builtins.str] availability_domain: The availability domain of a host group. Example: `Uocm:PHX-AD-1`
|
392
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment that contains host group.
|
393
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ComputeHostGroupConfigurationArgs', 'ComputeHostGroupConfigurationArgsDict']]]] configurations: (Updatable) A list of HostGroupConfiguration objects
|
394
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
395
|
+
:param pulumi.Input[builtins.str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
396
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
397
|
+
:param pulumi.Input[builtins.bool] is_targeted_placement_required: (Updatable) A flag that allows customers to restrict placement for hosts attached to the group. If true, the only way to place on hosts is to target the specific host group.
|
398
|
+
|
399
|
+
|
400
|
+
** IMPORTANT **
|
401
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
402
|
+
"""
|
403
|
+
...
|
404
|
+
@overload
|
405
|
+
def __init__(__self__,
|
406
|
+
resource_name: str,
|
407
|
+
args: ComputeHostGroupArgs,
|
408
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
409
|
+
"""
|
410
|
+
This resource provides the Compute Host Group resource in Oracle Cloud Infrastructure Core service.
|
411
|
+
|
412
|
+
Creates a new compute host group in the specified compartment and availability domain.
|
413
|
+
|
414
|
+
## Example Usage
|
415
|
+
|
416
|
+
```python
|
417
|
+
import pulumi
|
418
|
+
import pulumi_oci as oci
|
419
|
+
|
420
|
+
test_compute_host_group = oci.core.ComputeHostGroup("test_compute_host_group",
|
421
|
+
availability_domain=compute_host_group_availability_domain,
|
422
|
+
compartment_id=compartment_id,
|
423
|
+
display_name=compute_host_group_display_name,
|
424
|
+
is_targeted_placement_required=compute_host_group_is_targeted_placement_required,
|
425
|
+
configurations=[{
|
426
|
+
"firmware_bundle_id": test_firmware_bundle["id"],
|
427
|
+
"recycle_level": compute_host_group_configurations_recycle_level,
|
428
|
+
"target": compute_host_group_configurations_target,
|
429
|
+
}],
|
430
|
+
defined_tags={
|
431
|
+
"Operations.CostCenter": "42",
|
432
|
+
},
|
433
|
+
freeform_tags={
|
434
|
+
"Department": "Finance",
|
435
|
+
})
|
436
|
+
```
|
437
|
+
|
438
|
+
## Import
|
439
|
+
|
440
|
+
ComputeHostGroups can be imported using the `id`, e.g.
|
441
|
+
|
442
|
+
```sh
|
443
|
+
$ pulumi import oci:Core/computeHostGroup:ComputeHostGroup test_compute_host_group "id"
|
444
|
+
```
|
445
|
+
|
446
|
+
:param str resource_name: The name of the resource.
|
447
|
+
:param ComputeHostGroupArgs args: The arguments to use to populate this resource's properties.
|
448
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
449
|
+
"""
|
450
|
+
...
|
451
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
452
|
+
resource_args, opts = _utilities.get_resource_args_opts(ComputeHostGroupArgs, pulumi.ResourceOptions, *args, **kwargs)
|
453
|
+
if resource_args is not None:
|
454
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
455
|
+
else:
|
456
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
457
|
+
|
458
|
+
def _internal_init(__self__,
|
459
|
+
resource_name: str,
|
460
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
461
|
+
availability_domain: Optional[pulumi.Input[builtins.str]] = None,
|
462
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
463
|
+
configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ComputeHostGroupConfigurationArgs', 'ComputeHostGroupConfigurationArgsDict']]]]] = None,
|
464
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
465
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
466
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
467
|
+
is_targeted_placement_required: Optional[pulumi.Input[builtins.bool]] = None,
|
468
|
+
__props__=None):
|
469
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
470
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
471
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
472
|
+
if opts.id is None:
|
473
|
+
if __props__ is not None:
|
474
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
475
|
+
__props__ = ComputeHostGroupArgs.__new__(ComputeHostGroupArgs)
|
476
|
+
|
477
|
+
if availability_domain is None and not opts.urn:
|
478
|
+
raise TypeError("Missing required property 'availability_domain'")
|
479
|
+
__props__.__dict__["availability_domain"] = availability_domain
|
480
|
+
if compartment_id is None and not opts.urn:
|
481
|
+
raise TypeError("Missing required property 'compartment_id'")
|
482
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
483
|
+
__props__.__dict__["configurations"] = configurations
|
484
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
485
|
+
if display_name is None and not opts.urn:
|
486
|
+
raise TypeError("Missing required property 'display_name'")
|
487
|
+
__props__.__dict__["display_name"] = display_name
|
488
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
489
|
+
if is_targeted_placement_required is None and not opts.urn:
|
490
|
+
raise TypeError("Missing required property 'is_targeted_placement_required'")
|
491
|
+
__props__.__dict__["is_targeted_placement_required"] = is_targeted_placement_required
|
492
|
+
__props__.__dict__["state"] = None
|
493
|
+
__props__.__dict__["system_tags"] = None
|
494
|
+
__props__.__dict__["time_created"] = None
|
495
|
+
__props__.__dict__["time_updated"] = None
|
496
|
+
super(ComputeHostGroup, __self__).__init__(
|
497
|
+
'oci:Core/computeHostGroup:ComputeHostGroup',
|
498
|
+
resource_name,
|
499
|
+
__props__,
|
500
|
+
opts)
|
501
|
+
|
502
|
+
@staticmethod
|
503
|
+
def get(resource_name: str,
|
504
|
+
id: pulumi.Input[str],
|
505
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
506
|
+
availability_domain: Optional[pulumi.Input[builtins.str]] = None,
|
507
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
508
|
+
configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ComputeHostGroupConfigurationArgs', 'ComputeHostGroupConfigurationArgsDict']]]]] = None,
|
509
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
510
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
511
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
512
|
+
is_targeted_placement_required: Optional[pulumi.Input[builtins.bool]] = None,
|
513
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
514
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
515
|
+
time_created: Optional[pulumi.Input[builtins.str]] = None,
|
516
|
+
time_updated: Optional[pulumi.Input[builtins.str]] = None) -> 'ComputeHostGroup':
|
517
|
+
"""
|
518
|
+
Get an existing ComputeHostGroup resource's state with the given name, id, and optional extra
|
519
|
+
properties used to qualify the lookup.
|
520
|
+
|
521
|
+
:param str resource_name: The unique name of the resulting resource.
|
522
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
523
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
524
|
+
:param pulumi.Input[builtins.str] availability_domain: The availability domain of a host group. Example: `Uocm:PHX-AD-1`
|
525
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment that contains host group.
|
526
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ComputeHostGroupConfigurationArgs', 'ComputeHostGroupConfigurationArgsDict']]]] configurations: (Updatable) A list of HostGroupConfiguration objects
|
527
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
528
|
+
:param pulumi.Input[builtins.str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
529
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
530
|
+
:param pulumi.Input[builtins.bool] is_targeted_placement_required: (Updatable) A flag that allows customers to restrict placement for hosts attached to the group. If true, the only way to place on hosts is to target the specific host group.
|
531
|
+
|
532
|
+
|
533
|
+
** IMPORTANT **
|
534
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
535
|
+
:param pulumi.Input[builtins.str] state: The lifecycle state of the host group
|
536
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] system_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
537
|
+
:param pulumi.Input[builtins.str] time_created: The date and time the host group was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
538
|
+
:param pulumi.Input[builtins.str] time_updated: The date and time the host group was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
539
|
+
"""
|
540
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
541
|
+
|
542
|
+
__props__ = _ComputeHostGroupState.__new__(_ComputeHostGroupState)
|
543
|
+
|
544
|
+
__props__.__dict__["availability_domain"] = availability_domain
|
545
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
546
|
+
__props__.__dict__["configurations"] = configurations
|
547
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
548
|
+
__props__.__dict__["display_name"] = display_name
|
549
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
550
|
+
__props__.__dict__["is_targeted_placement_required"] = is_targeted_placement_required
|
551
|
+
__props__.__dict__["state"] = state
|
552
|
+
__props__.__dict__["system_tags"] = system_tags
|
553
|
+
__props__.__dict__["time_created"] = time_created
|
554
|
+
__props__.__dict__["time_updated"] = time_updated
|
555
|
+
return ComputeHostGroup(resource_name, opts=opts, __props__=__props__)
|
556
|
+
|
557
|
+
@property
|
558
|
+
@pulumi.getter(name="availabilityDomain")
|
559
|
+
def availability_domain(self) -> pulumi.Output[builtins.str]:
|
560
|
+
"""
|
561
|
+
The availability domain of a host group. Example: `Uocm:PHX-AD-1`
|
562
|
+
"""
|
563
|
+
return pulumi.get(self, "availability_domain")
|
564
|
+
|
565
|
+
@property
|
566
|
+
@pulumi.getter(name="compartmentId")
|
567
|
+
def compartment_id(self) -> pulumi.Output[builtins.str]:
|
568
|
+
"""
|
569
|
+
(Updatable) The OCID of the compartment that contains host group.
|
570
|
+
"""
|
571
|
+
return pulumi.get(self, "compartment_id")
|
572
|
+
|
573
|
+
@property
|
574
|
+
@pulumi.getter
|
575
|
+
def configurations(self) -> pulumi.Output[Sequence['outputs.ComputeHostGroupConfiguration']]:
|
576
|
+
"""
|
577
|
+
(Updatable) A list of HostGroupConfiguration objects
|
578
|
+
"""
|
579
|
+
return pulumi.get(self, "configurations")
|
580
|
+
|
581
|
+
@property
|
582
|
+
@pulumi.getter(name="definedTags")
|
583
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
584
|
+
"""
|
585
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
586
|
+
"""
|
587
|
+
return pulumi.get(self, "defined_tags")
|
588
|
+
|
589
|
+
@property
|
590
|
+
@pulumi.getter(name="displayName")
|
591
|
+
def display_name(self) -> pulumi.Output[builtins.str]:
|
592
|
+
"""
|
593
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
594
|
+
"""
|
595
|
+
return pulumi.get(self, "display_name")
|
596
|
+
|
597
|
+
@property
|
598
|
+
@pulumi.getter(name="freeformTags")
|
599
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
600
|
+
"""
|
601
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
602
|
+
"""
|
603
|
+
return pulumi.get(self, "freeform_tags")
|
604
|
+
|
605
|
+
@property
|
606
|
+
@pulumi.getter(name="isTargetedPlacementRequired")
|
607
|
+
def is_targeted_placement_required(self) -> pulumi.Output[builtins.bool]:
|
608
|
+
"""
|
609
|
+
(Updatable) A flag that allows customers to restrict placement for hosts attached to the group. If true, the only way to place on hosts is to target the specific host group.
|
610
|
+
|
611
|
+
|
612
|
+
** IMPORTANT **
|
613
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
614
|
+
"""
|
615
|
+
return pulumi.get(self, "is_targeted_placement_required")
|
616
|
+
|
617
|
+
@property
|
618
|
+
@pulumi.getter
|
619
|
+
def state(self) -> pulumi.Output[builtins.str]:
|
620
|
+
"""
|
621
|
+
The lifecycle state of the host group
|
622
|
+
"""
|
623
|
+
return pulumi.get(self, "state")
|
624
|
+
|
625
|
+
@property
|
626
|
+
@pulumi.getter(name="systemTags")
|
627
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
628
|
+
"""
|
629
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
630
|
+
"""
|
631
|
+
return pulumi.get(self, "system_tags")
|
632
|
+
|
633
|
+
@property
|
634
|
+
@pulumi.getter(name="timeCreated")
|
635
|
+
def time_created(self) -> pulumi.Output[builtins.str]:
|
636
|
+
"""
|
637
|
+
The date and time the host group was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
638
|
+
"""
|
639
|
+
return pulumi.get(self, "time_created")
|
640
|
+
|
641
|
+
@property
|
642
|
+
@pulumi.getter(name="timeUpdated")
|
643
|
+
def time_updated(self) -> pulumi.Output[builtins.str]:
|
644
|
+
"""
|
645
|
+
The date and time the host group was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
646
|
+
"""
|
647
|
+
return pulumi.get(self, "time_updated")
|
648
|
+
|