cloudflare.CallsTurnApp
Explore with Pulumi AI
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:
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the CallsTurnApp resource produces the following output properties:
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.
- Account
Id string - The account identifier tag.
- Created string
- The date and time the item was created.
- Key string
- Bearer token
- Key
Id 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 string - The account identifier tag.
- Created string
- The date and time the item was created.
- Key string
- Bearer token
- Key
Id 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 String - The account identifier tag.
- created String
- The date and time the item was created.
- key String
- Bearer token
- key
Id 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 string - The account identifier tag.
- created string
- The date and time the item was created.
- key string
- Bearer token
- key
Id 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.
- account
Id String - The account identifier tag.
- created String
- The date and time the item was created.
- key String
- Bearer token
- key
Id 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.