#[non_exhaustive]pub struct DescribeServersOutput {
pub servers: Option<Vec<Server>>,
pub next_token: Option<String>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.servers: Option<Vec<Server>>
Contains the response to a DescribeServers
request.
For Chef Automate servers: If DescribeServersResponse$Servers$EngineAttributes
includes CHEF_MAJOR_UPGRADE_AVAILABLE, you can upgrade the Chef Automate server to Chef Automate 2. To be eligible for upgrade, a server running Chef Automate 1 must have had at least one successful maintenance run after November 1, 2019.
For Puppet servers: DescribeServersResponse$Servers$EngineAttributes
contains the following two responses:
-
PUPPET_API_CA_CERT
, the PEM-encoded CA certificate that is used by the Puppet API over TCP port number 8140. The CA certificate is also used to sign node certificates. -
PUPPET_API_CRL
, a certificate revocation list. The certificate revocation list is for internal maintenance purposes only. For more information about the Puppet certificate revocation list, see Man Page: puppet certificate_revocation_list in the Puppet documentation.
next_token: Option<String>
This is not currently implemented for DescribeServers
requests.
Implementations§
source§impl DescribeServersOutput
impl DescribeServersOutput
sourcepub fn servers(&self) -> &[Server]
pub fn servers(&self) -> &[Server]
Contains the response to a DescribeServers
request.
For Chef Automate servers: If DescribeServersResponse$Servers$EngineAttributes
includes CHEF_MAJOR_UPGRADE_AVAILABLE, you can upgrade the Chef Automate server to Chef Automate 2. To be eligible for upgrade, a server running Chef Automate 1 must have had at least one successful maintenance run after November 1, 2019.
For Puppet servers: DescribeServersResponse$Servers$EngineAttributes
contains the following two responses:
-
PUPPET_API_CA_CERT
, the PEM-encoded CA certificate that is used by the Puppet API over TCP port number 8140. The CA certificate is also used to sign node certificates. -
PUPPET_API_CRL
, a certificate revocation list. The certificate revocation list is for internal maintenance purposes only. For more information about the Puppet certificate revocation list, see Man Page: puppet certificate_revocation_list in the Puppet documentation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .servers.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
This is not currently implemented for DescribeServers
requests.
source§impl DescribeServersOutput
impl DescribeServersOutput
sourcepub fn builder() -> DescribeServersOutputBuilder
pub fn builder() -> DescribeServersOutputBuilder
Creates a new builder-style object to manufacture DescribeServersOutput
.
Trait Implementations§
source§impl Clone for DescribeServersOutput
impl Clone for DescribeServersOutput
source§fn clone(&self) -> DescribeServersOutput
fn clone(&self) -> DescribeServersOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeServersOutput
impl Debug for DescribeServersOutput
source§impl PartialEq for DescribeServersOutput
impl PartialEq for DescribeServersOutput
source§fn eq(&self, other: &DescribeServersOutput) -> bool
fn eq(&self, other: &DescribeServersOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeServersOutput
impl RequestId for DescribeServersOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeServersOutput
Auto Trait Implementations§
impl Freeze for DescribeServersOutput
impl RefUnwindSafe for DescribeServersOutput
impl Send for DescribeServersOutput
impl Sync for DescribeServersOutput
impl Unpin for DescribeServersOutput
impl UnwindSafe for DescribeServersOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more