GenericResource.DefinitionStages.WithParentResource Interface
public interface WithParentResource
A generic resource definition allowing parent resource to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
Generic |
withParentResourceId(String parentResourceId)
Specifies the parent resource. |
Generic |
withParentResourcePath(String parentResourcePath)
Specifies the parent resource relative path. |
Method Details
withParentResourceId
public WithCreate withParentResourceId(String parentResourceId)
Specifies the parent resource.
Parameters:
parentResourceId
- the parent resource id
Returns:
the next stage of the definition
withParentResourcePath
public WithCreate withParentResourcePath(String parentResourcePath)
Specifies the parent resource relative path.
Parameters:
parentResourcePath
- the relative path of parent resource
Returns:
the next stage of the definition
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java