def getDeviceStateForLogicalInterface(self, typeId, deviceId, logicalInterfaceId):
        """
        Gets the state for a logical interface for a device.
        Parameters:
            - typeId (string) - the platform device type
            - deviceId (string) - the platform device id
            - logicalInterfaceId (string) - the platform returned id of the logical interface
        Throws APIException on failure.
        """
        req = ApiClient.deviceStateUrl % (self.host, typeId, deviceId, logicalInterfaceId)
        resp = requests.get(req, auth=self.credentials, verify=self.verify)
        if resp.status_code == 200:
            self.logger.debug("State retrieved from the device type for a logical interface")
        else:
            raise ibmiotf.APIException(resp.status_code, "HTTP error getting state for a logical interface from a device type", resp)
        return resp.json()
def getDeviceStateForLogicalInterface(self, typeId, deviceId, logicalInterfaceId):
        """
        Gets the state for a logical interface for a device.
        Parameters:
            - typeId (string) - the platform device type
            - deviceId (string) - the platform device id
            - logicalInterfaceId (string) - the platform returned id of the logical interface
        Throws APIException on failure.
        """
        req = ApiClient.deviceStateUrl % (self.host, typeId, deviceId, logicalInterfaceId)
        resp = requests.get(req, auth=self.credentials, verify=self.verify)
        if resp.status_code == 200:
            self.logger.debug("State retrieved from the device type for a logical interface")
        else:
            raise ibmiotf.APIException(resp.status_code, "HTTP error getting state for a logical interface from a device type", resp)
        return resp.json()
def getDeviceStateForLogicalInterface ( self , typeId , deviceId , logicalInterfaceId ) : req = ApiClient . deviceStateUrl % ( self . host , typeId , deviceId , logicalInterfaceId ) resp = requests . get ( req , auth = self . credentials , verify = self . verify ) if resp . status_code == 200 : self . logger . debug ( "State retrieved from the device type for a logical interface" ) else : raise ibmiotf . APIException ( resp . status_code , "HTTP error getting state for a logical interface from a device type" , resp ) return resp . json ( )
Gets the state for a logical interface for a device.
        Parameters:
            - typeId (string) - the platform device type
            - deviceId (string) - the platform device id
            - logicalInterfaceId (string) - the platform returned id of the logical interface
        Throws APIException on failure.
Gets the state for a logical interface for a device . Parameters : - typeId ( string ) - the platform device type - deviceId ( string ) - the platform device id - logicalInterfaceId ( string ) - the platform returned id of the logical interface Throws APIException on failure .