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 Details

    • 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
    • withExistingParentResource

      Creatable<T> withExistingParentResource(ParentT existingParentResource)
      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