SupportsGettingByParent<T,ParentT,ManagerT> Interface
Type Parameters
- T
the type of the resource collection
- ParentT
the parent resource type
- ManagerT
the client manager type representing the service
public interface SupportsGettingByParent<T,ParentT extends Resource &HasResourceGroup,ManagerT>
Provides access to getting a specific Azure resource based on its resource group and parent.
(Note this interface is not intended to be implemented by user code.)
Method Summary
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. |
Observable<T> |
getByParentAsync(ParentT parentResource, String name)
Gets the information about a resource from Azure based on the resource id. |
Observable<T> |
getByParentAsync(String resourceGroup, String parentName, String name)
Gets the information about a resource from Azure based on the resource id. |
Method Details
getByParent
public T getByParent(ParentT parentResource, String name)
Gets the information about a resource from Azure based on the resource id.
Parameters:
Returns:
getByParent
public T getByParent(String resourceGroup, String parentName, String name)
Gets the information about a resource from Azure based on the resource id.
Parameters:
Returns:
getByParentAsync
public Observable
Gets the information about a resource from Azure based on the resource id.
Parameters:
Returns:
getByParentAsync
public Observable
Gets the information about a resource from Azure based on the resource id.
Parameters:
Returns:
Applies to
Azure SDK for Java