Udostępnij za pośrednictwem


INewAppServicePlanWithGroup.WithNewResourceGroup Method

Definition

Overloads

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.

WithNewResourceGroup(ICreatable<IResourceGroup>)

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

WithNewResourceGroup(String)

Creates a new resource group to put the resource in. The group will be created in the same location as the resource.

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.

public Microsoft.Azure.Management.AppService.Fluent.FunctionApp.Definition.IWithCreate WithNewResourceGroup ();
abstract member WithNewResourceGroup : unit -> Microsoft.Azure.Management.AppService.Fluent.FunctionApp.Definition.IWithCreate
Public Function WithNewResourceGroup () As IWithCreate

Returns

Applies to

WithNewResourceGroup(ICreatable<IResourceGroup>)

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

public Microsoft.Azure.Management.AppService.Fluent.FunctionApp.Definition.IWithCreate WithNewResourceGroup (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup> groupDefinition);
abstract member WithNewResourceGroup : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup> -> Microsoft.Azure.Management.AppService.Fluent.FunctionApp.Definition.IWithCreate
Public Function WithNewResourceGroup (groupDefinition As ICreatable(Of IResourceGroup)) As IWithCreate

Parameters

groupDefinition
ICreatable<IResourceGroup>

A creatable definition for a new resource group.

Returns

Applies to

WithNewResourceGroup(String)

Creates a new resource group to put the resource in. The group will be created in the same location as the resource.

public Microsoft.Azure.Management.AppService.Fluent.FunctionApp.Definition.IWithCreate WithNewResourceGroup (string name);
abstract member WithNewResourceGroup : string -> Microsoft.Azure.Management.AppService.Fluent.FunctionApp.Definition.IWithCreate
Public Function WithNewResourceGroup (name As String) As IWithCreate

Parameters

name
String

The name of the new group.

Returns

Applies to