UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

151 lines (150 loc) 4.85 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * The relationship 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. */ export declare class Relationship extends pulumi.CustomResource { /** * Get an existing Relationship resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Relationship; /** * Returns true if the given object is an instance of Relationship. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Relationship; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * The Relationship Cardinality. */ readonly cardinality: pulumi.Output<string | undefined>; /** * Localized descriptions for the Relationship. */ readonly description: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Localized display name for the Relationship. */ readonly displayName: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The expiry date time in UTC. */ readonly expiryDateTimeUtc: pulumi.Output<string | undefined>; /** * The properties of the Relationship. */ readonly fields: pulumi.Output<outputs.customerinsights.PropertyDefinitionResponse[] | undefined>; /** * Optional property to be used to map fields in profile to their strong ids in related profile. */ readonly lookupMappings: pulumi.Output<outputs.customerinsights.RelationshipTypeMappingResponse[] | undefined>; /** * Resource name. */ readonly name: pulumi.Output<string>; /** * Profile type. */ readonly profileType: pulumi.Output<string>; /** * Provisioning state. */ readonly provisioningState: pulumi.Output<string>; /** * Related profile being referenced. */ readonly relatedProfileType: pulumi.Output<string>; /** * The relationship guid id. */ readonly relationshipGuidId: pulumi.Output<string>; /** * The Relationship name. */ readonly relationshipName: pulumi.Output<string>; /** * The hub name. */ readonly tenantId: pulumi.Output<string>; /** * Resource type. */ readonly type: pulumi.Output<string>; /** * Create a Relationship resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RelationshipArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Relationship resource. */ export interface RelationshipArgs { /** * The Relationship Cardinality. */ cardinality?: pulumi.Input<enums.customerinsights.CardinalityTypes>; /** * Localized descriptions for the Relationship. */ description?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * Localized display name for the Relationship. */ displayName?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * The expiry date time in UTC. */ expiryDateTimeUtc?: pulumi.Input<string>; /** * The properties of the Relationship. */ fields?: pulumi.Input<pulumi.Input<inputs.customerinsights.PropertyDefinitionArgs>[]>; /** * The name of the hub. */ hubName: pulumi.Input<string>; /** * Optional property to be used to map fields in profile to their strong ids in related profile. */ lookupMappings?: pulumi.Input<pulumi.Input<inputs.customerinsights.RelationshipTypeMappingArgs>[]>; /** * Profile type. */ profileType: pulumi.Input<string>; /** * Related profile being referenced. */ relatedProfileType: pulumi.Input<string>; /** * The name of the Relationship. */ relationshipName?: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; }