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

cloudflare.CallsTurnApp

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 = new cloudflare.CallsTurnApp("example_calls_turn_app", {
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        name: "my-turn-key",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_calls_turn_app = cloudflare.CallsTurnApp("example_calls_turn_app",
        account_id="023e105f4ecef8ad9ca31a8372d0c353",
        name="my-turn-key")
    
    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.NewCallsTurnApp(ctx, "example_calls_turn_app", &cloudflare.CallsTurnAppArgs{
    			AccountId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
    			Name:      pulumi.String("my-turn-key"),
    		})
    		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 = new Cloudflare.CallsTurnApp("example_calls_turn_app", new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            Name = "my-turn-key",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CallsTurnApp;
    import com.pulumi.cloudflare.CallsTurnAppArgs;
    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) {
            var exampleCallsTurnApp = new CallsTurnApp("exampleCallsTurnApp", CallsTurnAppArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .name("my-turn-key")
                .build());
    
        }
    }
    
    resources:
      exampleCallsTurnApp:
        type: cloudflare:CallsTurnApp
        name: example_calls_turn_app
        properties:
          accountId: 023e105f4ecef8ad9ca31a8372d0c353
          name: my-turn-key
    

    Create CallsTurnApp Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CallsTurnApp(name: string, args: CallsTurnAppArgs, opts?: CustomResourceOptions);
    @overload
    def CallsTurnApp(resource_name: str,
                     args: CallsTurnAppArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def CallsTurnApp(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     account_id: Optional[str] = None,
                     key_id: Optional[str] = None,
                     name: Optional[str] = None)
    func NewCallsTurnApp(ctx *Context, name string, args CallsTurnAppArgs, opts ...ResourceOption) (*CallsTurnApp, error)
    public CallsTurnApp(string name, CallsTurnAppArgs args, CustomResourceOptions? opts = null)
    public CallsTurnApp(String name, CallsTurnAppArgs args)
    public CallsTurnApp(String name, CallsTurnAppArgs args, CustomResourceOptions options)
    
    type: cloudflare:CallsTurnApp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CallsTurnAppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CallsTurnAppArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CallsTurnAppArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CallsTurnAppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CallsTurnAppArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var callsTurnAppResource = new Cloudflare.CallsTurnApp("callsTurnAppResource", new()
    {
        AccountId = "string",
        KeyId = "string",
        Name = "string",
    });
    
    example, err := cloudflare.NewCallsTurnApp(ctx, "callsTurnAppResource", &cloudflare.CallsTurnAppArgs{
    	AccountId: pulumi.String("string"),
    	KeyId:     pulumi.String("string"),
    	Name:      pulumi.String("string"),
    })
    
    var callsTurnAppResource = new CallsTurnApp("callsTurnAppResource", CallsTurnAppArgs.builder()
        .accountId("string")
        .keyId("string")
        .name("string")
        .build());
    
    calls_turn_app_resource = cloudflare.CallsTurnApp("callsTurnAppResource",
        account_id="string",
        key_id="string",
        name="string")
    
    const callsTurnAppResource = new cloudflare.CallsTurnApp("callsTurnAppResource", {
        accountId: "string",
        keyId: "string",
        name: "string",
    });
    
    type: cloudflare:CallsTurnApp
    properties:
        accountId: string
        keyId: string
        name: string
    

    CallsTurnApp Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CallsTurnApp resource accepts the following input properties:

    AccountId string
    The account identifier tag.
    KeyId string
    A Cloudflare-generated unique identifier for a item.
    Name string
    A short description of a TURN key, not shown to end users.
    AccountId string
    The account identifier tag.
    KeyId string
    A Cloudflare-generated unique identifier for a item.
    Name string
    A short description of a TURN key, not shown to end users.
    accountId String
    The account identifier tag.
    keyId String
    A Cloudflare-generated unique identifier for a item.
    name String
    A short description of a TURN key, not shown to end users.
    accountId string
    The account identifier tag.
    keyId string
    A Cloudflare-generated unique identifier for a item.
    name string
    A short description of a TURN key, not shown to end users.
    account_id str
    The account identifier tag.
    key_id str
    A Cloudflare-generated unique identifier for a item.
    name str
    A short description of a TURN key, not shown to end users.
    accountId String
    The account identifier tag.
    keyId String
    A Cloudflare-generated unique identifier for a item.
    name String
    A short description of a TURN key, not shown to end users.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CallsTurnApp resource produces the following output properties:

    Created string
    The date and time the item was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Key string
    Bearer token
    Modified string
    The date and time the item was last modified.
    Uid string
    A Cloudflare-generated unique identifier for a item.
    Created string
    The date and time the item was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Key string
    Bearer token
    Modified string
    The date and time the item was last modified.
    Uid string
    A Cloudflare-generated unique identifier for a item.
    created String
    The date and time the item was created.
    id String
    The provider-assigned unique ID for this managed resource.
    key String
    Bearer token
    modified String
    The date and time the item was last modified.
    uid String
    A Cloudflare-generated unique identifier for a item.
    created string
    The date and time the item was created.
    id string
    The provider-assigned unique ID for this managed resource.
    key string
    Bearer token
    modified string
    The date and time the item was last modified.
    uid string
    A Cloudflare-generated unique identifier for a item.
    created str
    The date and time the item was created.
    id str
    The provider-assigned unique ID for this managed resource.
    key str
    Bearer token
    modified str
    The date and time the item was last modified.
    uid str
    A Cloudflare-generated unique identifier for a item.
    created String
    The date and time the item was created.
    id String
    The provider-assigned unique ID for this managed resource.
    key String
    Bearer token
    modified String
    The date and time the item was last modified.
    uid String
    A Cloudflare-generated unique identifier for a item.

    Look up Existing CallsTurnApp Resource

    Get an existing CallsTurnApp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CallsTurnAppState, opts?: CustomResourceOptions): CallsTurnApp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            created: Optional[str] = None,
            key: Optional[str] = None,
            key_id: Optional[str] = None,
            modified: Optional[str] = None,
            name: Optional[str] = None,
            uid: Optional[str] = None) -> CallsTurnApp
    func GetCallsTurnApp(ctx *Context, name string, id IDInput, state *CallsTurnAppState, opts ...ResourceOption) (*CallsTurnApp, error)
    public static CallsTurnApp Get(string name, Input<string> id, CallsTurnAppState? state, CustomResourceOptions? opts = null)
    public static CallsTurnApp get(String name, Output<String> id, CallsTurnAppState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:CallsTurnApp    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    The account identifier tag.
    Created string
    The date and time the item was created.
    Key string
    Bearer token
    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 a TURN key, 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.
    Key string
    Bearer token
    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 a TURN key, 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.
    key String
    Bearer token
    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 a TURN key, 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.
    key string
    Bearer token
    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 a TURN key, 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.
    key str
    Bearer token
    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 a TURN key, 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.
    key String
    Bearer token
    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 a TURN key, 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