Class: Azure::ServiceFabric::V6_4_0_36::Models::GetBackupByStorageQueryDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::GetBackupByStorageQueryDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/get_backup_by_storage_query_description.rb
Overview
Describes additional filters to be applied, while listing backups, and backup storage details from where to fetch the backups.
Instance Attribute Summary collapse
-
#backup_entity ⇒ BackupEntity
backups.
-
#end_date_time_filter ⇒ DateTime
enumerate backups.
-
#latest ⇒ Boolean
(within the specified time range) for every partition under the specified backup entity.
-
#start_date_time_filter ⇒ DateTime
to enumerate backups.
-
#storage ⇒ BackupStorageDescription
backup storage from where to enumerate backups.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GetBackupByStorageQueryDescription class as Ruby Hash.
Instance Attribute Details
#backup_entity ⇒ BackupEntity
backups.
41 42 43 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/get_backup_by_storage_query_description.rb', line 41 def backup_entity @backup_entity end |
#end_date_time_filter ⇒ DateTime
enumerate backups. If not specified, backups are enumerated till the end.
24 25 26 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/get_backup_by_storage_query_description.rb', line 24 def end_date_time_filter @end_date_time_filter end |
#latest ⇒ Boolean
(within the specified time range) for every partition under the specified backup entity. Default value: false .
29 30 31 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/get_backup_by_storage_query_description.rb', line 29 def latest @latest end |
#start_date_time_filter ⇒ DateTime
to enumerate backups. If not specified, backups are enumerated from the beginning.
19 20 21 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/get_backup_by_storage_query_description.rb', line 19 def start_date_time_filter @start_date_time_filter end |
#storage ⇒ BackupStorageDescription
backup storage from where to enumerate backups. This is optional and by default backups are enumerated from the backup storage where this backup entity is currently being backed up (as specified in backup policy). This parameter is useful to be able to enumerate backups from another cluster where you may intend to restore.
37 38 39 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/get_backup_by_storage_query_description.rb', line 37 def storage @storage end |
Class Method Details
.mapper ⇒ Object
Mapper for GetBackupByStorageQueryDescription class as Ruby Hash. This will be used for serialization/deserialization.
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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/get_backup_by_storage_query_description.rb', line 48 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'GetBackupByStorageQueryDescription', type: { name: 'Composite', class_name: 'GetBackupByStorageQueryDescription', model_properties: { start_date_time_filter: { client_side_validation: true, required: false, serialized_name: 'StartDateTimeFilter', type: { name: 'DateTime' } }, end_date_time_filter: { client_side_validation: true, required: false, serialized_name: 'EndDateTimeFilter', type: { name: 'DateTime' } }, latest: { client_side_validation: true, required: false, serialized_name: 'Latest', default_value: false, type: { name: 'Boolean' } }, storage: { client_side_validation: true, required: true, serialized_name: 'Storage', type: { name: 'Composite', polymorphic_discriminator: 'StorageKind', uber_parent: 'BackupStorageDescription', class_name: 'BackupStorageDescription' } }, backup_entity: { client_side_validation: true, required: true, serialized_name: 'BackupEntity', type: { name: 'Composite', polymorphic_discriminator: 'EntityKind', uber_parent: 'BackupEntity', class_name: 'BackupEntity' } } } } } end |