1. Packages
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getMoqRelays
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 getMoqRelays

    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 getMoqRelays(args: GetMoqRelaysArgs, opts?: InvokeOptions): Promise<GetMoqRelaysResult>
    function getMoqRelaysOutput(args: GetMoqRelaysOutputArgs, opts?: InvokeOptions): Output<GetMoqRelaysResult>
    def get_moq_relays(account_id: Optional[str] = None,
                       asc: Optional[bool] = None,
                       created_after: Optional[str] = None,
                       created_before: Optional[str] = None,
                       max_items: Optional[int] = None,
                       per_page: Optional[int] = None,
                       opts: Optional[InvokeOptions] = None) -> GetMoqRelaysResult
    def get_moq_relays_output(account_id: pulumi.Input[Optional[str]] = None,
                       asc: pulumi.Input[Optional[bool]] = None,
                       created_after: pulumi.Input[Optional[str]] = None,
                       created_before: pulumi.Input[Optional[str]] = None,
                       max_items: pulumi.Input[Optional[int]] = None,
                       per_page: pulumi.Input[Optional[int]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetMoqRelaysResult]
    func LookupMoqRelays(ctx *Context, args *LookupMoqRelaysArgs, opts ...InvokeOption) (*LookupMoqRelaysResult, error)
    func LookupMoqRelaysOutput(ctx *Context, args *LookupMoqRelaysOutputArgs, opts ...InvokeOption) LookupMoqRelaysResultOutput

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

    public static class GetMoqRelays 
    {
        public static Task<GetMoqRelaysResult> InvokeAsync(GetMoqRelaysArgs args, InvokeOptions? opts = null)
        public static Output<GetMoqRelaysResult> Invoke(GetMoqRelaysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMoqRelaysResult> getMoqRelays(GetMoqRelaysArgs args, InvokeOptions options)
    public static Output<GetMoqRelaysResult> getMoqRelays(GetMoqRelaysArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getMoqRelays:getMoqRelays
      arguments:
        # arguments dictionary
    data "cloudflare_get_moq_relays" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    Cloudflare account identifier.
    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).
    MaxItems int
    Max items to fetch, default: 1000
    PerPage int
    Maximum number of relays to return per page.
    AccountId string
    Cloudflare account identifier.
    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).
    MaxItems int
    Max items to fetch, default: 1000
    PerPage int
    Maximum number of relays to return per page.
    account_id string
    Cloudflare account identifier.
    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).
    max_items number
    Max items to fetch, default: 1000
    per_page number
    Maximum number of relays to return per page.
    accountId String
    Cloudflare account identifier.
    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).
    maxItems Integer
    Max items to fetch, default: 1000
    perPage Integer
    Maximum number of relays to return per page.
    accountId string
    Cloudflare account identifier.
    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).
    maxItems number
    Max items to fetch, default: 1000
    perPage number
    Maximum number of relays to return per page.
    account_id str
    Cloudflare account identifier.
    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).
    max_items int
    Max items to fetch, default: 1000
    per_page int
    Maximum number of relays to return per page.
    accountId String
    Cloudflare account identifier.
    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).
    maxItems Number
    Max items to fetch, default: 1000
    perPage Number
    Maximum number of relays to return per page.

    getMoqRelays Result

    The following output properties are available:

    AccountId string
    Cloudflare account identifier.
    Asc bool
    Sort order by created. When true, results are returned oldest-first (ascending); otherwise newest-first (descending, the default).
    Id string
    The provider-assigned unique ID for this managed resource.
    Results List<GetMoqRelaysResult>
    The items returned by the data source
    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).
    MaxItems int
    Max items to fetch, default: 1000
    PerPage int
    Maximum number of relays to return per page.
    AccountId string
    Cloudflare account identifier.
    Asc bool
    Sort order by created. When true, results are returned oldest-first (ascending); otherwise newest-first (descending, the default).
    Id string
    The provider-assigned unique ID for this managed resource.
    Results []GetMoqRelaysResult
    The items returned by the data source
    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).
    MaxItems int
    Max items to fetch, default: 1000
    PerPage int
    Maximum number of relays to return per page.
    account_id string
    Cloudflare account identifier.
    asc bool
    Sort order by created. When true, results are returned oldest-first (ascending); otherwise newest-first (descending, the default).
    id string
    The provider-assigned unique ID for this managed resource.
    results list(object)
    The items returned by the data source
    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).
    max_items number
    Max items to fetch, default: 1000
    per_page number
    Maximum number of relays to return per page.
    accountId String
    Cloudflare account identifier.
    asc Boolean
    Sort order by created. When true, results are returned oldest-first (ascending); otherwise newest-first (descending, the default).
    id String
    The provider-assigned unique ID for this managed resource.
    results List<GetMoqRelaysResult>
    The items returned by the data source
    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).
    maxItems Integer
    Max items to fetch, default: 1000
    perPage Integer
    Maximum number of relays to return per page.
    accountId string
    Cloudflare account identifier.
    asc boolean
    Sort order by created. When true, results are returned oldest-first (ascending); otherwise newest-first (descending, the default).
    id string
    The provider-assigned unique ID for this managed resource.
    results GetMoqRelaysResult[]
    The items returned by the data source
    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).
    maxItems number
    Max items to fetch, default: 1000
    perPage number
    Maximum number of relays to return per page.
    account_id str
    Cloudflare account identifier.
    asc bool
    Sort order by created. When true, results are returned oldest-first (ascending); otherwise newest-first (descending, the default).
    id str
    The provider-assigned unique ID for this managed resource.
    results Sequence[GetMoqRelaysResult]
    The items returned by the data source
    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).
    max_items int
    Max items to fetch, default: 1000
    per_page int
    Maximum number of relays to return per page.
    accountId String
    Cloudflare account identifier.
    asc Boolean
    Sort order by created. When true, results are returned oldest-first (ascending); otherwise newest-first (descending, the default).
    id String
    The provider-assigned unique ID for this managed resource.
    results List<Property Map>
    The items returned by the data source
    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).
    maxItems Number
    Max items to fetch, default: 1000
    perPage Number
    Maximum number of relays to return per page.

    Supporting Types

    GetMoqRelaysResult

    Created string
    Id string
    Modified string
    Name string
    Uid string
    Created string
    Id string
    Modified string
    Name string
    Uid string
    created string
    id string
    modified string
    name string
    uid string
    created String
    id String
    modified String
    name String
    uid String
    created string
    id string
    modified string
    name string
    uid string
    created str
    id str
    modified str
    name str
    uid str
    created String
    id String
    modified String
    name String
    uid String

    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