Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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 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:
- Stream
Cdn stringConfig Id - Unique StreamCdnConfig identifier.
- Stream
Cdn stringConfig Id - Unique StreamCdnConfig identifier.
- stream
Cdn StringConfig Id - Unique StreamCdnConfig identifier.
- stream
Cdn stringConfig Id - Unique StreamCdnConfig identifier.
- stream_
cdn_ strconfig_ id - Unique StreamCdnConfig identifier.
- stream
Cdn StringConfig Id - Unique StreamCdnConfig identifier.
getStreamCdnConfig Result
The following output properties are available:
- Compartment
Id string - The compartment ID of the lock.
- Configs
List<Get
Stream 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"}
- Display
Name string - The CDN Configuration identifier or display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Distribution
Channel 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.
- Is
Enabled bool - Whether publishing to CDN is enabled.
- Is
Lock boolOverride - Lifecyle
Details 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<Get
Stream Cdn Config Lock> - Locks associated with this resource.
- State string
- The current state of the CDN Configuration.
- Stream
Cdn stringConfig Id - Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the CDN Config was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the CDN Config was updated. An RFC3339 formatted datetime string.
- Compartment
Id string - The compartment ID of the lock.
- Configs
[]Get
Stream 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"}
- Display
Name string - The CDN Configuration identifier or display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Distribution
Channel 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.
- Is
Enabled bool - Whether publishing to CDN is enabled.
- Is
Lock boolOverride - Lifecyle
Details 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
[]Get
Stream Cdn Config Lock - Locks associated with this resource.
- State string
- The current state of the CDN Configuration.
- Stream
Cdn stringConfig Id - map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the CDN Config was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the CDN Config was updated. An RFC3339 formatted datetime string.
- compartment
Id String - The compartment ID of the lock.
- configs
List<Get
Stream 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"}
- display
Name String - The CDN Configuration identifier or display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- distribution
Channel 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.
- is
Enabled Boolean - Whether publishing to CDN is enabled.
- is
Lock BooleanOverride - lifecyle
Details 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<Get
Stream Cdn Config Lock> - Locks associated with this resource.
- state String
- The current state of the CDN Configuration.
- stream
Cdn StringConfig Id - Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the CDN Config was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the CDN Config was updated. An RFC3339 formatted datetime string.
- compartment
Id string - The compartment ID of the lock.
- configs
Get
Stream 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"}
- display
Name string - The CDN Configuration identifier or display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- distribution
Channel 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.
- is
Enabled boolean - Whether publishing to CDN is enabled.
- is
Lock booleanOverride - lifecyle
Details 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
Get
Stream Cdn Config Lock[] - Locks associated with this resource.
- state string
- The current state of the CDN Configuration.
- stream
Cdn stringConfig Id - {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time when the CDN Config was created. An RFC3339 formatted datetime string.
- time
Updated 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.
Get Stream 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[mediaservices.
Get Stream 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.
- compartment
Id 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"}
- display
Name String - The CDN Configuration identifier or display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- distribution
Channel 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.
- is
Enabled Boolean - Whether publishing to CDN is enabled.
- is
Lock BooleanOverride - lifecyle
Details 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.
- stream
Cdn StringConfig Id - Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the CDN Config was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the CDN Config was updated. An RFC3339 formatted datetime string.
Supporting Types
GetStreamCdnConfigConfig
- Edge
Hostname string - The hostname of the CDN edge server to use when building CDN URLs.
- Edge
Path stringPrefix - The path to prepend when building CDN URLs.
- Edge
Token stringKey - The encryption key to use for edge token authentication.
- Edge
Token stringSalt - Salt to use when encrypting authentication token.
- Is
Edge boolToken Auth - Whether token authentication should be used at the CDN edge.
- Origin
Auth stringSecret Key A - The shared secret key A, two for errorless key rotation.
- Origin
Auth stringSecret Key B - The shared secret key B, two for errorless key rotation.
- Origin
Auth stringSecret Key Nonce A - Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
- Origin
Auth stringSecret Key Nonce B - Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
- Origin
Auth stringSign Encryption - The type of encryption used to compute the signature.
- Origin
Auth stringSign Type - The type of data used to compute the signature.
- Type string
- Type of the lock.
- Edge
Hostname string - The hostname of the CDN edge server to use when building CDN URLs.
- Edge
Path stringPrefix - The path to prepend when building CDN URLs.
- Edge
Token stringKey - The encryption key to use for edge token authentication.
- Edge
Token stringSalt - Salt to use when encrypting authentication token.
- Is
Edge boolToken Auth - Whether token authentication should be used at the CDN edge.
- Origin
Auth stringSecret Key A - The shared secret key A, two for errorless key rotation.
- Origin
Auth stringSecret Key B - The shared secret key B, two for errorless key rotation.
- Origin
Auth stringSecret Key Nonce A - Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
- Origin
Auth stringSecret Key Nonce B - Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
- Origin
Auth stringSign Encryption - The type of encryption used to compute the signature.
- Origin
Auth stringSign Type - The type of data used to compute the signature.
- Type string
- Type of the lock.
- edge
Hostname String - The hostname of the CDN edge server to use when building CDN URLs.
- edge
Path StringPrefix - The path to prepend when building CDN URLs.
- edge
Token StringKey - The encryption key to use for edge token authentication.
- edge
Token StringSalt - Salt to use when encrypting authentication token.
- is
Edge BooleanToken Auth - Whether token authentication should be used at the CDN edge.
- origin
Auth StringSecret Key A - The shared secret key A, two for errorless key rotation.
- origin
Auth StringSecret Key B - The shared secret key B, two for errorless key rotation.
- origin
Auth StringSecret Key Nonce A - Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
- origin
Auth StringSecret Key Nonce B - Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
- origin
Auth StringSign Encryption - The type of encryption used to compute the signature.
- origin
Auth StringSign Type - The type of data used to compute the signature.
- type String
- Type of the lock.
- edge
Hostname string - The hostname of the CDN edge server to use when building CDN URLs.
- edge
Path stringPrefix - The path to prepend when building CDN URLs.
- edge
Token stringKey - The encryption key to use for edge token authentication.
- edge
Token stringSalt - Salt to use when encrypting authentication token.
- is
Edge booleanToken Auth - Whether token authentication should be used at the CDN edge.
- origin
Auth stringSecret Key A - The shared secret key A, two for errorless key rotation.
- origin
Auth stringSecret Key B - The shared secret key B, two for errorless key rotation.
- origin
Auth stringSecret Key Nonce A - Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
- origin
Auth stringSecret Key Nonce B - Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
- origin
Auth stringSign Encryption - The type of encryption used to compute the signature.
- origin
Auth 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.
- edge
Hostname String - The hostname of the CDN edge server to use when building CDN URLs.
- edge
Path StringPrefix - The path to prepend when building CDN URLs.
- edge
Token StringKey - The encryption key to use for edge token authentication.
- edge
Token StringSalt - Salt to use when encrypting authentication token.
- is
Edge BooleanToken Auth - Whether token authentication should be used at the CDN edge.
- origin
Auth StringSecret Key A - The shared secret key A, two for errorless key rotation.
- origin
Auth StringSecret Key B - The shared secret key B, two for errorless key rotation.
- origin
Auth StringSecret Key Nonce A - Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
- origin
Auth StringSecret Key Nonce B - Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
- origin
Auth StringSign Encryption - The type of encryption used to compute the signature.
- origin
Auth StringSign Type - The type of data used to compute the signature.
- type String
- Type of the lock.
GetStreamCdnConfigLock
- Compartment
Id 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.
- Time
Created string - The time when the CDN Config was created. An RFC3339 formatted datetime string.
- Type string
- Type of the lock.
- Compartment
Id 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.
- Time
Created string - The time when the CDN Config was created. An RFC3339 formatted datetime string.
- Type string
- Type of the lock.
- compartment
Id 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.
- time
Created String - The time when the CDN Config was created. An RFC3339 formatted datetime string.
- type String
- Type of the lock.
- compartment
Id 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.
- time
Created 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.
- compartment
Id 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.
- time
Created 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.