Class: Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItem
- Inherits:
-
ProtectedItem
- Object
- ProtectedItem
- Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItem
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-07-01/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, #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
Returns a new instance of AzureSqlProtectedItem.
20 21 22 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb', line 20 def initialize @protectedItemType = "Microsoft.Sql/servers/databases" end |
Instance Attribute Details
#extended_info ⇒ AzureSqlProtectedItemExtendedInfo
this backup item.
37 38 39 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb', line 37 def extended_info @extended_info end |
#protected_item_data_id ⇒ String
engine to contact Recovery Services.
28 29 30 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb', line 28 def protected_item_data_id @protected_item_data_id end |
#protectedItemType ⇒ Object
Returns the value of attribute protectedItemType.
24 25 26 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb', line 24 def protectedItemType @protectedItemType end |
#protection_state ⇒ ProtectedItemState
Possible values include: ‘Invalid’, ‘IRPending’, ‘Protected’, ‘ProtectionError’, ‘ProtectionStopped’, ‘ProtectionPaused’
33 34 35 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb', line 33 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.
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 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb', line 44 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' } }, 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 |