T - the next stage of the definitionpublic static interface GroupableResource.DefinitionStages.WithNewResourceGroupWithRegion<T> extends GroupableResource.DefinitionStages.WithCreatableResourceGroup<T>
| Modifier and Type | Method and Description |
|---|---|
T |
withNewResourceGroup(Region region)
Creates a new resource group to put the resource in.
|
T |
withNewResourceGroup(String name,
Region region)
Creates a new resource group to put the resource in.
|
withNewResourceGroupT withNewResourceGroup(String name, Region region)
The group will be created in the same location as the resource.
name - the name of the new groupregion - the region where resource group needs to be createdT withNewResourceGroup(Region region)
The group will be created in the same location as the resource. The group's name is automatically derived from the resource's name.
region - the region where resource group needs to be created/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/