Class: Azure::Compute::Mgmt::V2017_03_30::Models::MaintenanceRedeployStatus
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2017_03_30::Models::MaintenanceRedeployStatus
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb
Overview
Maintenance Operation Status.
Instance Attribute Summary collapse
-
#is_customer_initiated_maintenance_allowed ⇒ Boolean
True, if customer is allowed to perform Maintenance.
-
#last_operation_message ⇒ String
Message returned for the last Maintenance Operation.
-
#last_operation_result_code ⇒ MaintenanceOperationResultCodeTypes
Operation Result Code.
-
#maintenance_window_end_time ⇒ DateTime
End Time for the Maintenance Window.
-
#maintenance_window_start_time ⇒ DateTime
Start Time for the Maintenance Window.
-
#pre_maintenance_window_end_time ⇒ DateTime
End Time for the Pre Maintenance Window.
-
#pre_maintenance_window_start_time ⇒ DateTime
Start Time for the Pre Maintenance Window.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MaintenanceRedeployStatus class as Ruby Hash.
Instance Attribute Details
#is_customer_initiated_maintenance_allowed ⇒ Boolean
Returns True, if customer is allowed to perform Maintenance.
16 17 18 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb', line 16 def is_customer_initiated_maintenance_allowed @is_customer_initiated_maintenance_allowed end |
#last_operation_message ⇒ String
Returns Message returned for the last Maintenance Operation.
36 37 38 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb', line 36 def @last_operation_message end |
#last_operation_result_code ⇒ MaintenanceOperationResultCodeTypes
Operation Result Code. Possible values include: 'None', 'RetryLater', 'MaintenanceAborted', 'MaintenanceCompleted'
33 34 35 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb', line 33 def last_operation_result_code @last_operation_result_code end |
#maintenance_window_end_time ⇒ DateTime
Returns End Time for the Maintenance Window.
28 29 30 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb', line 28 def maintenance_window_end_time @maintenance_window_end_time end |
#maintenance_window_start_time ⇒ DateTime
Returns Start Time for the Maintenance Window.
25 26 27 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb', line 25 def maintenance_window_start_time @maintenance_window_start_time end |
#pre_maintenance_window_end_time ⇒ DateTime
Returns End Time for the Pre Maintenance Window.
22 23 24 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb', line 22 def pre_maintenance_window_end_time @pre_maintenance_window_end_time end |
#pre_maintenance_window_start_time ⇒ DateTime
Returns Start Time for the Pre Maintenance Window.
19 20 21 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb', line 19 def pre_maintenance_window_start_time @pre_maintenance_window_start_time end |
Class Method Details
.mapper ⇒ Object
Mapper for MaintenanceRedeployStatus class as Ruby Hash. This will be used for serialization/deserialization.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb', line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MaintenanceRedeployStatus', type: { name: 'Composite', class_name: 'MaintenanceRedeployStatus', model_properties: { is_customer_initiated_maintenance_allowed: { client_side_validation: true, required: false, serialized_name: 'isCustomerInitiatedMaintenanceAllowed', type: { name: 'Boolean' } }, pre_maintenance_window_start_time: { client_side_validation: true, required: false, serialized_name: 'preMaintenanceWindowStartTime', type: { name: 'DateTime' } }, pre_maintenance_window_end_time: { client_side_validation: true, required: false, serialized_name: 'preMaintenanceWindowEndTime', type: { name: 'DateTime' } }, maintenance_window_start_time: { client_side_validation: true, required: false, serialized_name: 'maintenanceWindowStartTime', type: { name: 'DateTime' } }, maintenance_window_end_time: { client_side_validation: true, required: false, serialized_name: 'maintenanceWindowEndTime', type: { name: 'DateTime' } }, last_operation_result_code: { client_side_validation: true, required: false, serialized_name: 'lastOperationResultCode', type: { name: 'Enum', module: 'MaintenanceOperationResultCodeTypes' } }, last_operation_message: { client_side_validation: true, required: false, serialized_name: 'lastOperationMessage', type: { name: 'String' } } } } } end |