DevCenterModelFactory.DevCenterEnvironment 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 DevCenterEnvironment.
public static Azure.Developer.DevCenter.Models.DevCenterEnvironment DevCenterEnvironment (System.Collections.Generic.IDictionary<string,BinaryData> parameters = default, string name = default, string environmentTypeName = default, Guid? userId = default, Azure.Developer.DevCenter.Models.EnvironmentProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier resourceGroupId = default, string catalogName = default, string environmentDefinitionName = default, Azure.ResponseError error = default);
static member DevCenterEnvironment : System.Collections.Generic.IDictionary<string, BinaryData> * string * string * Nullable<Guid> * Nullable<Azure.Developer.DevCenter.Models.EnvironmentProvisioningState> * Azure.Core.ResourceIdentifier * string * string * Azure.ResponseError -> Azure.Developer.DevCenter.Models.DevCenterEnvironment
Public Shared Function DevCenterEnvironment (Optional parameters As IDictionary(Of String, BinaryData) = Nothing, Optional name As String = Nothing, Optional environmentTypeName As String = Nothing, Optional userId As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of EnvironmentProvisioningState) = Nothing, Optional resourceGroupId As ResourceIdentifier = Nothing, Optional catalogName As String = Nothing, Optional environmentDefinitionName As String = Nothing, Optional error As ResponseError = Nothing) As DevCenterEnvironment
Parameters
- parameters
- IDictionary<String,BinaryData>
Parameters object for the environment.
- name
- String
Environment name.
- environmentTypeName
- String
Environment type.
- provisioningState
- Nullable<EnvironmentProvisioningState>
The provisioning state of the environment.
- resourceGroupId
- ResourceIdentifier
The identifier of the resource group containing the environment's resources.
- catalogName
- String
Name of the catalog.
- environmentDefinitionName
- String
Name of the environment definition.
- error
- ResponseError
Provisioning error details. Populated only for error states.
Returns
A new DevCenterEnvironment instance for mocking.
Applies to
Azure SDK for .NET