DeploymentResourceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.DeploymentResourceProperties

Implements

public final class DeploymentResourceProperties
implements JsonSerializable<DeploymentResourceProperties>

Deployment resource properties payload.

Constructor Summary

Constructor Description
DeploymentResourceProperties()

Creates an instance of DeploymentResourceProperties class.

Method Summary

Modifier and Type Method and Description
Boolean active()

Get the active property: Indicates whether the Deployment is active.

DeploymentSettings deploymentSettings()

Get the deploymentSettings property: Deployment settings of the Deployment.

static DeploymentResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of DeploymentResourceProperties from the JsonReader.

List<DeploymentInstance> instances()

Get the instances property: Collection of instances belong to the Deployment.

DeploymentResourceProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the Deployment.

UserSourceInfo source()

Get the source property: Uploaded source information of the deployment.

DeploymentResourceStatus status()

Get the status property: Status of the Deployment.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DeploymentResourceProperties withActive(Boolean active)

Set the active property: Indicates whether the Deployment is active.

DeploymentResourceProperties withDeploymentSettings(DeploymentSettings deploymentSettings)

Set the deploymentSettings property: Deployment settings of the Deployment.

DeploymentResourceProperties withSource(UserSourceInfo source)

Set the source property: Uploaded source information of the deployment.

Methods inherited from java.lang.Object

Constructor Details

DeploymentResourceProperties

public DeploymentResourceProperties()

Creates an instance of DeploymentResourceProperties class.

Method Details

active

public Boolean active()

Get the active property: Indicates whether the Deployment is active.

Returns:

the active value.

deploymentSettings

public DeploymentSettings deploymentSettings()

Get the deploymentSettings property: Deployment settings of the Deployment.

Returns:

the deploymentSettings value.

fromJson

public static DeploymentResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of DeploymentResourceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the DeploymentResourceProperties.

instances

public List instances()

Get the instances property: Collection of instances belong to the Deployment.

Returns:

the instances value.

provisioningState

public DeploymentResourceProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the Deployment.

Returns:

the provisioningState value.

source

public UserSourceInfo source()

Get the source property: Uploaded source information of the deployment.

Returns:

the source value.

status

public DeploymentResourceStatus status()

Get the status property: Status of the Deployment.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withActive

public DeploymentResourceProperties withActive(Boolean active)

Set the active property: Indicates whether the Deployment is active.

Parameters:

active - the active value to set.

Returns:

the DeploymentResourceProperties object itself.

withDeploymentSettings

public DeploymentResourceProperties withDeploymentSettings(DeploymentSettings deploymentSettings)

Set the deploymentSettings property: Deployment settings of the Deployment.

Parameters:

deploymentSettings - the deploymentSettings value to set.

Returns:

the DeploymentResourceProperties object itself.

withSource

public DeploymentResourceProperties withSource(UserSourceInfo source)

Set the source property: Uploaded source information of the deployment.

Parameters:

source - the source value to set.

Returns:

the DeploymentResourceProperties object itself.

Applies to