Struct aws_sdk_storagegateway::client::fluent_builders::JoinDomain [−][src]
pub struct JoinDomain<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to JoinDomain
.
Adds a file gateway to an Active Directory domain. This operation is only supported for file gateways that support the SMB file protocol.
Implementations
impl<C, M, R> JoinDomain<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> JoinDomain<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<JoinDomainOutput, SdkError<JoinDomainError>> where
R::Policy: SmithyRetryPolicy<JoinDomainInputOperationOutputAlias, JoinDomainOutput, JoinDomainError, JoinDomainInputOperationRetryAlias>,
pub async fn send(self) -> Result<JoinDomainOutput, SdkError<JoinDomainError>> where
R::Policy: SmithyRetryPolicy<JoinDomainInputOperationOutputAlias, JoinDomainOutput, JoinDomainError, JoinDomainInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
The name of the domain that you want the gateway to join.
The name of the domain that you want the gateway to join.
The organizational unit (OU) is a container in an Active Directory that can hold users, groups, computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.
The organizational unit (OU) is a container in an Active Directory that can hold users, groups, computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.
Appends an item to DomainControllers
.
To override the contents of this collection use set_domain_controllers
.
List of IPv4 addresses, NetBIOS names, or host names of your domain server. If you need
to specify the port number include it after the colon (“:”). For example,
mydc.mydomain.com:389
.
List of IPv4 addresses, NetBIOS names, or host names of your domain server. If you need
to specify the port number include it after the colon (“:”). For example,
mydc.mydomain.com:389
.
Specifies the time in seconds, in which the JoinDomain
operation must
complete. The default is 20 seconds.
Specifies the time in seconds, in which the JoinDomain
operation must
complete. The default is 20 seconds.
Sets the user name of user who has permission to add the gateway to the Active Directory domain. The domain user account should be enabled to join computers to the domain. For example, you can use the domain administrator account or an account with delegated permissions to join computers to the domain.
Sets the user name of user who has permission to add the gateway to the Active Directory domain. The domain user account should be enabled to join computers to the domain. For example, you can use the domain administrator account or an account with delegated permissions to join computers to the domain.
Sets the password of the user who has permission to add the gateway to the Active Directory domain.
Sets the password of the user who has permission to add the gateway to the Active Directory domain.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for JoinDomain<C, M, R>
impl<C, M, R> Unpin for JoinDomain<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for JoinDomain<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
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