Sha256: 5738c15176b9e299e3c59f126c5fc6090bdd4364bacaea74d8c8cf3b5134ac94

Contents?: true

Size: 1.78 KB

Versions: 5

Compression:

Stored size: 1.78 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V6_2_0_9
  module Models
    #
    # Information about a partition data loss user-induced operation.
    #
    class PartitionDataLossProgress

      include MsRestAzure

      # @return [OperationState] The state of the operation. Possible values
      # include: 'Invalid', 'Running', 'RollingBack', 'Completed', 'Faulted',
      # 'Cancelled', 'ForceCancelled'
      attr_accessor :state

      # @return [InvokeDataLossResult] Represents information about an
      # operation in a terminal state (Completed or Faulted).
      attr_accessor :invoke_data_loss_result


      #
      # Mapper for PartitionDataLossProgress class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PartitionDataLossProgress',
          type: {
            name: 'Composite',
            class_name: 'PartitionDataLossProgress',
            model_properties: {
              state: {
                client_side_validation: true,
                required: false,
                serialized_name: 'State',
                type: {
                  name: 'String'
                }
              },
              invoke_data_loss_result: {
                client_side_validation: true,
                required: false,
                serialized_name: 'InvokeDataLossResult',
                type: {
                  name: 'Composite',
                  class_name: 'InvokeDataLossResult'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.2.0.9/generated/azure_service_fabric/models/partition_data_loss_progress.rb
azure_service_fabric-0.18.0 lib/6.2.0.9/generated/azure_service_fabric/models/partition_data_loss_progress.rb
azure_service_fabric-0.17.2 lib/6.2.0.9/generated/azure_service_fabric/models/partition_data_loss_progress.rb
azure_service_fabric-0.17.1 lib/6.2.0.9/generated/azure_service_fabric/models/partition_data_loss_progress.rb
azure_service_fabric-0.17.0 lib/6.2.0.9/generated/azure_service_fabric/models/partition_data_loss_progress.rb