Compartilhar via


DevCenterModelFactory.DevCenterEnvironmentType Method

Definition

Initializes a new instance of DevCenterEnvironmentType.

public static Azure.Developer.DevCenter.Models.DevCenterEnvironmentType DevCenterEnvironmentType (string name = default, Azure.Core.ResourceIdentifier deploymentTargetId = default, Azure.Developer.DevCenter.Models.EnvironmentTypeStatus status = default);
static member DevCenterEnvironmentType : string * Azure.Core.ResourceIdentifier * Azure.Developer.DevCenter.Models.EnvironmentTypeStatus -> Azure.Developer.DevCenter.Models.DevCenterEnvironmentType
Public Shared Function DevCenterEnvironmentType (Optional name As String = Nothing, Optional deploymentTargetId As ResourceIdentifier = Nothing, Optional status As EnvironmentTypeStatus = Nothing) As DevCenterEnvironmentType

Parameters

name
String

Name of the environment type.

deploymentTargetId
ResourceIdentifier

Id of a subscription or management group that the environment type will be mapped to. The environment's resources will be deployed into this subscription or management group.

status
EnvironmentTypeStatus

Indicates whether this environment type is enabled for use in this project.

Returns

A new DevCenterEnvironmentType instance for mocking.

Applies to