ArmCostManagementModelFactory.QueryResult 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 QueryResult.
public static Azure.ResourceManager.CostManagement.Models.QueryResult QueryResult(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string nextLink = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CostManagement.Models.QueryColumn> columns = default, System.Collections.Generic.IEnumerable<System.Collections.Generic.IList<BinaryData>> rows = default, Azure.Core.AzureLocation? location = default, string sku = default, Azure.ETag? etag = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member QueryResult : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<Azure.ResourceManager.CostManagement.Models.QueryColumn> * seq<System.Collections.Generic.IList<BinaryData>> * Nullable<Azure.Core.AzureLocation> * string * Nullable<Azure.ETag> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.CostManagement.Models.QueryResult
Public Shared Function QueryResult (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional nextLink As String = Nothing, Optional columns As IEnumerable(Of QueryColumn) = Nothing, Optional rows As IEnumerable(Of IList(Of BinaryData)) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional sku As String = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As QueryResult
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- nextLink
- String
The link (url) to the next page of results.
- columns
- IEnumerable<QueryColumn>
Array of columns.
- rows
- IEnumerable<IList<BinaryData>>
Array of rows.
- location
- Nullable<AzureLocation>
Location of the resource.
- sku
- String
SKU of the resource.
- tags
- IReadOnlyDictionary<String,String>
Resource tags.
Returns
A new QueryResult instance for mocking.