WebApp.DefinitionStages.ExistingLinuxPlanWithGroup Interface

public interface ExistingLinuxPlanWithGroup

A web app definition allowing resource group to be specified when a new app service plan is to be created.

Method Summary

Modifier and Type Method and Description
WebApp.DefinitionStages.WithDockerContainerImage withExistingResourceGroup(ResourceGroup group)

Associates the resource with an existing resource group.

WebApp.DefinitionStages.WithDockerContainerImage withExistingResourceGroup(String groupName)

Associates the resource with an existing resource group.

WebApp.DefinitionStages.WithDockerContainerImage withNewResourceGroup()

Creates a new resource group to put the resource in.

The group will be created in the same location as the resource. The group's name is automatically derived from the resource's name.

WebApp.DefinitionStages.WithDockerContainerImage withNewResourceGroup(Creatable<ResourceGroup> groupDefinition)

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

WebApp.DefinitionStages.WithDockerContainerImage withNewResourceGroup(String name)

Creates a new resource group to put the resource in.

The group will be created in the same location as the resource.

Method Details

withExistingResourceGroup

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

withNewResourceGroup

public WithDockerContainerImage withNewResourceGroup()

Creates a new resource group to put the resource in.

The group will be created in the same location as the resource. The group's name is automatically derived from the resource's name.

Returns:

the next stage of the definition

withNewResourceGroup

public WithDockerContainerImage 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 WithDockerContainerImage withNewResourceGroup(String name)

Creates a new resource group to put the resource in.

The group will be created in the same location as the resource.

Parameters:

name - the name of the new group

Returns:

the next stage of the definition

Applies to