@pulumi/azuredevops
Version:
A Pulumi package for creating and managing Azure DevOps.
44 lines • 1.77 kB
JavaScript
;
// *** 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.getClientConfigOutput = exports.getClientConfig = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Use this data source to access information about the Azure DevOps organization configured for the provider.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as azuredevops from "@pulumi/azuredevops";
*
* const example = azuredevops.getClientConfig({});
* export const orgUrl = example.then(example => example.organizationUrl);
* ```
*/
function getClientConfig(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("azuredevops:index/getClientConfig:getClientConfig", {}, opts);
}
exports.getClientConfig = getClientConfig;
/**
* Use this data source to access information about the Azure DevOps organization configured for the provider.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as azuredevops from "@pulumi/azuredevops";
*
* const example = azuredevops.getClientConfig({});
* export const orgUrl = example.then(example => example.organizationUrl);
* ```
*/
function getClientConfigOutput(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("azuredevops:index/getClientConfig:getClientConfig", {}, opts);
}
exports.getClientConfigOutput = getClientConfigOutput;
//# sourceMappingURL=getClientConfig.js.map