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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for