Skip to content

Update Directory Setup

directoryservice_update_directory_setup R Documentation

Updates the directory for a particular update type

Description

Updates the directory for a particular update type.

Usage

directoryservice_update_directory_setup(DirectoryId, UpdateType,
  OSUpdateSettings, CreateSnapshotBeforeUpdate)

Arguments

DirectoryId

[required] The identifier of the directory on which you want to perform the update.

UpdateType

[required] The type of update that needs to be performed on the directory. For example, OS.

OSUpdateSettings

The settings for the OS update that needs to be performed on the directory.

CreateSnapshotBeforeUpdate

The boolean that specifies if a snapshot for the directory needs to be taken before updating the directory.

Value

An empty list.

Request syntax

svc$update_directory_setup(
  DirectoryId = "string",
  UpdateType = "OS",
  OSUpdateSettings = list(
    OSVersion = "SERVER_2012"|"SERVER_2019"
  ),
  CreateSnapshotBeforeUpdate = TRUE|FALSE
)