azure-native-v2.customerinsights.Connector
Explore with Pulumi AI
The connector resource format. Azure REST API version: 2017-04-26. Prior API version in Azure Native 1.x: 2017-04-26.
Create Connector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Connector(name: string, args: ConnectorArgs, opts?: CustomResourceOptions);
@overload
def Connector(resource_name: str,
args: ConnectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Connector(resource_name: str,
opts: Optional[ResourceOptions] = None,
connector_properties: Optional[Mapping[str, Any]] = None,
connector_type: Optional[Union[str, ConnectorTypes]] = None,
hub_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
connector_name: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
is_internal: Optional[bool] = None)
func NewConnector(ctx *Context, name string, args ConnectorArgs, opts ...ResourceOption) (*Connector, error)
public Connector(string name, ConnectorArgs args, CustomResourceOptions? opts = null)
public Connector(String name, ConnectorArgs args)
public Connector(String name, ConnectorArgs args, CustomResourceOptions options)
type: azure-native:customerinsights:Connector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ConnectorArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. ConnectorArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ConnectorArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ConnectorArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. ConnectorArgs - 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 exampleconnectorResourceResourceFromCustomerinsights = new AzureNative.Customerinsights.Connector("exampleconnectorResourceResourceFromCustomerinsights", new()
{
ConnectorProperties =
{
{ "string", "any" },
},
ConnectorType = "string",
HubName = "string",
ResourceGroupName = "string",
ConnectorName = "string",
Description = "string",
DisplayName = "string",
IsInternal = false,
});
example, err := customerinsights.NewConnector(ctx, "exampleconnectorResourceResourceFromCustomerinsights", &customerinsights.ConnectorArgs{
ConnectorProperties: map[string]interface{}{
"string": "any",
},
ConnectorType: "string",
HubName: "string",
ResourceGroupName: "string",
ConnectorName: "string",
Description: "string",
DisplayName: "string",
IsInternal: false,
})
var exampleconnectorResourceResourceFromCustomerinsights = new Connector("exampleconnectorResourceResourceFromCustomerinsights", ConnectorArgs.builder()
.connectorProperties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.connectorType("string")
.hubName("string")
.resourceGroupName("string")
.connectorName("string")
.description("string")
.displayName("string")
.isInternal(false)
.build());
exampleconnector_resource_resource_from_customerinsights = azure_native.customerinsights.Connector("exampleconnectorResourceResourceFromCustomerinsights",
connector_properties={
string: any,
},
connector_type=string,
hub_name=string,
resource_group_name=string,
connector_name=string,
description=string,
display_name=string,
is_internal=False)
const exampleconnectorResourceResourceFromCustomerinsights = new azure_native.customerinsights.Connector("exampleconnectorResourceResourceFromCustomerinsights", {
connectorProperties: {
string: "any",
},
connectorType: "string",
hubName: "string",
resourceGroupName: "string",
connectorName: "string",
description: "string",
displayName: "string",
isInternal: false,
});
type: azure-native:customerinsights:Connector
properties:
connectorName: string
connectorProperties:
string: any
connectorType: string
description: string
displayName: string
hubName: string
isInternal: false
resourceGroupName: string
Connector 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 Connector resource accepts the following input properties:
- Connector
Properties This property is required. Dictionary<string, object> - The connector properties.
- Connector
Type This property is required. string | Pulumi.Azure Native. Customer Insights. Connector Types - Type of connector.
- Hub
Name This property is required. Changes to this property will trigger replacement.
- The name of the hub.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Connector
Name string - Name of the connector.
- Description string
- Description of the connector.
- Display
Name string - Display name of the connector.
- Is
Internal bool - If this is an internal connector.
- Connector
Properties This property is required. map[string]interface{} - The connector properties.
- Connector
Type This property is required. string | ConnectorTypes - Type of connector.
- Hub
Name This property is required. Changes to this property will trigger replacement.
- The name of the hub.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Connector
Name string - Name of the connector.
- Description string
- Description of the connector.
- Display
Name string - Display name of the connector.
- Is
Internal bool - If this is an internal connector.
- connector
Properties This property is required. Map<String,Object> - The connector properties.
- connector
Type This property is required. String | ConnectorTypes - Type of connector.
- hub
Name This property is required. Changes to this property will trigger replacement.
- The name of the hub.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- connector
Name String - Name of the connector.
- description String
- Description of the connector.
- display
Name String - Display name of the connector.
- is
Internal Boolean - If this is an internal connector.
- connector
Properties This property is required. {[key: string]: any} - The connector properties.
- connector
Type This property is required. string | ConnectorTypes - Type of connector.
- hub
Name This property is required. Changes to this property will trigger replacement.
- The name of the hub.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- connector
Name string - Name of the connector.
- description string
- Description of the connector.
- display
Name string - Display name of the connector.
- is
Internal boolean - If this is an internal connector.
- connector_
properties This property is required. Mapping[str, Any] - The connector properties.
- connector_
type This property is required. str | ConnectorTypes - Type of connector.
- hub_
name This property is required. Changes to this property will trigger replacement.
- The name of the hub.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- connector_
name str - Name of the connector.
- description str
- Description of the connector.
- display_
name str - Display name of the connector.
- is_
internal bool - If this is an internal connector.
- connector
Properties This property is required. Map<Any> - The connector properties.
- connector
Type This property is required. String | "None" | "CRM" | "AzureBlob" | "Salesforce" | "Exchange Online" | "Outbound" - Type of connector.
- hub
Name This property is required. Changes to this property will trigger replacement.
- The name of the hub.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- connector
Name String - Name of the connector.
- description String
- Description of the connector.
- display
Name String - Display name of the connector.
- is
Internal Boolean - If this is an internal connector.
Outputs
All input properties are implicitly available as output properties. Additionally, the Connector resource produces the following output properties:
- Connector
Id int - ID of the connector.
- Created string
- The created time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified string - The last modified time.
- Name string
- Resource name.
- State string
- State of connector.
- Tenant
Id string - The hub name.
- Type string
- Resource type.
- Connector
Id int - ID of the connector.
- Created string
- The created time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified string - The last modified time.
- Name string
- Resource name.
- State string
- State of connector.
- Tenant
Id string - The hub name.
- Type string
- Resource type.
- connector
Id Integer - ID of the connector.
- created String
- The created time.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified String - The last modified time.
- name String
- Resource name.
- state String
- State of connector.
- tenant
Id String - The hub name.
- type String
- Resource type.
- connector
Id number - ID of the connector.
- created string
- The created time.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified string - The last modified time.
- name string
- Resource name.
- state string
- State of connector.
- tenant
Id string - The hub name.
- type string
- Resource type.
- connector_
id int - ID of the connector.
- created str
- The created time.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified str - The last modified time.
- name str
- Resource name.
- state str
- State of connector.
- tenant_
id str - The hub name.
- type str
- Resource type.
- connector
Id Number - ID of the connector.
- created String
- The created time.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified String - The last modified time.
- name String
- Resource name.
- state String
- State of connector.
- tenant
Id String - The hub name.
- type String
- Resource type.
Supporting Types
ConnectorTypes, ConnectorTypesArgs
- None
- None
- CRM
- CRM
- Azure
Blob - AzureBlob
- Salesforce
- Salesforce
- Exchange
Online - ExchangeOnline
- Outbound
- Outbound
- Connector
Types None - None
- Connector
Types CRM - CRM
- Connector
Types Azure Blob - AzureBlob
- Connector
Types Salesforce - Salesforce
- Connector
Types Exchange Online - ExchangeOnline
- Connector
Types Outbound - Outbound
- None
- None
- CRM
- CRM
- Azure
Blob - AzureBlob
- Salesforce
- Salesforce
- Exchange
Online - ExchangeOnline
- Outbound
- Outbound
- None
- None
- CRM
- CRM
- Azure
Blob - AzureBlob
- Salesforce
- Salesforce
- Exchange
Online - ExchangeOnline
- Outbound
- Outbound
- NONE
- None
- CRM
- CRM
- AZURE_BLOB
- AzureBlob
- SALESFORCE
- Salesforce
- EXCHANGE_ONLINE
- ExchangeOnline
- OUTBOUND
- Outbound
- "None"
- None
- "CRM"
- CRM
- "Azure
Blob" - AzureBlob
- "Salesforce"
- Salesforce
- "Exchange
Online" - ExchangeOnline
- "Outbound"
- Outbound
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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0