1. Registry
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. resourcemanager
  6. ResourceGroupSettings
Viewing docs for Alibaba Cloud v3.106.0
published on Monday, Aug 24, 2026 by Pulumi
alicloud logo alicloud logo
Viewing docs for Alibaba Cloud v3.106.0
published on Monday, Aug 24, 2026 by Pulumi

    Provides a Resource Manager Resource Group Settings resource.

    Resource group product feature settings, such as automatic group transfer, resource group administrator, and default resource group transfer notification.

    For information about Resource Manager Resource Group Settings and how to use it, see What is Resource Group Settings.

    NOTE: Available since v1.287.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const _default = new alicloud.resourcemanager.ResourceGroupSettings("default", {
        resourceGroupAdminSettingStatus: true,
        resourceGroupNotificationSettingStatus: true,
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    default = alicloud.resourcemanager.ResourceGroupSettings("default",
        resource_group_admin_setting_status=True,
        resource_group_notification_setting_status=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := resourcemanager.NewResourceGroupSettings(ctx, "default", &resourcemanager.ResourceGroupSettingsArgs{
    			ResourceGroupAdminSettingStatus:        pulumi.Bool(true),
    			ResourceGroupNotificationSettingStatus: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new AliCloud.ResourceManager.ResourceGroupSettings("default", new()
        {
            ResourceGroupAdminSettingStatus = true,
            ResourceGroupNotificationSettingStatus = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.resourcemanager.ResourceGroupSettings;
    import com.pulumi.alicloud.resourcemanager.ResourceGroupSettingsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var default_ = new ResourceGroupSettings("default", ResourceGroupSettingsArgs.builder()
                .resourceGroupAdminSettingStatus(true)
                .resourceGroupNotificationSettingStatus(true)
                .build());
    
        }
    }
    
    resources:
      default:
        type: alicloud:resourcemanager:ResourceGroupSettings
        properties:
          resourceGroupAdminSettingStatus: true
          resourceGroupNotificationSettingStatus: true
    
    pulumi {
      required_providers {
        alicloud = {
          source = "pulumi/alicloud"
        }
      }
    }
    
    resource "alicloud_resourcemanager_resourcegroupsettings" "default" {
      resource_group_admin_setting_status        = true
      resource_group_notification_setting_status = true
    }
    

    Deleting alicloud.resourcemanager.ResourceGroupSettings or removing it from your configuration

    Terraform cannot destroy resource alicloud.resourcemanager.ResourceGroupSettings. Terraform will remove this resource from the state file, however resources may remain.

    📚 Need more examples? VIEW MORE EXAMPLES

    Create ResourceGroupSettings Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ResourceGroupSettings(name: string, args: ResourceGroupSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def ResourceGroupSettings(resource_name: str,
                              args: ResourceGroupSettingsArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResourceGroupSettings(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              resource_group_admin_setting_status: Optional[bool] = None,
                              resource_group_notification_setting_status: Optional[bool] = None)
    func NewResourceGroupSettings(ctx *Context, name string, args ResourceGroupSettingsArgs, opts ...ResourceOption) (*ResourceGroupSettings, error)
    public ResourceGroupSettings(string name, ResourceGroupSettingsArgs args, CustomResourceOptions? opts = null)
    public ResourceGroupSettings(String name, ResourceGroupSettingsArgs args)
    public ResourceGroupSettings(String name, ResourceGroupSettingsArgs args, CustomResourceOptions options)
    
    type: alicloud:resourcemanager:ResourceGroupSettings
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "alicloud_resourcemanager_resource_group_settings" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ResourceGroupSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ResourceGroupSettingsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ResourceGroupSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResourceGroupSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResourceGroupSettingsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var resourceGroupSettingsResource = new AliCloud.ResourceManager.ResourceGroupSettings("resourceGroupSettingsResource", new()
    {
        ResourceGroupAdminSettingStatus = false,
        ResourceGroupNotificationSettingStatus = false,
    });
    
    example, err := resourcemanager.NewResourceGroupSettings(ctx, "resourceGroupSettingsResource", &resourcemanager.ResourceGroupSettingsArgs{
    	ResourceGroupAdminSettingStatus:        pulumi.Bool(false),
    	ResourceGroupNotificationSettingStatus: pulumi.Bool(false),
    })
    
    resource "alicloud_resourcemanager_resource_group_settings" "resourceGroupSettingsResource" {
      lifecycle {
        create_before_destroy = true
      }
      resource_group_admin_setting_status        = false
      resource_group_notification_setting_status = false
    }
    
    var resourceGroupSettingsResource = new ResourceGroupSettings("resourceGroupSettingsResource", ResourceGroupSettingsArgs.builder()
        .resourceGroupAdminSettingStatus(false)
        .resourceGroupNotificationSettingStatus(false)
        .build());
    
    resource_group_settings_resource = alicloud.resourcemanager.ResourceGroupSettings("resourceGroupSettingsResource",
        resource_group_admin_setting_status=False,
        resource_group_notification_setting_status=False)
    
    const resourceGroupSettingsResource = new alicloud.resourcemanager.ResourceGroupSettings("resourceGroupSettingsResource", {
        resourceGroupAdminSettingStatus: false,
        resourceGroupNotificationSettingStatus: false,
    });
    
    type: alicloud:resourcemanager:ResourceGroupSettings
    properties:
        resourceGroupAdminSettingStatus: false
        resourceGroupNotificationSettingStatus: false
    

    ResourceGroupSettings Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ResourceGroupSettings resource accepts the following input properties:

    ResourceGroupAdminSettingStatus bool
    Specifies whether to designate the resource creator as the administrator of the resource group. When enabled, the user who creates a resource is automatically set as the administrator of the resource group that the resource belongs to. This maps to the CreatorAsAdmin parameter of the UpdateResourceGroupAdminSetting API.
    ResourceGroupNotificationSettingStatus bool
    Specifies whether to enable notifications when resources are automatically transferred to the default resource group. When enabled, a notification is sent upon automatic transfer of resources to the default resource group. This maps to the ResourceGroupNotificationEnableStatus field returned by GetResourceGroupNotificationSetting, and is toggled through the EnableResourceGroupNotification and DisableResourceGroupNotification APIs.
    ResourceGroupAdminSettingStatus bool
    Specifies whether to designate the resource creator as the administrator of the resource group. When enabled, the user who creates a resource is automatically set as the administrator of the resource group that the resource belongs to. This maps to the CreatorAsAdmin parameter of the UpdateResourceGroupAdminSetting API.
    ResourceGroupNotificationSettingStatus bool
    Specifies whether to enable notifications when resources are automatically transferred to the default resource group. When enabled, a notification is sent upon automatic transfer of resources to the default resource group. This maps to the ResourceGroupNotificationEnableStatus field returned by GetResourceGroupNotificationSetting, and is toggled through the EnableResourceGroupNotification and DisableResourceGroupNotification APIs.
    resource_group_admin_setting_status bool
    Specifies whether to designate the resource creator as the administrator of the resource group. When enabled, the user who creates a resource is automatically set as the administrator of the resource group that the resource belongs to. This maps to the CreatorAsAdmin parameter of the UpdateResourceGroupAdminSetting API.
    resource_group_notification_setting_status bool
    Specifies whether to enable notifications when resources are automatically transferred to the default resource group. When enabled, a notification is sent upon automatic transfer of resources to the default resource group. This maps to the ResourceGroupNotificationEnableStatus field returned by GetResourceGroupNotificationSetting, and is toggled through the EnableResourceGroupNotification and DisableResourceGroupNotification APIs.
    resourceGroupAdminSettingStatus Boolean
    Specifies whether to designate the resource creator as the administrator of the resource group. When enabled, the user who creates a resource is automatically set as the administrator of the resource group that the resource belongs to. This maps to the CreatorAsAdmin parameter of the UpdateResourceGroupAdminSetting API.
    resourceGroupNotificationSettingStatus Boolean
    Specifies whether to enable notifications when resources are automatically transferred to the default resource group. When enabled, a notification is sent upon automatic transfer of resources to the default resource group. This maps to the ResourceGroupNotificationEnableStatus field returned by GetResourceGroupNotificationSetting, and is toggled through the EnableResourceGroupNotification and DisableResourceGroupNotification APIs.
    resourceGroupAdminSettingStatus boolean
    Specifies whether to designate the resource creator as the administrator of the resource group. When enabled, the user who creates a resource is automatically set as the administrator of the resource group that the resource belongs to. This maps to the CreatorAsAdmin parameter of the UpdateResourceGroupAdminSetting API.
    resourceGroupNotificationSettingStatus boolean
    Specifies whether to enable notifications when resources are automatically transferred to the default resource group. When enabled, a notification is sent upon automatic transfer of resources to the default resource group. This maps to the ResourceGroupNotificationEnableStatus field returned by GetResourceGroupNotificationSetting, and is toggled through the EnableResourceGroupNotification and DisableResourceGroupNotification APIs.
    resource_group_admin_setting_status bool
    Specifies whether to designate the resource creator as the administrator of the resource group. When enabled, the user who creates a resource is automatically set as the administrator of the resource group that the resource belongs to. This maps to the CreatorAsAdmin parameter of the UpdateResourceGroupAdminSetting API.
    resource_group_notification_setting_status bool
    Specifies whether to enable notifications when resources are automatically transferred to the default resource group. When enabled, a notification is sent upon automatic transfer of resources to the default resource group. This maps to the ResourceGroupNotificationEnableStatus field returned by GetResourceGroupNotificationSetting, and is toggled through the EnableResourceGroupNotification and DisableResourceGroupNotification APIs.
    resourceGroupAdminSettingStatus Boolean
    Specifies whether to designate the resource creator as the administrator of the resource group. When enabled, the user who creates a resource is automatically set as the administrator of the resource group that the resource belongs to. This maps to the CreatorAsAdmin parameter of the UpdateResourceGroupAdminSetting API.
    resourceGroupNotificationSettingStatus Boolean
    Specifies whether to enable notifications when resources are automatically transferred to the default resource group. When enabled, a notification is sent upon automatic transfer of resources to the default resource group. This maps to the ResourceGroupNotificationEnableStatus field returned by GetResourceGroupNotificationSetting, and is toggled through the EnableResourceGroupNotification and DisableResourceGroupNotification APIs.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ResourceGroupSettings resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ResourceGroupSettings Resource

    Get an existing ResourceGroupSettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ResourceGroupSettingsState, opts?: CustomResourceOptions): ResourceGroupSettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            resource_group_admin_setting_status: Optional[bool] = None,
            resource_group_notification_setting_status: Optional[bool] = None) -> ResourceGroupSettings
    func GetResourceGroupSettings(ctx *Context, name string, id IDInput, state *ResourceGroupSettingsState, opts ...ResourceOption) (*ResourceGroupSettings, error)
    public static ResourceGroupSettings Get(string name, Input<string> id, ResourceGroupSettingsState? state, CustomResourceOptions? opts = null)
    public static ResourceGroupSettings get(String name, Output<String> id, ResourceGroupSettingsState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:resourcemanager:ResourceGroupSettings    get:      id: ${id}
    import {
      to = alicloud_resourcemanager_resource_group_settings.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ResourceGroupAdminSettingStatus bool
    Specifies whether to designate the resource creator as the administrator of the resource group. When enabled, the user who creates a resource is automatically set as the administrator of the resource group that the resource belongs to. This maps to the CreatorAsAdmin parameter of the UpdateResourceGroupAdminSetting API.
    ResourceGroupNotificationSettingStatus bool
    Specifies whether to enable notifications when resources are automatically transferred to the default resource group. When enabled, a notification is sent upon automatic transfer of resources to the default resource group. This maps to the ResourceGroupNotificationEnableStatus field returned by GetResourceGroupNotificationSetting, and is toggled through the EnableResourceGroupNotification and DisableResourceGroupNotification APIs.
    ResourceGroupAdminSettingStatus bool
    Specifies whether to designate the resource creator as the administrator of the resource group. When enabled, the user who creates a resource is automatically set as the administrator of the resource group that the resource belongs to. This maps to the CreatorAsAdmin parameter of the UpdateResourceGroupAdminSetting API.
    ResourceGroupNotificationSettingStatus bool
    Specifies whether to enable notifications when resources are automatically transferred to the default resource group. When enabled, a notification is sent upon automatic transfer of resources to the default resource group. This maps to the ResourceGroupNotificationEnableStatus field returned by GetResourceGroupNotificationSetting, and is toggled through the EnableResourceGroupNotification and DisableResourceGroupNotification APIs.
    resource_group_admin_setting_status bool
    Specifies whether to designate the resource creator as the administrator of the resource group. When enabled, the user who creates a resource is automatically set as the administrator of the resource group that the resource belongs to. This maps to the CreatorAsAdmin parameter of the UpdateResourceGroupAdminSetting API.
    resource_group_notification_setting_status bool
    Specifies whether to enable notifications when resources are automatically transferred to the default resource group. When enabled, a notification is sent upon automatic transfer of resources to the default resource group. This maps to the ResourceGroupNotificationEnableStatus field returned by GetResourceGroupNotificationSetting, and is toggled through the EnableResourceGroupNotification and DisableResourceGroupNotification APIs.
    resourceGroupAdminSettingStatus Boolean
    Specifies whether to designate the resource creator as the administrator of the resource group. When enabled, the user who creates a resource is automatically set as the administrator of the resource group that the resource belongs to. This maps to the CreatorAsAdmin parameter of the UpdateResourceGroupAdminSetting API.
    resourceGroupNotificationSettingStatus Boolean
    Specifies whether to enable notifications when resources are automatically transferred to the default resource group. When enabled, a notification is sent upon automatic transfer of resources to the default resource group. This maps to the ResourceGroupNotificationEnableStatus field returned by GetResourceGroupNotificationSetting, and is toggled through the EnableResourceGroupNotification and DisableResourceGroupNotification APIs.
    resourceGroupAdminSettingStatus boolean
    Specifies whether to designate the resource creator as the administrator of the resource group. When enabled, the user who creates a resource is automatically set as the administrator of the resource group that the resource belongs to. This maps to the CreatorAsAdmin parameter of the UpdateResourceGroupAdminSetting API.
    resourceGroupNotificationSettingStatus boolean
    Specifies whether to enable notifications when resources are automatically transferred to the default resource group. When enabled, a notification is sent upon automatic transfer of resources to the default resource group. This maps to the ResourceGroupNotificationEnableStatus field returned by GetResourceGroupNotificationSetting, and is toggled through the EnableResourceGroupNotification and DisableResourceGroupNotification APIs.
    resource_group_admin_setting_status bool
    Specifies whether to designate the resource creator as the administrator of the resource group. When enabled, the user who creates a resource is automatically set as the administrator of the resource group that the resource belongs to. This maps to the CreatorAsAdmin parameter of the UpdateResourceGroupAdminSetting API.
    resource_group_notification_setting_status bool
    Specifies whether to enable notifications when resources are automatically transferred to the default resource group. When enabled, a notification is sent upon automatic transfer of resources to the default resource group. This maps to the ResourceGroupNotificationEnableStatus field returned by GetResourceGroupNotificationSetting, and is toggled through the EnableResourceGroupNotification and DisableResourceGroupNotification APIs.
    resourceGroupAdminSettingStatus Boolean
    Specifies whether to designate the resource creator as the administrator of the resource group. When enabled, the user who creates a resource is automatically set as the administrator of the resource group that the resource belongs to. This maps to the CreatorAsAdmin parameter of the UpdateResourceGroupAdminSetting API.
    resourceGroupNotificationSettingStatus Boolean
    Specifies whether to enable notifications when resources are automatically transferred to the default resource group. When enabled, a notification is sent upon automatic transfer of resources to the default resource group. This maps to the ResourceGroupNotificationEnableStatus field returned by GetResourceGroupNotificationSetting, and is toggled through the EnableResourceGroupNotification and DisableResourceGroupNotification APIs.

    Import

    Resource Manager Resource Group Settings can be imported using the id, e.g.

    $ terraform import alicloud_resource_manager_resource_group_settings.example <Alibaba Cloud Account ID>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo alicloud logo
    Viewing docs for Alibaba Cloud v3.106.0
    published on Monday, Aug 24, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial