Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.MediaServices.getStreamCdnConfig
Explore with Pulumi AI
This data source provides details about a specific Stream Cdn Config resource in Oracle Cloud Infrastructure Media Services service.
Gets a StreamCdnConfig by identifier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testStreamCdnConfig = oci.MediaServices.getStreamCdnConfig({
    streamCdnConfigId: testStreamCdnConfigOciMediaServicesStreamCdnConfig.id,
});
import pulumi
import pulumi_oci as oci
test_stream_cdn_config = oci.MediaServices.get_stream_cdn_config(stream_cdn_config_id=test_stream_cdn_config_oci_media_services_stream_cdn_config["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/mediaservices"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mediaservices.GetStreamCdnConfig(ctx, &mediaservices.GetStreamCdnConfigArgs{
			StreamCdnConfigId: testStreamCdnConfigOciMediaServicesStreamCdnConfig.Id,
		}, nil)
		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 testStreamCdnConfig = Oci.MediaServices.GetStreamCdnConfig.Invoke(new()
    {
        StreamCdnConfigId = testStreamCdnConfigOciMediaServicesStreamCdnConfig.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.MediaServices.MediaServicesFunctions;
import com.pulumi.oci.MediaServices.inputs.GetStreamCdnConfigArgs;
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) {
        final var testStreamCdnConfig = MediaServicesFunctions.getStreamCdnConfig(GetStreamCdnConfigArgs.builder()
            .streamCdnConfigId(testStreamCdnConfigOciMediaServicesStreamCdnConfig.id())
            .build());
    }
}
variables:
  testStreamCdnConfig:
    fn::invoke:
      function: oci:MediaServices:getStreamCdnConfig
      arguments:
        streamCdnConfigId: ${testStreamCdnConfigOciMediaServicesStreamCdnConfig.id}
Using getStreamCdnConfig
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStreamCdnConfig(args: GetStreamCdnConfigArgs, opts?: InvokeOptions): Promise<GetStreamCdnConfigResult>
function getStreamCdnConfigOutput(args: GetStreamCdnConfigOutputArgs, opts?: InvokeOptions): Output<GetStreamCdnConfigResult>def get_stream_cdn_config(stream_cdn_config_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetStreamCdnConfigResult
def get_stream_cdn_config_output(stream_cdn_config_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetStreamCdnConfigResult]func LookupStreamCdnConfig(ctx *Context, args *LookupStreamCdnConfigArgs, opts ...InvokeOption) (*LookupStreamCdnConfigResult, error)
func LookupStreamCdnConfigOutput(ctx *Context, args *LookupStreamCdnConfigOutputArgs, opts ...InvokeOption) LookupStreamCdnConfigResultOutput> Note: This function is named LookupStreamCdnConfig in the Go SDK.
public static class GetStreamCdnConfig 
{
    public static Task<GetStreamCdnConfigResult> InvokeAsync(GetStreamCdnConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetStreamCdnConfigResult> Invoke(GetStreamCdnConfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStreamCdnConfigResult> getStreamCdnConfig(GetStreamCdnConfigArgs args, InvokeOptions options)
public static Output<GetStreamCdnConfigResult> getStreamCdnConfig(GetStreamCdnConfigArgs args, InvokeOptions options)
fn::invoke:
  function: oci:MediaServices/getStreamCdnConfig:getStreamCdnConfig
  arguments:
    # arguments dictionaryThe following arguments are supported:
- StreamCdn stringConfig Id 
- Unique StreamCdnConfig identifier.
- StreamCdn stringConfig Id 
- Unique StreamCdnConfig identifier.
- streamCdn StringConfig Id 
- Unique StreamCdnConfig identifier.
- streamCdn stringConfig Id 
- Unique StreamCdnConfig identifier.
- stream_cdn_ strconfig_ id 
- Unique StreamCdnConfig identifier.
- streamCdn StringConfig Id 
- Unique StreamCdnConfig identifier.
getStreamCdnConfig Result
The following output properties are available:
- CompartmentId string
- The compartment ID of the lock.
- Configs
List<GetStream Cdn Config Config> 
- Base fields of the StreamCdnConfig configuration object.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- The CDN Configuration identifier or display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- DistributionChannel stringId 
- Distribution Channel Identifier.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- Id string
- Unique identifier that is immutable on creation.
- IsEnabled bool
- Whether publishing to CDN is enabled.
- IsLock boolOverride 
- LifecyleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Locks
List<GetStream Cdn Config Lock> 
- Locks associated with this resource.
- State string
- The current state of the CDN Configuration.
- StreamCdn stringConfig Id 
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time when the CDN Config was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the CDN Config was updated. An RFC3339 formatted datetime string.
- CompartmentId string
- The compartment ID of the lock.
- Configs
[]GetStream Cdn Config Config 
- Base fields of the StreamCdnConfig configuration object.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- The CDN Configuration identifier or display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- DistributionChannel stringId 
- Distribution Channel Identifier.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- Id string
- Unique identifier that is immutable on creation.
- IsEnabled bool
- Whether publishing to CDN is enabled.
- IsLock boolOverride 
- LifecyleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Locks
[]GetStream Cdn Config Lock 
- Locks associated with this resource.
- State string
- The current state of the CDN Configuration.
- StreamCdn stringConfig Id 
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time when the CDN Config was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the CDN Config was updated. An RFC3339 formatted datetime string.
- compartmentId String
- The compartment ID of the lock.
- configs
List<GetStream Cdn Config Config> 
- Base fields of the StreamCdnConfig configuration object.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- The CDN Configuration identifier or display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- distributionChannel StringId 
- Distribution Channel Identifier.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id String
- Unique identifier that is immutable on creation.
- isEnabled Boolean
- Whether publishing to CDN is enabled.
- isLock BooleanOverride 
- lifecyleDetails String
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
List<GetStream Cdn Config Lock> 
- Locks associated with this resource.
- state String
- The current state of the CDN Configuration.
- streamCdn StringConfig Id 
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time when the CDN Config was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the CDN Config was updated. An RFC3339 formatted datetime string.
- compartmentId string
- The compartment ID of the lock.
- configs
GetStream Cdn Config Config[] 
- Base fields of the StreamCdnConfig configuration object.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName string
- The CDN Configuration identifier or display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- distributionChannel stringId 
- Distribution Channel Identifier.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id string
- Unique identifier that is immutable on creation.
- isEnabled boolean
- Whether publishing to CDN is enabled.
- isLock booleanOverride 
- lifecyleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
GetStream Cdn Config Lock[] 
- Locks associated with this resource.
- state string
- The current state of the CDN Configuration.
- streamCdn stringConfig Id 
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The time when the CDN Config was created. An RFC3339 formatted datetime string.
- timeUpdated string
- The time when the CDN Config was updated. An RFC3339 formatted datetime string.
- compartment_id str
- The compartment ID of the lock.
- configs
Sequence[GetStream Cdn Config Config] 
- Base fields of the StreamCdnConfig configuration object.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- display_name str
- The CDN Configuration identifier or display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- distribution_channel_ strid 
- Distribution Channel Identifier.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id str
- Unique identifier that is immutable on creation.
- is_enabled bool
- Whether publishing to CDN is enabled.
- is_lock_ booloverride 
- lifecyle_details str
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
Sequence[GetStream Cdn Config Lock] 
- Locks associated with this resource.
- state str
- The current state of the CDN Configuration.
- stream_cdn_ strconfig_ id 
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The time when the CDN Config was created. An RFC3339 formatted datetime string.
- time_updated str
- The time when the CDN Config was updated. An RFC3339 formatted datetime string.
- compartmentId String
- The compartment ID of the lock.
- configs List<Property Map>
- Base fields of the StreamCdnConfig configuration object.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- The CDN Configuration identifier or display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- distributionChannel StringId 
- Distribution Channel Identifier.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id String
- Unique identifier that is immutable on creation.
- isEnabled Boolean
- Whether publishing to CDN is enabled.
- isLock BooleanOverride 
- lifecyleDetails String
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks List<Property Map>
- Locks associated with this resource.
- state String
- The current state of the CDN Configuration.
- streamCdn StringConfig Id 
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time when the CDN Config was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the CDN Config was updated. An RFC3339 formatted datetime string.
Supporting Types
GetStreamCdnConfigConfig    
- EdgeHostname string
- The hostname of the CDN edge server to use when building CDN URLs.
- EdgePath stringPrefix 
- The path to prepend when building CDN URLs.
- EdgeToken stringKey 
- The encryption key to use for edge token authentication.
- EdgeToken stringSalt 
- Salt to use when encrypting authentication token.
- IsEdge boolToken Auth 
- Whether token authentication should be used at the CDN edge.
- OriginAuth stringSecret Key A 
- The shared secret key A, two for errorless key rotation.
- OriginAuth stringSecret Key B 
- The shared secret key B, two for errorless key rotation.
- OriginAuth stringSecret Key Nonce A 
- Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
- OriginAuth stringSecret Key Nonce B 
- Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
- OriginAuth stringSign Encryption 
- The type of encryption used to compute the signature.
- OriginAuth stringSign Type 
- The type of data used to compute the signature.
- Type string
- Type of the lock.
- EdgeHostname string
- The hostname of the CDN edge server to use when building CDN URLs.
- EdgePath stringPrefix 
- The path to prepend when building CDN URLs.
- EdgeToken stringKey 
- The encryption key to use for edge token authentication.
- EdgeToken stringSalt 
- Salt to use when encrypting authentication token.
- IsEdge boolToken Auth 
- Whether token authentication should be used at the CDN edge.
- OriginAuth stringSecret Key A 
- The shared secret key A, two for errorless key rotation.
- OriginAuth stringSecret Key B 
- The shared secret key B, two for errorless key rotation.
- OriginAuth stringSecret Key Nonce A 
- Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
- OriginAuth stringSecret Key Nonce B 
- Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
- OriginAuth stringSign Encryption 
- The type of encryption used to compute the signature.
- OriginAuth stringSign Type 
- The type of data used to compute the signature.
- Type string
- Type of the lock.
- edgeHostname String
- The hostname of the CDN edge server to use when building CDN URLs.
- edgePath StringPrefix 
- The path to prepend when building CDN URLs.
- edgeToken StringKey 
- The encryption key to use for edge token authentication.
- edgeToken StringSalt 
- Salt to use when encrypting authentication token.
- isEdge BooleanToken Auth 
- Whether token authentication should be used at the CDN edge.
- originAuth StringSecret Key A 
- The shared secret key A, two for errorless key rotation.
- originAuth StringSecret Key B 
- The shared secret key B, two for errorless key rotation.
- originAuth StringSecret Key Nonce A 
- Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
- originAuth StringSecret Key Nonce B 
- Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
- originAuth StringSign Encryption 
- The type of encryption used to compute the signature.
- originAuth StringSign Type 
- The type of data used to compute the signature.
- type String
- Type of the lock.
- edgeHostname string
- The hostname of the CDN edge server to use when building CDN URLs.
- edgePath stringPrefix 
- The path to prepend when building CDN URLs.
- edgeToken stringKey 
- The encryption key to use for edge token authentication.
- edgeToken stringSalt 
- Salt to use when encrypting authentication token.
- isEdge booleanToken Auth 
- Whether token authentication should be used at the CDN edge.
- originAuth stringSecret Key A 
- The shared secret key A, two for errorless key rotation.
- originAuth stringSecret Key B 
- The shared secret key B, two for errorless key rotation.
- originAuth stringSecret Key Nonce A 
- Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
- originAuth stringSecret Key Nonce B 
- Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
- originAuth stringSign Encryption 
- The type of encryption used to compute the signature.
- originAuth stringSign Type 
- The type of data used to compute the signature.
- type string
- Type of the lock.
- edge_hostname str
- The hostname of the CDN edge server to use when building CDN URLs.
- edge_path_ strprefix 
- The path to prepend when building CDN URLs.
- edge_token_ strkey 
- The encryption key to use for edge token authentication.
- edge_token_ strsalt 
- Salt to use when encrypting authentication token.
- is_edge_ booltoken_ auth 
- Whether token authentication should be used at the CDN edge.
- origin_auth_ strsecret_ key_ a 
- The shared secret key A, two for errorless key rotation.
- origin_auth_ strsecret_ key_ b 
- The shared secret key B, two for errorless key rotation.
- origin_auth_ strsecret_ key_ nonce_ a 
- Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
- origin_auth_ strsecret_ key_ nonce_ b 
- Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
- origin_auth_ strsign_ encryption 
- The type of encryption used to compute the signature.
- origin_auth_ strsign_ type 
- The type of data used to compute the signature.
- type str
- Type of the lock.
- edgeHostname String
- The hostname of the CDN edge server to use when building CDN URLs.
- edgePath StringPrefix 
- The path to prepend when building CDN URLs.
- edgeToken StringKey 
- The encryption key to use for edge token authentication.
- edgeToken StringSalt 
- Salt to use when encrypting authentication token.
- isEdge BooleanToken Auth 
- Whether token authentication should be used at the CDN edge.
- originAuth StringSecret Key A 
- The shared secret key A, two for errorless key rotation.
- originAuth StringSecret Key B 
- The shared secret key B, two for errorless key rotation.
- originAuth StringSecret Key Nonce A 
- Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
- originAuth StringSecret Key Nonce B 
- Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
- originAuth StringSign Encryption 
- The type of encryption used to compute the signature.
- originAuth StringSign Type 
- The type of data used to compute the signature.
- type String
- Type of the lock.
GetStreamCdnConfigLock    
- CompartmentId string
- The compartment ID of the lock.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- TimeCreated string
- The time when the CDN Config was created. An RFC3339 formatted datetime string.
- Type string
- Type of the lock.
- CompartmentId string
- The compartment ID of the lock.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- TimeCreated string
- The time when the CDN Config was created. An RFC3339 formatted datetime string.
- Type string
- Type of the lock.
- compartmentId String
- The compartment ID of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- timeCreated String
- The time when the CDN Config was created. An RFC3339 formatted datetime string.
- type String
- Type of the lock.
- compartmentId string
- The compartment ID of the lock.
- message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- timeCreated string
- The time when the CDN Config was created. An RFC3339 formatted datetime string.
- type string
- Type of the lock.
- compartment_id str
- The compartment ID of the lock.
- message str
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- str
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time_created str
- The time when the CDN Config was created. An RFC3339 formatted datetime string.
- type str
- Type of the lock.
- compartmentId String
- The compartment ID of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- timeCreated String
- The time when the CDN Config was created. An RFC3339 formatted datetime string.
- type String
- Type of the lock.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.