Struct rusoto_lightsail::InstanceAccessDetails
source · [−]pub struct InstanceAccessDetails {
pub cert_key: Option<String>,
pub expires_at: Option<f64>,
pub host_keys: Option<Vec<HostKeyAttributes>>,
pub instance_name: Option<String>,
pub ip_address: Option<String>,
pub password: Option<String>,
pub password_data: Option<PasswordData>,
pub private_key: Option<String>,
pub protocol: Option<String>,
pub username: Option<String>,
}
Expand description
The parameters for gaining temporary access to one of your Amazon Lightsail instances.
Fields
cert_key: Option<String>
For SSH access, the public key to use when accessing your instance For OpenSSH clients (e.g., command line SSH), you should save this value to tempkey-cert.pub
.
expires_at: Option<f64>
For SSH access, the date on which the temporary keys expire.
host_keys: Option<Vec<HostKeyAttributes>>
Describes the public SSH host keys or the RDP certificate.
instance_name: Option<String>
The name of this Amazon Lightsail instance.
ip_address: Option<String>
The public IP address of the Amazon Lightsail instance.
password: Option<String>
For RDP access, the password for your Amazon Lightsail instance. Password will be an empty string if the password for your new instance is not ready yet. When you create an instance, it can take up to 15 minutes for the instance to be ready.
If you create an instance using any key pair other than the default (LightsailDefaultKeyPair
), password
will always be an empty string.
If you change the Administrator password on the instance, Lightsail will continue to return the original password value. When accessing the instance using RDP, you need to manually enter the Administrator password after changing it from the default.
password_data: Option<PasswordData>
For a Windows Server-based instance, an object with the data you can use to retrieve your password. This is only needed if password
is empty and the instance is not new (and therefore the password is not ready yet). When you create an instance, it can take up to 15 minutes for the instance to be ready.
private_key: Option<String>
For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), you should save this value to tempkey
).
protocol: Option<String>
The protocol for these Amazon Lightsail instance access details.
username: Option<String>
The user name to use when logging in to the Amazon Lightsail instance.
Trait Implementations
sourceimpl Clone for InstanceAccessDetails
impl Clone for InstanceAccessDetails
sourcefn clone(&self) -> InstanceAccessDetails
fn clone(&self) -> InstanceAccessDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InstanceAccessDetails
impl Debug for InstanceAccessDetails
sourceimpl Default for InstanceAccessDetails
impl Default for InstanceAccessDetails
sourcefn default() -> InstanceAccessDetails
fn default() -> InstanceAccessDetails
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InstanceAccessDetails
impl<'de> Deserialize<'de> for InstanceAccessDetails
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<InstanceAccessDetails> for InstanceAccessDetails
impl PartialEq<InstanceAccessDetails> for InstanceAccessDetails
sourcefn eq(&self, other: &InstanceAccessDetails) -> bool
fn eq(&self, other: &InstanceAccessDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InstanceAccessDetails) -> bool
fn ne(&self, other: &InstanceAccessDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for InstanceAccessDetails
Auto Trait Implementations
impl RefUnwindSafe for InstanceAccessDetails
impl Send for InstanceAccessDetails
impl Sync for InstanceAccessDetails
impl Unpin for InstanceAccessDetails
impl UnwindSafe for InstanceAccessDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more