Class: Azure::ServiceFabric::V7_0_0_42::Models::ApplicationResourceUpgradeProgressInfo
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V7_0_0_42::Models::ApplicationResourceUpgradeProgressInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb
Overview
This type describes an application resource upgrade.
Instance Attribute Summary collapse
-
#application_upgrade_status_details ⇒ String
the pending upgrade.
-
#failure_timestamp_utc ⇒ String
FailureAction was executed.
-
#name ⇒ String
Name of the Application resource.
-
#percent_completed ⇒ String
upgrade.
-
#rolling_upgrade_mode ⇒ RollingUpgradeMode
rolling upgrade.
-
#service_upgrade_progress ⇒ Array<ServiceUpgradeProgress>
progresses.
-
#start_timestamp_utc ⇒ String
The estimated UTC datetime when the upgrade started.
-
#target_application_type_version ⇒ String
upgrade.
-
#upgrade_duration ⇒ String
elapsed.
-
#upgrade_replica_set_check_timeout_in_seconds ⇒ Integer
upgrade domain and prevent loss of availability when there are unexpected issues.
-
#upgrade_state ⇒ ApplicationResourceUpgradeState
resource upgrade.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationResourceUpgradeProgressInfo class as Ruby Hash.
Instance Attribute Details
#application_upgrade_status_details ⇒ String
the pending upgrade.
55 56 57 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 55 def application_upgrade_status_details @application_upgrade_status_details end |
#failure_timestamp_utc ⇒ String
FailureAction was executed.
68 69 70 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 68 def @failure_timestamp_utc end |
#name ⇒ String
Returns Name of the Application resource.
16 17 18 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 16 def name @name end |
#percent_completed ⇒ String
upgrade.
34 35 36 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 34 def percent_completed @percent_completed end |
#rolling_upgrade_mode ⇒ RollingUpgradeMode
rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored. Possible values include: ‘Invalid’, ‘UnmonitoredAuto’, ‘UnmonitoredManual’, ‘Monitored’. Default value: ‘Monitored’ .
44 45 46 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 44 def rolling_upgrade_mode @rolling_upgrade_mode end |
#service_upgrade_progress ⇒ Array<ServiceUpgradeProgress>
progresses.
38 39 40 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 38 def service_upgrade_progress @service_upgrade_progress end |
#start_timestamp_utc ⇒ String
Returns The estimated UTC datetime when the upgrade started.
23 24 25 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 23 def @start_timestamp_utc end |
#target_application_type_version ⇒ String
upgrade.
20 21 22 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 20 def target_application_type_version @target_application_type_version end |
#upgrade_duration ⇒ String
elapsed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. Default value: ‘PT0H2M0S’ .
51 52 53 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 51 def upgrade_duration @upgrade_duration end |
#upgrade_replica_set_check_timeout_in_seconds ⇒ Integer
upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer). Default value: 42949672925 .
64 65 66 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 64 def upgrade_replica_set_check_timeout_in_seconds @upgrade_replica_set_check_timeout_in_seconds end |
#upgrade_state ⇒ ApplicationResourceUpgradeState
resource upgrade. Possible values include: ‘Invalid’, ‘ProvisioningTarget’, ‘RollingForward’, ‘UnprovisioningCurrent’, ‘CompletedRollforward’, ‘RollingBack’, ‘UnprovisioningTarget’, ‘CompletedRollback’, ‘Failed’
30 31 32 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 30 def upgrade_state @upgrade_state end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationResourceUpgradeProgressInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 75 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationResourceUpgradeProgressInfo', type: { name: 'Composite', class_name: 'ApplicationResourceUpgradeProgressInfo', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'Name', type: { name: 'String' } }, target_application_type_version: { client_side_validation: true, required: false, serialized_name: 'TargetApplicationTypeVersion', type: { name: 'String' } }, start_timestamp_utc: { client_side_validation: true, required: false, serialized_name: 'StartTimestampUtc', type: { name: 'String' } }, upgrade_state: { client_side_validation: true, required: false, serialized_name: 'UpgradeState', type: { name: 'String' } }, percent_completed: { client_side_validation: true, required: false, serialized_name: 'PercentCompleted', type: { name: 'String' } }, service_upgrade_progress: { client_side_validation: true, required: false, serialized_name: 'ServiceUpgradeProgress', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ServiceUpgradeProgressElementType', type: { name: 'Composite', class_name: 'ServiceUpgradeProgress' } } } }, rolling_upgrade_mode: { client_side_validation: true, required: false, serialized_name: 'RollingUpgradeMode', default_value: 'Monitored', type: { name: 'String' } }, upgrade_duration: { client_side_validation: true, required: false, serialized_name: 'UpgradeDuration', default_value: 'PT0H2M0S', type: { name: 'String' } }, application_upgrade_status_details: { client_side_validation: true, required: false, serialized_name: 'ApplicationUpgradeStatusDetails', type: { name: 'String' } }, upgrade_replica_set_check_timeout_in_seconds: { client_side_validation: true, required: false, serialized_name: 'UpgradeReplicaSetCheckTimeoutInSeconds', default_value: 42949672925, type: { name: 'Number' } }, failure_timestamp_utc: { client_side_validation: true, required: false, serialized_name: 'FailureTimestampUtc', type: { name: 'String' } } } } } end |