pulumi-oci 1.31.0a1712469963__py3-none-any.whl → 1.31.0a1712742264__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.
Files changed (26) hide show
  1. pulumi_oci/dataflow/get_invoke_run.py +11 -1
  2. pulumi_oci/dataflow/invoke_run.py +49 -0
  3. pulumi_oci/dataflow/outputs.py +7 -0
  4. pulumi_oci/devops/_inputs.py +380 -10
  5. pulumi_oci/devops/outputs.py +953 -32
  6. pulumi_oci/filestorage/replication.py +4 -4
  7. pulumi_oci/networkfirewall/outputs.py +12 -16
  8. pulumi_oci/networkloadbalancer/_inputs.py +222 -10
  9. pulumi_oci/networkloadbalancer/backend_set.py +70 -7
  10. pulumi_oci/networkloadbalancer/get_backend_set.py +15 -2
  11. pulumi_oci/networkloadbalancer/network_load_balancer.py +7 -62
  12. pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +70 -7
  13. pulumi_oci/networkloadbalancer/outputs.py +397 -28
  14. pulumi_oci/stackmonitoring/_inputs.py +209 -1
  15. pulumi_oci/stackmonitoring/get_monitored_resource.py +27 -1
  16. pulumi_oci/stackmonitoring/get_monitored_resource_type.py +27 -1
  17. pulumi_oci/stackmonitoring/get_monitored_resources.py +18 -1
  18. pulumi_oci/stackmonitoring/monitored_resource.py +56 -0
  19. pulumi_oci/stackmonitoring/monitored_resource_task.py +18 -0
  20. pulumi_oci/stackmonitoring/monitored_resource_type.py +117 -19
  21. pulumi_oci/stackmonitoring/monitored_resources_search.py +197 -1
  22. pulumi_oci/stackmonitoring/outputs.py +436 -1
  23. {pulumi_oci-1.31.0a1712469963.dist-info → pulumi_oci-1.31.0a1712742264.dist-info}/METADATA +1 -1
  24. {pulumi_oci-1.31.0a1712469963.dist-info → pulumi_oci-1.31.0a1712742264.dist-info}/RECORD +26 -26
  25. {pulumi_oci-1.31.0a1712469963.dist-info → pulumi_oci-1.31.0a1712742264.dist-info}/WHEEL +0 -0
  26. {pulumi_oci-1.31.0a1712469963.dist-info → pulumi_oci-1.31.0a1712742264.dist-info}/top_level.txt +0 -0
@@ -1608,8 +1608,26 @@ class MonitoredResourceTaskTaskDetails(dict):
1608
1608
  suggest = "availability_proxy_metric_collection_interval"
1609
1609
  elif key == "availabilityProxyMetrics":
1610
1610
  suggest = "availability_proxy_metrics"
1611
+ elif key == "consolePathPrefix":
1612
+ suggest = "console_path_prefix"
1613
+ elif key == "externalIdMapping":
1614
+ suggest = "external_id_mapping"
1615
+ elif key == "lifecycleStatusMappingsForUpStatuses":
1616
+ suggest = "lifecycle_status_mappings_for_up_statuses"
1611
1617
  elif key == "resourceGroup":
1612
1618
  suggest = "resource_group"
1619
+ elif key == "resourceNameFilter":
1620
+ suggest = "resource_name_filter"
1621
+ elif key == "resourceNameMapping":
1622
+ suggest = "resource_name_mapping"
1623
+ elif key == "resourceTypeFilter":
1624
+ suggest = "resource_type_filter"
1625
+ elif key == "resourceTypeMapping":
1626
+ suggest = "resource_type_mapping"
1627
+ elif key == "serviceBaseUrl":
1628
+ suggest = "service_base_url"
1629
+ elif key == "shouldUseMetricsFlowForStatus":
1630
+ suggest = "should_use_metrics_flow_for_status"
1613
1631
 
1614
1632
  if suggest:
1615
1633
  pulumi.log.warn(f"Key '{key}' not found in MonitoredResourceTaskTaskDetails. Access the value via the '{suggest}' property getter instead.")
@@ -1628,7 +1646,16 @@ class MonitoredResourceTaskTaskDetails(dict):
1628
1646
  type: str,
1629
1647
  availability_proxy_metric_collection_interval: Optional[int] = None,
1630
1648
  availability_proxy_metrics: Optional[Sequence[str]] = None,
