1. Packages
  2. Azure Classic
  3. API Docs
  4. aifoundry
  5. Project

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.aifoundry.Project

Explore with Pulumi AI

Manages an AI Foundry Project.

Example Usage

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",
    location: "westeurope",
});
const exampleKeyVault = new azure.keyvault.KeyVault("example", {
    name: "examplekv",
    location: example.location,
    resourceGroupName: example.name,
    tenantId: current.then(current => current.tenantId),
    skuName: "standard",
    purgeProtectionEnabled: true,
});
const test = new azure.keyvault.AccessPolicy("test", {
    keyVaultId: exampleKeyVault.id,
    tenantId: current.then(current => current.tenantId),
    objectId: current.then(current => current.objectId),
    keyPermissions: [
        "Create",
        "Get",
        "Delete",
        "Purge",
        "GetRotationPolicy",
    ],
});
const exampleAccount = new azure.storage.Account("example", {
    name: "examplesa",
    location: example.location,
    resourceGroupName: example.name,
    accountTier: "Standard",
    accountReplicationType: "LRS",
});
const exampleAIServices = new azure.cognitive.AIServices("example", {
    name: "exampleaiservices",
    location: example.location,
    resourceGroupName: example.name,
    skuName: "S0",
});
const exampleHub = new azure.aifoundry.Hub("example", {
    name: "exampleaihub",
    location: exampleAIServices.location,
    resourceGroupName: example.name,
    storageAccountId: exampleAccount.id,
    keyVaultId: exampleKeyVault.id,
    identity: {
        type: "SystemAssigned",
    },
});
const exampleProject = new azure.aifoundry.Project("example", {
    name: "example",
    location: exampleHub.location,
    aiServicesHubId: exampleHub.id,
});
Copy
import pulumi
import pulumi_azure as azure

current = azure.core.get_client_config()
example = azure.core.ResourceGroup("example",
    name="example",
    location="westeurope")
example_key_vault = azure.keyvault.KeyVault("example",
    name="examplekv",
    location=example.location,
    resource_group_name=example.name,
    tenant_id=current.tenant_id,
    sku_name="standard",
    purge_protection_enabled=True)
test = azure.keyvault.AccessPolicy("test",
    key_vault_id=example_key_vault.id,
    tenant_id=current.tenant_id,
    object_id=current.object_id,
    key_permissions=[
        "Create",
        "Get",
        "Delete",
        "Purge",
        "GetRotationPolicy",
    ])
example_account = azure.storage.Account("example",
    name="examplesa",
    location=example.location,
    resource_group_name=example.name,
    account_tier="Standard",
    account_replication_type="LRS")
example_ai_services = azure.cognitive.AIServices("example",
    name="exampleaiservices",
    location=example.location,
    resource_group_name=example.name,
    sku_name="S0")
example_hub = azure.aifoundry.Hub("example",
    name="exampleaihub",
    location=example_ai_services.location,
    resource_group_name=example.name,
    storage_account_id=example_account.id,
    key_vault_id=example_key_vault.id,
    identity={
        "type": "SystemAssigned",
    })
