Class: Azure::Resources::Mgmt::V2019_07_01::Models::OnErrorDeployment
- Inherits:
-
Object
- Object
- Azure::Resources::Mgmt::V2019_07_01::Models::OnErrorDeployment
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb
Overview
Deployment on error behavior.
Instance Attribute Summary collapse
-
#deployment_name ⇒ String
The deployment to be used on error case.
-
#type ⇒ OnErrorDeploymentType
Possible values are LastSuccessful and SpecificDeployment.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OnErrorDeployment class as Ruby Hash.
Instance Attribute Details
#deployment_name ⇒ String
Returns The deployment to be used on error case.
21 22 23 |
# File 'lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb', line 21 def deployment_name @deployment_name end |
#type ⇒ OnErrorDeploymentType
Possible values are LastSuccessful and SpecificDeployment. Possible values include: ‘LastSuccessful’, ‘SpecificDeployment’
18 19 20 |
# File 'lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb', line 18 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for OnErrorDeployment class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb', line 28 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 |