IWithExistingResourceGroup<T>.WithExistingResourceGroup Method
Definition
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.
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
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
the next stage of the resource definition
Applies to
Azure SDK for .NET