Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce model factory to mgmt SDK batch 4 #36519

Merged
merged 1 commit into from
May 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Release History

## 1.0.0-beta.2 (Unreleased)
## 1.0.0-beta.2 (2023-05-29)

### Features Added

### Breaking Changes

### Bugs Fixed
- Enable the model factory feature for model mocking, more information can be found [here](https://azure.github.io/azure-sdk/dotnet_introduction.html#dotnet-mocking-factory-builder).

### Other Changes

- Upgraded dependent Azure.Core to 1.32.0.
- Upgraded dependent Azure.ResourceManager to 1.6.0.

## 1.0.0-beta.1 (2022-12-16)

### General New Features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,21 @@ protected BillingBenefitsSavingsPlanResource() { }
}
namespace Azure.ResourceManager.BillingBenefits.Models
{
public static partial class ArmBillingBenefitsModelFactory
{
public static Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsExtendedStatusInfo BillingBenefitsExtendedStatusInfo(string statusCode = null, string message = null) { throw null; }
public static Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPurchaseContent BillingBenefitsPurchaseContent(string skuName = null, string displayName = null, Azure.Core.ResourceIdentifier billingScopeId = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm? term = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan? billingPlan = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeType? appliedScopeType = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeType?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsCommitment commitment = null, System.DateTimeOffset? effectOn = default(System.DateTimeOffset?), bool? isRenewed = default(bool?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeProperties appliedScopeProperties = null) { throw null; }
public static Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsReservationOrderAliasCreateOrUpdateContent BillingBenefitsReservationOrderAliasCreateOrUpdateContent(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string skuName = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?), string displayName = null, Azure.Core.ResourceIdentifier billingScopeId = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm? term = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan? billingPlan = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeType? appliedScopeType = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeType?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeProperties appliedScopeProperties = null, int? quantity = default(int?), bool? isRenewed = default(bool?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsReservedResourceType? reservedResourceType = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsReservedResourceType?), System.DateTimeOffset? reviewOn = default(System.DateTimeOffset?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsInstanceFlexibility? reservedResourceInstanceFlexibility = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsInstanceFlexibility?)) { throw null; }
public static Azure.ResourceManager.BillingBenefits.BillingBenefitsReservationOrderAliasData BillingBenefitsReservationOrderAliasData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string skuName = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?), string displayName = null, Azure.Core.ResourceIdentifier reservationOrderId = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsProvisioningState? provisioningState = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsProvisioningState?), Azure.Core.ResourceIdentifier billingScopeId = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm? term = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan? billingPlan = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeType? appliedScopeType = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeType?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeProperties appliedScopeProperties = null, int? quantity = default(int?), bool? isRenewed = default(bool?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsReservedResourceType? reservedResourceType = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsReservedResourceType?), System.DateTimeOffset? reviewOn = default(System.DateTimeOffset?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsInstanceFlexibility? reservedResourceInstanceFlexibility = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsInstanceFlexibility?)) { throw null; }
public static Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsRoleAssignmentEntity BillingBenefitsRoleAssignmentEntity(Azure.Core.ResourceIdentifier id = null, string name = null, string principalId = null, Azure.Core.ResourceIdentifier roleDefinitionId = null, Azure.Core.ResourceIdentifier scope = null) { throw null; }
public static Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanData BillingBenefitsSavingsPlanData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string skuName = null, string displayName = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsProvisioningState? provisioningState = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsProvisioningState?), string displayProvisioningState = null, Azure.Core.ResourceIdentifier billingScopeId = null, Azure.Core.ResourceIdentifier billingProfileId = null, string customerId = null, Azure.Core.ResourceIdentifier billingAccountId = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm? term = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan? billingPlan = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeType? appliedScopeType = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeType?), string userFriendlyAppliedScopeType = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeProperties appliedScopeProperties = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsCommitment commitment = null, System.DateTimeOffset? effectOn = default(System.DateTimeOffset?), System.DateTimeOffset? expireOn = default(System.DateTimeOffset?), System.DateTimeOffset? purchaseOn = default(System.DateTimeOffset?), System.DateTimeOffset? benefitStartOn = default(System.DateTimeOffset?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsExtendedStatusInfo extendedStatusInfo = null, bool? isRenewed = default(bool?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsSavingsPlanUtilization utilization = null, string renewSource = null, string renewDestination = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPurchaseContent renewPurchaseProperties = null) { throw null; }
public static Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanOrderAliasData BillingBenefitsSavingsPlanOrderAliasData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string skuName = null, string kind = null, string displayName = null, Azure.Core.ResourceIdentifier savingsPlanOrderId = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsProvisioningState? provisioningState = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsProvisioningState?), Azure.Core.ResourceIdentifier billingScopeId = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm? term = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan? billingPlan = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeType? appliedScopeType = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeType?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsAppliedScopeProperties appliedScopeProperties = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsCommitment commitment = null) { throw null; }
public static Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanOrderData BillingBenefitsSavingsPlanOrderData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string skuName = null, string displayName = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsProvisioningState? provisioningState = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsProvisioningState?), Azure.Core.ResourceIdentifier billingScopeId = null, Azure.Core.ResourceIdentifier billingProfileId = null, string customerId = null, Azure.Core.ResourceIdentifier billingAccountId = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm? term = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsTerm?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan? billingPlan = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsBillingPlan?), System.DateTimeOffset? expireOn = default(System.DateTimeOffset?), System.DateTimeOffset? benefitStartOn = default(System.DateTimeOffset?), Azure.ResourceManager.BillingBenefits.Models.BillingPlanInformation planInformation = null, System.Collections.Generic.IEnumerable<string> savingsPlans = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsExtendedStatusInfo extendedStatusInfo = null) { throw null; }
public static Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsSavingsPlanUtilization BillingBenefitsSavingsPlanUtilization(string trend = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsSavingsPlanUtilizationAggregate> aggregates = null) { throw null; }
public static Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsSavingsPlanUtilizationAggregate BillingBenefitsSavingsPlanUtilizationAggregate(float? grain = default(float?), string grainUnit = null, float? value = default(float?), string valueUnit = null) { throw null; }
public static Azure.ResourceManager.BillingBenefits.Models.SavingsPlanOrderPaymentDetail SavingsPlanOrderPaymentDetail(System.DateTimeOffset? dueOn = default(System.DateTimeOffset?), System.DateTimeOffset? payOn = default(System.DateTimeOffset?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPrice pricingCurrencyTotal = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPrice billingCurrencyTotal = null, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPaymentStatus? status = default(Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPaymentStatus?), Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsExtendedStatusInfo extendedStatusInfo = null, string billingAccount = null) { throw null; }
public static Azure.ResourceManager.BillingBenefits.Models.SavingsPlanValidateResult SavingsPlanValidateResult(bool? isValid = default(bool?), string reasonCode = null, string reason = null) { throw null; }
}
public partial class BillingBenefitsAppliedScopeProperties
{
public BillingBenefitsAppliedScopeProperties() { }
Expand Down
Loading