Class: Azure::RecoveryServicesBackup::Mgmt::V2019_06_15::Models::AzureSqlProtectedItem
- Inherits:
-
ProtectedItem
- Object
- ProtectedItem
- Azure::RecoveryServicesBackup::Mgmt::V2019_06_15::Models::AzureSqlProtectedItem
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb
Overview
Azure SQL workload-specific backup item.
Instance Attribute Summary collapse
-
#extended_info ⇒ AzureSqlProtectedItemExtendedInfo
this backup item.
-
#protected_item_data_id ⇒ String
engine to contact Recovery Services.
-
#protectedItemType ⇒ Object
Returns the value of attribute protectedItemType.
-
#protection_state ⇒ ProtectedItemState
Possible values include: ‘Invalid’, ‘IRPending’, ‘Protected’, ‘ProtectionError’, ‘ProtectionStopped’, ‘ProtectionPaused’.
Attributes inherited from ProtectedItem
#backup_management_type, #backup_set_name, #container_name, #create_mode, #deferred_delete_time_in_utc, #deferred_delete_time_remaining, #is_deferred_delete_schedule_upcoming, #is_rehydrate, #is_scheduled_for_deferred_delete, #last_recovery_point, #policy_id, #source_resource_id, #workload_type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureSqlProtectedItem class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AzureSqlProtectedItem
constructor
A new instance of AzureSqlProtectedItem.
Constructor Details
#initialize ⇒ AzureSqlProtectedItem
16 17 18 |
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb', line 16 def initialize @protectedItemType = "Microsoft.Sql/servers/databases" end |
Instance Attribute Details
#extended_info ⇒ AzureSqlProtectedItemExtendedInfo
this backup item.
33 34 35 |
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb', line 33 def extended_info @extended_info end |
#protected_item_data_id ⇒ String
engine to contact Recovery Services.
24 25 26 |
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb', line 24 def protected_item_data_id @protected_item_data_id end |
#protectedItemType ⇒ Object
Returns the value of attribute protectedItemType.
20 21 22 |
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb', line 20 def protectedItemType @protectedItemType end |
#protection_state ⇒ ProtectedItemState
Possible values include: ‘Invalid’, ‘IRPending’, ‘Protected’, ‘ProtectionError’, ‘ProtectionStopped’, ‘ProtectionPaused’
29 30 31 |
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb', line 29 def protection_state @protection_state end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureSqlProtectedItem class as Ruby Hash. This will be used for serialization/deserialization.
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 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 |
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Microsoft.Sql/servers/databases', type: { name: 'Composite', class_name: 'AzureSqlProtectedItem', model_properties: { backup_management_type: { client_side_validation: true, required: false, serialized_name: 'backupManagementType', type: { name: 'String' } }, workload_type: { client_side_validation: true, required: false, serialized_name: 'workloadType', type: { name: 'String' } }, container_name: { client_side_validation: true, required: false, serialized_name: 'containerName', type: { name: 'String' } }, source_resource_id: { client_side_validation: true, required: false, serialized_name: 'sourceResourceId', type: { name: 'String' } }, policy_id: { client_side_validation: true, required: false, serialized_name: 'policyId', type: { name: 'String' } }, last_recovery_point: { client_side_validation: true, required: false, serialized_name: 'lastRecoveryPoint', type: { name: 'DateTime' } }, backup_set_name: { client_side_validation: true, required: false, serialized_name: 'backupSetName', type: { name: 'String' } }, create_mode: { client_side_validation: true, required: false, serialized_name: 'createMode', type: { name: 'String' } }, deferred_delete_time_in_utc: { client_side_validation: true, required: false, serialized_name: 'deferredDeleteTimeInUTC', type: { name: 'DateTime' } }, is_scheduled_for_deferred_delete: { client_side_validation: true, required: false, serialized_name: 'isScheduledForDeferredDelete', type: { name: 'Boolean' } }, deferred_delete_time_remaining: { client_side_validation: true, required: false, serialized_name: 'deferredDeleteTimeRemaining', type: { name: 'String' } }, is_deferred_delete_schedule_upcoming: { client_side_validation: true, required: false, serialized_name: 'isDeferredDeleteScheduleUpcoming', type: { name: 'Boolean' } }, is_rehydrate: { client_side_validation: true, required: false, serialized_name: 'isRehydrate', type: { name: 'Boolean' } }, protectedItemType: { client_side_validation: true, required: true, serialized_name: 'protectedItemType', type: { name: 'String' } }, protected_item_data_id: { client_side_validation: true, required: false, serialized_name: 'protectedItemDataId', type: { name: 'String' } }, protection_state: { client_side_validation: true, required: false, serialized_name: 'protectionState', type: { name: 'String' } }, extended_info: { client_side_validation: true, required: false, serialized_name: 'extendedInfo', type: { name: 'Composite', class_name: 'AzureSqlProtectedItemExtendedInfo' } } } } } end |