Class: Azure::ServiceFabric::V6_5_0_36::Models::RestorePartitionDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::RestorePartitionDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.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
-
#backup_id ⇒ Object
Unique backup ID.
-
#backup_location ⇒ String
specified/ configured.
-
#backup_storage ⇒ BackupStorageDescription
the partition will be restored.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RestorePartitionDescription class as Ruby Hash.
Instance Attribute Details
#backup_id ⇒ Object
Returns Unique backup ID.
17 18 19 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/restore_partition_description.rb', line 17 def backup_id @backup_id end |
#backup_location ⇒ String
specified/ configured.
21 22 23 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/restore_partition_description.rb', line 21 def backup_location @backup_location end |
#backup_storage ⇒ BackupStorageDescription
the partition will be restored.
25 26 27 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/restore_partition_description.rb', line 25 def backup_storage @backup_storage end |
Class Method Details
.mapper ⇒ Object
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.5.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 |