Class: Azure::ServiceFabric::V6_5_0_36::Models::BackupPartitionDescription

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

Overview

Describes the parameters for triggering partition’s backup.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#backup_storageBackupStorageDescription

storage where to save the backup.

Returns:



17
18
19
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/backup_partition_description.rb', line 17

def backup_storage
  @backup_storage
end

Class Method Details

.mapperObject

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



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/backup_partition_description.rb', line 24

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BackupPartitionDescription',
    type: {
      name: 'Composite',
      class_name: 'BackupPartitionDescription',
      model_properties: {
        backup_storage: {
          client_side_validation: true,
          required: false,
          serialized_name: 'BackupStorage',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'StorageKind',
            uber_parent: 'BackupStorageDescription',
            class_name: 'BackupStorageDescription'
          }
        }
      }
    }
  }
end