1631
- resource_group: Optional[str] = None):
1649
+ console_path_prefix: Optional[str] = None,
1650
+ external_id_mapping: Optional[str] = None,
1651
+ lifecycle_status_mappings_for_up_statuses: Optional[Sequence[str]] = None,
1652
+ resource_group: Optional[str] = None,
1653
+ resource_name_filter: Optional[str] = None,
1654
+ resource_name_mapping: Optional[str] = None,
1655
+ resource_type_filter: Optional[str] = None,
1656
+ resource_type_mapping: Optional[str] = None,
1657
+ service_base_url: Optional[str] = None,
1658
+ should_use_metrics_flow_for_status: Optional[bool] = None):
1632
1659
  """
1633
1660
  :param str namespace: Name space to be used for Oracle Cloud Infrastructure Native service resources discovery.
1634
1661
  :param str source: Source from where the metrics pushed to telemetry. Possible values:
@@ -1641,7 +1668,16 @@ class MonitoredResourceTaskTaskDetails(dict):
1641
1668
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1642
1669
  :param int availability_proxy_metric_collection_interval: Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
1643
1670
  :param Sequence[str] availability_proxy_metrics: List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource.
1671
+ :param str console_path_prefix: The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https://<cloudhostname>/security/bastion/bastions/<resourceOcid>. If not provided, service home page link will not be shown in the stack monitoring home page.
1672
+ :param str external_id_mapping: The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
1673
+ :param Sequence[str] lifecycle_status_mappings_for_up_statuses: Lifecycle states of the external resource which reflects the status of the resource being up.
1644
1674
  :param str resource_group: The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request.
1675
+ :param str resource_name_filter: The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
1676
+ :param str resource_name_mapping: The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
1677
+ :param str resource_type_filter: The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
1678
+ :param str resource_type_mapping: The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type.
1679
+ :param str service_base_url: The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE.
1680
+ :param bool should_use_metrics_flow_for_status: Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service.
1645
1681
  """
1646
1682
  pulumi.set(__self__, "namespace", namespace)
1647
1683
  pulumi.set(__self__, "source", source)
@@ -1650,8 +1686,26 @@ class MonitoredResourceTaskTaskDetails(dict):
1650
1686
  pulumi.set(__self__, "availability_proxy_metric_collection_interval", availability_proxy_metric_collection_interval)
1651
1687
  if availability_proxy_metrics is not None:
1652
1688
  pulumi.set(__self__, "availability_proxy_metrics", availability_proxy_metrics)
1689
+ if console_path_prefix is not None:
1690
+ pulumi.set(__self__, "console_path_prefix", console_path_prefix)
1691
+ if external_id_mapping is not None:
1692
+ pulumi.set(__self__, "external_id_mapping", external_id_mapping)
1693
+ if lifecycle_status_mappings_for_up_statuses is not None:
1694
+ pulumi.set(__self__, "lifecycle_status_mappings_for_up_statuses", lifecycle_status_mappings_for_up_statuses)
1653
1695
  if resource_group is not None:
1654
1696
  pulumi.set(__self__, "resource_group", resource_group)
1697
+ if resource_name_filter is not None:
1698
+ pulumi.set(__self__, "resource_name_filter", resource_name_filter)
1699
+ if resource_name_mapping is not None:
1700
+ pulumi.set(__self__, "resource_name_mapping", resource_name_mapping)
1701
+ if resource_type_filter is not None:
1702
+ pulumi.set(__self__, "resource_type_filter", resource_type_filter)
1703
+ if resource_type_mapping is not None:
1704
+ pulumi.set(__self__, "resource_type_mapping", resource_type_mapping)
1705
+ if service_base_url is not None:
1706
+ pulumi.set(__self__, "service_base_url", service_base_url)
1707
+ if should_use_metrics_flow_for_status is not None:
1708
+ pulumi.set(__self__, "should_use_metrics_flow_for_status", should_use_metrics_flow_for_status)
1655
1709
 
1656
1710
  @property
1657
1711
  @pulumi.getter
@@ -1699,6 +1753,30 @@ class MonitoredResourceTaskTaskDetails(dict):
1699
1753
  """
1700
1754
  return pulumi.get(self, "availability_proxy_metrics")
1701
1755
 
1756
+ @property
1757
+ @pulumi.getter(name="consolePathPrefix")
1758
+ def console_path_prefix(self) -> Optional[str]:
1759
+ """
1760
+ The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https://<cloudhostname>/security/bastion/bastions/<resourceOcid>. If not provided, service home page link will not be shown in the stack monitoring home page.
1761
+ """
1762
+ return pulumi.get(self, "console_path_prefix")
1763
+
1764
+ @property
1765
+ @pulumi.getter(name="externalIdMapping")
1766
+ def external_id_mapping(self) -> Optional[str]:
1767
+ """
1768
+ The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
1769
+ """
1770
+ return pulumi.get(self, "external_id_mapping")
1771
+
1772
+ @property
1773
+ @pulumi.getter(name="lifecycleStatusMappingsForUpStatuses")
1774
+ def lifecycle_status_mappings_for_up_statuses(self) -> Optional[Sequence[str]]:
1775
+ """
1776
+ Lifecycle states of the external resource which reflects the status of the resource being up.
1777
+ """
1778
+ return pulumi.get(self, "lifecycle_status_mappings_for_up_statuses")
1779
+
1702
1780
  @property
1703
1781
  @pulumi.getter(name="resourceGroup")
1704
1782
  def resource_group(self) -> Optional[str]:
@@ -1707,6 +1785,54 @@ class MonitoredResourceTaskTaskDetails(dict):
1707
1785
  """
1708
1786
  return pulumi.get(self, "resource_group")
1709
1787
 
