Class: Azure::ServiceFabric::V6_3_0_9::Models::PartitionBackupConfigurationInfo
- Inherits:
-
BackupConfigurationInfo
- Object
- BackupConfigurationInfo
- Azure::ServiceFabric::V6_3_0_9::Models::PartitionBackupConfigurationInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/partition_backup_configuration_info.rb
Overview
Backup configuration information, for a specific partition, specifying what backup policy is being applied and suspend description, if any.
Instance Attribute Summary collapse
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#partition_id ⇒ Object
partition.
-
#service_name ⇒ String
scheme.
Attributes inherited from BackupConfigurationInfo
#policy_inherited_from, #policy_name, #suspension_info
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PartitionBackupConfigurationInfo class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ PartitionBackupConfigurationInfo
constructor
A new instance of PartitionBackupConfigurationInfo.
Constructor Details
#initialize ⇒ PartitionBackupConfigurationInfo
Returns a new instance of PartitionBackupConfigurationInfo.
17 18 19 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/partition_backup_configuration_info.rb', line 17 def initialize @Kind = "Partition" end |
Instance Attribute Details
#Kind ⇒ Object
Returns the value of attribute Kind.
21 22 23 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/partition_backup_configuration_info.rb', line 21 def Kind @Kind end |
#partition_id ⇒ Object
partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different.
32 33 34 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/partition_backup_configuration_info.rb', line 32 def partition_id @partition_id end |
#service_name ⇒ String
scheme.
25 26 27 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/partition_backup_configuration_info.rb', line 25 def service_name @service_name end |
Class Method Details
.mapper ⇒ Object
Mapper for PartitionBackupConfigurationInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/partition_backup_configuration_info.rb', line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Partition', type: { name: 'Composite', class_name: 'PartitionBackupConfigurationInfo', model_properties: { policy_name: { client_side_validation: true, required: false, serialized_name: 'PolicyName', type: { name: 'String' } }, policy_inherited_from: { client_side_validation: true, required: false, serialized_name: 'PolicyInheritedFrom', type: { name: 'String' } }, suspension_info: { client_side_validation: true, required: false, serialized_name: 'SuspensionInfo', type: { name: 'Composite', class_name: 'BackupSuspensionInfo' } }, Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', 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 |