Class CsmDeploymentStatus
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.CsmDeploymentStatus
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Deployment status response payload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the deploymentId property: Deployment operation id.errors()
Get the errors property: List of errors.Get the failedInstancesLogs property: List of URLs pointing to logs for instances which failed to provision.static CsmDeploymentStatus
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of CsmDeploymentStatus from the JsonReader.id()
Get the id property: Fully qualified resource Id for the resource.name()
Get the name property: The name of the resource.Get the numberOfInstancesFailed property: Number of site instances failed to provision.Get the numberOfInstancesInProgress property: Number of site instances currently being provisioned.Get the numberOfInstancesSuccessful property: Number of site instances provisioned successfully.status()
Get the status property: Deployment build status.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: The type of the resource.void
validate()
Validates the instance.withDeploymentId
(String deploymentId) Set the deploymentId property: Deployment operation id.withErrors
(List<ErrorEntity> errors) Set the errors property: List of errors.withFailedInstancesLogs
(List<String> failedInstancesLogs) Set the failedInstancesLogs property: List of URLs pointing to logs for instances which failed to provision.Set the kind property: Kind of resource.withNumberOfInstancesFailed
(Integer numberOfInstancesFailed) Set the numberOfInstancesFailed property: Number of site instances failed to provision.withNumberOfInstancesInProgress
(Integer numberOfInstancesInProgress) Set the numberOfInstancesInProgress property: Number of site instances currently being provisioned.withNumberOfInstancesSuccessful
(Integer numberOfInstancesSuccessful) Set the numberOfInstancesSuccessful property: Number of site instances provisioned successfully.withStatus
(DeploymentBuildStatus status) Set the status property: Deployment build status.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CsmDeploymentStatus
public CsmDeploymentStatus()Creates an instance of CsmDeploymentStatus class.
-
-
Method Details
-
type
Get the type property: The type of the resource.- Overrides:
type
in classProxyOnlyResource
- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classProxyOnlyResource
- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classProxyOnlyResource
- Returns:
- the id value.
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
deploymentId
Get the deploymentId property: Deployment operation id.- Returns:
- the deploymentId value.
-
withDeploymentId
Set the deploymentId property: Deployment operation id.- Parameters:
deploymentId
- the deploymentId value to set.- Returns:
- the CsmDeploymentStatus object itself.
-
status
Get the status property: Deployment build status.- Returns:
- the status value.
-
withStatus
Set the status property: Deployment build status.- Parameters:
status
- the status value to set.- Returns:
- the CsmDeploymentStatus object itself.
-
numberOfInstancesInProgress
Get the numberOfInstancesInProgress property: Number of site instances currently being provisioned.- Returns:
- the numberOfInstancesInProgress value.
-
withNumberOfInstancesInProgress
Set the numberOfInstancesInProgress property: Number of site instances currently being provisioned.- Parameters:
numberOfInstancesInProgress
- the numberOfInstancesInProgress value to set.- Returns:
- the CsmDeploymentStatus object itself.
-
numberOfInstancesSuccessful
Get the numberOfInstancesSuccessful property: Number of site instances provisioned successfully.- Returns:
- the numberOfInstancesSuccessful value.
-
withNumberOfInstancesSuccessful
Set the numberOfInstancesSuccessful property: Number of site instances provisioned successfully.- Parameters:
numberOfInstancesSuccessful
- the numberOfInstancesSuccessful value to set.- Returns:
- the CsmDeploymentStatus object itself.
-
numberOfInstancesFailed
Get the numberOfInstancesFailed property: Number of site instances failed to provision.- Returns:
- the numberOfInstancesFailed value.
-
withNumberOfInstancesFailed
Set the numberOfInstancesFailed property: Number of site instances failed to provision.- Parameters:
numberOfInstancesFailed
- the numberOfInstancesFailed value to set.- Returns:
- the CsmDeploymentStatus object itself.
-
failedInstancesLogs
Get the failedInstancesLogs property: List of URLs pointing to logs for instances which failed to provision.- Returns:
- the failedInstancesLogs value.
-
withFailedInstancesLogs
Set the failedInstancesLogs property: List of URLs pointing to logs for instances which failed to provision.- Parameters:
failedInstancesLogs
- the failedInstancesLogs value to set.- Returns:
- the CsmDeploymentStatus object itself.
-
errors
Get the errors property: List of errors.- Returns:
- the errors value.
-
withErrors
Set the errors property: List of errors.- Parameters:
errors
- the errors value to set.- Returns:
- the CsmDeploymentStatus object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classProxyOnlyResource
- Throws:
IOException
-
fromJson
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:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the CsmDeploymentStatus.
-