Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.MediaServices.getMediaAssetDistributionChannelAttachment
Explore with Pulumi AI
This data source provides details about a specific Media Asset Distribution Channel Attachment resource in Oracle Cloud Infrastructure Media Services service.
Gets a MediaAssetDistributionChannelAttachment for a MediaAsset by identifiers.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
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.GetMediaAssetDistributionChannelAttachmentArgs;
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 testMediaAssetDistributionChannelAttachment = MediaServicesFunctions.getMediaAssetDistributionChannelAttachment(GetMediaAssetDistributionChannelAttachmentArgs.builder()
.distributionChannelId(testChannel.id())
.mediaAssetId(testMediaAsset.id())
.version(mediaAssetDistributionChannelAttachmentVersion)
.build());
}
}
variables:
testMediaAssetDistributionChannelAttachment:
fn::invoke:
Function: oci:MediaServices:getMediaAssetDistributionChannelAttachment
Arguments:
distributionChannelId: ${testChannel.id}
mediaAssetId: ${testMediaAsset.id}
version: ${mediaAssetDistributionChannelAttachmentVersion}
Using getMediaAssetDistributionChannelAttachment
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 getMediaAssetDistributionChannelAttachment(args: GetMediaAssetDistributionChannelAttachmentArgs, opts?: InvokeOptions): Promise<GetMediaAssetDistributionChannelAttachmentResult>
function getMediaAssetDistributionChannelAttachmentOutput(args: GetMediaAssetDistributionChannelAttachmentOutputArgs, opts?: InvokeOptions): Output<GetMediaAssetDistributionChannelAttachmentResult>
def get_media_asset_distribution_channel_attachment(distribution_channel_id: Optional[str] = None,
is_lock_override: Optional[bool] = None,
locks: Optional[Sequence[_mediaservices.GetMediaAssetDistributionChannelAttachmentLock]] = None,
media_asset_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMediaAssetDistributionChannelAttachmentResult
def get_media_asset_distribution_channel_attachment_output(distribution_channel_id: Optional[pulumi.Input[str]] = None,
is_lock_override: Optional[pulumi.Input[bool]] = None,
locks: Optional[pulumi.Input[Sequence[pulumi.Input[_mediaservices.GetMediaAssetDistributionChannelAttachmentLockArgs]]]] = None,
media_asset_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMediaAssetDistributionChannelAttachmentResult]
func GetMediaAssetDistributionChannelAttachment(ctx *Context, args *GetMediaAssetDistributionChannelAttachmentArgs, opts ...InvokeOption) (*GetMediaAssetDistributionChannelAttachmentResult, error)
func GetMediaAssetDistributionChannelAttachmentOutput(ctx *Context, args *GetMediaAssetDistributionChannelAttachmentOutputArgs, opts ...InvokeOption) GetMediaAssetDistributionChannelAttachmentResultOutput
> Note: This function is named GetMediaAssetDistributionChannelAttachment
in the Go SDK.
public static class GetMediaAssetDistributionChannelAttachment
{
public static Task<GetMediaAssetDistributionChannelAttachmentResult> InvokeAsync(GetMediaAssetDistributionChannelAttachmentArgs args, InvokeOptions? opts = null)
public static Output<GetMediaAssetDistributionChannelAttachmentResult> Invoke(GetMediaAssetDistributionChannelAttachmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMediaAssetDistributionChannelAttachmentResult> getMediaAssetDistributionChannelAttachment(GetMediaAssetDistributionChannelAttachmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:MediaServices/getMediaAssetDistributionChannelAttachment:getMediaAssetDistributionChannelAttachment
arguments:
# arguments dictionary
The following arguments are supported:
- Distribution
Channel stringId - Unique DistributionChannel identifier.
- Media
Asset stringId - Unique MediaAsset identifier
- Is
Lock boolOverride - Locks
List<Get
Media Asset Distribution Channel Attachment Lock> - Locks associated with this resource.
- Distribution
Channel stringId - Unique DistributionChannel identifier.
- Media
Asset stringId - Unique MediaAsset identifier
- Is
Lock boolOverride - Locks
[]Get
Media Asset Distribution Channel Attachment Lock - Locks associated with this resource.
- distribution
Channel StringId - Unique DistributionChannel identifier.
- media
Asset StringId - Unique MediaAsset identifier
- is
Lock BooleanOverride - locks
List<Get
Media Asset Distribution Channel Attachment Lock> - Locks associated with this resource.
- distribution
Channel stringId - Unique DistributionChannel identifier.
- media
Asset stringId - Unique MediaAsset identifier
- is
Lock booleanOverride - locks
Get
Media Asset Distribution Channel Attachment Lock[] - Locks associated with this resource.
- distribution_
channel_ strid - Unique DistributionChannel identifier.
- media_
asset_ strid - Unique MediaAsset identifier
- is_
lock_ booloverride - locks
Sequence[mediaservices.
Get Media Asset Distribution Channel Attachment Lock] - Locks associated with this resource.
- distribution
Channel StringId - Unique DistributionChannel identifier.
- media
Asset StringId - Unique MediaAsset identifier
- is
Lock BooleanOverride - locks List<Property Map>
- Locks associated with this resource.
getMediaAssetDistributionChannelAttachment Result
The following output properties are available:
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Distribution
Channel stringId - OCID of associated Distribution Channel.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Lock boolOverride - Locks
List<Get
Media Asset Distribution Channel Attachment Lock> - Locks associated with this resource.
- Media
Asset stringId - Media
Workflow stringJob Id - The ingest MediaWorkflowJob ID that created this attachment.
- Metadata
Ref string - The identifier for the metadata.
- State string
- Lifecycle state of the attachment.
- Version string
- Version of the attachment.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Distribution
Channel stringId - OCID of associated Distribution Channel.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Lock boolOverride - Locks
[]Get
Media Asset Distribution Channel Attachment Lock - Locks associated with this resource.
- Media
Asset stringId - Media
Workflow stringJob Id - The ingest MediaWorkflowJob ID that created this attachment.
- Metadata
Ref string - The identifier for the metadata.
- State string
- Lifecycle state of the attachment.
- Version string
- Version of the attachment.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- distribution
Channel StringId - OCID of associated Distribution Channel.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Lock BooleanOverride - locks
List<Get
Media Asset Distribution Channel Attachment Lock> - Locks associated with this resource.
- media
Asset StringId - media
Workflow StringJob Id - The ingest MediaWorkflowJob ID that created this attachment.
- metadata
Ref String - The identifier for the metadata.
- state String
- Lifecycle state of the attachment.
- version String
- Version of the attachment.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- distribution
Channel stringId - OCID of associated Distribution Channel.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Lock booleanOverride - locks
Get
Media Asset Distribution Channel Attachment Lock[] - Locks associated with this resource.
- media
Asset stringId - media
Workflow stringJob Id - The ingest MediaWorkflowJob ID that created this attachment.
- metadata
Ref string - The identifier for the metadata.
- state string
- Lifecycle state of the attachment.
- version string
- Version of the attachment.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- distribution_
channel_ strid - OCID of associated Distribution Channel.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
lock_ booloverride - locks
Sequence[mediaservices.
Get Media Asset Distribution Channel Attachment Lock] - Locks associated with this resource.
- media_
asset_ strid - media_
workflow_ strjob_ id - The ingest MediaWorkflowJob ID that created this attachment.
- metadata_
ref str - The identifier for the metadata.
- state str
- Lifecycle state of the attachment.
- version str
- Version of the attachment.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- distribution
Channel StringId - OCID of associated Distribution Channel.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Lock BooleanOverride - locks List<Property Map>
- Locks associated with this resource.
- media
Asset StringId - media
Workflow StringJob Id - The ingest MediaWorkflowJob ID that created this attachment.
- metadata
Ref String - The identifier for the metadata.
- state String
- Lifecycle state of the attachment.
- version String
- Version of the attachment.
Supporting Types
GetMediaAssetDistributionChannelAttachmentLock
- 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 - When the lock was created.
- 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 - When the lock was created.
- 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 - When the lock was created.
- 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 - When the lock was created.
- 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 - When the lock was created.
- 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 - When the lock was created.
- 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.