1788
+ @property
1789
+ @pulumi.getter(name="resourceNameFilter")
1790
+ def resource_name_filter(self) -> Optional[str]:
1791
+ """
1792
+ The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
1793
+ """
1794
+ return pulumi.get(self, "resource_name_filter")
1795
+
1796
+ @property
1797
+ @pulumi.getter(name="resourceNameMapping")
1798
+ def resource_name_mapping(self) -> Optional[str]:
1799
+ """
1800
+ The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
1801
+ """
1802
+ return pulumi.get(self, "resource_name_mapping")
1803
+
1804
+ @property
1805
+ @pulumi.getter(name="resourceTypeFilter")
1806
+ def resource_type_filter(self) -> Optional[str]:
1807
+ """
1808
+ The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
1809
+ """
1810
+ return pulumi.get(self, "resource_type_filter")
1811
+
1812
+ @property
1813
+ @pulumi.getter(name="resourceTypeMapping")
1814
+ def resource_type_mapping(self) -> Optional[str]:
1815
+ """
1816
+ The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type.
1817
+ """
1818
+ return pulumi.get(self, "resource_type_mapping")
1819
+
1820
+ @property
1821
+ @pulumi.getter(name="serviceBaseUrl")
1822
+ def service_base_url(self) -> Optional[str]:
1823
+ """
1824
+ The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE.
1825
+ """
1826
+ return pulumi.get(self, "service_base_url")
1827
+
1828
+ @property
1829
+ @pulumi.getter(name="shouldUseMetricsFlowForStatus")
1830
+ def should_use_metrics_flow_for_status(self) -> Optional[bool]:
1831
+ """
1832
+ Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service.
1833
+ """
1834
+ return pulumi.get(self, "should_use_metrics_flow_for_status")
1835
+
1710
1836
 
1711
1837
  @pulumi.output_type
1712
1838
  class MonitoredResourceTypeMetadata(dict):
@@ -1982,6 +2108,8 @@ class MonitoredResourcesListMemberItem(dict):
1982
2108
  suggest = "host_name"
1983
2109
  elif key == "parentId":
1984
2110
  suggest = "parent_id"
2111
+ elif key == "resourceCategory":
2112
+ suggest = "resource_category"
1985
2113
  elif key == "resourceDisplayName":
1986
2114
  suggest = "resource_display_name"
1987
2115
  elif key == "resourceId":
@@ -1990,6 +2118,8 @@ class MonitoredResourcesListMemberItem(dict):
1990
2118
  suggest = "resource_name"
1991
2119
  elif key == "resourceType":
1992
2120
  suggest = "resource_type"
2121
+ elif key == "sourceType":
2122
+ suggest = "source_type"
1993
2123
  elif key == "systemTags":
1994
2124
  suggest = "system_tags"
1995
2125
 
@@ -2012,10 +2142,12 @@ class MonitoredResourcesListMemberItem(dict):
2012
2142
  host_name: Optional[str] = None,
2013
2143
  license: Optional[str] = None,
2014
2144
  parent_id: Optional[str] = None,
2145
+ resource_category: Optional[str] = None,
2015
2146
  resource_display_name: Optional[str] = None,
2016
2147
  resource_id: Optional[str] = None,
2017
2148
  resource_name: Optional[str] = None,
2018
2149
  resource_type: Optional[str] = None,
2150
+ source_type: Optional[str] = None,
2019
2151
  state: Optional[str] = None,
2020
2152
  system_tags: Optional[Mapping[str, Any]] = None):
2021
2153
  """
@@ -2026,10 +2158,12 @@ class MonitoredResourcesListMemberItem(dict):
2026
2158
  :param str host_name: Monitored Resource Host Name.
2027
2159
  :param str license: License edition of the monitored resource.
2028
2160
  :param str parent_id: Parent monitored resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
2161
+ :param str resource_category: Resource Category to indicate the kind of resource type.
2029
2162
  :param str resource_display_name: Monitored resource display name.
2030
2163
  :param str resource_id: Monitored resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
2031
2164
  :param str resource_name: Monitored Resource Name.
2032
2165
  :param str resource_type: Monitored Resource Type.
2166
+ :param str source_type: Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
2033
2167
  :param str state: The current state of the Resource.
2034
2168
  :param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
2035
2169
  """
@@ -2047,6 +2181,8 @@ class MonitoredResourcesListMemberItem(dict):
2047
2181
  pulumi.set(__self__, "license", license)
2048
2182
  if parent_id is not None:
2049
2183
  pulumi.set(__self__, "parent_id", parent_id)
2184
+ if resource_category is not None:
2185
+ pulumi.set(__self__, "resource_category", resource_category)
2050
2186
  if resource_display_name is not None:
2051
2187
  pulumi.set(__self__, "resource_display_name", resource_display_name)
2052
2188
  if resource_id is not None:
@@ -2055,6 +2191,8 @@ class MonitoredResourcesListMemberItem(dict):
2055
2191
  pulumi.set(__self__, "resource_name", resource_name)
2056
2192
  if resource_type is not None:
2057
2193
  pulumi.set(__self__, "resource_type", resource_type)
2194
+ if source_type is not None:
2195
+ pulumi.set(__self__, "source_type", source_type)
2058
2196
  if state is not None:
2059
2197
  pulumi.set(__self__, "state", state)
2060
2198
  if system_tags is not None:
