@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.03 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a link in the hub.
*
* Uses Azure REST API version 2017-04-26.
*/
export declare function getLink(args: GetLinkArgs, opts?: pulumi.InvokeOptions): Promise<GetLinkResult>;
export interface GetLinkArgs {
/**
* The name of the hub.
*/
hubName: string;
/**
* The name of the link.
*/
linkName: string;
/**
* The name of the resource group.
*/
resourceGroupName: string;
}
/**
* The link resource format.
*/
export interface GetLinkResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Localized descriptions for the Link.
*/
readonly description?: {
[key: string]: string;
};
/**
* Localized display name for the Link.
*/
readonly displayName?: {
[key: string]: string;
};
/**
* Resource ID.
*/
readonly id: string;
/**
* The link name.
*/
readonly linkName: string;
/**
* The set of properties mappings between the source and target Types.
*/
readonly mappings?: outputs.customerinsights.TypePropertiesMappingResponse[];
/**
* Resource name.
*/
readonly name: string;
/**
* Determines whether this link is supposed to create or delete instances if Link is NOT Reference Only.
*/
readonly operationType?: string;
/**
* The properties that represent the participating profile.
*/
readonly participantPropertyReferences: outputs.customerinsights.ParticipantPropertyReferenceResponse[];
/**
* Provisioning state.
*/
readonly provisioningState: string;
/**
* 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.
*/
readonly referenceOnly?: boolean;
/**
* Type of source entity.
*/
readonly sourceEntityType: string;
/**
* Name of the source Entity Type.
*/
readonly sourceEntityTypeName: string;
/**
* Type of target entity.
*/
readonly targetEntityType: string;
/**
* Name of the target Entity Type.
*/
readonly targetEntityTypeName: string;
/**
* The hub name.
*/
readonly tenantId: string;
/**
* Resource type.
*/
readonly type: string;
}
/**
* Gets a link in the hub.
*
* Uses Azure REST API version 2017-04-26.
*/
export declare function getLinkOutput(args: GetLinkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLinkResult>;
export interface GetLinkOutputArgs {
/**
* The name of the hub.
*/
hubName: pulumi.Input<string>;
/**
* The name of the link.
*/
linkName: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
}