Class: Azure::ServiceFabric::V6_5_0_36::Models::FileShareBackupStorageDescription
- Inherits:
-
BackupStorageDescription
- Object
- BackupStorageDescription
- Azure::ServiceFabric::V6_5_0_36::Models::FileShareBackupStorageDescription
- 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
-
#path ⇒ String
backups from.
-
#primary_password ⇒ String
Primary password to access the share location.
-
#primary_user_name ⇒ String
Primary user name to access the file share.
-
#secondary_password ⇒ String
Secondary password to access the share location.
-
#secondary_user_name ⇒ String
Secondary user name to access the file share.
-
#StorageKind ⇒ Object
Returns the value of attribute StorageKind.
Attributes inherited from BackupStorageDescription
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for FileShareBackupStorageDescription class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ FileShareBackupStorageDescription
constructor
A new instance of FileShareBackupStorageDescription.
Constructor Details
#initialize ⇒ FileShareBackupStorageDescription
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
#path ⇒ String
backups from.
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_password ⇒ String
Returns 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_name ⇒ String
Returns 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_password ⇒ String
Returns 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_name ⇒ String
Returns 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 |
#StorageKind ⇒ Object
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
.mapper ⇒ Object
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 |