import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages a Machine Learning Compute Cluster.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const current = azure.core.getClientConfig({});
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-rg",
 *     location: "west europe",
 *     tags: {
 *         stage: "example",
 *     },
 * });
 * const exampleInsights = new azure.appinsights.Insights("example", {
 *     name: "example-ai",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     applicationType: "web",
 * });
 * const exampleKeyVault = new azure.keyvault.KeyVault("example", {
 *     name: "example-kv",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     tenantId: current.then(current => current.tenantId),
 *     skuName: "standard",
 *     purgeProtectionEnabled: true,
 * });
 * const exampleAccount = new azure.storage.Account("example", {
 *     name: "examplesa",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     accountTier: "Standard",
 *     accountReplicationType: "LRS",
 * });
 * const exampleWorkspace = new azure.machinelearning.Workspace("example", {
 *     name: "example-mlw",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     applicationInsightsId: exampleInsights.id,
 *     keyVaultId: exampleKeyVault.id,
 *     storageAccountId: exampleAccount.id,
 *     identity: {
 *         type: "SystemAssigned",
 *     },
 * });
 * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
 *     name: "example-vnet",
 *     addressSpaces: ["10.1.0.0/16"],
 *     location: example.location,
 *     resourceGroupName: example.name,
 * });
 * const exampleSubnet = new azure.network.Subnet("example", {
 *     name: "example-subnet",
 *     resourceGroupName: example.name,
 *     virtualNetworkName: exampleVirtualNetwork.name,
 *     addressPrefixes: ["10.1.0.0/24"],
 * });
 * const test = new azure.machinelearning.ComputeCluster("test", {
 *     name: "example",
 *     location: example.location,
 *     vmPriority: "LowPriority",
 *     vmSize: "Standard_DS2_v2",
 *     machineLearningWorkspaceId: exampleWorkspace.id,
 *     subnetResourceId: exampleSubnet.id,
 *     scaleSettings: {
 *         minNodeCount: 0,
 *         maxNodeCount: 1,
 *         scaleDownNodesAfterIdleDuration: "PT30S",
 *     },
 *     identity: {
 *         type: "SystemAssigned",
 *     },
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.MachineLearningServices` - 2025-06-01
 *
 * ## Import
 *
 * Machine Learning Compute Clusters can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:machinelearning/computeCluster:ComputeCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.MachineLearningServices/workspaces/workspace1/computes/cluster1
 * ```
 */
export declare class ComputeCluster extends pulumi.CustomResource {
    /**
     * Get an existing ComputeCluster 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<pulumi.ID>, state?: ComputeClusterState, opts?: pulumi.CustomResourceOptions): ComputeCluster;
    /**
     * Returns true if the given object is an instance of ComputeCluster.  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 ComputeCluster;
    /**
     * The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    readonly description: pulumi.Output<string | undefined>;
    /**
     * An `identity` block as defined below.
     */
    readonly identity: pulumi.Output<outputs.machinelearning.ComputeClusterIdentity | undefined>;
    /**
     * Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    readonly localAuthEnabled: pulumi.Output<boolean | undefined>;
    /**
     * The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    readonly location: pulumi.Output<string>;
    /**
     * The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    readonly machineLearningWorkspaceId: pulumi.Output<string>;
    /**
     * The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Whether the compute cluster will have a public ip. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    readonly nodePublicIpEnabled: pulumi.Output<boolean | undefined>;
    /**
     * A `scaleSettings` block as defined below.
     */
    readonly scaleSettings: pulumi.Output<outputs.machinelearning.ComputeClusterScaleSettings>;
    /**
     * Credentials for an administrator user account that will be created on each compute node. A `ssh` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    readonly ssh: pulumi.Output<outputs.machinelearning.ComputeClusterSsh | undefined>;
    /**
     * A boolean value indicating whether enable the public SSH port. Defaults to `false`. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    readonly sshPublicAccessEnabled: pulumi.Output<boolean | undefined>;
    /**
     * The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    readonly subnetResourceId: pulumi.Output<string>;
    /**
     * A mapping of tags which should be assigned to the Machine Learning Compute Cluster.
     */
    readonly tags: pulumi.Output<{
        [key: string]: string;
    } | undefined>;
    /**
     * The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are `Dedicated` and `LowPriority`.
     */
    readonly vmPriority: pulumi.Output<string>;
    /**
     * The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    readonly vmSize: pulumi.Output<string>;
    /**
     * Create a ComputeCluster 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: ComputeClusterArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ComputeCluster resources.
 */
export interface ComputeClusterState {
    /**
     * The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * An `identity` block as defined below.
     */
    identity?: pulumi.Input<inputs.machinelearning.ComputeClusterIdentity | undefined>;
    /**
     * Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    localAuthEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    location?: pulumi.Input<string | undefined>;
    /**
     * The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    machineLearningWorkspaceId?: pulumi.Input<string | undefined>;
    /**
     * The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Whether the compute cluster will have a public ip. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    nodePublicIpEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * A `scaleSettings` block as defined below.
     */
    scaleSettings?: pulumi.Input<inputs.machinelearning.ComputeClusterScaleSettings | undefined>;
    /**
     * Credentials for an administrator user account that will be created on each compute node. A `ssh` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    ssh?: pulumi.Input<inputs.machinelearning.ComputeClusterSsh | undefined>;
    /**
     * A boolean value indicating whether enable the public SSH port. Defaults to `false`. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    sshPublicAccessEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    subnetResourceId?: pulumi.Input<string | undefined>;
    /**
     * A mapping of tags which should be assigned to the Machine Learning Compute Cluster.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are `Dedicated` and `LowPriority`.
     */
    vmPriority?: pulumi.Input<string | undefined>;
    /**
     * The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    vmSize?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ComputeCluster resource.
 */
export interface ComputeClusterArgs {
    /**
     * The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * An `identity` block as defined below.
     */
    identity?: pulumi.Input<inputs.machinelearning.ComputeClusterIdentity | undefined>;
    /**
     * Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    localAuthEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    location?: pulumi.Input<string | undefined>;
    /**
     * The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    machineLearningWorkspaceId: pulumi.Input<string>;
    /**
     * The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Whether the compute cluster will have a public ip. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    nodePublicIpEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * A `scaleSettings` block as defined below.
     */
    scaleSettings: pulumi.Input<inputs.machinelearning.ComputeClusterScaleSettings>;
    /**
     * Credentials for an administrator user account that will be created on each compute node. A `ssh` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    ssh?: pulumi.Input<inputs.machinelearning.ComputeClusterSsh | undefined>;
    /**
     * A boolean value indicating whether enable the public SSH port. Defaults to `false`. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    sshPublicAccessEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    subnetResourceId?: pulumi.Input<string | undefined>;
    /**
     * A mapping of tags which should be assigned to the Machine Learning Compute Cluster.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are `Dedicated` and `LowPriority`.
     */
    vmPriority: pulumi.Input<string>;
    /**
     * The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
     */
    vmSize: pulumi.Input<string>;
}
//# sourceMappingURL=computeCluster.d.ts.map