Delen via


IWithNewResourceGroupWithRegion<T>.WithNewResourceGroup Method

Definition

Overloads

WithNewResourceGroup(Region)

Creates a new resource group to put the resource in. The group will be created in the same location as the resource. The group's name is automatically derived from the resource's name.

WithNewResourceGroup(String, Region)

Creates a new resource group to put the resource in. The group will be created in the same location as the resource.

WithNewResourceGroup(Region)

Creates a new resource group to put the resource in. The group will be created in the same location as the resource. The group's name is automatically derived from the resource's name.

public T WithNewResourceGroup (Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region region);
abstract member WithNewResourceGroup : Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region -> 'T
Public Function WithNewResourceGroup (region As Region) As T

Parameters

region
Region

region the region where resource group needs to be created

Returns

T

the next stage of the resource definition

Applies to

WithNewResourceGroup(String, Region)

Creates a new resource group to put the resource in. The group will be created in the same location as the resource.

public T WithNewResourceGroup (string name, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region region);
abstract member WithNewResourceGroup : string * Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region -> 'T
Public Function WithNewResourceGroup (name As String, region As Region) As T

Parameters

name
String

name the name of the new group

region
Region

region the region where resource group needs to be created

Returns

T

the next stage of the resource definition

Applies to