Deployment.DefinitionStages.WithGroup Interface

Implements

public static interface Deployment.DefinitionStages.WithGroup
extends WithExistingResourceGroup<WithTemplate>

A deployment definition allowing resource group to be specified.

Method Summary

Modifier and Type Method and Description
abstract WithTemplate withNewResourceGroup(Creatable<ResourceGroup> groupDefinition)

Creates a new resource group to put the resource in, based on the definition specified.

abstract WithTemplate withNewResourceGroup(String name, Region region)

Creates a new resource group to put the deployment in.

Method Details

withNewResourceGroup

public abstract Deployment.DefinitionStages.WithTemplate withNewResourceGroup(Creatable 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

withNewResourceGroup

public abstract Deployment.DefinitionStages.WithTemplate withNewResourceGroup(String name, Region region)

Creates a new resource group to put the deployment in.

Parameters:

name - the name of the new group
region - the region to create the resource group in

Returns:

the next stage of the definition

Applies to