example_project = azure.aifoundry.Project("example",
    name="example",
    location=example_hub.location,
    ai_services_hub_id=example_hub.id)
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/aifoundry"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/cognitive"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/keyvault"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example"),
			Location: pulumi.String("westeurope"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "example", &keyvault.KeyVaultArgs{
			Name:                   pulumi.String("examplekv"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			TenantId:               pulumi.String(current.TenantId),
			SkuName:                pulumi.String("standard"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = keyvault.NewAccessPolicy(ctx, "test", &keyvault.AccessPolicyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			TenantId:   pulumi.String(current.TenantId),
			ObjectId:   pulumi.String(current.ObjectId),
			KeyPermissions: pulumi.StringArray{
				pulumi.String("Create"),
				pulumi.String("Get"),
				pulumi.String("Delete"),
				pulumi.String("Purge"),
				pulumi.String("GetRotationPolicy"),
			},
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("examplesa"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleAIServices, err := cognitive.NewAIServices(ctx, "example", &cognitive.AIServicesArgs{
			Name:              pulumi.String("exampleaiservices"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("S0"),
		})
		if err != nil {
			return err
		}
		exampleHub, err := aifoundry.NewHub(ctx, "example", &aifoundry.HubArgs{
			Name:              pulumi.String("exampleaihub"),
			Location:          exampleAIServices.Location,
			ResourceGroupName: example.Name,
			StorageAccountId:  exampleAccount.ID(),
			KeyVaultId:        exampleKeyVault.ID(),
			Identity: &aifoundry.HubIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		_, err = aifoundry.NewProject(ctx, "example", &aifoundry.ProjectArgs{
			Name:            pulumi.String("example"),
			Location:        exampleHub.Location,
			AiServicesHubId: exampleHub.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var current = Azure.Core.GetClientConfig.Invoke();

    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example",
        Location = "westeurope",
    });

    var exampleKeyVault = new Azure.KeyVault.KeyVault("example", new()
    {
        Name = "examplekv",
        Location = example.Location,
        ResourceGroupName = example.Name,
        TenantId = current.Apply(getClientConfigResult => getClientConfigResult.TenantId),
        SkuName = "standard",
        PurgeProtectionEnabled = true,
    });

    var test = new Azure.KeyVault.AccessPolicy("test", new()
    {
        KeyVaultId = exampleKeyVault.Id,
        TenantId = current.Apply(getClientConfigResult => getClientConfigResult.TenantId),
        ObjectId = current.Apply(getClientConfigResult => getClientConfigResult.ObjectId),
        KeyPermissions = new[]
        {
            "Create",
            "Get",
            "Delete",
            "Purge",
            "GetRotationPolicy",
        },
    });

    var exampleAccount = new Azure.Storage.Account("example", new()
    {
        Name = "examplesa",
        Location = example.Location,
        ResourceGroupName = example.Name,
        AccountTier = "Standard",
        AccountReplicationType = "LRS",
    });

    var exampleAIServices = new Azure.Cognitive.AIServices("example", new()
    {
        Name = "exampleaiservices",
        Location = example.Location,
        ResourceGroupName = example.Name,
        SkuName = "S0",
    });

    var exampleHub = new Azure.AIFoundry.Hub("example", new()
    {
        Name = "exampleaihub",
        Location = exampleAIServices.Location,
        ResourceGroupName = example.Name,
        StorageAccountId = exampleAccount.Id,
        KeyVaultId = exampleKeyVault.Id,
        Identity = new Azure.AIFoundry.Inputs.HubIdentityArgs
        {
            Type = "SystemAssigned",
        },
    });

    var exampleProject = new Azure.AIFoundry.Project("example", new()
    {
        Name = "example",
        Location = exampleHub.Location,
        AiServicesHubId = exampleHub.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.CoreFunctions;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.keyvault.KeyVault;
import com.pulumi.azure.keyvault.KeyVaultArgs;
import com.pulumi.azure.keyvault.AccessPolicy;
import com.pulumi.azure.keyvault.AccessPolicyArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.cognitive.AIServices;
import com.pulumi.azure.cognitive.AIServicesArgs;
import com.pulumi.azure.aifoundry.Hub;
import com.pulumi.azure.aifoundry.HubArgs;
import com.pulumi.azure.aifoundry.inputs.HubIdentityArgs;
import com.pulumi.azure.aifoundry.Project;
import com.pulumi.azure.aifoundry.ProjectArgs;
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 current = CoreFunctions.getClientConfig();

        var example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example")
            .location("westeurope")
            .build());

        var exampleKeyVault = new KeyVault("exampleKeyVault", KeyVaultArgs.builder()
            .name("examplekv")
            .location(example.location())
            .resourceGroupName(example.name())
            .tenantId(current.applyValue(getClientConfigResult -> getClientConfigResult.tenantId()))
            .skuName("standard")
            .purgeProtectionEnabled(true)
            .build());

        var test = new AccessPolicy("test", AccessPolicyArgs.builder()
            .keyVaultId(exampleKeyVault.id())
            .tenantId(current.applyValue(getClientConfigResult -> getClientConfigResult.tenantId()))
            .objectId(current.applyValue(getClientConfigResult -> getClientConfigResult.objectId()))
            .keyPermissions(            
                "Create",
                "Get",
                "Delete",
                "Purge",
                "GetRotationPolicy")
            .build());

        var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
            .name("examplesa")
            .location(example.location())
            .resourceGroupName(example.name())
            .accountTier("Standard")
            .accountReplicationType("LRS")
            .build());

        var exampleAIServices = new AIServices("exampleAIServices", AIServicesArgs.builder()
            .name("exampleaiservices")
            .location(example.location())
            .resourceGroupName(example.name())
            .skuName("S0")
            .build());

        var exampleHub = new Hub("exampleHub", HubArgs.builder()
            .name("exampleaihub")
            .location(exampleAIServices.location())
            .resourceGroupName(example.name())
            .storageAccountId(exampleAccount.id())
            .keyVaultId(exampleKeyVault.id())
            .identity(HubIdentityArgs.builder()
                .type("SystemAssigned")
                .build())
            .build());

        var exampleProject = new Project("exampleProject", ProjectArgs.builder()
            .name("example")
            .location(exampleHub.location())
            .aiServicesHubId(exampleHub.id())
            .build());

    }
}
Copy
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example
      location: westeurope
  exampleKeyVault:
    type: azure:keyvault:KeyVault
    name: example
    properties:
      name: examplekv
      location: ${example.location}
      resourceGroupName: ${example.name}
      tenantId: ${current.tenantId}
      skuName: standard
      purgeProtectionEnabled: true
  test:
    type: azure:keyvault:AccessPolicy
    properties:
      keyVaultId: ${exampleKeyVault.id}
      tenantId: ${current.tenantId}
      objectId: ${current.objectId}
      keyPermissions:
        - Create
        - Get
        - Delete
        - Purge
        - GetRotationPolicy
  exampleAccount:
    type: azure:storage:Account
    name: example
    properties:
      name: examplesa
      location: ${example.location}
      resourceGroupName: ${example.name}
      accountTier: Standard
      accountReplicationType: LRS
  exampleAIServices:
    type: azure:cognitive:AIServices
    name: example
    properties:
      name: exampleaiservices
      location: ${example.location}
      resourceGroupName: ${example.name}
      skuName: S0
  exampleHub:
    type: azure:aifoundry:Hub
    name: example
    properties:
      name: exampleaihub
      location: ${exampleAIServices.location}
      resourceGroupName: ${example.name}
      storageAccountId: ${exampleAccount.id}
      keyVaultId: ${exampleKeyVault.id}
      identity:
        type: SystemAssigned
  exampleProject:
    type: azure:aifoundry:Project
    name: example
    properties:
      name: example
      location: ${exampleHub.location}
      aiServicesHubId: ${exampleHub.id}
variables:
  current:
    fn::invoke:
      function: azure:core:getClientConfig
      arguments: {}
Copy

Create Project Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);
@overload
def Project(resource_name: str,
            args: ProjectArgs,
            opts: Optional[ResourceOptions] = None)

@overload
def Project(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            ai_services_hub_id: Optional[str] = None,
            description: Optional[str] = None,
            friendly_name: Optional[str] = None,
            high_business_impact_enabled: Optional[bool] = None,
            identity: Optional[ProjectIdentityArgs] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None)
func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)
public Project(string name, ProjectArgs args, CustomResourceOptions? opts = null)
public Project(String name, ProjectArgs args)
public Project(String name, ProjectArgs args, CustomResourceOptions options)
type: azure:aifoundry:Project
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ProjectArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ProjectArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ProjectArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var projectResource = new Azure.AIFoundry.Project("projectResource", new()
{
    AiServicesHubId = "string",
    Description = "string",
    FriendlyName = "string",
    HighBusinessImpactEnabled = false,
    Identity = new Azure.AIFoundry.Inputs.ProjectIdentityArgs
    {
        Type = "string",
        IdentityIds = new[]
        {
            "string",
        },
        PrincipalId = "string",
        TenantId = "string",
    },
    Location = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := aifoundry.NewProject(ctx, "projectResource", &aifoundry.ProjectArgs{
	AiServicesHubId:           pulumi.String("string"),
	Description:               pulumi.String("string"),
	FriendlyName:              pulumi.String("string"),
	HighBusinessImpactEnabled: pulumi.Bool(false),
	Identity: &aifoundry.ProjectIdentityArgs{
		Type: pulumi.String("string"),
		IdentityIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		PrincipalId: pulumi.String("string"),
		TenantId:    pulumi.String("string"),
	},
	Location: pulumi.String("string"),
	Name:     pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var projectResource = new Project("projectResource", ProjectArgs.builder()
    .aiServicesHubId("string")
    .description("string")
    .friendlyName("string")
    .highBusinessImpactEnabled(false)
    .identity(ProjectIdentityArgs.builder()
        .type("string")
        .identityIds("string")
        .principalId("string")
        .tenantId("string")
        .build())
    .location("string")
    .name("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
project_resource = azure.aifoundry.Project("projectResource",
    ai_services_hub_id="string",
    description="string",
    friendly_name="string",
    high_business_impact_enabled=False,
    identity={
        "type": "string",
        "identity_ids": ["string"],
        "principal_id": "string",
        "tenant_id": "string",
    },
    location="string",
    name="string",
    tags={
        "string": "string",
    })
Copy
const projectResource = new azure.aifoundry.Project("projectResource", {
    aiServicesHubId: "string",
    description: "string",
    friendlyName: "string",
    highBusinessImpactEnabled: false,
    identity: {
        type: "string",
        identityIds: ["string"],
        principalId: "string",
        tenantId: "string",
    },
    location: "string",
    name: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure:aifoundry:Project
properties:
    aiServicesHubId: string
    description: string
    friendlyName: string
    highBusinessImpactEnabled: false
    identity:
        identityIds:
            - string
        principalId: string
        tenantId: string
        type: string
    location: string
    name: string
    tags:
        string: string
Copy

Project Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Project resource accepts the following input properties:

AiServicesHubId
This property is required.
Changes to this property will trigger replacement.
string
The AI Foundry ID under which this Project should be created. Changing this forces a new AI Foundry Project to be created.
Description string
The description of this AI Foundry Project.
FriendlyName string
The display name of this AI Foundry Project.
HighBusinessImpactEnabled Changes to this property will trigger replacement. bool
Whether High Business Impact (HBI) should be enabled or not. Enabling this setting will reduce diagnostic data collected by the service. Changing this forces a new AI Foundry Project to be created. Defaults to false.
Identity ProjectIdentity
A identity block as defined below.
Location Changes to this property will trigger replacement. string
The Azure Region where the AI Foundry Project should exist. Changing this forces a new AI Foundry Project to be created.
Name Changes to this property will trigger replacement. string
The name which should be used for this AI Foundry Project. Changing this forces a new AI Foundry Project to be created.
Tags Dictionary<string, string>
A mapping of tags which should be assigned to the AI Foundry Project.
AiServicesHubId
This property is required.
Changes to this property will trigger replacement.
string
The AI Foundry ID under which this Project should be created. Changing this forces a new AI Foundry Project to be created.
Description string
The description of this AI Foundry Project.
FriendlyName string
The display name of this AI Foundry Project.
HighBusinessImpactEnabled Changes to this property will trigger replacement. bool
Whether High Business Impact (HBI) should be enabled or not. Enabling this setting will reduce diagnostic data collected by the service. Changing this forces a new AI Foundry Project to be created. Defaults to false.
Identity ProjectIdentityArgs
A identity block as defined below.
Location Changes to this property will trigger replacement. string
The Azure Region where the AI Foundry Project should exist. Changing this forces a new AI Foundry Project to be created.
Name Changes to this property will trigger replacement. string
The name which should be used for this AI Foundry Project. Changing this forces a new AI Foundry Project to be created.
Tags map[string]string
A mapping of tags which should be assigned to the AI Foundry Project.
aiServicesHubId
This property is required.
Changes to this property will trigger replacement.
String
The AI Foundry ID under which this Project should be created. Changing this forces a new AI Foundry Project to be created.
description String
The description of this AI Foundry Project.
friendlyName String
The display name of this AI Foundry Project.
highBusinessImpactEnabled Changes to this property will trigger replacement. Boolean
Whether High Business Impact (HBI) should be enabled or not. Enabling this setting will reduce diagnostic data collected by the service. Changing this forces a new AI Foundry Project to be created. Defaults to false.
identity ProjectIdentity
A identity block as defined below.
location Changes to this property will trigger replacement. String
The Azure Region where the AI Foundry Project should exist. Changing this forces a new AI Foundry Project to be created.
name Changes to this property will trigger replacement. String
The name which should be used for this AI Foundry Project. Changing this forces a new AI Foundry Project to be created.
tags Map<String,String>
A mapping of tags which should be assigned to the AI Foundry Project.
aiServicesHubId
This property is required.
Changes to this property will trigger replacement.
string
The AI Foundry ID under which this Project should be created. Changing this forces a new AI Foundry Project to be created.
description string
The description of this AI Foundry Project.
friendlyName string
The display name of this AI Foundry Project.
highBusinessImpactEnabled Changes to this property will trigger replacement. boolean
Whether High Business Impact (HBI) should be enabled or not. Enabling this setting will reduce diagnostic data collected by the service. Changing this forces a new AI Foundry Project to be created. Defaults to false.
identity ProjectIdentity
A identity block as defined below.
location Changes to this property will trigger replacement. string
The Azure Region where the AI Foundry Project should exist. Changing this forces a new AI Foundry Project to be created.
name Changes to this property will trigger replacement. string
The name which should be used for this AI Foundry Project. Changing this forces a new AI Foundry Project to be created.
tags {[key: string]: string}
A mapping of tags which should be assigned to the AI Foundry Project.
ai_services_hub_id
This property is required.
Changes to this property will trigger replacement.
str
The AI Foundry ID under which this Project should be created. Changing this forces a new AI Foundry Project to be created.
description str
The description of this AI Foundry Project.
friendly_name str
The display name of this AI Foundry Project.
high_business_impact_enabled Changes to this property will trigger replacement. bool
Whether High Business Impact (HBI) should be enabled or not. Enabling this setting will reduce diagnostic data collected by the service. Changing this forces a new AI Foundry Project to be created. Defaults to false.
identity ProjectIdentityArgs
A identity block as defined below.
location Changes to this property will trigger replacement. str
The Azure Region where the AI Foundry Project should exist. Changing this forces a new AI Foundry Project to be created.
name Changes to this property will trigger replacement. str
The name which should be used for this AI Foundry Project. Changing this forces a new AI Foundry Project to be created.
tags Mapping[str, str]
A mapping of tags which should be assigned to the AI Foundry Project.
aiServicesHubId
This property is required.
Changes to this property will trigger replacement.
String
The AI Foundry ID under which this Project should be created. Changing this forces a new AI Foundry Project to be created.
description String
The description of this AI Foundry Project.
friendlyName String
The display name of this AI Foundry Project.
highBusinessImpactEnabled Changes to this property will trigger replacement. Boolean
Whether High Business Impact (HBI) should be enabled or not. Enabling this setting will reduce diagnostic data collected by the service. Changing this forces a new AI Foundry Project to be created. Defaults to false.
identity Property Map
A identity block as defined below.
location Changes to this property will trigger replacement. String
The Azure Region where the AI Foundry Project should exist. Changing this forces a new AI Foundry Project to be created.
name Changes to this property will trigger replacement. String
The name which should be used for this AI Foundry Project. Changing this forces a new AI Foundry Project to be created.
tags Map<String>
A mapping of tags which should be assigned to the AI Foundry Project.

Outputs

All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
ProjectId string
The immutable project ID associated with this AI Foundry Project.
Id string
The provider-assigned unique ID for this managed resource.
ProjectId string
The immutable project ID associated with this AI Foundry Project.
id String
The provider-assigned unique ID for this managed resource.
projectId String
The immutable project ID associated with this AI Foundry Project.
id string
The provider-assigned unique ID for this managed resource.
projectId string
The immutable project ID associated with this AI Foundry Project.
id str
The provider-assigned unique ID for this managed resource.
project_id str
The immutable project ID associated with this AI Foundry Project.
id String
The provider-assigned unique ID for this managed resource.
projectId String
The immutable project ID associated with this AI Foundry Project.

Look up Existing Project Resource

Get an existing Project resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ProjectState, opts?: CustomResourceOptions): Project
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ai_services_hub_id: Optional[str] = None,
        description: Optional[str] = None,
        friendly_name: Optional[str] = None,
        high_business_impact_enabled: Optional[bool] = None,
        identity: Optional[ProjectIdentityArgs] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        project_id: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None) -> Project
func GetProject(ctx *Context, name string, id IDInput, state *ProjectState, opts ...ResourceOption) (*Project, error)
public static Project Get(string name, Input<string> id, ProjectState? state, CustomResourceOptions? opts = null)
public static Project get(String name, Output<String> id, ProjectState state, CustomResourceOptions options)
resources:  _:    type: azure:aifoundry:Project    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AiServicesHubId Changes to this property will trigger replacement. string
The AI Foundry ID under which this Project should be created. Changing this forces a new AI Foundry Project to be created.
Description string
The description of this AI Foundry Project.
FriendlyName string
The display name of this AI Foundry Project.
HighBusinessImpactEnabled Changes to this property will trigger replacement. bool
Whether High Business Impact (HBI) should be enabled or not. Enabling this setting will reduce diagnostic data collected by the service. Changing this forces a new AI Foundry Project to be created. Defaults to false.
Identity ProjectIdentity
A identity block as defined below.
Location Changes to this property will trigger replacement. string
The Azure Region where the AI Foundry Project should exist. Changing this forces a new AI Foundry Project to be created.
Name Changes to this property will trigger replacement. string
The name which should be used for this AI Foundry Project. Changing this forces a new AI Foundry Project to be created.
ProjectId string
The immutable project ID associated with this AI Foundry Project.
Tags Dictionary<string, string>
A mapping of tags which should be assigned to the AI Foundry Project.
AiServicesHubId Changes to this property will trigger replacement. string
The AI Foundry ID under which this Project should be created. Changing this forces a new AI Foundry Project to be created.
Description string
The description of this AI Foundry Project.
FriendlyName string
The display name of this AI Foundry Project.
HighBusinessImpactEnabled Changes to this property will trigger replacement. bool
Whether High Business Impact (HBI) should be enabled or not. Enabling this setting will reduce diagnostic data collected by the service. Changing this forces a new AI Foundry Project to be created. Defaults to false.
Identity ProjectIdentityArgs
A identity block as defined below.
Location Changes to this property will trigger replacement. string
The Azure Region where the AI Foundry Project should exist. Changing this forces a new AI Foundry Project to be created.
Name Changes to this property will trigger replacement. string
The name which should be used for this AI Foundry Project. Changing this forces a new AI Foundry Project to be created.
ProjectId string
The immutable project ID associated with this AI Foundry Project.
Tags map[string]string
A mapping of tags which should be assigned to the AI Foundry Project.
aiServicesHubId Changes to this property will trigger replacement. String
The AI Foundry ID under which this Project should be created. Changing this forces a new AI Foundry Project to be created.
description String
The description of this AI Foundry Project.
friendlyName String
The display name of this AI Foundry Project.
highBusinessImpactEnabled Changes to this property will trigger replacement. Boolean
Whether High Business Impact (HBI) should be enabled or not. Enabling this setting will reduce diagnostic data collected by the service. Changing this forces a new AI Foundry Project to be created. Defaults to false.
identity ProjectIdentity
A identity block as defined below.
location Changes to this property will trigger replacement. String
The Azure Region where the AI Foundry Project should exist. Changing this forces a new AI Foundry Project to be created.
name Changes to this property will trigger replacement. String
The name which should be used for this AI Foundry Project. Changing this forces a new AI Foundry Project to be created.
projectId String
The immutable project ID associated with this AI Foundry Project.
tags Map<String,String>
A mapping of tags which should be assigned to the AI Foundry Project.
aiServicesHubId Changes to this property will trigger replacement. string
The AI Foundry ID under which this Project should be created. Changing this forces a new AI Foundry Project to be created.
description string
The description of this AI Foundry Project.
friendlyName string
The display name of this AI Foundry Project.
highBusinessImpactEnabled Changes to this property will trigger replacement. boolean
Whether High Business Impact (HBI) should be enabled or not. Enabling this setting will reduce diagnostic data collected by the service. Changing this forces a new AI Foundry Project to be created. Defaults to false.
identity ProjectIdentity
A identity block as defined below.
location Changes to this property will trigger replacement. string
The Azure Region where the AI Foundry Project should exist. Changing this forces a new AI Foundry Project to be created.
name Changes to this property will trigger replacement. string
The name which should be used for this AI Foundry Project. Changing this forces a new AI Foundry Project to be created.
projectId string
The immutable project ID associated with this AI Foundry Project.
tags {[key: string]: string}
A mapping of tags which should be assigned to the AI Foundry Project.
ai_services_hub_id Changes to this property will trigger replacement. str
The AI Foundry ID under which this Project should be created. Changing this forces a new AI Foundry Project to be created.
description str
The description of this AI Foundry Project.
friendly_name str
The display name of this AI Foundry Project.
high_business_impact_enabled Changes to this property will trigger replacement. bool
Whether High Business Impact (HBI) should be enabled or not. Enabling this setting will reduce diagnostic data collected by the service. Changing this forces a new AI Foundry Project to be created. Defaults to false.
identity ProjectIdentityArgs
A identity block as defined below.
location Changes to this property will trigger replacement. str
The Azure Region where the AI Foundry Project should exist. Changing this forces a new AI Foundry Project to be created.
name Changes to this property will trigger replacement. str
The name which should be used for this AI Foundry Project. Changing this forces a new AI Foundry Project to be created.
project_id str
The immutable project ID associated with this AI Foundry Project.
tags Mapping[str, str]
A mapping of tags which should be assigned to the AI Foundry Project.
aiServicesHubId Changes to this property will trigger replacement. String
The AI Foundry ID under which this Project should be created. Changing this forces a new AI Foundry Project to be created.
description String
The description of this AI Foundry Project.
friendlyName String
The display name of this AI Foundry Project.
highBusinessImpactEnabled Changes to this property will trigger replacement. Boolean
Whether High Business Impact (HBI) should be enabled or not. Enabling this setting will reduce diagnostic data collected by the service. Changing this forces a new AI Foundry Project to be created. Defaults to false.
identity Property Map
A identity block as defined below.
location Changes to this property will trigger replacement. String
The Azure Region where the AI Foundry Project should exist. Changing this forces a new AI Foundry Project to be created.
name Changes to this property will trigger replacement. String
The name which should be used for this AI Foundry Project. Changing this forces a new AI Foundry Project to be created.
projectId String
The immutable project ID associated with this AI Foundry Project.
tags Map<String>
A mapping of tags which should be assigned to the AI Foundry Project.

Supporting Types

ProjectIdentity
, ProjectIdentityArgs

Type This property is required. string
Specifies the type of Managed Service Identity that should be configured on this AI Foundry Project. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).
IdentityIds List<string>

Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Foundry Project.

NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

PrincipalId string
The Principal ID associated with this Managed Service Identity.
TenantId string
The Tenant ID associated with this Managed Service Identity.
Type This property is required. string
Specifies the type of Managed Service Identity that should be configured on this AI Foundry Project. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).
IdentityIds []string

Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Foundry Project.

NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

PrincipalId string
The Principal ID associated with this Managed Service Identity.
TenantId string
The Tenant ID associated with this Managed Service Identity.
type This property is required. String
Specifies the type of Managed Service Identity that should be configured on this AI Foundry Project. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).
identityIds List<String>

Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Foundry Project.

NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

principalId String
The Principal ID associated with this Managed Service Identity.
tenantId String
The Tenant ID associated with this Managed Service Identity.
type This property is required. string
Specifies the type of Managed Service Identity that should be configured on this AI Foundry Project. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).
identityIds string[]

Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Foundry Project.

NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

principalId string
The Principal ID associated with this Managed Service Identity.
tenantId string
The Tenant ID associated with this Managed Service Identity.
type This property is required. str
Specifies the type of Managed Service Identity that should be configured on this AI Foundry Project. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).
identity_ids Sequence[str]

Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Foundry Project.

NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

principal_id str
The Principal ID associated with this Managed Service Identity.
tenant_id str
The Tenant ID associated with this Managed Service Identity.
type This property is required. String
Specifies the type of Managed Service Identity that should be configured on this AI Foundry Project. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).
identityIds List<String>

Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Foundry Project.

NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

principalId String
The Principal ID associated with this Managed Service Identity.
tenantId String
The Tenant ID associated with this Managed Service Identity.

Import

AI Foundry Projects can be imported using the resource id, e.g.

$ pulumi import azure:aifoundry/project:Project example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/project1
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.