GetClientConfig
Use this data source to access information about the Azure DevOps organization configured for the provider.
Example Usage
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
class MyStack : Stack
{
public MyStack()
{
var clientConfig = Output.Create(AzureDevOps.Core.GetClientConfig.InvokeAsync());
this.OrgUrl = clientConfig.Apply(clientConfig => clientConfig.OrganizationUrl);
}
[Output("orgUrl")]
public Output<string> OrgUrl { get; set; }
}
Coming soon!
import pulumi
import pulumi_azuredevops as azuredevops
client_config = azuredevops.Core.get_client_config()
pulumi.export("orgUrl", client_config.organization_url)import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const clientConfig = azuredevops.Core.getClientConfig({});
export const orgUrl = clientConfig.then(clientConfig => clientConfig.organizationUrl);Using GetClientConfig
function getClientConfig(opts?: InvokeOptions): Promise<GetClientConfigResult>function get_client_config(opts=None)func GetClientConfig(ctx *Context, opts ...InvokeOption) (*GetClientConfigResult, error)public static class GetClientConfig {
public static Task<GetClientConfigResult> InvokeAsync(InvokeOptions? opts = null)
}GetClientConfig Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Organization
Url string
- Id string
The provider-assigned unique ID for this managed resource.
- Organization
Url string
- id string
The provider-assigned unique ID for this managed resource.
- organization
Url string
- id str
The provider-assigned unique ID for this managed resource.
- organization_
url str
Package Details
- Repository
- https://github.com/pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azuredevopsTerraform Provider.