Sha256: 0b43a6925c06a28aec04da50421a26509b1c7dd84fe3d725a083f2c3ed360a86

Contents?: true

Size: 1.68 KB

Versions: 5

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::V6_3_0_9
  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

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.3.0.9/generated/azure_service_fabric/models/backup_suspension_info.rb
azure_service_fabric-0.18.0 lib/6.3.0.9/generated/azure_service_fabric/models/backup_suspension_info.rb
azure_service_fabric-0.17.2 lib/6.3.0.9/generated/azure_service_fabric/models/backup_suspension_info.rb
azure_service_fabric-0.17.1 lib/6.3.0.9/generated/azure_service_fabric/models/backup_suspension_info.rb
azure_service_fabric-0.17.0 lib/6.3.0.9/generated/azure_service_fabric/models/backup_suspension_info.rb