ArmBillingModelFactory.BillingReservationData 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 BillingReservationData.
public static Azure.ResourceManager.Billing.BillingReservationData BillingReservationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, int? etag = default, string skuName = default, string reservedResourceType = default, Azure.ResourceManager.Billing.Models.InstanceFlexibility? instanceFlexibility = default, string displayName = default, System.Collections.Generic.IEnumerable<string> appliedScopes = default, string appliedScopeType = default, bool? isArchived = default, string capabilities = default, float? quantity = default, string provisioningState = default, DateTimeOffset? effectiveOn = default, DateTimeOffset? benefitStartOn = default, DateTimeOffset? lastUpdatedOn = default, DateTimeOffset? expireOn = default, DateTimeOffset? reservationExpireOn = default, DateTimeOffset? reviewOn = default, string skuDescription = default, Azure.ResourceManager.Billing.Models.ReservationExtendedStatusInfo extendedStatusInfo = default, Azure.ResourceManager.Billing.Models.ReservationBillingPlan? billingPlan = default, string displayProvisioningState = default, string provisioningSubState = default, DateTimeOffset? purchaseOn = default, DateTimeOffset? reservationPurchaseOn = default, Azure.ResourceManager.Billing.Models.ReservationSplitProperties splitProperties = default, Azure.ResourceManager.Billing.Models.ReservationMergeProperties mergeProperties = default, Azure.ResourceManager.Billing.Models.ReservationSwapProperties swapProperties = default, Azure.ResourceManager.Billing.Models.ReservationAppliedScopeProperties appliedScopeProperties = default, string billingScopeId = default, bool? isRenewed = default, string renewSource = default, string renewDestination = default, Azure.ResourceManager.Billing.Models.ReservationRenewProperties renewProperties = default, string term = default, string userFriendlyAppliedScopeType = default, string userFriendlyRenewState = default, string productCode = default, string trend = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.ReservationUtilizationAggregates> aggregates = default);
static member BillingReservationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<int> * string * string * Nullable<Azure.ResourceManager.Billing.Models.InstanceFlexibility> * string * seq<string> * string * Nullable<bool> * string * Nullable<single> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Azure.ResourceManager.Billing.Models.ReservationExtendedStatusInfo * Nullable<Azure.ResourceManager.Billing.Models.ReservationBillingPlan> * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.Billing.Models.ReservationSplitProperties * Azure.ResourceManager.Billing.Models.ReservationMergeProperties * Azure.ResourceManager.Billing.Models.ReservationSwapProperties * Azure.ResourceManager.Billing.Models.ReservationAppliedScopeProperties * string * Nullable<bool> * string * string * Azure.ResourceManager.Billing.Models.ReservationRenewProperties * string * string * string * string * string * seq<Azure.ResourceManager.Billing.Models.ReservationUtilizationAggregates> -> Azure.ResourceManager.Billing.BillingReservationData
Public Shared Function BillingReservationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional etag As Nullable(Of Integer) = Nothing, Optional skuName As String = Nothing, Optional reservedResourceType As String = Nothing, Optional instanceFlexibility As Nullable(Of InstanceFlexibility) = Nothing, Optional displayName As String = Nothing, Optional appliedScopes As IEnumerable(Of String) = Nothing, Optional appliedScopeType As String = Nothing, Optional isArchived As Nullable(Of Boolean) = Nothing, Optional capabilities As String = Nothing, Optional quantity As Nullable(Of Single) = Nothing, Optional provisioningState As String = Nothing, Optional effectiveOn As Nullable(Of DateTimeOffset) = Nothing, Optional benefitStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional reservationExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional reviewOn As Nullable(Of DateTimeOffset) = Nothing, Optional skuDescription As String = Nothing, Optional extendedStatusInfo As ReservationExtendedStatusInfo = Nothing, Optional billingPlan As Nullable(Of ReservationBillingPlan) = Nothing, Optional displayProvisioningState As String = Nothing, Optional provisioningSubState As String = Nothing, Optional purchaseOn As Nullable(Of DateTimeOffset) = Nothing, Optional reservationPurchaseOn As Nullable(Of DateTimeOffset) = Nothing, Optional splitProperties As ReservationSplitProperties = Nothing, Optional mergeProperties As ReservationMergeProperties = Nothing, Optional swapProperties As ReservationSwapProperties = Nothing, Optional appliedScopeProperties As ReservationAppliedScopeProperties = Nothing, Optional billingScopeId As String = Nothing, Optional isRenewed As Nullable(Of Boolean) = Nothing, Optional renewSource As String = Nothing, Optional renewDestination As String = Nothing, Optional renewProperties As ReservationRenewProperties = Nothing, Optional term As String = Nothing, Optional userFriendlyAppliedScopeType As String = Nothing, Optional userFriendlyRenewState As String = Nothing, Optional productCode As String = Nothing, Optional trend As String = Nothing, Optional aggregates As IEnumerable(Of ReservationUtilizationAggregates) = Nothing) As BillingReservationData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- skuName
- String
The sku information associated to this reservation.
- reservedResourceType
- String
The reserved source type of the reservation, e.g. virtual machine.
- instanceFlexibility
- Nullable<InstanceFlexibility>
Allows reservation discount to be applied across skus within the same auto fit group. Not all skus support instance size flexibility.
- displayName
- String
The display name of the reservation.
- appliedScopes
- IEnumerable<String>
The array of applied scopes of a reservation. Will be null if the reservation is in Shared scope.
- appliedScopeType
- String
The applied scope type of the reservation.
- capabilities
- String
Capabilities of the reservation.
- provisioningState
- String
The provisioning state of the reservation, e.g. Succeeded.
- effectiveOn
- Nullable<DateTimeOffset>
The effective date time of the reservation.
- benefitStartOn
- Nullable<DateTimeOffset>
This is the DateTime when the reservation benefit started.
- lastUpdatedOn
- Nullable<DateTimeOffset>
DateTime of the last time the reservation was updated.
- expireOn
- Nullable<DateTimeOffset>
The expiry date of the reservation.
- reservationExpireOn
- Nullable<DateTimeOffset>
This is the date-time when the reservation will expire.
- reviewOn
- Nullable<DateTimeOffset>
This is the date-time when the Azure Hybrid Benefit needs to be reviewed.
- skuDescription
- String
The sku description of the reservation.
- extendedStatusInfo
- ReservationExtendedStatusInfo
The message giving detailed information about the status code.
- billingPlan
- Nullable<ReservationBillingPlan>
The billing plan options available for this sku.
- displayProvisioningState
- String
The provisioning state of the reservation for display, e.g. Succeeded.
- provisioningSubState
- String
The provisioning state of the reservation, e.g. Succeeded.
- purchaseOn
- Nullable<DateTimeOffset>
This is the date when the reservation was purchased.
- reservationPurchaseOn
- Nullable<DateTimeOffset>
This is the date-time when the reservation was purchased.
- splitProperties
- ReservationSplitProperties
Properties of reservation split.
- mergeProperties
- ReservationMergeProperties
Properties of reservation merge.
- swapProperties
- ReservationSwapProperties
Properties of reservation swap.
- appliedScopeProperties
- ReservationAppliedScopeProperties
Properties specific to applied scope type. Not required if not applicable. Required and need to provide tenantId and managementGroupId if AppliedScopeType is ManagementGroup.
- billingScopeId
- String
Subscription that will be charged for purchasing reservation or savings plan.
- renewSource
- String
The renew source of the reservation.
- renewDestination
- String
Reservation Id of the reservation which is purchased because of renew. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.
- renewProperties
- ReservationRenewProperties
The renew properties for a reservation.
- term
- String
The term of the reservation, e.g. P1Y.
- userFriendlyAppliedScopeType
- String
The applied scope type of the reservation for display, e.g. Shared.
- userFriendlyRenewState
- String
The renew state of the reservation for display, e.g. On.
- productCode
- String
Represents UPN.
- trend
- String
last 7 day utilization trend for a reservation.
- aggregates
- IEnumerable<ReservationUtilizationAggregates>
The array of aggregates of a reservation's utilization.
Returns
A new BillingReservationData instance for mocking.