UNPKG

@pulumi/azuredevops

Version:

A Pulumi package for creating and managing Azure DevOps.

58 lines 2.45 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getServiceendpointSonarcloudOutput = exports.getServiceendpointSonarcloud = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to access information about an existing Sonar Cloud Service Endpoint. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azuredevops from "@pulumi/azuredevops"; * * const example = azuredevops.getServiceendpointSonarcloud({ * projectId: exampleAzuredevopsProject.id, * serviceEndpointName: "Example Sonar Cloud", * }); * export const serviceEndpointId = example.then(example => example.id); * ``` */ function getServiceendpointSonarcloud(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("azuredevops:index/getServiceendpointSonarcloud:getServiceendpointSonarcloud", { "projectId": args.projectId, "serviceEndpointId": args.serviceEndpointId, "serviceEndpointName": args.serviceEndpointName, }, opts); } exports.getServiceendpointSonarcloud = getServiceendpointSonarcloud; /** * Use this data source to access information about an existing Sonar Cloud Service Endpoint. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azuredevops from "@pulumi/azuredevops"; * * const example = azuredevops.getServiceendpointSonarcloud({ * projectId: exampleAzuredevopsProject.id, * serviceEndpointName: "Example Sonar Cloud", * }); * export const serviceEndpointId = example.then(example => example.id); * ``` */ function getServiceendpointSonarcloudOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("azuredevops:index/getServiceendpointSonarcloud:getServiceendpointSonarcloud", { "projectId": args.projectId, "serviceEndpointId": args.serviceEndpointId, "serviceEndpointName": args.serviceEndpointName, }, opts); } exports.getServiceendpointSonarcloudOutput = getServiceendpointSonarcloudOutput; //# sourceMappingURL=getServiceendpointSonarcloud.js.map