Class: Azure::ServiceFabric::V6_3_0_9::Models::BackupStorageDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/backup_storage_description.rb

Overview

Describes the parameters for the backup storage.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBackupStorageDescription

Returns a new instance of BackupStorageDescription.



19
20
21
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/backup_storage_description.rb', line 19

def initialize
  @StorageKind = "BackupStorageDescription"
end

Instance Attribute Details

#friendly_nameString

Returns Friendly name for this backup storage.

Returns:

  • (String)

    Friendly name for this backup storage.



26
27
28
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/backup_storage_description.rb', line 26

def friendly_name
  @friendly_name
end

#StorageKindObject

Returns the value of attribute StorageKind.



23
24
25
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/backup_storage_description.rb', line 23

def StorageKind
  @StorageKind
end

Class Method Details

.mapperObject

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.3.0.9/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