class Azure::Resources::Mgmt::V2019_03_01::Models::OnErrorDeployment
Deployment on error behavior.
Attributes
deployment_name[RW]
@return [String] The deployment to be used on error case.
type[RW]
@return [OnErrorDeploymentType] The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Possible values include: 'LastSuccessful', 'SpecificDeployment'
Public Class Methods
mapper()
click to toggle source
Mapper for OnErrorDeployment class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-03-01/generated/azure_mgmt_resources/models/on_error_deployment.rb, line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OnErrorDeployment', type: { name: 'Composite', class_name: 'OnErrorDeployment', model_properties: { type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'Enum', module: 'OnErrorDeploymentType' } }, deployment_name: { client_side_validation: true, required: false, serialized_name: 'deploymentName', type: { name: 'String' } } } } } end