Share via


ManagedServiceIdentityClient.UserAssignedIdentitiesListAssociatedResourcesViaIdentity Method

Definition

Lists the associated resources for this identity.

public System.Threading.Tasks.Task UserAssignedIdentitiesListAssociatedResourcesViaIdentity (string viaIdentity, string Filter, string Orderby, int? Top, int? Skip, string Skiptoken, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Models.Api20220131Preview.IAssociatedResourcesListResult>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Models.Api20220131Preview.ICloudErrorAutoGenerated>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Runtime.ISendAsync sender);
member this.UserAssignedIdentitiesListAssociatedResourcesViaIdentity : string * string * string * Nullable<int> * Nullable<int> * string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Models.Api20220131Preview.IAssociatedResourcesListResult>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Models.Api20220131Preview.ICloudErrorAutoGenerated>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function UserAssignedIdentitiesListAssociatedResourcesViaIdentity (viaIdentity As String, Filter As String, Orderby As String, Top As Nullable(Of Integer), Skip As Nullable(Of Integer), Skiptoken As String, onOk As Func(Of HttpResponseMessage, Task(Of IAssociatedResourcesListResult), Task), onDefault As Func(Of HttpResponseMessage, Task(Of ICloudErrorAutoGenerated), Task), eventListener As IEventListener, sender As ISendAsync) As Task

Parameters

viaIdentity
String
Filter
String

OData filter expression to apply to the query.

Orderby
String

OData orderBy expression to apply to the query.

Top
Nullable<Int32>

Number of records to return.

Skip
Nullable<Int32>

Number of records to skip.

Skiptoken
String

A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.

onOk
Func<HttpResponseMessage,Task<IAssociatedResourcesListResult>,Task>

a delegate that is called when the remote service returns 200 (OK).

onDefault
Func<HttpResponseMessage,Task<ICloudErrorAutoGenerated>,Task>

a delegate that is called when the remote service returns default (any response code not handled elsewhere).

eventListener
IEventListener

an IEventListener instance that will receive events.

sender
ISendAsync

an instance of an Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Runtime.ISendAsync pipeline to use to make the request.

Returns

A Task that will be complete when handling of the response is completed.

Applies to