ResourceQueryResult Class
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.
Query result.
public class ResourceQueryResult
public class ResourceQueryResult : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ResourceGraph.Models.ResourceQueryResult>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ResourceGraph.Models.ResourceQueryResult>
type ResourceQueryResult = class
type ResourceQueryResult = class
interface IJsonModel<ResourceQueryResult>
interface IPersistableModel<ResourceQueryResult>
Public Class ResourceQueryResult
Public Class ResourceQueryResult
Implements IJsonModel(Of ResourceQueryResult), IPersistableModel(Of ResourceQueryResult)
- Inheritance
-
ResourceQueryResult
- Implements
Properties
Count |
Number of records returned in the current response. In the case of paging, this is the number of records in the current page. |
Data |
Query output in JObject array or Table format. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Facets |
Query facets. Please note Facet is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include FacetError and FacetResult. |
ResultTruncated |
Indicates whether the query results are truncated. |
SkipToken |
When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data. |
TotalRecords |
Number of total records matching the query. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ResourceQueryResult>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ResourceQueryResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ResourceQueryResult>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ResourceQueryResult>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ResourceQueryResult>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET