你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FunctionApp.DefinitionStages.NewAppServicePlanWithGroup Interface
public interface NewAppServicePlanWithGroup
A function 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 |
---|---|
Function |
withExistingResourceGroup(ResourceGroup group)
Associates the resource with an existing resource group. |
Function |
withExistingResourceGroup(String groupName)
Associates the resource with an existing resource group. |
Function |
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. |
Function |
withNewResourceGroup(Creatable<ResourceGroup> groupDefinition)
Creates a new resource group to put the resource in, based on the definition specified. |
Function |
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 WithCreate withExistingResourceGroup(ResourceGroup group)
Associates the resource with an existing resource group.
Parameters:
Returns:
withExistingResourceGroup
public WithCreate withExistingResourceGroup(String groupName)
Associates the resource with an existing resource group.
Parameters:
Returns:
withNewResourceGroup
public WithCreate 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:
withNewResourceGroup
public WithCreate withNewResourceGroup(Creatable
Creates a new resource group to put the resource in, based on the definition specified.
Parameters:
Returns:
withNewResourceGroup
public WithCreate 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:
Returns: