Class: Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent
- Inherits:
-
ProtectionIntent
- Object
- ProtectionIntent
- Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_recovery_service_vault_protection_intent.rb
Overview
Azure Recovery Services Vault specific protection intent item.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#protectionIntentItemType ⇒ Object
Returns the value of attribute protectionIntentItemType.
Attributes inherited from ProtectionIntent
#backup_management_type, #item_id, #policy_id, #protection_state, #source_resource_id
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureRecoveryServiceVaultProtectionIntent class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AzureRecoveryServiceVaultProtectionIntent
constructor
A new instance of AzureRecoveryServiceVaultProtectionIntent.
Constructor Details
#initialize ⇒ AzureRecoveryServiceVaultProtectionIntent
Returns a new instance of AzureRecoveryServiceVaultProtectionIntent.
20 21 22 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_recovery_service_vault_protection_intent.rb', line 20 def initialize @protectionIntentItemType = "RecoveryServiceVaultItem" end |
Instance Attribute Details
#protectionIntentItemType ⇒ Object
Returns the value of attribute protectionIntentItemType.
24 25 26 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_recovery_service_vault_protection_intent.rb', line 24 def protectionIntentItemType @protectionIntentItemType end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureRecoveryServiceVaultProtectionIntent class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 36 37 38 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 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_recovery_service_vault_protection_intent.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RecoveryServiceVaultItem', type: { name: 'Composite', class_name: 'AzureRecoveryServiceVaultProtectionIntent', model_properties: { backup_management_type: { client_side_validation: true, required: false, serialized_name: 'backupManagementType', type: { name: 'String' } }, source_resource_id: { client_side_validation: true, required: false, serialized_name: 'sourceResourceId', type: { name: 'String' } }, item_id: { client_side_validation: true, required: false, serialized_name: 'itemId', type: { name: 'String' } }, policy_id: { client_side_validation: true, required: false, serialized_name: 'policyId', type: { name: 'String' } }, protection_state: { client_side_validation: true, required: false, serialized_name: 'protectionState', type: { name: 'String' } }, protectionIntentItemType: { client_side_validation: true, required: true, serialized_name: 'protectionIntentItemType', type: { name: 'String' } } } } } end |