ArmDevCenterModelFactory.EnvironmentDefinitionData Method

Definition

public static Azure.ResourceManager.DevCenter.EnvironmentDefinitionData EnvironmentDefinitionData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevCenter.Models.DevCenterEnvironmentDefinitionParameterInfo> parameters = default, string templatePath = default, Azure.ResourceManager.DevCenter.Models.DevCenterCatalogResourceValidationStatus? validationStatus = default);
static member EnvironmentDefinitionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<Azure.ResourceManager.DevCenter.Models.DevCenterEnvironmentDefinitionParameterInfo> * string * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterCatalogResourceValidationStatus> -> Azure.ResourceManager.DevCenter.EnvironmentDefinitionData
Public Shared Function EnvironmentDefinitionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional parameters As IEnumerable(Of DevCenterEnvironmentDefinitionParameterInfo) = Nothing, Optional templatePath As String = Nothing, Optional validationStatus As Nullable(Of DevCenterCatalogResourceValidationStatus) = Nothing) As EnvironmentDefinitionData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

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

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

description
String

A short description of the environment definition.

parameters
IEnumerable<DevCenterEnvironmentDefinitionParameterInfo>

Input parameters passed to an environment.

templatePath
String

Path to the Environment Definition entrypoint file.

validationStatus
Nullable<DevCenterCatalogResourceValidationStatus>

Validation status for the environment definition.

Returns

A new EnvironmentDefinitionData instance for mocking.

Applies to