Sdílet prostřednictvím


ResourceQueryRequestOptions Class

Definition

The options for query evaluation.

public class ResourceQueryRequestOptions
public class ResourceQueryRequestOptions : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ResourceGraph.Models.ResourceQueryRequestOptions>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ResourceGraph.Models.ResourceQueryRequestOptions>
type ResourceQueryRequestOptions = class
type ResourceQueryRequestOptions = class
    interface IJsonModel<ResourceQueryRequestOptions>
    interface IPersistableModel<ResourceQueryRequestOptions>
Public Class ResourceQueryRequestOptions
Public Class ResourceQueryRequestOptions
Implements IJsonModel(Of ResourceQueryRequestOptions), IPersistableModel(Of ResourceQueryRequestOptions)
Inheritance
ResourceQueryRequestOptions
Implements

Constructors

ResourceQueryRequestOptions()

Initializes a new instance of ResourceQueryRequestOptions.

Properties

AllowPartialScopes

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

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

ResultFormat

Defines in which format query result returned.

Skip

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

SkipToken

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

Top

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ResourceQueryRequestOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ResourceQueryRequestOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResourceQueryRequestOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceQueryRequestOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ResourceQueryRequestOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to