IWithExistingResourceGroup<T>.WithExistingResourceGroup Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
WithExistingResourceGroup(IResourceGroup) |
Associates the resource with an existing resource group. |
WithExistingResourceGroup(String) |
Associates the resource with an existing resource group. |
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
the next stage of the resource definition
Applies to
Azure SDK for .NET Legacy
Продукт | Версії |
---|---|
Azure SDK for .NET | Legacy |
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
the next stage of the resource definition
Applies to
Azure SDK for .NET Legacy
Продукт | Версії |
---|---|
Azure SDK for .NET | Legacy |
Відгук про Azure SDK for .NET
Azure SDK for .NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: