pub struct Client { /* private fields */ }
Expand description

Entrypoint for interacting with the API client.

Implementations

Create a new Client struct. It takes a type that can convert into an &str (String or Vec<u8> for example). As long as the function is given a valid API key your requests will work.

Create a new Client struct from environment variables: OXIDE_TOKEN and OXIDE_HOST.

Virtual disks are used to store instance-local data which includes the operating system.

FROM: http://oxide.computer/docs/#xxx

Firewall operation controls the flow of network data into a VPC.

FROM: http://oxide.computer/docs/#xxx

TODO operations that will not ship to customers.

FROM: http://oxide.computer/docs/#xxx

Images are read-only Virtual Disks that may be used to boot Virtual Machines.

FROM: http://oxide.computer/docs/#xxx

Images are read-only Virtual Disks that may be used to boot Virtual Machines. These images are scoped globally.

FROM: http://oxide.computer/docs/#xxx

Virtual machine instances are the basic unit of computation. These operations are used for provisioning, controlling, and destroying instances.

FROM: http://oxide.computer/docs/#xxx

IP Pools contain external IP addresses that can be assigned to virtual machine Instances.

FROM: http://oxide.computer/docs/#xxx

Authentication endpoints.

FROM: http://oxide.computer/docs/#xxx

Metrics provide insight into the operation of the Oxide deployment. These include telemetry on hardware and software components that can be used to understand the current state as well as to diagnose issues.

FROM: http://oxide.computer/docs/#xxx

Organizations represent a subset of users and projects in an Oxide deployment.

FROM: http://oxide.computer/docs/#xxx

System-wide IAM policy.

FROM: http://oxide.computer/docs/#xxx

Projects are a grouping of associated resources such as instances and disks within an organization for purposes of billing and access control.

FROM: http://oxide.computer/docs/#xxx

These operations pertain to hardware inventory and management. Racks are the unit of expansion of an Oxide deployment. Racks are in turn composed of sleds, switches, power supplies, and a cabled backplane.

FROM: http://oxide.computer/docs/#xxx

Roles are a component of Identity and Access Management (IAM) that allow a user or agent account access to additional permissions.

FROM: http://oxide.computer/docs/#xxx

Routers direct the flow of network traffic into, out of, and within a VPC via routes.

FROM: http://oxide.computer/docs/#xxx

Routes define router policy.

FROM: http://oxide.computer/docs/#xxx

Sagas are the abstraction used to represent multi-step operations within the Oxide deployment. These operations can be used to query saga status and report errors.

FROM: http://oxide.computer/docs/#xxx

Silos represent a logical partition of users and resources.

FROM: http://oxide.computer/docs/#xxx

This tag should be moved into hardware.

FROM: http://oxide.computer/docs/#xxx

Snapshots of Virtual Disks at a particular point in time.

FROM: http://oxide.computer/docs/#xxx

Public SSH keys for an individual user.

FROM: http://oxide.computer/docs/#xxx

This tag should be moved into a generic network tag.

FROM: http://oxide.computer/docs/#xxx

Internal system information.

FROM: http://oxide.computer/docs/#xxx

This tag should be moved into a operations tag.

FROM: http://oxide.computer/docs/#xxx

A Virtual Private Cloud (VPC) is an isolated network environment that should probaby be moved into a more generic networking tag.

FROM: http://oxide.computer/docs/#xxx

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more