Sha256: 70c7014ae532ca18c7079cd2aaefe4ae9b72418b00482fb171ddec93e0344b59

Contents?: true

Size: 1.68 KB

Versions: 2

Compression:

Stored size: 1.68 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::V7_0_0_42
  module Models
    #
    # Describes the backup suspension details.
    #
    class BackupSuspensionInfo

      include MsRestAzure

      # @return [Boolean] Indicates whether periodic backup is suspended at
      # this level or not.
      attr_accessor :is_suspended

      # @return [BackupSuspensionScope] Specifies the scope at which the backup
      # suspension was applied. Possible values include: 'Invalid',
      # 'Partition', 'Service', 'Application'
      attr_accessor :suspension_inherited_from


      #
      # Mapper for BackupSuspensionInfo class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'BackupSuspensionInfo',
          type: {
            name: 'Composite',
            class_name: 'BackupSuspensionInfo',
            model_properties: {
              is_suspended: {
                client_side_validation: true,
                required: false,
                serialized_name: 'IsSuspended',
                type: {
                  name: 'Boolean'
                }
              },
              suspension_inherited_from: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SuspensionInheritedFrom',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/backup_suspension_info.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/backup_suspension_info.rb