Interface GroupableResource.DefinitionStages.WithNewResourceGroupWithRegion<T>
- Type Parameters:
T- the next stage of the definition
- All Superinterfaces:
GroupableResource.DefinitionStages.WithCreatableResourceGroup<T>
- All Known Subinterfaces:
GroupableResource.DefinitionStages.WithGroupAndRegion<T>
- Enclosing interface:
GroupableResource.DefinitionStages
public static interface GroupableResource.DefinitionStages.WithNewResourceGroupWithRegion<T>
extends GroupableResource.DefinitionStages.WithCreatableResourceGroup<T>
A resource definition allowing a new resource group to be created in a different
region .
-
Method Summary
Modifier and TypeMethodDescriptionwithNewResourceGroup(com.azure.core.management.Region region) Creates a new resource group to put the resource in.withNewResourceGroup(String name, com.azure.core.management.Region region) Creates a new resource group to put the resource in.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.GroupableResource.DefinitionStages.WithCreatableResourceGroup
withNewResourceGroup
-
Method Details
-
withNewResourceGroup
Creates a new resource group to put the resource in.The group will be created in the same location as the resource.
- Parameters:
name- the name of the new groupregion- the region where resource group needs to be created- Returns:
- the next stage of the definition
-
withNewResourceGroup
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.
- Parameters:
region- the region where resource group needs to be created- Returns:
- the next stage of the definition
-