import * as pulumi from "@pulumi/pulumi"; /** * Manages a Dev Center Network Connection. * * ## 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 exampleVirtualNetwork = new azure.network.VirtualNetwork("example", { * name: "example-vnet", * addressSpaces: ["10.0.0.0/16"], * location: example.location, * resourceGroupName: example.name, * }); * const exampleSubnet = new azure.network.Subnet("example", { * name: "internal", * resourceGroupName: example.name, * virtualNetworkName: exampleVirtualNetwork.name, * addressPrefixes: ["10.0.2.0/24"], * }); * const exampleNetworkConnection = new azure.devcenter.NetworkConnection("example", { * name: "example-dcnc", * resourceGroupName: example.name, * location: example.location, * domainJoinType: "AzureADJoin", * subnetId: exampleSubnet.id, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.DevCenter` - 2025-02-01 * * ## Import * * An existing Dev Center Network Connection can be imported into Pulumi using the `resource id`, e.g. * * ```sh * $ pulumi import azure:devcenter/networkConnection:NetworkConnection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevCenter/networkConnections/networkConnection1 * ``` */ export declare class NetworkConnection extends pulumi.CustomResource { /** * Get an existing NetworkConnection 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?: NetworkConnectionState, opts?: pulumi.CustomResourceOptions): NetworkConnection; /** * Returns true if the given object is an instance of NetworkConnection. 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 NetworkConnection; /** * The Azure Active Directory Join type. Possible values are `AzureADJoin`, `HybridAzureADJoin` and `None`. Changing this forces a new resource to be created. */ readonly domainJoinType: pulumi.Output; /** * The name of the Azure Active Directory domain. */ readonly domainName: pulumi.Output; /** * The password for the account used to join domain. */ readonly domainPassword: pulumi.Output; /** * The username of the Azure Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. */ readonly domainUsername: pulumi.Output; /** * The Azure Region where the Dev Center Network Connection should exist. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * Specifies the name of this Dev Center Network Connection. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The Azure Active Directory domain Organization Unit (OU). */ readonly organizationUnit: pulumi.Output; /** * Specifies the name of the Resource Group within which this Dev Center Network Connection should exist. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * The ID of the Subnet that is used to attach Virtual Machines. */ readonly subnetId: pulumi.Output; /** * A mapping of tags which should be assigned to the Dev Center Network Connection. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a NetworkConnection 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: NetworkConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkConnection resources. */ export interface NetworkConnectionState { /** * The Azure Active Directory Join type. Possible values are `AzureADJoin`, `HybridAzureADJoin` and `None`. Changing this forces a new resource to be created. */ domainJoinType?: pulumi.Input; /** * The name of the Azure Active Directory domain. */ domainName?: pulumi.Input; /** * The password for the account used to join domain. */ domainPassword?: pulumi.Input; /** * The username of the Azure Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. */ domainUsername?: pulumi.Input; /** * The Azure Region where the Dev Center Network Connection should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name of this Dev Center Network Connection. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The Azure Active Directory domain Organization Unit (OU). */ organizationUnit?: pulumi.Input; /** * Specifies the name of the Resource Group within which this Dev Center Network Connection should exist. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * The ID of the Subnet that is used to attach Virtual Machines. */ subnetId?: pulumi.Input; /** * A mapping of tags which should be assigned to the Dev Center Network Connection. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a NetworkConnection resource. */ export interface NetworkConnectionArgs { /** * The Azure Active Directory Join type. Possible values are `AzureADJoin`, `HybridAzureADJoin` and `None`. Changing this forces a new resource to be created. */ domainJoinType: pulumi.Input; /** * The name of the Azure Active Directory domain. */ domainName?: pulumi.Input; /** * The password for the account used to join domain. */ domainPassword?: pulumi.Input; /** * The username of the Azure Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. */ domainUsername?: pulumi.Input; /** * The Azure Region where the Dev Center Network Connection should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name of this Dev Center Network Connection. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The Azure Active Directory domain Organization Unit (OU). */ organizationUnit?: pulumi.Input; /** * Specifies the name of the Resource Group within which this Dev Center Network Connection should exist. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * The ID of the Subnet that is used to attach Virtual Machines. */ subnetId: pulumi.Input; /** * A mapping of tags which should be assigned to the Dev Center Network Connection. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }