Connector
The connector resource format. Uses Azure REST API version 2017-04-26. In version 2.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",
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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}
Content copied to clipboard
Properties
Link copied to clipboard
The Azure API version of the resource.
Link copied to clipboard
ID of the connector.
Link copied to clipboard
Name of the connector.
Link copied to clipboard
The connector properties.
Link copied to clipboard
Type of connector.
Link copied to clipboard
Description of the connector.
Link copied to clipboard
Display name of the connector.
Link copied to clipboard
If this is an internal connector.
Link copied to clipboard
The last modified time.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard