Skip to content

Puts a resource launch action

Description

Puts a resource launch action.

Usage

drs_put_launch_action(resourceId, actionCode, order, actionId, optional,
  active, name, actionVersion, category, parameters, description)

Arguments

  • resourceId

    [required] Launch configuration template Id or Source Server Id

  • actionCode

    [required] Launch action code.

  • order

    [required] Launch action order.

  • actionId

    [required] Launch action Id.

  • optional

    [required] Whether the launch will not be marked as failed if this action fails.

  • active

    [required] Whether the launch action is active.

  • name

    [required] Launch action name.

  • actionVersion

    [required] Launch action version.

  • category

    [required] Launch action category.

  • parameters

    Launch action parameters.

  • description

    [required] Launch action description.

Value

A list with the following syntax:

list(
  resourceId = "string",
  actionId = "string",
  actionCode = "string",
  type = "SSM_AUTOMATION"|"SSM_COMMAND",
  name = "string",
  active = TRUE|FALSE,
  order = 123,
  actionVersion = "string",
  optional = TRUE|FALSE,
  parameters = list(
    list(
      value = "string",
      type = "SSM_STORE"|"DYNAMIC"
    )
  ),
  description = "string",
  category = "MONITORING"|"VALIDATION"|"CONFIGURATION"|"SECURITY"|"OTHER"
)

Request syntax

svc$put_launch_action(
  resourceId = "string",
  actionCode = "string",
  order = 123,
  actionId = "string",
  optional = TRUE|FALSE,
  active = TRUE|FALSE,
  name = "string",
  actionVersion = "string",
  category = "MONITORING"|"VALIDATION"|"CONFIGURATION"|"SECURITY"|"OTHER",
  parameters = list(
    list(
      value = "string",
      type = "SSM_STORE"|"DYNAMIC"
    )
  ),
  description = "string"
)