public static interface Deployment.DefinitionStages.WithGroup extends GroupableResource.DefinitionStages.WithExistingResourceGroup<Deployment.DefinitionStages.WithTemplate>
Modifier and Type | Method and Description |
---|---|
Deployment.DefinitionStages.WithTemplate |
withNewResourceGroup(Creatable<ResourceGroup> groupDefinition)
Creates a new resource group to put the resource in, based on the definition specified.
|
Deployment.DefinitionStages.WithTemplate |
withNewResourceGroup(String name,
Region region)
Creates a new resource group to put the deployment in.
|
withExistingResourceGroup, withExistingResourceGroup
Deployment.DefinitionStages.WithTemplate withNewResourceGroup(String name, Region region)
name
- the name of the new groupregion
- the region to create the resource group inDeployment.DefinitionStages.WithTemplate withNewResourceGroup(Creatable<ResourceGroup> groupDefinition)
groupDefinition
- a creatable definition for a new resource groupCopyright © 2019. All rights reserved.