Interface IndependentChild.DefinitionStages.WithParentResource<T,ParentT>
- Type Parameters:
T- the resource type.ParentT- parent resource type.
- Enclosing interface:
IndependentChild.DefinitionStages
public static interface IndependentChild.DefinitionStages.WithParentResource<T,ParentT>
A resource definition allowing a new resource group to be created.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingParentResource(String groupName, String parentName) Creates a new child resource under parent resource.withExistingParentResource(ParentT existingParentResource) Creates a new child resource under parent resource.withNewParentResource(Creatable<ParentT> parentResourceCreatable) Creates a new child resource under parent resource.
-
Method Details
-
withExistingParentResource
Creates a new child resource under parent resource.- Parameters:
groupName- the name of the resource group for parent resource.parentName- the name of the parent resource.- Returns:
- the creatable for the child resource
-
withNewParentResource
Creates a new child resource under parent resource.- Parameters:
parentResourceCreatable- a creatable definition for the parent resource- Returns:
- the creatable for the child resource
-
withExistingParentResource
Creates a new child resource under parent resource.- Parameters:
existingParentResource- the parent resource under which this resource to be created.- Returns:
- the creatable for the child resource
-