CsmDeploymentStatus Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. models. CsmDeploymentStatus
- com.
- com.
- com.
public final class CsmDeploymentStatus
extends ProxyOnlyResource
Deployment status response payload.
Constructor Summary
Constructor | Description |
---|---|
CsmDeploymentStatus() |
Creates an instance of Csm |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
deploymentId()
Get the deployment |
List<Error |
errors()
Get the errors property: List of errors. |
List<String> |
failedInstancesLogs()
Get the failed |
static
Csm |
fromJson(JsonReader jsonReader)
Reads an instance of Csm |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Integer |
numberOfInstancesFailed()
Get the number |
Integer |
numberOfInstancesInProgress()
Get the number |
Integer |
numberOfInstancesSuccessful()
Get the number |
Deployment |
status()
Get the status property: Deployment build status. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Csm |
withDeploymentId(String deploymentId)
Set the deployment |
Csm |
withErrors(List<ErrorEntity> errors)
Set the errors property: List of errors. |
Csm |
withFailedInstancesLogs(List<String> failedInstancesLogs)
Set the failed |
Csm |
withKind(String kind)
Set the kind property: Kind of resource. |
Csm |
withNumberOfInstancesFailed(Integer numberOfInstancesFailed)
Set the number |
Csm |
withNumberOfInstancesInProgress(Integer numberOfInstancesInProgress)
Set the number |
Csm |
withNumberOfInstancesSuccessful(Integer numberOfInstancesSuccessful)
Set the number |
Csm |
withStatus(DeploymentBuildStatus status)
Set the status property: Deployment build status. |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
CsmDeploymentStatus
public CsmDeploymentStatus()
Creates an instance of CsmDeploymentStatus class.
Method Details
deploymentId
public String deploymentId()
Get the deploymentId property: Deployment operation id.
Returns:
errors
public List
Get the errors property: List of errors.
Returns:
failedInstancesLogs
public List
Get the failedInstancesLogs property: List of URLs pointing to logs for instances which failed to provision.
Returns:
fromJson
public static CsmDeploymentStatus fromJson(JsonReader jsonReader)
Reads an instance of CsmDeploymentStatus from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
CsmDeploymentStatus.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
CsmDeploymentStatus.name()Returns:
numberOfInstancesFailed
public Integer numberOfInstancesFailed()
Get the numberOfInstancesFailed property: Number of site instances failed to provision.
Returns:
numberOfInstancesInProgress
public Integer numberOfInstancesInProgress()
Get the numberOfInstancesInProgress property: Number of site instances currently being provisioned.
Returns:
numberOfInstancesSuccessful
public Integer numberOfInstancesSuccessful()
Get the numberOfInstancesSuccessful property: Number of site instances provisioned successfully.
Returns:
status
public DeploymentBuildStatus status()
Get the status property: Deployment build status.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CsmDeploymentStatus.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
CsmDeploymentStatus.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
CsmDeploymentStatus.validate()withDeploymentId
public CsmDeploymentStatus withDeploymentId(String deploymentId)
Set the deploymentId property: Deployment operation id.
Parameters:
Returns:
withErrors
public CsmDeploymentStatus withErrors(List
Set the errors property: List of errors.
Parameters:
Returns:
withFailedInstancesLogs
public CsmDeploymentStatus withFailedInstancesLogs(List
Set the failedInstancesLogs property: List of URLs pointing to logs for instances which failed to provision.
Parameters:
Returns:
withKind
public CsmDeploymentStatus withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
CsmDeploymentStatus.withKind(String kind)Parameters:
withNumberOfInstancesFailed
public CsmDeploymentStatus withNumberOfInstancesFailed(Integer numberOfInstancesFailed)
Set the numberOfInstancesFailed property: Number of site instances failed to provision.
Parameters:
Returns:
withNumberOfInstancesInProgress
public CsmDeploymentStatus withNumberOfInstancesInProgress(Integer numberOfInstancesInProgress)
Set the numberOfInstancesInProgress property: Number of site instances currently being provisioned.
Parameters:
Returns:
withNumberOfInstancesSuccessful
public CsmDeploymentStatus withNumberOfInstancesSuccessful(Integer numberOfInstancesSuccessful)
Set the numberOfInstancesSuccessful property: Number of site instances provisioned successfully.
Parameters:
Returns:
withStatus
public CsmDeploymentStatus withStatus(DeploymentBuildStatus status)
Set the status property: Deployment build status.
Parameters:
Returns:
Applies to
Azure SDK for Java