@@ -2116,6 +2254,14 @@ class MonitoredResourcesListMemberItem(dict):
2116
2254
  """
2117
2255
  return pulumi.get(self, "parent_id")
2118
2256
 
2257
+ @property
2258
+ @pulumi.getter(name="resourceCategory")
2259
+ def resource_category(self) -> Optional[str]:
2260
+ """
2261
+ Resource Category to indicate the kind of resource type.
2262
+ """
2263
+ return pulumi.get(self, "resource_category")
2264
+
2119
2265
  @property
2120
2266
  @pulumi.getter(name="resourceDisplayName")
2121
2267
  def resource_display_name(self) -> Optional[str]:
@@ -2148,6 +2294,14 @@ class MonitoredResourcesListMemberItem(dict):
2148
2294
  """
2149
2295
  return pulumi.get(self, "resource_type")
2150
2296
 
2297
+ @property
2298
+ @pulumi.getter(name="sourceType")
2299
+ def source_type(self) -> Optional[str]:
2300
+ """
2301
+ Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
2302
+ """
2303
+ return pulumi.get(self, "source_type")
2304
+
2151
2305
  @property
2152
2306
  @pulumi.getter
2153
2307
  def state(self) -> Optional[str]:
@@ -2410,6 +2564,10 @@ class MonitoredResourcesSearchItem(dict):
2410
2564
  suggest = "host_name"
2411
2565
  elif key == "managementAgentId":
2412
2566
  suggest = "management_agent_id"
2567
+ elif key == "resourceCategory":
2568
+ suggest = "resource_category"
2569
+ elif key == "sourceType":
2570
+ suggest = "source_type"
2413
2571
  elif key == "systemTags":
2414
2572
  suggest = "system_tags"
2415
2573
  elif key == "timeCreated":
@@ -2440,6 +2598,8 @@ class MonitoredResourcesSearchItem(dict):
2440
2598
  management_agent_id: Optional[str] = None,
2441
2599
  name: Optional[str] = None,
2442
2600
  properties: Optional[Sequence['outputs.MonitoredResourcesSearchItemProperty']] = None,
2601
+ resource_category: Optional[str] = None,
2602
+ source_type: Optional[str] = None,
2443
2603
  state: Optional[str] = None,
2444
2604
  system_tags: Optional[Mapping[str, Any]] = None,
2445
2605
  time_created: Optional[str] = None,
@@ -2457,6 +2617,8 @@ class MonitoredResourcesSearchItem(dict):
2457
2617
  :param str management_agent_id: A filter to return resources with matching management agent id.
2458
2618
  :param str name: A filter to return resources that match exact resource name.
2459
2619
  :param Sequence['MonitoredResourcesSearchItemPropertyArgs'] properties: List of monitored resource properties.
2620
+ :param str resource_category: Resource category filter.
2621
+ :param str source_type: Source type filter.
2460
2622
  :param str state: A filter to return resources with matching lifecycle state.
2461
2623
  :param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
2462
2624
  :param str time_created: Monitored resource creation time. An RFC3339 formatted datetime string.
@@ -2489,6 +2651,10 @@ class MonitoredResourcesSearchItem(dict):
2489
2651
  pulumi.set(__self__, "name", name)
2490
2652
  if properties is not None:
2491
2653
  pulumi.set(__self__, "properties", properties)
2654
+ if resource_category is not None:
2655
+ pulumi.set(__self__, "resource_category", resource_category)
2656
+ if source_type is not None:
2657
+ pulumi.set(__self__, "source_type", source_type)
2492
2658
  if state is not None:
2493
2659
  pulumi.set(__self__, "state", state)
2494
2660
  if system_tags is not None:
@@ -2588,6 +2754,22 @@ class MonitoredResourcesSearchItem(dict):
2588
2754
  """
2589
2755
  return pulumi.get(self, "properties")
2590
2756
 
2757
+ @property
2758
+ @pulumi.getter(name="resourceCategory")
2759
+ def resource_category(self) -> Optional[str]:
2760
+ """
2761
+ Resource category filter.
2762
+ """
2763
+ return pulumi.get(self, "resource_category")
2764
+
2765
+ @property
2766
+ @pulumi.getter(name="sourceType")
2767
+ def source_type(self) -> Optional[str]:
2768
+ """
2769
+ Source type filter.
2770
+ """
2771
+ return pulumi.get(self, "source_type")
2772
+
2591
2773
  @property
2592
2774
  @pulumi.getter
2593
2775
  def state(self) -> Optional[str]:
@@ -3636,16 +3818,19 @@ class GetDiscoveryJobLogsDiscoveryJobLogCollectionItemResult(dict):
3636
3818
  id: str,
3637
3819
  log_message: str,
3638
3820
  log_type: str,
3821
+ system_tags: Mapping[str, Any],
3639
3822
  time_created: str):
3640
3823
  """
3641
3824
  :param str id: The OCID of Discovery job
3642
3825
  :param str log_message: Log message
3643
3826
  :param str log_type: The log type like INFO, WARNING, ERROR, SUCCESS
3827
+ :param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
3644
3828
  :param str time_created: Time the Job log was created
3645
3829
  """
3646
3830
  pulumi.set(__self__, "id", id)
3647
3831
  pulumi.set(__self__, "log_message", log_message)
3648
3832
  pulumi.set(__self__, "log_type", log_type)
3833
+ pulumi.set(__self__, "system_tags", system_tags)
3649
3834
  pulumi.set(__self__, "time_created", time_created)
3650
3835
 
3651
3836
  @property
@@ -3672,6 +3857,14 @@ class GetDiscoveryJobLogsDiscoveryJobLogCollectionItemResult(dict):
3672
3857
  """
3673
3858
  return pulumi.get(self, "log_type")
3674
3859
 
3860
+ @property
3861
+ @pulumi.getter(name="systemTags")
3862
+ def system_tags(self) -> Mapping[str, Any]:
3863
+ """
3864
+ Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
3865
+ """
3866
+ return pulumi.get(self, "system_tags")
3867
+
3675
3868
  @property
3676
3869
  @pulumi.getter(name="timeCreated")
3677
3870
  def time_created(self) -> str:
@@ -5517,15 +5710,33 @@ class GetMonitoredResourceTaskTaskDetailResult(dict):
5517
5710
  def __init__(__self__, *,
5518
5711
  availability_proxy_metric_collection_interval: int,
5519
5712
  availability_proxy_metrics: Sequence[str],
5713
+ console_path_prefix: str,
5714
+ external_id_mapping: str,
5715
+ lifecycle_status_mappings_for_up_statuses: Sequence[str],
5520
5716
  namespace: str,
5521
5717
  resource_group: str,
5718
+ resource_name_filter: str,
5719
+ resource_name_mapping: str,
5720
+ resource_type_filter: str,
5721
+ resource_type_mapping: str,
5722
+ service_base_url: str,
5723
+ should_use_metrics_flow_for_status: bool,
5522
5724
  source: str,
5523
5725
  type: str):
5524
5726
  """
5525
5727
  :param int availability_proxy_metric_collection_interval: Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
5526
5728
  :param Sequence[str] availability_proxy_metrics: List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource.
5729
+ :param str console_path_prefix: The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https://<cloudhostname>/security/bastion/bastions/<resourceOcid>. If not provided, service home page link will not be shown in the stack monitoring home page.
5730
+ :param str external_id_mapping: The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
5731
+ :param Sequence[str] lifecycle_status_mappings_for_up_statuses: Lifecycle states of the external resource which reflects the status of the resource being up.
5527
5732
  :param str namespace: Name space to be used for Oracle Cloud Infrastructure Native service resources' import.
5528
5733
  :param str resource_group: The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request.
5734
+ :param str resource_name_filter: The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
5735
+ :param str resource_name_mapping: The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
5736
+ :param str resource_type_filter: The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
5737
+ :param str resource_type_mapping: The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type.
5738
+ :param str service_base_url: The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE.
5739
+ :param bool should_use_metrics_flow_for_status: Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service.
5529
5740
  :param str source: Source from where the metrics pushed to telemetry. Possible values:
5530
5741
  * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services.
5531
5742
  * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus.
@@ -5533,8 +5744,17 @@ class GetMonitoredResourceTaskTaskDetailResult(dict):
5533
5744
  """
5534
5745
  pulumi.set(__self__, "availability_proxy_metric_collection_interval", availability_proxy_metric_collection_interval)
5535
5746
  pulumi.set(__self__, "availability_proxy_metrics", availability_proxy_metrics)
5747
+ pulumi.set(__self__, "console_path_prefix", console_path_prefix)
5748
+ pulumi.set(__self__, "external_id_mapping", external_id_mapping)
5749
+ pulumi.set(__self__, "lifecycle_status_mappings_for_up_statuses", lifecycle_status_mappings_for_up_statuses)
5536
5750
  pulumi.set(__self__, "namespace", namespace)
5537
5751
  pulumi.set(__self__, "resource_group", resource_group)
5752
+ pulumi.set(__self__, "resource_name_filter", resource_name_filter)
5753
+ pulumi.set(__self__, "resource_name_mapping", resource_name_mapping)
5754
+ pulumi.set(__self__, "resource_type_filter", resource_type_filter)
5755
+ pulumi.set(__self__, "resource_type_mapping", resource_type_mapping)
5756
+ pulumi.set(__self__, "service_base_url", service_base_url)
5757
+ pulumi.set(__self__, "should_use_metrics_flow_for_status", should_use_metrics_flow_for_status)
5538
5758
  pulumi.set(__self__, "source", source)
5539
5759
  pulumi.set(__self__, "type", type)
5540
5760
 
