@pulumi/oci 3.13.0-alpha.1766212844 → 3.13.0-alpha.1766291418
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.
- package/containerengine/cluster.d.ts +1 -0
- package/containerengine/cluster.js +1 -0
- package/containerengine/cluster.js.map +1 -1
- package/core/computeHost.d.ts +28 -8
- package/core/computeHost.js +6 -0
- package/core/computeHost.js.map +1 -1
- package/core/computeHostGroup.d.ts +1 -0
- package/core/computeHostGroup.js +1 -0
- package/core/computeHostGroup.js.map +1 -1
- package/core/getComputeHost.d.ts +8 -0
- package/core/getComputeHost.js.map +1 -1
- package/core/getFirmwareBundle.d.ts +93 -0
- package/core/getFirmwareBundle.js +54 -0
- package/core/getFirmwareBundle.js.map +1 -0
- package/core/getFirmwareBundles.d.ts +83 -0
- package/core/getFirmwareBundles.js +46 -0
- package/core/getFirmwareBundles.js.map +1 -0
- package/core/getShape.d.ts +3 -0
- package/core/getShape.js +2 -0
- package/core/getShape.js.map +1 -1
- package/core/getShapes.d.ts +11 -0
- package/core/getShapes.js +4 -0
- package/core/getShapes.js.map +1 -1
- package/core/index.d.ts +6 -0
- package/core/index.js +12 -6
- package/core/index.js.map +1 -1
- package/database/autonomousDatabase.d.ts +42 -12
- package/database/autonomousDatabase.js.map +1 -1
- package/database/getAutonomousDatabasesEstimateCostSavings.d.ts +86 -0
- package/database/getAutonomousDatabasesEstimateCostSavings.js +60 -0
- package/database/getAutonomousDatabasesEstimateCostSavings.js.map +1 -0
- package/database/index.d.ts +3 -0
- package/database/index.js +9 -6
- package/database/index.js.map +1 -1
- package/datascience/getMlApplicationImplementationVersion.d.ts +134 -0
- package/datascience/getMlApplicationImplementationVersion.js +54 -0
- package/datascience/getMlApplicationImplementationVersion.js.map +1 -0
- package/datascience/getMlApplicationImplementationVersions.d.ts +89 -0
- package/datascience/getMlApplicationImplementationVersions.js +60 -0
- package/datascience/getMlApplicationImplementationVersions.js.map +1 -0
- package/datascience/index.d.ts +6 -0
- package/datascience/index.js +9 -3
- package/datascience/index.js.map +1 -1
- package/datascience/modelDeployment.d.ts +0 -87
- package/datascience/modelDeployment.js +0 -87
- package/datascience/modelDeployment.js.map +1 -1
- package/disasterrecovery/drPlanExecution.d.ts +8 -0
- package/disasterrecovery/drPlanExecution.js +2 -0
- package/disasterrecovery/drPlanExecution.js.map +1 -1
- package/disasterrecovery/drProtectionGroup.d.ts +4 -0
- package/disasterrecovery/drProtectionGroup.js +4 -0
- package/disasterrecovery/drProtectionGroup.js.map +1 -1
- package/disasterrecovery/getDrPlanExecution.d.ts +4 -0
- package/disasterrecovery/getDrPlanExecution.js.map +1 -1
- package/generativeai/getDedicatedAiCluster.d.ts +15 -3
- package/generativeai/getDedicatedAiCluster.js.map +1 -1
- package/generativeai/getDedicatedAiClusters.d.ts +3 -0
- package/generativeai/getDedicatedAiClusters.js.map +1 -1
- package/generativeai/getEndpoint.d.ts +19 -1
- package/generativeai/getEndpoint.js.map +1 -1
- package/generativeai/getEndpoints.d.ts +8 -2
- package/generativeai/getEndpoints.js +2 -2
- package/generativeai/getEndpoints.js.map +1 -1
- package/generativeai/getImportedModel.d.ts +82 -0
- package/generativeai/getImportedModel.js +54 -0
- package/generativeai/getImportedModel.js.map +1 -0
- package/generativeai/getImportedModels.d.ts +123 -0
- package/generativeai/getImportedModels.js +76 -0
- package/generativeai/getImportedModels.js.map +1 -0
- package/generativeai/getModel.d.ts +0 -54
- package/generativeai/getModel.js.map +1 -1
- package/generativeai/getModels.d.ts +0 -15
- package/generativeai/getModels.js.map +1 -1
- package/generativeai/importedModel.d.ts +270 -0
- package/generativeai/importedModel.js +131 -0
- package/generativeai/importedModel.js.map +1 -0
- package/generativeai/index.d.ts +9 -0
- package/generativeai/index.js +13 -2
- package/generativeai/index.js.map +1 -1
- package/identity/domainsMappedAttribute.d.ts +719 -0
- package/identity/domainsMappedAttribute.js +125 -0
- package/identity/domainsMappedAttribute.js.map +1 -0
- package/identity/getDomainsMappedAttribute.d.ts +187 -0
- package/identity/getDomainsMappedAttribute.js +74 -0
- package/identity/getDomainsMappedAttribute.js.map +1 -0
- package/identity/getDomainsMappedAttributes.d.ts +160 -0
- package/identity/getDomainsMappedAttributes.js +88 -0
- package/identity/getDomainsMappedAttributes.js.map +1 -0
- package/identity/index.d.ts +9 -0
- package/identity/index.js +19 -8
- package/identity/index.js.map +1 -1
- package/integration/getIntegrationInstance.d.ts +6 -0
- package/integration/getIntegrationInstance.js.map +1 -1
- package/integration/integrationInstance.d.ts +55 -10
- package/integration/integrationInstance.js +21 -1
- package/integration/integrationInstance.js.map +1 -1
- package/loganalytics/getLogAnalyticsEntityAssociationsList.d.ts +94 -0
- package/loganalytics/getLogAnalyticsEntityAssociationsList.js +64 -0
- package/loganalytics/getLogAnalyticsEntityAssociationsList.js.map +1 -0
- package/loganalytics/index.d.ts +9 -0
- package/loganalytics/index.js +15 -2
- package/loganalytics/index.js.map +1 -1
- package/loganalytics/logAnalyticsEntityAssociationsAdd.d.ts +106 -0
- package/loganalytics/logAnalyticsEntityAssociationsAdd.js +84 -0
- package/loganalytics/logAnalyticsEntityAssociationsAdd.js.map +1 -0
- package/loganalytics/logAnalyticsEntityAssociationsRemove.d.ts +106 -0
- package/loganalytics/logAnalyticsEntityAssociationsRemove.js +84 -0
- package/loganalytics/logAnalyticsEntityAssociationsRemove.js.map +1 -0
- package/oci/batchBatchContext.d.ts +290 -0
- package/oci/batchBatchContext.js +140 -0
- package/oci/batchBatchContext.js.map +1 -0
- package/oci/batchBatchJobPool.d.ts +201 -0
- package/oci/batchBatchJobPool.js +102 -0
- package/oci/batchBatchJobPool.js.map +1 -0
- package/oci/batchBatchTaskEnvironment.d.ts +254 -0
- package/oci/batchBatchTaskEnvironment.js +121 -0
- package/oci/batchBatchTaskEnvironment.js.map +1 -0
- package/oci/batchBatchTaskProfile.d.ts +210 -0
- package/oci/batchBatchTaskProfile.js +108 -0
- package/oci/batchBatchTaskProfile.js.map +1 -0
- package/oci/getBatchBatchContext.d.ts +132 -0
- package/oci/getBatchBatchContext.js +54 -0
- package/oci/getBatchBatchContext.js.map +1 -0
- package/oci/getBatchBatchContextShapes.d.ts +83 -0
- package/oci/getBatchBatchContextShapes.js +60 -0
- package/oci/getBatchBatchContextShapes.js.map +1 -0
- package/oci/getBatchBatchContexts.d.ts +113 -0
- package/oci/getBatchBatchContexts.js +70 -0
- package/oci/getBatchBatchContexts.js.map +1 -0
- package/oci/getBatchBatchJobPool.d.ts +109 -0
- package/oci/getBatchBatchJobPool.js +54 -0
- package/oci/getBatchBatchJobPool.js.map +1 -0
- package/oci/getBatchBatchJobPools.d.ts +127 -0
- package/oci/getBatchBatchJobPools.js +74 -0
- package/oci/getBatchBatchJobPools.js.map +1 -0
- package/oci/getBatchBatchTaskEnvironment.d.ts +122 -0
- package/oci/getBatchBatchTaskEnvironment.js +54 -0
- package/oci/getBatchBatchTaskEnvironment.js.map +1 -0
- package/oci/getBatchBatchTaskEnvironments.d.ts +113 -0
- package/oci/getBatchBatchTaskEnvironments.js +70 -0
- package/oci/getBatchBatchTaskEnvironments.js.map +1 -0
- package/oci/getBatchBatchTaskProfile.d.ts +113 -0
- package/oci/getBatchBatchTaskProfile.js +54 -0
- package/oci/getBatchBatchTaskProfile.js.map +1 -0
- package/oci/getBatchBatchTaskProfiles.d.ts +113 -0
- package/oci/getBatchBatchTaskProfiles.js +70 -0
- package/oci/getBatchBatchTaskProfiles.js.map +1 -0
- package/oci/getMulticloudExternalLocationsMetadata.d.ts +52 -13
- package/oci/getMulticloudExternalLocationsMetadata.js +14 -2
- package/oci/getMulticloudExternalLocationsMetadata.js.map +1 -1
- package/oci/getMulticloudMulticloudsubscriptions.d.ts +86 -0
- package/oci/getMulticloudMulticloudsubscriptions.js +62 -0
- package/oci/getMulticloudMulticloudsubscriptions.js.map +1 -0
- package/oci/getMulticloudNetworkAnchor.d.ts +15 -0
- package/oci/getMulticloudNetworkAnchor.js +4 -0
- package/oci/getMulticloudNetworkAnchor.js.map +1 -1
- package/oci/getMulticloudNetworkAnchors.d.ts +49 -27
- package/oci/getMulticloudNetworkAnchors.js +14 -4
- package/oci/getMulticloudNetworkAnchors.js.map +1 -1
- package/oci/getMulticloudOmHubMultiCloudsMetadata.d.ts +4 -2
- package/oci/getMulticloudOmHubMultiCloudsMetadata.js +4 -2
- package/oci/getMulticloudOmHubMultiCloudsMetadata.js.map +1 -1
- package/oci/getMulticloudOmHubMulticloudResources.d.ts +122 -0
- package/oci/getMulticloudOmHubMulticloudResources.js +74 -0
- package/oci/getMulticloudOmHubMulticloudResources.js.map +1 -0
- package/oci/getMulticloudResourceAnchor.d.ts +23 -4
- package/oci/getMulticloudResourceAnchor.js +4 -0
- package/oci/getMulticloudResourceAnchor.js.map +1 -1
- package/oci/getMulticloudResourceAnchors.d.ts +42 -28
- package/oci/getMulticloudResourceAnchors.js +16 -10
- package/oci/getMulticloudResourceAnchors.js.map +1 -1
- package/oci/index.d.ts +45 -0
- package/oci/index.js +59 -5
- package/oci/index.js.map +1 -1
- package/ocvp/cluster.d.ts +12 -0
- package/ocvp/cluster.js +2 -0
- package/ocvp/cluster.js.map +1 -1
- package/ocvp/esxiHost.d.ts +18 -0
- package/ocvp/esxiHost.js +2 -0
- package/ocvp/esxiHost.js.map +1 -1
- package/ocvp/getCluster.d.ts +6 -0
- package/ocvp/getCluster.js.map +1 -1
- package/ocvp/getExsiHost.d.ts +6 -0
- package/ocvp/getExsiHost.js.map +1 -1
- package/ocvp/getSddc.d.ts +3 -0
- package/ocvp/getSddc.js.map +1 -1
- package/ocvp/sddc.d.ts +6 -0
- package/ocvp/sddc.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +845 -43
- package/types/output.d.ts +3324 -608
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This data source provides the list of Imported Models in Oracle Cloud Infrastructure Generative AI service.
|
|
6
|
+
*
|
|
7
|
+
* Lists imported models in a specific compartment.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as oci from "@pulumi/oci";
|
|
14
|
+
*
|
|
15
|
+
* const testImportedModels = oci.GenerativeAi.getImportedModels({
|
|
16
|
+
* compartmentId: compartmentId,
|
|
17
|
+
* capabilities: importedModelCapability,
|
|
18
|
+
* displayName: importedModelDisplayName,
|
|
19
|
+
* id: importedModelId,
|
|
20
|
+
* state: importedModelState,
|
|
21
|
+
* vendor: importedModelVendor,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function getImportedModels(args: GetImportedModelsArgs, opts?: pulumi.InvokeOptions): Promise<GetImportedModelsResult>;
|
|
26
|
+
/**
|
|
27
|
+
* A collection of arguments for invoking getImportedModels.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetImportedModelsArgs {
|
|
30
|
+
/**
|
|
31
|
+
* A filter to return only resources their capability matches the given capability.
|
|
32
|
+
*/
|
|
33
|
+
capabilities?: string[];
|
|
34
|
+
/**
|
|
35
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
|
36
|
+
*/
|
|
37
|
+
compartmentId: string;
|
|
38
|
+
/**
|
|
39
|
+
* A filter to return only resources that match the given display name exactly.
|
|
40
|
+
*/
|
|
41
|
+
displayName?: string;
|
|
42
|
+
filters?: inputs.GenerativeAi.GetImportedModelsFilter[];
|
|
43
|
+
/**
|
|
44
|
+
* The ID of the importedModel.
|
|
45
|
+
*/
|
|
46
|
+
id?: string;
|
|
47
|
+
/**
|
|
48
|
+
* A filter to return only resources their lifecycleState matches the given lifecycleState.
|
|
49
|
+
*/
|
|
50
|
+
state?: string;
|
|
51
|
+
/**
|
|
52
|
+
* A filter to return only resources that match the entire vendor given.
|
|
53
|
+
*/
|
|
54
|
+
vendor?: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* A collection of values returned by getImportedModels.
|
|
58
|
+
*/
|
|
59
|
+
export interface GetImportedModelsResult {
|
|
60
|
+
readonly capabilities?: string[];
|
|
61
|
+
readonly compartmentId: string;
|
|
62
|
+
readonly displayName?: string;
|
|
63
|
+
readonly filters?: outputs.GenerativeAi.GetImportedModelsFilter[];
|
|
64
|
+
readonly id?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The list of imported_model_collection.
|
|
67
|
+
*/
|
|
68
|
+
readonly importedModelCollections: outputs.GenerativeAi.GetImportedModelsImportedModelCollection[];
|
|
69
|
+
readonly state?: string;
|
|
70
|
+
readonly vendor?: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* This data source provides the list of Imported Models in Oracle Cloud Infrastructure Generative AI service.
|
|
74
|
+
*
|
|
75
|
+
* Lists imported models in a specific compartment.
|
|
76
|
+
*
|
|
77
|
+
* ## Example Usage
|
|
78
|
+
*
|
|
79
|
+
* ```typescript
|
|
80
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
81
|
+
* import * as oci from "@pulumi/oci";
|
|
82
|
+
*
|
|
83
|
+
* const testImportedModels = oci.GenerativeAi.getImportedModels({
|
|
84
|
+
* compartmentId: compartmentId,
|
|
85
|
+
* capabilities: importedModelCapability,
|
|
86
|
+
* displayName: importedModelDisplayName,
|
|
87
|
+
* id: importedModelId,
|
|
88
|
+
* state: importedModelState,
|
|
89
|
+
* vendor: importedModelVendor,
|
|
90
|
+
* });
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
export declare function getImportedModelsOutput(args: GetImportedModelsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImportedModelsResult>;
|
|
94
|
+
/**
|
|
95
|
+
* A collection of arguments for invoking getImportedModels.
|
|
96
|
+
*/
|
|
97
|
+
export interface GetImportedModelsOutputArgs {
|
|
98
|
+
/**
|
|
99
|
+
* A filter to return only resources their capability matches the given capability.
|
|
100
|
+
*/
|
|
101
|
+
capabilities?: pulumi.Input<pulumi.Input<string>[]>;
|
|
102
|
+
/**
|
|
103
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
|
104
|
+
*/
|
|
105
|
+
compartmentId: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* A filter to return only resources that match the given display name exactly.
|
|
108
|
+
*/
|
|
109
|
+
displayName?: pulumi.Input<string>;
|
|
110
|
+
filters?: pulumi.Input<pulumi.Input<inputs.GenerativeAi.GetImportedModelsFilterArgs>[]>;
|
|
111
|
+
/**
|
|
112
|
+
* The ID of the importedModel.
|
|
113
|
+
*/
|
|
114
|
+
id?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* A filter to return only resources their lifecycleState matches the given lifecycleState.
|
|
117
|
+
*/
|
|
118
|
+
state?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* A filter to return only resources that match the entire vendor given.
|
|
121
|
+
*/
|
|
122
|
+
vendor?: pulumi.Input<string>;
|
|
123
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getImportedModelsOutput = exports.getImportedModels = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the list of Imported Models in Oracle Cloud Infrastructure Generative AI service.
|
|
10
|
+
*
|
|
11
|
+
* Lists imported models in a specific compartment.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testImportedModels = oci.GenerativeAi.getImportedModels({
|
|
20
|
+
* compartmentId: compartmentId,
|
|
21
|
+
* capabilities: importedModelCapability,
|
|
22
|
+
* displayName: importedModelDisplayName,
|
|
23
|
+
* id: importedModelId,
|
|
24
|
+
* state: importedModelState,
|
|
25
|
+
* vendor: importedModelVendor,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
function getImportedModels(args, opts) {
|
|
30
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
31
|
+
return pulumi.runtime.invoke("oci:GenerativeAi/getImportedModels:getImportedModels", {
|
|
32
|
+
"capabilities": args.capabilities,
|
|
33
|
+
"compartmentId": args.compartmentId,
|
|
34
|
+
"displayName": args.displayName,
|
|
35
|
+
"filters": args.filters,
|
|
36
|
+
"id": args.id,
|
|
37
|
+
"state": args.state,
|
|
38
|
+
"vendor": args.vendor,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getImportedModels = getImportedModels;
|
|
42
|
+
/**
|
|
43
|
+
* This data source provides the list of Imported Models in Oracle Cloud Infrastructure Generative AI service.
|
|
44
|
+
*
|
|
45
|
+
* Lists imported models in a specific compartment.
|
|
46
|
+
*
|
|
47
|
+
* ## Example Usage
|
|
48
|
+
*
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as oci from "@pulumi/oci";
|
|
52
|
+
*
|
|
53
|
+
* const testImportedModels = oci.GenerativeAi.getImportedModels({
|
|
54
|
+
* compartmentId: compartmentId,
|
|
55
|
+
* capabilities: importedModelCapability,
|
|
56
|
+
* displayName: importedModelDisplayName,
|
|
57
|
+
* id: importedModelId,
|
|
58
|
+
* state: importedModelState,
|
|
59
|
+
* vendor: importedModelVendor,
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
function getImportedModelsOutput(args, opts) {
|
|
64
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
65
|
+
return pulumi.runtime.invokeOutput("oci:GenerativeAi/getImportedModels:getImportedModels", {
|
|
66
|
+
"capabilities": args.capabilities,
|
|
67
|
+
"compartmentId": args.compartmentId,
|
|
68
|
+
"displayName": args.displayName,
|
|
69
|
+
"filters": args.filters,
|
|
70
|
+
"id": args.id,
|
|
71
|
+
"state": args.state,
|
|
72
|
+
"vendor": args.vendor,
|
|
73
|
+
}, opts);
|
|
74
|
+
}
|
|
75
|
+
exports.getImportedModelsOutput = getImportedModelsOutput;
|
|
76
|
+
//# sourceMappingURL=getImportedModels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getImportedModels.js","sourceRoot":"","sources":["../../generativeai/getImportedModels.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8CAWC;AAiDD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0DAWC"}
|
|
@@ -32,84 +32,30 @@ export interface GetModelArgs {
|
|
|
32
32
|
export interface GetModelResult {
|
|
33
33
|
readonly baseModelId: string;
|
|
34
34
|
readonly capabilities: string[];
|
|
35
|
-
/**
|
|
36
|
-
* The compartment OCID for fine-tuned models. For pretrained models, this value is null.
|
|
37
|
-
*/
|
|
38
35
|
readonly compartmentId: string;
|
|
39
|
-
/**
|
|
40
|
-
* 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"}`
|
|
41
|
-
*/
|
|
42
36
|
readonly definedTags: {
|
|
43
37
|
[key: string]: string;
|
|
44
38
|
};
|
|
45
|
-
/**
|
|
46
|
-
* An optional description of the model.
|
|
47
|
-
*/
|
|
48
39
|
readonly description: string;
|
|
49
|
-
/**
|
|
50
|
-
* A user-friendly name.
|
|
51
|
-
*/
|
|
52
40
|
readonly displayName: string;
|
|
53
|
-
/**
|
|
54
|
-
* Details about fine-tuning a custom model.
|
|
55
|
-
*/
|
|
56
41
|
readonly fineTuneDetails: outputs.GenerativeAi.GetModelFineTuneDetail[];
|
|
57
|
-
/**
|
|
58
|
-
* 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"}`
|
|
59
|
-
*/
|
|
60
42
|
readonly freeformTags: {
|
|
61
43
|
[key: string]: string;
|
|
62
44
|
};
|
|
63
|
-
/**
|
|
64
|
-
* An ID that uniquely identifies a pretrained or fine-tuned model.
|
|
65
|
-
*/
|
|
66
45
|
readonly id: string;
|
|
67
|
-
/**
|
|
68
|
-
* Whether a model is supported long-term. Only applicable to base models.
|
|
69
|
-
*/
|
|
70
46
|
readonly isLongTermSupported: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* A message describing the current state of the model in more detail that can provide actionable information.
|
|
73
|
-
*/
|
|
74
47
|
readonly lifecycleDetails: string;
|
|
75
48
|
readonly modelId: string;
|
|
76
|
-
/**
|
|
77
|
-
* Model metrics during the creation of a new model.
|
|
78
|
-
*/
|
|
79
49
|
readonly modelMetrics: outputs.GenerativeAi.GetModelModelMetric[];
|
|
80
|
-
/**
|
|
81
|
-
* The lifecycle state of the model.
|
|
82
|
-
*/
|
|
83
50
|
readonly state: string;
|
|
84
|
-
/**
|
|
85
|
-
* System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
86
|
-
*/
|
|
87
51
|
readonly systemTags: {
|
|
88
52
|
[key: string]: string;
|
|
89
53
|
};
|
|
90
|
-
/**
|
|
91
|
-
* The date and time that the model was created in the format of an RFC3339 datetime string.
|
|
92
|
-
*/
|
|
93
54
|
readonly timeCreated: string;
|
|
94
|
-
/**
|
|
95
|
-
* Corresponds to the time when the custom model and its associated foundation model will be deprecated.
|
|
96
|
-
*/
|
|
97
55
|
readonly timeDeprecated: string;
|
|
98
|
-
/**
|
|
99
|
-
* The date and time that the model was updated in the format of an RFC3339 datetime string.
|
|
100
|
-
*/
|
|
101
56
|
readonly timeUpdated: string;
|
|
102
|
-
/**
|
|
103
|
-
* The model type indicating whether this is a pretrained/base model or a custom/fine-tuned model.
|
|
104
|
-
*/
|
|
105
57
|
readonly type: string;
|
|
106
|
-
/**
|
|
107
|
-
* The provider of the base model.
|
|
108
|
-
*/
|
|
109
58
|
readonly vendor: string;
|
|
110
|
-
/**
|
|
111
|
-
* The version of the model.
|
|
112
|
-
*/
|
|
113
59
|
readonly version: string;
|
|
114
60
|
}
|
|
115
61
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getModel.js","sourceRoot":"","sources":["../../generativeai/getModel.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;
|
|
1
|
+
{"version":3,"file":"getModel.js","sourceRoot":"","sources":["../../generativeai/getModel.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AAsCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
|
|
@@ -58,30 +58,15 @@ export interface GetModelsArgs {
|
|
|
58
58
|
*/
|
|
59
59
|
export interface GetModelsResult {
|
|
60
60
|
readonly capabilities?: string[];
|
|
61
|
-
/**
|
|
62
|
-
* The compartment OCID for fine-tuned models. For pretrained models, this value is null.
|
|
63
|
-
*/
|
|
64
61
|
readonly compartmentId: string;
|
|
65
|
-
/**
|
|
66
|
-
* A user-friendly name.
|
|
67
|
-
*/
|
|
68
62
|
readonly displayName?: string;
|
|
69
63
|
readonly filters?: outputs.GenerativeAi.GetModelsFilter[];
|
|
70
|
-
/**
|
|
71
|
-
* An ID that uniquely identifies a pretrained or fine-tuned model.
|
|
72
|
-
*/
|
|
73
64
|
readonly id?: string;
|
|
74
65
|
/**
|
|
75
66
|
* The list of model_collection.
|
|
76
67
|
*/
|
|
77
68
|
readonly modelCollections: outputs.GenerativeAi.GetModelsModelCollection[];
|
|
78
|
-
/**
|
|
79
|
-
* The lifecycle state of the model.
|
|
80
|
-
*/
|
|
81
69
|
readonly state?: string;
|
|
82
|
-
/**
|
|
83
|
-
* The provider of the base model.
|
|
84
|
-
*/
|
|
85
70
|
readonly vendor?: string;
|
|
86
71
|
}
|
|
87
72
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getModels.js","sourceRoot":"","sources":["../../generativeai/getModels.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;
|
|
1
|
+
{"version":3,"file":"getModels.js","sourceRoot":"","sources":["../../generativeai/getModels.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;AAiDD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0CAWC"}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource provides the Imported Model resource in Oracle Cloud Infrastructure Generative AI service.
|
|
6
|
+
*
|
|
7
|
+
* Import a model from ModelDataSource.
|
|
8
|
+
*
|
|
9
|
+
* The header contains an opc-work-request-id, which is the id for the WorkRequest that tracks the importedModel creation progress.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as oci from "@pulumi/oci";
|
|
16
|
+
*
|
|
17
|
+
* const testImportedModel = new oci.generativeai.ImportedModel("test_imported_model", {
|
|
18
|
+
* compartmentId: compartmentId,
|
|
19
|
+
* dataSource: {
|
|
20
|
+
* accessToken: importedModelDataSourceAccessToken,
|
|
21
|
+
* branch: importedModelDataSourceBranch,
|
|
22
|
+
* bucket: importedModelDataSourceBucket,
|
|
23
|
+
* commit: importedModelDataSourceCommit,
|
|
24
|
+
* modelId: testModel.id,
|
|
25
|
+
* namespace: importedModelDataSourceNamespace,
|
|
26
|
+
* prefixName: importedModelDataSourcePrefixName,
|
|
27
|
+
* region: importedModelDataSourceRegion,
|
|
28
|
+
* sourceType: importedModelDataSourceSourceType,
|
|
29
|
+
* },
|
|
30
|
+
* capabilities: importedModelCapabilities,
|
|
31
|
+
* definedTags: {
|
|
32
|
+
* "Operations.CostCenter": "42",
|
|
33
|
+
* },
|
|
34
|
+
* description: importedModelDescription,
|
|
35
|
+
* displayName: importedModelDisplayName,
|
|
36
|
+
* freeformTags: {
|
|
37
|
+
* Department: "Finance",
|
|
38
|
+
* },
|
|
39
|
+
* vendor: importedModelVendor,
|
|
40
|
+
* version: importedModelVersion,
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* ## Import
|
|
45
|
+
*
|
|
46
|
+
* ImportedModels can be imported using the `id`, e.g.
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import oci:GenerativeAi/importedModel:ImportedModel test_imported_model "id"
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export declare class ImportedModel extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing ImportedModel resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ImportedModelState, opts?: pulumi.CustomResourceOptions): ImportedModel;
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of ImportedModel. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj: any): obj is ImportedModel;
|
|
68
|
+
/**
|
|
69
|
+
* Specifies the intended use or supported capabilities of the imported model.
|
|
70
|
+
*/
|
|
71
|
+
readonly capabilities: pulumi.Output<string[]>;
|
|
72
|
+
/**
|
|
73
|
+
* (Updatable) The compartment OCID from which the model is imported.
|
|
74
|
+
*/
|
|
75
|
+
readonly compartmentId: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Defines the source location and method used to import the model. Supports importing from Hugging Face, an Object Storage location, or by referencing an already imported model.
|
|
78
|
+
*/
|
|
79
|
+
readonly dataSource: pulumi.Output<outputs.GenerativeAi.ImportedModelDataSource>;
|
|
80
|
+
/**
|
|
81
|
+
* (Updatable) 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"}`
|
|
82
|
+
*/
|
|
83
|
+
readonly definedTags: pulumi.Output<{
|
|
84
|
+
[key: string]: string;
|
|
85
|
+
}>;
|
|
86
|
+
/**
|
|
87
|
+
* (Updatable) An optional description of the imported model.
|
|
88
|
+
*/
|
|
89
|
+
readonly description: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* (Updatable) A user-friendly name for the imported model.
|
|
92
|
+
*/
|
|
93
|
+
readonly displayName: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* (Updatable) 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"}`
|
|
96
|
+
*/
|
|
97
|
+
readonly freeformTags: pulumi.Output<{
|
|
98
|
+
[key: string]: string;
|
|
99
|
+
}>;
|
|
100
|
+
/**
|
|
101
|
+
* Additional information about the current state of the imported model, providing more detailed and actionable context.
|
|
102
|
+
*/
|
|
103
|
+
readonly lifecycleDetails: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Represents a model imported into the system based on an external data source, such as Hugging Face or Object Storage.
|
|
106
|
+
*/
|
|
107
|
+
readonly previousState: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The lifecycle state of the imported model.
|
|
110
|
+
*/
|
|
111
|
+
readonly state: pulumi.Output<string>;
|
|
112
|
+
/**
|
|
113
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
114
|
+
*/
|
|
115
|
+
readonly systemTags: pulumi.Output<{
|
|
116
|
+
[key: string]: string;
|
|
117
|
+
}>;
|
|
118
|
+
/**
|
|
119
|
+
* The date and time that the imported model was created in the format of an RFC3339 datetime string.
|
|
120
|
+
*/
|
|
121
|
+
readonly timeCreated: pulumi.Output<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The date and time that the imported model was updated in the format of an RFC3339 datetime string.
|
|
124
|
+
*/
|
|
125
|
+
readonly timeUpdated: pulumi.Output<string>;
|
|
126
|
+
/**
|
|
127
|
+
* (Updatable) The provider of the imported model.
|
|
128
|
+
*/
|
|
129
|
+
readonly vendor: pulumi.Output<string>;
|
|
130
|
+
/**
|
|
131
|
+
* (Updatable) The version of the imported model.
|
|
132
|
+
*
|
|
133
|
+
*
|
|
134
|
+
* ** IMPORTANT **
|
|
135
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
136
|
+
*/
|
|
137
|
+
readonly version: pulumi.Output<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Create a ImportedModel resource with the given unique name, arguments, and options.
|
|
140
|
+
*
|
|
141
|
+
* @param name The _unique_ name of the resource.
|
|
142
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
143
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
144
|
+
*/
|
|
145
|
+
constructor(name: string, args: ImportedModelArgs, opts?: pulumi.CustomResourceOptions);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Input properties used for looking up and filtering ImportedModel resources.
|
|
149
|
+
*/
|
|
150
|
+
export interface ImportedModelState {
|
|
151
|
+
/**
|
|
152
|
+
* Specifies the intended use or supported capabilities of the imported model.
|
|
153
|
+
*/
|
|
154
|
+
capabilities?: pulumi.Input<pulumi.Input<string>[]>;
|
|
155
|
+
/**
|
|
156
|
+
* (Updatable) The compartment OCID from which the model is imported.
|
|
157
|
+
*/
|
|
158
|
+
compartmentId?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Defines the source location and method used to import the model. Supports importing from Hugging Face, an Object Storage location, or by referencing an already imported model.
|
|
161
|
+
*/
|
|
162
|
+
dataSource?: pulumi.Input<inputs.GenerativeAi.ImportedModelDataSource>;
|
|
163
|
+
/**
|
|
164
|
+
* (Updatable) 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"}`
|
|
165
|
+
*/
|
|
166
|
+
definedTags?: pulumi.Input<{
|
|
167
|
+
[key: string]: pulumi.Input<string>;
|
|
168
|
+
}>;
|
|
169
|
+
/**
|
|
170
|
+
* (Updatable) An optional description of the imported model.
|
|
171
|
+
*/
|
|
172
|
+
description?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* (Updatable) A user-friendly name for the imported model.
|
|
175
|
+
*/
|
|
176
|
+
displayName?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* (Updatable) 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"}`
|
|
179
|
+
*/
|
|
180
|
+
freeformTags?: pulumi.Input<{
|
|
181
|
+
[key: string]: pulumi.Input<string>;
|
|
182
|
+
}>;
|
|
183
|
+
/**
|
|
184
|
+
* Additional information about the current state of the imported model, providing more detailed and actionable context.
|
|
185
|
+
*/
|
|
186
|
+
lifecycleDetails?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* Represents a model imported into the system based on an external data source, such as Hugging Face or Object Storage.
|
|
189
|
+
*/
|
|
190
|
+
previousState?: pulumi.Input<string>;
|
|
191
|
+
/**
|
|
192
|
+
* The lifecycle state of the imported model.
|
|
193
|
+
*/
|
|
194
|
+
state?: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
197
|
+
*/
|
|
198
|
+
systemTags?: pulumi.Input<{
|
|
199
|
+
[key: string]: pulumi.Input<string>;
|
|
200
|
+
}>;
|
|
201
|
+
/**
|
|
202
|
+
* The date and time that the imported model was created in the format of an RFC3339 datetime string.
|
|
203
|
+
*/
|
|
204
|
+
timeCreated?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* The date and time that the imported model was updated in the format of an RFC3339 datetime string.
|
|
207
|
+
*/
|
|
208
|
+
timeUpdated?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* (Updatable) The provider of the imported model.
|
|
211
|
+
*/
|
|
212
|
+
vendor?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* (Updatable) The version of the imported model.
|
|
215
|
+
*
|
|
216
|
+
*
|
|
217
|
+
* ** IMPORTANT **
|
|
218
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
219
|
+
*/
|
|
220
|
+
version?: pulumi.Input<string>;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* The set of arguments for constructing a ImportedModel resource.
|
|
224
|
+
*/
|
|
225
|
+
export interface ImportedModelArgs {
|
|
226
|
+
/**
|
|
227
|
+
* Specifies the intended use or supported capabilities of the imported model.
|
|
228
|
+
*/
|
|
229
|
+
capabilities?: pulumi.Input<pulumi.Input<string>[]>;
|
|
230
|
+
/**
|
|
231
|
+
* (Updatable) The compartment OCID from which the model is imported.
|
|
232
|
+
*/
|
|
233
|
+
compartmentId: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* Defines the source location and method used to import the model. Supports importing from Hugging Face, an Object Storage location, or by referencing an already imported model.
|
|
236
|
+
*/
|
|
237
|
+
dataSource: pulumi.Input<inputs.GenerativeAi.ImportedModelDataSource>;
|
|
238
|
+
/**
|
|
239
|
+
* (Updatable) 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"}`
|
|
240
|
+
*/
|
|
241
|
+
definedTags?: pulumi.Input<{
|
|
242
|
+
[key: string]: pulumi.Input<string>;
|
|
243
|
+
}>;
|
|
244
|
+
/**
|
|
245
|
+
* (Updatable) An optional description of the imported model.
|
|
246
|
+
*/
|
|
247
|
+
description?: pulumi.Input<string>;
|
|
248
|
+
/**
|
|
249
|
+
* (Updatable) A user-friendly name for the imported model.
|
|
250
|
+
*/
|
|
251
|
+
displayName?: pulumi.Input<string>;
|
|
252
|
+
/**
|
|
253
|
+
* (Updatable) 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"}`
|
|
254
|
+
*/
|
|
255
|
+
freeformTags?: pulumi.Input<{
|
|
256
|
+
[key: string]: pulumi.Input<string>;
|
|
257
|
+
}>;
|
|
258
|
+
/**
|
|
259
|
+
* (Updatable) The provider of the imported model.
|
|
260
|
+
*/
|
|
261
|
+
vendor?: pulumi.Input<string>;
|
|
262
|
+
/**
|
|
263
|
+
* (Updatable) The version of the imported model.
|
|
264
|
+
*
|
|
265
|
+
*
|
|
266
|
+
* ** IMPORTANT **
|
|
267
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
268
|
+
*/
|
|
269
|
+
version?: pulumi.Input<string>;
|
|
270
|
+
}
|