Class: Azure::ServiceFabric::V6_4_0_36::Models::BackupConfigurationInfo
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::BackupConfigurationInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb
Overview
Describes the backup configuration information.
Direct Known Subclasses
ApplicationBackupConfigurationInfo, PartitionBackupConfigurationInfo, ServiceBackupConfigurationInfo
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#policy_inherited_from ⇒ BackupPolicyScope
policy is applied.
-
#policy_name ⇒ String
this Service Fabric application or service or partition.
-
#suspension_info ⇒ BackupSuspensionInfo
Describes the backup suspension details.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BackupConfigurationInfo class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ BackupConfigurationInfo
constructor
A new instance of BackupConfigurationInfo.
Constructor Details
#initialize ⇒ BackupConfigurationInfo
Returns a new instance of BackupConfigurationInfo.
20 21 22 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb', line 20 def initialize @Kind = "BackupConfigurationInfo" end |
Instance Attribute Details
#Kind ⇒ Object
Returns the value of attribute Kind.
24 25 26 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb', line 24 def Kind @Kind end |
#policy_inherited_from ⇒ BackupPolicyScope
policy is applied. Possible values include: ‘Invalid’, ‘Partition’, ‘Service’, ‘Application’
33 34 35 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb', line 33 def policy_inherited_from @policy_inherited_from end |
#policy_name ⇒ String
this Service Fabric application or service or partition.
28 29 30 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb', line 28 def policy_name @policy_name end |
#suspension_info ⇒ BackupSuspensionInfo
Returns Describes the backup suspension details.
36 37 38 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb', line 36 def suspension_info @suspension_info end |
Class Method Details
.mapper ⇒ Object
Mapper for BackupConfigurationInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb', line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BackupConfigurationInfo', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'BackupConfigurationInfo', class_name: 'BackupConfigurationInfo', 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' } } } } } end |