import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Dev Center Catalog. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleDevCenter = new azure.devcenter.DevCenter("example", { * location: example.location, * name: "example", * resourceGroupName: example.name, * identity: { * type: "SystemAssigned", * }, * }); * const exampleCatalog = new azure.devcenter.Catalog("example", { * name: "example", * resourceGroupName: testAzurermResourceGroup.name, * devCenterId: test.id, * catalogGithub: { * branch: "foo", * path: "", * uri: "example URI", * keyVaultKeyUrl: "secret", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.DevCenter` - 2025-02-01 * * ## Import * * An existing Dev Center Catalog can be imported into Pulumi using the `resource id`, e.g. * * ```sh * $ pulumi import azure:devcenter/catalog:Catalog example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devCenters/{devCenterName}/catalogs/{catalogName} * ``` * * * Where `{subscriptionId}` is the ID of the Azure Subscription where the Dev Center exists. For example `12345678-1234-9876-4563-123456789012`. * * Where `{resourceGroupName}` is the name of Resource Group where this Dev Center exists. For example `example-resource-group`. * * Where `{devCenterName}` is the name of the Dev Center. For example `devCenterValue`. * * Where `{catalogName}` is the name of the Dev Center Catalog. For example `catalogValue`. */ export declare class Catalog extends pulumi.CustomResource { /** * Get an existing Catalog resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: CatalogState, opts?: pulumi.CustomResourceOptions): Catalog; /** * Returns true if the given object is an instance of Catalog. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Catalog; /** * A `catalogAdogit` block as defined below. */ readonly catalogAdogit: pulumi.Output; /** * A `catalogGithub` block as defined below. */ readonly catalogGithub: pulumi.Output; /** * Specifies the Dev Center Id within which this Dev Center Catalog should exist. Changing this forces a new Dev Center Catalog to be created. */ readonly devCenterId: pulumi.Output; /** * Specifies the name of this Dev Center Catalog. Changing this forces a new Dev Center to be created. */ readonly name: pulumi.Output; /** * Specifies the name of the Resource Group within which this Dev Center Catalog should exist. Changing this forces a new Dev Center to be created. */ readonly resourceGroupName: pulumi.Output; /** * Create a Catalog resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CatalogArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Catalog resources. */ export interface CatalogState { /** * A `catalogAdogit` block as defined below. */ catalogAdogit?: pulumi.Input; /** * A `catalogGithub` block as defined below. */ catalogGithub?: pulumi.Input; /** * Specifies the Dev Center Id within which this Dev Center Catalog should exist. Changing this forces a new Dev Center Catalog to be created. */ devCenterId?: pulumi.Input; /** * Specifies the name of this Dev Center Catalog. Changing this forces a new Dev Center to be created. */ name?: pulumi.Input; /** * Specifies the name of the Resource Group within which this Dev Center Catalog should exist. Changing this forces a new Dev Center to be created. */ resourceGroupName?: pulumi.Input; } /** * The set of arguments for constructing a Catalog resource. */ export interface CatalogArgs { /** * A `catalogAdogit` block as defined below. */ catalogAdogit?: pulumi.Input; /** * A `catalogGithub` block as defined below. */ catalogGithub?: pulumi.Input; /** * Specifies the Dev Center Id within which this Dev Center Catalog should exist. Changing this forces a new Dev Center Catalog to be created. */ devCenterId: pulumi.Input; /** * Specifies the name of this Dev Center Catalog. Changing this forces a new Dev Center to be created. */ name?: pulumi.Input; /** * Specifies the name of the Resource Group within which this Dev Center Catalog should exist. Changing this forces a new Dev Center to be created. */ resourceGroupName: pulumi.Input; }