다음을 통해 공유


ResourceLinksOperationsExtensions.ListAtSourceScopeAsync Method

Definition

Gets a list of resource links at and below the specified source scope.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.ResourceLink>> ListAtSourceScopeAsync (this Microsoft.Azure.Management.ResourceManager.IResourceLinksOperations operations, string scope, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ResourceManager.Models.ResourceLinkFilter> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAtSourceScopeAsync : Microsoft.Azure.Management.ResourceManager.IResourceLinksOperations * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ResourceManager.Models.ResourceLinkFilter> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.ResourceLink>>
<Extension()>
Public Function ListAtSourceScopeAsync (operations As IResourceLinksOperations, scope As String, Optional odataQuery As ODataQuery(Of ResourceLinkFilter) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ResourceLink))

Parameters

operations
IResourceLinksOperations

The operations group for this extension method.

scope
String

The fully qualified ID of the scope for getting the resource links. For example, to list resource links at and under a resource group, set the scope to /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.

odataQuery
ODataQuery<ResourceLinkFilter>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to