Skip to content

Create Standby Workspaces

workspaces_create_standby_workspaces R Documentation

Creates a standby WorkSpace in a secondary Region

Description

Creates a standby WorkSpace in a secondary Region.

Usage

workspaces_create_standby_workspaces(PrimaryRegion, StandbyWorkspaces)

Arguments

PrimaryRegion

[required] The Region of the primary WorkSpace.

StandbyWorkspaces

[required] Information about the standby WorkSpace to be created.

Value

A list with the following syntax:

list(
  FailedStandbyRequests = list(
    list(
      StandbyWorkspaceRequest = list(
        PrimaryWorkspaceId = "string",
        VolumeEncryptionKey = "string",
        DirectoryId = "string",
        Tags = list(
          list(
            Key = "string",
            Value = "string"
          )
        ),
        DataReplication = "NO_REPLICATION"|"PRIMARY_AS_SOURCE"
      ),
      ErrorCode = "string",
      ErrorMessage = "string"
    )
  ),
  PendingStandbyRequests = list(
    list(
      UserName = "string",
      DirectoryId = "string",
      State = "PENDING"|"AVAILABLE"|"IMPAIRED"|"UNHEALTHY"|"REBOOTING"|"STARTING"|"REBUILDING"|"RESTORING"|"MAINTENANCE"|"ADMIN_MAINTENANCE"|"TERMINATING"|"TERMINATED"|"SUSPENDED"|"UPDATING"|"STOPPING"|"STOPPED"|"ERROR",
      WorkspaceId = "string"
    )
  )
)

Request syntax

svc$create_standby_workspaces(
  PrimaryRegion = "string",
  StandbyWorkspaces = list(
    list(
      PrimaryWorkspaceId = "string",
      VolumeEncryptionKey = "string",
      DirectoryId = "string",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      DataReplication = "NO_REPLICATION"|"PRIMARY_AS_SOURCE"
    )
  )
)