ResourceLinksOperationsExtensions.ListAtSourceScopeAsync 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.
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
Azure SDK for .NET