GroupableResource.DefinitionStages.WithExistingResourceGroup<T> Interface

Type Parameters

T

the next stage of the definition

public static interface GroupableResource.DefinitionStages.WithExistingResourceGroup

A resource definition allowing an existing resource group to be selected.

Method Summary

Modifier and Type Method and Description
abstract T withExistingResourceGroup(ResourceGroup group)

Associates the resource with an existing resource group.

abstract T withExistingResourceGroup(String groupName)

Associates the resource with an existing resource group.

Method Details

withExistingResourceGroup

public abstract 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

withExistingResourceGroup

public abstract 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

Applies to