ISupportsListingByParent<T,ParentT,ManagerT>.ListByParent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ListByParent(ParentT) |
Gets the information about a resource from Azure based on the resource id. |
ListByParent(String, String) |
Lists resources of the specified type in the specified resource group. |
ListByParent(ParentT)
Gets the information about a resource from Azure based on the resource id.
public System.Collections.Generic.IEnumerable<T> ListByParent (ParentT parentResource);
abstract member ListByParent : 'ParentT -> seq<'T>
Public Function ListByParent (parentResource As ParentT) As IEnumerable(Of T)
Parameters
- parentResource
- ParentT
The instance of parent resource.
Returns
Applies to
ListByParent(String, String)
Lists resources of the specified type in the specified resource group.
public System.Collections.Generic.IEnumerable<T> ListByParent (string resourceGroupName, string parentName);
abstract member ListByParent : string * string -> seq<'T>
Public Function ListByParent (resourceGroupName As String, parentName As String) As IEnumerable(Of T)
Parameters
- resourceGroupName
- String
The name of the resource group to list the resources from.
- parentName
- String
The name of parent resource.