import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Dev Center Project Environment Type. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.devcenter.getProjectEnvironmentType({ * name: exampleAzurermDevCenterProjectEnvironmentType.name, * devCenterProjectId: exampleAzurermDevCenterProjectEnvironmentType.devCenterProjectId, * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.DevCenter` - 2025-02-01 */ export declare function getProjectEnvironmentType(args: GetProjectEnvironmentTypeArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getProjectEnvironmentType. */ export interface GetProjectEnvironmentTypeArgs { /** * The ID of the associated Dev Center Project. */ devCenterProjectId: string; /** * The name of this Dev Center Project Environment Type. */ name: string; } /** * A collection of values returned by getProjectEnvironmentType. */ export interface GetProjectEnvironmentTypeResult { /** * A list of roles assigned to the environment creator. */ readonly creatorRoleAssignmentRoles: string[]; /** * The ID of the subscription that the Environment Type is mapped to. */ readonly deploymentTargetId: string; readonly devCenterProjectId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An `identity` block as defined below. */ readonly identities: outputs.devcenter.GetProjectEnvironmentTypeIdentity[]; /** * The Azure Region where the Dev Center Project Environment Type exists. */ readonly location: string; readonly name: string; /** * A mapping of tags assigned to the Dev Center Project Environment Type. */ readonly tags: { [key: string]: string; }; /** * A `userRoleAssignment` block as defined below. */ readonly userRoleAssignments: outputs.devcenter.GetProjectEnvironmentTypeUserRoleAssignment[]; } /** * Use this data source to access information about an existing Dev Center Project Environment Type. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.devcenter.getProjectEnvironmentType({ * name: exampleAzurermDevCenterProjectEnvironmentType.name, * devCenterProjectId: exampleAzurermDevCenterProjectEnvironmentType.devCenterProjectId, * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.DevCenter` - 2025-02-01 */ export declare function getProjectEnvironmentTypeOutput(args: GetProjectEnvironmentTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getProjectEnvironmentType. */ export interface GetProjectEnvironmentTypeOutputArgs { /** * The ID of the associated Dev Center Project. */ devCenterProjectId: pulumi.Input; /** * The name of this Dev Center Project Environment Type. */ name: pulumi.Input; }