Class: Azure::ServiceFabric::V6_4_0_36::Models::BackupConfigurationInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb

Overview

Describes the backup configuration information.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBackupConfigurationInfo

Returns a new instance of BackupConfigurationInfo.



20
21
22
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb', line 20

def initialize
  @Kind = "BackupConfigurationInfo"
end

Instance Attribute Details

#KindObject

Returns the value of attribute Kind.



24
25
26
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb', line 24

def Kind
  @Kind
end

#policy_inherited_fromBackupPolicyScope

policy is applied. Possible values include: ‘Invalid’, ‘Partition’, ‘Service’, ‘Application’

Returns:



33
34
35
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb', line 33

def policy_inherited_from
  @policy_inherited_from
end

#policy_nameString

this Service Fabric application or service or partition.

Returns:

  • (String)

    The name of the backup policy which is applicable to



28
29
30
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb', line 28

def policy_name
  @policy_name
end

#suspension_infoBackupSuspensionInfo

Returns Describes the backup suspension details.

Returns:



36
37
38
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb', line 36

def suspension_info
  @suspension_info
end

Class Method Details

.mapperObject

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



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BackupConfigurationInfo',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'Kind',
      uber_parent: 'BackupConfigurationInfo',
      class_name: 'BackupConfigurationInfo',
      model_properties: {
        policy_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PolicyName',
          type: {
            name: 'String'
          }
        },
        policy_inherited_from: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PolicyInheritedFrom',
          type: {
            name: 'String'
          }
        },
        suspension_info: {
          client_side_validation: true,
          required: false,
          serialized_name: 'SuspensionInfo',
          type: {
            name: 'Composite',
            class_name: 'BackupSuspensionInfo'
          }
        }
      }
    }
  }
end