Skip to content

Update Number Of Domain Controllers

directoryservice_update_number_of_domain_controllers R Documentation

Adds or removes domain controllers to or from the directory

Description

Adds or removes domain controllers to or from the directory. Based on the difference between current value and new value (provided through this API call), domain controllers will be added or removed. It may take up to 45 minutes for any new domain controllers to become fully active once the requested number of domain controllers is updated. During this time, you cannot make another update request.

Usage

directoryservice_update_number_of_domain_controllers(DirectoryId,
  DesiredNumber)

Arguments

DirectoryId

[required] Identifier of the directory to which the domain controllers will be added or removed.

DesiredNumber

[required] The number of domain controllers desired in the directory.

Value

An empty list.

Request syntax

svc$update_number_of_domain_controllers(
  DirectoryId = "string",
  DesiredNumber = 123
)