pulumi-oci 2.12.0a1728593306__py3-none-any.whl → 2.12.0a1728642710__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 +145 -0
- pulumi_oci/analytics/analytics_instance.py +54 -5
- pulumi_oci/analytics/get_analytics_instance.py +18 -4
- pulumi_oci/analytics/outputs.py +12 -1
- pulumi_oci/core/_inputs.py +648 -159
- pulumi_oci/core/cluster_network.py +7 -7
- pulumi_oci/core/get_instance.py +29 -1
- pulumi_oci/core/get_vcn.py +15 -1
- pulumi_oci/core/get_vnic.py +15 -1
- pulumi_oci/core/instance.py +87 -0
- pulumi_oci/core/instance_configuration.py +12 -0
- pulumi_oci/core/ipsec.py +183 -23
- pulumi_oci/core/network_security_group_security_rule.py +2 -2
- pulumi_oci/core/outputs.py +709 -107
- pulumi_oci/core/service_gateway.py +13 -7
- pulumi_oci/core/vcn.py +65 -23
- pulumi_oci/core/virtual_network.py +35 -1
- pulumi_oci/core/vnic_attachment.py +2 -0
- pulumi_oci/database/_inputs.py +905 -27
- pulumi_oci/database/autonomous_database.py +48 -28
- pulumi_oci/database/autonomous_database_backup.py +12 -12
- pulumi_oci/database/autonomous_exadata_infrastructure.py +2 -0
- pulumi_oci/database/autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/backup.py +12 -12
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +2 -0
- pulumi_oci/database/cloud_vm_cluster.py +71 -0
- pulumi_oci/database/database.py +15 -15
- pulumi_oci/database/database_upgrade.py +12 -12
- pulumi_oci/database/db_system.py +9 -9
- pulumi_oci/database/exadata_infrastructure.py +2 -0
- pulumi_oci/database/get_autonomous_container_database.py +1 -1
- pulumi_oci/database/get_autonomous_database.py +18 -4
- pulumi_oci/database/get_autonomous_database_backup.py +3 -3
- pulumi_oci/database/get_autonomous_databases.py +88 -5
- pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
- pulumi_oci/database/get_database.py +3 -3
- pulumi_oci/database/get_pluggable_database.py +12 -1
- pulumi_oci/database/get_vm_cluster.py +15 -1
- pulumi_oci/database/outputs.py +1431 -74
- pulumi_oci/database/pluggable_database.py +34 -0
- pulumi_oci/database/vm_cluster.py +71 -0
- pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
- pulumi_oci/datasafe/__init__.py +12 -0
- pulumi_oci/datasafe/_inputs.py +441 -0
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_sql_collection.py +392 -0
- pulumi_oci/datasafe/get_sql_collection_analytics.py +309 -0
- pulumi_oci/datasafe/get_sql_collection_log_insights.py +207 -0
- pulumi_oci/datasafe/get_sql_collections.py +364 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +337 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +250 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +234 -0
- pulumi_oci/datasafe/get_sql_firewall_policies.py +386 -0
- pulumi_oci/datasafe/get_sql_firewall_policy.py +393 -0
- pulumi_oci/datasafe/get_sql_firewall_policy_analytics.py +305 -0
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +306 -0
- pulumi_oci/datasafe/get_sql_firewall_violations.py +208 -0
- pulumi_oci/datasafe/outputs.py +1808 -2
- pulumi_oci/desktops/_inputs.py +223 -7
- pulumi_oci/desktops/desktop_pool.py +186 -21
- pulumi_oci/desktops/get_desktop_pool.py +47 -5
- pulumi_oci/desktops/outputs.py +480 -19
- pulumi_oci/fleetappsmanagement/__init__.py +43 -0
- pulumi_oci/fleetappsmanagement/_inputs.py +2057 -0
- pulumi_oci/fleetappsmanagement/fleet.py +955 -0
- pulumi_oci/fleetappsmanagement/fleet_credential.py +615 -0
- pulumi_oci/fleetappsmanagement/fleet_property.py +585 -0
- pulumi_oci/fleetappsmanagement/fleet_resource.py +851 -0
- pulumi_oci/fleetappsmanagement/get_announcements.py +166 -0
- pulumi_oci/fleetappsmanagement/get_fleet.py +394 -0
- pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +164 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credential.py +273 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +240 -0
- pulumi_oci/fleetappsmanagement/get_fleet_products.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleet_properties.py +218 -0
- pulumi_oci/fleetappsmanagement/get_fleet_property.py +286 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resource.py +398 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resources.py +237 -0
- pulumi_oci/fleetappsmanagement/get_fleet_targets.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleets.py +284 -0
- pulumi_oci/fleetappsmanagement/get_inventory_resources.py +311 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_window.py +365 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +199 -0
- pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +123 -0
- pulumi_oci/fleetappsmanagement/get_onboardings.py +177 -0
- pulumi_oci/fleetappsmanagement/get_properties.py +221 -0
- pulumi_oci/fleetappsmanagement/get_property.py +323 -0
- pulumi_oci/fleetappsmanagement/get_runbook.py +377 -0
- pulumi_oci/fleetappsmanagement/get_runbooks.py +284 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +436 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +185 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +262 -0
- pulumi_oci/fleetappsmanagement/get_task_record.py +307 -0
- pulumi_oci/fleetappsmanagement/get_task_records.py +240 -0
- pulumi_oci/fleetappsmanagement/maintenance_window.py +935 -0
- pulumi_oci/fleetappsmanagement/onboarding.py +477 -0
- pulumi_oci/fleetappsmanagement/outputs.py +8128 -0
- pulumi_oci/fleetappsmanagement/property.py +697 -0
- pulumi_oci/fleetappsmanagement/scheduler_definition.py +1035 -0
- pulumi_oci/functions/get_fusion_environment_refresh_activity.py +15 -1
- pulumi_oci/functions/outputs.py +11 -0
- pulumi_oci/fusionapps/_inputs.py +21 -20
- pulumi_oci/fusionapps/fusion_environment.py +2 -2
- pulumi_oci/fusionapps/fusion_environment_admin_user.py +21 -22
- pulumi_oci/fusionapps/fusion_environment_refresh_activity.py +48 -51
- pulumi_oci/fusionapps/outputs.py +11 -10
- pulumi_oci/integration/__init__.py +1 -0
- pulumi_oci/integration/_inputs.py +289 -2
- pulumi_oci/integration/get_integration_instance.py +65 -1
- pulumi_oci/integration/integration_instance.py +172 -0
- pulumi_oci/integration/oracle_managed_custom_endpoint.py +307 -0
- pulumi_oci/integration/outputs.py +587 -19
- pulumi_oci/loadbalancer/_inputs.py +20 -0
- pulumi_oci/loadbalancer/listener.py +4 -2
- pulumi_oci/loadbalancer/outputs.py +16 -2
- pulumi_oci/monitoring/_inputs.py +137 -16
- pulumi_oci/monitoring/alarm_suppression.py +164 -35
- pulumi_oci/monitoring/get_alarm_statuses.py +5 -3
- pulumi_oci/monitoring/get_alarm_suppression.py +33 -3
- pulumi_oci/monitoring/get_alarm_suppressions.py +137 -14
- pulumi_oci/monitoring/outputs.py +291 -18
- pulumi_oci/mysql/mysql_db_system.py +7 -7
- pulumi_oci/objectstorage/__init__.py +3 -0
- pulumi_oci/objectstorage/_inputs.py +97 -0
- pulumi_oci/objectstorage/get_object_versions.py +6 -6
- pulumi_oci/objectstorage/get_objects.py +6 -6
- pulumi_oci/objectstorage/get_private_endpoint.py +263 -0
- pulumi_oci/objectstorage/get_private_endpoint_summaries.py +128 -0
- pulumi_oci/objectstorage/outputs.py +258 -0
- pulumi_oci/objectstorage/private_endpoint.py +630 -0
- pulumi_oci/objectstorage/storage_object.py +7 -7
- pulumi_oci/opsi/_inputs.py +268 -114
- pulumi_oci/opsi/database_insight.py +162 -21
- pulumi_oci/opsi/exadata_insight.py +44 -0
- pulumi_oci/opsi/get_database_insight.py +40 -1
- pulumi_oci/opsi/get_host_insights.py +2 -2
- pulumi_oci/opsi/host_insight.py +0 -48
- pulumi_oci/opsi/outputs.py +405 -109
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/securityattribute/__init__.py +15 -0
- pulumi_oci/securityattribute/_inputs.py +209 -0
- pulumi_oci/securityattribute/get_security_attribute.py +262 -0
- pulumi_oci/securityattribute/get_security_attribute_namespace.py +253 -0
- pulumi_oci/securityattribute/get_security_attribute_namespaces.py +210 -0
- pulumi_oci/securityattribute/get_security_attributes.py +169 -0
- pulumi_oci/securityattribute/outputs.py +466 -0
- pulumi_oci/securityattribute/security_attribute.py +588 -0
- pulumi_oci/securityattribute/security_attribute_namespace.py +609 -0
- pulumi_oci/stackmonitoring/__init__.py +5 -0
- pulumi_oci/stackmonitoring/_inputs.py +330 -0
- pulumi_oci/stackmonitoring/get_maintenance_window.py +254 -0
- pulumi_oci/stackmonitoring/get_maintenance_windows.py +210 -0
- pulumi_oci/stackmonitoring/maintenance_window.py +551 -0
- pulumi_oci/stackmonitoring/maintenance_windows_retry_failed_operation.py +217 -0
- pulumi_oci/stackmonitoring/maintenance_windows_stop.py +217 -0
- pulumi_oci/stackmonitoring/outputs.py +603 -0
- pulumi_oci/zpr/__init__.py +14 -0
- pulumi_oci/zpr/_inputs.py +79 -0
- pulumi_oci/zpr/configuration.py +516 -0
- pulumi_oci/zpr/get_configuration.py +230 -0
- pulumi_oci/zpr/get_zpr_policies.py +191 -0
- pulumi_oci/zpr/get_zpr_policy.py +264 -0
- pulumi_oci/zpr/outputs.py +203 -0
- pulumi_oci/zpr/zpr_policy.py +614 -0
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/METADATA +1 -1
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/RECORD +170 -95
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/top_level.txt +0 -0
@@ -37,7 +37,7 @@ class ClusterNetworkArgs:
|
|
37
37
|
:param pulumi.Input['ClusterNetworkPlacementConfigurationArgs'] placement_configuration: The location for where the instance pools in a cluster network will place instances.
|
38
38
|
:param pulumi.Input['ClusterNetworkClusterConfigurationArgs'] cluster_configuration: The HPC cluster configuration requested when launching instances of a cluster network.
|
39
39
|
|
40
|
-
If the parameter is provided, instances will only be placed within the HPC island and list of network blocks
|
40
|
+
If the parameter is provided, instances will only be placed within the HPC island and list of network blocks that you specify. If a list of network blocks are missing or not provided, the instances will be placed in any HPC blocks in the HPC island that you specify. If the values of HPC island or network block that you provide are not valid, an error is returned.
|
41
41
|
:param pulumi.Input[Mapping[str, pulumi.Input[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"}`
|
42
42
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
43
43
|
:param pulumi.Input[Mapping[str, pulumi.Input[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"}`
|
@@ -98,7 +98,7 @@ class ClusterNetworkArgs:
|
|
98
98
|
"""
|
99
99
|
The HPC cluster configuration requested when launching instances of a cluster network.
|
100
100
|
|
101
|
-
If the parameter is provided, instances will only be placed within the HPC island and list of network blocks
|
101
|
+
If the parameter is provided, instances will only be placed within the HPC island and list of network blocks that you specify. If a list of network blocks are missing or not provided, the instances will be placed in any HPC blocks in the HPC island that you specify. If the values of HPC island or network block that you provide are not valid, an error is returned.
|
102
102
|
"""
|
103
103
|
return pulumi.get(self, "cluster_configuration")
|
104
104
|
|
@@ -162,7 +162,7 @@ class _ClusterNetworkState:
|
|
162
162
|
Input properties used for looking up and filtering ClusterNetwork resources.
|
163
163
|
:param pulumi.Input['ClusterNetworkClusterConfigurationArgs'] cluster_configuration: The HPC cluster configuration requested when launching instances of a cluster network.
|
164
164
|
|
165
|
-
If the parameter is provided, instances will only be placed within the HPC island and list of network blocks
|
165
|
+
If the parameter is provided, instances will only be placed within the HPC island and list of network blocks that you specify. If a list of network blocks are missing or not provided, the instances will be placed in any HPC blocks in the HPC island that you specify. If the values of HPC island or network block that you provide are not valid, an error is returned.
|
166
166
|
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cluster network.
|
167
167
|
:param pulumi.Input[Mapping[str, pulumi.Input[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"}`
|
168
168
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
@@ -208,7 +208,7 @@ class _ClusterNetworkState:
|
|
208
208
|
"""
|
209
209
|
The HPC cluster configuration requested when launching instances of a cluster network.
|
210
210
|
|
211
|
-
If the parameter is provided, instances will only be placed within the HPC island and list of network blocks
|
211
|
+
If the parameter is provided, instances will only be placed within the HPC island and list of network blocks that you specify. If a list of network blocks are missing or not provided, the instances will be placed in any HPC blocks in the HPC island that you specify. If the values of HPC island or network block that you provide are not valid, an error is returned.
|
212
212
|
"""
|
213
213
|
return pulumi.get(self, "cluster_configuration")
|
214
214
|
|
@@ -445,7 +445,7 @@ class ClusterNetwork(pulumi.CustomResource):
|
|
445
445
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
446
446
|
:param pulumi.Input[Union['ClusterNetworkClusterConfigurationArgs', 'ClusterNetworkClusterConfigurationArgsDict']] cluster_configuration: The HPC cluster configuration requested when launching instances of a cluster network.
|
447
447
|
|
448
|
-
If the parameter is provided, instances will only be placed within the HPC island and list of network blocks
|
448
|
+
If the parameter is provided, instances will only be placed within the HPC island and list of network blocks that you specify. If a list of network blocks are missing or not provided, the instances will be placed in any HPC blocks in the HPC island that you specify. If the values of HPC island or network block that you provide are not valid, an error is returned.
|
449
449
|
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cluster network.
|
450
450
|
:param pulumi.Input[Mapping[str, pulumi.Input[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"}`
|
451
451
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
@@ -618,7 +618,7 @@ class ClusterNetwork(pulumi.CustomResource):
|
|
618
618
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
619
619
|
:param pulumi.Input[Union['ClusterNetworkClusterConfigurationArgs', 'ClusterNetworkClusterConfigurationArgsDict']] cluster_configuration: The HPC cluster configuration requested when launching instances of a cluster network.
|
620
620
|
|
621
|
-
If the parameter is provided, instances will only be placed within the HPC island and list of network blocks
|
621
|
+
If the parameter is provided, instances will only be placed within the HPC island and list of network blocks that you specify. If a list of network blocks are missing or not provided, the instances will be placed in any HPC blocks in the HPC island that you specify. If the values of HPC island or network block that you provide are not valid, an error is returned.
|
622
622
|
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cluster network.
|
623
623
|
:param pulumi.Input[Mapping[str, pulumi.Input[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"}`
|
624
624
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
@@ -657,7 +657,7 @@ class ClusterNetwork(pulumi.CustomResource):
|
|
657
657
|
"""
|
658
658
|
The HPC cluster configuration requested when launching instances of a cluster network.
|
659
659
|
|
660
|
-
If the parameter is provided, instances will only be placed within the HPC island and list of network blocks
|
660
|
+
If the parameter is provided, instances will only be placed within the HPC island and list of network blocks that you specify. If a list of network blocks are missing or not provided, the instances will be placed in any HPC blocks in the HPC island that you specify. If the values of HPC island or network block that you provide are not valid, an error is returned.
|
661
661
|
"""
|
662
662
|
return pulumi.get(self, "cluster_configuration")
|
663
663
|
|
pulumi_oci/core/get_instance.py
CHANGED
@@ -27,7 +27,7 @@ class GetInstanceResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getInstance.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, agent_configs=None, async_=None, availability_configs=None, availability_domain=None, boot_volume_id=None, capacity_reservation_id=None, cluster_placement_group_id=None, compartment_id=None, compute_cluster_id=None, create_vnic_details=None, dedicated_vm_host_id=None, defined_tags=None, display_name=None, extended_metadata=None, fault_domain=None, freeform_tags=None, hostname_label=None, id=None, image=None, instance_configuration_id=None, instance_id=None, instance_options=None, ipxe_script=None, is_cross_numa_node=None, is_pv_encryption_in_transit_enabled=None, launch_mode=None, launch_options=None, launch_volume_attachments=None, metadata=None, platform_configs=None, preemptible_instance_configs=None, preserve_boot_volume=None, preserve_data_volumes_created_at_launch=None, private_ip=None, public_ip=None, region=None, shape=None, shape_configs=None, source_details=None, state=None, subnet_id=None, system_tags=None, time_created=None, time_maintenance_reboot_due=None, update_operation_constraint=None):
|
30
|
+
def __init__(__self__, agent_configs=None, async_=None, availability_configs=None, availability_domain=None, boot_volume_id=None, capacity_reservation_id=None, cluster_placement_group_id=None, compartment_id=None, compute_cluster_id=None, create_vnic_details=None, dedicated_vm_host_id=None, defined_tags=None, display_name=None, extended_metadata=None, fault_domain=None, freeform_tags=None, hostname_label=None, id=None, image=None, instance_configuration_id=None, instance_id=None, instance_options=None, ipxe_script=None, is_cross_numa_node=None, is_pv_encryption_in_transit_enabled=None, launch_mode=None, launch_options=None, launch_volume_attachments=None, metadata=None, platform_configs=None, preemptible_instance_configs=None, preserve_boot_volume=None, preserve_data_volumes_created_at_launch=None, private_ip=None, public_ip=None, region=None, security_attributes=None, security_attributes_state=None, shape=None, shape_configs=None, source_details=None, state=None, subnet_id=None, system_tags=None, time_created=None, time_maintenance_reboot_due=None, update_operation_constraint=None):
|
31
31
|
if agent_configs and not isinstance(agent_configs, list):
|
32
32
|
raise TypeError("Expected argument 'agent_configs' to be a list")
|
33
33
|
pulumi.set(__self__, "agent_configs", agent_configs)
|
@@ -136,6 +136,12 @@ class GetInstanceResult:
|
|
136
136
|
if region and not isinstance(region, str):
|
137
137
|
raise TypeError("Expected argument 'region' to be a str")
|
138
138
|
pulumi.set(__self__, "region", region)
|
139
|
+
if security_attributes and not isinstance(security_attributes, dict):
|
140
|
+
raise TypeError("Expected argument 'security_attributes' to be a dict")
|
141
|
+
pulumi.set(__self__, "security_attributes", security_attributes)
|
142
|
+
if security_attributes_state and not isinstance(security_attributes_state, str):
|
143
|
+
raise TypeError("Expected argument 'security_attributes_state' to be a str")
|
144
|
+
pulumi.set(__self__, "security_attributes_state", security_attributes_state)
|
139
145
|
if shape and not isinstance(shape, str):
|
140
146
|
raise TypeError("Expected argument 'shape' to be a str")
|
141
147
|
pulumi.set(__self__, "shape", shape)
|
@@ -440,6 +446,22 @@ class GetInstanceResult:
|
|
440
446
|
"""
|
441
447
|
return pulumi.get(self, "region")
|
442
448
|
|
449
|
+
@property
|
450
|
+
@pulumi.getter(name="securityAttributes")
|
451
|
+
def security_attributes(self) -> Mapping[str, str]:
|
452
|
+
"""
|
453
|
+
Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
454
|
+
"""
|
455
|
+
return pulumi.get(self, "security_attributes")
|
456
|
+
|
457
|
+
@property
|
458
|
+
@pulumi.getter(name="securityAttributesState")
|
459
|
+
def security_attributes_state(self) -> str:
|
460
|
+
"""
|
461
|
+
The lifecycle state of the `securityAttributes`
|
462
|
+
"""
|
463
|
+
return pulumi.get(self, "security_attributes_state")
|
464
|
+
|
443
465
|
@property
|
444
466
|
@pulumi.getter
|
445
467
|
def shape(self) -> str:
|
@@ -547,6 +569,8 @@ class AwaitableGetInstanceResult(GetInstanceResult):
|
|
547
569
|
private_ip=self.private_ip,
|
548
570
|
public_ip=self.public_ip,
|
549
571
|
region=self.region,
|
572
|
+
security_attributes=self.security_attributes,
|
573
|
+
security_attributes_state=self.security_attributes_state,
|
550
574
|
shape=self.shape,
|
551
575
|
shape_configs=self.shape_configs,
|
552
576
|
source_details=self.source_details,
|
@@ -622,6 +646,8 @@ def get_instance(instance_id: Optional[str] = None,
|
|
622
646
|
private_ip=pulumi.get(__ret__, 'private_ip'),
|
623
647
|
public_ip=pulumi.get(__ret__, 'public_ip'),
|
624
648
|
region=pulumi.get(__ret__, 'region'),
|
649
|
+
security_attributes=pulumi.get(__ret__, 'security_attributes'),
|
650
|
+
security_attributes_state=pulumi.get(__ret__, 'security_attributes_state'),
|
625
651
|
shape=pulumi.get(__ret__, 'shape'),
|
626
652
|
shape_configs=pulumi.get(__ret__, 'shape_configs'),
|
627
653
|
source_details=pulumi.get(__ret__, 'source_details'),
|
@@ -694,6 +720,8 @@ def get_instance_output(instance_id: Optional[pulumi.Input[str]] = None,
|
|
694
720
|
private_ip=pulumi.get(__response__, 'private_ip'),
|
695
721
|
public_ip=pulumi.get(__response__, 'public_ip'),
|
696
722
|
region=pulumi.get(__response__, 'region'),
|
723
|
+
security_attributes=pulumi.get(__response__, 'security_attributes'),
|
724
|
+
security_attributes_state=pulumi.get(__response__, 'security_attributes_state'),
|
697
725
|
shape=pulumi.get(__response__, 'shape'),
|
698
726
|
shape_configs=pulumi.get(__response__, 'shape_configs'),
|
699
727
|
source_details=pulumi.get(__response__, 'source_details'),
|
pulumi_oci/core/get_vcn.py
CHANGED
@@ -27,7 +27,7 @@ class GetVcnResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getVcn.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, byoipv6cidr_blocks=None, byoipv6cidr_details=None, cidr_block=None, cidr_blocks=None, compartment_id=None, default_dhcp_options_id=None, default_route_table_id=None, default_security_list_id=None, defined_tags=None, display_name=None, dns_label=None, freeform_tags=None, id=None, ipv6cidr_blocks=None, ipv6private_cidr_blocks=None, is_ipv6enabled=None, is_oracle_gua_allocation_enabled=None, state=None, time_created=None, vcn_domain_name=None, vcn_id=None):
|
30
|
+
def __init__(__self__, byoipv6cidr_blocks=None, byoipv6cidr_details=None, cidr_block=None, cidr_blocks=None, compartment_id=None, default_dhcp_options_id=None, default_route_table_id=None, default_security_list_id=None, defined_tags=None, display_name=None, dns_label=None, freeform_tags=None, id=None, ipv6cidr_blocks=None, ipv6private_cidr_blocks=None, is_ipv6enabled=None, is_oracle_gua_allocation_enabled=None, security_attributes=None, state=None, time_created=None, vcn_domain_name=None, vcn_id=None):
|
31
31
|
if byoipv6cidr_blocks and not isinstance(byoipv6cidr_blocks, list):
|
32
32
|
raise TypeError("Expected argument 'byoipv6cidr_blocks' to be a list")
|
33
33
|
pulumi.set(__self__, "byoipv6cidr_blocks", byoipv6cidr_blocks)
|
@@ -79,6 +79,9 @@ class GetVcnResult:
|
|
79
79
|
if is_oracle_gua_allocation_enabled and not isinstance(is_oracle_gua_allocation_enabled, bool):
|
80
80
|
raise TypeError("Expected argument 'is_oracle_gua_allocation_enabled' to be a bool")
|
81
81
|
pulumi.set(__self__, "is_oracle_gua_allocation_enabled", is_oracle_gua_allocation_enabled)
|
82
|
+
if security_attributes and not isinstance(security_attributes, dict):
|
83
|
+
raise TypeError("Expected argument 'security_attributes' to be a dict")
|
84
|
+
pulumi.set(__self__, "security_attributes", security_attributes)
|
82
85
|
if state and not isinstance(state, str):
|
83
86
|
raise TypeError("Expected argument 'state' to be a str")
|
84
87
|
pulumi.set(__self__, "state", state)
|
@@ -219,6 +222,14 @@ class GetVcnResult:
|
|
219
222
|
def is_oracle_gua_allocation_enabled(self) -> bool:
|
220
223
|
return pulumi.get(self, "is_oracle_gua_allocation_enabled")
|
221
224
|
|
225
|
+
@property
|
226
|
+
@pulumi.getter(name="securityAttributes")
|
227
|
+
def security_attributes(self) -> Mapping[str, str]:
|
228
|
+
"""
|
229
|
+
Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: `{"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}`
|
230
|
+
"""
|
231
|
+
return pulumi.get(self, "security_attributes")
|
232
|
+
|
222
233
|
@property
|
223
234
|
@pulumi.getter
|
224
235
|
def state(self) -> str:
|
@@ -272,6 +283,7 @@ class AwaitableGetVcnResult(GetVcnResult):
|
|
272
283
|
ipv6private_cidr_blocks=self.ipv6private_cidr_blocks,
|
273
284
|
is_ipv6enabled=self.is_ipv6enabled,
|
274
285
|
is_oracle_gua_allocation_enabled=self.is_oracle_gua_allocation_enabled,
|
286
|
+
security_attributes=self.security_attributes,
|
275
287
|
state=self.state,
|
276
288
|
time_created=self.time_created,
|
277
289
|
vcn_domain_name=self.vcn_domain_name,
|
@@ -320,6 +332,7 @@ def get_vcn(vcn_id: Optional[str] = None,
|
|
320
332
|
ipv6private_cidr_blocks=pulumi.get(__ret__, 'ipv6private_cidr_blocks'),
|
321
333
|
is_ipv6enabled=pulumi.get(__ret__, 'is_ipv6enabled'),
|
322
334
|
is_oracle_gua_allocation_enabled=pulumi.get(__ret__, 'is_oracle_gua_allocation_enabled'),
|
335
|
+
security_attributes=pulumi.get(__ret__, 'security_attributes'),
|
323
336
|
state=pulumi.get(__ret__, 'state'),
|
324
337
|
time_created=pulumi.get(__ret__, 'time_created'),
|
325
338
|
vcn_domain_name=pulumi.get(__ret__, 'vcn_domain_name'),
|
@@ -365,6 +378,7 @@ def get_vcn_output(vcn_id: Optional[pulumi.Input[str]] = None,
|
|
365
378
|
ipv6private_cidr_blocks=pulumi.get(__response__, 'ipv6private_cidr_blocks'),
|
366
379
|
is_ipv6enabled=pulumi.get(__response__, 'is_ipv6enabled'),
|
367
380
|
is_oracle_gua_allocation_enabled=pulumi.get(__response__, 'is_oracle_gua_allocation_enabled'),
|
381
|
+
security_attributes=pulumi.get(__response__, 'security_attributes'),
|
368
382
|
state=pulumi.get(__response__, 'state'),
|
369
383
|
time_created=pulumi.get(__response__, 'time_created'),
|
370
384
|
vcn_domain_name=pulumi.get(__response__, 'vcn_domain_name'),
|
pulumi_oci/core/get_vnic.py
CHANGED
@@ -26,7 +26,7 @@ class GetVnicResult:
|
|
26
26
|
"""
|
27
27
|
A collection of values returned by getVnic.
|
28
28
|
"""
|
29
|
-
def __init__(__self__, availability_domain=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, hostname_label=None, id=None, ipv6addresses=None, is_primary=None, mac_address=None, nsg_ids=None, private_ip_address=None, public_ip_address=None, skip_source_dest_check=None, state=None, subnet_id=None, time_created=None, vlan_id=None, vnic_id=None):
|
29
|
+
def __init__(__self__, availability_domain=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, hostname_label=None, id=None, ipv6addresses=None, is_primary=None, mac_address=None, nsg_ids=None, private_ip_address=None, public_ip_address=None, security_attributes=None, skip_source_dest_check=None, state=None, subnet_id=None, time_created=None, vlan_id=None, vnic_id=None):
|
30
30
|
if availability_domain and not isinstance(availability_domain, str):
|
31
31
|
raise TypeError("Expected argument 'availability_domain' to be a str")
|
32
32
|
pulumi.set(__self__, "availability_domain", availability_domain)
|
@@ -66,6 +66,9 @@ class GetVnicResult:
|
|
66
66
|
if public_ip_address and not isinstance(public_ip_address, str):
|
67
67
|
raise TypeError("Expected argument 'public_ip_address' to be a str")
|
68
68
|
pulumi.set(__self__, "public_ip_address", public_ip_address)
|
69
|
+
if security_attributes and not isinstance(security_attributes, dict):
|
70
|
+
raise TypeError("Expected argument 'security_attributes' to be a dict")
|
71
|
+
pulumi.set(__self__, "security_attributes", security_attributes)
|
69
72
|
if skip_source_dest_check and not isinstance(skip_source_dest_check, bool):
|
70
73
|
raise TypeError("Expected argument 'skip_source_dest_check' to be a bool")
|
71
74
|
pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check)
|
@@ -189,6 +192,14 @@ class GetVnicResult:
|
|
189
192
|
"""
|
190
193
|
return pulumi.get(self, "public_ip_address")
|
191
194
|
|
195
|
+
@property
|
196
|
+
@pulumi.getter(name="securityAttributes")
|
197
|
+
def security_attributes(self) -> Mapping[str, str]:
|
198
|
+
"""
|
199
|
+
Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: `{"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}`
|
200
|
+
"""
|
201
|
+
return pulumi.get(self, "security_attributes")
|
202
|
+
|
192
203
|
@property
|
193
204
|
@pulumi.getter(name="skipSourceDestCheck")
|
194
205
|
def skip_source_dest_check(self) -> bool:
|
@@ -254,6 +265,7 @@ class AwaitableGetVnicResult(GetVnicResult):
|
|
254
265
|
nsg_ids=self.nsg_ids,
|
255
266
|
private_ip_address=self.private_ip_address,
|
256
267
|
public_ip_address=self.public_ip_address,
|
268
|
+
security_attributes=self.security_attributes,
|
257
269
|
skip_source_dest_check=self.skip_source_dest_check,
|
258
270
|
state=self.state,
|
259
271
|
subnet_id=self.subnet_id,
|
@@ -303,6 +315,7 @@ def get_vnic(vnic_id: Optional[str] = None,
|
|
303
315
|
nsg_ids=pulumi.get(__ret__, 'nsg_ids'),
|
304
316
|
private_ip_address=pulumi.get(__ret__, 'private_ip_address'),
|
305
317
|
public_ip_address=pulumi.get(__ret__, 'public_ip_address'),
|
318
|
+
security_attributes=pulumi.get(__ret__, 'security_attributes'),
|
306
319
|
skip_source_dest_check=pulumi.get(__ret__, 'skip_source_dest_check'),
|
307
320
|
state=pulumi.get(__ret__, 'state'),
|
308
321
|
subnet_id=pulumi.get(__ret__, 'subnet_id'),
|
@@ -349,6 +362,7 @@ def get_vnic_output(vnic_id: Optional[pulumi.Input[str]] = None,
|
|
349
362
|
nsg_ids=pulumi.get(__response__, 'nsg_ids'),
|
350
363
|
private_ip_address=pulumi.get(__response__, 'private_ip_address'),
|
351
364
|
public_ip_address=pulumi.get(__response__, 'public_ip_address'),
|
365
|
+
security_attributes=pulumi.get(__response__, 'security_attributes'),
|
352
366
|
skip_source_dest_check=pulumi.get(__response__, 'skip_source_dest_check'),
|
353
367
|
state=pulumi.get(__response__, 'state'),
|
354
368
|
subnet_id=pulumi.get(__response__, 'subnet_id'),
|
pulumi_oci/core/instance.py
CHANGED
@@ -49,6 +49,7 @@ class InstanceArgs:
|
|
49
49
|
preemptible_instance_config: Optional[pulumi.Input['InstancePreemptibleInstanceConfigArgs']] = None,
|
50
50
|
preserve_boot_volume: Optional[pulumi.Input[bool]] = None,
|
51
51
|
preserve_data_volumes_created_at_launch: Optional[pulumi.Input[bool]] = None,
|
52
|
+
security_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
52
53
|
shape: Optional[pulumi.Input[str]] = None,
|
53
54
|
shape_config: Optional[pulumi.Input['InstanceShapeConfigArgs']] = None,
|
54
55
|
source_details: Optional[pulumi.Input['InstanceSourceDetailsArgs']] = None,
|
@@ -144,6 +145,7 @@ class InstanceArgs:
|
|
144
145
|
For more information about BIOS settings for bare metal instances, see [BIOS Settings for Bare Metal Instances](https://docs.cloud.oracle.com/iaas/Content/Compute/References/bios-settings.htm).
|
145
146
|
:param pulumi.Input['InstancePreemptibleInstanceConfigArgs'] preemptible_instance_config: Configuration options for preemptible instances.
|
146
147
|
:param pulumi.Input[bool] preserve_boot_volume: (Optional) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
|
148
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
147
149
|
:param pulumi.Input[str] shape: (Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
|
148
150
|
|
149
151
|
You can enumerate all available shapes by calling [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Shape/ListShapes).
|
@@ -219,6 +221,8 @@ class InstanceArgs:
|
|
219
221
|
pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume)
|
220
222
|
if preserve_data_volumes_created_at_launch is not None:
|
221
223
|
pulumi.set(__self__, "preserve_data_volumes_created_at_launch", preserve_data_volumes_created_at_launch)
|
224
|
+
if security_attributes is not None:
|
225
|
+
pulumi.set(__self__, "security_attributes", security_attributes)
|
222
226
|
if shape is not None:
|
223
227
|
pulumi.set(__self__, "shape", shape)
|
224
228
|
if shape_config is not None:
|
@@ -626,6 +630,18 @@ class InstanceArgs:
|
|
626
630
|
def preserve_data_volumes_created_at_launch(self, value: Optional[pulumi.Input[bool]]):
|
627
631
|
pulumi.set(self, "preserve_data_volumes_created_at_launch", value)
|
628
632
|
|
633
|
+
@property
|
634
|
+
@pulumi.getter(name="securityAttributes")
|
635
|
+
def security_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
636
|
+
"""
|
637
|
+
(Updatable) Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
638
|
+
"""
|
639
|
+
return pulumi.get(self, "security_attributes")
|
640
|
+
|
641
|
+
@security_attributes.setter
|
642
|
+
def security_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
643
|
+
pulumi.set(self, "security_attributes", value)
|
644
|
+
|
629
645
|
@property
|
630
646
|
@pulumi.getter
|
631
647
|
def shape(self) -> Optional[pulumi.Input[str]]:
|
@@ -743,6 +759,8 @@ class _InstanceState:
|
|
743
759
|
private_ip: Optional[pulumi.Input[str]] = None,
|
744
760
|
public_ip: Optional[pulumi.Input[str]] = None,
|
745
761
|
region: Optional[pulumi.Input[str]] = None,
|
762
|
+
security_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
763
|
+
security_attributes_state: Optional[pulumi.Input[str]] = None,
|
746
764
|
shape: Optional[pulumi.Input[str]] = None,
|
747
765
|
shape_config: Optional[pulumi.Input['InstanceShapeConfigArgs']] = None,
|
748
766
|
source_details: Optional[pulumi.Input['InstanceSourceDetailsArgs']] = None,
|
@@ -851,6 +869,8 @@ class _InstanceState:
|
|
851
869
|
:param pulumi.Input[str] private_ip: The private IP address of instance VNIC. To set the private IP address, use the `private_ip` argument in create_vnic_details.
|
852
870
|
:param pulumi.Input[str] public_ip: The public IP address of instance VNIC (if enabled).
|
853
871
|
:param pulumi.Input[str] region: The region that contains the availability domain the instance is running in.
|
872
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
873
|
+
:param pulumi.Input[str] security_attributes_state: The lifecycle state of the `securityAttributes`
|
854
874
|
:param pulumi.Input[str] shape: (Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
|
855
875
|
|
856
876
|
You can enumerate all available shapes by calling [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Shape/ListShapes).
|
@@ -943,6 +963,10 @@ class _InstanceState:
|
|
943
963
|
pulumi.set(__self__, "public_ip", public_ip)
|
944
964
|
if region is not None:
|
945
965
|
pulumi.set(__self__, "region", region)
|
966
|
+
if security_attributes is not None:
|
967
|
+
pulumi.set(__self__, "security_attributes", security_attributes)
|
968
|
+
if security_attributes_state is not None:
|
969
|
+
pulumi.set(__self__, "security_attributes_state", security_attributes_state)
|
946
970
|
if shape is not None:
|
947
971
|
pulumi.set(__self__, "shape", shape)
|
948
972
|
if shape_config is not None:
|
@@ -1432,6 +1456,30 @@ class _InstanceState:
|
|
1432
1456
|
def region(self, value: Optional[pulumi.Input[str]]):
|
1433
1457
|
pulumi.set(self, "region", value)
|
1434
1458
|
|
1459
|
+
@property
|
1460
|
+
@pulumi.getter(name="securityAttributes")
|
1461
|
+
def security_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
1462
|
+
"""
|
1463
|
+
(Updatable) Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
1464
|
+
"""
|
1465
|
+
return pulumi.get(self, "security_attributes")
|
1466
|
+
|
1467
|
+
@security_attributes.setter
|
1468
|
+
def security_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
1469
|
+
pulumi.set(self, "security_attributes", value)
|
1470
|
+
|
1471
|
+
@property
|
1472
|
+
@pulumi.getter(name="securityAttributesState")
|
1473
|
+
def security_attributes_state(self) -> Optional[pulumi.Input[str]]:
|
1474
|
+
"""
|
1475
|
+
The lifecycle state of the `securityAttributes`
|
1476
|
+
"""
|
1477
|
+
return pulumi.get(self, "security_attributes_state")
|
1478
|
+
|
1479
|
+
@security_attributes_state.setter
|
1480
|
+
def security_attributes_state(self, value: Optional[pulumi.Input[str]]):
|
1481
|
+
pulumi.set(self, "security_attributes_state", value)
|
1482
|
+
|
1435
1483
|
@property
|
1436
1484
|
@pulumi.getter
|
1437
1485
|
def shape(self) -> Optional[pulumi.Input[str]]:
|
@@ -1581,6 +1629,7 @@ class Instance(pulumi.CustomResource):
|
|
1581
1629
|
preemptible_instance_config: Optional[pulumi.Input[Union['InstancePreemptibleInstanceConfigArgs', 'InstancePreemptibleInstanceConfigArgsDict']]] = None,
|
1582
1630
|
preserve_boot_volume: Optional[pulumi.Input[bool]] = None,
|
1583
1631
|
preserve_data_volumes_created_at_launch: Optional[pulumi.Input[bool]] = None,
|
1632
|
+
security_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1584
1633
|
shape: Optional[pulumi.Input[str]] = None,
|
1585
1634
|
shape_config: Optional[pulumi.Input[Union['InstanceShapeConfigArgs', 'InstanceShapeConfigArgsDict']]] = None,
|
1586
1635
|
source_details: Optional[pulumi.Input[Union['InstanceSourceDetailsArgs', 'InstanceSourceDetailsArgsDict']]] = None,
|
@@ -1631,6 +1680,12 @@ class Instance(pulumi.CustomResource):
|
|
1631
1680
|
with the signature. To get the image ID for the LaunchInstance operation, call
|
1632
1681
|
[GetAppCatalogListingResourceVersion](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersion/GetAppCatalogListingResourceVersion).
|
1633
1682
|
|
1683
|
+
When launching an instance, you may provide the `securityAttributes` parameter in
|
1684
|
+
[LaunchInstanceDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/LaunchInstanceDetails) to manage security attributes via the instance,
|
1685
|
+
or in the embedded [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) to manage security attributes
|
1686
|
+
via the VNIC directly, but not both. Providing `securityAttributes` in both locations will return a
|
1687
|
+
400 Bad Request response.
|
1688
|
+
|
1634
1689
|
To determine whether capacity is available for a specific shape before you create an instance,
|
1635
1690
|
use the [CreateComputeCapacityReport](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/ComputeCapacityReport/CreateComputeCapacityReport)
|
1636
1691
|
operation.
|
@@ -1732,6 +1787,7 @@ class Instance(pulumi.CustomResource):
|
|
1732
1787
|
For more information about BIOS settings for bare metal instances, see [BIOS Settings for Bare Metal Instances](https://docs.cloud.oracle.com/iaas/Content/Compute/References/bios-settings.htm).
|
1733
1788
|
:param pulumi.Input[Union['InstancePreemptibleInstanceConfigArgs', 'InstancePreemptibleInstanceConfigArgsDict']] preemptible_instance_config: Configuration options for preemptible instances.
|
1734
1789
|
:param pulumi.Input[bool] preserve_boot_volume: (Optional) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
|
1790
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
1735
1791
|
:param pulumi.Input[str] shape: (Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
|
1736
1792
|
|
1737
1793
|
You can enumerate all available shapes by calling [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Shape/ListShapes).
|
@@ -1796,6 +1852,12 @@ class Instance(pulumi.CustomResource):
|
|
1796
1852
|
with the signature. To get the image ID for the LaunchInstance operation, call
|
1797
1853
|
[GetAppCatalogListingResourceVersion](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersion/GetAppCatalogListingResourceVersion).
|
1798
1854
|
|
1855
|
+
When launching an instance, you may provide the `securityAttributes` parameter in
|
1856
|
+
[LaunchInstanceDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/LaunchInstanceDetails) to manage security attributes via the instance,
|
1857
|
+
or in the embedded [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) to manage security attributes
|
1858
|
+
via the VNIC directly, but not both. Providing `securityAttributes` in both locations will return a
|
1859
|
+
400 Bad Request response.
|
1860
|
+
|
1799
1861
|
To determine whether capacity is available for a specific shape before you create an instance,
|
1800
1862
|
use the [CreateComputeCapacityReport](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/ComputeCapacityReport/CreateComputeCapacityReport)
|
1801
1863
|
operation.
|
@@ -1851,6 +1913,7 @@ class Instance(pulumi.CustomResource):
|
|
1851
1913
|
preemptible_instance_config: Optional[pulumi.Input[Union['InstancePreemptibleInstanceConfigArgs', 'InstancePreemptibleInstanceConfigArgsDict']]] = None,
|
1852
1914
|
preserve_boot_volume: Optional[pulumi.Input[bool]] = None,
|
1853
1915
|
preserve_data_volumes_created_at_launch: Optional[pulumi.Input[bool]] = None,
|
1916
|
+
security_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1854
1917
|
shape: Optional[pulumi.Input[str]] = None,
|
1855
1918
|
shape_config: Optional[pulumi.Input[Union['InstanceShapeConfigArgs', 'InstanceShapeConfigArgsDict']]] = None,
|
1856
1919
|
source_details: Optional[pulumi.Input[Union['InstanceSourceDetailsArgs', 'InstanceSourceDetailsArgsDict']]] = None,
|
@@ -1898,6 +1961,7 @@ class Instance(pulumi.CustomResource):
|
|
1898
1961
|
__props__.__dict__["preemptible_instance_config"] = preemptible_instance_config
|
1899
1962
|
__props__.__dict__["preserve_boot_volume"] = preserve_boot_volume
|
1900
1963
|
__props__.__dict__["preserve_data_volumes_created_at_launch"] = preserve_data_volumes_created_at_launch
|
1964
|
+
__props__.__dict__["security_attributes"] = security_attributes
|
1901
1965
|
__props__.__dict__["shape"] = shape
|
1902
1966
|
__props__.__dict__["shape_config"] = shape_config
|
1903
1967
|
__props__.__dict__["source_details"] = source_details
|
@@ -1910,6 +1974,7 @@ class Instance(pulumi.CustomResource):
|
|
1910
1974
|
__props__.__dict__["private_ip"] = None
|
1911
1975
|
__props__.__dict__["public_ip"] = None
|
1912
1976
|
__props__.__dict__["region"] = None
|
1977
|
+
__props__.__dict__["security_attributes_state"] = None
|
1913
1978
|
__props__.__dict__["system_tags"] = None
|
1914
1979
|
__props__.__dict__["time_created"] = None
|
1915
1980
|
__props__.__dict__["time_maintenance_reboot_due"] = None
|
@@ -1957,6 +2022,8 @@ class Instance(pulumi.CustomResource):
|
|
1957
2022
|
private_ip: Optional[pulumi.Input[str]] = None,
|
1958
2023
|
public_ip: Optional[pulumi.Input[str]] = None,
|
1959
2024
|
region: Optional[pulumi.Input[str]] = None,
|
2025
|
+
security_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
2026
|
+
security_attributes_state: Optional[pulumi.Input[str]] = None,
|
1960
2027
|
shape: Optional[pulumi.Input[str]] = None,
|
1961
2028
|
shape_config: Optional[pulumi.Input[Union['InstanceShapeConfigArgs', 'InstanceShapeConfigArgsDict']]] = None,
|
1962
2029
|
source_details: Optional[pulumi.Input[Union['InstanceSourceDetailsArgs', 'InstanceSourceDetailsArgsDict']]] = None,
|
@@ -2070,6 +2137,8 @@ class Instance(pulumi.CustomResource):
|
|
2070
2137
|
:param pulumi.Input[str] private_ip: The private IP address of instance VNIC. To set the private IP address, use the `private_ip` argument in create_vnic_details.
|
2071
2138
|
:param pulumi.Input[str] public_ip: The public IP address of instance VNIC (if enabled).
|
2072
2139
|
:param pulumi.Input[str] region: The region that contains the availability domain the instance is running in.
|
2140
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
2141
|
+
:param pulumi.Input[str] security_attributes_state: The lifecycle state of the `securityAttributes`
|
2073
2142
|
:param pulumi.Input[str] shape: (Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
|
2074
2143
|
|
2075
2144
|
You can enumerate all available shapes by calling [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Shape/ListShapes).
|
@@ -2126,6 +2195,8 @@ class Instance(pulumi.CustomResource):
|
|
2126
2195
|
__props__.__dict__["private_ip"] = private_ip
|
2127
2196
|
__props__.__dict__["public_ip"] = public_ip
|
2128
2197
|
__props__.__dict__["region"] = region
|
2198
|
+
__props__.__dict__["security_attributes"] = security_attributes
|
2199
|
+
__props__.__dict__["security_attributes_state"] = security_attributes_state
|
2129
2200
|
__props__.__dict__["shape"] = shape
|
2130
2201
|
__props__.__dict__["shape_config"] = shape_config
|
2131
2202
|
__props__.__dict__["source_details"] = source_details
|
@@ -2468,6 +2539,22 @@ class Instance(pulumi.CustomResource):
|
|
2468
2539
|
"""
|
2469
2540
|
return pulumi.get(self, "region")
|
2470
2541
|
|
2542
|
+
@property
|
2543
|
+
@pulumi.getter(name="securityAttributes")
|
2544
|
+
def security_attributes(self) -> pulumi.Output[Mapping[str, str]]:
|
2545
|
+
"""
|
2546
|
+
(Updatable) Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
2547
|
+
"""
|
2548
|
+
return pulumi.get(self, "security_attributes")
|
2549
|
+
|
2550
|
+
@property
|
2551
|
+
@pulumi.getter(name="securityAttributesState")
|
2552
|
+
def security_attributes_state(self) -> pulumi.Output[str]:
|
2553
|
+
"""
|
2554
|
+
The lifecycle state of the `securityAttributes`
|
2555
|
+
"""
|
2556
|
+
return pulumi.get(self, "security_attributes_state")
|
2557
|
+
|
2471
2558
|
@property
|
2472
2559
|
@pulumi.getter
|
2473
2560
|
def shape(self) -> pulumi.Output[str]:
|
@@ -450,6 +450,7 @@ class InstanceConfiguration(pulumi.CustomResource):
|
|
450
450
|
}],
|
451
451
|
"nsg_ids": instance_configuration_instance_details_launch_details_create_vnic_details_nsg_ids,
|
452
452
|
"private_ip": instance_configuration_instance_details_launch_details_create_vnic_details_private_ip,
|
453
|
+
"security_attributes": instance_configuration_instance_details_launch_details_create_vnic_details_security_attributes,
|
453
454
|
"skip_source_dest_check": instance_configuration_instance_details_launch_details_create_vnic_details_skip_source_dest_check,
|
454
455
|
"subnet_id": test_subnet["id"],
|
455
456
|
},
|
@@ -499,6 +500,7 @@ class InstanceConfiguration(pulumi.CustomResource):
|
|
499
500
|
},
|
500
501
|
},
|
501
502
|
"preferred_maintenance_action": instance_configuration_instance_details_launch_details_preferred_maintenance_action,
|
503
|
+
"security_attributes": instance_configuration_instance_details_launch_details_security_attributes,
|
502
504
|
"shape": instance_configuration_instance_details_launch_details_shape,
|
503
505
|
"shape_config": {
|
504
506
|
"baseline_ocpu_utilization": instance_configuration_instance_details_launch_details_shape_config_baseline_ocpu_utilization,
|
@@ -594,6 +596,7 @@ class InstanceConfiguration(pulumi.CustomResource):
|
|
594
596
|
}],
|
595
597
|
"nsg_ids": instance_configuration_instance_details_options_launch_details_create_vnic_details_nsg_ids,
|
596
598
|
"private_ip": instance_configuration_instance_details_options_launch_details_create_vnic_details_private_ip,
|
599
|
+
"security_attributes": instance_configuration_instance_details_options_launch_details_create_vnic_details_security_attributes,
|
597
600
|
"skip_source_dest_check": instance_configuration_instance_details_options_launch_details_create_vnic_details_skip_source_dest_check,
|
598
601
|
"subnet_id": test_subnet["id"],
|
599
602
|
},
|
@@ -642,6 +645,7 @@ class InstanceConfiguration(pulumi.CustomResource):
|
|
642
645
|
},
|
643
646
|
},
|
644
647
|
"preferred_maintenance_action": instance_configuration_instance_details_options_launch_details_preferred_maintenance_action,
|
648
|
+
"security_attributes": instance_configuration_instance_details_options_launch_details_security_attributes,
|
645
649
|
"shape": instance_configuration_instance_details_options_launch_details_shape,
|
646
650
|
"shape_config": {
|
647
651
|
"baseline_ocpu_utilization": instance_configuration_instance_details_options_launch_details_shape_config_baseline_ocpu_utilization,
|
@@ -683,6 +687,7 @@ class InstanceConfiguration(pulumi.CustomResource):
|
|
683
687
|
}],
|
684
688
|
"nsg_ids": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_nsg_ids,
|
685
689
|
"private_ip": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_private_ip,
|
690
|
+
"security_attributes": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_security_attributes,
|
686
691
|
"skip_source_dest_check": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_skip_source_dest_check,
|
687
692
|
"subnet_id": test_subnet["id"],
|
688
693
|
},
|
@@ -704,6 +709,7 @@ class InstanceConfiguration(pulumi.CustomResource):
|
|
704
709
|
"hostname_label": instance_configuration_instance_details_secondary_vnics_create_vnic_details_hostname_label,
|
705
710
|
"nsg_ids": instance_configuration_instance_details_secondary_vnics_create_vnic_details_nsg_ids,
|
706
711
|
"private_ip": instance_configuration_instance_details_secondary_vnics_create_vnic_details_private_ip,
|
712
|
+
"security_attributes": instance_configuration_instance_details_secondary_vnics_create_vnic_details_security_attributes,
|
707
713
|
"skip_source_dest_check": instance_configuration_instance_details_secondary_vnics_create_vnic_details_skip_source_dest_check,
|
708
714
|
"subnet_id": test_subnet["id"],
|
709
715
|
},
|
@@ -852,6 +858,7 @@ class InstanceConfiguration(pulumi.CustomResource):
|
|
852
858
|
}],
|
853
859
|
"nsg_ids": instance_configuration_instance_details_launch_details_create_vnic_details_nsg_ids,
|
854
860
|
"private_ip": instance_configuration_instance_details_launch_details_create_vnic_details_private_ip,
|
861
|
+
"security_attributes": instance_configuration_instance_details_launch_details_create_vnic_details_security_attributes,
|
855
862
|
"skip_source_dest_check": instance_configuration_instance_details_launch_details_create_vnic_details_skip_source_dest_check,
|
856
863
|
"subnet_id": test_subnet["id"],
|
857
864
|
},
|
@@ -901,6 +908,7 @@ class InstanceConfiguration(pulumi.CustomResource):
|
|
901
908
|
},
|
902
909
|
},
|
903
910
|
"preferred_maintenance_action": instance_configuration_instance_details_launch_details_preferred_maintenance_action,
|
911
|
+
"security_attributes": instance_configuration_instance_details_launch_details_security_attributes,
|
904
912
|
"shape": instance_configuration_instance_details_launch_details_shape,
|
905
913
|
"shape_config": {
|
906
914
|
"baseline_ocpu_utilization": instance_configuration_instance_details_launch_details_shape_config_baseline_ocpu_utilization,
|
@@ -996,6 +1004,7 @@ class InstanceConfiguration(pulumi.CustomResource):
|
|
996
1004
|
}],
|
997
1005
|
"nsg_ids": instance_configuration_instance_details_options_launch_details_create_vnic_details_nsg_ids,
|
998
1006
|
"private_ip": instance_configuration_instance_details_options_launch_details_create_vnic_details_private_ip,
|
1007
|
+
"security_attributes": instance_configuration_instance_details_options_launch_details_create_vnic_details_security_attributes,
|
999
1008
|
"skip_source_dest_check": instance_configuration_instance_details_options_launch_details_create_vnic_details_skip_source_dest_check,
|
1000
1009
|
"subnet_id": test_subnet["id"],
|
1001
1010
|
},
|
@@ -1044,6 +1053,7 @@ class InstanceConfiguration(pulumi.CustomResource):
|
|
1044
1053
|
},
|
1045
1054
|
},
|
1046
1055
|
"preferred_maintenance_action": instance_configuration_instance_details_options_launch_details_preferred_maintenance_action,
|
1056
|
+
"security_attributes": instance_configuration_instance_details_options_launch_details_security_attributes,
|
1047
1057
|
"shape": instance_configuration_instance_details_options_launch_details_shape,
|
1048
1058
|
"shape_config": {
|
1049
1059
|
"baseline_ocpu_utilization": instance_configuration_instance_details_options_launch_details_shape_config_baseline_ocpu_utilization,
|
@@ -1085,6 +1095,7 @@ class InstanceConfiguration(pulumi.CustomResource):
|
|
1085
1095
|
}],
|
1086
1096
|
"nsg_ids": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_nsg_ids,
|
1087
1097
|
"private_ip": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_private_ip,
|
1098
|
+
"security_attributes": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_security_attributes,
|
1088
1099
|
"skip_source_dest_check": instance_configuration_instance_details_options_secondary_vnics_create_vnic_details_skip_source_dest_check,
|
1089
1100
|
"subnet_id": test_subnet["id"],
|
1090
1101
|
},
|
@@ -1106,6 +1117,7 @@ class InstanceConfiguration(pulumi.CustomResource):
|
|
1106
1117
|
"hostname_label": instance_configuration_instance_details_secondary_vnics_create_vnic_details_hostname_label,
|
1107
1118
|
"nsg_ids": instance_configuration_instance_details_secondary_vnics_create_vnic_details_nsg_ids,
|
1108
1119
|
"private_ip": instance_configuration_instance_details_secondary_vnics_create_vnic_details_private_ip,
|
1120
|
+
"security_attributes": instance_configuration_instance_details_secondary_vnics_create_vnic_details_security_attributes,
|
1109
1121
|
"skip_source_dest_check": instance_configuration_instance_details_secondary_vnics_create_vnic_details_skip_source_dest_check,
|
1110
1122
|
"subnet_id": test_subnet["id"],
|
1111
1123
|
},
|