Class

com.hashicorp.nomad.scalasdk

ScalaQuotasApi

Related Doc: package scalasdk

Permalink

class ScalaQuotasApi extends AnyRef

API for managing quotas, exposing the ACL policies functionality of the Nomad HTTP API.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaQuotasApi
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalaQuotasApi(quotasApi: QuotasApi)

    Permalink

    quotasApi

    the underlying Java SDK QuotasApi

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def delete(quotaName: String, options: Option[WriteOptions] = None): ServerResponse[Unit]

    Permalink

    Deletes a quota specification.

    Deletes a quota specification.

    quotaName

    the name of the quota to delete

    options

    options controlling how the request is performed

    See also

    DELETE /v1/quota/:name

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. def info(name: String, options: Option[ScalaQueryOptions[QuotaSpec]] = None): ServerQueryResponse[QuotaSpec]

    Permalink

    Queries a quota specification.

    Queries a quota specification.

    name

    name of the quota.

    options

    options controlling how the request is performed

    See also

    GET /v1/quota/:name

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def list(namePrefix: Option[String] = None, options: Option[ScalaQueryOptions[Seq[QuotaSpec]]] = None): ServerQueryResponse[Seq[QuotaSpec]]

    Permalink

    Lists quota specifications.

    Lists quota specifications.

    namePrefix

    a name prefix that, if given, restricts the results to only quotas having a name with this prefix

    options

    options controlling how the request is performed

    See also

    GET /v1/quotas

  15. def listUsage(namePrefix: Option[String] = None, options: Option[ScalaQueryOptions[Seq[QuotaUsage]]] = None): ServerQueryResponse[Seq[QuotaUsage]]

    Permalink

    Lists quota usages.

    Lists quota usages.

    namePrefix

    a name prefix that, if given, restricts the results to only quotas having a name with this prefix

    options

    options controlling how the request is performed

    See also

    GET /v1/quota-usages

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def register(quota: QuotaSpec, options: Option[WriteOptions] = None): ServerResponse[Unit]

    Permalink

    Registers or updates a quota.

    Registers or updates a quota.

    quota

    the quota to register

    options

    options controlling how the request is performed

    See also

    PUT /v1/quota

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. def usage(name: String, options: Option[ScalaQueryOptions[QuotaUsage]] = None): ServerQueryResponse[QuotaUsage]

    Permalink

    Queries a quota usage.

    Queries a quota usage.

    name

    name of the quota.

    options

    options controlling how the request is performed

    See also

    GET /v1/quota/:name

  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped