Interface Device

All Known Implementing Classes:
DeviceWrapper

public interface Device
A Network Edge virtual device. Read-side accessors mirror the catalog spec's VirtualDeviceDetailsResponse schema.
Author:
ianjones
  • Method Details

    • getUuid

      String getUuid()
    • getName

      String getName()
    • getDeviceTypeCode

      String getDeviceTypeCode()
    • getDeviceTypeName

      String getDeviceTypeName()
    • getDeviceTypeVendor

      Vendor getDeviceTypeVendor()
    • getDeviceTypeCategory

      DeviceCategory getDeviceTypeCategory()
    • getStatus

      DeviceStatus getStatus()
    • getLicenseStatus

      LicenseStatus getLicenseStatus()
    • getMetroCode

      MetroCode getMetroCode()
    • getMetroName

      String getMetroName()
    • getLicenseFileId

      String getLicenseFileId()
    • getRegion

      Region getRegion()
    • getThroughput

      Double getThroughput()
    • getThroughputUnit

      BandwidthUnit getThroughputUnit()
    • getHostName

      String getHostName()
    • getPackageCode

      String getPackageCode()
    • getPackageName

      String getPackageName()
    • getVersion

      String getVersion()
    • getLicenseType

      LicenseType getLicenseType()
    • getLicenseName

      String getLicenseName()
    • getSshIpAddress

      String getSshIpAddress()
    • getSystemIpAddress

      String getSystemIpAddress()
    • getPublicIp

      String getPublicIp()
    • getPublicGatewayIp

      String getPublicGatewayIp()
    • getManagementIp

      String getManagementIp()
    • getManagementGatewayIp

      String getManagementGatewayIp()
    • getDeviceSerialNo

      String getDeviceSerialNo()
    • getSshIpFqdn

      String getSshIpFqdn()
    • getPrimaryDnsName

      String getPrimaryDnsName()
    • getSecondaryDnsName

      String getSecondaryDnsName()
    • getAccountNumber

      String getAccountNumber()
    • getAccountName

      String getAccountName()
    • getSiteId

      String getSiteId()
    • getUserPublicKey

      UserPublicKey getUserPublicKey()
    • getNotifications

      ArrayList<String> getNotifications()
    • getVendorConfig

      DeviceVendorConfig getVendorConfig()
    • getRedundancyType

      RedundancyType getRedundancyType()
    • getRedundantUuid

      String getRedundantUuid()
    • getPurchaseOrderNumber

      String getPurchaseOrderNumber()
    • getTermLength

      Integer getTermLength()
    • getAdditionalBandwidth

      Integer getAdditionalBandwidth()
    • getInterfaceCount

      Integer getInterfaceCount()
    • getCore

      DeviceCore getCore()
    • getDeviceManagementType

      DeviceManagementType getDeviceManagementType()
    • getInterfaces

      ArrayList<NetworkInterface> getInterfaces()
    • getAsn

      Long getAsn()
    • getCreatedBy

      String getCreatedBy()
    • getCreatedDate

      LocalDateTime getCreatedDate()
    • getLastUpdatedBy

      String getLastUpdatedBy()
    • getLastUpdatedDate

      LocalDateTime getLastUpdatedDate()
    • getDiverseFromDeviceUuid

      String getDiverseFromDeviceUuid()
    • getDiverseFromDeviceName

      String getDiverseFromDeviceName()
    • getExpiry

      String getExpiry()
    • getSshIpFqdnStatus

      SshIpFqdnStatus getSshIpFqdnStatus()
    • getConnectivity

      Connectivity getConnectivity()
    • getPricingDetails

      DevicePricingDetail getPricingDetails()
    • getPlane

      DevicePlane getPlane()
    • getNewTermLength

      String getNewTermLength()
    • getChannelPartner

      String getChannelPartner()
    • getPricing

      Pricing getPricing()
    • restoreFromBackup

      Boolean restoreFromBackup(Backup backup)
    • restoreFromBackup

      Boolean restoreFromBackup(String backupUuid, String backupName)
      Parameters:
      backupName - the name of the backup (DeviceBackupUpdateRequest.name), required by the API.
    • updateAdditionalBandwidth

      Boolean updateAdditionalBandwidth(Integer additionalBandwidth)
    • ping

      Boolean ping()
    • update

    • save

      Boolean save(DeviceUpdaterJson updaterJson)
    • delete

      Boolean delete()
      Deletes the device (DELETE /ne/v1/devices/{uuid}). The wrapper keeps its last known state, so getters still work afterwards.
      Returns:
      true when the deletion was accepted
    • delete

      Boolean delete(DeviceDeleteRequest request)
      Deletes the device with the spec's options: deleteRedundantDevice for a redundant pair and the deletionInfo deactivation keys (Palo Alto BYOL).
      Parameters:
      request - the delete options
      Returns:
      true when the deletion was accepted
    • refresh

      Boolean refresh()