pulumi-oci 2.27.0a1742279484__py3-none-any.whl → 2.28.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.
Files changed (100) hide show
  1. pulumi_oci/__init__.py +144 -0
  2. pulumi_oci/containerengine/_inputs.py +9 -9
  3. pulumi_oci/containerengine/outputs.py +18 -22
  4. pulumi_oci/core/__init__.py +9 -0
  5. pulumi_oci/core/_inputs.py +196 -0
  6. pulumi_oci/core/compute_gpu_memory_cluster.py +706 -0
  7. pulumi_oci/core/compute_gpu_memory_fabric.py +667 -0
  8. pulumi_oci/core/get_compute_gpu_memory_cluster.py +281 -0
  9. pulumi_oci/core/get_compute_gpu_memory_cluster_instances.py +144 -0
  10. pulumi_oci/core/get_compute_gpu_memory_clusters.py +232 -0
  11. pulumi_oci/core/get_compute_gpu_memory_fabric.py +309 -0
  12. pulumi_oci/core/get_compute_gpu_memory_fabrics.py +289 -0
  13. pulumi_oci/core/get_compute_host.py +393 -0
  14. pulumi_oci/core/get_compute_hosts.py +254 -0
  15. pulumi_oci/core/outputs.py +847 -0
  16. pulumi_oci/database/__init__.py +2 -0
  17. pulumi_oci/database/_inputs.py +2211 -24
  18. pulumi_oci/database/autonomous_container_database.py +305 -52
  19. pulumi_oci/database/autonomous_container_database_add_standby.py +2183 -0
  20. pulumi_oci/database/autonomous_container_database_dataguard_association.py +80 -40
  21. pulumi_oci/database/autonomous_container_database_snapshot_standby.py +322 -0
  22. pulumi_oci/database/get_autonomous_container_database.py +103 -2
  23. pulumi_oci/database/get_autonomous_container_database_dataguard_association.py +12 -1
  24. pulumi_oci/database/get_autonomous_container_databases.py +1 -1
  25. pulumi_oci/database/get_maintenance_run.py +15 -1
  26. pulumi_oci/database/maintenance_run.py +28 -0
  27. pulumi_oci/database/outputs.py +2747 -225
  28. pulumi_oci/goldengate/_inputs.py +128 -0
  29. pulumi_oci/goldengate/deployment.py +103 -0
  30. pulumi_oci/goldengate/deployment_backup.py +28 -0
  31. pulumi_oci/goldengate/get_deployment.py +43 -1
  32. pulumi_oci/goldengate/get_deployment_backup.py +15 -1
  33. pulumi_oci/goldengate/outputs.py +289 -0
  34. pulumi_oci/identity/_inputs.py +9 -49
  35. pulumi_oci/identity/domains_app.py +34 -0
  36. pulumi_oci/identity/get_domains_app.py +12 -1
  37. pulumi_oci/identity/outputs.py +20 -47
  38. pulumi_oci/osmanagementhub/__init__.py +18 -0
  39. pulumi_oci/osmanagementhub/_inputs.py +677 -12
  40. pulumi_oci/osmanagementhub/event.py +8 -0
  41. pulumi_oci/osmanagementhub/get_entitlements.py +2 -2
  42. pulumi_oci/osmanagementhub/get_event.py +2 -0
  43. pulumi_oci/osmanagementhub/get_events.py +2 -0
  44. pulumi_oci/osmanagementhub/get_managed_instance.py +30 -2
  45. pulumi_oci/osmanagementhub/get_managed_instances.py +75 -63
  46. pulumi_oci/osmanagementhub/get_management_station.py +116 -4
  47. pulumi_oci/osmanagementhub/get_management_station_mirrors.py +1 -1
  48. pulumi_oci/osmanagementhub/get_management_stations.py +47 -4
  49. pulumi_oci/osmanagementhub/get_profile.py +32 -4
  50. pulumi_oci/osmanagementhub/get_profile_available_software_sources.py +207 -0
  51. pulumi_oci/osmanagementhub/get_profile_version.py +388 -0
  52. pulumi_oci/osmanagementhub/get_profiles.py +63 -3
  53. pulumi_oci/osmanagementhub/get_scheduled_job.py +15 -1
  54. pulumi_oci/osmanagementhub/get_software_package.py +2 -2
  55. pulumi_oci/osmanagementhub/get_software_package_software_source.py +7 -7
  56. pulumi_oci/osmanagementhub/get_software_source.py +89 -5
  57. pulumi_oci/osmanagementhub/get_software_source_available_software_packages.py +209 -0
  58. pulumi_oci/osmanagementhub/get_software_source_manifest.py +127 -0
  59. pulumi_oci/osmanagementhub/get_software_sources.py +30 -8
  60. pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +6 -39
  61. pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +6 -39
  62. pulumi_oci/osmanagementhub/lifecycle_stage_reboot_management.py +297 -0
  63. pulumi_oci/osmanagementhub/managed_instance.py +56 -0
  64. pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +49 -0
  65. pulumi_oci/osmanagementhub/managed_instance_group_reboot_management.py +297 -0
  66. pulumi_oci/osmanagementhub/managed_instance_reboot_management.py +299 -0
  67. pulumi_oci/osmanagementhub/management_station.py +251 -4
  68. pulumi_oci/osmanagementhub/management_station_associate_managed_instances_management.py +298 -0
  69. pulumi_oci/osmanagementhub/management_station_refresh_management.py +2 -2
  70. pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +9 -9
  71. pulumi_oci/osmanagementhub/outputs.py +1349 -50
  72. pulumi_oci/osmanagementhub/profile.py +70 -14
  73. pulumi_oci/osmanagementhub/profile_attach_lifecycle_stage_management.py +269 -0
  74. pulumi_oci/osmanagementhub/profile_attach_managed_instance_group_management.py +269 -0
  75. pulumi_oci/osmanagementhub/profile_attach_management_station_management.py +269 -0
  76. pulumi_oci/osmanagementhub/profile_attach_software_sources_management.py +269 -0
  77. pulumi_oci/osmanagementhub/profile_detach_software_sources_management.py +269 -0
  78. pulumi_oci/osmanagementhub/scheduled_job.py +72 -21
  79. pulumi_oci/osmanagementhub/software_source.py +365 -26
  80. pulumi_oci/osmanagementhub/software_source_add_packages_management.py +67 -10
  81. pulumi_oci/osmanagementhub/software_source_generate_metadata_management.py +217 -0
  82. pulumi_oci/osmanagementhub/software_source_manifest.py +268 -0
  83. pulumi_oci/osmanagementhub/software_source_remove_packages_management.py +277 -0
  84. pulumi_oci/osmanagementhub/software_source_replace_packages_management.py +277 -0
  85. pulumi_oci/osmanagementhub/work_request_rerun_management.py +325 -0
  86. pulumi_oci/pulumi-plugin.json +1 -1
  87. pulumi_oci/sch/_inputs.py +24 -24
  88. pulumi_oci/sch/connector.py +46 -18
  89. pulumi_oci/sch/get_service_connector.py +16 -8
  90. pulumi_oci/sch/outputs.py +53 -50
  91. pulumi_oci/stackmonitoring/_inputs.py +191 -0
  92. pulumi_oci/stackmonitoring/config.py +307 -23
  93. pulumi_oci/stackmonitoring/get_config.py +90 -5
  94. pulumi_oci/stackmonitoring/get_maintenance_window.py +43 -1
  95. pulumi_oci/stackmonitoring/maintenance_window.py +136 -2
  96. pulumi_oci/stackmonitoring/outputs.py +448 -3
  97. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/METADATA +2 -2
  98. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/RECORD +100 -71
  99. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/WHEEL +1 -1
  100. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,207 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = [
20
+ 'GetProfileAvailableSoftwareSourcesResult',
21
+ 'AwaitableGetProfileAvailableSoftwareSourcesResult',
22
+ 'get_profile_available_software_sources',
23
+ 'get_profile_available_software_sources_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetProfileAvailableSoftwareSourcesResult:
28
+ """
29
+ A collection of values returned by getProfileAvailableSoftwareSources.
30
+ """
31
+ def __init__(__self__, available_software_source_collections=None, compartment_id=None, display_name_contains=None, display_names=None, filters=None, id=None, profile_id=None):
32
+ if available_software_source_collections and not isinstance(available_software_source_collections, list):
33
+ raise TypeError("Expected argument 'available_software_source_collections' to be a list")
34
+ pulumi.set(__self__, "available_software_source_collections", available_software_source_collections)
35
+ if compartment_id and not isinstance(compartment_id, str):
36
+ raise TypeError("Expected argument 'compartment_id' to be a str")
37
+ pulumi.set(__self__, "compartment_id", compartment_id)
38
+ if display_name_contains and not isinstance(display_name_contains, str):
39
+ raise TypeError("Expected argument 'display_name_contains' to be a str")
40
+ pulumi.set(__self__, "display_name_contains", display_name_contains)
41
+ if display_names and not isinstance(display_names, list):
42
+ raise TypeError("Expected argument 'display_names' to be a list")
43
+ pulumi.set(__self__, "display_names", display_names)
44
+ if filters and not isinstance(filters, list):
45
+ raise TypeError("Expected argument 'filters' to be a list")
46
+ pulumi.set(__self__, "filters", filters)
47
+ if id and not isinstance(id, str):
48
+ raise TypeError("Expected argument 'id' to be a str")
49
+ pulumi.set(__self__, "id", id)
50
+ if profile_id and not isinstance(profile_id, str):
51
+ raise TypeError("Expected argument 'profile_id' to be a str")
52
+ pulumi.set(__self__, "profile_id", profile_id)
53
+
54
+ @property
55
+ @pulumi.getter(name="availableSoftwareSourceCollections")
56
+ def available_software_source_collections(self) -> Sequence['outputs.GetProfileAvailableSoftwareSourcesAvailableSoftwareSourceCollectionResult']:
57
+ """
58
+ The list of available_software_source_collection.
59
+ """
60
+ return pulumi.get(self, "available_software_source_collections")
61
+
62
+ @property
63
+ @pulumi.getter(name="compartmentId")
64
+ def compartment_id(self) -> Optional[str]:
65
+ """
66
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
67
+ """
68
+ return pulumi.get(self, "compartment_id")
69
+
70
+ @property
71
+ @pulumi.getter(name="displayNameContains")
72
+ def display_name_contains(self) -> Optional[str]:
73
+ return pulumi.get(self, "display_name_contains")
74
+
75
+ @property
76
+ @pulumi.getter(name="displayNames")
77
+ def display_names(self) -> Optional[Sequence[str]]:
78
+ """
79
+ User-friendly name for the software source.
80
+ """
81
+ return pulumi.get(self, "display_names")
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def filters(self) -> Optional[Sequence['outputs.GetProfileAvailableSoftwareSourcesFilterResult']]:
86
+ return pulumi.get(self, "filters")
87
+
88
+ @property
89
+ @pulumi.getter
90
+ def id(self) -> str:
91
+ """
92
+ The provider-assigned unique ID for this managed resource.
93
+ """
94
+ return pulumi.get(self, "id")
95
+
96
+ @property
97
+ @pulumi.getter(name="profileId")
98
+ def profile_id(self) -> str:
99
+ return pulumi.get(self, "profile_id")
100
+
101
+
102
+ class AwaitableGetProfileAvailableSoftwareSourcesResult(GetProfileAvailableSoftwareSourcesResult):
103
+ # pylint: disable=using-constant-test
104
+ def __await__(self):
105
+ if False:
106
+ yield self
107
+ return GetProfileAvailableSoftwareSourcesResult(
108
+ available_software_source_collections=self.available_software_source_collections,
109
+ compartment_id=self.compartment_id,
110
+ display_name_contains=self.display_name_contains,
111
+ display_names=self.display_names,
112
+ filters=self.filters,
113
+ id=self.id,
114
+ profile_id=self.profile_id)
115
+
116
+
117
+ def get_profile_available_software_sources(compartment_id: Optional[str] = None,
118
+ display_name_contains: Optional[str] = None,
119
+ display_names: Optional[Sequence[str]] = None,
120
+ filters: Optional[Sequence[Union['GetProfileAvailableSoftwareSourcesFilterArgs', 'GetProfileAvailableSoftwareSourcesFilterArgsDict']]] = None,
121
+ profile_id: Optional[str] = None,
122
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProfileAvailableSoftwareSourcesResult:
123
+ """
124
+ This data source provides the list of Profile Available Software Sources in Oracle Cloud Infrastructure Os Management Hub service.
125
+
126
+ Lists available software sources for a specified profile. Filter the list against a variety of criteria including but not limited to the software source name. The results list only software sources that have not already been added to the profile.
127
+
128
+ ## Example Usage
129
+
130
+ ```python
131
+ import pulumi
132
+ import pulumi_oci as oci
133
+
134
+ test_profile_available_software_sources = oci.OsManagementHub.get_profile_available_software_sources(profile_id=test_profile["id"],
135
+ compartment_id=compartment_id,
136
+ display_names=profile_available_software_source_display_name,
137
+ display_name_contains=profile_available_software_source_display_name_contains)
138
+ ```
139
+
140
+
141
+ :param str compartment_id: The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
142
+ :param str display_name_contains: A filter to return resources that may partially match the given display name.
143
+ :param Sequence[str] display_names: A filter to return resources that match the given display names.
144
+ :param str profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
145
+ """
146
+ __args__ = dict()
147
+ __args__['compartmentId'] = compartment_id
148
+ __args__['displayNameContains'] = display_name_contains
149
+ __args__['displayNames'] = display_names
150
+ __args__['filters'] = filters
151
+ __args__['profileId'] = profile_id
152
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
153
+ __ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getProfileAvailableSoftwareSources:getProfileAvailableSoftwareSources', __args__, opts=opts, typ=GetProfileAvailableSoftwareSourcesResult).value
154
+
155
+ return AwaitableGetProfileAvailableSoftwareSourcesResult(
156
+ available_software_source_collections=pulumi.get(__ret__, 'available_software_source_collections'),
157
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
158
+ display_name_contains=pulumi.get(__ret__, 'display_name_contains'),
159
+ display_names=pulumi.get(__ret__, 'display_names'),
160
+ filters=pulumi.get(__ret__, 'filters'),
161
+ id=pulumi.get(__ret__, 'id'),
162
+ profile_id=pulumi.get(__ret__, 'profile_id'))
163
+ def get_profile_available_software_sources_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
164
+ display_name_contains: Optional[pulumi.Input[Optional[str]]] = None,
165
+ display_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
166
+ filters: Optional[pulumi.Input[Optional[Sequence[Union['GetProfileAvailableSoftwareSourcesFilterArgs', 'GetProfileAvailableSoftwareSourcesFilterArgsDict']]]]] = None,
167
+ profile_id: Optional[pulumi.Input[str]] = None,
168
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProfileAvailableSoftwareSourcesResult]:
169
+ """
170
+ This data source provides the list of Profile Available Software Sources in Oracle Cloud Infrastructure Os Management Hub service.
171
+
172
+ Lists available software sources for a specified profile. Filter the list against a variety of criteria including but not limited to the software source name. The results list only software sources that have not already been added to the profile.
173
+
174
+ ## Example Usage
175
+
176
+ ```python
177
+ import pulumi
178
+ import pulumi_oci as oci
179
+
180
+ test_profile_available_software_sources = oci.OsManagementHub.get_profile_available_software_sources(profile_id=test_profile["id"],
181
+ compartment_id=compartment_id,
182
+ display_names=profile_available_software_source_display_name,
183
+ display_name_contains=profile_available_software_source_display_name_contains)
184
+ ```
185
+
186
+
187
+ :param str compartment_id: The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
188
+ :param str display_name_contains: A filter to return resources that may partially match the given display name.
189
+ :param Sequence[str] display_names: A filter to return resources that match the given display names.
190
+ :param str profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
191
+ """
192
+ __args__ = dict()
193
+ __args__['compartmentId'] = compartment_id
194
+ __args__['displayNameContains'] = display_name_contains
195
+ __args__['displayNames'] = display_names
196
+ __args__['filters'] = filters
197
+ __args__['profileId'] = profile_id
198
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
199
+ __ret__ = pulumi.runtime.invoke_output('oci:OsManagementHub/getProfileAvailableSoftwareSources:getProfileAvailableSoftwareSources', __args__, opts=opts, typ=GetProfileAvailableSoftwareSourcesResult)
200
+ return __ret__.apply(lambda __response__: GetProfileAvailableSoftwareSourcesResult(
201
+ available_software_source_collections=pulumi.get(__response__, 'available_software_source_collections'),
202
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
203
+ display_name_contains=pulumi.get(__response__, 'display_name_contains'),
204
+ display_names=pulumi.get(__response__, 'display_names'),
205
+ filters=pulumi.get(__response__, 'filters'),
206
+ id=pulumi.get(__response__, 'id'),
207
+ profile_id=pulumi.get(__response__, 'profile_id')))
@@ -0,0 +1,388 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetProfileVersionResult',
20
+ 'AwaitableGetProfileVersionResult',
21
+ 'get_profile_version',
22
+ 'get_profile_version_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetProfileVersionResult:
27
+ """
28
+ A collection of values returned by getProfileVersion.
29
+ """
30
+ def __init__(__self__, arch_type=None, compartment_id=None, description=None, display_name=None, id=None, is_default_profile=None, is_service_provided_profile=None, lifecycle_environments=None, lifecycle_stages=None, managed_instance_groups=None, management_station_id=None, os_family=None, profile_id=None, profile_type=None, profile_version=None, registration_type=None, software_sources=None, state=None, time_created=None, time_modified=None, vendor_name=None):
31
+ if arch_type and not isinstance(arch_type, str):
32
+ raise TypeError("Expected argument 'arch_type' to be a str")
33
+ pulumi.set(__self__, "arch_type", arch_type)
34
+ if compartment_id and not isinstance(compartment_id, str):
35
+ raise TypeError("Expected argument 'compartment_id' to be a str")
36
+ pulumi.set(__self__, "compartment_id", compartment_id)
37
+ if description and not isinstance(description, str):
38
+ raise TypeError("Expected argument 'description' to be a str")
39
+ pulumi.set(__self__, "description", description)
40
+ if display_name and not isinstance(display_name, str):
41
+ raise TypeError("Expected argument 'display_name' to be a str")
42
+ pulumi.set(__self__, "display_name", display_name)
43
+ if id and not isinstance(id, str):
44
+ raise TypeError("Expected argument 'id' to be a str")
45
+ pulumi.set(__self__, "id", id)
46
+ if is_default_profile and not isinstance(is_default_profile, bool):
47
+ raise TypeError("Expected argument 'is_default_profile' to be a bool")
48
+ pulumi.set(__self__, "is_default_profile", is_default_profile)
49
+ if is_service_provided_profile and not isinstance(is_service_provided_profile, bool):
50
+ raise TypeError("Expected argument 'is_service_provided_profile' to be a bool")
51
+ pulumi.set(__self__, "is_service_provided_profile", is_service_provided_profile)
52
+ if lifecycle_environments and not isinstance(lifecycle_environments, list):
53
+ raise TypeError("Expected argument 'lifecycle_environments' to be a list")
54
+ pulumi.set(__self__, "lifecycle_environments", lifecycle_environments)
55
+ if lifecycle_stages and not isinstance(lifecycle_stages, list):
56
+ raise TypeError("Expected argument 'lifecycle_stages' to be a list")
57
+ pulumi.set(__self__, "lifecycle_stages", lifecycle_stages)
58
+ if managed_instance_groups and not isinstance(managed_instance_groups, list):
59
+ raise TypeError("Expected argument 'managed_instance_groups' to be a list")
60
+ pulumi.set(__self__, "managed_instance_groups", managed_instance_groups)
61
+ if management_station_id and not isinstance(management_station_id, str):
62
+ raise TypeError("Expected argument 'management_station_id' to be a str")
63
+ pulumi.set(__self__, "management_station_id", management_station_id)
64
+ if os_family and not isinstance(os_family, str):
65
+ raise TypeError("Expected argument 'os_family' to be a str")
66
+ pulumi.set(__self__, "os_family", os_family)
67
+ if profile_id and not isinstance(profile_id, str):
68
+ raise TypeError("Expected argument 'profile_id' to be a str")
69
+ pulumi.set(__self__, "profile_id", profile_id)
70
+ if profile_type and not isinstance(profile_type, str):
71
+ raise TypeError("Expected argument 'profile_type' to be a str")
72
+ pulumi.set(__self__, "profile_type", profile_type)
73
+ if profile_version and not isinstance(profile_version, str):
74
+ raise TypeError("Expected argument 'profile_version' to be a str")
75
+ pulumi.set(__self__, "profile_version", profile_version)
76
+ if registration_type and not isinstance(registration_type, str):
77
+ raise TypeError("Expected argument 'registration_type' to be a str")
78
+ pulumi.set(__self__, "registration_type", registration_type)
79
+ if software_sources and not isinstance(software_sources, list):
80
+ raise TypeError("Expected argument 'software_sources' to be a list")
81
+ pulumi.set(__self__, "software_sources", software_sources)
82
+ if state and not isinstance(state, str):
83
+ raise TypeError("Expected argument 'state' to be a str")
84
+ pulumi.set(__self__, "state", state)
85
+ if time_created and not isinstance(time_created, str):
86
+ raise TypeError("Expected argument 'time_created' to be a str")
87
+ pulumi.set(__self__, "time_created", time_created)
88
+ if time_modified and not isinstance(time_modified, str):
89
+ raise TypeError("Expected argument 'time_modified' to be a str")
90
+ pulumi.set(__self__, "time_modified", time_modified)
91
+ if vendor_name and not isinstance(vendor_name, str):
92
+ raise TypeError("Expected argument 'vendor_name' to be a str")
93
+ pulumi.set(__self__, "vendor_name", vendor_name)
94
+
95
+ @property
96
+ @pulumi.getter(name="archType")
97
+ def arch_type(self) -> str:
98
+ """
99
+ The architecture type.
100
+ """
101
+ return pulumi.get(self, "arch_type")
102
+
103
+ @property
104
+ @pulumi.getter(name="compartmentId")
105
+ def compartment_id(self) -> str:
106
+ """
107
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile.
108
+ """
109
+ return pulumi.get(self, "compartment_id")
110
+
111
+ @property
112
+ @pulumi.getter
113
+ def description(self) -> str:
114
+ """
115
+ Software source description.
116
+ """
117
+ return pulumi.get(self, "description")
118
+
119
+ @property
120
+ @pulumi.getter(name="displayName")
121
+ def display_name(self) -> str:
122
+ """
123
+ Software source name.
124
+ """
125
+ return pulumi.get(self, "display_name")
126
+
127
+ @property
128
+ @pulumi.getter
129
+ def id(self) -> str:
130
+ """
131
+ The provider-assigned unique ID for this managed resource.
132
+ """
133
+ return pulumi.get(self, "id")
134
+
135
+ @property
136
+ @pulumi.getter(name="isDefaultProfile")
137
+ def is_default_profile(self) -> bool:
138
+ """
139
+ Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
140
+ """
141
+ return pulumi.get(self, "is_default_profile")
142
+
143
+ @property
144
+ @pulumi.getter(name="isServiceProvidedProfile")
145
+ def is_service_provided_profile(self) -> bool:
146
+ """
147
+ Indicates if the profile was created by the service. OS Management Hub provides a limited set of standardized profiles that can be used to register Autonomous Linux or Windows instances.
148
+ """
149
+ return pulumi.get(self, "is_service_provided_profile")
150
+
151
+ @property
152
+ @pulumi.getter(name="lifecycleEnvironments")
153
+ def lifecycle_environments(self) -> Sequence['outputs.GetProfileVersionLifecycleEnvironmentResult']:
154
+ """
155
+ Provides identifying information for the specified lifecycle environment.
156
+ """
157
+ return pulumi.get(self, "lifecycle_environments")
158
+
159
+ @property
160
+ @pulumi.getter(name="lifecycleStages")
161
+ def lifecycle_stages(self) -> Sequence['outputs.GetProfileVersionLifecycleStageResult']:
162
+ """
163
+ Provides identifying information for the specified lifecycle stage.
164
+ """
165
+ return pulumi.get(self, "lifecycle_stages")
166
+
167
+ @property
168
+ @pulumi.getter(name="managedInstanceGroups")
169
+ def managed_instance_groups(self) -> Sequence['outputs.GetProfileVersionManagedInstanceGroupResult']:
170
+ """
171
+ Provides identifying information for the specified managed instance group.
172
+ """
173
+ return pulumi.get(self, "managed_instance_groups")
174
+
175
+ @property
176
+ @pulumi.getter(name="managementStationId")
177
+ def management_station_id(self) -> str:
178
+ """
179
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. Management stations are only used with non-OCI instances.
180
+ """
181
+ return pulumi.get(self, "management_station_id")
182
+
183
+ @property
184
+ @pulumi.getter(name="osFamily")
185
+ def os_family(self) -> str:
186
+ """
187
+ The operating system family.
188
+ """
189
+ return pulumi.get(self, "os_family")
190
+
191
+ @property
192
+ @pulumi.getter(name="profileId")
193
+ def profile_id(self) -> str:
194
+ return pulumi.get(self, "profile_id")
195
+
196
+ @property
197
+ @pulumi.getter(name="profileType")
198
+ def profile_type(self) -> str:
199
+ """
200
+ The type of profile.
201
+ """
202
+ return pulumi.get(self, "profile_type")
203
+
204
+ @property
205
+ @pulumi.getter(name="profileVersion")
206
+ def profile_version(self) -> str:
207
+ """
208
+ The version of the profile.
209
+ """
210
+ return pulumi.get(self, "profile_version")
211
+
212
+ @property
213
+ @pulumi.getter(name="registrationType")
214
+ def registration_type(self) -> str:
215
+ """
216
+ The type of instance to register.
217
+ """
218
+ return pulumi.get(self, "registration_type")
219
+
220
+ @property
221
+ @pulumi.getter(name="softwareSources")
222
+ def software_sources(self) -> Sequence['outputs.GetProfileVersionSoftwareSourceResult']:
223
+ """
224
+ The list of software sources that the registration profile will use.
225
+ """
226
+ return pulumi.get(self, "software_sources")
227
+
228
+ @property
229
+ @pulumi.getter
230
+ def state(self) -> str:
231
+ """
232
+ The current state of the registration profile.
233
+ """
234
+ return pulumi.get(self, "state")
235
+
236
+ @property
237
+ @pulumi.getter(name="timeCreated")
238
+ def time_created(self) -> str:
239
+ """
240
+ The time the registration profile was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
241
+ """
242
+ return pulumi.get(self, "time_created")
243
+
244
+ @property
245
+ @pulumi.getter(name="timeModified")
246
+ def time_modified(self) -> str:
247
+ """
248
+ The time the registration profile was last modified (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
249
+ """
250
+ return pulumi.get(self, "time_modified")
251
+
252
+ @property
253
+ @pulumi.getter(name="vendorName")
254
+ def vendor_name(self) -> str:
255
+ """
256
+ The vendor of the operating system for the instance.
257
+ """
258
+ return pulumi.get(self, "vendor_name")
259
+
260
+
261
+ class AwaitableGetProfileVersionResult(GetProfileVersionResult):
262
+ # pylint: disable=using-constant-test
263
+ def __await__(self):
264
+ if False:
265
+ yield self
266
+ return GetProfileVersionResult(
267
+ arch_type=self.arch_type,
268
+ compartment_id=self.compartment_id,
269
+ description=self.description,
270
+ display_name=self.display_name,
271
+ id=self.id,
272
+ is_default_profile=self.is_default_profile,
273
+ is_service_provided_profile=self.is_service_provided_profile,
274
+ lifecycle_environments=self.lifecycle_environments,
275
+ lifecycle_stages=self.lifecycle_stages,
276
+ managed_instance_groups=self.managed_instance_groups,
277
+ management_station_id=self.management_station_id,
278
+ os_family=self.os_family,
279
+ profile_id=self.profile_id,
280
+ profile_type=self.profile_type,
281
+ profile_version=self.profile_version,
282
+ registration_type=self.registration_type,
283
+ software_sources=self.software_sources,
284
+ state=self.state,
285
+ time_created=self.time_created,
286
+ time_modified=self.time_modified,
287
+ vendor_name=self.vendor_name)
288
+
289
+
290
+ def get_profile_version(profile_id: Optional[str] = None,
291
+ profile_version: Optional[str] = None,
292
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProfileVersionResult:
293
+ """
294
+ This data source provides details about a specific Profile Version resource in Oracle Cloud Infrastructure Os Management Hub service.
295
+
296
+ Returns information about the version of the specified registration profile.
297
+
298
+ ## Example Usage
299
+
300
+ ```python
301
+ import pulumi
302
+ import pulumi_oci as oci
303
+
304
+ test_profile_version = oci.OsManagementHub.get_profile_version(profile_id=test_profile["id"],
305
+ profile_version=profile_version_profile_version)
306
+ ```
307
+
308
+
309
+ :param str profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
310
+ :param str profile_version: The version of the registration profile.
311
+ """
312
+ __args__ = dict()
313
+ __args__['profileId'] = profile_id
314
+ __args__['profileVersion'] = profile_version
315
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
316
+ __ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getProfileVersion:getProfileVersion', __args__, opts=opts, typ=GetProfileVersionResult).value
317
+
318
+ return AwaitableGetProfileVersionResult(
319
+ arch_type=pulumi.get(__ret__, 'arch_type'),
320
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
321
+ description=pulumi.get(__ret__, 'description'),
322
+ display_name=pulumi.get(__ret__, 'display_name'),
323
+ id=pulumi.get(__ret__, 'id'),
324
+ is_default_profile=pulumi.get(__ret__, 'is_default_profile'),
325
+ is_service_provided_profile=pulumi.get(__ret__, 'is_service_provided_profile'),
326
+ lifecycle_environments=pulumi.get(__ret__, 'lifecycle_environments'),
327
+ lifecycle_stages=pulumi.get(__ret__, 'lifecycle_stages'),
328
+ managed_instance_groups=pulumi.get(__ret__, 'managed_instance_groups'),
329
+ management_station_id=pulumi.get(__ret__, 'management_station_id'),
330
+ os_family=pulumi.get(__ret__, 'os_family'),
331
+ profile_id=pulumi.get(__ret__, 'profile_id'),
332
+ profile_type=pulumi.get(__ret__, 'profile_type'),
333
+ profile_version=pulumi.get(__ret__, 'profile_version'),
334
+ registration_type=pulumi.get(__ret__, 'registration_type'),
335
+ software_sources=pulumi.get(__ret__, 'software_sources'),
336
+ state=pulumi.get(__ret__, 'state'),
337
+ time_created=pulumi.get(__ret__, 'time_created'),
338
+ time_modified=pulumi.get(__ret__, 'time_modified'),
339
+ vendor_name=pulumi.get(__ret__, 'vendor_name'))
340
+ def get_profile_version_output(profile_id: Optional[pulumi.Input[str]] = None,
341
+ profile_version: Optional[pulumi.Input[str]] = None,
342
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProfileVersionResult]:
343
+ """
344
+ This data source provides details about a specific Profile Version resource in Oracle Cloud Infrastructure Os Management Hub service.
345
+
346
+ Returns information about the version of the specified registration profile.
347
+
348
+ ## Example Usage
349
+
350
+ ```python
351
+ import pulumi
352
+ import pulumi_oci as oci
353
+
354
+ test_profile_version = oci.OsManagementHub.get_profile_version(profile_id=test_profile["id"],
355
+ profile_version=profile_version_profile_version)
356
+ ```
357
+
358
+
359
+ :param str profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
360
+ :param str profile_version: The version of the registration profile.
361
+ """
362
+ __args__ = dict()
363
+ __args__['profileId'] = profile_id
364
+ __args__['profileVersion'] = profile_version
365
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
366
+ __ret__ = pulumi.runtime.invoke_output('oci:OsManagementHub/getProfileVersion:getProfileVersion', __args__, opts=opts, typ=GetProfileVersionResult)
367
+ return __ret__.apply(lambda __response__: GetProfileVersionResult(
368
+ arch_type=pulumi.get(__response__, 'arch_type'),
369
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
370
+ description=pulumi.get(__response__, 'description'),
371
+ display_name=pulumi.get(__response__, 'display_name'),
372
+ id=pulumi.get(__response__, 'id'),
373
+ is_default_profile=pulumi.get(__response__, 'is_default_profile'),
374
+ is_service_provided_profile=pulumi.get(__response__, 'is_service_provided_profile'),
375
+ lifecycle_environments=pulumi.get(__response__, 'lifecycle_environments'),
376
+ lifecycle_stages=pulumi.get(__response__, 'lifecycle_stages'),
377
+ managed_instance_groups=pulumi.get(__response__, 'managed_instance_groups'),
378
+ management_station_id=pulumi.get(__response__, 'management_station_id'),
379
+ os_family=pulumi.get(__response__, 'os_family'),
380
+ profile_id=pulumi.get(__response__, 'profile_id'),
381
+ profile_type=pulumi.get(__response__, 'profile_type'),
382
+ profile_version=pulumi.get(__response__, 'profile_version'),
383
+ registration_type=pulumi.get(__response__, 'registration_type'),
384
+ software_sources=pulumi.get(__response__, 'software_sources'),
385
+ state=pulumi.get(__response__, 'state'),
386
+ time_created=pulumi.get(__response__, 'time_created'),
387
+ time_modified=pulumi.get(__response__, 'time_modified'),
388
+ vendor_name=pulumi.get(__response__, 'vendor_name')))