Freigeben über


Project Class

Definition

Represents a project resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.ProjectTypeConverter))]
public class Project : Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.IProject, Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.ProjectTypeConverter))>]
type Project = class
    interface IProject
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class Project
Implements IProject, IValidates
Inheritance
Project
Attributes
Implements

Constructors

Name Description
Project()

Creates an new Project instance.

Properties

Name Description
AzureAiServiceSettingAzureAiServicesMode

The property indicates whether Azure AI services is enabled.

CatalogSettingCatalogItemSyncType

Indicates catalog item types that can be synced.

CustomizationSettingIdentity

The identities that can to be used in customization scenarios; e.g., to clone a repository.

CustomizationSettingUserCustomizationsEnableStatus

Indicates whether user customizations are enabled.

Description

Description of the project.

DevBoxAutoDeleteSettingDeleteMode

Indicates the delete mode for Dev Boxes within this project.

DevBoxAutoDeleteSettingGracePeriod

ISO8601 duration required for the dev box to be marked for deletion prior to it being deleted. ISO8601 format PT[n]H[n]M[n]S.

DevBoxAutoDeleteSettingInactiveThreshold

ISO8601 duration required for the dev box to not be inactive prior to it being scheduled for deletion. ISO8601 format PT[n]H[n]M[n]S.

DevCenterId

Resource Id of an associated DevCenter

DevCenterUri

The URI of the Dev Center resource this project is associated with.

DisplayName

The display name of the project.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

IdentityPrincipalId

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityTenantId

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

IdentityUserAssignedIdentity

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

Location

The geo-location where the resource lives

MaxDevBoxesPerUser

When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced.

Name

The name of the resource

ProvisioningState

The provisioning state of the resource.

ServerlessGpuSessionSettingMaxConcurrentSessionsPerProject

When specified, limits the maximum number of concurrent sessions across all pools in the project.

ServerlessGpuSessionSettingServerlessGpuSessionsMode

The property indicates whether serverless GPU access is enabled on the project.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

WorkspaceStorageSettingWorkspaceStorageMode

Indicates whether workspace storage is enabled.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Project.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Project.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.IProject.

FromJsonString(String)

Creates a new instance of Project, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Project into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to