T - the type of the resource collectionParentT - the parent resource typeManagerT - the client manager type representing the servicepublic interface SupportsGettingByParent<T,ParentT extends Resource & HasResourceGroup,ManagerT>
(Note this interface is not intended to be implemented by user code.)
| Modifier and Type | Method and Description |
|---|---|
T |
getByParent(ParentT parentResource,
String name)
Gets the information about a resource from Azure based on the resource id.
|
T |
getByParent(String resourceGroup,
String parentName,
String name)
Gets the information about a resource from Azure based on the resource id.
|
Mono<T> |
getByParentAsync(ParentT parentResource,
String name)
Gets the information about a resource from Azure based on the resource id.
|
Mono<T> |
getByParentAsync(String resourceGroup,
String parentName,
String name)
Gets the information about a resource from Azure based on the resource id.
|
T getByParent(String resourceGroup, String parentName, String name)
resourceGroup - the name of resource groupparentName - the name of parent resourcename - the name of resourceT getByParent(ParentT parentResource, String name)
parentResource - the instance of parent resourcename - the name of resourceMono<T> getByParentAsync(String resourceGroup, String parentName, String name)
resourceGroup - the name of resource groupparentName - the name of parent resourcename - the name of resourceMono that emits the found resource asynchronously.Mono<T> getByParentAsync(ParentT parentResource, String name)
parentResource - the instance of parent resource.name - the name of resource.Mono that emits the found resource asynchronously.Copyright © 2021 Microsoft Corporation. All rights reserved.