Interface GroupableResource.DefinitionStages.WithNewResourceGroup<T>
- Type Parameters:
T- the next stage of the definition
- All Superinterfaces:
GroupableResource.DefinitionStages.WithCreatableResourceGroup<T>
- All Known Subinterfaces:
GenericResource.Definition, GenericResource.DefinitionStages.WithGroup, GroupableResource.DefinitionStages.WithGroup<T>
- Enclosing interface:
GroupableResource.DefinitionStages
public static interface GroupableResource.DefinitionStages.WithNewResourceGroup<T>
extends GroupableResource.DefinitionStages.WithCreatableResourceGroup<T>
A resource definition allowing a new resource group to be created in the same
region as groupable resource.
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new resource group to put the resource in.withNewResourceGroup(String name) Creates a new resource group to put the resource in.Methods inherited from interface GroupableResource.DefinitionStages.WithCreatableResourceGroup
withNewResourceGroup
-
Method Details
-
withNewResourceGroup
-
withNewResourceGroup
T 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.
- Returns:
- the next stage of the definition
-