@pulumi/oci 3.6.0-alpha.1756509375 → 3.6.0
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/aivision/getModel.d.ts +4 -4
- package/aivision/getModel.js +2 -2
- package/aivision/getModels.d.ts +11 -11
- package/aivision/getModels.js +2 -2
- package/aivision/getProject.d.ts +15 -15
- package/aivision/getProject.js +2 -2
- package/aivision/getProjects.d.ts +10 -10
- package/aivision/getProjects.js +2 -2
- package/aivision/getStreamGroup.d.ts +114 -0
- package/aivision/getStreamGroup.js +54 -0
- package/aivision/getStreamGroup.js.map +1 -0
- package/aivision/getStreamGroups.d.ts +99 -0
- package/aivision/getStreamGroups.js +66 -0
- package/aivision/getStreamGroups.js.map +1 -0
- package/aivision/getStreamJob.d.ts +122 -0
- package/aivision/getStreamJob.js +54 -0
- package/aivision/getStreamJob.js.map +1 -0
- package/aivision/getStreamJobs.d.ts +113 -0
- package/aivision/getStreamJobs.js +70 -0
- package/aivision/getStreamJobs.js.map +1 -0
- package/aivision/getStreamSource.d.ts +106 -0
- package/aivision/getStreamSource.js +54 -0
- package/aivision/getStreamSource.js.map +1 -0
- package/aivision/getStreamSources.d.ts +113 -0
- package/aivision/getStreamSources.js +70 -0
- package/aivision/getStreamSources.js.map +1 -0
- package/aivision/getVisionPrivateEndpoint.d.ts +113 -0
- package/aivision/getVisionPrivateEndpoint.js +54 -0
- package/aivision/getVisionPrivateEndpoint.js.map +1 -0
- package/aivision/getVisionPrivateEndpoints.d.ts +113 -0
- package/aivision/getVisionPrivateEndpoints.js +70 -0
- package/aivision/getVisionPrivateEndpoints.js.map +1 -0
- package/aivision/index.d.ts +36 -0
- package/aivision/index.js +45 -1
- package/aivision/index.js.map +1 -1
- package/aivision/model.d.ts +68 -72
- package/aivision/model.js +3 -7
- package/aivision/model.js.map +1 -1
- package/aivision/project.d.ts +28 -32
- package/aivision/project.js +3 -7
- package/aivision/project.js.map +1 -1
- package/aivision/streamGroup.d.ts +214 -0
- package/aivision/streamGroup.js +104 -0
- package/aivision/streamGroup.js.map +1 -0
- package/aivision/streamJob.d.ts +251 -0
- package/aivision/streamJob.js +134 -0
- package/aivision/streamJob.js.map +1 -0
- package/aivision/streamSource.d.ts +182 -0
- package/aivision/streamSource.js +107 -0
- package/aivision/streamSource.js.map +1 -0
- package/aivision/visionPrivateEndpoint.d.ts +205 -0
- package/aivision/visionPrivateEndpoint.js +104 -0
- package/aivision/visionPrivateEndpoint.js.map +1 -0
- package/cloudguard/getManagedList.d.ts +4 -0
- package/cloudguard/getManagedList.js.map +1 -1
- package/cloudguard/managedList.d.ts +12 -0
- package/cloudguard/managedList.js +2 -0
- package/cloudguard/managedList.js.map +1 -1
- package/database/exascaleDbStorageVault.d.ts +26 -0
- package/database/exascaleDbStorageVault.js +6 -0
- package/database/exascaleDbStorageVault.js.map +1 -1
- package/database/getExascaleDbStorageVault.d.ts +8 -0
- package/database/getExascaleDbStorageVault.js.map +1 -1
- package/mysql/getMysqlBackup.d.ts +6 -0
- package/mysql/getMysqlBackup.js.map +1 -1
- package/mysql/getMysqlBackups.d.ts +2 -2
- package/mysql/getMysqlBackups.js +2 -2
- package/mysql/mysqlBackup.d.ts +26 -0
- package/mysql/mysqlBackup.js +6 -0
- package/mysql/mysqlBackup.js.map +1 -1
- package/oci/dbmulticloudMultiCloudResourceDiscovery.d.ts +44 -25
- package/oci/dbmulticloudMultiCloudResourceDiscovery.js +4 -1
- package/oci/dbmulticloudMultiCloudResourceDiscovery.js.map +1 -1
- package/oci/dbmulticloudOracleDbAzureBlobContainer.d.ts +20 -20
- package/oci/dbmulticloudOracleDbAzureBlobContainer.js +1 -1
- package/oci/dbmulticloudOracleDbAzureBlobMount.d.ts +19 -20
- package/oci/dbmulticloudOracleDbAzureBlobMount.js +1 -2
- package/oci/dbmulticloudOracleDbAzureBlobMount.js.map +1 -1
- package/oci/dbmulticloudOracleDbAzureConnector.d.ts +40 -32
- package/oci/dbmulticloudOracleDbAzureConnector.js +4 -2
- package/oci/dbmulticloudOracleDbAzureConnector.js.map +1 -1
- package/oci/dbmulticloudOracleDbAzureVault.d.ts +33 -33
- package/oci/dbmulticloudOracleDbAzureVault.js +1 -1
- package/oci/dbmulticloudOracleDbAzureVaultAssociation.d.ts +23 -23
- package/oci/dbmulticloudOracleDbAzureVaultAssociation.js +1 -1
- package/oci/dbmulticloudOracleDbGcpIdentityConnector.d.ts +292 -0
- package/oci/dbmulticloudOracleDbGcpIdentityConnector.js +148 -0
- package/oci/dbmulticloudOracleDbGcpIdentityConnector.js.map +1 -0
- package/oci/dbmulticloudOracleDbGcpKeyRing.d.ts +254 -0
- package/oci/dbmulticloudOracleDbGcpKeyRing.js +120 -0
- package/oci/dbmulticloudOracleDbGcpKeyRing.js.map +1 -0
- package/oci/getDbmulticloudMultiCloudResourceDiscoveries.d.ts +28 -14
- package/oci/getDbmulticloudMultiCloudResourceDiscoveries.js +6 -2
- package/oci/getDbmulticloudMultiCloudResourceDiscoveries.js.map +1 -1
- package/oci/getDbmulticloudMultiCloudResourceDiscovery.d.ts +17 -11
- package/oci/getDbmulticloudMultiCloudResourceDiscovery.js +2 -2
- package/oci/getDbmulticloudMultiCloudResourceDiscovery.js.map +1 -1
- package/oci/getDbmulticloudOracleDbAzureBlobContainer.d.ts +12 -12
- package/oci/getDbmulticloudOracleDbAzureBlobContainer.js +2 -2
- package/oci/getDbmulticloudOracleDbAzureBlobContainers.d.ts +15 -15
- package/oci/getDbmulticloudOracleDbAzureBlobContainers.js +2 -2
- package/oci/getDbmulticloudOracleDbAzureBlobMount.d.ts +12 -12
- package/oci/getDbmulticloudOracleDbAzureBlobMount.js +2 -2
- package/oci/getDbmulticloudOracleDbAzureBlobMounts.d.ts +15 -15
- package/oci/getDbmulticloudOracleDbAzureBlobMounts.js +2 -2
- package/oci/getDbmulticloudOracleDbAzureConnector.d.ts +19 -15
- package/oci/getDbmulticloudOracleDbAzureConnector.js +2 -2
- package/oci/getDbmulticloudOracleDbAzureConnector.js.map +1 -1
- package/oci/getDbmulticloudOracleDbAzureConnectors.d.ts +11 -11
- package/oci/getDbmulticloudOracleDbAzureConnectors.js +2 -2
- package/oci/getDbmulticloudOracleDbAzureKey.d.ts +22 -12
- package/oci/getDbmulticloudOracleDbAzureKey.js +2 -2
- package/oci/getDbmulticloudOracleDbAzureKey.js.map +1 -1
- package/oci/getDbmulticloudOracleDbAzureKeys.d.ts +12 -12
- package/oci/getDbmulticloudOracleDbAzureKeys.js +2 -2
- package/oci/getDbmulticloudOracleDbAzureVault.d.ts +17 -17
- package/oci/getDbmulticloudOracleDbAzureVault.js +2 -2
- package/oci/getDbmulticloudOracleDbAzureVaultAssociation.d.ts +14 -14
- package/oci/getDbmulticloudOracleDbAzureVaultAssociation.js +2 -2
- package/oci/getDbmulticloudOracleDbAzureVaultAssociations.d.ts +15 -15
- package/oci/getDbmulticloudOracleDbAzureVaultAssociations.js +2 -2
- package/oci/getDbmulticloudOracleDbAzureVaults.d.ts +14 -14
- package/oci/getDbmulticloudOracleDbAzureVaults.js +2 -2
- package/oci/getDbmulticloudOracleDbGcpIdentityConnector.d.ts +142 -0
- package/oci/getDbmulticloudOracleDbGcpIdentityConnector.js +54 -0
- package/oci/getDbmulticloudOracleDbGcpIdentityConnector.js.map +1 -0
- package/oci/getDbmulticloudOracleDbGcpIdentityConnectors.d.ts +117 -0
- package/oci/getDbmulticloudOracleDbGcpIdentityConnectors.js +68 -0
- package/oci/getDbmulticloudOracleDbGcpIdentityConnectors.js.map +1 -0
- package/oci/getDbmulticloudOracleDbGcpKey.d.ts +123 -0
- package/oci/getDbmulticloudOracleDbGcpKey.js +54 -0
- package/oci/getDbmulticloudOracleDbGcpKey.js.map +1 -0
- package/oci/getDbmulticloudOracleDbGcpKeyRing.d.ts +127 -0
- package/oci/getDbmulticloudOracleDbGcpKeyRing.js +54 -0
- package/oci/getDbmulticloudOracleDbGcpKeyRing.js.map +1 -0
- package/oci/getDbmulticloudOracleDbGcpKeyRings.d.ts +125 -0
- package/oci/getDbmulticloudOracleDbGcpKeyRings.js +72 -0
- package/oci/getDbmulticloudOracleDbGcpKeyRings.js.map +1 -0
- package/oci/getDbmulticloudOracleDbGcpKeys.d.ts +128 -0
- package/oci/getDbmulticloudOracleDbGcpKeys.js +72 -0
- package/oci/getDbmulticloudOracleDbGcpKeys.js.map +1 -0
- package/oci/index.d.ts +24 -0
- package/oci/index.js +31 -3
- package/oci/index.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +484 -26
- package/types/output.d.ts +1822 -479
|
@@ -0,0 +1,134 @@
|
|
|
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.StreamJob = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Stream Job resource in Oracle Cloud Infrastructure Ai Vision service.
|
|
10
|
+
*
|
|
11
|
+
* Create a stream analysis job with given inputs and features.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testStreamJob = new oci.aivision.StreamJob("test_stream_job", {
|
|
20
|
+
* compartmentId: compartmentId,
|
|
21
|
+
* features: [{
|
|
22
|
+
* featureType: streamJobFeaturesFeatureType,
|
|
23
|
+
* maxResults: streamJobFeaturesMaxResults,
|
|
24
|
+
* shouldReturnLandmarks: streamJobFeaturesShouldReturnLandmarks,
|
|
25
|
+
* trackingTypes: [{
|
|
26
|
+
* biometricStoreCompartmentId: testCompartment.id,
|
|
27
|
+
* biometricStoreId: testBiometricStore.id,
|
|
28
|
+
* detectionModelId: testModel.id,
|
|
29
|
+
* maxResults: streamJobFeaturesTrackingTypesMaxResults,
|
|
30
|
+
* objects: streamJobFeaturesTrackingTypesObjects,
|
|
31
|
+
* shouldReturnLandmarks: streamJobFeaturesTrackingTypesShouldReturnLandmarks,
|
|
32
|
+
* trackingModelId: testModel.id,
|
|
33
|
+
* }],
|
|
34
|
+
* }],
|
|
35
|
+
* streamOutputLocation: {
|
|
36
|
+
* bucket: streamJobStreamOutputLocationBucket,
|
|
37
|
+
* namespace: streamJobStreamOutputLocationNamespace,
|
|
38
|
+
* outputLocationType: streamJobStreamOutputLocationOutputLocationType,
|
|
39
|
+
* prefix: streamJobStreamOutputLocationPrefix,
|
|
40
|
+
* oboToken: streamJobStreamOutputLocationOboToken,
|
|
41
|
+
* },
|
|
42
|
+
* streamSourceId: testStreamSource.id,
|
|
43
|
+
* definedTags: streamJobDefinedTags,
|
|
44
|
+
* displayName: streamJobDisplayName,
|
|
45
|
+
* freeformTags: streamJobFreeformTags,
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ## Import
|
|
50
|
+
*
|
|
51
|
+
* StreamJobs can be imported using the `id`, e.g.
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import oci:AiVision/streamJob:StreamJob test_stream_job "id"
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
class StreamJob extends pulumi.CustomResource {
|
|
58
|
+
/**
|
|
59
|
+
* Get an existing StreamJob resource's state with the given name, ID, and optional extra
|
|
60
|
+
* properties used to qualify the lookup.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resulting resource.
|
|
63
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
64
|
+
* @param state Any extra arguments used during the lookup.
|
|
65
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
|
+
*/
|
|
67
|
+
static get(name, id, state, opts) {
|
|
68
|
+
return new StreamJob(name, state, { ...opts, id: id });
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Returns true if the given object is an instance of StreamJob. This is designed to work even
|
|
72
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
73
|
+
*/
|
|
74
|
+
static isInstance(obj) {
|
|
75
|
+
if (obj === undefined || obj === null) {
|
|
76
|
+
return false;
|
|
77
|
+
}
|
|
78
|
+
return obj['__pulumiType'] === StreamJob.__pulumiType;
|
|
79
|
+
}
|
|
80
|
+
constructor(name, argsOrState, opts) {
|
|
81
|
+
let resourceInputs = {};
|
|
82
|
+
opts = opts || {};
|
|
83
|
+
if (opts.id) {
|
|
84
|
+
const state = argsOrState;
|
|
85
|
+
resourceInputs["agentParticipantId"] = state?.agentParticipantId;
|
|
86
|
+
resourceInputs["compartmentId"] = state?.compartmentId;
|
|
87
|
+
resourceInputs["definedTags"] = state?.definedTags;
|
|
88
|
+
resourceInputs["displayName"] = state?.displayName;
|
|
89
|
+
resourceInputs["features"] = state?.features;
|
|
90
|
+
resourceInputs["freeformTags"] = state?.freeformTags;
|
|
91
|
+
resourceInputs["lifecycleDetails"] = state?.lifecycleDetails;
|
|
92
|
+
resourceInputs["state"] = state?.state;
|
|
93
|
+
resourceInputs["streamOutputLocation"] = state?.streamOutputLocation;
|
|
94
|
+
resourceInputs["streamSourceId"] = state?.streamSourceId;
|
|
95
|
+
resourceInputs["systemTags"] = state?.systemTags;
|
|
96
|
+
resourceInputs["timeCreated"] = state?.timeCreated;
|
|
97
|
+
resourceInputs["timeUpdated"] = state?.timeUpdated;
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
const args = argsOrState;
|
|
101
|
+
if (args?.compartmentId === undefined && !opts.urn) {
|
|
102
|
+
throw new Error("Missing required property 'compartmentId'");
|
|
103
|
+
}
|
|
104
|
+
if (args?.features === undefined && !opts.urn) {
|
|
105
|
+
throw new Error("Missing required property 'features'");
|
|
106
|
+
}
|
|
107
|
+
if (args?.streamOutputLocation === undefined && !opts.urn) {
|
|
108
|
+
throw new Error("Missing required property 'streamOutputLocation'");
|
|
109
|
+
}
|
|
110
|
+
if (args?.streamSourceId === undefined && !opts.urn) {
|
|
111
|
+
throw new Error("Missing required property 'streamSourceId'");
|
|
112
|
+
}
|
|
113
|
+
resourceInputs["compartmentId"] = args?.compartmentId;
|
|
114
|
+
resourceInputs["definedTags"] = args?.definedTags;
|
|
115
|
+
resourceInputs["displayName"] = args?.displayName;
|
|
116
|
+
resourceInputs["features"] = args?.features;
|
|
117
|
+
resourceInputs["freeformTags"] = args?.freeformTags;
|
|
118
|
+
resourceInputs["state"] = args?.state;
|
|
119
|
+
resourceInputs["streamOutputLocation"] = args?.streamOutputLocation;
|
|
120
|
+
resourceInputs["streamSourceId"] = args?.streamSourceId;
|
|
121
|
+
resourceInputs["agentParticipantId"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["lifecycleDetails"] = undefined /*out*/;
|
|
123
|
+
resourceInputs["systemTags"] = undefined /*out*/;
|
|
124
|
+
resourceInputs["timeCreated"] = undefined /*out*/;
|
|
125
|
+
resourceInputs["timeUpdated"] = undefined /*out*/;
|
|
126
|
+
}
|
|
127
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
128
|
+
super(StreamJob.__pulumiType, name, resourceInputs, opts);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
exports.StreamJob = StreamJob;
|
|
132
|
+
/** @internal */
|
|
133
|
+
StreamJob.__pulumiType = 'oci:AiVision/streamJob:StreamJob';
|
|
134
|
+
//# sourceMappingURL=streamJob.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streamJob.js","sourceRoot":"","sources":["../../aivision/streamJob.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,SAAU,SAAQ,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,oBAAoB,CAAC;YACpE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA7IL,8BA8IC;AAhIG,gBAAgB;AACO,sBAAY,GAAG,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,182 @@
|
|
|
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 Stream Source resource in Oracle Cloud Infrastructure Ai Vision service.
|
|
6
|
+
*
|
|
7
|
+
* Registration of new streamSource
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as oci from "@pulumi/oci";
|
|
14
|
+
*
|
|
15
|
+
* const testStreamSource = new oci.aivision.StreamSource("test_stream_source", {
|
|
16
|
+
* compartmentId: compartmentId,
|
|
17
|
+
* streamSourceDetails: {
|
|
18
|
+
* cameraUrl: streamSourceStreamSourceDetailsCameraUrl,
|
|
19
|
+
* sourceType: streamSourceStreamSourceDetailsSourceType,
|
|
20
|
+
* streamNetworkAccessDetails: {
|
|
21
|
+
* privateEndpointId: testPrivateEndpoint.id,
|
|
22
|
+
* streamAccessType: streamSourceStreamSourceDetailsStreamNetworkAccessDetailsStreamAccessType,
|
|
23
|
+
* },
|
|
24
|
+
* secretId: testSecret.id,
|
|
25
|
+
* },
|
|
26
|
+
* definedTags: streamSourceDefinedTags,
|
|
27
|
+
* displayName: streamSourceDisplayName,
|
|
28
|
+
* freeformTags: streamSourceFreeformTags,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* StreamSources can be imported using the `id`, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import oci:AiVision/streamSource:StreamSource test_stream_source "id"
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare class StreamSource extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing StreamSource resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StreamSourceState, opts?: pulumi.CustomResourceOptions): StreamSource;
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of StreamSource. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj: any): obj is StreamSource;
|
|
56
|
+
/**
|
|
57
|
+
* (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment
|
|
58
|
+
*/
|
|
59
|
+
readonly compartmentId: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
|
62
|
+
*/
|
|
63
|
+
readonly definedTags: pulumi.Output<{
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
}>;
|
|
66
|
+
/**
|
|
67
|
+
* (Updatable) A human-friendly name for the streamSource.
|
|
68
|
+
*/
|
|
69
|
+
readonly displayName: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}`
|
|
72
|
+
*/
|
|
73
|
+
readonly freeformTags: pulumi.Output<{
|
|
74
|
+
[key: string]: string;
|
|
75
|
+
}>;
|
|
76
|
+
/**
|
|
77
|
+
* The current state of the streamSource.
|
|
78
|
+
*/
|
|
79
|
+
readonly state: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* (Updatable) Details about a stream source
|
|
82
|
+
*/
|
|
83
|
+
readonly streamSourceDetails: pulumi.Output<outputs.AiVision.StreamSourceStreamSourceDetails>;
|
|
84
|
+
/**
|
|
85
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
|
|
86
|
+
*/
|
|
87
|
+
readonly systemTags: pulumi.Output<{
|
|
88
|
+
[key: string]: string;
|
|
89
|
+
}>;
|
|
90
|
+
/**
|
|
91
|
+
* When the streamSource was created, as an RFC3339 datetime string.
|
|
92
|
+
*/
|
|
93
|
+
readonly timeCreated: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* When the streamSource was updated, as an RFC3339 datetime string.
|
|
96
|
+
*/
|
|
97
|
+
readonly timeUpdated: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Create a StreamSource resource with the given unique name, arguments, and options.
|
|
100
|
+
*
|
|
101
|
+
* @param name The _unique_ name of the resource.
|
|
102
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
103
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
104
|
+
*/
|
|
105
|
+
constructor(name: string, args: StreamSourceArgs, opts?: pulumi.CustomResourceOptions);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Input properties used for looking up and filtering StreamSource resources.
|
|
109
|
+
*/
|
|
110
|
+
export interface StreamSourceState {
|
|
111
|
+
/**
|
|
112
|
+
* (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment
|
|
113
|
+
*/
|
|
114
|
+
compartmentId?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
|
117
|
+
*/
|
|
118
|
+
definedTags?: pulumi.Input<{
|
|
119
|
+
[key: string]: pulumi.Input<string>;
|
|
120
|
+
}>;
|
|
121
|
+
/**
|
|
122
|
+
* (Updatable) A human-friendly name for the streamSource.
|
|
123
|
+
*/
|
|
124
|
+
displayName?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}`
|
|
127
|
+
*/
|
|
128
|
+
freeformTags?: pulumi.Input<{
|
|
129
|
+
[key: string]: pulumi.Input<string>;
|
|
130
|
+
}>;
|
|
131
|
+
/**
|
|
132
|
+
* The current state of the streamSource.
|
|
133
|
+
*/
|
|
134
|
+
state?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* (Updatable) Details about a stream source
|
|
137
|
+
*/
|
|
138
|
+
streamSourceDetails?: pulumi.Input<inputs.AiVision.StreamSourceStreamSourceDetails>;
|
|
139
|
+
/**
|
|
140
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
|
|
141
|
+
*/
|
|
142
|
+
systemTags?: pulumi.Input<{
|
|
143
|
+
[key: string]: pulumi.Input<string>;
|
|
144
|
+
}>;
|
|
145
|
+
/**
|
|
146
|
+
* When the streamSource was created, as an RFC3339 datetime string.
|
|
147
|
+
*/
|
|
148
|
+
timeCreated?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* When the streamSource was updated, as an RFC3339 datetime string.
|
|
151
|
+
*/
|
|
152
|
+
timeUpdated?: pulumi.Input<string>;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* The set of arguments for constructing a StreamSource resource.
|
|
156
|
+
*/
|
|
157
|
+
export interface StreamSourceArgs {
|
|
158
|
+
/**
|
|
159
|
+
* (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment
|
|
160
|
+
*/
|
|
161
|
+
compartmentId: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
|
164
|
+
*/
|
|
165
|
+
definedTags?: pulumi.Input<{
|
|
166
|
+
[key: string]: pulumi.Input<string>;
|
|
167
|
+
}>;
|
|
168
|
+
/**
|
|
169
|
+
* (Updatable) A human-friendly name for the streamSource.
|
|
170
|
+
*/
|
|
171
|
+
displayName?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}`
|
|
174
|
+
*/
|
|
175
|
+
freeformTags?: pulumi.Input<{
|
|
176
|
+
[key: string]: pulumi.Input<string>;
|
|
177
|
+
}>;
|
|
178
|
+
/**
|
|
179
|
+
* (Updatable) Details about a stream source
|
|
180
|
+
*/
|
|
181
|
+
streamSourceDetails: pulumi.Input<inputs.AiVision.StreamSourceStreamSourceDetails>;
|
|
182
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
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.StreamSource = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Stream Source resource in Oracle Cloud Infrastructure Ai Vision service.
|
|
10
|
+
*
|
|
11
|
+
* Registration of new streamSource
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testStreamSource = new oci.aivision.StreamSource("test_stream_source", {
|
|
20
|
+
* compartmentId: compartmentId,
|
|
21
|
+
* streamSourceDetails: {
|
|
22
|
+
* cameraUrl: streamSourceStreamSourceDetailsCameraUrl,
|
|
23
|
+
* sourceType: streamSourceStreamSourceDetailsSourceType,
|
|
24
|
+
* streamNetworkAccessDetails: {
|
|
25
|
+
* privateEndpointId: testPrivateEndpoint.id,
|
|
26
|
+
* streamAccessType: streamSourceStreamSourceDetailsStreamNetworkAccessDetailsStreamAccessType,
|
|
27
|
+
* },
|
|
28
|
+
* secretId: testSecret.id,
|
|
29
|
+
* },
|
|
30
|
+
* definedTags: streamSourceDefinedTags,
|
|
31
|
+
* displayName: streamSourceDisplayName,
|
|
32
|
+
* freeformTags: streamSourceFreeformTags,
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* StreamSources can be imported using the `id`, e.g.
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import oci:AiVision/streamSource:StreamSource test_stream_source "id"
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
class StreamSource extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing StreamSource resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param state Any extra arguments used during the lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name, id, state, opts) {
|
|
55
|
+
return new StreamSource(name, state, { ...opts, id: id });
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of StreamSource. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj) {
|
|
62
|
+
if (obj === undefined || obj === null) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return obj['__pulumiType'] === StreamSource.__pulumiType;
|
|
66
|
+
}
|
|
67
|
+
constructor(name, argsOrState, opts) {
|
|
68
|
+
let resourceInputs = {};
|
|
69
|
+
opts = opts || {};
|
|
70
|
+
if (opts.id) {
|
|
71
|
+
const state = argsOrState;
|
|
72
|
+
resourceInputs["compartmentId"] = state?.compartmentId;
|
|
73
|
+
resourceInputs["definedTags"] = state?.definedTags;
|
|
74
|
+
resourceInputs["displayName"] = state?.displayName;
|
|
75
|
+
resourceInputs["freeformTags"] = state?.freeformTags;
|
|
76
|
+
resourceInputs["state"] = state?.state;
|
|
77
|
+
resourceInputs["streamSourceDetails"] = state?.streamSourceDetails;
|
|
78
|
+
resourceInputs["systemTags"] = state?.systemTags;
|
|
79
|
+
resourceInputs["timeCreated"] = state?.timeCreated;
|
|
80
|
+
resourceInputs["timeUpdated"] = state?.timeUpdated;
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
const args = argsOrState;
|
|
84
|
+
if (args?.compartmentId === undefined && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'compartmentId'");
|
|
86
|
+
}
|
|
87
|
+
if (args?.streamSourceDetails === undefined && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'streamSourceDetails'");
|
|
89
|
+
}
|
|
90
|
+
resourceInputs["compartmentId"] = args?.compartmentId;
|
|
91
|
+
resourceInputs["definedTags"] = args?.definedTags;
|
|
92
|
+
resourceInputs["displayName"] = args?.displayName;
|
|
93
|
+
resourceInputs["freeformTags"] = args?.freeformTags;
|
|
94
|
+
resourceInputs["streamSourceDetails"] = args?.streamSourceDetails;
|
|
95
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["systemTags"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["timeCreated"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["timeUpdated"] = undefined /*out*/;
|
|
99
|
+
}
|
|
100
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
101
|
+
super(StreamSource.__pulumiType, name, resourceInputs, opts);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.StreamSource = StreamSource;
|
|
105
|
+
/** @internal */
|
|
106
|
+
StreamSource.__pulumiType = 'oci:AiVision/streamSource:StreamSource';
|
|
107
|
+
//# sourceMappingURL=streamSource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streamSource.js","sourceRoot":"","sources":["../../aivision/streamSource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,O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AAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,IAAI,IAAI,EAAE,mBAAmB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;aACtE;YACD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA3GL,oCA4GC;AA9FG,gBAAgB;AACO,yBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource provides the Vision Private Endpoint resource in Oracle Cloud Infrastructure Ai Vision service.
|
|
4
|
+
*
|
|
5
|
+
* Create a new visionPrivateEndpoint.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as oci from "@pulumi/oci";
|
|
12
|
+
*
|
|
13
|
+
* const testVisionPrivateEndpoint = new oci.aivision.VisionPrivateEndpoint("test_vision_private_endpoint", {
|
|
14
|
+
* compartmentId: compartmentId,
|
|
15
|
+
* subnetId: testSubnet.id,
|
|
16
|
+
* definedTags: visionPrivateEndpointDefinedTags,
|
|
17
|
+
* description: visionPrivateEndpointDescription,
|
|
18
|
+
* displayName: visionPrivateEndpointDisplayName,
|
|
19
|
+
* freeformTags: visionPrivateEndpointFreeformTags,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* VisionPrivateEndpoints can be imported using the `id`, e.g.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import oci:AiVision/visionPrivateEndpoint:VisionPrivateEndpoint test_vision_private_endpoint "id"
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class VisionPrivateEndpoint extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing VisionPrivateEndpoint resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VisionPrivateEndpointState, opts?: pulumi.CustomResourceOptions): VisionPrivateEndpoint;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of VisionPrivateEndpoint. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj: any): obj is VisionPrivateEndpoint;
|
|
47
|
+
/**
|
|
48
|
+
* (Updatable) The compartment identifier.
|
|
49
|
+
*/
|
|
50
|
+
readonly compartmentId: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
|
53
|
+
*/
|
|
54
|
+
readonly definedTags: pulumi.Output<{
|
|
55
|
+
[key: string]: string;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* (Updatable) An optional description of the visionPrivateEndpoint.
|
|
59
|
+
*/
|
|
60
|
+
readonly description: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* (Updatable) A human-friendly name for the visionPrivateEndpoint, that can be changed.
|
|
63
|
+
*/
|
|
64
|
+
readonly displayName: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}`
|
|
67
|
+
*/
|
|
68
|
+
readonly freeformTags: pulumi.Output<{
|
|
69
|
+
[key: string]: string;
|
|
70
|
+
}>;
|
|
71
|
+
/**
|
|
72
|
+
* A message describing the current state in more detail, that can provide actionable information if creation failed.
|
|
73
|
+
*/
|
|
74
|
+
readonly lifecycleDetails: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The current state of the visionPrivateEndpoint.
|
|
77
|
+
*/
|
|
78
|
+
readonly state: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of subnet
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* ** IMPORTANT **
|
|
84
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
85
|
+
*/
|
|
86
|
+
readonly subnetId: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
|
|
89
|
+
*/
|
|
90
|
+
readonly systemTags: pulumi.Output<{
|
|
91
|
+
[key: string]: string;
|
|
92
|
+
}>;
|
|
93
|
+
/**
|
|
94
|
+
* When the visionPrivateEndpoint was created, as an RFC3339 datetime string.
|
|
95
|
+
*/
|
|
96
|
+
readonly timeCreated: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* When the visionPrivateEndpoint was updated, as an RFC3339 datetime string.
|
|
99
|
+
*/
|
|
100
|
+
readonly timeUpdated: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Create a VisionPrivateEndpoint resource with the given unique name, arguments, and options.
|
|
103
|
+
*
|
|
104
|
+
* @param name The _unique_ name of the resource.
|
|
105
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
106
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
107
|
+
*/
|
|
108
|
+
constructor(name: string, args: VisionPrivateEndpointArgs, opts?: pulumi.CustomResourceOptions);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Input properties used for looking up and filtering VisionPrivateEndpoint resources.
|
|
112
|
+
*/
|
|
113
|
+
export interface VisionPrivateEndpointState {
|
|
114
|
+
/**
|
|
115
|
+
* (Updatable) The compartment identifier.
|
|
116
|
+
*/
|
|
117
|
+
compartmentId?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
|
120
|
+
*/
|
|
121
|
+
definedTags?: pulumi.Input<{
|
|
122
|
+
[key: string]: pulumi.Input<string>;
|
|
123
|
+
}>;
|
|
124
|
+
/**
|
|
125
|
+
* (Updatable) An optional description of the visionPrivateEndpoint.
|
|
126
|
+
*/
|
|
127
|
+
description?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* (Updatable) A human-friendly name for the visionPrivateEndpoint, that can be changed.
|
|
130
|
+
*/
|
|
131
|
+
displayName?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}`
|
|
134
|
+
*/
|
|
135
|
+
freeformTags?: pulumi.Input<{
|
|
136
|
+
[key: string]: pulumi.Input<string>;
|
|
137
|
+
}>;
|
|
138
|
+
/**
|
|
139
|
+
* A message describing the current state in more detail, that can provide actionable information if creation failed.
|
|
140
|
+
*/
|
|
141
|
+
lifecycleDetails?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* The current state of the visionPrivateEndpoint.
|
|
144
|
+
*/
|
|
145
|
+
state?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of subnet
|
|
148
|
+
*
|
|
149
|
+
*
|
|
150
|
+
* ** IMPORTANT **
|
|
151
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
152
|
+
*/
|
|
153
|
+
subnetId?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
|
|
156
|
+
*/
|
|
157
|
+
systemTags?: pulumi.Input<{
|
|
158
|
+
[key: string]: pulumi.Input<string>;
|
|
159
|
+
}>;
|
|
160
|
+
/**
|
|
161
|
+
* When the visionPrivateEndpoint was created, as an RFC3339 datetime string.
|
|
162
|
+
*/
|
|
163
|
+
timeCreated?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* When the visionPrivateEndpoint was updated, as an RFC3339 datetime string.
|
|
166
|
+
*/
|
|
167
|
+
timeUpdated?: pulumi.Input<string>;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* The set of arguments for constructing a VisionPrivateEndpoint resource.
|
|
171
|
+
*/
|
|
172
|
+
export interface VisionPrivateEndpointArgs {
|
|
173
|
+
/**
|
|
174
|
+
* (Updatable) The compartment identifier.
|
|
175
|
+
*/
|
|
176
|
+
compartmentId: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
|
179
|
+
*/
|
|
180
|
+
definedTags?: pulumi.Input<{
|
|
181
|
+
[key: string]: pulumi.Input<string>;
|
|
182
|
+
}>;
|
|
183
|
+
/**
|
|
184
|
+
* (Updatable) An optional description of the visionPrivateEndpoint.
|
|
185
|
+
*/
|
|
186
|
+
description?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* (Updatable) A human-friendly name for the visionPrivateEndpoint, that can be changed.
|
|
189
|
+
*/
|
|
190
|
+
displayName?: pulumi.Input<string>;
|
|
191
|
+
/**
|
|
192
|
+
* (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}`
|
|
193
|
+
*/
|
|
194
|
+
freeformTags?: pulumi.Input<{
|
|
195
|
+
[key: string]: pulumi.Input<string>;
|
|
196
|
+
}>;
|
|
197
|
+
/**
|
|
198
|
+
* [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of subnet
|
|
199
|
+
*
|
|
200
|
+
*
|
|
201
|
+
* ** IMPORTANT **
|
|
202
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
203
|
+
*/
|
|
204
|
+
subnetId: pulumi.Input<string>;
|
|
205
|
+
}
|