import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Stream Source resource in Oracle Cloud Infrastructure Ai Vision service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/vision/latest/StreamSource * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/aiVision * * Registration of new streamSource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testStreamSource = new oci.aivision.StreamSource("test_stream_source", { * compartmentId: compartmentId, * streamSourceDetails: { * cameraUrl: streamSourceStreamSourceDetailsCameraUrl, * sourceType: streamSourceStreamSourceDetailsSourceType, * streamNetworkAccessDetails: { * privateEndpointId: testPrivateEndpoint.id, * streamAccessType: streamSourceStreamSourceDetailsStreamNetworkAccessDetailsStreamAccessType, * }, * secretId: testSecret.id, * }, * definedTags: streamSourceDefinedTags, * displayName: streamSourceDisplayName, * freeformTags: streamSourceFreeformTags, * }); * ``` * * ## Import * * StreamSources can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:AiVision/streamSource:StreamSource test_stream_source "id" * ``` */ export declare class StreamSource extends pulumi.CustomResource { /** * Get an existing StreamSource 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?: StreamSourceState, opts?: pulumi.CustomResourceOptions): StreamSource; /** * Returns true if the given object is an instance of StreamSource. 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 StreamSource; /** * (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of 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) A human-friendly name for the streamSource. */ readonly displayName: 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; }>; /** * The current state of the streamSource. */ readonly state: pulumi.Output; /** * (Updatable) Details about a stream source */ readonly streamSourceDetails: 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 streamSource was created, as an RFC3339 datetime string. */ readonly timeCreated: pulumi.Output; /** * When the streamSource was updated, as an RFC3339 datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a StreamSource 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: StreamSourceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StreamSource resources. */ export interface StreamSourceState { /** * (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of 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) A human-friendly name for the streamSource. */ displayName?: 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>; /** * The current state of the streamSource. */ state?: pulumi.Input; /** * (Updatable) Details about a stream source */ streamSourceDetails?: 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 streamSource was created, as an RFC3339 datetime string. */ timeCreated?: pulumi.Input; /** * When the streamSource was updated, as an RFC3339 datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a StreamSource resource. */ export interface StreamSourceArgs { /** * (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of 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) A human-friendly name for the streamSource. */ displayName?: 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) Details about a stream source */ streamSourceDetails: pulumi.Input; } //# sourceMappingURL=streamSource.d.ts.map