GroupableResource.DefinitionStages.WithNewResourceGroupWithRegion<T>.withNewResourceGroup 方法

定义

重载

withNewResourceGroup(Region 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 name, Region 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 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(Region region)

参数

region
Region

the region where resource group needs to be created

返回

T

the next stage of the definition

withNewResourceGroup(String name, Region 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, Region region)

参数

name
String

the name of the new group

region
Region

the region where resource group needs to be created

返回

T

the next stage of the definition

适用于