Skip to content

Describe Update Directory

directoryservice_describe_update_directory R Documentation

Describes the updates of a directory for a particular update type

Description

Describes the updates of a directory for a particular update type.

Usage

directoryservice_describe_update_directory(DirectoryId, UpdateType,
  RegionName, NextToken)

Arguments

DirectoryId

[required] The unique identifier of the directory.

UpdateType

[required] The type of updates you want to describe for the directory.

RegionName

The name of the Region.

NextToken

The DescribeUpdateDirectoryResult. NextToken value from a previous call to describe_update_directory. Pass null if this is the first call.

Value

A list with the following syntax:

list(
  UpdateActivities = list(
    list(
      Region = "string",
      Status = "Updated"|"Updating"|"UpdateFailed",
      StatusReason = "string",
      InitiatedBy = "string",
      NewValue = list(
        OSUpdateSettings = list(
          OSVersion = "SERVER_2012"|"SERVER_2019"
        )
      ),
      PreviousValue = list(
        OSUpdateSettings = list(
          OSVersion = "SERVER_2012"|"SERVER_2019"
        )
      ),
      StartTime = as.POSIXct(
        "2015-01-01"
      ),
      LastUpdatedDateTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_update_directory(
  DirectoryId = "string",
  UpdateType = "OS",
  RegionName = "string",
  NextToken = "string"
)