1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. MediaServices
  5. getStreamCdnConfig
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.MediaServices.getStreamCdnConfig

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

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,
});
Copy
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"])
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  testStreamCdnConfig:
    fn::invoke:
      function: oci:MediaServices:getStreamCdnConfig
      arguments:
        streamCdnConfigId: ${testStreamCdnConfigOciMediaServicesStreamCdnConfig.id}
Copy

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>
Copy
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]
Copy
func GetStreamCdnConfig(ctx *Context, args *GetStreamCdnConfigArgs, opts ...InvokeOption) (*GetStreamCdnConfigResult, error)
func GetStreamCdnConfigOutput(ctx *Context, args *GetStreamCdnConfigOutputArgs, opts ...InvokeOption) GetStreamCdnConfigResultOutput
Copy

> Note: This function is named GetStreamCdnConfig 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)
}
Copy
public static CompletableFuture<GetStreamCdnConfigResult> getStreamCdnConfig(GetStreamCdnConfigArgs args, InvokeOptions options)
public static Output<GetStreamCdnConfigResult> getStreamCdnConfig(GetStreamCdnConfigArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:MediaServices/getStreamCdnConfig:getStreamCdnConfig
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

StreamCdnConfigId This property is required. string
Unique StreamCdnConfig identifier.
StreamCdnConfigId This property is required. string
Unique StreamCdnConfig identifier.
streamCdnConfigId This property is required. String
Unique StreamCdnConfig identifier.
streamCdnConfigId This property is required. string
Unique StreamCdnConfig identifier.
stream_cdn_config_id This property is required. str
Unique StreamCdnConfig identifier.
streamCdnConfigId This property is required. String
Unique StreamCdnConfig identifier.

getStreamCdnConfig Result

The following output properties are available:

CompartmentId string
The compartment ID of the lock.
Configs List<GetStreamCdnConfigConfig>
Base fields of the StreamCdnConfig configuration object.
DefinedTags 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.
DistributionChannelId string
Distribution Channel Identifier.
FreeformTags 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.
IsLockOverride bool
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<GetStreamCdnConfigLock>
Locks associated with this resource.
State string
The current state of the CDN Configuration.
StreamCdnConfigId string
SystemTags 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 []GetStreamCdnConfigConfig
Base fields of the StreamCdnConfig configuration object.
DefinedTags 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.
DistributionChannelId string
Distribution Channel Identifier.
FreeformTags 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.
IsLockOverride bool
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 []GetStreamCdnConfigLock
Locks associated with this resource.
State string
The current state of the CDN Configuration.
StreamCdnConfigId string
SystemTags 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<GetStreamCdnConfigConfig>
Base fields of the StreamCdnConfig configuration object.
definedTags 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.
distributionChannelId String
Distribution Channel Identifier.
freeformTags 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.
isLockOverride Boolean
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<GetStreamCdnConfigLock>
Locks associated with this resource.
state String
The current state of the CDN Configuration.
streamCdnConfigId String
systemTags 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 GetStreamCdnConfigConfig[]
Base fields of the StreamCdnConfig configuration object.
definedTags {[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.
distributionChannelId string
Distribution Channel Identifier.
freeformTags {[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.
isLockOverride boolean
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 GetStreamCdnConfigLock[]
Locks associated with this resource.
state string
The current state of the CDN Configuration.
streamCdnConfigId string
systemTags {[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[mediaservices.GetStreamCdnConfigConfig]
Base fields of the StreamCdnConfig configuration object.
defined_tags 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_id str
Distribution Channel Identifier.
freeform_tags 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_override bool
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[mediaservices.GetStreamCdnConfigLock]
Locks associated with this resource.
state str
The current state of the CDN Configuration.
stream_cdn_config_id str
system_tags 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.
definedTags 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.
distributionChannelId String
Distribution Channel Identifier.
freeformTags 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.
isLockOverride Boolean
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.
streamCdnConfigId String
systemTags 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 This property is required. string
The hostname of the CDN edge server to use when building CDN URLs.
EdgePathPrefix This property is required. string
The path to prepend when building CDN URLs.
EdgeTokenKey This property is required. string
The encryption key to use for edge token authentication.
EdgeTokenSalt This property is required. string
Salt to use when encrypting authentication token.
IsEdgeTokenAuth This property is required. bool
Whether token authentication should be used at the CDN edge.
OriginAuthSecretKeyA This property is required. string
The shared secret key A, two for errorless key rotation.
OriginAuthSecretKeyB This property is required. string
The shared secret key B, two for errorless key rotation.
OriginAuthSecretKeyNonceA This property is required. string
Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
OriginAuthSecretKeyNonceB This property is required. string
Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
OriginAuthSignEncryption This property is required. string
The type of encryption used to compute the signature.
OriginAuthSignType This property is required. string
The type of data used to compute the signature.
Type This property is required. string
Type of the lock.
EdgeHostname This property is required. string
The hostname of the CDN edge server to use when building CDN URLs.
EdgePathPrefix This property is required. string
The path to prepend when building CDN URLs.
EdgeTokenKey This property is required. string
The encryption key to use for edge token authentication.
EdgeTokenSalt This property is required. string
Salt to use when encrypting authentication token.
IsEdgeTokenAuth This property is required. bool
Whether token authentication should be used at the CDN edge.
OriginAuthSecretKeyA This property is required. string
The shared secret key A, two for errorless key rotation.
OriginAuthSecretKeyB This property is required. string
The shared secret key B, two for errorless key rotation.
OriginAuthSecretKeyNonceA This property is required. string
Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
OriginAuthSecretKeyNonceB This property is required. string
Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
OriginAuthSignEncryption This property is required. string
The type of encryption used to compute the signature.
OriginAuthSignType This property is required. string
The type of data used to compute the signature.
Type This property is required. string
Type of the lock.
edgeHostname This property is required. String
The hostname of the CDN edge server to use when building CDN URLs.
edgePathPrefix This property is required. String
The path to prepend when building CDN URLs.
edgeTokenKey This property is required. String
The encryption key to use for edge token authentication.
edgeTokenSalt This property is required. String
Salt to use when encrypting authentication token.
isEdgeTokenAuth This property is required. Boolean
Whether token authentication should be used at the CDN edge.
originAuthSecretKeyA This property is required. String
The shared secret key A, two for errorless key rotation.
originAuthSecretKeyB This property is required. String
The shared secret key B, two for errorless key rotation.
originAuthSecretKeyNonceA This property is required. String
Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
originAuthSecretKeyNonceB This property is required. String
Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
originAuthSignEncryption This property is required. String
The type of encryption used to compute the signature.
originAuthSignType This property is required. String
The type of data used to compute the signature.
type This property is required. String
Type of the lock.
edgeHostname This property is required. string
The hostname of the CDN edge server to use when building CDN URLs.
edgePathPrefix This property is required. string
The path to prepend when building CDN URLs.
edgeTokenKey This property is required. string
The encryption key to use for edge token authentication.
edgeTokenSalt This property is required. string
Salt to use when encrypting authentication token.
isEdgeTokenAuth This property is required. boolean
Whether token authentication should be used at the CDN edge.
originAuthSecretKeyA This property is required. string
The shared secret key A, two for errorless key rotation.
originAuthSecretKeyB This property is required. string
The shared secret key B, two for errorless key rotation.
originAuthSecretKeyNonceA This property is required. string
Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
originAuthSecretKeyNonceB This property is required. string
Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
originAuthSignEncryption This property is required. string
The type of encryption used to compute the signature.
originAuthSignType This property is required. string
The type of data used to compute the signature.
type This property is required. string
Type of the lock.
edge_hostname This property is required. str
The hostname of the CDN edge server to use when building CDN URLs.
edge_path_prefix This property is required. str
The path to prepend when building CDN URLs.
edge_token_key This property is required. str
The encryption key to use for edge token authentication.
edge_token_salt This property is required. str
Salt to use when encrypting authentication token.
is_edge_token_auth This property is required. bool
Whether token authentication should be used at the CDN edge.
origin_auth_secret_key_a This property is required. str
The shared secret key A, two for errorless key rotation.
origin_auth_secret_key_b This property is required. str
The shared secret key B, two for errorless key rotation.
origin_auth_secret_key_nonce_a This property is required. str
Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
origin_auth_secret_key_nonce_b This property is required. str
Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
origin_auth_sign_encryption This property is required. str
The type of encryption used to compute the signature.
origin_auth_sign_type This property is required. str
The type of data used to compute the signature.
type This property is required. str
Type of the lock.
edgeHostname This property is required. String
The hostname of the CDN edge server to use when building CDN URLs.
edgePathPrefix This property is required. String
The path to prepend when building CDN URLs.
edgeTokenKey This property is required. String
The encryption key to use for edge token authentication.
edgeTokenSalt This property is required. String
Salt to use when encrypting authentication token.
isEdgeTokenAuth This property is required. Boolean
Whether token authentication should be used at the CDN edge.
originAuthSecretKeyA This property is required. String
The shared secret key A, two for errorless key rotation.
originAuthSecretKeyB This property is required. String
The shared secret key B, two for errorless key rotation.
originAuthSecretKeyNonceA This property is required. String
Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
originAuthSecretKeyNonceB This property is required. String
Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
originAuthSignEncryption This property is required. String
The type of encryption used to compute the signature.
originAuthSignType This property is required. String
The type of data used to compute the signature.
type This property is required. String
Type of the lock.

GetStreamCdnConfigLock

CompartmentId This property is required. string
The compartment ID of the lock.
Message This property is required. string
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
RelatedResourceId This property is required. string
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
TimeCreated This property is required. string
The time when the CDN Config was created. An RFC3339 formatted datetime string.
Type This property is required. string
Type of the lock.
CompartmentId This property is required. string
The compartment ID of the lock.
Message This property is required. string
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
RelatedResourceId This property is required. string
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
TimeCreated This property is required. string
The time when the CDN Config was created. An RFC3339 formatted datetime string.
Type This property is required. string
Type of the lock.
compartmentId This property is required. String
The compartment ID of the lock.
message This property is required. String
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
relatedResourceId This property is required. String
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
timeCreated This property is required. String
The time when the CDN Config was created. An RFC3339 formatted datetime string.
type This property is required. String
Type of the lock.
compartmentId This property is required. string
The compartment ID of the lock.
message This property is required. string
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
relatedResourceId This property is required. string
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
timeCreated This property is required. string
The time when the CDN Config was created. An RFC3339 formatted datetime string.
type This property is required. string
Type of the lock.
compartment_id This property is required. str
The compartment ID of the lock.
message This property is required. str
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
related_resource_id This property is required. str
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
time_created This property is required. str
The time when the CDN Config was created. An RFC3339 formatted datetime string.
type This property is required. str
Type of the lock.
compartmentId This property is required. String
The compartment ID of the lock.
message This property is required. String
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
relatedResourceId This property is required. String
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
timeCreated This property is required. String
The time when the CDN Config was created. An RFC3339 formatted datetime string.
type This property is required. String
Type of the lock.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi