ResourceQueryContent 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.
Describes a query to be executed.
public class ResourceQueryContent
public class ResourceQueryContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ResourceGraph.Models.ResourceQueryContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ResourceGraph.Models.ResourceQueryContent>
type ResourceQueryContent = class
type ResourceQueryContent = class
interface IJsonModel<ResourceQueryContent>
interface IPersistableModel<ResourceQueryContent>
Public Class ResourceQueryContent
Public Class ResourceQueryContent
Implements IJsonModel(Of ResourceQueryContent), IPersistableModel(Of ResourceQueryContent)
- Inheritance
-
ResourceQueryContent
- Implements
Constructors
ResourceQueryContent(String) |
Initializes a new instance of ResourceQueryContent. |
Properties
Facets |
An array of facet requests to be computed against the query result. |
ManagementGroups |
Azure management groups against which to execute the query. Example: [ 'mg1', 'mg2' ]. |
Options |
The query evaluation options. |
Query |
The resources query. |
Subscriptions |
Azure subscriptions against which to execute the query. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ResourceQueryContent>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ResourceQueryContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ResourceQueryContent>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ResourceQueryContent>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ResourceQueryContent>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET