ArmResourceGraphModelFactory.ResourceGraphQueryData 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.
Initializes a new instance of ResourceGraphQueryData.
public static Azure.ResourceManager.ResourceGraph.ResourceGraphQueryData ResourceGraphQueryData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, DateTimeOffset? modifiedOn = default, string description = default, string query = default, Azure.ResourceManager.ResourceGraph.Models.ResultKind? resultKind = default, Azure.ETag? etag = default);
static member ResourceGraphQueryData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<DateTimeOffset> * string * string * Nullable<Azure.ResourceManager.ResourceGraph.Models.ResultKind> * Nullable<Azure.ETag> -> Azure.ResourceManager.ResourceGraph.ResourceGraphQueryData
Public Shared Function ResourceGraphQueryData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional modifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional description As String = Nothing, Optional query As String = Nothing, Optional resultKind As Nullable(Of ResultKind) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ResourceGraphQueryData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- modifiedOn
- Nullable<DateTimeOffset>
Date and time in UTC of the last modification that was made to this graph query definition.
- description
- String
The description of a graph query.
- query
- String
KQL query that will be graph.
- resultKind
- Nullable<ResultKind>
Enum indicating a type of graph query.
This will be used to handle Optimistic Concurrency. If not present, it will always overwrite the existing resource without checking conflict.
Returns
A new ResourceGraphQueryData instance for mocking.