def __init__(self, profile_id=None, name=None, externalReference=None, comment=None, vendor_id=None, model_id=None, microserviceUris=[], templateUris=[], attachedManagedEntities=[], customer_id=None): """ Initialize. Parameters ---------- profile_id: Integer Profile id name: String Profile Name externalReference: String Configurable id for Profile comment: String Configurable id for Profile vendor_id: Integer Manufacture ID model_id: Integer Model ID login: String Login microserviceUris: List List of Microservices you want to attach templateUris: List List of Templates you want to attach attachedManagedEntities: List List of Managed Entities you want to attach customer_id: Integer Customer id which you want to attach a created configuration profile Returns ------- None """ MSA_API.__init__(self) self.api_path = "/conf-profile" self.profile_id = profile_id self.name = name self.externalReference = externalReference self.comment = comment self.vendor_id = vendor_id self.model_id = model_id self.microserviceUris = microserviceUris self.templateUris = templateUris self.attachedManagedEntities = attachedManagedEntities self.customer_id = customer_id if profile_id: self.read()
def __init__(self): """ Initialize. Parameters ---------- None Returns ------- None """ MSA_API.__init__(self) self.api_path = "/conf-backup"
def __init__(self): """Initialize.""" MSA_API.__init__(self) self.api_path = "/customer"
def __init__(self): """Initialize.""" MSA_API.__init__(self) self.api_path_v1 = "/repository/v1" self.api_path = "/repository" self.api_path_v2 = "/repository/v2"
def __init__(self, customer_id=None, name=None, manufacturer_id=None, model_id=None, login=None, password=None, password_admin=None, management_address=None, device_external=None, log_enabled=True, log_more_enabled=True, mail_alerting=True, reporting=False, snmp_community="ubiqube", device_id=None, management_port=None): """ Initialize. Parameters ---------- customer_id: String Customer id name: String Name of the device manufacturer_id: String Manufacture ID model_id: String Model ID login: String Login password: String Password password_admin: String Password Admin management_address: Management Address device_external: Device External log_enabled: Bool Log Enabled log_more_enabled: More logs mail_alerting: Bool Mail alerting reporting: Bool Reporting snmp_community: SNMP Community device_id: Device ID management_port: Management Port fail: Bool Fail creating the device Returns ------- None """ MSA_API.__init__(self) self.customer_id = customer_id self.name = name self.manufacturer_id = manufacturer_id self.model_id = model_id self.login = login self.password = password self.password_admin = password_admin self.management_address = management_address self.device_external = device_external self.log_enabled = log_enabled self.log_more_enabled = log_more_enabled self.mail_alerting = mail_alerting self.reporting = reporting self.snmp_community = snmp_community self.api_path_v1 = "/device/v1" self.api_path = "/device" self.management_interface = None self.use_nat = False self.configuration = {} self.device_id = device_id self.management_port = management_port self.fail = None if device_id: self.read()
def __init__(self): """Initialize.""" MSA_API.__init__(self) self.api_path_v1 = "/system-admin/v1" self.api_path = "/system-admin" self.api_path_v2 = "/system-admin/v2"
def __init__(self): """Initialize.""" MSA_API.__init__(self) self.api_path_v1 = "/lookup/v1" self.api_path = "/lookup"
def __init__(self, ubiqube_id): """Initialize.""" MSA_API.__init__(self) self.api_path_v1 = "/orchestration/v1" self.api_path = "/orchestration" self.ubiqube_id = ubiqube_id