@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [;
exports.getSharedPrivateLinkResourceOutput = exports.getSharedPrivateLinkResource = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Get a SharedPrivateLinkResource
*
* Uses Azure REST API version 2024-10-01-preview.
*
* Other available API versions: 2023-09-01-preview, 2024-07-19-preview, 2025-01-02. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native databasewatcher [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
function getSharedPrivateLinkResource(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("azure-native:databasewatcher:getSharedPrivateLinkResource", {
"resourceGroupName": args.resourceGroupName,
"sharedPrivateLinkResourceName": args.sharedPrivateLinkResourceName,
"watcherName": args.watcherName,
}, opts);
}
exports.getSharedPrivateLinkResource = getSharedPrivateLinkResource;
/**
* Get a SharedPrivateLinkResource
*
* Uses Azure REST API version 2024-10-01-preview.
*
* Other available API versions: 2023-09-01-preview, 2024-07-19-preview, 2025-01-02. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native databasewatcher [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
function getSharedPrivateLinkResourceOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("azure-native:databasewatcher:getSharedPrivateLinkResource", {
"resourceGroupName": args.resourceGroupName,
"sharedPrivateLinkResourceName": args.sharedPrivateLinkResourceName,
"watcherName": args.watcherName,
}, opts);
}
exports.getSharedPrivateLinkResourceOutput = getSharedPrivateLinkResourceOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0U2hhcmVkUHJpdmF0ZUxpbmtSZXNvdXJjZS5qcyIsInNvdXJjZVJvb3QiOiI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