class Azure::ServiceFabric::V7_0_0_42::Models::ServiceUpgradeProgress

Information about how many replicas are completed or pending for a specific service during upgrade.

Attributes

completed_replica_count[RW]

@return [String] The number of replicas that completes the upgrade in the service.

pending_replica_count[RW]

@return [String] The number of replicas that are waiting to be upgraded in the service.

service_name[RW]

@return [String] Name of the Service resource.

Private Class Methods

mapper() click to toggle source

Mapper for ServiceUpgradeProgress class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/7.0.0.42/generated/azure_service_fabric/models/service_upgrade_progress.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServiceUpgradeProgress',
    type: {
      name: 'Composite',
      class_name: 'ServiceUpgradeProgress',
      model_properties: {
        service_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceName',
          type: {
            name: 'String'
          }
        },
        completed_replica_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CompletedReplicaCount',
          type: {
            name: 'String'
          }
        },
        pending_replica_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PendingReplicaCount',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end