DevCenterEnvironmentType Class

  • java.lang.Object
    • com.azure.developer.devcenter.models.DevCenterEnvironmentType

Implements

public final class DevCenterEnvironmentType
implements JsonSerializable<DevCenterEnvironmentType>

Properties of an environment type.

Method Summary

Modifier and Type Method and Description
static DevCenterEnvironmentType fromJson(JsonReader jsonReader)

Reads an instance of DevCenterEnvironmentType from the JsonReader.

String getDeploymentTargetId()

Get the deploymentTargetId property: Id of a subscription or management group that the environment type will be mapped to.

String getName()

Get the name property: Name of the environment type.

EnvironmentTypeStatus getStatus()

Get the status property: Indicates whether this environment type is enabled for use in this project.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static DevCenterEnvironmentType fromJson(JsonReader jsonReader)

Reads an instance of DevCenterEnvironmentType from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DevCenterEnvironmentType if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getDeploymentTargetId

public String getDeploymentTargetId()

Get the deploymentTargetId property: Id of a subscription or management group that the environment type will be mapped to. The environment's resources will be deployed into this subscription or management group.

Returns:

the deploymentTargetId value.

getName

public String getName()

Get the name property: Name of the environment type.

Returns:

the name value.

getStatus

public EnvironmentTypeStatus getStatus()

Get the status property: Indicates whether this environment type is enabled for use in this project.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to