Delen via


IWithCreatableResourceGroup<T>.WithNewResourceGroup Method

Definition

Creates a new resource group to put the resource in, based on the definition specified.

public T WithNewResourceGroup (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup> groupDefinition);
abstract member WithNewResourceGroup : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup> -> 'T
Public Function WithNewResourceGroup (groupDefinition As ICreatable(Of IResourceGroup)) As T

Parameters

groupDefinition
ICreatable<IResourceGroup>

groupDefinition a creatable definition for a new resource group

Returns

T

the next stage of the resource definition

Applies to