pulumi-oci 1.30.0a1712219839__py3-none-any.whl → 1.31.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/apmsynthetics/config.py +7 -7
- pulumi_oci/apmsynthetics/get_monitor.py +1 -1
- pulumi_oci/apmsynthetics/outputs.py +2 -2
- pulumi_oci/containerengine/_inputs.py +6 -10
- pulumi_oci/containerengine/outputs.py +14 -26
- pulumi_oci/core/_inputs.py +6 -6
- pulumi_oci/core/instance.py +140 -0
- pulumi_oci/core/outputs.py +14 -14
- pulumi_oci/database/database_upgrade.py +12 -10
- pulumi_oci/databasemanagement/get_managed_database_cursor_cache_statements.py +2 -2
- pulumi_oci/databasemanagement/get_managed_database_sql_plan_baselines.py +2 -2
- pulumi_oci/databasemanagement/outputs.py +6 -6
- pulumi_oci/dataflow/get_invoke_run.py +11 -1
- pulumi_oci/dataflow/invoke_run.py +49 -0
- pulumi_oci/dataflow/outputs.py +7 -0
- pulumi_oci/datasafe/_inputs.py +4 -4
- pulumi_oci/datasafe/outputs.py +12 -12
- pulumi_oci/devops/_inputs.py +380 -10
- pulumi_oci/devops/outputs.py +953 -32
- pulumi_oci/disasterrecovery/dr_protection_group.py +0 -24
- pulumi_oci/filestorage/replication.py +4 -4
- pulumi_oci/goldengate/connection.py +7 -7
- pulumi_oci/identity/domains_app_role.py +4 -4
- pulumi_oci/identity/domains_group.py +7 -7
- pulumi_oci/identity/get_domains_app_role.py +1 -1
- pulumi_oci/identity/get_domains_group.py +1 -1
- pulumi_oci/identity/outputs.py +8 -8
- pulumi_oci/networkfirewall/outputs.py +12 -16
- pulumi_oci/networkloadbalancer/_inputs.py +222 -10
- pulumi_oci/networkloadbalancer/backend_set.py +70 -7
- pulumi_oci/networkloadbalancer/get_backend_set.py +15 -2
- pulumi_oci/networkloadbalancer/network_load_balancer.py +7 -62
- pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +70 -7
- pulumi_oci/networkloadbalancer/outputs.py +397 -28
- pulumi_oci/opensearch/cluster.py +0 -10
- pulumi_oci/opensearch/get_opensearch_cluster.py +0 -10
- pulumi_oci/opensearch/get_opensearch_clusters.py +0 -10
- pulumi_oci/opensearch/get_opensearch_version.py +0 -10
- pulumi_oci/opensearch/get_opensearch_versions.py +0 -10
- pulumi_oci/queue/get_queue.py +1 -1
- pulumi_oci/queue/outputs.py +2 -2
- pulumi_oci/queue/queue.py +7 -7
- pulumi_oci/stackmonitoring/_inputs.py +209 -1
- pulumi_oci/stackmonitoring/get_monitored_resource.py +27 -1
- pulumi_oci/stackmonitoring/get_monitored_resource_type.py +27 -1
- pulumi_oci/stackmonitoring/get_monitored_resources.py +18 -1
- pulumi_oci/stackmonitoring/monitored_resource.py +56 -0
- pulumi_oci/stackmonitoring/monitored_resource_task.py +18 -0
- pulumi_oci/stackmonitoring/monitored_resource_type.py +117 -19
- pulumi_oci/stackmonitoring/monitored_resources_search.py +197 -1
- pulumi_oci/stackmonitoring/outputs.py +436 -1
- {pulumi_oci-1.30.0a1712219839.dist-info → pulumi_oci-1.31.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.30.0a1712219839.dist-info → pulumi_oci-1.31.0.dist-info}/RECORD +55 -55
- {pulumi_oci-1.30.0a1712219839.dist-info → pulumi_oci-1.31.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.30.0a1712219839.dist-info → pulumi_oci-1.31.0.dist-info}/top_level.txt +0 -0
@@ -61,7 +61,7 @@ class ConfigArgs:
|
|
61
61
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigScriptParameterArgs']]] script_parameters: (Updatable) List of script parameters in the monitor. This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. Example: `[{"paramName": "userid", "paramValue":"testuser"}]`
|
62
62
|
:param pulumi.Input[str] status: (Updatable) Enables or disables the monitor.
|
63
63
|
:param pulumi.Input[str] target: (Updatable) Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80
|
64
|
-
:param pulumi.Input[int] timeout_in_seconds: (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30
|
64
|
+
:param pulumi.Input[int] timeout_in_seconds: (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
|
65
65
|
"""
|
66
66
|
pulumi.set(__self__, "apm_domain_id", apm_domain_id)
|
67
67
|
pulumi.set(__self__, "display_name", display_name)
|
@@ -335,7 +335,7 @@ class ConfigArgs:
|
|
335
335
|
@pulumi.getter(name="timeoutInSeconds")
|
336
336
|
def timeout_in_seconds(self) -> Optional[pulumi.Input[int]]:
|
337
337
|
"""
|
338
|
-
(Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30
|
338
|
+
(Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
|
339
339
|
"""
|
340
340
|
return pulumi.get(self, "timeout_in_seconds")
|
341
341
|
|
@@ -392,7 +392,7 @@ class _ConfigState:
|
|
392
392
|
:param pulumi.Input[str] target: (Updatable) Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80
|
393
393
|
:param pulumi.Input[str] time_created: The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z`
|
394
394
|
:param pulumi.Input[str] time_updated: The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z`
|
395
|
-
:param pulumi.Input[int] timeout_in_seconds: (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30
|
395
|
+
:param pulumi.Input[int] timeout_in_seconds: (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
|
396
396
|
:param pulumi.Input[int] vantage_point_count: Number of vantage points where monitor is running.
|
397
397
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigVantagePointArgs']]] vantage_points: (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
|
398
398
|
|
@@ -691,7 +691,7 @@ class _ConfigState:
|
|
691
691
|
@pulumi.getter(name="timeoutInSeconds")
|
692
692
|
def timeout_in_seconds(self) -> Optional[pulumi.Input[int]]:
|
693
693
|
"""
|
694
|
-
(Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30
|
694
|
+
(Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
|
695
695
|
"""
|
696
696
|
return pulumi.get(self, "timeout_in_seconds")
|
697
697
|
|
@@ -893,7 +893,7 @@ class Config(pulumi.CustomResource):
|
|
893
893
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigScriptParameterArgs']]]] script_parameters: (Updatable) List of script parameters in the monitor. This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. Example: `[{"paramName": "userid", "paramValue":"testuser"}]`
|
894
894
|
:param pulumi.Input[str] status: (Updatable) Enables or disables the monitor.
|
895
895
|
:param pulumi.Input[str] target: (Updatable) Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80
|
896
|
-
:param pulumi.Input[int] timeout_in_seconds: (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30
|
896
|
+
:param pulumi.Input[int] timeout_in_seconds: (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
|
897
897
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigVantagePointArgs']]]] vantage_points: (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
|
898
898
|
|
899
899
|
|
@@ -1162,7 +1162,7 @@ class Config(pulumi.CustomResource):
|
|
1162
1162
|
:param pulumi.Input[str] target: (Updatable) Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80
|
1163
1163
|
:param pulumi.Input[str] time_created: The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z`
|
1164
1164
|
:param pulumi.Input[str] time_updated: The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z`
|
1165
|
-
:param pulumi.Input[int] timeout_in_seconds: (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30
|
1165
|
+
:param pulumi.Input[int] timeout_in_seconds: (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
|
1166
1166
|
:param pulumi.Input[int] vantage_point_count: Number of vantage points where monitor is running.
|
1167
1167
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigVantagePointArgs']]]] vantage_points: (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
|
1168
1168
|
|
@@ -1363,7 +1363,7 @@ class Config(pulumi.CustomResource):
|
|
1363
1363
|
@pulumi.getter(name="timeoutInSeconds")
|
1364
1364
|
def timeout_in_seconds(self) -> pulumi.Output[int]:
|
1365
1365
|
"""
|
1366
|
-
(Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30
|
1366
|
+
(Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
|
1367
1367
|
"""
|
1368
1368
|
return pulumi.get(self, "timeout_in_seconds")
|
1369
1369
|
|
@@ -273,7 +273,7 @@ class GetMonitorResult:
|
|
273
273
|
@pulumi.getter(name="timeoutInSeconds")
|
274
274
|
def timeout_in_seconds(self) -> int:
|
275
275
|
"""
|
276
|
-
Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30
|
276
|
+
Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
|
277
277
|
"""
|
278
278
|
return pulumi.get(self, "timeout_in_seconds")
|
279
279
|
|
@@ -3296,7 +3296,7 @@ class GetMonitorsMonitorCollectionItemResult(dict):
|
|
3296
3296
|
:param str target: Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80
|
3297
3297
|
:param str time_created: The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z`
|
3298
3298
|
:param str time_updated: The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z`
|
3299
|
-
:param int timeout_in_seconds: Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30
|
3299
|
+
:param int timeout_in_seconds: Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
|
3300
3300
|
:param int vantage_point_count: Number of vantage points where monitor is running.
|
3301
3301
|
:param Sequence['GetMonitorsMonitorCollectionItemVantagePointArgs'] vantage_points: List of public and dedicated vantage points where the monitor is running.
|
3302
3302
|
"""
|
@@ -3497,7 +3497,7 @@ class GetMonitorsMonitorCollectionItemResult(dict):
|
|
3497
3497
|
@pulumi.getter(name="timeoutInSeconds")
|
3498
3498
|
def timeout_in_seconds(self) -> int:
|
3499
3499
|
"""
|
3500
|
-
Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30
|
3500
|
+
Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
|
3501
3501
|
"""
|
3502
3502
|
return pulumi.get(self, "timeout_in_seconds")
|
3503
3503
|
|
@@ -1521,7 +1521,7 @@ class ContainerInstanceContainerResourceConfigArgs:
|
|
1521
1521
|
|
1522
1522
|
CPU usage is defined in terms of logical CPUs. This means that the maximum possible value on an E3 ContainerInstance with 1 OCPU is 2.0.
|
1523
1523
|
|
1524
|
-
A container with a 2.0 vcpusLimit could consume up to 100
|
1524
|
+
A container with a 2.0 vcpusLimit could consume up to 100% of the CPU resources available on the container instance. Values can be fractional. A value of "1.5" means that the container can consume at most the equivalent of 1 and a half logical CPUs worth of CPU capacity.
|
1525
1525
|
"""
|
1526
1526
|
if memory_limit_in_gbs is not None:
|
1527
1527
|
pulumi.set(__self__, "memory_limit_in_gbs", memory_limit_in_gbs)
|
@@ -1552,7 +1552,7 @@ class ContainerInstanceContainerResourceConfigArgs:
|
|
1552
1552
|
|
1553
1553
|
CPU usage is defined in terms of logical CPUs. This means that the maximum possible value on an E3 ContainerInstance with 1 OCPU is 2.0.
|
1554
1554
|
|
1555
|
-
A container with a 2.0 vcpusLimit could consume up to 100
|
1555
|
+
A container with a 2.0 vcpusLimit could consume up to 100% of the CPU resources available on the container instance. Values can be fractional. A value of "1.5" means that the container can consume at most the equivalent of 1 and a half logical CPUs worth of CPU capacity.
|
1556
1556
|
"""
|
1557
1557
|
return pulumi.get(self, "vcpus_limit")
|
1558
1558
|
|
@@ -3012,10 +3012,8 @@ class NodePoolNodePoolCyclingDetailsArgs:
|
|
3012
3012
|
maximum_unavailable: Optional[pulumi.Input[str]] = None):
|
3013
3013
|
"""
|
3014
3014
|
:param pulumi.Input[bool] is_node_cycling_enabled: (Updatable) If nodes in the nodepool will be cycled to have new changes.
|
3015
|
-
:param pulumi.Input[str] maximum_surge: (Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0
|
3016
|
-
|
3017
|
-
:param pulumi.Input[str] maximum_unavailable: (Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%!
|
3018
|
-
(MISSING)
|
3015
|
+
:param pulumi.Input[str] maximum_surge: (Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
|
3016
|
+
:param pulumi.Input[str] maximum_unavailable: (Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
|
3019
3017
|
"""
|
3020
3018
|
if is_node_cycling_enabled is not None:
|
3021
3019
|
pulumi.set(__self__, "is_node_cycling_enabled", is_node_cycling_enabled)
|
@@ -3040,8 +3038,7 @@ class NodePoolNodePoolCyclingDetailsArgs:
|
|
3040
3038
|
@pulumi.getter(name="maximumSurge")
|
3041
3039
|
def maximum_surge(self) -> Optional[pulumi.Input[str]]:
|
3042
3040
|
"""
|
3043
|
-
(Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0
|
3044
|
-
(MISSING)
|
3041
|
+
(Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
|
3045
3042
|
"""
|
3046
3043
|
return pulumi.get(self, "maximum_surge")
|
3047
3044
|
|
@@ -3053,8 +3050,7 @@ class NodePoolNodePoolCyclingDetailsArgs:
|
|
3053
3050
|
@pulumi.getter(name="maximumUnavailable")
|
3054
3051
|
def maximum_unavailable(self) -> Optional[pulumi.Input[str]]:
|
3055
3052
|
"""
|
3056
|
-
(Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0
|
3057
|
-
(MISSING)
|
3053
|
+
(Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
|
3058
3054
|
"""
|
3059
3055
|
return pulumi.get(self, "maximum_unavailable")
|
3060
3056
|
|
@@ -1624,7 +1624,7 @@ class ContainerInstanceContainerResourceConfig(dict):
|
|
1624
1624
|
|
1625
1625
|
CPU usage is defined in terms of logical CPUs. This means that the maximum possible value on an E3 ContainerInstance with 1 OCPU is 2.0.
|
1626
1626
|
|
1627
|
-
A container with a 2.0 vcpusLimit could consume up to 100
|
1627
|
+
A container with a 2.0 vcpusLimit could consume up to 100% of the CPU resources available on the container instance. Values can be fractional. A value of "1.5" means that the container can consume at most the equivalent of 1 and a half logical CPUs worth of CPU capacity.
|
1628
1628
|
"""
|
1629
1629
|
if memory_limit_in_gbs is not None:
|
1630
1630
|
pulumi.set(__self__, "memory_limit_in_gbs", memory_limit_in_gbs)
|
@@ -1651,7 +1651,7 @@ class ContainerInstanceContainerResourceConfig(dict):
|
|
1651
1651
|
|
1652
1652
|
CPU usage is defined in terms of logical CPUs. This means that the maximum possible value on an E3 ContainerInstance with 1 OCPU is 2.0.
|
1653
1653
|
|
1654
|
-
A container with a 2.0 vcpusLimit could consume up to 100
|
1654
|
+
A container with a 2.0 vcpusLimit could consume up to 100% of the CPU resources available on the container instance. Values can be fractional. A value of "1.5" means that the container can consume at most the equivalent of 1 and a half logical CPUs worth of CPU capacity.
|
1655
1655
|
"""
|
1656
1656
|
return pulumi.get(self, "vcpus_limit")
|
1657
1657
|
|
@@ -3141,10 +3141,8 @@ class NodePoolNodePoolCyclingDetails(dict):
|
|
3141
3141
|
maximum_unavailable: Optional[str] = None):
|
3142
3142
|
"""
|
3143
3143
|
:param bool is_node_cycling_enabled: (Updatable) If nodes in the nodepool will be cycled to have new changes.
|
3144
|
-
:param str maximum_surge: (Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0
|
3145
|
-
|
3146
|
-
:param str maximum_unavailable: (Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%!
|
3147
|
-
(MISSING)
|
3144
|
+
:param str maximum_surge: (Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
|
3145
|
+
:param str maximum_unavailable: (Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
|
3148
3146
|
"""
|
3149
3147
|
if is_node_cycling_enabled is not None:
|
3150
3148
|
pulumi.set(__self__, "is_node_cycling_enabled", is_node_cycling_enabled)
|
@@ -3165,8 +3163,7 @@ class NodePoolNodePoolCyclingDetails(dict):
|
|
3165
3163
|
@pulumi.getter(name="maximumSurge")
|
3166
3164
|
def maximum_surge(self) -> Optional[str]:
|
3167
3165
|
"""
|
3168
|
-
(Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0
|
3169
|
-
(MISSING)
|
3166
|
+
(Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
|
3170
3167
|
"""
|
3171
3168
|
return pulumi.get(self, "maximum_surge")
|
3172
3169
|
|
@@ -3174,8 +3171,7 @@ class NodePoolNodePoolCyclingDetails(dict):
|
|
3174
3171
|
@pulumi.getter(name="maximumUnavailable")
|
3175
3172
|
def maximum_unavailable(self) -> Optional[str]:
|
3176
3173
|
"""
|
3177
|
-
(Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0
|
3178
|
-
(MISSING)
|
3174
|
+
(Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
|
3179
3175
|
"""
|
3180
3176
|
return pulumi.get(self, "maximum_unavailable")
|
3181
3177
|
|
@@ -5590,10 +5586,8 @@ class GetNodePoolNodePoolCyclingDetailResult(dict):
|
|
5590
5586
|
maximum_unavailable: str):
|
5591
5587
|
"""
|
5592
5588
|
:param bool is_node_cycling_enabled: If nodes in the nodepool will be cycled to have new changes.
|
5593
|
-
:param str maximum_surge: Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0
|
5594
|
-
|
5595
|
-
:param str maximum_unavailable: Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%!
|
5596
|
-
(MISSING)
|
5589
|
+
:param str maximum_surge: Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
|
5590
|
+
:param str maximum_unavailable: Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
|
5597
5591
|
"""
|
5598
5592
|
pulumi.set(__self__, "is_node_cycling_enabled", is_node_cycling_enabled)
|
5599
5593
|
pulumi.set(__self__, "maximum_surge", maximum_surge)
|
@@ -5611,8 +5605,7 @@ class GetNodePoolNodePoolCyclingDetailResult(dict):
|
|
5611
5605
|
@pulumi.getter(name="maximumSurge")
|
5612
5606
|
def maximum_surge(self) -> str:
|
5613
5607
|
"""
|
5614
|
-
Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0
|
5615
|
-
(MISSING)
|
5608
|
+
Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
|
5616
5609
|
"""
|
5617
5610
|
return pulumi.get(self, "maximum_surge")
|
5618
5611
|
|
@@ -5620,8 +5613,7 @@ class GetNodePoolNodePoolCyclingDetailResult(dict):
|
|
5620
5613
|
@pulumi.getter(name="maximumUnavailable")
|
5621
5614
|
def maximum_unavailable(self) -> str:
|
5622
5615
|
"""
|
5623
|
-
Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0
|
5624
|
-
(MISSING)
|
5616
|
+
Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
|
5625
5617
|
"""
|
5626
5618
|
return pulumi.get(self, "maximum_unavailable")
|
5627
5619
|
|
@@ -6576,10 +6568,8 @@ class GetNodePoolsNodePoolNodePoolCyclingDetailResult(dict):
|
|
6576
6568
|
maximum_unavailable: str):
|
6577
6569
|
"""
|
6578
6570
|
:param bool is_node_cycling_enabled: If nodes in the nodepool will be cycled to have new changes.
|
6579
|
-
:param str maximum_surge: Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0
|
6580
|
-
|
6581
|
-
:param str maximum_unavailable: Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%!
|
6582
|
-
(MISSING)
|
6571
|
+
:param str maximum_surge: Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
|
6572
|
+
:param str maximum_unavailable: Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
|
6583
6573
|
"""
|
6584
6574
|
pulumi.set(__self__, "is_node_cycling_enabled", is_node_cycling_enabled)
|
6585
6575
|
pulumi.set(__self__, "maximum_surge", maximum_surge)
|
@@ -6597,8 +6587,7 @@ class GetNodePoolsNodePoolNodePoolCyclingDetailResult(dict):
|
|
6597
6587
|
@pulumi.getter(name="maximumSurge")
|
6598
6588
|
def maximum_surge(self) -> str:
|
6599
6589
|
"""
|
6600
|
-
Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0
|
6601
|
-
(MISSING)
|
6590
|
+
Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
|
6602
6591
|
"""
|
6603
6592
|
return pulumi.get(self, "maximum_surge")
|
6604
6593
|
|
@@ -6606,8 +6595,7 @@ class GetNodePoolsNodePoolNodePoolCyclingDetailResult(dict):
|
|
6606
6595
|
@pulumi.getter(name="maximumUnavailable")
|
6607
6596
|
def maximum_unavailable(self) -> str:
|
6608
6597
|
"""
|
6609
|
-
Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0
|
6610
|
-
(MISSING)
|
6598
|
+
Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
|
6611
6599
|
"""
|
6612
6600
|
return pulumi.get(self, "maximum_unavailable")
|
6613
6601
|
|
pulumi_oci/core/_inputs.py
CHANGED
@@ -6232,7 +6232,7 @@ class InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigArgs:
|
|
6232
6232
|
Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple independent threads of execution, to better use the resources and increase the efficiency of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which can provide higher or more predictable performance for some workloads.
|
6233
6233
|
:param pulumi.Input[bool] is_trusted_platform_module_enabled: Whether the Trusted Platform Module (TPM) is enabled on the instance.
|
6234
6234
|
:param pulumi.Input[str] numa_nodes_per_socket: The number of NUMA nodes per socket (NPS).
|
6235
|
-
:param pulumi.Input[int] percentage_of_cores_enabled: The percentage of cores enabled. Value must be a multiple of 25
|
6235
|
+
:param pulumi.Input[int] percentage_of_cores_enabled: The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
|
6236
6236
|
|
6237
6237
|
If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled.
|
6238
6238
|
"""
|
@@ -6398,7 +6398,7 @@ class InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigArgs:
|
|
6398
6398
|
@pulumi.getter(name="percentageOfCoresEnabled")
|
6399
6399
|
def percentage_of_cores_enabled(self) -> Optional[pulumi.Input[int]]:
|
6400
6400
|
"""
|
6401
|
-
The percentage of cores enabled. Value must be a multiple of 25
|
6401
|
+
The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
|
6402
6402
|
|
6403
6403
|
If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled.
|
6404
6404
|
"""
|
@@ -8386,7 +8386,7 @@ class InstanceConfigurationInstanceDetailsOptionLaunchDetailsPlatformConfigArgs:
|
|
8386
8386
|
Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple independent threads of execution, to better use the resources and increase the efficiency of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which can provide higher or more predictable performance for some workloads.
|
8387
8387
|
:param pulumi.Input[bool] is_trusted_platform_module_enabled: Whether the Trusted Platform Module (TPM) is enabled on the instance.
|
8388
8388
|
:param pulumi.Input[str] numa_nodes_per_socket: The number of NUMA nodes per socket (NPS).
|
8389
|
-
:param pulumi.Input[int] percentage_of_cores_enabled: The percentage of cores enabled. Value must be a multiple of 25
|
8389
|
+
:param pulumi.Input[int] percentage_of_cores_enabled: The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
|
8390
8390
|
|
8391
8391
|
If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled.
|
8392
8392
|
"""
|
@@ -8538,7 +8538,7 @@ class InstanceConfigurationInstanceDetailsOptionLaunchDetailsPlatformConfigArgs:
|
|
8538
8538
|
@pulumi.getter(name="percentageOfCoresEnabled")
|
8539
8539
|
def percentage_of_cores_enabled(self) -> Optional[pulumi.Input[int]]:
|
8540
8540
|
"""
|
8541
|
-
The percentage of cores enabled. Value must be a multiple of 25
|
8541
|
+
The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
|
8542
8542
|
|
8543
8543
|
If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled.
|
8544
8544
|
"""
|
@@ -10192,7 +10192,7 @@ class InstancePlatformConfigArgs:
|
|
10192
10192
|
Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple independent threads of execution, to better use the resources and increase the efficiency of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which can provide higher or more predictable performance for some workloads.
|
10193
10193
|
:param pulumi.Input[bool] is_trusted_platform_module_enabled: Whether the Trusted Platform Module (TPM) is enabled on the instance.
|
10194
10194
|
:param pulumi.Input[str] numa_nodes_per_socket: The number of NUMA nodes per socket (NPS).
|
10195
|
-
:param pulumi.Input[int] percentage_of_cores_enabled: The percentage of cores enabled. Value must be a multiple of 25
|
10195
|
+
:param pulumi.Input[int] percentage_of_cores_enabled: The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
|
10196
10196
|
|
10197
10197
|
If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled.
|
10198
10198
|
"""
|
@@ -10358,7 +10358,7 @@ class InstancePlatformConfigArgs:
|
|
10358
10358
|
@pulumi.getter(name="percentageOfCoresEnabled")
|
10359
10359
|
def percentage_of_cores_enabled(self) -> Optional[pulumi.Input[int]]:
|
10360
10360
|
"""
|
10361
|
-
The percentage of cores enabled. Value must be a multiple of 25
|
10361
|
+
The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
|
10362
10362
|
|
10363
10363
|
If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled.
|
10364
10364
|
"""
|
pulumi_oci/core/instance.py
CHANGED
@@ -106,6 +106,26 @@ class InstanceArgs:
|
|
106
106
|
**"user_data"** - Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the [Cloud-Init Documentation](http://cloudinit.readthedocs.org/en/latest/topics/format.html).
|
107
107
|
|
108
108
|
**Metadata Example**
|
109
|
+
|
110
|
+
```
|
111
|
+
"metadata" : { "quake_bot_level" : "Severe", "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227", "user_data" : "<your_public_SSH_key>==" }
|
112
|
+
```
|
113
|
+
|
114
|
+
**Getting Metadata on the Instance**
|
115
|
+
|
116
|
+
To get information about your instance, connect to the instance using SSH and issue any of the following GET requests:
|
117
|
+
|
118
|
+
```
|
119
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/
|
120
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
|
121
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/<any-key-name>
|
122
|
+
```
|
123
|
+
|
124
|
+
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
|
125
|
+
|
126
|
+
The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of 32,000 bytes.
|
127
|
+
|
128
|
+
**Note:** Both the 'user_data' and 'ssh_authorized_keys' fields cannot be changed after an instance has launched. Any request which updates, removes, or adds either of these fields will be rejected. You must provide the same values for 'user_data' and 'ssh_authorized_keys' that already exist on the instance.
|
109
129
|
:param pulumi.Input['InstancePlatformConfigArgs'] platform_config: (Updatable only for VM's) The platform configuration requested for the instance.
|
110
130
|
|
111
131
|
If you provide the parameter, the instance is created with the platform configuration that you specify. For any values that you omit, the instance uses the default configuration values for the `shape` that you specify. If you don't provide the parameter, the default values for the `shape` are used.
|
@@ -509,6 +529,26 @@ class InstanceArgs:
|
|
509
529
|
**"user_data"** - Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the [Cloud-Init Documentation](http://cloudinit.readthedocs.org/en/latest/topics/format.html).
|
510
530
|
|
511
531
|
**Metadata Example**
|
532
|
+
|
533
|
+
```
|
534
|
+
"metadata" : { "quake_bot_level" : "Severe", "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227", "user_data" : "<your_public_SSH_key>==" }
|
535
|
+
```
|
536
|
+
|
537
|
+
**Getting Metadata on the Instance**
|
538
|
+
|
539
|
+
To get information about your instance, connect to the instance using SSH and issue any of the following GET requests:
|
540
|
+
|
541
|
+
```
|
542
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/
|
543
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
|
544
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/<any-key-name>
|
545
|
+
```
|
546
|
+
|
547
|
+
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
|
548
|
+
|
549
|
+
The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of 32,000 bytes.
|
550
|
+
|
551
|
+
**Note:** Both the 'user_data' and 'ssh_authorized_keys' fields cannot be changed after an instance has launched. Any request which updates, removes, or adds either of these fields will be rejected. You must provide the same values for 'user_data' and 'ssh_authorized_keys' that already exist on the instance.
|
512
552
|
"""
|
513
553
|
return pulumi.get(self, "metadata")
|
514
554
|
|
@@ -756,6 +796,26 @@ class _InstanceState:
|
|
756
796
|
**"user_data"** - Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the [Cloud-Init Documentation](http://cloudinit.readthedocs.org/en/latest/topics/format.html).
|
757
797
|
|
758
798
|
**Metadata Example**
|
799
|
+
|
800
|
+
```
|
801
|
+
"metadata" : { "quake_bot_level" : "Severe", "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227", "user_data" : "<your_public_SSH_key>==" }
|
802
|
+
```
|
803
|
+
|
804
|
+
**Getting Metadata on the Instance**
|
805
|
+
|
806
|
+
To get information about your instance, connect to the instance using SSH and issue any of the following GET requests:
|
807
|
+
|
808
|
+
```
|
809
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/
|
810
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
|
811
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/<any-key-name>
|
812
|
+
```
|
813
|
+
|
814
|
+
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
|
815
|
+
|
816
|
+
The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of 32,000 bytes.
|
817
|
+
|
818
|
+
**Note:** Both the 'user_data' and 'ssh_authorized_keys' fields cannot be changed after an instance has launched. Any request which updates, removes, or adds either of these fields will be rejected. You must provide the same values for 'user_data' and 'ssh_authorized_keys' that already exist on the instance.
|
759
819
|
:param pulumi.Input['InstancePlatformConfigArgs'] platform_config: (Updatable only for VM's) The platform configuration requested for the instance.
|
760
820
|
|
761
821
|
If you provide the parameter, the instance is created with the platform configuration that you specify. For any values that you omit, the instance uses the default configuration values for the `shape` that you specify. If you don't provide the parameter, the default values for the `shape` are used.
|
@@ -1225,6 +1285,26 @@ class _InstanceState:
|
|
1225
1285
|
**"user_data"** - Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the [Cloud-Init Documentation](http://cloudinit.readthedocs.org/en/latest/topics/format.html).
|
1226
1286
|
|
1227
1287
|
**Metadata Example**
|
1288
|
+
|
1289
|
+
```
|
1290
|
+
"metadata" : { "quake_bot_level" : "Severe", "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227", "user_data" : "<your_public_SSH_key>==" }
|
1291
|
+
```
|
1292
|
+
|
1293
|
+
**Getting Metadata on the Instance**
|
1294
|
+
|
1295
|
+
To get information about your instance, connect to the instance using SSH and issue any of the following GET requests:
|
1296
|
+
|
1297
|
+
```
|
1298
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/
|
1299
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
|
1300
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/<any-key-name>
|
1301
|
+
```
|
1302
|
+
|
1303
|
+
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
|
1304
|
+
|
1305
|
+
The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of 32,000 bytes.
|
1306
|
+
|
1307
|
+
**Note:** Both the 'user_data' and 'ssh_authorized_keys' fields cannot be changed after an instance has launched. Any request which updates, removes, or adds either of these fields will be rejected. You must provide the same values for 'user_data' and 'ssh_authorized_keys' that already exist on the instance.
|
1228
1308
|
"""
|
1229
1309
|
return pulumi.get(self, "metadata")
|
1230
1310
|
|
@@ -1594,6 +1674,26 @@ class Instance(pulumi.CustomResource):
|
|
1594
1674
|
**"user_data"** - Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the [Cloud-Init Documentation](http://cloudinit.readthedocs.org/en/latest/topics/format.html).
|
1595
1675
|
|
1596
1676
|
**Metadata Example**
|
1677
|
+
|
1678
|
+
```
|
1679
|
+
"metadata" : { "quake_bot_level" : "Severe", "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227", "user_data" : "<your_public_SSH_key>==" }
|
1680
|
+
```
|
1681
|
+
|
1682
|
+
**Getting Metadata on the Instance**
|
1683
|
+
|
1684
|
+
To get information about your instance, connect to the instance using SSH and issue any of the following GET requests:
|
1685
|
+
|
1686
|
+
```
|
1687
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/
|
1688
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
|
1689
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/<any-key-name>
|
1690
|
+
```
|
1691
|
+
|
1692
|
+
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
|
1693
|
+
|
1694
|
+
The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of 32,000 bytes.
|
1695
|
+
|
1696
|
+
**Note:** Both the 'user_data' and 'ssh_authorized_keys' fields cannot be changed after an instance has launched. Any request which updates, removes, or adds either of these fields will be rejected. You must provide the same values for 'user_data' and 'ssh_authorized_keys' that already exist on the instance.
|
1597
1697
|
:param pulumi.Input[pulumi.InputType['InstancePlatformConfigArgs']] platform_config: (Updatable only for VM's) The platform configuration requested for the instance.
|
1598
1698
|
|
1599
1699
|
If you provide the parameter, the instance is created with the platform configuration that you specify. For any values that you omit, the instance uses the default configuration values for the `shape` that you specify. If you don't provide the parameter, the default values for the `shape` are used.
|
@@ -1901,6 +2001,26 @@ class Instance(pulumi.CustomResource):
|
|
1901
2001
|
**"user_data"** - Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the [Cloud-Init Documentation](http://cloudinit.readthedocs.org/en/latest/topics/format.html).
|
1902
2002
|
|
1903
2003
|
**Metadata Example**
|
2004
|
+
|
2005
|
+
```
|
2006
|
+
"metadata" : { "quake_bot_level" : "Severe", "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227", "user_data" : "<your_public_SSH_key>==" }
|
2007
|
+
```
|
2008
|
+
|
2009
|
+
**Getting Metadata on the Instance**
|
2010
|
+
|
2011
|
+
To get information about your instance, connect to the instance using SSH and issue any of the following GET requests:
|
2012
|
+
|
2013
|
+
```
|
2014
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/
|
2015
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
|
2016
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/<any-key-name>
|
2017
|
+
```
|
2018
|
+
|
2019
|
+
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
|
2020
|
+
|
2021
|
+
The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of 32,000 bytes.
|
2022
|
+
|
2023
|
+
**Note:** Both the 'user_data' and 'ssh_authorized_keys' fields cannot be changed after an instance has launched. Any request which updates, removes, or adds either of these fields will be rejected. You must provide the same values for 'user_data' and 'ssh_authorized_keys' that already exist on the instance.
|
1904
2024
|
:param pulumi.Input[pulumi.InputType['InstancePlatformConfigArgs']] platform_config: (Updatable only for VM's) The platform configuration requested for the instance.
|
1905
2025
|
|
1906
2026
|
If you provide the parameter, the instance is created with the platform configuration that you specify. For any values that you omit, the instance uses the default configuration values for the `shape` that you specify. If you don't provide the parameter, the default values for the `shape` are used.
|
@@ -2224,6 +2344,26 @@ class Instance(pulumi.CustomResource):
|
|
2224
2344
|
**"user_data"** - Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the [Cloud-Init Documentation](http://cloudinit.readthedocs.org/en/latest/topics/format.html).
|
2225
2345
|
|
2226
2346
|
**Metadata Example**
|
2347
|
+
|
2348
|
+
```
|
2349
|
+
"metadata" : { "quake_bot_level" : "Severe", "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227", "user_data" : "<your_public_SSH_key>==" }
|
2350
|
+
```
|
2351
|
+
|
2352
|
+
**Getting Metadata on the Instance**
|
2353
|
+
|
2354
|
+
To get information about your instance, connect to the instance using SSH and issue any of the following GET requests:
|
2355
|
+
|
2356
|
+
```
|
2357
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/
|
2358
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
|
2359
|
+
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/<any-key-name>
|
2360
|
+
```
|
2361
|
+
|
2362
|
+
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
|
2363
|
+
|
2364
|
+
The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of 32,000 bytes.
|
2365
|
+
|
2366
|
+
**Note:** Both the 'user_data' and 'ssh_authorized_keys' fields cannot be changed after an instance has launched. Any request which updates, removes, or adds either of these fields will be rejected. You must provide the same values for 'user_data' and 'ssh_authorized_keys' that already exist on the instance.
|
2227
2367
|
"""
|
2228
2368
|
return pulumi.get(self, "metadata")
|
2229
2369
|
|