@@ -5554,6 +5774,30 @@ class GetMonitoredResourceTaskTaskDetailResult(dict):
5554
5774
  """
5555
5775
  return pulumi.get(self, "availability_proxy_metrics")
5556
5776
 
5777
+ @property
5778
+ @pulumi.getter(name="consolePathPrefix")
5779
+ def console_path_prefix(self) -> str:
5780
+ """
5781
+ The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https://<cloudhostname>/security/bastion/bastions/<resourceOcid>. If not provided, service home page link will not be shown in the stack monitoring home page.
5782
+ """
5783
+ return pulumi.get(self, "console_path_prefix")
5784
+
5785
+ @property
5786
+ @pulumi.getter(name="externalIdMapping")
5787
+ def external_id_mapping(self) -> str:
5788
+ """
5789
+ The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
5790
+ """
5791
+ return pulumi.get(self, "external_id_mapping")
5792
+
5793
+ @property
5794
+ @pulumi.getter(name="lifecycleStatusMappingsForUpStatuses")
5795
+ def lifecycle_status_mappings_for_up_statuses(self) -> Sequence[str]:
5796
+ """
5797
+ Lifecycle states of the external resource which reflects the status of the resource being up.
5798
+ """
5799
+ return pulumi.get(self, "lifecycle_status_mappings_for_up_statuses")
5800
+
5557
5801
  @property
5558
5802
  @pulumi.getter
5559
5803
  def namespace(self) -> str:
@@ -5570,6 +5814,54 @@ class GetMonitoredResourceTaskTaskDetailResult(dict):
5570
5814
  """
5571
5815
  return pulumi.get(self, "resource_group")
5572
5816
 
5817
+ @property
5818
+ @pulumi.getter(name="resourceNameFilter")
5819
+ def resource_name_filter(self) -> str:
5820
+ """
5821
+ The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
5822
+ """
5823
+ return pulumi.get(self, "resource_name_filter")
5824
+
5825
+ @property
5826
+ @pulumi.getter(name="resourceNameMapping")
5827
+ def resource_name_mapping(self) -> str:
5828
+ """
5829
+ The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
5830
+ """
5831
+ return pulumi.get(self, "resource_name_mapping")
5832
+
5833
+ @property
5834
+ @pulumi.getter(name="resourceTypeFilter")
5835
+ def resource_type_filter(self) -> str:
5836
+ """
5837
+ The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
5838
+ """
5839
+ return pulumi.get(self, "resource_type_filter")
5840
+
5841
+ @property
5842
+ @pulumi.getter(name="resourceTypeMapping")
5843
+ def resource_type_mapping(self) -> str:
5844
+ """
5845
+ The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type.
5846
+ """
5847
+ return pulumi.get(self, "resource_type_mapping")
5848
+
5849
+ @property
5850
+ @pulumi.getter(name="serviceBaseUrl")
5851
+ def service_base_url(self) -> str:
5852
+ """
5853
+ The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE.
5854
+ """
5855
+ return pulumi.get(self, "service_base_url")
5856
+
5857
+ @property
5858
+ @pulumi.getter(name="shouldUseMetricsFlowForStatus")
5859
+ def should_use_metrics_flow_for_status(self) -> bool:
5860
+ """
5861
+ Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service.
5862
+ """
5863
+ return pulumi.get(self, "should_use_metrics_flow_for_status")
5864
+
5573
5865
  @property
5574
5866
  @pulumi.getter
5575
5867
  def source(self) -> str:
@@ -5778,15 +6070,33 @@ class GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailRes
5778
6070
  def __init__(__self__, *,
5779
6071
  availability_proxy_metric_collection_interval: int,
5780
6072
  availability_proxy_metrics: Sequence[str],
6073
+ console_path_prefix: str,
6074
+ external_id_mapping: str,
6075
+ lifecycle_status_mappings_for_up_statuses: Sequence[str],
5781
6076
  namespace: str,
5782
6077
  resource_group: str,
6078
+ resource_name_filter: str,
6079
+ resource_name_mapping: str,
6080
+ resource_type_filter: str,
6081
+ resource_type_mapping: str,
6082
+ service_base_url: str,
6083
+ should_use_metrics_flow_for_status: bool,
5783
6084
  source: str,
5784
6085
  type: str):
5785
6086
  """
5786
6087
  :param int availability_proxy_metric_collection_interval: Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
5787
6088
  :param Sequence[str] availability_proxy_metrics: List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource.
6089
+ :param str console_path_prefix: The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https://<cloudhostname>/security/bastion/bastions/<resourceOcid>. If not provided, service home page link will not be shown in the stack monitoring home page.
6090
+ :param str external_id_mapping: The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
6091
+ :param Sequence[str] lifecycle_status_mappings_for_up_statuses: Lifecycle states of the external resource which reflects the status of the resource being up.
5788
6092
  :param str namespace: Name space to be used for Oracle Cloud Infrastructure Native service resources discovery.
5789
6093
  :param str resource_group: The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request.
6094
+ :param str resource_name_filter: The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
6095
+ :param str resource_name_mapping: The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
6096
+ :param str resource_type_filter: The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
6097
+ :param str resource_type_mapping: The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type.
6098
+ :param str service_base_url: The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE.
6099
+ :param bool should_use_metrics_flow_for_status: Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service.
5790
6100
  :param str source: Source from where the metrics pushed to telemetry. Possible values:
5791
6101
  * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services.
5792
6102
  * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus.
@@ -5794,8 +6104,17 @@ class GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailRes
5794
6104
  """
5795
6105
  pulumi.set(__self__, "availability_proxy_metric_collection_interval", availability_proxy_metric_collection_interval)
5796
6106
  pulumi.set(__self__, "availability_proxy_metrics", availability_proxy_metrics)
