Dela via


ArmCostManagementModelFactory.CostManagementDimension Method

Definition

Initializes a new instance of CostManagementDimension.

public static Azure.ResourceManager.CostManagement.Models.CostManagementDimension CostManagementDimension (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, bool? isFilterEnabled = default, bool? isGroupingEnabled = default, System.Collections.Generic.IEnumerable<string> data = default, int? total = default, string category = default, DateTimeOffset? usageStart = default, DateTimeOffset? usageEnd = default, string nextLink = default, Azure.Core.AzureLocation? location = default, string sku = default, Azure.ETag? eTag = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member CostManagementDimension : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<bool> * Nullable<bool> * seq<string> * Nullable<int> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<Azure.Core.AzureLocation> * string * Nullable<Azure.ETag> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.CostManagement.Models.CostManagementDimension
Public Shared Function CostManagementDimension (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional isFilterEnabled As Nullable(Of Boolean) = Nothing, Optional isGroupingEnabled As Nullable(Of Boolean) = Nothing, Optional data As IEnumerable(Of String) = Nothing, Optional total As Nullable(Of Integer) = Nothing, Optional category As String = Nothing, Optional usageStart As Nullable(Of DateTimeOffset) = Nothing, Optional usageEnd As Nullable(Of DateTimeOffset) = Nothing, Optional nextLink As String = 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 CostManagementDimension

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

Dimension description.

isFilterEnabled
Nullable<Boolean>

Filter enabled.

isGroupingEnabled
Nullable<Boolean>

Grouping enabled.

data
IEnumerable<String>

Dimension data.

total
Nullable<Int32>

Total number of data for the dimension.

category
String

Dimension category.

usageStart
Nullable<DateTimeOffset>

Usage start.

usageEnd
Nullable<DateTimeOffset>

Usage end.

nextLink
String

The link (url) to the next page of results.

location
Nullable<AzureLocation>

Location of the resource.

sku
String

SKU of the resource.

eTag
Nullable<ETag>

ETag of the resource.

tags
IReadOnlyDictionary<String,String>

Resource tags.

Returns

A new CostManagementDimension instance for mocking.

Applies to