Skip to content

Commit beb87f9

Browse files
authored
enable model factory (#36584)
1 parent 40a51a8 commit beb87f9

File tree

24 files changed

+5548
-28
lines changed

24 files changed

+5548
-28
lines changed

sdk/quantum/Azure.ResourceManager.Quantum/CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# Release History
22

3-
## 1.0.0-beta.3 (Unreleased)
3+
## 1.0.0-beta.3 (2023-05-31)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
7+
- 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).
108

119
### Other Changes
1210

11+
- Upgraded dependent Azure.Core to 1.32.0.
12+
- Upgraded dependent Azure.ResourceManager to 1.6.0.
13+
1314
## 1.0.0-beta.2 (2023-02-17)
1415

1516
### Other Changes

sdk/quantum/Azure.ResourceManager.Quantum/api/Azure.ResourceManager.Quantum.netstandard2.0.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,20 @@ protected QuantumWorkspaceResource() { }
6161
}
6262
namespace Azure.ResourceManager.Quantum.Models
6363
{
64+
public static partial class ArmQuantumModelFactory
65+
{
66+
public static Azure.ResourceManager.Quantum.Models.CheckNameAvailabilityResult CheckNameAvailabilityResult(bool? nameAvailable = default(bool?), string reason = null, string message = null) { throw null; }
67+
public static Azure.ResourceManager.Quantum.Models.PricingDetail PricingDetail(string id = null, string value = null) { throw null; }
68+
public static Azure.ResourceManager.Quantum.Models.PricingDimension PricingDimension(string id = null, string name = null) { throw null; }
69+
public static Azure.ResourceManager.Quantum.Models.ProviderDescription ProviderDescription(string id = null, string name = null, Azure.ResourceManager.Quantum.Models.ProviderProperties properties = null) { throw null; }
70+
public static Azure.ResourceManager.Quantum.Models.ProviderProperties ProviderProperties(string description = null, string providerType = null, string company = null, string defaultEndpoint = null, Azure.ResourceManager.Quantum.Models.ProviderPropertiesAad aad = null, Azure.ResourceManager.Quantum.Models.ProviderPropertiesManagedApplication managedApplication = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Quantum.Models.TargetDescription> targets = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Quantum.Models.SkuDescription> skus = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Quantum.Models.QuotaDimension> quotaDimensions = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Quantum.Models.PricingDimension> pricingDimensions = null) { throw null; }
71+
public static Azure.ResourceManager.Quantum.Models.ProviderPropertiesAad ProviderPropertiesAad(string applicationId = null, System.Guid? tenantId = default(System.Guid?)) { throw null; }
72+
public static Azure.ResourceManager.Quantum.Models.ProviderPropertiesManagedApplication ProviderPropertiesManagedApplication(string publisherId = null, string offerId = null) { throw null; }
73+
public static Azure.ResourceManager.Quantum.QuantumWorkspaceData QuantumWorkspaceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string, string> tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Quantum.Models.Provider> providers = null, Azure.ResourceManager.Quantum.Models.UsableStatus? usable = default(Azure.ResourceManager.Quantum.Models.UsableStatus?), Azure.ResourceManager.Quantum.Models.ProvisioningStatus? provisioningState = default(Azure.ResourceManager.Quantum.Models.ProvisioningStatus?), string storageAccount = null, System.Uri endpointUri = null) { throw null; }
74+
public static Azure.ResourceManager.Quantum.Models.QuotaDimension QuotaDimension(string id = null, string scope = null, string period = null, float? quota = default(float?), string name = null, string description = null, string unit = null, string unitPlural = null) { throw null; }
75+
public static Azure.ResourceManager.Quantum.Models.SkuDescription SkuDescription(string id = null, string name = null, string version = null, string description = null, System.Uri restrictedAccessUri = null, bool? autoAdd = default(bool?), System.Collections.Generic.IEnumerable<string> targets = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Quantum.Models.QuotaDimension> quotaDimensions = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Quantum.Models.PricingDetail> pricingDetails = null) { throw null; }
76+
public static Azure.ResourceManager.Quantum.Models.TargetDescription TargetDescription(string id = null, string name = null, string description = null, System.Collections.Generic.IEnumerable<string> acceptedDataFormats = null, System.Collections.Generic.IEnumerable<string> acceptedContentEncodings = null) { throw null; }
77+
}
6478
public partial class CheckNameAvailabilityContent
6579
{
6680
public CheckNameAvailabilityContent() { }

sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/ArmQuantumModelFactory.cs

Lines changed: 170 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/quantum/Azure.ResourceManager.Quantum/src/autorest.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Run `dotnet build /t:GenerateCode` to generate code.
55
``` yaml
66

77
azure-arm: true
8-
generate-model-factory: false
98
csharp: true
109
library-name: Quantum
1110
namespace: Azure.ResourceManager.Quantum

sdk/qumulo/Azure.ResourceManager.Qumulo/CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# Release History
22

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.1.0-beta.1 (2023-05-31)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
7+
- 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).
108

119
### Other Changes
1210

11+
- Upgraded dependent Azure.Core to 1.32.0.
12+
- Upgraded dependent Azure.ResourceManager to 1.6.0.
13+
1314
## 1.0.0 (2023-05-05)
1415

1516
This release is the first stable release of the Azure Qumulo Management client library.

sdk/qumulo/Azure.ResourceManager.Qumulo/api/Azure.ResourceManager.Qumulo.netstandard2.0.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ public QumuloFileSystemResourceData(Azure.Core.AzureLocation location, Azure.Res
6262
}
6363
namespace Azure.ResourceManager.Qumulo.Models
6464
{
65+
public static partial class ArmQumuloModelFactory
66+
{
67+
public static Azure.ResourceManager.Qumulo.Models.MarketplaceDetails MarketplaceDetails(string marketplaceSubscriptionId = null, string planId = null, string offerId = null, string publisherId = null, Azure.ResourceManager.Qumulo.Models.MarketplaceSubscriptionStatus? marketplaceSubscriptionStatus = default(Azure.ResourceManager.Qumulo.Models.MarketplaceSubscriptionStatus?)) { throw null; }
68+
public static Azure.ResourceManager.Qumulo.QumuloFileSystemResourceData QumuloFileSystemResourceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string, string> tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, Azure.ResourceManager.Qumulo.Models.MarketplaceDetails marketplaceDetails = null, Azure.ResourceManager.Qumulo.Models.QumuloProvisioningState? provisioningState = default(Azure.ResourceManager.Qumulo.Models.QumuloProvisioningState?), Azure.ResourceManager.Qumulo.Models.StorageSku storageSku = Azure.ResourceManager.Qumulo.Models.StorageSku.Standard, string userDetailsEmail = null, string delegatedSubnetId = null, System.Uri clusterLoginUri = null, System.Collections.Generic.IEnumerable<System.Net.IPAddress> privateIPs = null, string adminPassword = null, int initialCapacity = 0, string availabilityZone = null) { throw null; }
69+
}
6570
public partial class FileSystemResourceUpdateProperties
6671
{
6772
public FileSystemResourceUpdateProperties() { }

0 commit comments

Comments
 (0)