6107
+ pulumi.set(__self__, "console_path_prefix", console_path_prefix)
6108
+ pulumi.set(__self__, "external_id_mapping", external_id_mapping)
6109
+ pulumi.set(__self__, "lifecycle_status_mappings_for_up_statuses", lifecycle_status_mappings_for_up_statuses)
5797
6110
  pulumi.set(__self__, "namespace", namespace)
5798
6111
  pulumi.set(__self__, "resource_group", resource_group)
6112
+ pulumi.set(__self__, "resource_name_filter", resource_name_filter)
6113
+ pulumi.set(__self__, "resource_name_mapping", resource_name_mapping)
6114
+ pulumi.set(__self__, "resource_type_filter", resource_type_filter)
6115
+ pulumi.set(__self__, "resource_type_mapping", resource_type_mapping)
6116
+ pulumi.set(__self__, "service_base_url", service_base_url)
6117
+ pulumi.set(__self__, "should_use_metrics_flow_for_status", should_use_metrics_flow_for_status)
5799
6118
  pulumi.set(__self__, "source", source)
5800
6119
  pulumi.set(__self__, "type", type)
5801
6120
 
@@ -5815,6 +6134,30 @@ class GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailRes
5815
6134
  """
5816
6135
  return pulumi.get(self, "availability_proxy_metrics")
5817
6136
 
6137
+ @property
6138
+ @pulumi.getter(name="consolePathPrefix")
6139
+ def console_path_prefix(self) -> str:
6140
+ """
6141
+ The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https://<cloudhostname>/security/bastion/bastions/<resourceOcid>. If not provided, service home page link will not be shown in the stack monitoring home page.
6142
+ """
6143
+ return pulumi.get(self, "console_path_prefix")
6144
+
6145
+ @property
6146
+ @pulumi.getter(name="externalIdMapping")
6147
+ def external_id_mapping(self) -> str:
6148
+ """
6149
+ The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
6150
+ """
6151
+ return pulumi.get(self, "external_id_mapping")
6152
+
6153
+ @property
6154
+ @pulumi.getter(name="lifecycleStatusMappingsForUpStatuses")
6155
+ def lifecycle_status_mappings_for_up_statuses(self) -> Sequence[str]:
6156
+ """
6157
+ Lifecycle states of the external resource which reflects the status of the resource being up.
6158
+ """
6159
+ return pulumi.get(self, "lifecycle_status_mappings_for_up_statuses")
6160
+
5818
6161
  @property
5819
6162
  @pulumi.getter
5820
6163
  def namespace(self) -> str:
@@ -5831,6 +6174,54 @@ class GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetailRes
5831
6174
  """
5832
6175
  return pulumi.get(self, "resource_group")
5833
6176
 
6177
+ @property
6178
+ @pulumi.getter(name="resourceNameFilter")
6179
+ def resource_name_filter(self) -> str:
6180
+ """
6181
+ The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
6182
+ """
6183
+ return pulumi.get(self, "resource_name_filter")
6184
+
6185
+ @property
6186
+ @pulumi.getter(name="resourceNameMapping")
6187
+ def resource_name_mapping(self) -> str:
6188
+ """
6189
+ The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
6190
+ """
6191
+ return pulumi.get(self, "resource_name_mapping")
6192
+
6193
+ @property
6194
+ @pulumi.getter(name="resourceTypeFilter")
6195
+ def resource_type_filter(self) -> str:
6196
+ """
6197
+ The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
6198
+ """
6199
+ return pulumi.get(self, "resource_type_filter")
6200
+
6201
+ @property
6202
+ @pulumi.getter(name="resourceTypeMapping")
6203
+ def resource_type_mapping(self) -> str:
6204
+ """
6205
+ The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type.
6206
+ """
6207
+ return pulumi.get(self, "resource_type_mapping")
6208
+
6209
+ @property
6210
+ @pulumi.getter(name="serviceBaseUrl")
6211
+ def service_base_url(self) -> str:
6212
+ """
6213
+ The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE.
6214
+ """
6215
+ return pulumi.get(self, "service_base_url")
6216
+
6217
+ @property
6218
+ @pulumi.getter(name="shouldUseMetricsFlowForStatus")
6219
+ def should_use_metrics_flow_for_status(self) -> bool:
6220
+ """
6221
+ Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service.
6222
+ """
6223
+ return pulumi.get(self, "should_use_metrics_flow_for_status")
6224
+
5834
6225
  @property
5835
6226
  @pulumi.getter
5836
6227
  def source(self) -> str:
@@ -6011,6 +6402,8 @@ class GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemResult(dict):
6011
6402
  metadatas: Sequence['outputs.GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataResult'],
6012
6403
  metric_namespace: str,
6013
6404
  name: str,
6405
+ resource_category: str,
6406
+ source_type: str,
6014
6407
  state: str,
6015
6408
  system_tags: Mapping[str, Any],
6016
6409
  time_created: str,
@@ -6025,6 +6418,8 @@ class GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemResult(dict):
6025
6418
  :param Sequence['GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataArgs'] metadatas: The metadata details for resource type.
6026
6419
  :param str metric_namespace: A filter to return monitored resource types that has the matching namespace.
