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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Creatable<T>withExistingParentResource(String groupName, String parentName)Creates a new child resource under parent resource.Creatable<T>withExistingParentResource(ParentT existingParentResource)Creates a new child resource under parent resource.Creatable<T>withNewParentResource(Creatable<ParentT> parentResourceCreatable)Creates a new child resource under parent resource.
-
-
-
Method Detail
-
withExistingParentResource
Creatable<T> withExistingParentResource(String groupName, String parentName)
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
Creatable<T> withNewParentResource(Creatable<ParentT> parentResourceCreatable)
Creates a new child resource under parent resource.- Parameters:
parentResourceCreatable- a creatable definition for the parent resource- Returns:
- the creatable for the child resource
-
-