GroupableResource.DefinitionStages.WithExistingResourceGroup<T> Interface

Type Parameters

T

the next stage of the definition

public interface WithExistingResourceGroup

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

Method Summary

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

Associates the resource with an existing resource group.

T withExistingResourceGroup(String groupName)

Associates the resource with an existing resource group.

Method Details

withExistingResourceGroup

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