1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. MediaServices
  5. getStreamCdnConfig
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.MediaServices.getStreamCdnConfig

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 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,
    });
    
    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/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 GetStreamCdnConfig(ctx *Context, args *GetStreamCdnConfigArgs, opts ...InvokeOption) (*GetStreamCdnConfigResult, error)
    func GetStreamCdnConfigOutput(ctx *Context, args *GetStreamCdnConfigOutputArgs, opts ...InvokeOption) GetStreamCdnConfigResultOutput

    > 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)
    }
    public static CompletableFuture<GetStreamCdnConfigResult> getStreamCdnConfig(GetStreamCdnConfigArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:MediaServices/getStreamCdnConfig:getStreamCdnConfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

    StreamCdnConfigId string
    Unique StreamCdnConfig identifier.
    StreamCdnConfigId string
    Unique StreamCdnConfig identifier.
    streamCdnConfigId String
    Unique StreamCdnConfig identifier.
    streamCdnConfigId string
    Unique StreamCdnConfig identifier.
    stream_cdn_config_id str
    Unique StreamCdnConfig identifier.
    streamCdnConfigId 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, object>
    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, object>
    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, object>
    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]interface{}
    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]interface{}
    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]interface{}
    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,Object>
    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,Object>
    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,Object>
    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]: any}
    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]: any}
    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]: any}
    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, Any]
    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, Any]
    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, Any]
    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<Any>
    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<Any>
    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<Any>
    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.
    EdgePathPrefix string
    The path to prepend when building CDN URLs.
    EdgeTokenKey string
    The encryption key to use for edge token authentication.
    EdgeTokenSalt string
    Salt to use when encrypting authentication token.
    IsEdgeTokenAuth bool
    Whether token authentication should be used at the CDN edge.
    OriginAuthSecretKeyA string
    The shared secret key A, two for errorless key rotation.
    OriginAuthSecretKeyB string
    The shared secret key B, two for errorless key rotation.
    OriginAuthSecretKeyNonceA string
    Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
    OriginAuthSecretKeyNonceB string
    Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
    OriginAuthSignEncryption string
    The type of encryption used to compute the signature.
    OriginAuthSignType string
    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.
    EdgePathPrefix string
    The path to prepend when building CDN URLs.
    EdgeTokenKey string
    The encryption key to use for edge token authentication.
    EdgeTokenSalt string
    Salt to use when encrypting authentication token.
    IsEdgeTokenAuth bool
    Whether token authentication should be used at the CDN edge.
    OriginAuthSecretKeyA string
    The shared secret key A, two for errorless key rotation.
    OriginAuthSecretKeyB string
    The shared secret key B, two for errorless key rotation.
    OriginAuthSecretKeyNonceA string
    Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
    OriginAuthSecretKeyNonceB string
    Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
    OriginAuthSignEncryption string
    The type of encryption used to compute the signature.
    OriginAuthSignType string
    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.
    edgePathPrefix String
    The path to prepend when building CDN URLs.
    edgeTokenKey String
    The encryption key to use for edge token authentication.
    edgeTokenSalt String
    Salt to use when encrypting authentication token.
    isEdgeTokenAuth Boolean
    Whether token authentication should be used at the CDN edge.
    originAuthSecretKeyA String
    The shared secret key A, two for errorless key rotation.
    originAuthSecretKeyB String
    The shared secret key B, two for errorless key rotation.
    originAuthSecretKeyNonceA String
    Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
    originAuthSecretKeyNonceB String
    Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
    originAuthSignEncryption String
    The type of encryption used to compute the signature.
    originAuthSignType String
    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.
    edgePathPrefix string
    The path to prepend when building CDN URLs.
    edgeTokenKey string
    The encryption key to use for edge token authentication.
    edgeTokenSalt string
    Salt to use when encrypting authentication token.
    isEdgeTokenAuth boolean
    Whether token authentication should be used at the CDN edge.
    originAuthSecretKeyA string
    The shared secret key A, two for errorless key rotation.
    originAuthSecretKeyB string
    The shared secret key B, two for errorless key rotation.
    originAuthSecretKeyNonceA string
    Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
    originAuthSecretKeyNonceB string
    Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
    originAuthSignEncryption string
    The type of encryption used to compute the signature.
    originAuthSignType string
    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_prefix str
    The path to prepend when building CDN URLs.
    edge_token_key str
    The encryption key to use for edge token authentication.
    edge_token_salt str
    Salt to use when encrypting authentication token.
    is_edge_token_auth bool
    Whether token authentication should be used at the CDN edge.
    origin_auth_secret_key_a str
    The shared secret key A, two for errorless key rotation.
    origin_auth_secret_key_b str
    The shared secret key B, two for errorless key rotation.
    origin_auth_secret_key_nonce_a str
    Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
    origin_auth_secret_key_nonce_b str
    Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
    origin_auth_sign_encryption str
    The type of encryption used to compute the signature.
    origin_auth_sign_type str
    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.
    edgePathPrefix String
    The path to prepend when building CDN URLs.
    edgeTokenKey String
    The encryption key to use for edge token authentication.
    edgeTokenSalt String
    Salt to use when encrypting authentication token.
    isEdgeTokenAuth Boolean
    Whether token authentication should be used at the CDN edge.
    originAuthSecretKeyA String
    The shared secret key A, two for errorless key rotation.
    originAuthSecretKeyB String
    The shared secret key B, two for errorless key rotation.
    originAuthSecretKeyNonceA String
    Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
    originAuthSecretKeyNonceB String
    Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
    originAuthSignEncryption String
    The type of encryption used to compute the signature.
    originAuthSignType String
    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.
    RelatedResourceId 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.
    RelatedResourceId 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.
    relatedResourceId 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.
    relatedResourceId 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.
    related_resource_id 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.
    relatedResourceId 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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi