Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageContainer
- Inherits:
-
ProtectionContainer
- Object
- ProtectionContainer
- Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageContainer
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_container.rb
Overview
Azure Storage Account workload-specific container.
Instance Attribute Summary collapse
-
#containerType ⇒ Object
Returns the value of attribute containerType.
-
#protected_item_count ⇒ Integer
Number of items backed up in this container.
-
#resource_group ⇒ String
Resource group name of Recovery Services Vault.
-
#source_resource_id ⇒ String
Fully qualified ARM url.
-
#storage_account_version ⇒ String
Storage account version.
Attributes inherited from ProtectionContainer
#backup_management_type, #friendly_name, #health_status, #registration_status
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureStorageContainer class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AzureStorageContainer
constructor
A new instance of AzureStorageContainer.
Constructor Details
#initialize ⇒ AzureStorageContainer
Returns a new instance of AzureStorageContainer.
20 21 22 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_container.rb', line 20 def initialize @containerType = "StorageContainer" end |
Instance Attribute Details
#containerType ⇒ Object
Returns the value of attribute containerType.
24 25 26 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_container.rb', line 24 def containerType @containerType end |
#protected_item_count ⇒ Integer
Returns Number of items backed up in this container.
36 37 38 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_container.rb', line 36 def protected_item_count @protected_item_count end |
#resource_group ⇒ String
Returns Resource group name of Recovery Services Vault.
33 34 35 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_container.rb', line 33 def resource_group @resource_group end |
#source_resource_id ⇒ String
Returns Fully qualified ARM url.
27 28 29 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_container.rb', line 27 def source_resource_id @source_resource_id end |
#storage_account_version ⇒ String
Returns Storage account version.
30 31 32 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_container.rb', line 30 def storage_account_version @storage_account_version end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureStorageContainer 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 120 121 122 123 124 125 126 127 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_container.rb', line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StorageContainer', type: { name: 'Composite', class_name: 'AzureStorageContainer', model_properties: { friendly_name: { client_side_validation: true, required: false, serialized_name: 'friendlyName', type: { name: 'String' } }, backup_management_type: { client_side_validation: true, required: false, serialized_name: 'backupManagementType', type: { name: 'String' } }, registration_status: { client_side_validation: true, required: false, serialized_name: 'registrationStatus', type: { name: 'String' } }, health_status: { client_side_validation: true, required: false, serialized_name: 'healthStatus', type: { name: 'String' } }, containerType: { client_side_validation: true, required: true, serialized_name: 'containerType', type: { name: 'String' } }, source_resource_id: { client_side_validation: true, required: false, serialized_name: 'sourceResourceId', type: { name: 'String' } }, storage_account_version: { client_side_validation: true, required: false, serialized_name: 'storageAccountVersion', type: { name: 'String' } }, resource_group: { client_side_validation: true, required: false, serialized_name: 'resourceGroup', type: { name: 'String' } }, protected_item_count: { client_side_validation: true, required: false, serialized_name: 'protectedItemCount', type: { name: 'Number' } } } } } end |