Viewing docs for Azure DevOps v3.16.0
published on Friday, Jul 17, 2026 by Pulumi
published on Friday, Jul 17, 2026 by Pulumi
Viewing docs for Azure DevOps v3.16.0
published on Friday, Jul 17, 2026 by Pulumi
published on Friday, Jul 17, 2026 by Pulumi
Use this data source to query all available service endpoint types in Azure DevOps.
NOTE: If you need to find a specific service endpoint type by name, consider using the azuredevops.getServiceendpointType data source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const all = azuredevops.getServiceendpointTypes({});
export const allTypes = all.then(all => all.types);
import pulumi
import pulumi_azuredevops as azuredevops
all = azuredevops.get_serviceendpoint_types()
pulumi.export("allTypes", all.types)
package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
all, err := azuredevops.GetServiceendpointTypes(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
ctx.Export("allTypes", all.Types)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var all = AzureDevOps.GetServiceendpointTypes.Invoke();
return new Dictionary<string, object?>
{
["allTypes"] = all.Apply(getServiceendpointTypesResult => getServiceendpointTypesResult.Types),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.AzuredevopsFunctions;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var all = AzuredevopsFunctions.getServiceendpointTypes(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
ctx.export("allTypes", all.types());
}
}
variables:
all:
fn::invoke:
function: azuredevops:getServiceendpointTypes
arguments: {}
outputs:
allTypes: ${all.types}
pulumi {
required_providers {
azuredevops = {
source = "pulumi/azuredevops"
}
}
}
data "azuredevops_getserviceendpointtypes" "all" {
}
output "allTypes" {
value = data.azuredevops_getserviceendpointtypes.all.types
}
Filter service endpoint types
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
import * as std from "@pulumi/std";
const all = azuredevops.getServiceendpointTypes({});
const gitTypes = all.then(all => .filter(type => std.regexall({
pattern: "git",
string: std.lower({
input: type.name,
}).result,
}).result.length > 0).map(type => (type)));
export const gitRelatedTypes = gitTypes;
import pulumi
import pulumi_azuredevops as azuredevops
import pulumi_std as std
all = azuredevops.get_serviceendpoint_types()
git_types = [type for type in all.types if len(std.regexall(pattern="git",
string=std.lower(input=type.name)["result"])["result"]) > 0]
pulumi.export("gitRelatedTypes", git_types)
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var all = AzureDevOps.GetServiceendpointTypes.Invoke();
var gitTypes = .Where(type => Std.Regexall.Invoke(new()
{
Pattern = "git",
String = Std.Lower.Invoke(new()
{
Input = type.Name,
}).Result,
}).Result.Length > 0).Select(type =>
{
return type;
}).ToList();
return new Dictionary<string, object?>
{
["gitRelatedTypes"] = gitTypes,
};
});
Example coming soon!
Example coming soon!
pulumi {
required_providers {
azuredevops = {
source = "pulumi/azuredevops"
}
}
}
data "azuredevops_getserviceendpointtypes" "all" {
}
locals {
gitTypes = [for type in data.azuredevops_getserviceendpointtypes.all.types : type if length(regexall("git", lower(type.name))) > 0]
}
output "gitRelatedTypes" {
value = local.gitTypes
}
Relevant Links
Using getServiceendpointTypes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getServiceendpointTypes(opts?: InvokeOptions): Promise<GetServiceendpointTypesResult>
function getServiceendpointTypesOutput(opts?: InvokeOptions): Output<GetServiceendpointTypesResult>def get_serviceendpoint_types(opts: Optional[InvokeOptions] = None) -> GetServiceendpointTypesResult
def get_serviceendpoint_types_output(opts: Optional[InvokeOptions] = None) -> Output[GetServiceendpointTypesResult]func GetServiceendpointTypes(ctx *Context, opts ...InvokeOption) (*GetServiceendpointTypesResult, error)
func GetServiceendpointTypesOutput(ctx *Context, opts ...InvokeOption) GetServiceendpointTypesResultOutput> Note: This function is named GetServiceendpointTypes in the Go SDK.
public static class GetServiceendpointTypes
{
public static Task<GetServiceendpointTypesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetServiceendpointTypesResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceendpointTypesResult> getServiceendpointTypes(InvokeOptions options)
public static Output<GetServiceendpointTypesResult> getServiceendpointTypes(InvokeOptions options)
fn::invoke:
function: azuredevops:index/getServiceendpointTypes:getServiceendpointTypes
arguments:
# arguments dictionarydata "azuredevops_get_serviceendpoint_types" "name" {
# arguments
}getServiceendpointTypes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Types
List<Pulumi.
Azure Dev Ops. Outputs. Get Serviceendpoint Types Type> - A list of service endpoint types. Each type has the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Types
[]Get
Serviceendpoint Types Type - A list of service endpoint types. Each type has the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- types list(object)
- A list of service endpoint types. Each type has the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- types
List<Get
Serviceendpoint Types Type> - A list of service endpoint types. Each type has the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- types
Get
Serviceendpoint Types Type[] - A list of service endpoint types. Each type has the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- types
Sequence[Get
Serviceendpoint Types Type] - A list of service endpoint types. Each type has the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- types List<Property Map>
- A list of service endpoint types. Each type has the following attributes:
Supporting Types
GetServiceendpointTypesType
- Authentication
Schemes List<string> - A list of available authentication schemes for this service endpoint type.
- Description string
- The description of the service endpoint type.
- Display
Name string - The display name of the service endpoint type.
- Id string
- The ID of the service endpoint type (typically same as name).
- Name string
- The name of the service endpoint type.
- Ui
Contribution stringId - The UI contribution ID for this service endpoint type.
- Authentication
Schemes []string - A list of available authentication schemes for this service endpoint type.
- Description string
- The description of the service endpoint type.
- Display
Name string - The display name of the service endpoint type.
- Id string
- The ID of the service endpoint type (typically same as name).
- Name string
- The name of the service endpoint type.
- Ui
Contribution stringId - The UI contribution ID for this service endpoint type.
- authentication_
schemes list(string) - A list of available authentication schemes for this service endpoint type.
- description string
- The description of the service endpoint type.
- display_
name string - The display name of the service endpoint type.
- id string
- The ID of the service endpoint type (typically same as name).
- name string
- The name of the service endpoint type.
- ui_
contribution_ stringid - The UI contribution ID for this service endpoint type.
- authentication
Schemes List<String> - A list of available authentication schemes for this service endpoint type.
- description String
- The description of the service endpoint type.
- display
Name String - The display name of the service endpoint type.
- id String
- The ID of the service endpoint type (typically same as name).
- name String
- The name of the service endpoint type.
- ui
Contribution StringId - The UI contribution ID for this service endpoint type.
- authentication
Schemes string[] - A list of available authentication schemes for this service endpoint type.
- description string
- The description of the service endpoint type.
- display
Name string - The display name of the service endpoint type.
- id string
- The ID of the service endpoint type (typically same as name).
- name string
- The name of the service endpoint type.
- ui
Contribution stringId - The UI contribution ID for this service endpoint type.
- authentication_
schemes Sequence[str] - A list of available authentication schemes for this service endpoint type.
- description str
- The description of the service endpoint type.
- display_
name str - The display name of the service endpoint type.
- id str
- The ID of the service endpoint type (typically same as name).
- name str
- The name of the service endpoint type.
- ui_
contribution_ strid - The UI contribution ID for this service endpoint type.
- authentication
Schemes List<String> - A list of available authentication schemes for this service endpoint type.
- description String
- The description of the service endpoint type.
- display
Name String - The display name of the service endpoint type.
- id String
- The ID of the service endpoint type (typically same as name).
- name String
- The name of the service endpoint type.
- ui
Contribution StringId - The UI contribution ID for this service endpoint type.
Package Details
- Repository
- Azure DevOps pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azuredevopsTerraform Provider.
Viewing docs for Azure DevOps v3.16.0
published on Friday, Jul 17, 2026 by Pulumi
published on Friday, Jul 17, 2026 by Pulumi