Class: Azure::ServiceFabric::V6_5_0_36::Models::FileShareBackupStorageDescription

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

Overview

Describes the parameters for file share storage used for storing or enumerating backups.

Instance Attribute Summary collapse

Attributes inherited from BackupStorageDescription

#friendly_name

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFileShareBackupStorageDescription

Returns a new instance of FileShareBackupStorageDescription.



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

def initialize
  @StorageKind = "FileShare"
end

Instance Attribute Details

#pathString

backups from.

Returns:

  • (String)

    UNC path of the file share where to store or enumerate



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

def path
  @path
end

#primary_passwordString

Returns Primary password to access the share location.

Returns:

  • (String)

    Primary password to access the share location.



31
32
33
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/file_share_backup_storage_description.rb', line 31

def primary_password
  @primary_password
end

#primary_user_nameString

Returns Primary user name to access the file share.

Returns:

  • (String)

    Primary user name to access the file share.



28
29
30
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/file_share_backup_storage_description.rb', line 28

def primary_user_name
  @primary_user_name
end

#secondary_passwordString

Returns Secondary password to access the share location.

Returns:

  • (String)

    Secondary password to access the share location



37
38
39
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/file_share_backup_storage_description.rb', line 37

def secondary_password
  @secondary_password
end

#secondary_user_nameString

Returns Secondary user name to access the file share.

Returns:

  • (String)

    Secondary user name to access the file share.



34
35
36
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/file_share_backup_storage_description.rb', line 34

def secondary_user_name
  @secondary_user_name
end

#StorageKindObject

Returns the value of attribute StorageKind.



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

def StorageKind
  @StorageKind
end

Class Method Details

.mapperObject

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



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

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FileShare',
    type: {
      name: 'Composite',
      class_name: 'FileShareBackupStorageDescription',
      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'
          }
        },
        path: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Path',
          type: {
            name: 'String'
          }
        },
        primary_user_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PrimaryUserName',
          type: {
            name: 'String'
          }
        },
        primary_password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PrimaryPassword',
          type: {
            name: 'String'
          }
        },
        secondary_user_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'SecondaryUserName',
          type: {
            name: 'String'
          }
        },
        secondary_password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'SecondaryPassword',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end