class Azure::ServiceFabric::V6_5_0_36::Models::FileShareBackupStorageDescription

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

Attributes

StorageKind[RW]
path[RW]

@return [String] UNC path of the file share where to store or enumerate backups from.

primary_password[RW]

@return [String] Primary password to access the share location.

primary_user_name[RW]

@return [String] Primary user name to access the file share.

secondary_password[RW]

@return [String] Secondary password to access the share location

secondary_user_name[RW]

@return [String] Secondary user name to access the file share.

Public Class Methods

mapper() click to toggle source

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

# 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
new() click to toggle source
# File lib/6.5.0.36/generated/azure_service_fabric/models/file_share_backup_storage_description.rb, line 17
def initialize
  @StorageKind = "FileShare"
end