import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Stream Job resource in Oracle Cloud Infrastructure Ai Vision service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/vision/latest/StreamJob * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/aiVision * * Create a stream analysis job with given inputs and features. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testStreamJob = new oci.aivision.StreamJob("test_stream_job", { * compartmentId: compartmentId, * features: [{ * featureType: streamJobFeaturesFeatureType, * maxResults: Number(streamJobFeaturesMaxResults), * shouldReturnLandmarks: streamJobFeaturesShouldReturnLandmarks === "true", * trackingTypes: [{ * biometricStoreCompartmentId: testCompartment.id, * biometricStoreId: testBiometricStore.id, * detectionModelId: testModel.id, * maxResults: Number(streamJobFeaturesTrackingTypesMaxResults), * objects: streamJobFeaturesTrackingTypesObjects, * shouldReturnLandmarks: streamJobFeaturesTrackingTypesShouldReturnLandmarks === "true", * trackingModelId: testModel.id, * }], * }], * streamOutputLocation: { * bucket: streamJobStreamOutputLocationBucket, * namespace: streamJobStreamOutputLocationNamespace, * outputLocationType: streamJobStreamOutputLocationOutputLocationType, * prefix: streamJobStreamOutputLocationPrefix, * oboToken: streamJobStreamOutputLocationOboToken, * }, * streamSourceId: testStreamSource.id, * definedTags: streamJobDefinedTags, * displayName: streamJobDisplayName, * freeformTags: streamJobFreeformTags, * }); * ``` * * ## Import * * StreamJobs can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:AiVision/streamJob:StreamJob test_stream_job "id" * ``` */ export declare class StreamJob extends pulumi.CustomResource { /** * Get an existing StreamJob resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: StreamJobState, opts?: pulumi.CustomResourceOptions): StreamJob; /** * Returns true if the given object is an instance of StreamJob. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is StreamJob; /** * participant id of agent where results need to be sent */ readonly agentParticipantId: pulumi.Output; /** * (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Stream job display name. */ readonly displayName: pulumi.Output; /** * (Updatable) a list of stream analysis features. */ readonly features: pulumi.Output; /** * (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"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * Additional details about current state of streamJob */ readonly lifecycleDetails: pulumi.Output; /** * (Updatable) The target state for the Stream Job. Could be set to `ACTIVE` or `INACTIVE`. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly state: pulumi.Output; /** * (Updatable) Details about a where results will be Sent */ readonly streamOutputLocation: pulumi.Output; /** * (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of streamSource. */ readonly streamSourceId: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * When the streamJob was created, as an RFC3339 datetime string. */ readonly timeCreated: pulumi.Output; /** * When the stream job was updated, as an RFC3339 datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a StreamJob resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: StreamJobArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StreamJob resources. */ export interface StreamJobState { /** * participant id of agent where results need to be sent */ agentParticipantId?: pulumi.Input; /** * (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Stream job display name. */ displayName?: pulumi.Input; /** * (Updatable) a list of stream analysis features. */ features?: pulumi.Input[] | undefined>; /** * (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"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Additional details about current state of streamJob */ lifecycleDetails?: pulumi.Input; /** * (Updatable) The target state for the Stream Job. Could be set to `ACTIVE` or `INACTIVE`. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ state?: pulumi.Input; /** * (Updatable) Details about a where results will be Sent */ streamOutputLocation?: pulumi.Input; /** * (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of streamSource. */ streamSourceId?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * When the streamJob was created, as an RFC3339 datetime string. */ timeCreated?: pulumi.Input; /** * When the stream job was updated, as an RFC3339 datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a StreamJob resource. */ export interface StreamJobArgs { /** * (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Stream job display name. */ displayName?: pulumi.Input; /** * (Updatable) a list of stream analysis features. */ features: pulumi.Input[]>; /** * (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"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The target state for the Stream Job. Could be set to `ACTIVE` or `INACTIVE`. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ state?: pulumi.Input; /** * (Updatable) Details about a where results will be Sent */ streamOutputLocation: pulumi.Input; /** * (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of streamSource. */ streamSourceId: pulumi.Input; } //# sourceMappingURL=streamJob.d.ts.map