oci.AiVision.StreamSource
Explore with Pulumi AI
This resource provides the Stream Source resource in Oracle Cloud Infrastructure Ai Vision service.
Registration of new streamSource
Example Usage
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 pulumi
import pulumi_oci as oci
test_stream_source = oci.aivision.StreamSource("test_stream_source",
compartment_id=compartment_id,
stream_source_details={
"camera_url": stream_source_stream_source_details_camera_url,
"source_type": stream_source_stream_source_details_source_type,
"stream_network_access_details": {
"private_endpoint_id": test_private_endpoint["id"],
"stream_access_type": stream_source_stream_source_details_stream_network_access_details_stream_access_type,
},
"secret_id": test_secret["id"],
},
defined_tags=stream_source_defined_tags,
display_name=stream_source_display_name,
freeform_tags=stream_source_freeform_tags)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/aivision"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aivision.NewStreamSource(ctx, "test_stream_source", &aivision.StreamSourceArgs{
CompartmentId: pulumi.Any(compartmentId),
StreamSourceDetails: &aivision.StreamSourceStreamSourceDetailsArgs{
CameraUrl: pulumi.Any(streamSourceStreamSourceDetailsCameraUrl),
SourceType: pulumi.Any(streamSourceStreamSourceDetailsSourceType),
StreamNetworkAccessDetails: &aivision.StreamSourceStreamSourceDetailsStreamNetworkAccessDetailsArgs{
PrivateEndpointId: pulumi.Any(testPrivateEndpoint.Id),
StreamAccessType: pulumi.Any(streamSourceStreamSourceDetailsStreamNetworkAccessDetailsStreamAccessType),
},
SecretId: pulumi.Any(testSecret.Id),
},
DefinedTags: pulumi.Any(streamSourceDefinedTags),
DisplayName: pulumi.Any(streamSourceDisplayName),
FreeformTags: pulumi.Any(streamSourceFreeformTags),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testStreamSource = new Oci.AiVision.StreamSource("test_stream_source", new()
{
CompartmentId = compartmentId,
StreamSourceDetails = new Oci.AiVision.Inputs.StreamSourceStreamSourceDetailsArgs
{
CameraUrl = streamSourceStreamSourceDetailsCameraUrl,
SourceType = streamSourceStreamSourceDetailsSourceType,
StreamNetworkAccessDetails = new Oci.AiVision.Inputs.StreamSourceStreamSourceDetailsStreamNetworkAccessDetailsArgs
{
PrivateEndpointId = testPrivateEndpoint.Id,
StreamAccessType = streamSourceStreamSourceDetailsStreamNetworkAccessDetailsStreamAccessType,
},
SecretId = testSecret.Id,
},
DefinedTags = streamSourceDefinedTags,
DisplayName = streamSourceDisplayName,
FreeformTags = streamSourceFreeformTags,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.AiVision.StreamSource;
import com.pulumi.oci.AiVision.StreamSourceArgs;
import com.pulumi.oci.AiVision.inputs.StreamSourceStreamSourceDetailsArgs;
import com.pulumi.oci.AiVision.inputs.StreamSourceStreamSourceDetailsStreamNetworkAccessDetailsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testStreamSource = new StreamSource("testStreamSource", StreamSourceArgs.builder()
.compartmentId(compartmentId)
.streamSourceDetails(StreamSourceStreamSourceDetailsArgs.builder()
.cameraUrl(streamSourceStreamSourceDetailsCameraUrl)
.sourceType(streamSourceStreamSourceDetailsSourceType)
.streamNetworkAccessDetails(StreamSourceStreamSourceDetailsStreamNetworkAccessDetailsArgs.builder()
.privateEndpointId(testPrivateEndpoint.id())
.streamAccessType(streamSourceStreamSourceDetailsStreamNetworkAccessDetailsStreamAccessType)
.build())
.secretId(testSecret.id())
.build())
.definedTags(streamSourceDefinedTags)
.displayName(streamSourceDisplayName)
.freeformTags(streamSourceFreeformTags)
.build());
}
}
resources:
testStreamSource:
type: oci:AiVision:StreamSource
name: test_stream_source
properties:
compartmentId: ${compartmentId}
streamSourceDetails:
cameraUrl: ${streamSourceStreamSourceDetailsCameraUrl}
sourceType: ${streamSourceStreamSourceDetailsSourceType}
streamNetworkAccessDetails:
privateEndpointId: ${testPrivateEndpoint.id}
streamAccessType: ${streamSourceStreamSourceDetailsStreamNetworkAccessDetailsStreamAccessType}
secretId: ${testSecret.id}
definedTags: ${streamSourceDefinedTags}
displayName: ${streamSourceDisplayName}
freeformTags: ${streamSourceFreeformTags}
Create StreamSource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StreamSource(name: string, args: StreamSourceArgs, opts?: CustomResourceOptions);
@overload
def StreamSource(resource_name: str,
args: StreamSourceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StreamSource(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
stream_source_details: Optional[StreamSourceStreamSourceDetailsArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None)
func NewStreamSource(ctx *Context, name string, args StreamSourceArgs, opts ...ResourceOption) (*StreamSource, error)
public StreamSource(string name, StreamSourceArgs args, CustomResourceOptions? opts = null)
public StreamSource(String name, StreamSourceArgs args)
public StreamSource(String name, StreamSourceArgs args, CustomResourceOptions options)
type: oci:AiVision:StreamSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args StreamSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args StreamSourceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StreamSourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StreamSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StreamSourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var streamSourceResource = new Oci.AiVision.StreamSource("streamSourceResource", new()
{
CompartmentId = "string",
StreamSourceDetails = new Oci.AiVision.Inputs.StreamSourceStreamSourceDetailsArgs
{
CameraUrl = "string",
SourceType = "string",
StreamNetworkAccessDetails = new Oci.AiVision.Inputs.StreamSourceStreamSourceDetailsStreamNetworkAccessDetailsArgs
{
PrivateEndpointId = "string",
StreamAccessType = "string",
},
SecretId = "string",
},
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
});
example, err := aivision.NewStreamSource(ctx, "streamSourceResource", &aivision.StreamSourceArgs{
CompartmentId: pulumi.String("string"),
StreamSourceDetails: &aivision.StreamSourceStreamSourceDetailsArgs{
CameraUrl: pulumi.String("string"),
SourceType: pulumi.String("string"),
StreamNetworkAccessDetails: &aivision.StreamSourceStreamSourceDetailsStreamNetworkAccessDetailsArgs{
PrivateEndpointId: pulumi.String("string"),
StreamAccessType: pulumi.String("string"),
},
SecretId: pulumi.String("string"),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var streamSourceResource = new StreamSource("streamSourceResource", StreamSourceArgs.builder()
.compartmentId("string")
.streamSourceDetails(StreamSourceStreamSourceDetailsArgs.builder()
.cameraUrl("string")
.sourceType("string")
.streamNetworkAccessDetails(StreamSourceStreamSourceDetailsStreamNetworkAccessDetailsArgs.builder()
.privateEndpointId("string")
.streamAccessType("string")
.build())
.secretId("string")
.build())
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.build());
stream_source_resource = oci.aivision.StreamSource("streamSourceResource",
compartment_id="string",
stream_source_details={
"camera_url": "string",
"source_type": "string",
"stream_network_access_details": {
"private_endpoint_id": "string",
"stream_access_type": "string",
},
"secret_id": "string",
},
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
})
const streamSourceResource = new oci.aivision.StreamSource("streamSourceResource", {
compartmentId: "string",
streamSourceDetails: {
cameraUrl: "string",
sourceType: "string",
streamNetworkAccessDetails: {
privateEndpointId: "string",
streamAccessType: "string",
},
secretId: "string",
},
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
});
type: oci:AiVision:StreamSource
properties:
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
streamSourceDetails:
cameraUrl: string
secretId: string
sourceType: string
streamNetworkAccessDetails:
privateEndpointId: string
streamAccessType: string
StreamSource Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The StreamSource resource accepts the following input properties:
- Compartment
Id string - (Updatable) OCID of compartment
- Stream
Source StreamDetails Source Stream Source Details - (Updatable) Details about a stream source
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- Display
Name string - (Updatable) A human-friendly name for the streamSource.
- Dictionary<string, string>
- (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"}
- Compartment
Id string - (Updatable) OCID of compartment
- Stream
Source StreamDetails Source Stream Source Details Args - (Updatable) Details about a stream source
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- Display
Name string - (Updatable) A human-friendly name for the streamSource.
- map[string]string
- (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"}
- compartment
Id String - (Updatable) OCID of compartment
- stream
Source StreamDetails Source Stream Source Details - (Updatable) Details about a stream source
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- display
Name String - (Updatable) A human-friendly name for the streamSource.
- Map<String,String>
- (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"}
- compartment
Id string - (Updatable) OCID of compartment
- stream
Source StreamDetails Source Stream Source Details - (Updatable) Details about a stream source
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- display
Name string - (Updatable) A human-friendly name for the streamSource.
- {[key: string]: string}
- (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"}
- compartment_
id str - (Updatable) OCID of compartment
- stream_
source_ Streamdetails Source Stream Source Details Args - (Updatable) Details about a stream source
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- display_
name str - (Updatable) A human-friendly name for the streamSource.
- Mapping[str, str]
- (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"}
- compartment
Id String - (Updatable) OCID of compartment
- stream
Source Property MapDetails - (Updatable) Details about a stream source
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- display
Name String - (Updatable) A human-friendly name for the streamSource.
- Map<String>
- (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"}
Outputs
All input properties are implicitly available as output properties. Additionally, the StreamSource resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the streamSource.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}}
- Time
Created string - When the streamSource was created, as an RFC3339 datetime string.
- Time
Updated string - When the streamSource was updated, as an RFC3339 datetime string.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the streamSource.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}}
- Time
Created string - When the streamSource was created, as an RFC3339 datetime string.
- Time
Updated string - When the streamSource was updated, as an RFC3339 datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the streamSource.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}}
- time
Created String - When the streamSource was created, as an RFC3339 datetime string.
- time
Updated String - When the streamSource was updated, as an RFC3339 datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The current state of the streamSource.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}}
- time
Created string - When the streamSource was created, as an RFC3339 datetime string.
- time
Updated string - When the streamSource was updated, as an RFC3339 datetime string.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- The current state of the streamSource.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}}
- time_
created str - When the streamSource was created, as an RFC3339 datetime string.
- time_
updated str - When the streamSource was updated, as an RFC3339 datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the streamSource.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}}
- time
Created String - When the streamSource was created, as an RFC3339 datetime string.
- time
Updated String - When the streamSource was updated, as an RFC3339 datetime string.
Look up Existing StreamSource Resource
Get an existing StreamSource resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: StreamSourceState, opts?: CustomResourceOptions): StreamSource
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
state: Optional[str] = None,
stream_source_details: Optional[StreamSourceStreamSourceDetailsArgs] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> StreamSource
func GetStreamSource(ctx *Context, name string, id IDInput, state *StreamSourceState, opts ...ResourceOption) (*StreamSource, error)
public static StreamSource Get(string name, Input<string> id, StreamSourceState? state, CustomResourceOptions? opts = null)
public static StreamSource get(String name, Output<String> id, StreamSourceState state, CustomResourceOptions options)
resources: _: type: oci:AiVision:StreamSource get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - (Updatable) OCID of compartment
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- Display
Name string - (Updatable) A human-friendly name for the streamSource.
- Dictionary<string, string>
- (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"}
- State string
- The current state of the streamSource.
- Stream
Source StreamDetails Source Stream Source Details - (Updatable) Details about a stream source
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}}
- Time
Created string - When the streamSource was created, as an RFC3339 datetime string.
- Time
Updated string - When the streamSource was updated, as an RFC3339 datetime string.
- Compartment
Id string - (Updatable) OCID of compartment
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- Display
Name string - (Updatable) A human-friendly name for the streamSource.
- map[string]string
- (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"}
- State string
- The current state of the streamSource.
- Stream
Source StreamDetails Source Stream Source Details Args - (Updatable) Details about a stream source
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}}
- Time
Created string - When the streamSource was created, as an RFC3339 datetime string.
- Time
Updated string - When the streamSource was updated, as an RFC3339 datetime string.
- compartment
Id String - (Updatable) OCID of compartment
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- display
Name String - (Updatable) A human-friendly name for the streamSource.
- Map<String,String>
- (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"}
- state String
- The current state of the streamSource.
- stream
Source StreamDetails Source Stream Source Details - (Updatable) Details about a stream source
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}}
- time
Created String - When the streamSource was created, as an RFC3339 datetime string.
- time
Updated String - When the streamSource was updated, as an RFC3339 datetime string.
- compartment
Id string - (Updatable) OCID of compartment
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- display
Name string - (Updatable) A human-friendly name for the streamSource.
- {[key: string]: string}
- (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"}
- state string
- The current state of the streamSource.
- stream
Source StreamDetails Source Stream Source Details - (Updatable) Details about a stream source
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}}
- time
Created string - When the streamSource was created, as an RFC3339 datetime string.
- time
Updated string - When the streamSource was updated, as an RFC3339 datetime string.
- compartment_
id str - (Updatable) OCID of compartment
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- display_
name str - (Updatable) A human-friendly name for the streamSource.
- Mapping[str, str]
- (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"}
- state str
- The current state of the streamSource.
- stream_
source_ Streamdetails Source Stream Source Details Args - (Updatable) Details about a stream source
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}}
- time_
created str - When the streamSource was created, as an RFC3339 datetime string.
- time_
updated str - When the streamSource was updated, as an RFC3339 datetime string.
- compartment
Id String - (Updatable) OCID of compartment
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- display
Name String - (Updatable) A human-friendly name for the streamSource.
- Map<String>
- (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"}
- state String
- The current state of the streamSource.
- stream
Source Property MapDetails - (Updatable) Details about a stream source
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}}
- time
Created String - When the streamSource was created, as an RFC3339 datetime string.
- time
Updated String - When the streamSource was updated, as an RFC3339 datetime string.
Supporting Types
StreamSourceStreamSourceDetails, StreamSourceStreamSourceDetailsArgs
- Camera
Url string - (Updatable) url of camera
- Source
Type string - (Updatable) Type of source Allowed values are:
- RTSP
- Stream
Network StreamAccess Details Source Stream Source Details Stream Network Access Details - (Updatable) Details about a stream Connection type
- Secret
Id string - (Updatable) OCID of secret where credentials are stored in username:password format.
- Camera
Url string - (Updatable) url of camera
- Source
Type string - (Updatable) Type of source Allowed values are:
- RTSP
- Stream
Network StreamAccess Details Source Stream Source Details Stream Network Access Details - (Updatable) Details about a stream Connection type
- Secret
Id string - (Updatable) OCID of secret where credentials are stored in username:password format.
- camera
Url String - (Updatable) url of camera
- source
Type String - (Updatable) Type of source Allowed values are:
- RTSP
- stream
Network StreamAccess Details Source Stream Source Details Stream Network Access Details - (Updatable) Details about a stream Connection type
- secret
Id String - (Updatable) OCID of secret where credentials are stored in username:password format.
- camera
Url string - (Updatable) url of camera
- source
Type string - (Updatable) Type of source Allowed values are:
- RTSP
- stream
Network StreamAccess Details Source Stream Source Details Stream Network Access Details - (Updatable) Details about a stream Connection type
- secret
Id string - (Updatable) OCID of secret where credentials are stored in username:password format.
- camera_
url str - (Updatable) url of camera
- source_
type str - (Updatable) Type of source Allowed values are:
- RTSP
- stream_
network_ Streamaccess_ details Source Stream Source Details Stream Network Access Details - (Updatable) Details about a stream Connection type
- secret_
id str - (Updatable) OCID of secret where credentials are stored in username:password format.
- camera
Url String - (Updatable) url of camera
- source
Type String - (Updatable) Type of source Allowed values are:
- RTSP
- stream
Network Property MapAccess Details - (Updatable) Details about a stream Connection type
- secret
Id String - (Updatable) OCID of secret where credentials are stored in username:password format.
StreamSourceStreamSourceDetailsStreamNetworkAccessDetails, StreamSourceStreamSourceDetailsStreamNetworkAccessDetailsArgs
- Private
Endpoint stringId - (Updatable) OCID of the private Endpoint
- Stream
Access stringType (Updatable) Type of access Allowed values are:
- PRIVATE
** 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
- Private
Endpoint stringId - (Updatable) OCID of the private Endpoint
- Stream
Access stringType (Updatable) Type of access Allowed values are:
- PRIVATE
** 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
- private
Endpoint StringId - (Updatable) OCID of the private Endpoint
- stream
Access StringType (Updatable) Type of access Allowed values are:
- PRIVATE
** 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
- private
Endpoint stringId - (Updatable) OCID of the private Endpoint
- stream
Access stringType (Updatable) Type of access Allowed values are:
- PRIVATE
** 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
- private_
endpoint_ strid - (Updatable) OCID of the private Endpoint
- stream_
access_ strtype (Updatable) Type of access Allowed values are:
- PRIVATE
** 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
- private
Endpoint StringId - (Updatable) OCID of the private Endpoint
- stream
Access StringType (Updatable) Type of access Allowed values are:
- PRIVATE
** 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
Import
StreamSources can be imported using the id
, e.g.
$ pulumi import oci:AiVision/streamSource:StreamSource test_stream_source "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.