Condividi tramite


CsmDeploymentStatus Class

public final class CsmDeploymentStatus
extends ProxyResource

Deployment status response payload.

Method Summary

Modifier and Type Method and Description
String deploymentId()

Get the deploymentId property: Deployment operation id.

List<ErrorEntity> errors()

Get the errors property: List of errors.

List<String> failedInstancesLogs()

Get the failedInstancesLogs property: List of URLs pointing to logs for instances which failed to provision.

static CsmDeploymentStatus fromJson(JsonReader jsonReader)

Reads an instance of CsmDeploymentStatus from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String kind()

Get the kind property: Kind of resource.

String name()

Get the name property: The name of the resource.

Integer numberOfInstancesFailed()

Get the numberOfInstancesFailed property: Number of site instances failed to provision.

Integer numberOfInstancesInProgress()

Get the numberOfInstancesInProgress property: Number of site instances currently being provisioned.

Integer numberOfInstancesSuccessful()

Get the numberOfInstancesSuccessful property: Number of site instances provisioned successfully.

DeploymentBuildStatus status()

Get the status property: Deployment build status.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

deploymentId

public String deploymentId()

Get the deploymentId property: Deployment operation id.

Returns:

the deploymentId value.

errors

public List<ErrorEntity> errors()

Get the errors property: List of errors.

Returns:

the errors value.

failedInstancesLogs

public List<String> failedInstancesLogs()

Get the failedInstancesLogs property: List of URLs pointing to logs for instances which failed to provision.

Returns:

the failedInstancesLogs value.

fromJson

public static CsmDeploymentStatus fromJson(JsonReader jsonReader)

Reads an instance of CsmDeploymentStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CsmDeploymentStatus 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.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

CsmDeploymentStatus.id()

Returns:

the id value.

kind

public String kind()

Get the kind property: Kind of resource.

Returns:

the kind value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

CsmDeploymentStatus.name()

Returns:

the name value.

numberOfInstancesFailed

public Integer numberOfInstancesFailed()

Get the numberOfInstancesFailed property: Number of site instances failed to provision.

Returns:

the numberOfInstancesFailed value.

numberOfInstancesInProgress

public Integer numberOfInstancesInProgress()

Get the numberOfInstancesInProgress property: Number of site instances currently being provisioned.

Returns:

the numberOfInstancesInProgress value.

numberOfInstancesSuccessful

public Integer numberOfInstancesSuccessful()

Get the numberOfInstancesSuccessful property: Number of site instances provisioned successfully.

Returns:

the numberOfInstancesSuccessful value.

status

public DeploymentBuildStatus status()

Get the status property: Deployment build status.

Returns:

the status value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CsmDeploymentStatus.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

CsmDeploymentStatus.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to