6027
6420
  :param str name: A filter to return monitored resource types that match exactly with the resource type name given.
6421
+ :param str resource_category: Resource Category to indicate the kind of resource type.
6422
+ :param str source_type: Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
6028
6423
  :param str state: Lifecycle state of the monitored resource type.
6029
6424
  :param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
6030
6425
  :param str time_created: The date and time when the monitored resource type was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
@@ -6039,6 +6434,8 @@ class GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemResult(dict):
6039
6434
  pulumi.set(__self__, "metadatas", metadatas)
6040
6435
  pulumi.set(__self__, "metric_namespace", metric_namespace)
6041
6436
  pulumi.set(__self__, "name", name)
6437
+ pulumi.set(__self__, "resource_category", resource_category)
6438
+ pulumi.set(__self__, "source_type", source_type)
6042
6439
  pulumi.set(__self__, "state", state)
6043
6440
  pulumi.set(__self__, "system_tags", system_tags)
6044
6441
  pulumi.set(__self__, "time_created", time_created)
@@ -6116,6 +6513,22 @@ class GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemResult(dict):
6116
6513
  """
6117
6514
  return pulumi.get(self, "name")
6118
6515
 
6516
+ @property
6517
+ @pulumi.getter(name="resourceCategory")
6518
+ def resource_category(self) -> str:
6519
+ """
6520
+ Resource Category to indicate the kind of resource type.
6521
+ """
6522
+ return pulumi.get(self, "resource_category")
6523
+
6524
+ @property
6525
+ @pulumi.getter(name="sourceType")
6526
+ def source_type(self) -> str:
6527
+ """
6528
+ Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
6529
+ """
6530
+ return pulumi.get(self, "source_type")
6531
+
6119
6532
  @property
6120
6533
  @pulumi.getter
6121
6534
  def state(self) -> str:
@@ -6318,7 +6731,9 @@ class GetMonitoredResourcesMonitoredResourceCollectionItemResult(dict):
6318
6731
  management_agent_id: str,
6319
6732
  name: str,
6320
6733
  properties: Sequence['outputs.GetMonitoredResourcesMonitoredResourceCollectionItemPropertyResult'],
6734
+ resource_category: str,
6321
6735
  resource_time_zone: str,
6736
+ source_type: str,
6322
6737
  state: str,
6323
6738
  system_tags: Mapping[str, Any],
6324
6739
  tenant_id: str,
@@ -6339,7 +6754,9 @@ class GetMonitoredResourcesMonitoredResourceCollectionItemResult(dict):
6339
6754
  :param str management_agent_id: Management Agent Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
6340
6755
  :param str name: A filter to return resources that match exact resource name.
6341
6756
  :param Sequence['GetMonitoredResourcesMonitoredResourceCollectionItemPropertyArgs'] properties: List of monitored resource properties.
6757
+ :param str resource_category: Resource Category to indicate the kind of resource type.
6342
6758
  :param str resource_time_zone: Time zone in the form of tz database canonical zone ID.
6759
+ :param str source_type: Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
6343
6760
  :param str state: Lifecycle state of the monitored resource.
6344
6761
  :param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
6345
6762
  :param str tenant_id: Tenancy Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
@@ -6364,7 +6781,9 @@ class GetMonitoredResourcesMonitoredResourceCollectionItemResult(dict):
6364
6781
  pulumi.set(__self__, "management_agent_id", management_agent_id)
6365
6782
  pulumi.set(__self__, "name", name)
6366
6783
  pulumi.set(__self__, "properties", properties)
6784
+ pulumi.set(__self__, "resource_category", resource_category)
6367
6785
  pulumi.set(__self__, "resource_time_zone", resource_time_zone)
6786
+ pulumi.set(__self__, "source_type", source_type)
6368
6787
  pulumi.set(__self__, "state", state)
6369
6788
  pulumi.set(__self__, "system_tags", system_tags)
6370
6789
  pulumi.set(__self__, "tenant_id", tenant_id)
@@ -6496,6 +6915,14 @@ class GetMonitoredResourcesMonitoredResourceCollectionItemResult(dict):
6496
6915
  """
6497
6916
  return pulumi.get(self, "properties")
6498
6917
 
6918
+ @property
6919
+ @pulumi.getter(name="resourceCategory")
6920
+ def resource_category(self) -> str:
6921
+ """
6922
+ Resource Category to indicate the kind of resource type.
6923
+ """
6924
+ return pulumi.get(self, "resource_category")
6925
+
6499
6926
  @property
6500
6927
  @pulumi.getter(name="resourceTimeZone")
6501
6928
  def resource_time_zone(self) -> str:
@@ -6504,6 +6931,14 @@ class GetMonitoredResourcesMonitoredResourceCollectionItemResult(dict):
6504
6931
  """
6505
6932
  return pulumi.get(self, "resource_time_zone")
6506
6933
 
6934
+ @property
6935
+ @pulumi.getter(name="sourceType")
6936
+ def source_type(self) -> str:
6937
+ """
6938
+ Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
6939
+ """
6940
+ return pulumi.get(self, "source_type")
6941
+
6507
6942
  @property
6508
6943
  @pulumi.getter
6509
6944
  def state(self) -> str: