1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getCallsTurnApp
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.getCallsTurnApp

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleCallsTurnApp = cloudflare.getCallsTurnApp({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        keyId: "2a95132c15732412d22c1476fa83f27a",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_calls_turn_app = cloudflare.get_calls_turn_app(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        key_id="2a95132c15732412d22c1476fa83f27a")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.LookupCallsTurnApp(ctx, &cloudflare.LookupCallsTurnAppArgs{
    			AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
    			KeyId:     "2a95132c15732412d22c1476fa83f27a",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleCallsTurnApp = Cloudflare.GetCallsTurnApp.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            KeyId = "2a95132c15732412d22c1476fa83f27a",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.inputs.GetCallsTurnAppArgs;
    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 exampleCallsTurnApp = CloudflareFunctions.getCallsTurnApp(GetCallsTurnAppArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .keyId("2a95132c15732412d22c1476fa83f27a")
                .build());
    
        }
    }
    
    variables:
      exampleCallsTurnApp:
        fn::invoke:
          function: cloudflare:getCallsTurnApp
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            keyId: 2a95132c15732412d22c1476fa83f27a
    

    Using getCallsTurnApp

    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 getCallsTurnApp(args: GetCallsTurnAppArgs, opts?: InvokeOptions): Promise<GetCallsTurnAppResult>
    function getCallsTurnAppOutput(args: GetCallsTurnAppOutputArgs, opts?: InvokeOptions): Output<GetCallsTurnAppResult>
    def get_calls_turn_app(account_id: Optional[str] = None,
                           key_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetCallsTurnAppResult
    def get_calls_turn_app_output(account_id: Optional[pulumi.Input[str]] = None,
                           key_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetCallsTurnAppResult]
    func LookupCallsTurnApp(ctx *Context, args *LookupCallsTurnAppArgs, opts ...InvokeOption) (*LookupCallsTurnAppResult, error)
    func LookupCallsTurnAppOutput(ctx *Context, args *LookupCallsTurnAppOutputArgs, opts ...InvokeOption) LookupCallsTurnAppResultOutput

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

    public static class GetCallsTurnApp 
    {
        public static Task<GetCallsTurnAppResult> InvokeAsync(GetCallsTurnAppArgs args, InvokeOptions? opts = null)
        public static Output<GetCallsTurnAppResult> Invoke(GetCallsTurnAppInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCallsTurnAppResult> getCallsTurnApp(GetCallsTurnAppArgs args, InvokeOptions options)
    public static Output<GetCallsTurnAppResult> getCallsTurnApp(GetCallsTurnAppArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getCallsTurnApp:getCallsTurnApp
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    The account identifier tag.
    KeyId string
    A Cloudflare-generated unique identifier for a item.
    AccountId string
    The account identifier tag.
    KeyId string
    A Cloudflare-generated unique identifier for a item.
    accountId String
    The account identifier tag.
    keyId String
    A Cloudflare-generated unique identifier for a item.
    accountId string
    The account identifier tag.
    keyId string
    A Cloudflare-generated unique identifier for a item.
    account_id str
    The account identifier tag.
    key_id str
    A Cloudflare-generated unique identifier for a item.
    accountId String
    The account identifier tag.
    keyId String
    A Cloudflare-generated unique identifier for a item.

    getCallsTurnApp Result

    The following output properties are available:

    AccountId string
    The account identifier tag.
    Created string
    The date and time the item was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    KeyId string
    A Cloudflare-generated unique identifier for a item.
    Modified string
    The date and time the item was last modified.
    Name string
    A short description of Calls app, not shown to end users.
    Uid string
    A Cloudflare-generated unique identifier for a item.
    AccountId string
    The account identifier tag.
    Created string
    The date and time the item was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    KeyId string
    A Cloudflare-generated unique identifier for a item.
    Modified string
    The date and time the item was last modified.
    Name string
    A short description of Calls app, not shown to end users.
    Uid string
    A Cloudflare-generated unique identifier for a item.
    accountId String
    The account identifier tag.
    created String
    The date and time the item was created.
    id String
    The provider-assigned unique ID for this managed resource.
    keyId String
    A Cloudflare-generated unique identifier for a item.
    modified String
    The date and time the item was last modified.
    name String
    A short description of Calls app, not shown to end users.
    uid String
    A Cloudflare-generated unique identifier for a item.
    accountId string
    The account identifier tag.
    created string
    The date and time the item was created.
    id string
    The provider-assigned unique ID for this managed resource.
    keyId string
    A Cloudflare-generated unique identifier for a item.
    modified string
    The date and time the item was last modified.
    name string
    A short description of Calls app, not shown to end users.
    uid string
    A Cloudflare-generated unique identifier for a item.
    account_id str
    The account identifier tag.
    created str
    The date and time the item was created.
    id str
    The provider-assigned unique ID for this managed resource.
    key_id str
    A Cloudflare-generated unique identifier for a item.
    modified str
    The date and time the item was last modified.
    name str
    A short description of Calls app, not shown to end users.
    uid str
    A Cloudflare-generated unique identifier for a item.
    accountId String
    The account identifier tag.
    created String
    The date and time the item was created.
    id String
    The provider-assigned unique ID for this managed resource.
    keyId String
    A Cloudflare-generated unique identifier for a item.
    modified String
    The date and time the item was last modified.
    name String
    A short description of Calls app, not shown to end users.
    uid String
    A Cloudflare-generated unique identifier for a item.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi