Interface GroupableResource.DefinitionStages.WithExistingResourceGroup<T>
-
- Type Parameters:
T- the next stage of the definition
- All Known Subinterfaces:
Deployment.Definition,Deployment.DefinitionStages.Blank,Deployment.DefinitionStages.WithGroup,GenericResource.Definition,GenericResource.DefinitionStages.WithGroup,GroupableResource.DefinitionStages.WithGroup<T>,GroupableResource.DefinitionStages.WithGroupAndRegion<T>
- Enclosing interface:
- GroupableResource.DefinitionStages
public static interface GroupableResource.DefinitionStages.WithExistingResourceGroup<T>A resource definition allowing an existing resource group to be selected.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TwithExistingResourceGroup(ResourceGroup group)Associates the resource with an existing resource group.TwithExistingResourceGroup(String groupName)Associates the resource with an existing resource group.
-
-
-
Method Detail
-
withExistingResourceGroup
T withExistingResourceGroup(String groupName)
Associates the resource with an existing resource group.- Parameters:
groupName- the name of an existing resource group to put this resource in.- Returns:
- the next stage of the definition
-
withExistingResourceGroup
T withExistingResourceGroup(ResourceGroup group)
Associates the resource with an existing resource group.- Parameters:
group- an existing resource group to put the resource in- Returns:
- the next stage of the definition
-
-