OnErrorDeploymentExtended Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. OnErrorDeploymentExtended
- com.
Implements
public final class OnErrorDeploymentExtended
implements JsonSerializable<OnErrorDeploymentExtended>
Deployment on error behavior with additional details.
Constructor Summary
Constructor | Description |
---|---|
OnErrorDeploymentExtended() |
Creates an instance of On |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
deploymentName()
Get the deployment |
static
On |
fromJson(JsonReader jsonReader)
Reads an instance of On |
String |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
On |
type()
Get the type property: The deployment on error behavior type. |
void |
validate()
Validates the instance. |
On |
withDeploymentName(String deploymentName)
Set the deployment |
On |
withType(OnErrorDeploymentType type)
Set the type property: The deployment on error behavior type. |
Methods inherited from java.lang.Object
Constructor Details
OnErrorDeploymentExtended
public OnErrorDeploymentExtended()
Creates an instance of OnErrorDeploymentExtended class.
Method Details
deploymentName
public String deploymentName()
Get the deploymentName property: The deployment to be used on error case.
Returns:
fromJson
public static OnErrorDeploymentExtended fromJson(JsonReader jsonReader)
Reads an instance of OnErrorDeploymentExtended from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public String provisioningState()
Get the provisioningState property: The state of the provisioning for the on error deployment.
Returns:
toJson
type
public OnErrorDeploymentType type()
Get the type property: The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
Returns:
validate
public void validate()
Validates the instance.
withDeploymentName
public OnErrorDeploymentExtended withDeploymentName(String deploymentName)
Set the deploymentName property: The deployment to be used on error case.
Parameters:
Returns:
withType
public OnErrorDeploymentExtended withType(OnErrorDeploymentType type)
Set the type property: The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
Parameters:
Returns:
Applies to
Azure SDK for Java