pulumi-oci 2.5.0a1721976101__py3-none-any.whl → 2.5.0a1722606028__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +59 -32
- pulumi_oci/bigdataservice/bds_instance.py +47 -0
- pulumi_oci/bigdataservice/get_bds_instance.py +11 -1
- pulumi_oci/bigdataservice/outputs.py +7 -0
- pulumi_oci/core/__init__.py +3 -0
- pulumi_oci/core/_inputs.py +40 -0
- pulumi_oci/core/get_instance_maintenance_event.py +414 -0
- pulumi_oci/core/get_instance_maintenance_events.py +250 -0
- pulumi_oci/core/instance_maintenance_event.py +1022 -0
- pulumi_oci/core/outputs.py +314 -0
- pulumi_oci/database/autonomous_database.py +28 -0
- pulumi_oci/database/get_autonomous_database.py +14 -1
- pulumi_oci/database/outputs.py +22 -0
- pulumi_oci/databasemigration/_inputs.py +184 -0
- pulumi_oci/databasemigration/job.py +99 -24
- pulumi_oci/databasemigration/outputs.py +171 -0
- pulumi_oci/datasafe/__init__.py +2 -4
- pulumi_oci/datasafe/_inputs.py +55 -0
- pulumi_oci/datasafe/alert.py +56 -0
- pulumi_oci/datasafe/alert_policy.py +745 -0
- pulumi_oci/datasafe/alert_policy_rule.py +446 -0
- pulumi_oci/datasafe/get_alert.py +27 -1
- pulumi_oci/datasafe/get_alert_policy.py +26 -2
- pulumi_oci/datasafe/get_alert_policy_rule.py +94 -18
- pulumi_oci/datasafe/get_report.py +14 -1
- pulumi_oci/datasafe/get_report_definition.py +14 -1
- pulumi_oci/datasafe/get_target_alert_policy_association.py +15 -2
- pulumi_oci/datasafe/outputs.py +231 -27
- pulumi_oci/datasafe/report.py +28 -0
- pulumi_oci/datasafe/report_definition.py +28 -0
- pulumi_oci/datasafe/target_alert_policy_association.py +28 -0
- pulumi_oci/fleetsoftwareupdate/__init__.py +15 -0
- pulumi_oci/fleetsoftwareupdate/_inputs.py +553 -0
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +514 -0
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +812 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +225 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +141 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +325 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +167 -0
- pulumi_oci/fleetsoftwareupdate/outputs.py +1481 -0
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +3 -0
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +3 -0
- pulumi_oci/generativeai/get_endpoint.py +6 -9
- pulumi_oci/generativeai/get_endpoints.py +3 -3
- pulumi_oci/generativeai/get_model.py +36 -6
- pulumi_oci/generativeai/get_models.py +6 -0
- pulumi_oci/generativeai/outputs.py +228 -16
- pulumi_oci/identity/__init__.py +3 -0
- pulumi_oci/identity/_inputs.py +1029 -0
- pulumi_oci/identity/domains_social_identity_provider.py +4628 -0
- pulumi_oci/identity/get_domains_social_identity_provider.py +664 -0
- pulumi_oci/identity/get_domains_social_identity_providers.py +276 -0
- pulumi_oci/identity/outputs.py +19544 -17378
- pulumi_oci/networkfirewall/__init__.py +3 -0
- pulumi_oci/networkfirewall/_inputs.py +150 -0
- pulumi_oci/networkfirewall/get_network_firewall_policy_tunnel_inspection_rule.py +227 -0
- pulumi_oci/networkfirewall/get_network_firewall_policy_tunnel_inspection_rules.py +167 -0
- pulumi_oci/networkfirewall/network_firewall_policy_tunnel_inspection_rule.py +605 -0
- pulumi_oci/networkfirewall/outputs.py +457 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/get_redis_cluster.py +1 -1
- pulumi_oci/redis/outputs.py +2 -2
- pulumi_oci/redis/redis_cluster.py +7 -7
- pulumi_oci/stackmonitoring/_inputs.py +2 -2
- pulumi_oci/stackmonitoring/baselineable_metric.py +76 -28
- pulumi_oci/stackmonitoring/get_baselineable_metric.py +14 -1
- pulumi_oci/stackmonitoring/get_baselineable_metrics.py +45 -5
- pulumi_oci/stackmonitoring/outputs.py +19 -8
- {pulumi_oci-2.5.0a1721976101.dist-info → pulumi_oci-2.5.0a1722606028.dist-info}/METADATA +1 -1
- {pulumi_oci-2.5.0a1721976101.dist-info → pulumi_oci-2.5.0a1722606028.dist-info}/RECORD +72 -56
- {pulumi_oci-2.5.0a1721976101.dist-info → pulumi_oci-2.5.0a1722606028.dist-info}/WHEEL +1 -1
- pulumi_oci/datasafe/masking_policy_health_report_management.py +0 -453
- pulumi_oci/datasafe/masking_report_management.py +0 -693
- pulumi_oci/datasafe/set_security_assessment_baseline_management.py +0 -304
- pulumi_oci/datasafe/set_user_assessment_baseline_management.py +0 -304
- {pulumi_oci-2.5.0a1721976101.dist-info → pulumi_oci-2.5.0a1722606028.dist-info}/top_level.txt +0 -0
@@ -778,12 +778,11 @@ class GetEndpointsEndpointCollectionItemResult(dict):
|
|
778
778
|
time_updated: str):
|
779
779
|
"""
|
780
780
|
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
781
|
-
:param
|
781
|
+
:param str description: An optional description of the endpoint.
|
782
782
|
:param str display_name: A filter to return only resources that match the given display name exactly.
|
783
783
|
:param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint.
|
784
784
|
:param str model_id: The OCID of the model that's used to create this endpoint.
|
785
785
|
:param str state: A filter to return only resources that their lifecycle state matches the given lifecycle state.
|
786
|
-
:param str time_created: The date and time that the endpoint was created in the format of an RFC3339 datetime string.
|
787
786
|
:param str time_updated: The date and time that the endpoint was updated in the format of an RFC3339 datetime string.
|
788
787
|
"""
|
789
788
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -822,14 +821,14 @@ class GetEndpointsEndpointCollectionItemResult(dict):
|
|
822
821
|
@property
|
823
822
|
@pulumi.getter(name="definedTags")
|
824
823
|
def defined_tags(self) -> Mapping[str, Any]:
|
825
|
-
"""
|
826
|
-
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
827
|
-
"""
|
828
824
|
return pulumi.get(self, "defined_tags")
|
829
825
|
|
830
826
|
@property
|
831
827
|
@pulumi.getter
|
832
828
|
def description(self) -> str:
|
829
|
+
"""
|
830
|
+
An optional description of the endpoint.
|
831
|
+
"""
|
833
832
|
return pulumi.get(self, "description")
|
834
833
|
|
835
834
|
@property
|
@@ -882,9 +881,6 @@ class GetEndpointsEndpointCollectionItemResult(dict):
|
|
882
881
|
@property
|
883
882
|
@pulumi.getter(name="timeCreated")
|
884
883
|
def time_created(self) -> str:
|
885
|
-
"""
|
886
|
-
The date and time that the endpoint was created in the format of an RFC3339 datetime string.
|
887
|
-
"""
|
888
884
|
return pulumi.get(self, "time_created")
|
889
885
|
|
890
886
|
@property
|
@@ -941,6 +937,11 @@ class GetModelFineTuneDetailResult(dict):
|
|
941
937
|
dedicated_ai_cluster_id: str,
|
942
938
|
training_configs: Sequence['outputs.GetModelFineTuneDetailTrainingConfigResult'],
|
943
939
|
training_datasets: Sequence['outputs.GetModelFineTuneDetailTrainingDatasetResult']):
|
940
|
+
"""
|
941
|
+
:param str dedicated_ai_cluster_id: The OCID of the dedicated AI cluster this fine-tuning runs on.
|
942
|
+
:param Sequence['GetModelFineTuneDetailTrainingConfigArgs'] training_configs: The fine-tuning method and hyperparameters used for fine-tuning a custom model.
|
943
|
+
:param Sequence['GetModelFineTuneDetailTrainingDatasetArgs'] training_datasets: The dataset used to fine-tune the model.
|
944
|
+
"""
|
944
945
|
pulumi.set(__self__, "dedicated_ai_cluster_id", dedicated_ai_cluster_id)
|
945
946
|
pulumi.set(__self__, "training_configs", training_configs)
|
946
947
|
pulumi.set(__self__, "training_datasets", training_datasets)
|
@@ -948,16 +949,25 @@ class GetModelFineTuneDetailResult(dict):
|
|
948
949
|
@property
|
949
950
|
@pulumi.getter(name="dedicatedAiClusterId")
|
950
951
|
def dedicated_ai_cluster_id(self) -> str:
|
952
|
+
"""
|
953
|
+
The OCID of the dedicated AI cluster this fine-tuning runs on.
|
954
|
+
"""
|
951
955
|
return pulumi.get(self, "dedicated_ai_cluster_id")
|
952
956
|
|
953
957
|
@property
|
954
958
|
@pulumi.getter(name="trainingConfigs")
|
955
959
|
def training_configs(self) -> Sequence['outputs.GetModelFineTuneDetailTrainingConfigResult']:
|
960
|
+
"""
|
961
|
+
The fine-tuning method and hyperparameters used for fine-tuning a custom model.
|
962
|
+
"""
|
956
963
|
return pulumi.get(self, "training_configs")
|
957
964
|
|
958
965
|
@property
|
959
966
|
@pulumi.getter(name="trainingDatasets")
|
960
967
|
def training_datasets(self) -> Sequence['outputs.GetModelFineTuneDetailTrainingDatasetResult']:
|
968
|
+
"""
|
969
|
+
The dataset used to fine-tune the model.
|
970
|
+
"""
|
961
971
|
return pulumi.get(self, "training_datasets")
|
962
972
|
|
963
973
|
|
@@ -975,6 +985,19 @@ class GetModelFineTuneDetailTrainingConfigResult(dict):
|
|
975
985
|
total_training_epochs: int,
|
976
986
|
training_batch_size: int,
|
977
987
|
training_config_type: str):
|
988
|
+
"""
|
989
|
+
:param int early_stopping_patience: Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.
|
990
|
+
:param float early_stopping_threshold: How much the loss must improve to prevent early stopping.
|
991
|
+
:param float learning_rate: The initial learning rate to be used during training
|
992
|
+
:param int log_model_metrics_interval_in_steps: Determines how frequently to log model metrics.
|
993
|
+
:param int lora_alpha: This parameter represents the scaling factor for the weight matrices in LoRA.
|
994
|
+
:param float lora_dropout: This parameter indicates the dropout probability for LoRA layers.
|
995
|
+
:param int lora_r: This parameter represents the LoRA rank of the update matrices.
|
996
|
+
:param int num_of_last_layers: The number of last layers to be fine-tuned.
|
997
|
+
:param int total_training_epochs: The maximum number of training epochs to run for.
|
998
|
+
:param int training_batch_size: The batch size used during training.
|
999
|
+
:param str training_config_type: The fine-tuning method for training a custom model.
|
1000
|
+
"""
|
978
1001
|
pulumi.set(__self__, "early_stopping_patience", early_stopping_patience)
|
979
1002
|
pulumi.set(__self__, "early_stopping_threshold", early_stopping_threshold)
|
980
1003
|
pulumi.set(__self__, "learning_rate", learning_rate)
|
@@ -990,56 +1013,89 @@ class GetModelFineTuneDetailTrainingConfigResult(dict):
|
|
990
1013
|
@property
|
991
1014
|
@pulumi.getter(name="earlyStoppingPatience")
|
992
1015
|
def early_stopping_patience(self) -> int:
|
1016
|
+
"""
|
1017
|
+
Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.
|
1018
|
+
"""
|
993
1019
|
return pulumi.get(self, "early_stopping_patience")
|
994
1020
|
|
995
1021
|
@property
|
996
1022
|
@pulumi.getter(name="earlyStoppingThreshold")
|
997
1023
|
def early_stopping_threshold(self) -> float:
|
1024
|
+
"""
|
1025
|
+
How much the loss must improve to prevent early stopping.
|
1026
|
+
"""
|
998
1027
|
return pulumi.get(self, "early_stopping_threshold")
|
999
1028
|
|
1000
1029
|
@property
|
1001
1030
|
@pulumi.getter(name="learningRate")
|
1002
1031
|
def learning_rate(self) -> float:
|
1032
|
+
"""
|
1033
|
+
The initial learning rate to be used during training
|
1034
|
+
"""
|
1003
1035
|
return pulumi.get(self, "learning_rate")
|
1004
1036
|
|
1005
1037
|
@property
|
1006
1038
|
@pulumi.getter(name="logModelMetricsIntervalInSteps")
|
1007
1039
|
def log_model_metrics_interval_in_steps(self) -> int:
|
1040
|
+
"""
|
1041
|
+
Determines how frequently to log model metrics.
|
1042
|
+
"""
|
1008
1043
|
return pulumi.get(self, "log_model_metrics_interval_in_steps")
|
1009
1044
|
|
1010
1045
|
@property
|
1011
1046
|
@pulumi.getter(name="loraAlpha")
|
1012
1047
|
def lora_alpha(self) -> int:
|
1048
|
+
"""
|
1049
|
+
This parameter represents the scaling factor for the weight matrices in LoRA.
|
1050
|
+
"""
|
1013
1051
|
return pulumi.get(self, "lora_alpha")
|
1014
1052
|
|
1015
1053
|
@property
|
1016
1054
|
@pulumi.getter(name="loraDropout")
|
1017
1055
|
def lora_dropout(self) -> float:
|
1056
|
+
"""
|
1057
|
+
This parameter indicates the dropout probability for LoRA layers.
|
1058
|
+
"""
|
1018
1059
|
return pulumi.get(self, "lora_dropout")
|
1019
1060
|
|
1020
1061
|
@property
|
1021
1062
|
@pulumi.getter(name="loraR")
|
1022
1063
|
def lora_r(self) -> int:
|
1064
|
+
"""
|
1065
|
+
This parameter represents the LoRA rank of the update matrices.
|
1066
|
+
"""
|
1023
1067
|
return pulumi.get(self, "lora_r")
|
1024
1068
|
|
1025
1069
|
@property
|
1026
1070
|
@pulumi.getter(name="numOfLastLayers")
|
1027
1071
|
def num_of_last_layers(self) -> int:
|
1072
|
+
"""
|
1073
|
+
The number of last layers to be fine-tuned.
|
1074
|
+
"""
|
1028
1075
|
return pulumi.get(self, "num_of_last_layers")
|
1029
1076
|
|
1030
1077
|
@property
|
1031
1078
|
@pulumi.getter(name="totalTrainingEpochs")
|
1032
1079
|
def total_training_epochs(self) -> int:
|
1080
|
+
"""
|
1081
|
+
The maximum number of training epochs to run for.
|
1082
|
+
"""
|
1033
1083
|
return pulumi.get(self, "total_training_epochs")
|
1034
1084
|
|
1035
1085
|
@property
|
1036
1086
|
@pulumi.getter(name="trainingBatchSize")
|
1037
1087
|
def training_batch_size(self) -> int:
|
1088
|
+
"""
|
1089
|
+
The batch size used during training.
|
1090
|
+
"""
|
1038
1091
|
return pulumi.get(self, "training_batch_size")
|
1039
1092
|
|
1040
1093
|
@property
|
1041
1094
|
@pulumi.getter(name="trainingConfigType")
|
1042
1095
|
def training_config_type(self) -> str:
|
1096
|
+
"""
|
1097
|
+
The fine-tuning method for training a custom model.
|
1098
|
+
"""
|
1043
1099
|
return pulumi.get(self, "training_config_type")
|
1044
1100
|
|
1045
1101
|
|
@@ -1050,6 +1106,12 @@ class GetModelFineTuneDetailTrainingDatasetResult(dict):
|
|
1050
1106
|
dataset_type: str,
|
1051
1107
|
namespace: str,
|
1052
1108
|
object: str):
|
1109
|
+
"""
|
1110
|
+
:param str bucket: The Object Storage bucket name.
|
1111
|
+
:param str dataset_type: The type of the data asset.
|
1112
|
+
:param str namespace: The Object Storage namespace.
|
1113
|
+
:param str object: The Object Storage object name.
|
1114
|
+
"""
|
1053
1115
|
pulumi.set(__self__, "bucket", bucket)
|
1054
1116
|
pulumi.set(__self__, "dataset_type", dataset_type)
|
1055
1117
|
pulumi.set(__self__, "namespace", namespace)
|
@@ -1058,21 +1120,33 @@ class GetModelFineTuneDetailTrainingDatasetResult(dict):
|
|
1058
1120
|
@property
|
1059
1121
|
@pulumi.getter
|
1060
1122
|
def bucket(self) -> str:
|
1123
|
+
"""
|
1124
|
+
The Object Storage bucket name.
|
1125
|
+
"""
|
1061
1126
|
return pulumi.get(self, "bucket")
|
1062
1127
|
|
1063
1128
|
@property
|
1064
1129
|
@pulumi.getter(name="datasetType")
|
1065
1130
|
def dataset_type(self) -> str:
|
1131
|
+
"""
|
1132
|
+
The type of the data asset.
|
1133
|
+
"""
|
1066
1134
|
return pulumi.get(self, "dataset_type")
|
1067
1135
|
|
1068
1136
|
@property
|
1069
1137
|
@pulumi.getter
|
1070
1138
|
def namespace(self) -> str:
|
1139
|
+
"""
|
1140
|
+
The Object Storage namespace.
|
1141
|
+
"""
|
1071
1142
|
return pulumi.get(self, "namespace")
|
1072
1143
|
|
1073
1144
|
@property
|
1074
1145
|
@pulumi.getter
|
1075
1146
|
def object(self) -> str:
|
1147
|
+
"""
|
1148
|
+
The Object Storage object name.
|
1149
|
+
"""
|
1076
1150
|
return pulumi.get(self, "object")
|
1077
1151
|
|
1078
1152
|
|
@@ -1082,6 +1156,11 @@ class GetModelModelMetricResult(dict):
|
|
1082
1156
|
final_accuracy: float,
|
1083
1157
|
final_loss: float,
|
1084
1158
|
model_metrics_type: str):
|
1159
|
+
"""
|
1160
|
+
:param float final_accuracy: Fine-tuned model accuracy.
|
1161
|
+
:param float final_loss: Fine-tuned model loss.
|
1162
|
+
:param str model_metrics_type: The type of the model metrics. Each type of model can expect a different set of model metrics.
|
1163
|
+
"""
|
1085
1164
|
pulumi.set(__self__, "final_accuracy", final_accuracy)
|
1086
1165
|
pulumi.set(__self__, "final_loss", final_loss)
|
1087
1166
|
pulumi.set(__self__, "model_metrics_type", model_metrics_type)
|
@@ -1089,16 +1168,25 @@ class GetModelModelMetricResult(dict):
|
|
1089
1168
|
@property
|
1090
1169
|
@pulumi.getter(name="finalAccuracy")
|
1091
1170
|
def final_accuracy(self) -> float:
|
1171
|
+
"""
|
1172
|
+
Fine-tuned model accuracy.
|
1173
|
+
"""
|
1092
1174
|
return pulumi.get(self, "final_accuracy")
|
1093
1175
|
|
1094
1176
|
@property
|
1095
1177
|
@pulumi.getter(name="finalLoss")
|
1096
1178
|
def final_loss(self) -> float:
|
1179
|
+
"""
|
1180
|
+
Fine-tuned model loss.
|
1181
|
+
"""
|
1097
1182
|
return pulumi.get(self, "final_loss")
|
1098
1183
|
|
1099
1184
|
@property
|
1100
1185
|
@pulumi.getter(name="modelMetricsType")
|
1101
1186
|
def model_metrics_type(self) -> str:
|
1187
|
+
"""
|
1188
|
+
The type of the model metrics. Each type of model can expect a different set of model metrics.
|
1189
|
+
"""
|
1102
1190
|
return pulumi.get(self, "model_metrics_type")
|
1103
1191
|
|
1104
1192
|
|
@@ -1165,14 +1253,22 @@ class GetModelsModelCollectionItemResult(dict):
|
|
1165
1253
|
vendor: str,
|
1166
1254
|
version: str):
|
1167
1255
|
"""
|
1256
|
+
:param str base_model_id: The OCID of the base model that's used for fine-tuning. For pretrained models, the value is null.
|
1168
1257
|
:param Sequence[str] capabilities: Describes what this model can be used for.
|
1169
1258
|
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
1170
|
-
:param
|
1259
|
+
:param str description: An optional description of the model.
|
1171
1260
|
:param str display_name: A filter to return only resources that match the given display name exactly.
|
1261
|
+
:param Sequence['GetModelsModelCollectionItemFineTuneDetailArgs'] fine_tune_details: Details about fine-tuning a custom model.
|
1262
|
+
:param Mapping[str, Any] freeform_tags: Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
1172
1263
|
:param str id: The ID of the model.
|
1264
|
+
:param bool is_long_term_supported: Whether a model is supported long-term. Only applicable to base models.
|
1265
|
+
:param str lifecycle_details: A message describing the current state of the model in more detail that can provide actionable information.
|
1266
|
+
:param Sequence['GetModelsModelCollectionItemModelMetricArgs'] model_metrics: Model metrics during the creation of a new model.
|
1173
1267
|
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
1268
|
+
:param Mapping[str, Any] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
1269
|
+
:param str time_created: The date and time that the model was created in the format of an RFC3339 datetime string.
|
1174
1270
|
:param str time_deprecated: Corresponds to the time when the custom model and its associated foundation model will be deprecated.
|
1175
|
-
:param str
|
1271
|
+
:param str time_updated: The date and time that the model was updated in the format of an RFC3339 datetime string.
|
1176
1272
|
:param str vendor: A filter to return only resources that match the entire vendor given.
|
1177
1273
|
:param str version: The version of the model.
|
1178
1274
|
"""
|
@@ -1200,6 +1296,9 @@ class GetModelsModelCollectionItemResult(dict):
|
|
1200
1296
|
@property
|
1201
1297
|
@pulumi.getter(name="baseModelId")
|
1202
1298
|
def base_model_id(self) -> str:
|
1299
|
+
"""
|
1300
|
+
The OCID of the base model that's used for fine-tuning. For pretrained models, the value is null.
|
1301
|
+
"""
|
1203
1302
|
return pulumi.get(self, "base_model_id")
|
1204
1303
|
|
1205
1304
|
@property
|
@@ -1221,14 +1320,14 @@ class GetModelsModelCollectionItemResult(dict):
|
|
1221
1320
|
@property
|
1222
1321
|
@pulumi.getter(name="definedTags")
|
1223
1322
|
def defined_tags(self) -> Mapping[str, Any]:
|
1224
|
-
"""
|
1225
|
-
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
1226
|
-
"""
|
1227
1323
|
return pulumi.get(self, "defined_tags")
|
1228
1324
|
|
1229
1325
|
@property
|
1230
1326
|
@pulumi.getter
|
1231
1327
|
def description(self) -> str:
|
1328
|
+
"""
|
1329
|
+
An optional description of the model.
|
1330
|
+
"""
|
1232
1331
|
return pulumi.get(self, "description")
|
1233
1332
|
|
1234
1333
|
@property
|
@@ -1242,11 +1341,17 @@ class GetModelsModelCollectionItemResult(dict):
|
|
1242
1341
|
@property
|
1243
1342
|
@pulumi.getter(name="fineTuneDetails")
|
1244
1343
|
def fine_tune_details(self) -> Sequence['outputs.GetModelsModelCollectionItemFineTuneDetailResult']:
|
1344
|
+
"""
|
1345
|
+
Details about fine-tuning a custom model.
|
1346
|
+
"""
|
1245
1347
|
return pulumi.get(self, "fine_tune_details")
|
1246
1348
|
|
1247
1349
|
@property
|
1248
1350
|
@pulumi.getter(name="freeformTags")
|
1249
1351
|
def freeform_tags(self) -> Mapping[str, Any]:
|
1352
|
+
"""
|
1353
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
1354
|
+
"""
|
1250
1355
|
return pulumi.get(self, "freeform_tags")
|
1251
1356
|
|
1252
1357
|
@property
|
@@ -1260,16 +1365,25 @@ class GetModelsModelCollectionItemResult(dict):
|
|
1260
1365
|
@property
|
1261
1366
|
@pulumi.getter(name="isLongTermSupported")
|
1262
1367
|
def is_long_term_supported(self) -> bool:
|
1368
|
+
"""
|
1369
|
+
Whether a model is supported long-term. Only applicable to base models.
|
1370
|
+
"""
|
1263
1371
|
return pulumi.get(self, "is_long_term_supported")
|
1264
1372
|
|
1265
1373
|
@property
|
1266
1374
|
@pulumi.getter(name="lifecycleDetails")
|
1267
1375
|
def lifecycle_details(self) -> str:
|
1376
|
+
"""
|
1377
|
+
A message describing the current state of the model in more detail that can provide actionable information.
|
1378
|
+
"""
|
1268
1379
|
return pulumi.get(self, "lifecycle_details")
|
1269
1380
|
|
1270
1381
|
@property
|
1271
1382
|
@pulumi.getter(name="modelMetrics")
|
1272
1383
|
def model_metrics(self) -> Sequence['outputs.GetModelsModelCollectionItemModelMetricResult']:
|
1384
|
+
"""
|
1385
|
+
Model metrics during the creation of a new model.
|
1386
|
+
"""
|
1273
1387
|
return pulumi.get(self, "model_metrics")
|
1274
1388
|
|
1275
1389
|
@property
|
@@ -1283,11 +1397,17 @@ class GetModelsModelCollectionItemResult(dict):
|
|
1283
1397
|
@property
|
1284
1398
|
@pulumi.getter(name="systemTags")
|
1285
1399
|
def system_tags(self) -> Mapping[str, Any]:
|
1400
|
+
"""
|
1401
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
1402
|
+
"""
|
1286
1403
|
return pulumi.get(self, "system_tags")
|
1287
1404
|
|
1288
1405
|
@property
|
1289
1406
|
@pulumi.getter(name="timeCreated")
|
1290
1407
|
def time_created(self) -> str:
|
1408
|
+
"""
|
1409
|
+
The date and time that the model was created in the format of an RFC3339 datetime string.
|
1410
|
+
"""
|
1291
1411
|
return pulumi.get(self, "time_created")
|
1292
1412
|
|
1293
1413
|
@property
|
@@ -1301,14 +1421,14 @@ class GetModelsModelCollectionItemResult(dict):
|
|
1301
1421
|
@property
|
1302
1422
|
@pulumi.getter(name="timeUpdated")
|
1303
1423
|
def time_updated(self) -> str:
|
1424
|
+
"""
|
1425
|
+
The date and time that the model was updated in the format of an RFC3339 datetime string.
|
1426
|
+
"""
|
1304
1427
|
return pulumi.get(self, "time_updated")
|
1305
1428
|
|
1306
1429
|
@property
|
1307
1430
|
@pulumi.getter
|
1308
1431
|
def type(self) -> str:
|
1309
|
-
"""
|
1310
|
-
The model type indicating whether this is a pretrained/base model or a custom/fine-tuned model.
|
1311
|
-
"""
|
1312
1432
|
return pulumi.get(self, "type")
|
1313
1433
|
|
1314
1434
|
@property
|
@@ -1334,6 +1454,11 @@ class GetModelsModelCollectionItemFineTuneDetailResult(dict):
|
|
1334
1454
|
dedicated_ai_cluster_id: str,
|
1335
1455
|
training_configs: Sequence['outputs.GetModelsModelCollectionItemFineTuneDetailTrainingConfigResult'],
|
1336
1456
|
training_datasets: Sequence['outputs.GetModelsModelCollectionItemFineTuneDetailTrainingDatasetResult']):
|
1457
|
+
"""
|
1458
|
+
:param str dedicated_ai_cluster_id: The OCID of the dedicated AI cluster this fine-tuning runs on.
|
1459
|
+
:param Sequence['GetModelsModelCollectionItemFineTuneDetailTrainingConfigArgs'] training_configs: The fine-tuning method and hyperparameters used for fine-tuning a custom model.
|
1460
|
+
:param Sequence['GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArgs'] training_datasets: The dataset used to fine-tune the model.
|
1461
|
+
"""
|
1337
1462
|
pulumi.set(__self__, "dedicated_ai_cluster_id", dedicated_ai_cluster_id)
|
1338
1463
|
pulumi.set(__self__, "training_configs", training_configs)
|
1339
1464
|
pulumi.set(__self__, "training_datasets", training_datasets)
|
@@ -1341,16 +1466,25 @@ class GetModelsModelCollectionItemFineTuneDetailResult(dict):
|
|
1341
1466
|
@property
|
1342
1467
|
@pulumi.getter(name="dedicatedAiClusterId")
|
1343
1468
|
def dedicated_ai_cluster_id(self) -> str:
|
1469
|
+
"""
|
1470
|
+
The OCID of the dedicated AI cluster this fine-tuning runs on.
|
1471
|
+
"""
|
1344
1472
|
return pulumi.get(self, "dedicated_ai_cluster_id")
|
1345
1473
|
|
1346
1474
|
@property
|
1347
1475
|
@pulumi.getter(name="trainingConfigs")
|
1348
1476
|
def training_configs(self) -> Sequence['outputs.GetModelsModelCollectionItemFineTuneDetailTrainingConfigResult']:
|
1477
|
+
"""
|
1478
|
+
The fine-tuning method and hyperparameters used for fine-tuning a custom model.
|
1479
|
+
"""
|
1349
1480
|
return pulumi.get(self, "training_configs")
|
1350
1481
|
|
1351
1482
|
@property
|
1352
1483
|
@pulumi.getter(name="trainingDatasets")
|
1353
1484
|
def training_datasets(self) -> Sequence['outputs.GetModelsModelCollectionItemFineTuneDetailTrainingDatasetResult']:
|
1485
|
+
"""
|
1486
|
+
The dataset used to fine-tune the model.
|
1487
|
+
"""
|
1354
1488
|
return pulumi.get(self, "training_datasets")
|
1355
1489
|
|
1356
1490
|
|
@@ -1368,6 +1502,19 @@ class GetModelsModelCollectionItemFineTuneDetailTrainingConfigResult(dict):
|
|
1368
1502
|
total_training_epochs: int,
|
1369
1503
|
training_batch_size: int,
|
1370
1504
|
training_config_type: str):
|
1505
|
+
"""
|
1506
|
+
:param int early_stopping_patience: Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.
|
1507
|
+
:param float early_stopping_threshold: How much the loss must improve to prevent early stopping.
|
1508
|
+
:param float learning_rate: The initial learning rate to be used during training
|
1509
|
+
:param int log_model_metrics_interval_in_steps: Determines how frequently to log model metrics.
|
1510
|
+
:param int lora_alpha: This parameter represents the scaling factor for the weight matrices in LoRA.
|
1511
|
+
:param float lora_dropout: This parameter indicates the dropout probability for LoRA layers.
|
1512
|
+
:param int lora_r: This parameter represents the LoRA rank of the update matrices.
|
1513
|
+
:param int num_of_last_layers: The number of last layers to be fine-tuned.
|
1514
|
+
:param int total_training_epochs: The maximum number of training epochs to run for.
|
1515
|
+
:param int training_batch_size: The batch size used during training.
|
1516
|
+
:param str training_config_type: The fine-tuning method for training a custom model.
|
1517
|
+
"""
|
1371
1518
|
pulumi.set(__self__, "early_stopping_patience", early_stopping_patience)
|
1372
1519
|
pulumi.set(__self__, "early_stopping_threshold", early_stopping_threshold)
|
1373
1520
|
pulumi.set(__self__, "learning_rate", learning_rate)
|
@@ -1383,56 +1530,89 @@ class GetModelsModelCollectionItemFineTuneDetailTrainingConfigResult(dict):
|
|
1383
1530
|
@property
|
1384
1531
|
@pulumi.getter(name="earlyStoppingPatience")
|
1385
1532
|
def early_stopping_patience(self) -> int:
|
1533
|
+
"""
|
1534
|
+
Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.
|
1535
|
+
"""
|
1386
1536
|
return pulumi.get(self, "early_stopping_patience")
|
1387
1537
|
|
1388
1538
|
@property
|
1389
1539
|
@pulumi.getter(name="earlyStoppingThreshold")
|
1390
1540
|
def early_stopping_threshold(self) -> float:
|
1541
|
+
"""
|
1542
|
+
How much the loss must improve to prevent early stopping.
|
1543
|
+
"""
|
1391
1544
|
return pulumi.get(self, "early_stopping_threshold")
|
1392
1545
|
|
1393
1546
|
@property
|
1394
1547
|
@pulumi.getter(name="learningRate")
|
1395
1548
|
def learning_rate(self) -> float:
|
1549
|
+
"""
|
1550
|
+
The initial learning rate to be used during training
|
1551
|
+
"""
|
1396
1552
|
return pulumi.get(self, "learning_rate")
|
1397
1553
|
|
1398
1554
|
@property
|
1399
1555
|
@pulumi.getter(name="logModelMetricsIntervalInSteps")
|
1400
1556
|
def log_model_metrics_interval_in_steps(self) -> int:
|
1557
|
+
"""
|
1558
|
+
Determines how frequently to log model metrics.
|
1559
|
+
"""
|
1401
1560
|
return pulumi.get(self, "log_model_metrics_interval_in_steps")
|
1402
1561
|
|
1403
1562
|
@property
|
1404
1563
|
@pulumi.getter(name="loraAlpha")
|
1405
1564
|
def lora_alpha(self) -> int:
|
1565
|
+
"""
|
1566
|
+
This parameter represents the scaling factor for the weight matrices in LoRA.
|
1567
|
+
"""
|
1406
1568
|
return pulumi.get(self, "lora_alpha")
|
1407
1569
|
|
1408
1570
|
@property
|
1409
1571
|
@pulumi.getter(name="loraDropout")
|
1410
1572
|
def lora_dropout(self) -> float:
|
1573
|
+
"""
|
1574
|
+
This parameter indicates the dropout probability for LoRA layers.
|
1575
|
+
"""
|
1411
1576
|
return pulumi.get(self, "lora_dropout")
|
1412
1577
|
|
1413
1578
|
@property
|
1414
1579
|
@pulumi.getter(name="loraR")
|
1415
1580
|
def lora_r(self) -> int:
|
1581
|
+
"""
|
1582
|
+
This parameter represents the LoRA rank of the update matrices.
|
1583
|
+
"""
|
1416
1584
|
return pulumi.get(self, "lora_r")
|
1417
1585
|
|
1418
1586
|
@property
|
1419
1587
|
@pulumi.getter(name="numOfLastLayers")
|
1420
1588
|
def num_of_last_layers(self) -> int:
|
1589
|
+
"""
|
1590
|
+
The number of last layers to be fine-tuned.
|
1591
|
+
"""
|
1421
1592
|
return pulumi.get(self, "num_of_last_layers")
|
1422
1593
|
|
1423
1594
|
@property
|
1424
1595
|
@pulumi.getter(name="totalTrainingEpochs")
|
1425
1596
|
def total_training_epochs(self) -> int:
|
1597
|
+
"""
|
1598
|
+
The maximum number of training epochs to run for.
|
1599
|
+
"""
|
1426
1600
|
return pulumi.get(self, "total_training_epochs")
|
1427
1601
|
|
1428
1602
|
@property
|
1429
1603
|
@pulumi.getter(name="trainingBatchSize")
|
1430
1604
|
def training_batch_size(self) -> int:
|
1605
|
+
"""
|
1606
|
+
The batch size used during training.
|
1607
|
+
"""
|
1431
1608
|
return pulumi.get(self, "training_batch_size")
|
1432
1609
|
|
1433
1610
|
@property
|
1434
1611
|
@pulumi.getter(name="trainingConfigType")
|
1435
1612
|
def training_config_type(self) -> str:
|
1613
|
+
"""
|
1614
|
+
The fine-tuning method for training a custom model.
|
1615
|
+
"""
|
1436
1616
|
return pulumi.get(self, "training_config_type")
|
1437
1617
|
|
1438
1618
|
|
@@ -1443,6 +1623,12 @@ class GetModelsModelCollectionItemFineTuneDetailTrainingDatasetResult(dict):
|
|
1443
1623
|
dataset_type: str,
|
1444
1624
|
namespace: str,
|
1445
1625
|
object: str):
|
1626
|
+
"""
|
1627
|
+
:param str bucket: The Object Storage bucket name.
|
1628
|
+
:param str dataset_type: The type of the data asset.
|
1629
|
+
:param str namespace: The Object Storage namespace.
|
1630
|
+
:param str object: The Object Storage object name.
|
1631
|
+
"""
|
1446
1632
|
pulumi.set(__self__, "bucket", bucket)
|
1447
1633
|
pulumi.set(__self__, "dataset_type", dataset_type)
|
1448
1634
|
pulumi.set(__self__, "namespace", namespace)
|
@@ -1451,21 +1637,33 @@ class GetModelsModelCollectionItemFineTuneDetailTrainingDatasetResult(dict):
|
|
1451
1637
|
@property
|
1452
1638
|
@pulumi.getter
|
1453
1639
|
def bucket(self) -> str:
|
1640
|
+
"""
|
1641
|
+
The Object Storage bucket name.
|
1642
|
+
"""
|
1454
1643
|
return pulumi.get(self, "bucket")
|
1455
1644
|
|
1456
1645
|
@property
|
1457
1646
|
@pulumi.getter(name="datasetType")
|
1458
1647
|
def dataset_type(self) -> str:
|
1648
|
+
"""
|
1649
|
+
The type of the data asset.
|
1650
|
+
"""
|
1459
1651
|
return pulumi.get(self, "dataset_type")
|
1460
1652
|
|
1461
1653
|
@property
|
1462
1654
|
@pulumi.getter
|
1463
1655
|
def namespace(self) -> str:
|
1656
|
+
"""
|
1657
|
+
The Object Storage namespace.
|
1658
|
+
"""
|
1464
1659
|
return pulumi.get(self, "namespace")
|
1465
1660
|
|
1466
1661
|
@property
|
1467
1662
|
@pulumi.getter
|
1468
1663
|
def object(self) -> str:
|
1664
|
+
"""
|
1665
|
+
The Object Storage object name.
|
1666
|
+
"""
|
1469
1667
|
return pulumi.get(self, "object")
|
1470
1668
|
|
1471
1669
|
|
@@ -1475,6 +1673,11 @@ class GetModelsModelCollectionItemModelMetricResult(dict):
|
|
1475
1673
|
final_accuracy: float,
|
1476
1674
|
final_loss: float,
|
1477
1675
|
model_metrics_type: str):
|
1676
|
+
"""
|
1677
|
+
:param float final_accuracy: Fine-tuned model accuracy.
|
1678
|
+
:param float final_loss: Fine-tuned model loss.
|
1679
|
+
:param str model_metrics_type: The type of the model metrics. Each type of model can expect a different set of model metrics.
|
1680
|
+
"""
|
1478
1681
|
pulumi.set(__self__, "final_accuracy", final_accuracy)
|
1479
1682
|
pulumi.set(__self__, "final_loss", final_loss)
|
1480
1683
|
pulumi.set(__self__, "model_metrics_type", model_metrics_type)
|
@@ -1482,16 +1685,25 @@ class GetModelsModelCollectionItemModelMetricResult(dict):
|
|
1482
1685
|
@property
|
1483
1686
|
@pulumi.getter(name="finalAccuracy")
|
1484
1687
|
def final_accuracy(self) -> float:
|
1688
|
+
"""
|
1689
|
+
Fine-tuned model accuracy.
|
1690
|
+
"""
|
1485
1691
|
return pulumi.get(self, "final_accuracy")
|
1486
1692
|
|
1487
1693
|
@property
|
1488
1694
|
@pulumi.getter(name="finalLoss")
|
1489
1695
|
def final_loss(self) -> float:
|
1696
|
+
"""
|
1697
|
+
Fine-tuned model loss.
|
1698
|
+
"""
|
1490
1699
|
return pulumi.get(self, "final_loss")
|
1491
1700
|
|
1492
1701
|
@property
|
1493
1702
|
@pulumi.getter(name="modelMetricsType")
|
1494
1703
|
def model_metrics_type(self) -> str:
|
1704
|
+
"""
|
1705
|
+
The type of the model metrics. Each type of model can expect a different set of model metrics.
|
1706
|
+
"""
|
1495
1707
|
return pulumi.get(self, "model_metrics_type")
|
1496
1708
|
|
1497
1709
|
|
pulumi_oci/identity/__init__.py
CHANGED
@@ -55,6 +55,7 @@ from .domains_security_question_setting import *
|
|
55
55
|
from .domains_self_registration_profile import *
|
56
56
|
from .domains_setting import *
|
57
57
|
from .domains_smtp_credential import *
|
58
|
+
from .domains_social_identity_provider import *
|
58
59
|
from .domains_user import *
|
59
60
|
from .domains_user_db_credential import *
|
60
61
|
from .dynamic_group import *
|
@@ -170,6 +171,8 @@ from .get_domains_setting import *
|
|
170
171
|
from .get_domains_settings import *
|
171
172
|
from .get_domains_smtp_credential import *
|
172
173
|
from .get_domains_smtp_credentials import *
|
174
|
+
from .get_domains_social_identity_provider import *
|
175
|
+
from .get_domains_social_identity_providers import *
|
173
176
|
from .get_domains_user import *
|
174
177
|
from .get_domains_user_attributes_setting import *
|
175
178
|
from .get_domains_user_attributes_settings import *
|