T - the resource type.ParentT - parent resource type.public static interface IndependentChild.DefinitionStages.WithParentResource<T,ParentT>
| Modifier and Type | Method and Description |
|---|---|
Creatable<T> |
withExistingParentResource(ParentT existingParentResource)
Creates a new child resource under parent resource.
|
Creatable<T> |
withExistingParentResource(String groupName,
String parentName)
Creates a new child resource under parent resource.
|
Creatable<T> |
withNewParentResource(Creatable<ParentT> parentResourceCreatable)
Creates a new child resource under parent resource.
|
Creatable<T> withExistingParentResource(String groupName, String parentName)
groupName - the name of the resource group for parent resource.parentName - the name of the parent resource.Creatable<T> withNewParentResource(Creatable<ParentT> parentResourceCreatable)
parentResourceCreatable - a creatable definition for the parent resourceCopyright © 2021 Microsoft Corporation. All rights reserved.