IWithParentResource<T,ParentT>.WithExistingParentResource Method

Definition

Overloads

WithExistingParentResource(ParentT)

Creates a new child resource under parent resource.

WithExistingParentResource(String, String)

Creates a new child resource under parent resource.

WithExistingParentResource(ParentT)

Creates a new child resource under parent resource.

public Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<T> WithExistingParentResource (ParentT existingParentResource);
abstract member WithExistingParentResource : 'ParentT -> Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<'T>
Public Function WithExistingParentResource (existingParentResource As ParentT) As ICreatable(Of T)

Parameters

existingParentResource
ParentT

The parent resource under which this resource to be created.

Returns

Applies to

WithExistingParentResource(String, String)

Creates a new child resource under parent resource.

public Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<T> WithExistingParentResource (string groupName, string parentName);
abstract member WithExistingParentResource : string * string -> Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<'T>
Public Function WithExistingParentResource (groupName As String, parentName As String) As ICreatable(Of T)

Parameters

groupName
String

The name of the resource group for parent resource.

parentName
String

The name of the parent resource.

Returns

Applies to