We recommend using Azure Native.
Azure v6.28.0 published on Friday, Oct 3, 2025 by Pulumi
azure.devcenter.getCatalog
Start a Neo task
Explain and create an azure.devcenter.getCatalog resource
Use this data source to access information about an existing Dev Center Catalog.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.devcenter.getCatalog({
name: exampleAzurermDevCenterCatalog.name,
devCenterId: exampleAzurermDevCenterCatalog.devCenterId,
});
export const id = example.then(example => example.id);
import pulumi
import pulumi_azure as azure
example = azure.devcenter.get_catalog(name=example_azurerm_dev_center_catalog["name"],
dev_center_id=example_azurerm_dev_center_catalog["devCenterId"])
pulumi.export("id", example.id)
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/devcenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := devcenter.LookupCatalog(ctx, &devcenter.LookupCatalogArgs{
Name: exampleAzurermDevCenterCatalog.Name,
DevCenterId: exampleAzurermDevCenterCatalog.DevCenterId,
}, nil)
if err != nil {
return err
}
ctx.Export("id", example.Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.DevCenter.GetCatalog.Invoke(new()
{
Name = exampleAzurermDevCenterCatalog.Name,
DevCenterId = exampleAzurermDevCenterCatalog.DevCenterId,
});
return new Dictionary<string, object?>
{
["id"] = example.Apply(getCatalogResult => getCatalogResult.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.devcenter.DevcenterFunctions;
import com.pulumi.azure.devcenter.inputs.GetCatalogArgs;
import java.util.List;
import java.util.ArrayList;
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 example = DevcenterFunctions.getCatalog(GetCatalogArgs.builder()
.name(exampleAzurermDevCenterCatalog.name())
.devCenterId(exampleAzurermDevCenterCatalog.devCenterId())
.build());
ctx.export("id", example.id());
}
}
variables:
example:
fn::invoke:
function: azure:devcenter:getCatalog
arguments:
name: ${exampleAzurermDevCenterCatalog.name}
devCenterId: ${exampleAzurermDevCenterCatalog.devCenterId}
outputs:
id: ${example.id}
API Providers
This data source uses the following Azure API Providers:
Microsoft.DevCenter- 2025-02-01
Using getCatalog
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 getCatalog(args: GetCatalogArgs, opts?: InvokeOptions): Promise<GetCatalogResult>
function getCatalogOutput(args: GetCatalogOutputArgs, opts?: InvokeOptions): Output<GetCatalogResult>def get_catalog(dev_center_id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCatalogResult
def get_catalog_output(dev_center_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCatalogResult]func LookupCatalog(ctx *Context, args *LookupCatalogArgs, opts ...InvokeOption) (*LookupCatalogResult, error)
func LookupCatalogOutput(ctx *Context, args *LookupCatalogOutputArgs, opts ...InvokeOption) LookupCatalogResultOutput> Note: This function is named LookupCatalog in the Go SDK.
public static class GetCatalog
{
public static Task<GetCatalogResult> InvokeAsync(GetCatalogArgs args, InvokeOptions? opts = null)
public static Output<GetCatalogResult> Invoke(GetCatalogInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCatalogResult> getCatalog(GetCatalogArgs args, InvokeOptions options)
public static Output<GetCatalogResult> getCatalog(GetCatalogArgs args, InvokeOptions options)
fn::invoke:
function: azure:devcenter/getCatalog:getCatalog
arguments:
# arguments dictionaryThe following arguments are supported:
- Dev
Center stringId - Specifies the Dev Center Id within which this Dev Center Catalog should exist.
- Name string
- The name of this Dev Center Catalog.
- Dev
Center stringId - Specifies the Dev Center Id within which this Dev Center Catalog should exist.
- Name string
- The name of this Dev Center Catalog.
- dev
Center StringId - Specifies the Dev Center Id within which this Dev Center Catalog should exist.
- name String
- The name of this Dev Center Catalog.
- dev
Center stringId - Specifies the Dev Center Id within which this Dev Center Catalog should exist.
- name string
- The name of this Dev Center Catalog.
- dev_
center_ strid - Specifies the Dev Center Id within which this Dev Center Catalog should exist.
- name str
- The name of this Dev Center Catalog.
- dev
Center StringId - Specifies the Dev Center Id within which this Dev Center Catalog should exist.
- name String
- The name of this Dev Center Catalog.
getCatalog Result
The following output properties are available:
- Catalog
Adogits List<GetCatalog Catalog Adogit> - A
catalog_adogitblock as defined below. - Catalog
Githubs List<GetCatalog Catalog Github> - A
catalog_githubblock as defined below. - Dev
Center stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Catalog
Adogits []GetCatalog Catalog Adogit - A
catalog_adogitblock as defined below. - Catalog
Githubs []GetCatalog Catalog Github - A
catalog_githubblock as defined below. - Dev
Center stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- catalog
Adogits List<GetCatalog Catalog Adogit> - A
catalog_adogitblock as defined below. - catalog
Githubs List<GetCatalog Catalog Github> - A
catalog_githubblock as defined below. - dev
Center StringId - id String
- The provider-assigned unique ID for this managed resource.
- name String
- catalog
Adogits GetCatalog Catalog Adogit[] - A
catalog_adogitblock as defined below. - catalog
Githubs GetCatalog Catalog Github[] - A
catalog_githubblock as defined below. - dev
Center stringId - id string
- The provider-assigned unique ID for this managed resource.
- name string
- catalog_
adogits Sequence[GetCatalog Catalog Adogit] - A
catalog_adogitblock as defined below. - catalog_
githubs Sequence[GetCatalog Catalog Github] - A
catalog_githubblock as defined below. - dev_
center_ strid - id str
- The provider-assigned unique ID for this managed resource.
- name str
- catalog
Adogits List<Property Map> - A
catalog_adogitblock as defined below. - catalog
Githubs List<Property Map> - A
catalog_githubblock as defined below. - dev
Center StringId - id String
- The provider-assigned unique ID for this managed resource.
- name String
Supporting Types
GetCatalogCatalogAdogit
- Branch string
- The Git branch of the Dev Center Catalog.
- Key
Vault stringKey Url - A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
- Path string
- The folder where the catalog items can be found inside the repository.
- Uri string
- The Git URI of the Dev Center Catalog.
- Branch string
- The Git branch of the Dev Center Catalog.
- Key
Vault stringKey Url - A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
- Path string
- The folder where the catalog items can be found inside the repository.
- Uri string
- The Git URI of the Dev Center Catalog.
- branch String
- The Git branch of the Dev Center Catalog.
- key
Vault StringKey Url - A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
- path String
- The folder where the catalog items can be found inside the repository.
- uri String
- The Git URI of the Dev Center Catalog.
- branch string
- The Git branch of the Dev Center Catalog.
- key
Vault stringKey Url - A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
- path string
- The folder where the catalog items can be found inside the repository.
- uri string
- The Git URI of the Dev Center Catalog.
- branch str
- The Git branch of the Dev Center Catalog.
- key_
vault_ strkey_ url - A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
- path str
- The folder where the catalog items can be found inside the repository.
- uri str
- The Git URI of the Dev Center Catalog.
- branch String
- The Git branch of the Dev Center Catalog.
- key
Vault StringKey Url - A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
- path String
- The folder where the catalog items can be found inside the repository.
- uri String
- The Git URI of the Dev Center Catalog.
GetCatalogCatalogGithub
- Branch string
- The Git branch of the Dev Center Catalog.
- Key
Vault stringKey Url - A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
- Path string
- The folder where the catalog items can be found inside the repository.
- Uri string
- The Git URI of the Dev Center Catalog.
- Branch string
- The Git branch of the Dev Center Catalog.
- Key
Vault stringKey Url - A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
- Path string
- The folder where the catalog items can be found inside the repository.
- Uri string
- The Git URI of the Dev Center Catalog.
- branch String
- The Git branch of the Dev Center Catalog.
- key
Vault StringKey Url - A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
- path String
- The folder where the catalog items can be found inside the repository.
- uri String
- The Git URI of the Dev Center Catalog.
- branch string
- The Git branch of the Dev Center Catalog.
- key
Vault stringKey Url - A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
- path string
- The folder where the catalog items can be found inside the repository.
- uri string
- The Git URI of the Dev Center Catalog.
- branch str
- The Git branch of the Dev Center Catalog.
- key_
vault_ strkey_ url - A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
- path str
- The folder where the catalog items can be found inside the repository.
- uri str
- The Git URI of the Dev Center Catalog.
- branch String
- The Git branch of the Dev Center Catalog.
- key
Vault StringKey Url - A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
- path String
- The folder where the catalog items can be found inside the repository.
- uri String
- The Git URI of the Dev Center Catalog.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
