Skip to content

Update Account Settings

resourcegroups_update_account_settings R Documentation

Turns on or turns off optional features in Resource Groups

Description

Turns on or turns off optional features in Resource Groups.

The preceding example shows that the request to turn on group lifecycle events is IN_PROGRESS. You can call the get_account_settings operation to check for completion by looking for GroupLifecycleEventsStatus to change to ACTIVE.

Usage

resourcegroups_update_account_settings(
  GroupLifecycleEventsDesiredStatus)

Arguments

GroupLifecycleEventsDesiredStatus

Specifies whether you want to turn group lifecycle events on or off.

Value

A list with the following syntax:

list(
  AccountSettings = list(
    GroupLifecycleEventsDesiredStatus = "ACTIVE"|"INACTIVE",
    GroupLifecycleEventsStatus = "ACTIVE"|"INACTIVE"|"IN_PROGRESS"|"ERROR",
    GroupLifecycleEventsStatusMessage = "string"
  )
)

Request syntax

svc$update_account_settings(
  GroupLifecycleEventsDesiredStatus = "ACTIVE"|"INACTIVE"
)