Rubrique précédente: Resource Group Methods

Rubrique suivante: AddResourceGroupByMap

AddResourceGroup

Description

This method adds a new resource group and returns the new resource group ID.

This method sets the first effective time (in the resource group) to the change set's default date.

Syntax

AddResourceGroup (ResourceGroupName, ChangeSetName, ResourceGroupDescription, Resources, Services, ContractParties)

Parameters

Name

Type

Description

ResourceGroupName

string

The name of the resource group.

ChangeSetName

string

The name of the change set.

ResourceGroupDescription

string

A description of the resource group. Can be empty.

Resources

string/map/null

Name of a resource or resource group, map of resources and resource groups (can be empty), or null.

Services

string/map/null

Name of a service, map of services (can be empty), or null.

ContractParties

string/map/null

Name of a contract party, map of contract party (can be empty), or null.

Return Value

The new resource group ID.

Remarks

All input objects must exist. This method fails if it is missing an input object.