Struct aws_sdk_storagegateway::operation::describe_chap_credentials::DescribeChapCredentialsOutput
source · #[non_exhaustive]pub struct DescribeChapCredentialsOutput {
pub chap_credentials: Option<Vec<ChapInfo>>,
/* private fields */
}Expand description
A JSON object containing the following 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.chap_credentials: Option<Vec<ChapInfo>>An array of ChapInfo objects that represent CHAP credentials. Each object in the array contains CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty array is returned. CHAP credential information is provided in a JSON object with the following fields:
-
InitiatorName: The iSCSI initiator that connects to the target.
-
SecretToAuthenticateInitiator: The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
-
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
-
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
Implementations§
source§impl DescribeChapCredentialsOutput
impl DescribeChapCredentialsOutput
sourcepub fn chap_credentials(&self) -> &[ChapInfo]
pub fn chap_credentials(&self) -> &[ChapInfo]
An array of ChapInfo objects that represent CHAP credentials. Each object in the array contains CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty array is returned. CHAP credential information is provided in a JSON object with the following fields:
-
InitiatorName: The iSCSI initiator that connects to the target.
-
SecretToAuthenticateInitiator: The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
-
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
-
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .chap_credentials.is_none().
source§impl DescribeChapCredentialsOutput
impl DescribeChapCredentialsOutput
sourcepub fn builder() -> DescribeChapCredentialsOutputBuilder
pub fn builder() -> DescribeChapCredentialsOutputBuilder
Creates a new builder-style object to manufacture DescribeChapCredentialsOutput.
Trait Implementations§
source§impl Clone for DescribeChapCredentialsOutput
impl Clone for DescribeChapCredentialsOutput
source§fn clone(&self) -> DescribeChapCredentialsOutput
fn clone(&self) -> DescribeChapCredentialsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for DescribeChapCredentialsOutput
impl PartialEq for DescribeChapCredentialsOutput
source§fn eq(&self, other: &DescribeChapCredentialsOutput) -> bool
fn eq(&self, other: &DescribeChapCredentialsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DescribeChapCredentialsOutput
impl RequestId for DescribeChapCredentialsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.