GenericResource.DefinitionStages.WithParentResource Interface
public static interface GenericResource.DefinitionStages.WithParentResource
A generic resource definition allowing parent resource to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withParentResourceId(String parentResourceId)
Specifies the parent resource. |
abstract
With |
withParentResourcePath(String parentResourcePath)
Specifies the parent resource relative path. |
Method Details
withParentResourceId
public abstract GenericResource.DefinitionStages.WithCreate withParentResourceId(String parentResourceId)
Specifies the parent resource.
Parameters:
parentResourceId
- the parent resource id
Returns:
the next stage of the definition
withParentResourcePath
public abstract GenericResource.DefinitionStages.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