ArmResourceGraphModelFactory.ResourceQueryRequestOptions Method

Definition

public static Azure.ResourceManager.ResourceGraph.Models.ResourceQueryRequestOptions ResourceQueryRequestOptions(string skipToken = default, int? top = default, int? skip = default, Azure.ResourceManager.ResourceGraph.Models.ResultFormat? resultFormat = default, bool? allowPartialScopes = default, Azure.ResourceManager.ResourceGraph.Models.AuthorizationScopeFilter? authorizationScopeFilter = default);
static member ResourceQueryRequestOptions : string * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ResourceGraph.Models.ResultFormat> * Nullable<bool> * Nullable<Azure.ResourceManager.ResourceGraph.Models.AuthorizationScopeFilter> -> Azure.ResourceManager.ResourceGraph.Models.ResourceQueryRequestOptions
Public Shared Function ResourceQueryRequestOptions (Optional skipToken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional resultFormat As Nullable(Of ResultFormat) = Nothing, Optional allowPartialScopes As Nullable(Of Boolean) = Nothing, Optional authorizationScopeFilter As Nullable(Of AuthorizationScopeFilter) = Nothing) As ResourceQueryRequestOptions

Parameters

skipToken
String

Continuation token for pagination, capturing the next page size and offset, as well as the context of the query.

top
Nullable<Int32>

The maximum number of rows that the query should return. Overrides the page size when $skipToken property is present.

skip
Nullable<Int32>

The number of rows to skip from the beginning of the results. Overrides the next page offset when $skipToken property is present.

resultFormat
Nullable<ResultFormat>

Defines in which format query result returned.

allowPartialScopes
Nullable<Boolean>

Only applicable for tenant and management group level queries to decide whether to allow partial scopes for result in case the number of subscriptions exceed allowed limits.

authorizationScopeFilter
Nullable<AuthorizationScopeFilter>

Defines what level of authorization resources should be returned based on the which subscriptions and management groups are passed as scopes.

Returns

A new ResourceQueryRequestOptions instance for mocking.

Applies to