ISupportsGettingByParent<T,ParentT,ManagerT>.GetByParent 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
GetByParent(ParentT, String) |
Gets the information about a resource from Azure based on the resource id. |
GetByParent(String, String, String) |
Gets the information about a resource from Azure based on the resource id. |
GetByParent(ParentT, String)
Gets the information about a resource from Azure based on the resource id.
public T GetByParent (ParentT parentResource, string name);
abstract member GetByParent : 'ParentT * string -> 'T
Public Function GetByParent (parentResource As ParentT, name As String) As T
Parameters
- parentResource
- ParentT
The instance of parent resource.
- name
- String
The name of resource.
Returns
Applies to
GetByParent(String, String, String)
Gets the information about a resource from Azure based on the resource id.
public T GetByParent (string resourceGroup, string parentName, string name);
abstract member GetByParent : string * string * string -> 'T
Public Function GetByParent (resourceGroup As String, parentName As String, name As String) As T
Parameters
- resourceGroup
- String
The name of resource group.
- parentName
- String
The name of parent resource.
- name
- String
The name of resource.