Class Link
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.azurenative.customerinsights.Link
-
public class Link extends com.pulumi.resources.CustomResource
The link resource format. Azure REST API version: 2017-04-26. Prior API version in Azure Native 1.x: 2017-04-26. Other available API versions: 2017-01-01. ## Example Usage ### Links_CreateOrUpdate ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.azurenative.customerinsights.Link; import com.pulumi.azurenative.customerinsights.LinkArgs; 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 link = new Link("link", LinkArgs.builder() .description(Map.of("en-us", "Link Description")) .displayName(Map.of("en-us", "Link DisplayName")) .hubName("sdkTestHub") .linkName("linkTest4806") .mappings(Map.ofEntries( Map.entry("linkType", "UpdateAlways"), Map.entry("sourcePropertyName", "testInteraction1949"), Map.entry("targetPropertyName", "testProfile1446") )) .participantPropertyReferences(Map.ofEntries( Map.entry("sourcePropertyName", "testInteraction1949"), Map.entry("targetPropertyName", "ProfileId") )) .resourceGroupName("TestHubRG") .sourceEntityType("Interaction") .sourceEntityTypeName("testInteraction1949") .targetEntityType("Profile") .targetEntityTypeName("testProfile1446") .build()); } } ``` ## Import An existing resource can be imported using its type token, name, and identifier, e.g. ```sh $ pulumi import azure-native:customerinsights:Link azSdkTestHub/linkTest4806 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/links/{linkName} ```
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>
description()
com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>
displayName()
static Link
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
linkName()
com.pulumi.core.Output<java.util.Optional<java.util.List<TypePropertiesMappingResponse>>>
mappings()
com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.util.Optional<java.lang.String>>
operationType()
com.pulumi.core.Output<java.util.List<ParticipantPropertyReferenceResponse>>
participantPropertyReferences()
com.pulumi.core.Output<java.lang.String>
provisioningState()
com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>>
referenceOnly()
com.pulumi.core.Output<java.lang.String>
sourceEntityType()
com.pulumi.core.Output<java.lang.String>
sourceEntityTypeName()
com.pulumi.core.Output<java.lang.String>
targetEntityType()
com.pulumi.core.Output<java.lang.String>
targetEntityTypeName()
com.pulumi.core.Output<java.lang.String>
tenantId()
com.pulumi.core.Output<java.lang.String>
type()
-
-
-
Constructor Detail
-
Link
public Link(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
Link
public Link(java.lang.String name, LinkArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
Link
public Link(java.lang.String name, LinkArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
description
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> description()
- Returns:
- Localized descriptions for the Link.
-
displayName
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> displayName()
- Returns:
- Localized display name for the Link.
-
linkName
public com.pulumi.core.Output<java.lang.String> linkName()
- Returns:
- The link name.
-
mappings
public com.pulumi.core.Output<java.util.Optional<java.util.List<TypePropertiesMappingResponse>>> mappings()
- Returns:
- The set of properties mappings between the source and target Types.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- Resource name.
-
operationType
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> operationType()
- Returns:
- Determines whether this link is supposed to create or delete instances if Link is NOT Reference Only.
-
participantPropertyReferences
public com.pulumi.core.Output<java.util.List<ParticipantPropertyReferenceResponse>> participantPropertyReferences()
- Returns:
- The properties that represent the participating profile.
-
provisioningState
public com.pulumi.core.Output<java.lang.String> provisioningState()
- Returns:
- Provisioning state.
-
referenceOnly
public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> referenceOnly()
- Returns:
- Indicating whether the link is reference only link. This flag is ignored if the Mappings are defined. If the mappings are not defined and it is set to true, links processing will not create or update profiles.
-
sourceEntityType
public com.pulumi.core.Output<java.lang.String> sourceEntityType()
- Returns:
- Type of source entity.
-
sourceEntityTypeName
public com.pulumi.core.Output<java.lang.String> sourceEntityTypeName()
- Returns:
- Name of the source Entity Type.
-
targetEntityType
public com.pulumi.core.Output<java.lang.String> targetEntityType()
- Returns:
- Type of target entity.
-
targetEntityTypeName
public com.pulumi.core.Output<java.lang.String> targetEntityTypeName()
- Returns:
- Name of the target Entity Type.
-
tenantId
public com.pulumi.core.Output<java.lang.String> tenantId()
- Returns:
- The hub name.
-
type
public com.pulumi.core.Output<java.lang.String> type()
- Returns:
- Resource type.
-
get
public static Link get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.options
- Optional settings to control the behavior of the CustomResource.
-
-