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.

C#
public T WithExistingResourceGroup(Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup group);

Parameters

group
IResourceGroup

group an existing resource group to put the resource in

Returns

T

the next stage of the resource definition

Applies to

Azure SDK for .NET Legacy
Продукт Версії
Azure SDK for .NET Legacy

WithExistingResourceGroup(String)

Associates the resource with an existing resource group.

C#
public T WithExistingResourceGroup(string groupName);

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

Azure SDK for .NET Legacy
Продукт Версії
Azure SDK for .NET Legacy