Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareProtectableItem
- Inherits:
-
WorkloadProtectableItem
- Object
- WorkloadProtectableItem
- Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareProtectableItem
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protectable_item.rb
Overview
Protectable item for Azure Fileshare workloads.
Instance Attribute Summary collapse
-
#azure_file_share_type ⇒ AzureFileShareType
values include: ‘Invalid’, ‘XSMB’, ‘XSync’.
-
#parent_container_fabric_id ⇒ String
item belongs.
-
#parent_container_friendly_name ⇒ String
item belongs.
-
#protectableItemType ⇒ Object
Returns the value of attribute protectableItemType.
Attributes inherited from WorkloadProtectableItem
#backup_management_type, #friendly_name, #protection_state, #workload_type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureFileShareProtectableItem class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AzureFileShareProtectableItem
constructor
A new instance of AzureFileShareProtectableItem.
Constructor Details
#initialize ⇒ AzureFileShareProtectableItem
Returns a new instance of AzureFileShareProtectableItem.
20 21 22 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protectable_item.rb', line 20 def initialize @protectableItemType = "AzureFileShare" end |
Instance Attribute Details
#azure_file_share_type ⇒ AzureFileShareType
values include: ‘Invalid’, ‘XSMB’, ‘XSync’
36 37 38 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protectable_item.rb', line 36 def azure_file_share_type @azure_file_share_type end |
#parent_container_fabric_id ⇒ String
item belongs. For example, ARM ID.
28 29 30 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protectable_item.rb', line 28 def parent_container_fabric_id @parent_container_fabric_id end |
#parent_container_friendly_name ⇒ String
item belongs.
32 33 34 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protectable_item.rb', line 32 def parent_container_friendly_name @parent_container_friendly_name end |
#protectableItemType ⇒ Object
Returns the value of attribute protectableItemType.
24 25 26 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protectable_item.rb', line 24 def protectableItemType @protectableItemType end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureFileShareProtectableItem 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 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 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protectable_item.rb', line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AzureFileShare', type: { name: 'Composite', class_name: 'AzureFileShareProtectableItem', 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' } }, friendly_name: { client_side_validation: true, required: false, serialized_name: 'friendlyName', type: { name: 'String' } }, protection_state: { client_side_validation: true, required: false, serialized_name: 'protectionState', type: { name: 'String' } }, protectableItemType: { client_side_validation: true, required: true, serialized_name: 'protectableItemType', type: { name: 'String' } }, parent_container_fabric_id: { client_side_validation: true, required: false, serialized_name: 'parentContainerFabricId', type: { name: 'String' } }, parent_container_friendly_name: { client_side_validation: true, required: false, serialized_name: 'parentContainerFriendlyName', type: { name: 'String' } }, azure_file_share_type: { client_side_validation: true, required: false, serialized_name: 'azureFileShareType', type: { name: 'String' } } } } } end |