@pulumi/oci 0.8.0 → 0.8.1-alpha.1677662399
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/aianomalydetection/detectAnomalyJob.d.ts +219 -0
- package/aianomalydetection/detectAnomalyJob.js +104 -0
- package/aianomalydetection/detectAnomalyJob.js.map +1 -0
- package/aianomalydetection/getDetectAnomalyJob.d.ts +134 -0
- package/aianomalydetection/getDetectAnomalyJob.js +51 -0
- package/aianomalydetection/getDetectAnomalyJob.js.map +1 -0
- package/aianomalydetection/getDetectAnomalyJobs.d.ts +142 -0
- package/aianomalydetection/getDetectAnomalyJobs.js +67 -0
- package/aianomalydetection/getDetectAnomalyJobs.js.map +1 -0
- package/aianomalydetection/index.d.ts +9 -0
- package/aianomalydetection/index.js +12 -1
- package/aianomalydetection/index.js.map +1 -1
- package/aianomalydetection/model.d.ts +2 -0
- package/aianomalydetection/model.js +2 -0
- package/aianomalydetection/model.js.map +1 -1
- package/database/autonomousVmCluster.d.ts +21 -0
- package/database/autonomousVmCluster.js +5 -0
- package/database/autonomousVmCluster.js.map +1 -1
- package/database/getAutonomousVirtualMachine.d.ts +115 -0
- package/database/getAutonomousVirtualMachine.js +51 -0
- package/database/getAutonomousVirtualMachine.js.map +1 -0
- package/database/getAutonomousVirtualMachines.d.ts +103 -0
- package/database/getAutonomousVirtualMachines.js +58 -0
- package/database/getAutonomousVirtualMachines.js.map +1 -0
- package/database/getAutonomousVmCluster.d.ts +8 -0
- package/database/getAutonomousVmCluster.js.map +1 -1
- package/database/getDbServer.d.ts +8 -0
- package/database/getDbServer.js.map +1 -1
- package/database/index.d.ts +6 -0
- package/database/index.js +11 -5
- package/database/index.js.map +1 -1
- package/databasemanagement/externalAsm.d.ts +191 -0
- package/databasemanagement/externalAsm.js +95 -0
- package/databasemanagement/externalAsm.js.map +1 -0
- package/databasemanagement/externalCluster.d.ts +207 -0
- package/databasemanagement/externalCluster.js +99 -0
- package/databasemanagement/externalCluster.js.map +1 -0
- package/databasemanagement/externalClusterInstance.d.ts +185 -0
- package/databasemanagement/externalClusterInstance.js +95 -0
- package/databasemanagement/externalClusterInstance.js.map +1 -0
- package/databasemanagement/externalDbNode.d.ts +173 -0
- package/databasemanagement/externalDbNode.js +91 -0
- package/databasemanagement/externalDbNode.js.map +1 -0
- package/databasemanagement/externalDbSystem.d.ts +171 -0
- package/databasemanagement/externalDbSystem.js +104 -0
- package/databasemanagement/externalDbSystem.js.map +1 -0
- package/databasemanagement/externalDbSystemConnector.d.ts +188 -0
- package/databasemanagement/externalDbSystemConnector.js +105 -0
- package/databasemanagement/externalDbSystemConnector.js.map +1 -0
- package/databasemanagement/externalDbSystemDatabaseManagementsManagement.d.ts +91 -0
- package/databasemanagement/externalDbSystemDatabaseManagementsManagement.js +78 -0
- package/databasemanagement/externalDbSystemDatabaseManagementsManagement.js.map +1 -0
- package/databasemanagement/externalDbSystemDiscovery.d.ts +159 -0
- package/databasemanagement/externalDbSystemDiscovery.js +92 -0
- package/databasemanagement/externalDbSystemDiscovery.js.map +1 -0
- package/databasemanagement/externalListener.d.ts +263 -0
- package/databasemanagement/externalListener.js +113 -0
- package/databasemanagement/externalListener.js.map +1 -0
- package/databasemanagement/getExternalAsm.d.ts +126 -0
- package/databasemanagement/getExternalAsm.js +51 -0
- package/databasemanagement/getExternalAsm.js.map +1 -0
- package/databasemanagement/getExternalAsmConfiguration.d.ts +68 -0
- package/databasemanagement/getExternalAsmConfiguration.js +51 -0
- package/databasemanagement/getExternalAsmConfiguration.js.map +1 -0
- package/databasemanagement/getExternalAsmDiskGroups.d.ts +72 -0
- package/databasemanagement/getExternalAsmDiskGroups.js +52 -0
- package/databasemanagement/getExternalAsmDiskGroups.js.map +1 -0
- package/databasemanagement/getExternalAsmInstance.d.ts +111 -0
- package/databasemanagement/getExternalAsmInstance.js +51 -0
- package/databasemanagement/getExternalAsmInstance.js.map +1 -0
- package/databasemanagement/getExternalAsmInstances.d.ts +103 -0
- package/databasemanagement/getExternalAsmInstances.js +59 -0
- package/databasemanagement/getExternalAsmInstances.js.map +1 -0
- package/databasemanagement/getExternalAsmUsers.d.ts +72 -0
- package/databasemanagement/getExternalAsmUsers.js +52 -0
- package/databasemanagement/getExternalAsmUsers.js.map +1 -0
- package/databasemanagement/getExternalAsms.d.ts +103 -0
- package/databasemanagement/getExternalAsms.js +59 -0
- package/databasemanagement/getExternalAsms.js.map +1 -0
- package/databasemanagement/getExternalCluster.d.ts +134 -0
- package/databasemanagement/getExternalCluster.js +51 -0
- package/databasemanagement/getExternalCluster.js.map +1 -0
- package/databasemanagement/getExternalClusterInstance.d.ts +123 -0
- package/databasemanagement/getExternalClusterInstance.js +51 -0
- package/databasemanagement/getExternalClusterInstance.js.map +1 -0
- package/databasemanagement/getExternalClusterInstances.d.ts +103 -0
- package/databasemanagement/getExternalClusterInstances.js +59 -0
- package/databasemanagement/getExternalClusterInstances.js.map +1 -0
- package/databasemanagement/getExternalClusters.d.ts +103 -0
- package/databasemanagement/getExternalClusters.js +59 -0
- package/databasemanagement/getExternalClusters.js.map +1 -0
- package/databasemanagement/getExternalDatabases.d.ts +100 -0
- package/databasemanagement/getExternalDatabases.js +59 -0
- package/databasemanagement/getExternalDatabases.js.map +1 -0
- package/databasemanagement/getExternalDbHome.d.ts +105 -0
- package/databasemanagement/getExternalDbHome.js +51 -0
- package/databasemanagement/getExternalDbHome.js.map +1 -0
- package/databasemanagement/getExternalDbHomes.d.ts +103 -0
- package/databasemanagement/getExternalDbHomes.js +59 -0
- package/databasemanagement/getExternalDbHomes.js.map +1 -0
- package/databasemanagement/getExternalDbNode.d.ts +117 -0
- package/databasemanagement/getExternalDbNode.js +51 -0
- package/databasemanagement/getExternalDbNode.js.map +1 -0
- package/databasemanagement/getExternalDbNodes.d.ts +103 -0
- package/databasemanagement/getExternalDbNodes.js +59 -0
- package/databasemanagement/getExternalDbNodes.js.map +1 -0
- package/databasemanagement/getExternalDbSystem.d.ts +108 -0
- package/databasemanagement/getExternalDbSystem.js +51 -0
- package/databasemanagement/getExternalDbSystem.js.map +1 -0
- package/databasemanagement/getExternalDbSystemConnector.d.ts +116 -0
- package/databasemanagement/getExternalDbSystemConnector.js +51 -0
- package/databasemanagement/getExternalDbSystemConnector.js.map +1 -0
- package/databasemanagement/getExternalDbSystemConnectors.d.ts +103 -0
- package/databasemanagement/getExternalDbSystemConnectors.js +59 -0
- package/databasemanagement/getExternalDbSystemConnectors.js.map +1 -0
- package/databasemanagement/getExternalDbSystemDiscoveries.d.ts +89 -0
- package/databasemanagement/getExternalDbSystemDiscoveries.js +55 -0
- package/databasemanagement/getExternalDbSystemDiscoveries.js.map +1 -0
- package/databasemanagement/getExternalDbSystemDiscovery.d.ts +105 -0
- package/databasemanagement/getExternalDbSystemDiscovery.js +51 -0
- package/databasemanagement/getExternalDbSystemDiscovery.js.map +1 -0
- package/databasemanagement/getExternalDbSystems.d.ts +89 -0
- package/databasemanagement/getExternalDbSystems.js +55 -0
- package/databasemanagement/getExternalDbSystems.js.map +1 -0
- package/databasemanagement/getExternalListener.d.ts +162 -0
- package/databasemanagement/getExternalListener.js +51 -0
- package/databasemanagement/getExternalListener.js.map +1 -0
- package/databasemanagement/getExternalListenerServices.d.ts +88 -0
- package/databasemanagement/getExternalListenerServices.js +57 -0
- package/databasemanagement/getExternalListenerServices.js.map +1 -0
- package/databasemanagement/getExternalListeners.d.ts +103 -0
- package/databasemanagement/getExternalListeners.js +59 -0
- package/databasemanagement/getExternalListeners.js.map +1 -0
- package/databasemanagement/getManagedDatabase.d.ts +8 -0
- package/databasemanagement/getManagedDatabase.js.map +1 -1
- package/databasemanagement/index.d.ts +102 -0
- package/databasemanagement/index.js +124 -3
- package/databasemanagement/index.js.map +1 -1
- package/databasemigration/connection.d.ts +13 -0
- package/databasemigration/connection.js +3 -0
- package/databasemigration/connection.js.map +1 -1
- package/databasemigration/getConnection.d.ts +4 -0
- package/databasemigration/getConnection.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +6 -2
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/recoverymod/getProtectedDatabase.d.ts +154 -0
- package/recoverymod/getProtectedDatabase.js +51 -0
- package/recoverymod/getProtectedDatabase.js.map +1 -0
- package/recoverymod/getProtectedDatabaseFetchConfiguration.d.ts +83 -0
- package/recoverymod/getProtectedDatabaseFetchConfiguration.js +57 -0
- package/recoverymod/getProtectedDatabaseFetchConfiguration.js.map +1 -0
- package/recoverymod/getProtectedDatabases.d.ts +141 -0
- package/recoverymod/getProtectedDatabases.js +67 -0
- package/recoverymod/getProtectedDatabases.js.map +1 -0
- package/recoverymod/getProtectionPolicies.d.ts +131 -0
- package/recoverymod/getProtectionPolicies.js +64 -0
- package/recoverymod/getProtectionPolicies.js.map +1 -0
- package/recoverymod/getProtectionPolicy.d.ts +119 -0
- package/recoverymod/getProtectionPolicy.js +51 -0
- package/recoverymod/getProtectionPolicy.js.map +1 -0
- package/recoverymod/getRecoveryServiceSubnet.d.ts +119 -0
- package/recoverymod/getRecoveryServiceSubnet.js +51 -0
- package/recoverymod/getRecoveryServiceSubnet.js.map +1 -0
- package/recoverymod/getRecoveryServiceSubnets.d.ts +145 -0
- package/recoverymod/getRecoveryServiceSubnets.js +64 -0
- package/recoverymod/getRecoveryServiceSubnets.js.map +1 -0
- package/recoverymod/index.d.ts +30 -0
- package/recoverymod/index.js +53 -0
- package/recoverymod/index.js.map +1 -0
- package/recoverymod/protectedDatabase.d.ts +312 -0
- package/recoverymod/protectedDatabase.js +149 -0
- package/recoverymod/protectedDatabase.js.map +1 -0
- package/recoverymod/protectionPolicy.d.ts +204 -0
- package/recoverymod/protectionPolicy.js +110 -0
- package/recoverymod/protectionPolicy.js.map +1 -0
- package/recoverymod/recoveryServiceSubnet.d.ts +209 -0
- package/recoverymod/recoveryServiceSubnet.js +114 -0
- package/recoverymod/recoveryServiceSubnet.js.map +1 -0
- package/types/input.d.ts +1468 -185
- package/types/output.d.ts +4597 -39
- package/vbs/getInstVbsInstance.d.ts +122 -0
- package/vbs/getInstVbsInstance.js +51 -0
- package/vbs/getInstVbsInstance.js.map +1 -0
- package/vbs/getInstVbsInstances.d.ts +113 -0
- package/vbs/getInstVbsInstances.js +61 -0
- package/vbs/getInstVbsInstances.js.map +1 -0
- package/vbs/index.d.ts +9 -0
- package/vbs/index.js +28 -0
- package/vbs/index.js.map +1 -0
- package/vbs/instVbsInstance.d.ts +230 -0
- package/vbs/instVbsInstance.js +115 -0
- package/vbs/instVbsInstance.js.map +1 -0
|
@@ -0,0 +1,219 @@
|
|
|
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 Detect Anomaly Job resource in Oracle Cloud Infrastructure Ai Anomaly Detection service.
|
|
6
|
+
*
|
|
7
|
+
* Creates a job to perform anomaly detection.
|
|
8
|
+
*
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* DetectAnomalyJobs can be imported using the `id`, e.g.
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import oci:AiAnomalyDetection/detectAnomalyJob:DetectAnomalyJob test_detect_anomaly_job "id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare class DetectAnomalyJob extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing DetectAnomalyJob resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DetectAnomalyJobState, opts?: pulumi.CustomResourceOptions): DetectAnomalyJob;
|
|
28
|
+
/**
|
|
29
|
+
* Returns true if the given object is an instance of DetectAnomalyJob. This is designed to work even
|
|
30
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
+
*/
|
|
32
|
+
static isInstance(obj: any): obj is DetectAnomalyJob;
|
|
33
|
+
/**
|
|
34
|
+
* (Updatable) The OCID of the compartment that starts the job.
|
|
35
|
+
*/
|
|
36
|
+
readonly compartmentId: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
|
39
|
+
*/
|
|
40
|
+
readonly definedTags: pulumi.Output<{
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}>;
|
|
43
|
+
/**
|
|
44
|
+
* (Updatable) A short description of the detect anomaly job.
|
|
45
|
+
*/
|
|
46
|
+
readonly description: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* (Updatable) Detect anomaly job display name.
|
|
49
|
+
*/
|
|
50
|
+
readonly displayName: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
|
53
|
+
*/
|
|
54
|
+
readonly freeformTags: pulumi.Output<{
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Detect anomaly asynchronous job details.
|
|
59
|
+
*/
|
|
60
|
+
readonly inputDetails: pulumi.Output<outputs.AiAnomalyDetection.DetectAnomalyJobInputDetails>;
|
|
61
|
+
/**
|
|
62
|
+
* The current state details of the batch document job.
|
|
63
|
+
*/
|
|
64
|
+
readonly lifecycleStateDetails: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The OCID of the trained model.
|
|
67
|
+
*/
|
|
68
|
+
readonly modelId: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Detect anomaly job output details.
|
|
71
|
+
*/
|
|
72
|
+
readonly outputDetails: pulumi.Output<outputs.AiAnomalyDetection.DetectAnomalyJobOutputDetails>;
|
|
73
|
+
/**
|
|
74
|
+
* The OCID of the project.
|
|
75
|
+
*/
|
|
76
|
+
readonly projectId: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The value that customer can adjust to control the sensitivity of anomaly detection
|
|
79
|
+
*/
|
|
80
|
+
readonly sensitivity: pulumi.Output<number>;
|
|
81
|
+
/**
|
|
82
|
+
* The current state of the batch document job.
|
|
83
|
+
*/
|
|
84
|
+
readonly state: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
87
|
+
*/
|
|
88
|
+
readonly systemTags: pulumi.Output<{
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}>;
|
|
91
|
+
/**
|
|
92
|
+
* Job accepted time
|
|
93
|
+
*/
|
|
94
|
+
readonly timeAccepted: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Job finished time
|
|
97
|
+
*/
|
|
98
|
+
readonly timeFinished: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Job started time
|
|
101
|
+
*/
|
|
102
|
+
readonly timeStarted: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Create a DetectAnomalyJob resource with the given unique name, arguments, and options.
|
|
105
|
+
*
|
|
106
|
+
* @param name The _unique_ name of the resource.
|
|
107
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
108
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
109
|
+
*/
|
|
110
|
+
constructor(name: string, args: DetectAnomalyJobArgs, opts?: pulumi.CustomResourceOptions);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Input properties used for looking up and filtering DetectAnomalyJob resources.
|
|
114
|
+
*/
|
|
115
|
+
export interface DetectAnomalyJobState {
|
|
116
|
+
/**
|
|
117
|
+
* (Updatable) The OCID of the compartment that starts the job.
|
|
118
|
+
*/
|
|
119
|
+
compartmentId?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
|
122
|
+
*/
|
|
123
|
+
definedTags?: pulumi.Input<{
|
|
124
|
+
[key: string]: any;
|
|
125
|
+
}>;
|
|
126
|
+
/**
|
|
127
|
+
* (Updatable) A short description of the detect anomaly job.
|
|
128
|
+
*/
|
|
129
|
+
description?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* (Updatable) Detect anomaly job display name.
|
|
132
|
+
*/
|
|
133
|
+
displayName?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
|
136
|
+
*/
|
|
137
|
+
freeformTags?: pulumi.Input<{
|
|
138
|
+
[key: string]: any;
|
|
139
|
+
}>;
|
|
140
|
+
/**
|
|
141
|
+
* Detect anomaly asynchronous job details.
|
|
142
|
+
*/
|
|
143
|
+
inputDetails?: pulumi.Input<inputs.AiAnomalyDetection.DetectAnomalyJobInputDetails>;
|
|
144
|
+
/**
|
|
145
|
+
* The current state details of the batch document job.
|
|
146
|
+
*/
|
|
147
|
+
lifecycleStateDetails?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* The OCID of the trained model.
|
|
150
|
+
*/
|
|
151
|
+
modelId?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Detect anomaly job output details.
|
|
154
|
+
*/
|
|
155
|
+
outputDetails?: pulumi.Input<inputs.AiAnomalyDetection.DetectAnomalyJobOutputDetails>;
|
|
156
|
+
/**
|
|
157
|
+
* The OCID of the project.
|
|
158
|
+
*/
|
|
159
|
+
projectId?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The value that customer can adjust to control the sensitivity of anomaly detection
|
|
162
|
+
*/
|
|
163
|
+
sensitivity?: pulumi.Input<number>;
|
|
164
|
+
/**
|
|
165
|
+
* The current state of the batch document job.
|
|
166
|
+
*/
|
|
167
|
+
state?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
170
|
+
*/
|
|
171
|
+
systemTags?: pulumi.Input<{
|
|
172
|
+
[key: string]: any;
|
|
173
|
+
}>;
|
|
174
|
+
/**
|
|
175
|
+
* Job accepted time
|
|
176
|
+
*/
|
|
177
|
+
timeAccepted?: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* Job finished time
|
|
180
|
+
*/
|
|
181
|
+
timeFinished?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* Job started time
|
|
184
|
+
*/
|
|
185
|
+
timeStarted?: pulumi.Input<string>;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* The set of arguments for constructing a DetectAnomalyJob resource.
|
|
189
|
+
*/
|
|
190
|
+
export interface DetectAnomalyJobArgs {
|
|
191
|
+
/**
|
|
192
|
+
* (Updatable) The OCID of the compartment that starts the job.
|
|
193
|
+
*/
|
|
194
|
+
compartmentId: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* (Updatable) A short description of the detect anomaly job.
|
|
197
|
+
*/
|
|
198
|
+
description?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* (Updatable) Detect anomaly job display name.
|
|
201
|
+
*/
|
|
202
|
+
displayName?: pulumi.Input<string>;
|
|
203
|
+
/**
|
|
204
|
+
* Detect anomaly asynchronous job details.
|
|
205
|
+
*/
|
|
206
|
+
inputDetails: pulumi.Input<inputs.AiAnomalyDetection.DetectAnomalyJobInputDetails>;
|
|
207
|
+
/**
|
|
208
|
+
* The OCID of the trained model.
|
|
209
|
+
*/
|
|
210
|
+
modelId: pulumi.Input<string>;
|
|
211
|
+
/**
|
|
212
|
+
* Detect anomaly job output details.
|
|
213
|
+
*/
|
|
214
|
+
outputDetails: pulumi.Input<inputs.AiAnomalyDetection.DetectAnomalyJobOutputDetails>;
|
|
215
|
+
/**
|
|
216
|
+
* The value that customer can adjust to control the sensitivity of anomaly detection
|
|
217
|
+
*/
|
|
218
|
+
sensitivity?: pulumi.Input<number>;
|
|
219
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.DetectAnomalyJob = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Detect Anomaly Job resource in Oracle Cloud Infrastructure Ai Anomaly Detection service.
|
|
10
|
+
*
|
|
11
|
+
* Creates a job to perform anomaly detection.
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* DetectAnomalyJobs can be imported using the `id`, e.g.
|
|
16
|
+
*
|
|
17
|
+
* ```sh
|
|
18
|
+
* $ pulumi import oci:AiAnomalyDetection/detectAnomalyJob:DetectAnomalyJob test_detect_anomaly_job "id"
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
class DetectAnomalyJob extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing DetectAnomalyJob resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param state Any extra arguments used during the lookup.
|
|
29
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
+
*/
|
|
31
|
+
static get(name, id, state, opts) {
|
|
32
|
+
return new DetectAnomalyJob(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of DetectAnomalyJob. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj) {
|
|
39
|
+
if (obj === undefined || obj === null) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
return obj['__pulumiType'] === DetectAnomalyJob.__pulumiType;
|
|
43
|
+
}
|
|
44
|
+
constructor(name, argsOrState, opts) {
|
|
45
|
+
let resourceInputs = {};
|
|
46
|
+
opts = opts || {};
|
|
47
|
+
if (opts.id) {
|
|
48
|
+
const state = argsOrState;
|
|
49
|
+
resourceInputs["compartmentId"] = state ? state.compartmentId : undefined;
|
|
50
|
+
resourceInputs["definedTags"] = state ? state.definedTags : undefined;
|
|
51
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
52
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
53
|
+
resourceInputs["freeformTags"] = state ? state.freeformTags : undefined;
|
|
54
|
+
resourceInputs["inputDetails"] = state ? state.inputDetails : undefined;
|
|
55
|
+
resourceInputs["lifecycleStateDetails"] = state ? state.lifecycleStateDetails : undefined;
|
|
56
|
+
resourceInputs["modelId"] = state ? state.modelId : undefined;
|
|
57
|
+
resourceInputs["outputDetails"] = state ? state.outputDetails : undefined;
|
|
58
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
59
|
+
resourceInputs["sensitivity"] = state ? state.sensitivity : undefined;
|
|
60
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
61
|
+
resourceInputs["systemTags"] = state ? state.systemTags : undefined;
|
|
62
|
+
resourceInputs["timeAccepted"] = state ? state.timeAccepted : undefined;
|
|
63
|
+
resourceInputs["timeFinished"] = state ? state.timeFinished : undefined;
|
|
64
|
+
resourceInputs["timeStarted"] = state ? state.timeStarted : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if ((!args || args.compartmentId === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'compartmentId'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.inputDetails === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'inputDetails'");
|
|
73
|
+
}
|
|
74
|
+
if ((!args || args.modelId === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'modelId'");
|
|
76
|
+
}
|
|
77
|
+
if ((!args || args.outputDetails === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'outputDetails'");
|
|
79
|
+
}
|
|
80
|
+
resourceInputs["compartmentId"] = args ? args.compartmentId : undefined;
|
|
81
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
82
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
83
|
+
resourceInputs["inputDetails"] = args ? args.inputDetails : undefined;
|
|
84
|
+
resourceInputs["modelId"] = args ? args.modelId : undefined;
|
|
85
|
+
resourceInputs["outputDetails"] = args ? args.outputDetails : undefined;
|
|
86
|
+
resourceInputs["sensitivity"] = args ? args.sensitivity : undefined;
|
|
87
|
+
resourceInputs["definedTags"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["freeformTags"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["lifecycleStateDetails"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["systemTags"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["timeAccepted"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["timeFinished"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["timeStarted"] = undefined /*out*/;
|
|
96
|
+
}
|
|
97
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
98
|
+
super(DetectAnomalyJob.__pulumiType, name, resourceInputs, opts);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.DetectAnomalyJob = DetectAnomalyJob;
|
|
102
|
+
/** @internal */
|
|
103
|
+
DetectAnomalyJob.__pulumiType = 'oci:AiAnomalyDetection/detectAnomalyJob:DetectAnomalyJob';
|
|
104
|
+
//# sourceMappingURL=detectAnomalyJob.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detectAnomalyJob.js","sourceRoot":"","sources":["../../aianomalydetection/detectAnomalyJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IA2ED,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,C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AAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA3JL,4CA4JC;AA9IG,gBAAgB;AACO,6BAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides details about a specific Detect Anomaly Job resource in Oracle Cloud Infrastructure Ai Anomaly Detection service.
|
|
5
|
+
*
|
|
6
|
+
* Gets a detect anomaly asynchronous job by identifier.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as oci from "@pulumi/oci";
|
|
13
|
+
*
|
|
14
|
+
* const testDetectAnomalyJob = oci.AiAnomalyDetection.getDetectAnomalyJob({
|
|
15
|
+
* detectAnomalyJobId: oci_ai_anomaly_detection_detect_anomaly_job.test_detect_anomaly_job.id,
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getDetectAnomalyJob(args: GetDetectAnomalyJobArgs, opts?: pulumi.InvokeOptions): Promise<GetDetectAnomalyJobResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getDetectAnomalyJob.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetDetectAnomalyJobArgs {
|
|
24
|
+
/**
|
|
25
|
+
* Unique asynchronous job identifier.
|
|
26
|
+
*/
|
|
27
|
+
detectAnomalyJobId: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getDetectAnomalyJob.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetDetectAnomalyJobResult {
|
|
33
|
+
/**
|
|
34
|
+
* The OCID of the compartment that starts the job.
|
|
35
|
+
*/
|
|
36
|
+
readonly compartmentId: string;
|
|
37
|
+
/**
|
|
38
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
|
39
|
+
*/
|
|
40
|
+
readonly definedTags: {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Detect anomaly job description.
|
|
45
|
+
*/
|
|
46
|
+
readonly description: string;
|
|
47
|
+
readonly detectAnomalyJobId: string;
|
|
48
|
+
/**
|
|
49
|
+
* Detect anomaly job display name.
|
|
50
|
+
*/
|
|
51
|
+
readonly displayName: string;
|
|
52
|
+
/**
|
|
53
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
|
54
|
+
*/
|
|
55
|
+
readonly freeformTags: {
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Id of the job.
|
|
60
|
+
*/
|
|
61
|
+
readonly id: string;
|
|
62
|
+
/**
|
|
63
|
+
* Input details for detect anomaly job.
|
|
64
|
+
*/
|
|
65
|
+
readonly inputDetails: outputs.AiAnomalyDetection.GetDetectAnomalyJobInputDetail[];
|
|
66
|
+
/**
|
|
67
|
+
* The current state details of the batch document job.
|
|
68
|
+
*/
|
|
69
|
+
readonly lifecycleStateDetails: string;
|
|
70
|
+
/**
|
|
71
|
+
* The OCID of the trained model.
|
|
72
|
+
*/
|
|
73
|
+
readonly modelId: string;
|
|
74
|
+
/**
|
|
75
|
+
* Output details for detect anomaly job.
|
|
76
|
+
*/
|
|
77
|
+
readonly outputDetails: outputs.AiAnomalyDetection.GetDetectAnomalyJobOutputDetail[];
|
|
78
|
+
/**
|
|
79
|
+
* The OCID of the project.
|
|
80
|
+
*/
|
|
81
|
+
readonly projectId: string;
|
|
82
|
+
/**
|
|
83
|
+
* The value that customer can adjust to control the sensitivity of anomaly detection
|
|
84
|
+
*/
|
|
85
|
+
readonly sensitivity: number;
|
|
86
|
+
/**
|
|
87
|
+
* The current state of the batch document job.
|
|
88
|
+
*/
|
|
89
|
+
readonly state: string;
|
|
90
|
+
/**
|
|
91
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
92
|
+
*/
|
|
93
|
+
readonly systemTags: {
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Job accepted time
|
|
98
|
+
*/
|
|
99
|
+
readonly timeAccepted: string;
|
|
100
|
+
/**
|
|
101
|
+
* Job finished time
|
|
102
|
+
*/
|
|
103
|
+
readonly timeFinished: string;
|
|
104
|
+
/**
|
|
105
|
+
* Job started time
|
|
106
|
+
*/
|
|
107
|
+
readonly timeStarted: string;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* This data source provides details about a specific Detect Anomaly Job resource in Oracle Cloud Infrastructure Ai Anomaly Detection service.
|
|
111
|
+
*
|
|
112
|
+
* Gets a detect anomaly asynchronous job by identifier.
|
|
113
|
+
*
|
|
114
|
+
* ## Example Usage
|
|
115
|
+
*
|
|
116
|
+
* ```typescript
|
|
117
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
118
|
+
* import * as oci from "@pulumi/oci";
|
|
119
|
+
*
|
|
120
|
+
* const testDetectAnomalyJob = oci.AiAnomalyDetection.getDetectAnomalyJob({
|
|
121
|
+
* detectAnomalyJobId: oci_ai_anomaly_detection_detect_anomaly_job.test_detect_anomaly_job.id,
|
|
122
|
+
* });
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
125
|
+
export declare function getDetectAnomalyJobOutput(args: GetDetectAnomalyJobOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDetectAnomalyJobResult>;
|
|
126
|
+
/**
|
|
127
|
+
* A collection of arguments for invoking getDetectAnomalyJob.
|
|
128
|
+
*/
|
|
129
|
+
export interface GetDetectAnomalyJobOutputArgs {
|
|
130
|
+
/**
|
|
131
|
+
* Unique asynchronous job identifier.
|
|
132
|
+
*/
|
|
133
|
+
detectAnomalyJobId: pulumi.Input<string>;
|
|
134
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getDetectAnomalyJobOutput = exports.getDetectAnomalyJob = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides details about a specific Detect Anomaly Job resource in Oracle Cloud Infrastructure Ai Anomaly Detection service.
|
|
10
|
+
*
|
|
11
|
+
* Gets a detect anomaly asynchronous job by identifier.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testDetectAnomalyJob = oci.AiAnomalyDetection.getDetectAnomalyJob({
|
|
20
|
+
* detectAnomalyJobId: oci_ai_anomaly_detection_detect_anomaly_job.test_detect_anomaly_job.id,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getDetectAnomalyJob(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("oci:AiAnomalyDetection/getDetectAnomalyJob:getDetectAnomalyJob", {
|
|
27
|
+
"detectAnomalyJobId": args.detectAnomalyJobId,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getDetectAnomalyJob = getDetectAnomalyJob;
|
|
31
|
+
/**
|
|
32
|
+
* This data source provides details about a specific Detect Anomaly Job resource in Oracle Cloud Infrastructure Ai Anomaly Detection service.
|
|
33
|
+
*
|
|
34
|
+
* Gets a detect anomaly asynchronous job by identifier.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as oci from "@pulumi/oci";
|
|
41
|
+
*
|
|
42
|
+
* const testDetectAnomalyJob = oci.AiAnomalyDetection.getDetectAnomalyJob({
|
|
43
|
+
* detectAnomalyJobId: oci_ai_anomaly_detection_detect_anomaly_job.test_detect_anomaly_job.id,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getDetectAnomalyJobOutput(args, opts) {
|
|
48
|
+
return pulumi.output(args).apply((a) => getDetectAnomalyJob(a, opts));
|
|
49
|
+
}
|
|
50
|
+
exports.getDetectAnomalyJobOutput = getDetectAnomalyJobOutput;
|
|
51
|
+
//# sourceMappingURL=getDetectAnomalyJob.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDetectAnomalyJob.js","sourceRoot":"","sources":["../../aianomalydetection/getDetectAnomalyJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAsFD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
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 Detect Anomaly Jobs in Oracle Cloud Infrastructure Ai Anomaly Detection service.
|
|
6
|
+
*
|
|
7
|
+
* Returns a list of all the Anomaly Detection jobs in the specified 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 testDetectAnomalyJobs = oci.AiAnomalyDetection.getDetectAnomalyJobs({
|
|
16
|
+
* compartmentId: _var.compartment_id,
|
|
17
|
+
* detectAnomalyJobId: oci_ai_anomaly_detection_detect_anomaly_job.test_detect_anomaly_job.id,
|
|
18
|
+
* displayName: _var.detect_anomaly_job_display_name,
|
|
19
|
+
* modelId: oci_ai_anomaly_detection_model.test_model.id,
|
|
20
|
+
* projectId: oci_ai_anomaly_detection_project.test_project.id,
|
|
21
|
+
* state: _var.detect_anomaly_job_state,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function getDetectAnomalyJobs(args: GetDetectAnomalyJobsArgs, opts?: pulumi.InvokeOptions): Promise<GetDetectAnomalyJobsResult>;
|
|
26
|
+
/**
|
|
27
|
+
* A collection of arguments for invoking getDetectAnomalyJobs.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetDetectAnomalyJobsArgs {
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the compartment in which to list resources.
|
|
32
|
+
*/
|
|
33
|
+
compartmentId: string;
|
|
34
|
+
/**
|
|
35
|
+
* Unique Async Job identifier
|
|
36
|
+
*/
|
|
37
|
+
detectAnomalyJobId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* A filter to return only resources that match the entire display name given.
|
|
40
|
+
*/
|
|
41
|
+
displayName?: string;
|
|
42
|
+
filters?: inputs.AiAnomalyDetection.GetDetectAnomalyJobsFilter[];
|
|
43
|
+
/**
|
|
44
|
+
* The ID of the trained model for which to list the resources.
|
|
45
|
+
*/
|
|
46
|
+
modelId?: string;
|
|
47
|
+
/**
|
|
48
|
+
* The ID of the project for which to list the objects.
|
|
49
|
+
*/
|
|
50
|
+
projectId?: string;
|
|
51
|
+
/**
|
|
52
|
+
* <b>Filter</b> results by the specified lifecycle state. Must be a valid state for the resource type.
|
|
53
|
+
*/
|
|
54
|
+
state?: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* A collection of values returned by getDetectAnomalyJobs.
|
|
58
|
+
*/
|
|
59
|
+
export interface GetDetectAnomalyJobsResult {
|
|
60
|
+
/**
|
|
61
|
+
* The OCID of the compartment that starts the job.
|
|
62
|
+
*/
|
|
63
|
+
readonly compartmentId: string;
|
|
64
|
+
/**
|
|
65
|
+
* The list of detect_anomaly_job_collection.
|
|
66
|
+
*/
|
|
67
|
+
readonly detectAnomalyJobCollections: outputs.AiAnomalyDetection.GetDetectAnomalyJobsDetectAnomalyJobCollection[];
|
|
68
|
+
readonly detectAnomalyJobId?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Detect anomaly job display name.
|
|
71
|
+
*/
|
|
72
|
+
readonly displayName?: string;
|
|
73
|
+
readonly filters?: outputs.AiAnomalyDetection.GetDetectAnomalyJobsFilter[];
|
|
74
|
+
/**
|
|
75
|
+
* The provider-assigned unique ID for this managed resource.
|
|
76
|
+
*/
|
|
77
|
+
readonly id: string;
|
|
78
|
+
/**
|
|
79
|
+
* The OCID of the trained model.
|
|
80
|
+
*/
|
|
81
|
+
readonly modelId?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The OCID of the project.
|
|
84
|
+
*/
|
|
85
|
+
readonly projectId?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The current state of the batch document job.
|
|
88
|
+
*/
|
|
89
|
+
readonly state?: string;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* This data source provides the list of Detect Anomaly Jobs in Oracle Cloud Infrastructure Ai Anomaly Detection service.
|
|
93
|
+
*
|
|
94
|
+
* Returns a list of all the Anomaly Detection jobs in the specified compartment.
|
|
95
|
+
*
|
|
96
|
+
* ## Example Usage
|
|
97
|
+
*
|
|
98
|
+
* ```typescript
|
|
99
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
100
|
+
* import * as oci from "@pulumi/oci";
|
|
101
|
+
*
|
|
102
|
+
* const testDetectAnomalyJobs = oci.AiAnomalyDetection.getDetectAnomalyJobs({
|
|
103
|
+
* compartmentId: _var.compartment_id,
|
|
104
|
+
* detectAnomalyJobId: oci_ai_anomaly_detection_detect_anomaly_job.test_detect_anomaly_job.id,
|
|
105
|
+
* displayName: _var.detect_anomaly_job_display_name,
|
|
106
|
+
* modelId: oci_ai_anomaly_detection_model.test_model.id,
|
|
107
|
+
* projectId: oci_ai_anomaly_detection_project.test_project.id,
|
|
108
|
+
* state: _var.detect_anomaly_job_state,
|
|
109
|
+
* });
|
|
110
|
+
* ```
|
|
111
|
+
*/
|
|
112
|
+
export declare function getDetectAnomalyJobsOutput(args: GetDetectAnomalyJobsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDetectAnomalyJobsResult>;
|
|
113
|
+
/**
|
|
114
|
+
* A collection of arguments for invoking getDetectAnomalyJobs.
|
|
115
|
+
*/
|
|
116
|
+
export interface GetDetectAnomalyJobsOutputArgs {
|
|
117
|
+
/**
|
|
118
|
+
* The ID of the compartment in which to list resources.
|
|
119
|
+
*/
|
|
120
|
+
compartmentId: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Unique Async Job identifier
|
|
123
|
+
*/
|
|
124
|
+
detectAnomalyJobId?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* A filter to return only resources that match the entire display name given.
|
|
127
|
+
*/
|
|
128
|
+
displayName?: pulumi.Input<string>;
|
|
129
|
+
filters?: pulumi.Input<pulumi.Input<inputs.AiAnomalyDetection.GetDetectAnomalyJobsFilterArgs>[]>;
|
|
130
|
+
/**
|
|
131
|
+
* The ID of the trained model for which to list the resources.
|
|
132
|
+
*/
|
|
133
|
+
modelId?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The ID of the project for which to list the objects.
|
|
136
|
+
*/
|
|
137
|
+
projectId?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* <b>Filter</b> results by the specified lifecycle state. Must be a valid state for the resource type.
|
|
140
|
+
*/
|
|
141
|
+
state?: pulumi.Input<string>;
|
|
142
|
+
}
|