Share via


Environment Class

Definition

Properties of an environment.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.EnvironmentTypeConverter))]
public class Environment : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.IEnvironment, Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Runtime.IHeaderSerializable, Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.EnvironmentTypeConverter))>]
type Environment = class
    interface IEnvironment
    interface IJsonSerializable
    interface IEnvironmentUpdateProperties
    interface IEnvironmentPatchProperties
    interface IValidates
    interface IHeaderSerializable
Public Class Environment
Implements IEnvironment, IHeaderSerializable, IValidates
Inheritance
Environment
Attributes
Implements

Constructors

Environment()

Creates an new Environment instance.

Properties

CatalogName

The name of the catalog. Cannot be updated after creation.

Code

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

DefinitionName

The name of the environment definition. Cannot be updated after creation.

Detail

A list of additional details about the error.

ExpirationDate

The time the expiration date will be triggered (UTC), after which the environment and associated resources will be deleted.

Message

A message describing the error, intended to be suitable for display in a user interface.

Name

Environment name.

OperationLocation
Parameter

Parameters object for the environment. Can only be updated via create or replace.

ProvisioningState

The provisioning state of the environment.

ResourceGroupId

The identifier of the resource group containing the environment's resources.

Target

The target of the particular error. For example, the name of the property in error.

Type

The name of the environment type. Cannot be updated after creation.

Uri

The unique URI of the environment

User

The AAD object id of the owner of this Environment.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Environment.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Environment.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.IEnvironment.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Environment into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Explicit Interface Implementations

IHeaderSerializable.ReadHeaders(HttpResponseHeaders)

Applies to