Class: Azure::ServiceFabric::V6_5_0_36::Models::BackupStorageDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::BackupStorageDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/backup_storage_description.rb
Overview
Describes the parameters for the backup storage.
Direct Known Subclasses
AzureBlobBackupStorageDescription, FileShareBackupStorageDescription
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#friendly_name ⇒ String
Friendly name for this backup storage.
-
#StorageKind ⇒ Object
Returns the value of attribute StorageKind.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BackupStorageDescription class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ BackupStorageDescription
constructor
A new instance of BackupStorageDescription.
Constructor Details
#initialize ⇒ BackupStorageDescription
Returns a new instance of BackupStorageDescription.
19 20 21 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/backup_storage_description.rb', line 19 def initialize @StorageKind = "BackupStorageDescription" end |
Instance Attribute Details
#friendly_name ⇒ String
Returns Friendly name for this backup storage.
26 27 28 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/backup_storage_description.rb', line 26 def friendly_name @friendly_name end |
#StorageKind ⇒ Object
Returns the value of attribute StorageKind.
23 24 25 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/backup_storage_description.rb', line 23 def StorageKind @StorageKind end |
Class Method Details
.mapper ⇒ Object
Mapper for BackupStorageDescription class as Ruby Hash. This will be used for serialization/deserialization.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/backup_storage_description.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BackupStorageDescription', type: { name: 'Composite', polymorphic_discriminator: 'StorageKind', uber_parent: 'BackupStorageDescription', class_name: 'BackupStorageDescription', model_properties: { friendly_name: { client_side_validation: true, required: false, serialized_name: 'FriendlyName', type: { name: 'String' } } } } } end |