Skip to content

Updates directory configuration for the specified update type

Description

Updates directory configuration for the specified update type.

Usage

directoryservice_update_directory_setup(DirectoryId, UpdateType,
  OSUpdateSettings, DirectorySizeUpdateSettings, NetworkUpdateSettings,
  CreateSnapshotBeforeUpdate)

Arguments

  • DirectoryId

    [required] The identifier of the directory to update.

  • UpdateType

    [required] The type of update to perform on the directory.

  • OSUpdateSettings

    Operating system configuration to apply during the directory update operation.

  • DirectorySizeUpdateSettings

    Directory size configuration to apply during the update operation.

  • NetworkUpdateSettings

    Network configuration to apply during the directory update operation.

  • CreateSnapshotBeforeUpdate

    Specifies whether to create a directory snapshot before performing the update.

Value

An empty list.

Request syntax

svc$update_directory_setup(
  DirectoryId = "string",
  UpdateType = "OS"|"NETWORK"|"SIZE",
  OSUpdateSettings = list(
    OSVersion = "SERVER_2012"|"SERVER_2019"
  ),
  DirectorySizeUpdateSettings = list(
    DirectorySize = "Small"|"Large"
  ),
  NetworkUpdateSettings = list(
    NetworkType = "Dual-stack"|"IPv4"|"IPv6",
    CustomerDnsIpsV6 = list(
      "string"
    )
  ),
  CreateSnapshotBeforeUpdate = TRUE|FALSE
)