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

100 lines (99 loc) 4.23 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Returns Linker resource for a given name. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2022-11-01-preview, 2023-04-01-preview, 2024-07-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native servicelinker [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getLinker(args: GetLinkerArgs, opts?: pulumi.InvokeOptions): Promise<GetLinkerResult>; export interface GetLinkerArgs { /** * The name Linker resource. */ linkerName: string; /** * The fully qualified Azure Resource manager identifier of the resource to be connected. */ resourceUri: string; } /** * Linker of source and target resource */ export interface GetLinkerResult { /** * The authentication type. */ readonly authInfo?: outputs.servicelinker.AccessKeyInfoBaseResponse | outputs.servicelinker.EasyAuthMicrosoftEntraIDAuthInfoResponse | outputs.servicelinker.SecretAuthInfoResponse | outputs.servicelinker.ServicePrincipalCertificateAuthInfoResponse | outputs.servicelinker.ServicePrincipalSecretAuthInfoResponse | outputs.servicelinker.SystemAssignedIdentityAuthInfoResponse | outputs.servicelinker.UserAccountAuthInfoResponse | outputs.servicelinker.UserAssignedIdentityAuthInfoResponse; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The application client type */ readonly clientType?: string; /** * The connection information consumed by applications, including secrets, connection strings. */ readonly configurationInfo?: outputs.servicelinker.ConfigurationInfoResponse; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The name of the resource */ readonly name: string; /** * The provisioning state. */ readonly provisioningState: string; /** * The network solution. */ readonly publicNetworkSolution?: outputs.servicelinker.PublicNetworkSolutionResponse; /** * connection scope in source service. */ readonly scope?: string; /** * An option to store secret value in secure place */ readonly secretStore?: outputs.servicelinker.SecretStoreResponse; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.servicelinker.SystemDataResponse; /** * The target service properties */ readonly targetService?: outputs.servicelinker.AzureResourceResponse | outputs.servicelinker.ConfluentBootstrapServerResponse | outputs.servicelinker.ConfluentSchemaRegistryResponse | outputs.servicelinker.SelfHostedServerResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * The VNet solution. */ readonly vNetSolution?: outputs.servicelinker.VNetSolutionResponse; } /** * Returns Linker resource for a given name. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2022-11-01-preview, 2023-04-01-preview, 2024-07-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native servicelinker [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getLinkerOutput(args: GetLinkerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLinkerResult>; export interface GetLinkerOutputArgs { /** * The name Linker resource. */ linkerName: pulumi.Input<string>; /** * The fully qualified Azure Resource manager identifier of the resource to be connected. */ resourceUri: pulumi.Input<string>; }