Share via


Environment Class

Definition

Properties of an environment.

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

Constructors

Environment()

Creates an new Environment instance.

Properties

CatalogName

Name of the catalog.

Code

One of a server-defined set of error codes.

DefinitionName

Name of the environment definition.

Detail

An array of details about specific errors that led to this reported error.

ExpirationDate

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

Innererror

An object containing more specific information than the current object about the error.

Message

A human-readable representation of the error.

Name

Environment name.

OperationLocation
Parameter

Parameters object for the environment.

ProvisioningState

The provisioning state of the environment.

ResourceGroupId

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

Target

The target of the error.

Type

Environment type.

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.Api20240501Preview.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.

Explicit Interface Implementations

IHeaderSerializable.ReadHeaders(HttpResponseHeaders)

Applies to