import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Stream Cdn Config resource in Oracle Cloud Infrastructure Media Services service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/dms/latest/StreamCdnConfig * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/media_services * * Creates a new CDN Configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testStreamCdnConfig = new oci.mediaservices.StreamCdnConfig("test_stream_cdn_config", { * config: { * type: streamCdnConfigConfigType, * edgeHostname: streamCdnConfigConfigEdgeHostname, * edgePathPrefix: streamCdnConfigConfigEdgePathPrefix, * edgeTokenKey: streamCdnConfigConfigEdgeTokenKey, * edgeTokenSalt: streamCdnConfigConfigEdgeTokenSalt, * isEdgeTokenAuth: streamCdnConfigConfigIsEdgeTokenAuth === "true", * originAuthSecretKeyA: streamCdnConfigConfigOriginAuthSecretKeyA, * originAuthSecretKeyB: streamCdnConfigConfigOriginAuthSecretKeyB, * originAuthSecretKeyNonceA: streamCdnConfigConfigOriginAuthSecretKeyNonceA, * originAuthSecretKeyNonceB: streamCdnConfigConfigOriginAuthSecretKeyNonceB, * originAuthSignEncryption: streamCdnConfigConfigOriginAuthSignEncryption, * originAuthSignType: streamCdnConfigConfigOriginAuthSignType, * }, * displayName: streamCdnConfigDisplayName, * distributionChannelId: testChannel.id, * definedTags: { * "foo-namespace.bar-key": "value", * }, * freeformTags: { * "bar-key": "value", * }, * isEnabled: streamCdnConfigIsEnabled === "true", * locks: [{ * compartmentId: compartmentId, * type: streamCdnConfigLocksType, * message: streamCdnConfigLocksMessage, * relatedResourceId: testResource.id, * timeCreated: streamCdnConfigLocksTimeCreated, * }], * }); * ``` * * ## Import * * StreamCdnConfigs can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:MediaServices/streamCdnConfig:StreamCdnConfig test_stream_cdn_config "id" * ``` */ export declare class StreamCdnConfig extends pulumi.CustomResource { /** * Get an existing StreamCdnConfig resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: StreamCdnConfigState, opts?: pulumi.CustomResourceOptions): StreamCdnConfig; /** * Returns true if the given object is an instance of StreamCdnConfig. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is StreamCdnConfig; /** * The compartment ID of the lock. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Base fields of the StreamCdnConfig configuration object. */ readonly config: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) CDN Config display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * Distribution Channel Identifier. */ readonly distributionChannelId: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Whether publishing to CDN is enabled. */ readonly isEnabled: pulumi.Output; readonly isLockOverride: pulumi.Output; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecyleDetails: pulumi.Output; /** * Locks associated with this resource. */ readonly locks: pulumi.Output; /** * The current state of the CDN Configuration. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time when the CDN Config was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time when the CDN Config was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a StreamCdnConfig resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: StreamCdnConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StreamCdnConfig resources. */ export interface StreamCdnConfigState { /** * The compartment ID of the lock. */ compartmentId?: pulumi.Input; /** * (Updatable) Base fields of the StreamCdnConfig configuration object. */ config?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) CDN Config display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * Distribution Channel Identifier. */ distributionChannelId?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Whether publishing to CDN is enabled. */ isEnabled?: pulumi.Input; isLockOverride?: pulumi.Input; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ lifecyleDetails?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * The current state of the CDN Configuration. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time when the CDN Config was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time when the CDN Config was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a StreamCdnConfig resource. */ export interface StreamCdnConfigArgs { /** * (Updatable) Base fields of the StreamCdnConfig configuration object. */ config: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) CDN Config display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. */ displayName: pulumi.Input; /** * Distribution Channel Identifier. */ distributionChannelId: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Whether publishing to CDN is enabled. */ isEnabled?: pulumi.Input; isLockOverride?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; } //# sourceMappingURL=streamCdnConfig.d.ts.map