ArmConsumptionModelFactory.ConsumptionResourceProperties 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 ConsumptionResourceProperties.
public static Azure.ResourceManager.Consumption.Models.ConsumptionResourceProperties ConsumptionResourceProperties (System.Collections.Generic.IEnumerable<string> appliedScopes = default, float? onDemandRate = default, string product = default, string region = default, float? reservationRate = default, string resourceType = default);
static member ConsumptionResourceProperties : seq<string> * Nullable<single> * string * string * Nullable<single> * string -> Azure.ResourceManager.Consumption.Models.ConsumptionResourceProperties
Public Shared Function ConsumptionResourceProperties (Optional appliedScopes As IEnumerable(Of String) = Nothing, Optional onDemandRate As Nullable(Of Single) = Nothing, Optional product As String = Nothing, Optional region As String = Nothing, Optional reservationRate As Nullable(Of Single) = Nothing, Optional resourceType As String = Nothing) As ConsumptionResourceProperties
Parameters
- appliedScopes
- IEnumerable<String>
List of subscriptions for which the reservation is applied.
- product
- String
Azure product ex: Standard_E8s_v3 etc.
- region
- String
Azure resource region ex:EastUS, WestUS etc.
- resourceType
- String
The azure resource type.
Returns
A new ConsumptionResourceProperties instance for mocking.