DevCenterEnvironment Class
- java.
lang. Object - com.
azure. developer. devcenter. models. DevCenterEnvironment
- com.
Implements
public final class DevCenterEnvironment
implements JsonSerializable<DevCenterEnvironment>
Properties of an environment.
Constructor Summary
| Constructor | Description |
|---|---|
| DevCenterEnvironment(String environmentName, String environmentTypeName, String catalogName, String environmentDefinitionName) |
Creates an instance of Dev |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Dev |
fromJson(JsonReader jsonReader)
Reads an instance of Dev |
| String |
getCatalogName()
Get the catalog |
| String |
getEnvironmentDefinitionName()
Get the environment |
| String |
getEnvironmentTypeName()
Get the environment |
|
Response |
getError()
Get the error property: Provisioning error details. |
| String |
getName()
Get the name property: Environment name. |
| Map<String,Object> |
getParameters()
Get the parameters property: Parameters object for the environment. |
|
Environment |
getProvisioningState()
Get the provisioning |
| String |
getResourceGroupId()
Get the resource |
| String |
getUserId()
Get the user |
|
Dev |
setParameters(Map<String,Object> parameters)
Set the parameters property: Parameters object for the environment. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
DevCenterEnvironment
public DevCenterEnvironment(String environmentName, String environmentTypeName, String catalogName, String environmentDefinitionName)
Creates an instance of DevCenterEnvironment class.
Parameters:
Method Details
fromJson
public static DevCenterEnvironment fromJson(JsonReader jsonReader)
Reads an instance of DevCenterEnvironment from the JsonReader.
Parameters:
Returns:
Throws:
getCatalogName
public String getCatalogName()
Get the catalogName property: Name of the catalog.
Returns:
getEnvironmentDefinitionName
public String getEnvironmentDefinitionName()
Get the environmentDefinitionName property: Name of the environment definition.
Returns:
getEnvironmentTypeName
public String getEnvironmentTypeName()
Get the environmentTypeName property: Environment type.
Returns:
getError
public ResponseError getError()
Get the error property: Provisioning error details. Populated only for error states.
Returns:
getName
public String getName()
Get the name property: Environment name.
Returns:
getParameters
public Map<String,Object> getParameters()
Get the parameters property: Parameters object for the environment.
Returns:
getProvisioningState
public EnvironmentProvisioningState getProvisioningState()
Get the provisioningState property: The provisioning state of the environment.
Returns:
getResourceGroupId
public String getResourceGroupId()
Get the resourceGroupId property: The identifier of the resource group containing the environment's resources.
Returns:
getUserId
public String getUserId()
Get the userId property: The AAD object id of the owner of this Environment.
Returns:
setParameters
public DevCenterEnvironment setParameters(Map<String,Object> parameters)
Set the parameters property: Parameters object for the environment.
Parameters:
Returns: