class Nexpose::MobileOffice365DiscoveryConnection

Public Class Methods

new(name, address, user, password, exchange_username, exchange_password) click to toggle source

Create a new Mobile Office365 discovery connection.

@param [String] name Name to assign to this connection. @param [String] address IP or fully qualified domain name of the

WinRM server.

@param [String] user WinRM User name for credentials on this connection. @param [String] password WinRM password for credentials on this connection. @param [String] exchange_username Exchange User name for exchange credentials on this connection. @param [String] exchange_password Exchange password for exchange credentials on this connection.

# File lib/nexpose/discovery.rb, line 377
def initialize(name, address, user, password, exchange_username, exchange_password)
  @name              = name
  @address           = address
  @user              = user
  @password          = password
  @protocol          = Protocol::HTTPS
  @exchange_hostname = '' # Nexpose will set to office365 server
  @exchange_username = exchange_username
  @exchange_password = exchange_password
  @type              = Type::ACTIVESYNC_OFFICE365
  @id                = -1
  @port              = 443 # Port not used for mobile connection
end