cloudflare.CallsSfuApp
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleCallsSfuApp = new cloudflare.CallsSfuApp("example_calls_sfu_app", {
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
name: "production-realtime-app",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_calls_sfu_app = cloudflare.CallsSfuApp("example_calls_sfu_app",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
name="production-realtime-app")
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.NewCallsSfuApp(ctx, "example_calls_sfu_app", &cloudflare.CallsSfuAppArgs{
AccountId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
Name: pulumi.String("production-realtime-app"),
})
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 exampleCallsSfuApp = new Cloudflare.CallsSfuApp("example_calls_sfu_app", new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
Name = "production-realtime-app",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CallsSfuApp;
import com.pulumi.cloudflare.CallsSfuAppArgs;
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 exampleCallsSfuApp = new CallsSfuApp("exampleCallsSfuApp", CallsSfuAppArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.name("production-realtime-app")
.build());
}
}
resources:
exampleCallsSfuApp:
type: cloudflare:CallsSfuApp
name: example_calls_sfu_app
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
name: production-realtime-app
Create CallsSfuApp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CallsSfuApp(name: string, args: CallsSfuAppArgs, opts?: CustomResourceOptions);
@overload
def CallsSfuApp(resource_name: str,
args: CallsSfuAppArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CallsSfuApp(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
app_id: Optional[str] = None,
name: Optional[str] = None)
func NewCallsSfuApp(ctx *Context, name string, args CallsSfuAppArgs, opts ...ResourceOption) (*CallsSfuApp, error)
public CallsSfuApp(string name, CallsSfuAppArgs args, CustomResourceOptions? opts = null)
public CallsSfuApp(String name, CallsSfuAppArgs args)
public CallsSfuApp(String name, CallsSfuAppArgs args, CustomResourceOptions options)
type: cloudflare:CallsSfuApp
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 CallsSfuAppArgs
- 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 CallsSfuAppArgs
- 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 CallsSfuAppArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CallsSfuAppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CallsSfuAppArgs
- 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 callsSfuAppResource = new Cloudflare.CallsSfuApp("callsSfuAppResource", new()
{
AccountId = "string",
AppId = "string",
Name = "string",
});
example, err := cloudflare.NewCallsSfuApp(ctx, "callsSfuAppResource", &cloudflare.CallsSfuAppArgs{
AccountId: pulumi.String("string"),
AppId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var callsSfuAppResource = new CallsSfuApp("callsSfuAppResource", CallsSfuAppArgs.builder()
.accountId("string")
.appId("string")
.name("string")
.build());
calls_sfu_app_resource = cloudflare.CallsSfuApp("callsSfuAppResource",
account_id="string",
app_id="string",
name="string")
const callsSfuAppResource = new cloudflare.CallsSfuApp("callsSfuAppResource", {
accountId: "string",
appId: "string",
name: "string",
});
type: cloudflare:CallsSfuApp
properties:
accountId: string
appId: string
name: string
CallsSfuApp 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 CallsSfuApp resource accepts the following input properties:
- account_
id str - The account identifier tag.
- app_
id str - A Cloudflare-generated unique identifier for a item.
- name str
- A short description of Calls app, not shown to end users.
Outputs
All input properties are implicitly available as output properties. Additionally, the CallsSfuApp resource produces the following output properties:
Look up Existing CallsSfuApp Resource
Get an existing CallsSfuApp 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?: CallsSfuAppState, opts?: CustomResourceOptions): CallsSfuApp
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
app_id: Optional[str] = None,
created: Optional[str] = None,
modified: Optional[str] = None,
name: Optional[str] = None,
secret: Optional[str] = None,
uid: Optional[str] = None) -> CallsSfuApp
func GetCallsSfuApp(ctx *Context, name string, id IDInput, state *CallsSfuAppState, opts ...ResourceOption) (*CallsSfuApp, error)
public static CallsSfuApp Get(string name, Input<string> id, CallsSfuAppState? state, CustomResourceOptions? opts = null)
public static CallsSfuApp get(String name, Output<String> id, CallsSfuAppState state, CustomResourceOptions options)
resources: _: type: cloudflare:CallsSfuApp 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.
- App
Id string - A Cloudflare-generated unique identifier for a item.
- Created string
- The date and time the item was created.
- Modified string
- The date and time the item was last modified.
- Name string
- A short description of Calls app, not shown to end users.
- Secret string
- Bearer token
- Uid string
- A Cloudflare-generated unique identifier for a item.
- Account
Id string - The account identifier tag.
- App
Id string - A Cloudflare-generated unique identifier for a item.
- Created string
- The date and time the item was created.
- Modified string
- The date and time the item was last modified.
- Name string
- A short description of Calls app, not shown to end users.
- Secret string
- Bearer token
- Uid string
- A Cloudflare-generated unique identifier for a item.
- account
Id String - The account identifier tag.
- app
Id String - A Cloudflare-generated unique identifier for a item.
- created String
- The date and time the item was created.
- modified String
- The date and time the item was last modified.
- name String
- A short description of Calls app, not shown to end users.
- secret String
- Bearer token
- uid String
- A Cloudflare-generated unique identifier for a item.
- account
Id string - The account identifier tag.
- app
Id string - A Cloudflare-generated unique identifier for a item.
- created string
- The date and time the item was created.
- modified string
- The date and time the item was last modified.
- name string
- A short description of Calls app, not shown to end users.
- secret string
- Bearer token
- uid string
- A Cloudflare-generated unique identifier for a item.
- account_
id str - The account identifier tag.
- app_
id str - A Cloudflare-generated unique identifier for a item.
- created str
- The date and time the item was created.
- modified str
- The date and time the item was last modified.
- name str
- A short description of Calls app, not shown to end users.
- secret str
- Bearer token
- uid str
- A Cloudflare-generated unique identifier for a item.
- account
Id String - The account identifier tag.
- app
Id String - A Cloudflare-generated unique identifier for a item.
- created String
- The date and time the item was created.
- modified String
- The date and time the item was last modified.
- name String
- A short description of Calls app, not shown to end users.
- secret String
- Bearer token
- 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.