Interface Deployment.DefinitionStages.WithGroup
- All Superinterfaces:
GroupableResource.DefinitionStages.WithExistingResourceGroup<Deployment.DefinitionStages.WithTemplate>
- All Known Subinterfaces:
Deployment.Definition
,Deployment.DefinitionStages.Blank
- Enclosing interface:
- Deployment.DefinitionStages
public static interface Deployment.DefinitionStages.WithGroup
extends GroupableResource.DefinitionStages.WithExistingResourceGroup<Deployment.DefinitionStages.WithTemplate>
A deployment definition allowing resource group to be specified.
-
Method Summary
Modifier and TypeMethodDescriptionwithNewResourceGroup
(Creatable<ResourceGroup> groupDefinition) Creates a new resource group to put the resource in, based on the definition specified.withNewResourceGroup
(String name, Region region) Creates a new resource group to put the deployment in.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource.DefinitionStages.WithExistingResourceGroup
withExistingResourceGroup, withExistingResourceGroup
-
Method Details
-
withNewResourceGroup
Creates a new resource group to put the deployment in.- Parameters:
name
- the name of the new groupregion
- the region to create the resource group in- Returns:
- the next stage of the definition
-
withNewResourceGroup
Deployment.DefinitionStages.WithTemplate withNewResourceGroup(Creatable<ResourceGroup> groupDefinition) Creates a new resource group to put the resource in, based on the definition specified.- Parameters:
groupDefinition
- a creatable definition for a new resource group- Returns:
- the next stage of the definition
-