DeploymentResourceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. DeploymentResourceProperties
- com.
Implements
public final class DeploymentResourceProperties
implements JsonSerializable<DeploymentResourceProperties>
Deployment resource properties payload.
Constructor Summary
Constructor | Description |
---|---|
DeploymentResourceProperties() |
Creates an instance of Deployment |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
active()
Get the active property: Indicates whether the Deployment is active. |
Deployment |
deploymentSettings()
Get the deployment |
static
Deployment |
fromJson(JsonReader jsonReader)
Reads an instance of Deployment |
List<Deployment |
instances()
Get the instances property: Collection of instances belong to the Deployment. |
Deployment |
provisioningState()
Get the provisioning |
User |
source()
Get the source property: Uploaded source information of the deployment. |
Deployment |
status()
Get the status property: Status of the Deployment. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Deployment |
withActive(Boolean active)
Set the active property: Indicates whether the Deployment is active. |
Deployment |
withDeploymentSettings(DeploymentSettings deploymentSettings)
Set the deployment |
Deployment |
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:
deploymentSettings
public DeploymentSettings deploymentSettings()
Get the deploymentSettings property: Deployment settings of the Deployment.
Returns:
fromJson
public static DeploymentResourceProperties fromJson(JsonReader jsonReader)
Reads an instance of DeploymentResourceProperties from the JsonReader.
Parameters:
Returns:
Throws:
instances
public List
Get the instances property: Collection of instances belong to the Deployment.
Returns:
provisioningState
public DeploymentResourceProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the Deployment.
Returns:
source
public UserSourceInfo source()
Get the source property: Uploaded source information of the deployment.
Returns:
status
public DeploymentResourceStatus status()
Get the status property: Status of the Deployment.
Returns:
toJson
validate
public void validate()
Validates the instance.
withActive
public DeploymentResourceProperties withActive(Boolean active)
Set the active property: Indicates whether the Deployment is active.
Parameters:
Returns:
withDeploymentSettings
public DeploymentResourceProperties withDeploymentSettings(DeploymentSettings deploymentSettings)
Set the deploymentSettings property: Deployment settings of the Deployment.
Parameters:
Returns:
withSource
public DeploymentResourceProperties withSource(UserSourceInfo source)
Set the source property: Uploaded source information of the deployment.
Parameters:
Returns:
Applies to
Azure SDK for Java