Class: Azure::ServiceFabric::V6_4_0_36::Models::RestorePartitionDescription

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

Overview

Specifies the parameters needed to trigger a restore of a specific partition.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#backup_idObject

Returns Unique backup ID.

Returns:

  • Unique backup ID.



17
18
19
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/restore_partition_description.rb', line 17

def backup_id
  @backup_id
end

#backup_locationString

specified/ configured.

Returns:

  • (String)

    Location of the backup relative to the backup storage



21
22
23
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/restore_partition_description.rb', line 21

def backup_location
  @backup_location
end

#backup_storageBackupStorageDescription

the partition will be restored.

Returns:



25
26
27
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/restore_partition_description.rb', line 25

def backup_storage
  @backup_storage
end

Class Method Details

.mapperObject

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



32
33
34
35
36
37
38
39
40
41
42
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
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/restore_partition_description.rb', line 32

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