Channel

class Channel : KotlinCustomResource

The EngagementFabric channel Uses Azure REST API version 2018-09-01-preview. In version 2.x of the Azure Native provider, it used API version 2018-09-01-preview.

Example Usage

ChannelsCreateOrUpdateExample

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var channel = new AzureNative.EngagementFabric.Channel("channel", new()
{
AccountName = "ExampleAccount",
ChannelFunctions = new[]
{
"MockFunction1",
"MockFunction2",
},
ChannelName = "ExampleChannel",
ChannelType = "MockChannel",
Credentials =
{
{ "AppId", "exampleApp" },
{ "AppKey", "exampleAppKey" },
},
ResourceGroupName = "ExampleRg",
});
});
package main
import (
engagementfabric "github.com/pulumi/pulumi-azure-native-sdk/engagementfabric/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := engagementfabric.NewChannel(ctx, "channel", &engagementfabric.ChannelArgs{
AccountName: pulumi.String("ExampleAccount"),
ChannelFunctions: pulumi.StringArray{
pulumi.String("MockFunction1"),
pulumi.String("MockFunction2"),
},
ChannelName: pulumi.String("ExampleChannel"),
ChannelType: pulumi.String("MockChannel"),
Credentials: pulumi.StringMap{
"AppId": pulumi.String("exampleApp"),
"AppKey": pulumi.String("exampleAppKey"),
},
ResourceGroupName: pulumi.String("ExampleRg"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.engagementfabric.Channel;
import com.pulumi.azurenative.engagementfabric.ChannelArgs;
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 channel = new Channel("channel", ChannelArgs.builder()
.accountName("ExampleAccount")
.channelFunctions(
"MockFunction1",
"MockFunction2")
.channelName("ExampleChannel")
.channelType("MockChannel")
.credentials(Map.ofEntries(
Map.entry("AppId", "exampleApp"),
Map.entry("AppKey", "exampleAppKey")
))
.resourceGroupName("ExampleRg")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:engagementfabric:Channel ExampleChannel /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EngagementFabric/Accounts/{accountName}/Channels/{channelName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

The functions to be enabled for the channel

Link copied to clipboard
val channelType: Output<String>

The channel type

Link copied to clipboard
val credentials: Output<Map<String, String>>?

The channel credentials

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: Output<String>

The fully qualified type of the resource

Link copied to clipboard
val urn: Output<String>