1. Packages
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getMoqRelay
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi

    Using getMoqRelay

    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 getMoqRelay(args: GetMoqRelayArgs, opts?: InvokeOptions): Promise<GetMoqRelayResult>
    function getMoqRelayOutput(args: GetMoqRelayOutputArgs, opts?: InvokeOptions): Output<GetMoqRelayResult>
    def get_moq_relay(account_id: Optional[str] = None,
                      filter: Optional[GetMoqRelayFilter] = None,
                      relay_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetMoqRelayResult
    def get_moq_relay_output(account_id: pulumi.Input[Optional[str]] = None,
                      filter: pulumi.Input[Optional[GetMoqRelayFilterArgs]] = None,
                      relay_id: pulumi.Input[Optional[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetMoqRelayResult]
    func LookupMoqRelay(ctx *Context, args *LookupMoqRelayArgs, opts ...InvokeOption) (*LookupMoqRelayResult, error)
    func LookupMoqRelayOutput(ctx *Context, args *LookupMoqRelayOutputArgs, opts ...InvokeOption) LookupMoqRelayResultOutput

    > Note: This function is named LookupMoqRelay in the Go SDK.

    public static class GetMoqRelay 
    {
        public static Task<GetMoqRelayResult> InvokeAsync(GetMoqRelayArgs args, InvokeOptions? opts = null)
        public static Output<GetMoqRelayResult> Invoke(GetMoqRelayInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMoqRelayResult> getMoqRelay(GetMoqRelayArgs args, InvokeOptions options)
    public static Output<GetMoqRelayResult> getMoqRelay(GetMoqRelayArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getMoqRelay:getMoqRelay
      arguments:
        # arguments dictionary
    data "cloudflare_get_moq_relay" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    Cloudflare account identifier.
    Filter GetMoqRelayFilter
    RelayId string
    AccountId string
    Cloudflare account identifier.
    Filter GetMoqRelayFilter
    RelayId string
    account_id string
    Cloudflare account identifier.
    filter object
    relay_id string
    accountId String
    Cloudflare account identifier.
    filter GetMoqRelayFilter
    relayId String
    accountId string
    Cloudflare account identifier.
    filter GetMoqRelayFilter
    relayId string
    account_id str
    Cloudflare account identifier.
    filter GetMoqRelayFilter
    relay_id str
    accountId String
    Cloudflare account identifier.
    filter Property Map
    relayId String

    getMoqRelay Result

    The following output properties are available:

    AccountId string
    Cloudflare account identifier.
    Config GetMoqRelayConfig
    upstreams and lingeringSubscribe are mutually exclusive.
    Created string
    Id string
    The ID of this resource.
    Modified string
    Name string
    Status string
    "connected" when active, omitted otherwise. Available values: "connected".
    Uid string
    Filter GetMoqRelayFilter
    RelayId string
    AccountId string
    Cloudflare account identifier.
    Config GetMoqRelayConfig
    upstreams and lingeringSubscribe are mutually exclusive.
    Created string
    Id string
    The ID of this resource.
    Modified string
    Name string
    Status string
    "connected" when active, omitted otherwise. Available values: "connected".
    Uid string
    Filter GetMoqRelayFilter
    RelayId string
    account_id string
    Cloudflare account identifier.
    config object
    upstreams and lingeringSubscribe are mutually exclusive.
    created string
    id string
    The ID of this resource.
    modified string
    name string
    status string
    "connected" when active, omitted otherwise. Available values: "connected".
    uid string
    filter object
    relay_id string
    accountId String
    Cloudflare account identifier.
    config GetMoqRelayConfig
    upstreams and lingeringSubscribe are mutually exclusive.
    created String
    id String
    The ID of this resource.
    modified String
    name String
    status String
    "connected" when active, omitted otherwise. Available values: "connected".
    uid String
    filter GetMoqRelayFilter
    relayId String
    accountId string
    Cloudflare account identifier.
    config GetMoqRelayConfig
    upstreams and lingeringSubscribe are mutually exclusive.
    created string
    id string
    The ID of this resource.
    modified string
    name string
    status string
    "connected" when active, omitted otherwise. Available values: "connected".
    uid string
    filter GetMoqRelayFilter
    relayId string
    account_id str
    Cloudflare account identifier.
    config GetMoqRelayConfig
    upstreams and lingeringSubscribe are mutually exclusive.
    created str
    id str
    The ID of this resource.
    modified str
    name str
    status str
    "connected" when active, omitted otherwise. Available values: "connected".
    uid str
    filter GetMoqRelayFilter
    relay_id str
    accountId String
    Cloudflare account identifier.
    config Property Map
    upstreams and lingeringSubscribe are mutually exclusive.
    created String
    id String
    The ID of this resource.
    modified String
    name String
    status String
    "connected" when active, omitted otherwise. Available values: "connected".
    uid String
    filter Property Map
    relayId String

    Supporting Types

    GetMoqRelayConfig

    LingeringSubscribe GetMoqRelayConfigLingeringSubscribe
    Upstreams GetMoqRelayConfigUpstreams
    Upstreams are external MOQT server publishers that a relay falls back to when it has no local publisher for a requested namespace/track.
    LingeringSubscribe GetMoqRelayConfigLingeringSubscribe
    Upstreams GetMoqRelayConfigUpstreams
    Upstreams are external MOQT server publishers that a relay falls back to when it has no local publisher for a requested namespace/track.
    lingering_subscribe object
    upstreams object
    Upstreams are external MOQT server publishers that a relay falls back to when it has no local publisher for a requested namespace/track.
    lingeringSubscribe GetMoqRelayConfigLingeringSubscribe
    upstreams GetMoqRelayConfigUpstreams
    Upstreams are external MOQT server publishers that a relay falls back to when it has no local publisher for a requested namespace/track.
    lingeringSubscribe GetMoqRelayConfigLingeringSubscribe
    upstreams GetMoqRelayConfigUpstreams
    Upstreams are external MOQT server publishers that a relay falls back to when it has no local publisher for a requested namespace/track.
    lingering_subscribe GetMoqRelayConfigLingeringSubscribe
    upstreams GetMoqRelayConfigUpstreams
    Upstreams are external MOQT server publishers that a relay falls back to when it has no local publisher for a requested namespace/track.
    lingeringSubscribe Property Map
    upstreams Property Map
    Upstreams are external MOQT server publishers that a relay falls back to when it has no local publisher for a requested namespace/track.

    GetMoqRelayConfigLingeringSubscribe

    Enabled bool
    MaxTimeoutMs int
    Relay-level ceiling on lingering subscribe timeout (ms). Default 30000.
    Enabled bool
    MaxTimeoutMs int
    Relay-level ceiling on lingering subscribe timeout (ms). Default 30000.
    enabled bool
    max_timeout_ms number
    Relay-level ceiling on lingering subscribe timeout (ms). Default 30000.
    enabled Boolean
    maxTimeoutMs Integer
    Relay-level ceiling on lingering subscribe timeout (ms). Default 30000.
    enabled boolean
    maxTimeoutMs number
    Relay-level ceiling on lingering subscribe timeout (ms). Default 30000.
    enabled bool
    max_timeout_ms int
    Relay-level ceiling on lingering subscribe timeout (ms). Default 30000.
    enabled Boolean
    maxTimeoutMs Number
    Relay-level ceiling on lingering subscribe timeout (ms). Default 30000.

    GetMoqRelayConfigUpstreams

    Enabled bool
    Upstreams List<GetMoqRelayConfigUpstreamsUpstream>
    Ordered list of upstream MOQT server publishers. Each entry is an object (not a bare string) so per-upstream configuration can be added in the future without another breaking change.
    Enabled bool
    Upstreams []GetMoqRelayConfigUpstreamsUpstream
    Ordered list of upstream MOQT server publishers. Each entry is an object (not a bare string) so per-upstream configuration can be added in the future without another breaking change.
    enabled bool
    upstreams list(object)
    Ordered list of upstream MOQT server publishers. Each entry is an object (not a bare string) so per-upstream configuration can be added in the future without another breaking change.
    enabled Boolean
    upstreams List<GetMoqRelayConfigUpstreamsUpstream>
    Ordered list of upstream MOQT server publishers. Each entry is an object (not a bare string) so per-upstream configuration can be added in the future without another breaking change.
    enabled boolean
    upstreams GetMoqRelayConfigUpstreamsUpstream[]
    Ordered list of upstream MOQT server publishers. Each entry is an object (not a bare string) so per-upstream configuration can be added in the future without another breaking change.
    enabled bool
    upstreams Sequence[GetMoqRelayConfigUpstreamsUpstream]
    Ordered list of upstream MOQT server publishers. Each entry is an object (not a bare string) so per-upstream configuration can be added in the future without another breaking change.
    enabled Boolean
    upstreams List<Property Map>
    Ordered list of upstream MOQT server publishers. Each entry is an object (not a bare string) so per-upstream configuration can be added in the future without another breaking change.

    GetMoqRelayConfigUpstreamsUpstream

    Url string
    Upstream MOQT server publisher URL.
    Url string
    Upstream MOQT server publisher URL.
    url string
    Upstream MOQT server publisher URL.
    url String
    Upstream MOQT server publisher URL.
    url string
    Upstream MOQT server publisher URL.
    url str
    Upstream MOQT server publisher URL.
    url String
    Upstream MOQT server publisher URL.

    GetMoqRelayFilter

    Asc bool
    Sort order by created. When true, results are returned oldest-first (ascending); otherwise newest-first (descending, the default).
    CreatedAfter string
    Cursor for pagination. Returns relays created strictly after this RFC 3339 timestamp (typically the created value of the last item on the current page, to fetch the next page).
    CreatedBefore string
    Cursor for pagination. Returns relays created strictly before this RFC 3339 timestamp (typically the created value of the first item on the current page, to fetch the previous page).
    PerPage int
    Maximum number of relays to return per page.
    Asc bool
    Sort order by created. When true, results are returned oldest-first (ascending); otherwise newest-first (descending, the default).
    CreatedAfter string
    Cursor for pagination. Returns relays created strictly after this RFC 3339 timestamp (typically the created value of the last item on the current page, to fetch the next page).
    CreatedBefore string
    Cursor for pagination. Returns relays created strictly before this RFC 3339 timestamp (typically the created value of the first item on the current page, to fetch the previous page).
    PerPage int
    Maximum number of relays to return per page.
    asc bool
    Sort order by created. When true, results are returned oldest-first (ascending); otherwise newest-first (descending, the default).
    created_after string
    Cursor for pagination. Returns relays created strictly after this RFC 3339 timestamp (typically the created value of the last item on the current page, to fetch the next page).
    created_before string
    Cursor for pagination. Returns relays created strictly before this RFC 3339 timestamp (typically the created value of the first item on the current page, to fetch the previous page).
    per_page number
    Maximum number of relays to return per page.
    asc Boolean
    Sort order by created. When true, results are returned oldest-first (ascending); otherwise newest-first (descending, the default).
    createdAfter String
    Cursor for pagination. Returns relays created strictly after this RFC 3339 timestamp (typically the created value of the last item on the current page, to fetch the next page).
    createdBefore String
    Cursor for pagination. Returns relays created strictly before this RFC 3339 timestamp (typically the created value of the first item on the current page, to fetch the previous page).
    perPage Integer
    Maximum number of relays to return per page.
    asc boolean
    Sort order by created. When true, results are returned oldest-first (ascending); otherwise newest-first (descending, the default).
    createdAfter string
    Cursor for pagination. Returns relays created strictly after this RFC 3339 timestamp (typically the created value of the last item on the current page, to fetch the next page).
    createdBefore string
    Cursor for pagination. Returns relays created strictly before this RFC 3339 timestamp (typically the created value of the first item on the current page, to fetch the previous page).
    perPage number
    Maximum number of relays to return per page.
    asc bool
    Sort order by created. When true, results are returned oldest-first (ascending); otherwise newest-first (descending, the default).
    created_after str
    Cursor for pagination. Returns relays created strictly after this RFC 3339 timestamp (typically the created value of the last item on the current page, to fetch the next page).
    created_before str
    Cursor for pagination. Returns relays created strictly before this RFC 3339 timestamp (typically the created value of the first item on the current page, to fetch the previous page).
    per_page int
    Maximum number of relays to return per page.
    asc Boolean
    Sort order by created. When true, results are returned oldest-first (ascending); otherwise newest-first (descending, the default).
    createdAfter String
    Cursor for pagination. Returns relays created strictly after this RFC 3339 timestamp (typically the created value of the last item on the current page, to fetch the next page).
    createdBefore String
    Cursor for pagination. Returns relays created strictly before this RFC 3339 timestamp (typically the created value of the first item on the current page, to fetch the previous page).
    perPage Number
    Maximum number of relays to return per page.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v6.18.0
    published on Thursday, Jul 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial