Sdílet prostřednictvím


IWithExistingResourceGroup<T>.WithExistingResourceGroup Method

Definition

Overloads

WithExistingResourceGroup(IResourceGroup)

Associates the resource with an existing resource group.

WithExistingResourceGroup(String)

Associates the resource with an existing resource group.

WithExistingResourceGroup(IResourceGroup)

Associates the resource with an existing resource group.

public T WithExistingResourceGroup (Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup group);
abstract member WithExistingResourceGroup : Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup -> 'T
Public Function WithExistingResourceGroup (group As IResourceGroup) As T

Parameters

group
IResourceGroup

group an existing resource group to put the resource in

Returns

T

the next stage of the resource definition

Applies to

WithExistingResourceGroup(String)

Associates the resource with an existing resource group.

public T WithExistingResourceGroup (string groupName);
abstract member WithExistingResourceGroup : string -> 'T
Public Function WithExistingResourceGroup (groupName As String) As T

Parameters

groupName
String

groupName the name of an existing resource group to put this resource in.

Returns

T

the next stage of the resource definition

Applies to