DevCenterModelFactory.EnvironmentDefinition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of EnvironmentDefinition.
public static Azure.Developer.DevCenter.Models.EnvironmentDefinition EnvironmentDefinition (string id = default, string name = default, string catalogName = default, string description = default, System.Collections.Generic.IEnumerable<Azure.Developer.DevCenter.Models.EnvironmentDefinitionParameter> parameters = default, string parametersSchema = default, string templatePath = default);
static member EnvironmentDefinition : string * string * string * string * seq<Azure.Developer.DevCenter.Models.EnvironmentDefinitionParameter> * string * string -> Azure.Developer.DevCenter.Models.EnvironmentDefinition
Public Shared Function EnvironmentDefinition (Optional id As String = Nothing, Optional name As String = Nothing, Optional catalogName As String = Nothing, Optional description As String = Nothing, Optional parameters As IEnumerable(Of EnvironmentDefinitionParameter) = Nothing, Optional parametersSchema As String = Nothing, Optional templatePath As String = Nothing) As EnvironmentDefinition
Parameters
- id
- String
The ID of the environment definition.
- name
- String
Name of the environment definition.
- catalogName
- String
Name of the catalog.
- description
- String
A short description of the environment definition.
- parameters
- IEnumerable<EnvironmentDefinitionParameter>
Input parameters passed to an environment.
- parametersSchema
- String
JSON schema defining the parameters object passed to an environment.
- templatePath
- String
Path to the Environment Definition entrypoint file.
Returns
A new EnvironmentDefinition instance for mocking.
Applies to
Azure SDK for .NET