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