ProjectEnvironmentType Class

Definition

Represents an environment type.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.ProjectEnvironmentTypeTypeConverter))]
public class ProjectEnvironmentType : Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.IProjectEnvironmentType, Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.ProjectEnvironmentTypeTypeConverter))>]
type ProjectEnvironmentType = class
    interface IProjectEnvironmentType
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class ProjectEnvironmentType
Implements IProjectEnvironmentType, IValidates
Inheritance
ProjectEnvironmentType
Attributes
Implements

Constructors

ProjectEnvironmentType()

Creates an new ProjectEnvironmentType instance.

Properties

CreatorRoleAssignmentRole

A map of roles to assign to the environment creator.

DeploymentTargetId

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

DisplayName

The display name of the project environment type.

EnvironmentCount

The number of environments of this type.

Id

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

IdentityPrincipalId

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityTenantId

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

IdentityUserAssignedIdentity

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

Location

The geo-location for the environment type

Name

The name of the resource

ProvisioningState

The provisioning state of the resource.

Status

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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

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

UserRoleAssignment

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ProjectEnvironmentType.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ProjectEnvironmentType.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.IProjectEnvironmentType.

FromJsonString(String)

Creates a new instance of ProjectEnvironmentType, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ProjectEnvironmentType into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to