ArmCostManagementModelFactory.CostAllocationRuleProperties 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.
The properties of a cost allocation rule.
public static Azure.ResourceManager.CostManagement.Models.CostAllocationRuleProperties CostAllocationRuleProperties(string description = default, Azure.ResourceManager.CostManagement.Models.CostAllocationRuleDetails details = default, Azure.ResourceManager.CostManagement.Models.RuleStatus status = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default);
static member CostAllocationRuleProperties : string * Azure.ResourceManager.CostManagement.Models.CostAllocationRuleDetails * Azure.ResourceManager.CostManagement.Models.RuleStatus * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.CostManagement.Models.CostAllocationRuleProperties
Public Shared Function CostAllocationRuleProperties (Optional description As String = Nothing, Optional details As CostAllocationRuleDetails = Nothing, Optional status As RuleStatus = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing) As CostAllocationRuleProperties
Parameters
- description
- String
Description of a cost allocation rule.
- details
- CostAllocationRuleDetails
Resource information for the cost allocation rule.
- status
- RuleStatus
Status of the rule.
- createdOn
- Nullable<DateTimeOffset>
Time at which the rule was created. Rules that change cost for the same resource are applied in order of creation.
- updatedOn
- Nullable<DateTimeOffset>
Time at which the rule was last updated.
Returns
A new CostAllocationRuleProperties instance for mocking.