ArmDevCenterModelFactory.DevCenterProjectEnvironmentData Method

Definition

public static Azure.ResourceManager.DevCenter.DevCenterProjectEnvironmentData DevCenterProjectEnvironmentData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.Core.ResourceIdentifier deploymentTargetId = default, string displayName = default, Azure.ResourceManager.DevCenter.Models.EnvironmentTypeEnableStatus? status = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.DevCenter.Models.DevCenterUserRoleAssignments> userRoleAssignments = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.DevCenter.Models.DevCenterEnvironmentRole> roles = default, Azure.ResourceManager.DevCenter.Models.DevCenterProvisioningState? provisioningState = default, int? environmentCount = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member DevCenterProjectEnvironmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.DevCenter.Models.EnvironmentTypeEnableStatus> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.DevCenter.Models.DevCenterUserRoleAssignments> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.DevCenter.Models.DevCenterEnvironmentRole> * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterProvisioningState> * Nullable<int> * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.DevCenter.DevCenterProjectEnvironmentData
Public Shared Function DevCenterProjectEnvironmentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional deploymentTargetId As ResourceIdentifier = Nothing, Optional displayName As String = Nothing, Optional status As Nullable(Of EnvironmentTypeEnableStatus) = Nothing, Optional userRoleAssignments As IDictionary(Of String, DevCenterUserRoleAssignments) = Nothing, Optional roles As IDictionary(Of String, DevCenterEnvironmentRole) = Nothing, Optional provisioningState As Nullable(Of DevCenterProvisioningState) = Nothing, Optional environmentCount As Nullable(Of Integer) = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As DevCenterProjectEnvironmentData

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.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

deploymentTargetId
ResourceIdentifier

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

displayName
String

The display name of the project environment type.

status
Nullable<EnvironmentTypeEnableStatus>

Defines whether this Environment Type can be used in this Project.

userRoleAssignments
IDictionary<String,DevCenterUserRoleAssignments>

Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.

roles
IDictionary<String,DevCenterEnvironmentRole>

A map of roles to assign to the environment creator.

provisioningState
Nullable<DevCenterProvisioningState>

The provisioning state of the resource.

environmentCount
Nullable<Int32>

The number of environments of this type.

identity
ManagedServiceIdentity

Managed identity properties.

Returns

A new DevCenterProjectEnvironmentData instance for mocking.

Applies to