Example #1
0
 def __init__(self, status=None, message=None):
     self.status = status
     self.message = message
     self.hostname = socket.gethostname()
     self.version = str(CURRENT_VERSION)
     self.osname = DISTRO_NAME
     self.osversion = DISTRO_VERSION
     self.extensionHandlers = DataContractList(ExtHandlerStatus)  # pylint: disable=C0103
Example #2
0
 def __init__(self, status=None, message=None, gs_aggregate_status=None):
     self.status = status
     self.message = message
     self.hostname = socket.gethostname()
     self.version = str(CURRENT_VERSION)
     self.osname = DISTRO_NAME
     self.osversion = DISTRO_VERSION
     self.extensionHandlers = DataContractList(ExtHandlerStatus)
     self.vm_artifacts_aggregate_status = VMArtifactsAggregateStatus(
         gs_aggregate_status)
Example #3
0
 def __init__(self,
              name=None,
              version=None,
              status=None,
              code=0,
              message=None):
     self.name = name
     self.version = version
     self.status = status
     self.code = code
     self.message = message
     self.extensions = DataContractList(ustr)
Example #4
0
 def __init__(self,
              configurationAppliedTime=None,
              operation=None,
              status=None,
              seq_no=None,
              code=None,
              message=None):
     self.configurationAppliedTime = configurationAppliedTime
     self.operation = operation
     self.status = status
     self.sequenceNumber = seq_no
     self.code = code
     self.message = message
     self.substatusList = DataContractList(ExtensionSubStatus)
Example #5
0
 def __init__(self):
     self.certificates = DataContractList(Cert)
Example #6
0
 def __init__(self):
     self.users = DataContractList(RemoteAccessUser)
Example #7
0
 def __init__(self):
     self.versions = DataContractList(ExtHandlerPackage)
Example #8
0
 def __init__(self, version=None):
     self.version = version
     self.uris = DataContractList(ExtHandlerPackageUri)
     # TODO update the naming to align with metadata protocol
     self.isinternal = False
     self.disallow_major_upgrade = False
Example #9
0
 def __init__(self, eventId=None, providerId=None):
     self.eventId = eventId
     self.providerId = providerId
     self.parameters = DataContractList(TelemetryEventParam)
     self.file_type = ""
Example #10
0
 def __init__(self):
     self.version = None
     self.state = None
     self.extensions = DataContractList(Extension)
Example #11
0
 def __init__(self):
     self.foo = None
     self.bar = DataContractList(int)
Example #12
0
 def __init__(self):
     self.vmAgentManifests = DataContractList(VMAgentManifest)  # pylint: disable=C0103
Example #13
0
 def __init__(self):
     self.extHandlers = DataContractList(ExtHandler)  # pylint: disable=C0103
Example #14
0
 def __init__(self, name=None):
     self.name = name
     self.properties = ExtHandlerProperties()
     self.versionUris = DataContractList(ExtHandlerVersionUri)  # pylint: disable=C0103
Example #15
0
 def __init__(self, family=None):
     self.family = family
     self.versionsManifestUris = DataContractList(VMAgentManifestUri)
Example #16
0
 def __init__(self):
     self.vmAgentManifests = DataContractList(VMAgentManifest)
Example #17
0
 def __init__(self, name=None):
     self.name = name
     self.properties = ExtHandlerProperties()
     self.versionUris = DataContractList(ExtHandlerVersionUri)
     self.__invalid_handler_setting_reason = None
     self.supports_multi_config = False
Example #18
0
 def __init__(self):
     self.events = DataContractList(TelemetryEvent)
Example #19
0
 def __init__(self):
     self.extHandlers = DataContractList(ExtHandler)