Connector

class Connector : KotlinCustomResource

The connector resource format. Uses Azure REST API version 2017-04-26. In version 1.x of the Azure Native provider, it used API version 2017-04-26.

Example Usage

Connectors_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var connector = new AzureNative.CustomerInsights.Connector("connector", new()
{
ConnectorName = "testConnector",
ConnectorProperties =
{
{ "connectionKeyVaultUrl", new Dictionary<string, object?>
{
["organizationId"] = "XXX",
["organizationUrl"] = "https://XXX.crmlivetie.com/",
} },
},
ConnectorType = AzureNative.CustomerInsights.ConnectorTypes.AzureBlob,
Description = "Test connector",
DisplayName = "testConnector",
HubName = "sdkTestHub",
ResourceGroupName = "TestHubRG",
});
});
package main
import (
customerinsights "github.com/pulumi/pulumi-azure-native-sdk/customerinsights/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := customerinsights.NewConnector(ctx, "connector", &customerinsights.ConnectorArgs{
ConnectorName: pulumi.String("testConnector"),
ConnectorProperties: pulumi.Map{
"connectionKeyVaultUrl": pulumi.Any(map[string]interface{}{
"organizationId": "XXX",
"organizationUrl": "https://XXX.crmlivetie.com/",
}),
},
ConnectorType: pulumi.String(customerinsights.ConnectorTypesAzureBlob),
Description: pulumi.String("Test connector"),
DisplayName: pulumi.String("testConnector"),
HubName: pulumi.String("sdkTestHub"),
ResourceGroupName: pulumi.String("TestHubRG"),
})
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.customerinsights.Connector;
import com.pulumi.azurenative.customerinsights.ConnectorArgs;
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 connector = new Connector("connector", ConnectorArgs.builder()
.connectorName("testConnector")
.connectorProperties(Map.of("connectionKeyVaultUrl", Map.ofEntries(
Map.entry("organizationId", "XXX"),
Map.entry("organizationUrl", "https://XXX.crmlivetie.com/")
)))
.connectorType("AzureBlob")
.description("Test connector")
.displayName("testConnector")
.hubName("sdkTestHub")
.resourceGroupName("TestHubRG")
.build());
}
}

Import

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

$ pulumi import azure-native:customerinsights:Connector sdkTestHub/testConnector /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/connectors/{connectorName}

Properties

Link copied to clipboard
val connectorId: Output<Int>

ID of the connector.

Link copied to clipboard
val connectorName: Output<String>?

Name of the connector.

Link copied to clipboard

The connector properties.

Link copied to clipboard
val connectorType: Output<String>

Type of connector.

Link copied to clipboard
val created: Output<String>

The created time.

Link copied to clipboard
val description: Output<String>?

Description of the connector.

Link copied to clipboard
val displayName: Output<String>?

Display name of the connector.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val isInternal: Output<Boolean>?

If this is an internal connector.

Link copied to clipboard
val lastModified: Output<String>

The last modified time.

Link copied to clipboard
val name: Output<String>

Resource name.

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

State of connector.

Link copied to clipboard
val tenantId: Output<String>

The hub name.

Link copied to clipboard
val type: Output<String>

Resource type.

Link copied to clipboard
val urn: Output<String>