Class: Azure::ServiceFabric::V6_5_0_36::Models::PartitionBackupEntity
- Inherits:
-
BackupEntity
- Object
- BackupEntity
- Azure::ServiceFabric::V6_5_0_36::Models::PartitionBackupEntity
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/partition_backup_entity.rb
Overview
Identifies the Service Fabric stateful partition which is being backed up.
Instance Attribute Summary collapse
-
#EntityKind ⇒ Object
Returns the value of attribute EntityKind.
-
#partition_id ⇒ Object
The partition ID identifying the partition.
-
#service_name ⇒ String
scheme.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PartitionBackupEntity class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ PartitionBackupEntity
constructor
A new instance of PartitionBackupEntity.
Constructor Details
#initialize ⇒ PartitionBackupEntity
Returns a new instance of PartitionBackupEntity.
17 18 19 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_backup_entity.rb', line 17 def initialize @EntityKind = "Partition" end |
Instance Attribute Details
#EntityKind ⇒ Object
Returns the value of attribute EntityKind.
21 22 23 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_backup_entity.rb', line 21 def EntityKind @EntityKind end |
#partition_id ⇒ Object
Returns The partition ID identifying the partition.
28 29 30 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_backup_entity.rb', line 28 def partition_id @partition_id end |
#service_name ⇒ String
scheme.
25 26 27 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_backup_entity.rb', line 25 def service_name @service_name end |
Class Method Details
.mapper ⇒ Object
Mapper for PartitionBackupEntity class as Ruby Hash. This will be used for serialization/deserialization.
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/partition_backup_entity.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Partition', type: { name: 'Composite', class_name: 'PartitionBackupEntity', model_properties: { EntityKind: { client_side_validation: true, required: true, serialized_name: 'EntityKind', type: { name: 'String' } }, service_name: { client_side_validation: true, required: false, serialized_name: 'ServiceName', type: { name: 'String' } }, partition_id: { client_side_validation: true, required: false, serialized_name: 'PartitionId', type: { name: 'String' } } } } } end |