Class: Azure::ServiceFabric::V6_5_0_36::Models::AzureBlobBackupStorageDescription

Inherits:
BackupStorageDescription show all
Includes:
MsRestAzure
Defined in:
lib/6.5.0.36/generated/azure_service_fabric/models/azure_blob_backup_storage_description.rb

Overview

Describes the parameters for Azure blob store used for storing and enumerating backups.

Instance Attribute Summary collapse

Attributes inherited from BackupStorageDescription

#friendly_name

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAzureBlobBackupStorageDescription

Returns a new instance of AzureBlobBackupStorageDescription.



17
18
19
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/azure_blob_backup_storage_description.rb', line 17

def initialize
  @StorageKind = "AzureBlobStore"
end

Instance Attribute Details

#connection_stringString

store.

Returns:

  • (String)

    The connection string to connect to the Azure blob



25
26
27
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/azure_blob_backup_storage_description.rb', line 25

def connection_string
  @connection_string
end

#container_nameString

and enumerate backups from.

Returns:

  • (String)

    The name of the container in the blob store to store



29
30
31
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/azure_blob_backup_storage_description.rb', line 29

def container_name
  @container_name
end

#StorageKindObject

Returns the value of attribute StorageKind.



21
22
23
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/azure_blob_backup_storage_description.rb', line 21

def StorageKind
  @StorageKind
end

Class Method Details

.mapperObject

Mapper for AzureBlobBackupStorageDescription class as Ruby Hash. This will be used for serialization/deserialization.



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
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/azure_blob_backup_storage_description.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureBlobStore',
    type: {
      name: 'Composite',
      class_name: 'AzureBlobBackupStorageDescription',
      model_properties: {
        friendly_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'FriendlyName',
          type: {
            name: 'String'
          }
        },
        StorageKind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'StorageKind',
          type: {
            name: 'String'
          }
        },
        connection_string: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ConnectionString',
          type: {
            name: 'String'
          }
        },
        container_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ContainerName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end