你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DevCenterModelFactory.DevCenterProject Method

Definition

Initializes a new instance of DevCenterProject.

public static Azure.Developer.DevCenter.Models.DevCenterProject DevCenterProject(string name = default, string description = default, int? maxDevBoxesPerUser = default);
static member DevCenterProject : string * string * Nullable<int> -> Azure.Developer.DevCenter.Models.DevCenterProject
Public Shared Function DevCenterProject (Optional name As String = Nothing, Optional description As String = Nothing, Optional maxDevBoxesPerUser As Nullable(Of Integer) = Nothing) As DevCenterProject

Parameters

name
String

Name of the project.

description
String

Description of the project.

maxDevBoxesPerUser
Nullable<Int32>

When specified, indicates the maximum number of Dev Boxes a single user can create across all pools in the project.

Returns

A new DevCenterProject instance for mocking.

Applies to