1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. MediaServices
  5. getMediaAssetDistributionChannelAttachment
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.MediaServices.getMediaAssetDistributionChannelAttachment

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    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:

    DistributionChannelId string
    Unique DistributionChannel identifier.
    MediaAssetId string
    Unique MediaAsset identifier
    IsLockOverride bool
    Locks List<GetMediaAssetDistributionChannelAttachmentLock>
    Locks associated with this resource.
    DistributionChannelId string
    Unique DistributionChannel identifier.
    MediaAssetId string
    Unique MediaAsset identifier
    IsLockOverride bool
    Locks []GetMediaAssetDistributionChannelAttachmentLock
    Locks associated with this resource.
    distributionChannelId String
    Unique DistributionChannel identifier.
    mediaAssetId String
    Unique MediaAsset identifier
    isLockOverride Boolean
    locks List<GetMediaAssetDistributionChannelAttachmentLock>
    Locks associated with this resource.
    distributionChannelId string
    Unique DistributionChannel identifier.
    mediaAssetId string
    Unique MediaAsset identifier
    isLockOverride boolean
    locks GetMediaAssetDistributionChannelAttachmentLock[]
    Locks associated with this resource.
    distribution_channel_id str
    Unique DistributionChannel identifier.
    media_asset_id str
    Unique MediaAsset identifier
    is_lock_override bool
    locks Sequence[mediaservices.GetMediaAssetDistributionChannelAttachmentLock]
    Locks associated with this resource.
    distributionChannelId String
    Unique DistributionChannel identifier.
    mediaAssetId String
    Unique MediaAsset identifier
    isLockOverride Boolean
    locks List<Property Map>
    Locks associated with this resource.

    getMediaAssetDistributionChannelAttachment Result

    The following output properties are available:

    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DistributionChannelId string
    OCID of associated Distribution Channel.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsLockOverride bool
    Locks List<GetMediaAssetDistributionChannelAttachmentLock>
    Locks associated with this resource.
    MediaAssetId string
    MediaWorkflowJobId string
    The ingest MediaWorkflowJob ID that created this attachment.
    MetadataRef string
    The identifier for the metadata.
    State string
    Lifecycle state of the attachment.
    Version string
    Version of the attachment.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DistributionChannelId string
    OCID of associated Distribution Channel.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsLockOverride bool
    Locks []GetMediaAssetDistributionChannelAttachmentLock
    Locks associated with this resource.
    MediaAssetId string
    MediaWorkflowJobId string
    The ingest MediaWorkflowJob ID that created this attachment.
    MetadataRef string
    The identifier for the metadata.
    State string
    Lifecycle state of the attachment.
    Version string
    Version of the attachment.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    distributionChannelId String
    OCID of associated Distribution Channel.
    id String
    The provider-assigned unique ID for this managed resource.
    isLockOverride Boolean
    locks List<GetMediaAssetDistributionChannelAttachmentLock>
    Locks associated with this resource.
    mediaAssetId String
    mediaWorkflowJobId String
    The ingest MediaWorkflowJob ID that created this attachment.
    metadataRef String
    The identifier for the metadata.
    state String
    Lifecycle state of the attachment.
    version String
    Version of the attachment.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    distributionChannelId string
    OCID of associated Distribution Channel.
    id string
    The provider-assigned unique ID for this managed resource.
    isLockOverride boolean
    locks GetMediaAssetDistributionChannelAttachmentLock[]
    Locks associated with this resource.
    mediaAssetId string
    mediaWorkflowJobId string
    The ingest MediaWorkflowJob ID that created this attachment.
    metadataRef 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_id str
    OCID of associated Distribution Channel.
    id str
    The provider-assigned unique ID for this managed resource.
    is_lock_override bool
    locks Sequence[mediaservices.GetMediaAssetDistributionChannelAttachmentLock]
    Locks associated with this resource.
    media_asset_id str
    media_workflow_job_id str
    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.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    distributionChannelId String
    OCID of associated Distribution Channel.
    id String
    The provider-assigned unique ID for this managed resource.
    isLockOverride Boolean
    locks List<Property Map>
    Locks associated with this resource.
    mediaAssetId String
    mediaWorkflowJobId String
    The ingest MediaWorkflowJob ID that created this attachment.
    metadataRef String
    The identifier for the metadata.
    state String
    Lifecycle state of the attachment.
    version String
    Version of the attachment.

    Supporting Types

    GetMediaAssetDistributionChannelAttachmentLock

    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
    When the lock was created.
    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
    When the lock was created.
    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
    When the lock was created.
    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
    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.
    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
    When the lock was created.
    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
    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.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi