Class: Azure::RecoveryServicesBackup::Mgmt::V2019_06_15::Models::AzureFileShareProtectionPolicy
- Inherits:
-
ProtectionPolicy
- Object
- ProtectionPolicy
- Azure::RecoveryServicesBackup::Mgmt::V2019_06_15::Models::AzureFileShareProtectionPolicy
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb
Overview
AzureStorage backup policy.
Instance Attribute Summary collapse
-
#backupManagementType ⇒ Object
Returns the value of attribute backupManagementType.
-
#retention_policy ⇒ RetentionPolicy
copy retention ranges.
-
#schedule_policy ⇒ SchedulePolicy
policy.
-
#time_zone ⇒ String
TimeZone = “Pacific Standard Time”.
-
#work_load_type ⇒ WorkloadType
Possible values include: ‘Invalid’, ‘VM’, ‘FileFolder’, ‘AzureSqlDb’, ‘SQLDB’, ‘Exchange’, ‘Sharepoint’, ‘VMwareVM’, ‘SystemState’, ‘Client’, ‘GenericDataSource’, ‘SQLDataBase’, ‘AzureFileShare’, ‘SAPHanaDatabase’, ‘SAPAseDatabase’.
Attributes inherited from ProtectionPolicy
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureFileShareProtectionPolicy class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AzureFileShareProtectionPolicy
constructor
A new instance of AzureFileShareProtectionPolicy.
Constructor Details
#initialize ⇒ AzureFileShareProtectionPolicy
Returns a new instance of AzureFileShareProtectionPolicy.
16 17 18 |
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb', line 16 def initialize @backupManagementType = "AzureStorage" end |
Instance Attribute Details
#backupManagementType ⇒ Object
Returns the value of attribute backupManagementType.
20 21 22 |
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb', line 20 def backupManagementType @backupManagementType end |
#retention_policy ⇒ RetentionPolicy
copy retention ranges.
35 36 37 |
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb', line 35 def retention_policy @retention_policy end |
#schedule_policy ⇒ SchedulePolicy
policy.
31 32 33 |
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb', line 31 def schedule_policy @schedule_policy end |
#time_zone ⇒ String
TimeZone = “Pacific Standard Time”.
39 40 41 |
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb', line 39 def time_zone @time_zone end |
#work_load_type ⇒ WorkloadType
Possible values include: ‘Invalid’, ‘VM’, ‘FileFolder’, ‘AzureSqlDb’, ‘SQLDB’, ‘Exchange’, ‘Sharepoint’, ‘VMwareVM’, ‘SystemState’, ‘Client’, ‘GenericDataSource’, ‘SQLDataBase’, ‘AzureFileShare’, ‘SAPHanaDatabase’, ‘SAPAseDatabase’
27 28 29 |
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb', line 27 def work_load_type @work_load_type end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureFileShareProtectionPolicy class as Ruby Hash. This will be used for serialization/deserialization.
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 101 102 103 104 105 106 107 108 109 110 111 112 |
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb', line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AzureStorage', type: { name: 'Composite', class_name: 'AzureFileShareProtectionPolicy', model_properties: { protected_items_count: { client_side_validation: true, required: false, serialized_name: 'protectedItemsCount', type: { name: 'Number' } }, backupManagementType: { client_side_validation: true, required: true, serialized_name: 'backupManagementType', type: { name: 'String' } }, work_load_type: { client_side_validation: true, required: false, serialized_name: 'workLoadType', type: { name: 'String' } }, schedule_policy: { client_side_validation: true, required: false, serialized_name: 'schedulePolicy', type: { name: 'Composite', polymorphic_discriminator: 'schedulePolicyType', uber_parent: 'SchedulePolicy', class_name: 'SchedulePolicy' } }, retention_policy: { client_side_validation: true, required: false, serialized_name: 'retentionPolicy', type: { name: 'Composite', polymorphic_discriminator: 'retentionPolicyType', uber_parent: 'RetentionPolicy', class_name: 'RetentionPolicy' } }, time_zone: { client_side_validation: true, required: false, serialized_name: 'timeZone', type: { name: 'String' } } } } } end |