/// <summary> /// Initializes a new instance of the ReservationProperties class. /// </summary> /// <param name="reservedResourceType">Possible values include: /// 'VirtualMachines', 'SqlDatabases', 'SuseLinux', 'CosmosDb', /// 'RedHat', 'SqlDataWarehouse', 'VMwareCloudSimple', /// 'RedHatOsa'</param> /// <param name="instanceFlexibility">Possible values include: 'On', /// 'Off'</param> /// <param name="displayName">Friendly name for user to easily identify /// the reservation</param> /// <param name="appliedScopeType">Possible values include: 'Single', /// 'Shared'</param> /// <param name="provisioningState">Current state of the /// reservation.</param> /// <param name="effectiveDateTime">DateTime of the Reservation /// starting when this version is effective from.</param> /// <param name="lastUpdatedDateTime">DateTime of the last time the /// Reservation was updated.</param> /// <param name="expiryDate">This is the date when the Reservation will /// expire.</param> /// <param name="skuDescription">Description of the SKU in /// english.</param> /// <param name="billingPlan">Possible values include: 'Upfront', /// 'Monthly'</param> /// <param name="renewSource">Reservation Id of the reservation from /// which this reservation is renewed. Format of the resource Id is /// /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.</param> /// <param name="renewDestination">Reservation Id of the reservation /// which is purchased because of renew. Format of the resource Id is /// /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.</param> /// <param name="term">Possible values include: 'P1Y', 'P3Y'</param> public ReservationProperties(string reservedResourceType = default(string), string instanceFlexibility = default(string), string displayName = default(string), IList <string> appliedScopes = default(IList <string>), string appliedScopeType = default(string), int?quantity = default(int?), string provisioningState = default(string), System.DateTime?effectiveDateTime = default(System.DateTime?), System.DateTime?lastUpdatedDateTime = default(System.DateTime?), System.DateTime?expiryDate = default(System.DateTime?), string skuDescription = default(string), ExtendedStatusInfo extendedStatusInfo = default(ExtendedStatusInfo), string billingPlan = default(string), ReservationSplitProperties splitProperties = default(ReservationSplitProperties), ReservationMergeProperties mergeProperties = default(ReservationMergeProperties), string billingScopeId = default(string), bool?renew = default(bool?), string renewSource = default(string), string renewDestination = default(string), RenewPropertiesResponse renewProperties = default(RenewPropertiesResponse), string term = default(string)) { ReservedResourceType = reservedResourceType; InstanceFlexibility = instanceFlexibility; DisplayName = displayName; AppliedScopes = appliedScopes; AppliedScopeType = appliedScopeType; Quantity = quantity; ProvisioningState = provisioningState; EffectiveDateTime = effectiveDateTime; LastUpdatedDateTime = lastUpdatedDateTime; ExpiryDate = expiryDate; SkuDescription = skuDescription; ExtendedStatusInfo = extendedStatusInfo; BillingPlan = billingPlan; SplitProperties = splitProperties; MergeProperties = mergeProperties; BillingScopeId = billingScopeId; Renew = renew; RenewSource = renewSource; RenewDestination = renewDestination; RenewProperties = renewProperties; Term = term; CustomInit(); }
/// <summary> /// Initializes a new instance of the ReservationProperties class. /// </summary> /// <param name="reservedResourceType">Possible values include: /// 'VirtualMachines', 'SqlDatabases', 'SuseLinux', 'CosmosDb'</param> /// <param name="instanceFlexibility">Possible values include: 'On', /// 'Off'</param> /// <param name="displayName">Friendly name for user to easily identify /// the reservation</param> /// <param name="appliedScopeType">Possible values include: 'Single', /// 'Shared'</param> /// <param name="provisioningState">Current state of the /// reservation.</param> /// <param name="effectiveDateTime">DateTime of the Reservation /// starting when this version is effective from.</param> /// <param name="lastUpdatedDateTime">DateTime of the last time the /// Reservation was updated.</param> /// <param name="expiryDate">This is the date when the Reservation will /// expire.</param> /// <param name="skuDescription">Description of the SKU in /// english.</param> public ReservationProperties(string reservedResourceType = default(string), string instanceFlexibility = default(string), string displayName = default(string), IList <string> appliedScopes = default(IList <string>), string appliedScopeType = default(string), int?quantity = default(int?), string provisioningState = default(string), System.DateTime?effectiveDateTime = default(System.DateTime?), System.DateTime?lastUpdatedDateTime = default(System.DateTime?), System.DateTime?expiryDate = default(System.DateTime?), string skuDescription = default(string), ExtendedStatusInfo extendedStatusInfo = default(ExtendedStatusInfo), ReservationSplitProperties splitProperties = default(ReservationSplitProperties), ReservationMergeProperties mergeProperties = default(ReservationMergeProperties)) { ReservedResourceType = reservedResourceType; InstanceFlexibility = instanceFlexibility; DisplayName = displayName; AppliedScopes = appliedScopes; AppliedScopeType = appliedScopeType; Quantity = quantity; ProvisioningState = provisioningState; EffectiveDateTime = effectiveDateTime; LastUpdatedDateTime = lastUpdatedDateTime; ExpiryDate = expiryDate; SkuDescription = skuDescription; ExtendedStatusInfo = extendedStatusInfo; SplitProperties = splitProperties; MergeProperties = mergeProperties; CustomInit(); }