Skip to content

Commit 7e1e0c4

Browse files
Update Azure.ResourceManager.Qumulo to new api-version (#50739)
1 parent d9823ee commit 7e1e0c4

File tree

43 files changed

+1074
-698
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1074
-698
lines changed

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

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
11
# Release History
22

3-
## 1.2.0-beta.1 (Unreleased)
3+
## 1.2.0 (2025-10-22)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- Upgrade to API version 2024-06-19.
8+
- Make `Azure.ResourceManager.Qumulo` AOT-compatible.
129

1310
## 1.1.1 (2025-03-11)
1411

1512
### Features Added
1613

17-
- Enable the new model serialization by using the System.ClientModel, refer this [document](https://aka.ms/azsdk/net/mrw) for more details.
14+
- Enabled the new model serialization by using the System.ClientModel, refer this [document](https://aka.ms/azsdk/net/mrw) for more details.
1815
- Exposed `JsonModelWriteCore` for model serialization procedure.
1916

2017
## 1.1.0 (2023-11-29)
2118

2219
### Features Added
2320

24-
- Enable mocking for extension methods, refer this [document](https://aka.ms/azsdk/net/mocking) for more details.
21+
- Enabled mocking for extension methods, refer this [document](https://aka.ms/azsdk/net/mocking) for more details.
2522

2623
### Other Changes
2724

@@ -31,7 +28,7 @@
3128

3229
### Features Added
3330

34-
- 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).
31+
- Enabled 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).
3532

3633
### Other Changes
3734

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

Lines changed: 69 additions & 2 deletions
Large diffs are not rendered by default.

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

Lines changed: 69 additions & 2 deletions
Large diffs are not rendered by default.

sdk/qumulo/Azure.ResourceManager.Qumulo/src/Azure.ResourceManager.Qumulo.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<Version>1.2.0-beta.1</Version>
3+
<Version>1.2.0</Version>
44
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
55
<ApiCompatVersion>1.1.1</ApiCompatVersion>
66
<PackageId>Azure.ResourceManager.Qumulo</PackageId>
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System;
7+
using System.Collections.Generic;
8+
using System.ComponentModel;
9+
using System.Net;
10+
using Azure.Core;
11+
using Azure.ResourceManager.Models;
12+
13+
namespace Azure.ResourceManager.Qumulo.Models
14+
{
15+
public static partial class ArmQumuloModelFactory
16+
{
17+
/// <summary> Initializes a new instance of <see cref="Qumulo.QumuloFileSystemResourceData"/>. </summary>
18+
/// <param name="id"> The id. </param>
19+
/// <param name="name"> The name. </param>
20+
/// <param name="resourceType"> The resourceType. </param>
21+
/// <param name="systemData"> The systemData. </param>
22+
/// <param name="tags"> The tags. </param>
23+
/// <param name="location"> The location. </param>
24+
/// <param name="identity"> The managed service identities assigned to this resource. </param>
25+
/// <param name="marketplaceDetails"> Marketplace details. </param>
26+
/// <param name="provisioningState"> Provisioning State of the resource. </param>
27+
/// <param name="storageSku"> Storage Sku. </param>
28+
/// <param name="userDetailsEmail"> User Details. </param>
29+
/// <param name="delegatedSubnetId"> Delegated subnet id for Vnet injection. </param>
30+
/// <param name="clusterLoginUri"> File system Id of the resource. </param>
31+
/// <param name="privateIPs"> Private IPs of the resource. </param>
32+
/// <param name="adminPassword"> Initial administrator password of the resource. </param>
33+
/// <param name="initialCapacity"> Storage capacity in TB. </param>
34+
/// <param name="availabilityZone"> Availability zone. </param>
35+
/// <returns> A new <see cref="Qumulo.QumuloFileSystemResourceData"/> instance for mocking. </returns>
36+
[EditorBrowsable(EditorBrowsableState.Never)]
37+
public static QumuloFileSystemResourceData QumuloFileSystemResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary<string, string> tags, AzureLocation location, ManagedServiceIdentity identity, MarketplaceDetails marketplaceDetails = null, QumuloProvisioningState? provisioningState = null, StorageSku storageSku = default, string userDetailsEmail = null, string delegatedSubnetId = null, Uri clusterLoginUri = null, IEnumerable<IPAddress> privateIPs = null, string adminPassword = null, int initialCapacity = default, string availabilityZone = null)
38+
{
39+
return QumuloFileSystemResourceData(
40+
id,
41+
name,
42+
resourceType,
43+
systemData,
44+
tags,
45+
location,
46+
marketplaceDetails,
47+
provisioningState != null ? new QumuloArmProvisioningState(provisioningState.Value.ToSerialString()) : null,
48+
storageSku.ToSerialString(),
49+
userDetailsEmail,
50+
delegatedSubnetId,
51+
clusterLoginUri,
52+
privateIPs,
53+
adminPassword,
54+
availabilityZone,
55+
identity,
56+
initialCapacity);
57+
}
58+
59+
/// <summary> Initializes a new instance of <see cref="Models.MarketplaceDetails"/>. </summary>
60+
/// <param name="marketplaceSubscriptionId"> Marketplace Subscription Id. </param>
61+
/// <param name="planId"> Plan Id. </param>
62+
/// <param name="offerId"> Offer Id. </param>
63+
/// <param name="publisherId"> Publisher Id. </param>
64+
/// <param name="marketplaceSubscriptionStatus"> Marketplace subscription status. </param>
65+
/// <returns> A new <see cref="Models.MarketplaceDetails"/> instance for mocking. </returns>
66+
[EditorBrowsable(EditorBrowsableState.Never)]
67+
public static MarketplaceDetails MarketplaceDetails(string marketplaceSubscriptionId, string planId, string offerId, string publisherId, MarketplaceSubscriptionStatus? marketplaceSubscriptionStatus)
68+
{
69+
return MarketplaceDetails(
70+
marketplaceSubscriptionId,
71+
planId,
72+
offerId,
73+
publisherId,
74+
termUnit: null,
75+
marketplaceSubscriptionStatus != null ? new QumuloMarketplaceSubscriptionStatus(marketplaceSubscriptionStatus.Value.ToSerialString()) : null);
76+
}
77+
}
78+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System;
7+
using System.Collections.Generic;
8+
using System.ComponentModel;
9+
using Azure.Core;
10+
11+
namespace Azure.ResourceManager.Qumulo.Models
12+
{
13+
[CodeGenSerialization(nameof(ClusterLoginUri), "clusterLoginUri")]
14+
[CodeGenSerialization(nameof(PrivateIPs), "privateIPs")]
15+
public partial class FileSystemResourceUpdateProperties
16+
{
17+
/// <summary>
18+
/// File system Id of the resource.
19+
/// This property has been removed since api-version 2024-06-19
20+
/// </summary>
21+
[EditorBrowsable(EditorBrowsableState.Never)]
22+
public Uri ClusterLoginUri { get; set; }
23+
24+
/// <summary>
25+
/// Private IPs of the resource.
26+
/// This property has been removed since api-version 2024-06-19
27+
/// </summary>
28+
[EditorBrowsable(EditorBrowsableState.Never)]
29+
public IList<string> PrivateIPs { get; }
30+
}
31+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
using System;
5+
using System.ComponentModel;
6+
7+
namespace Azure.ResourceManager.Qumulo.Models
8+
{
9+
/// <summary>
10+
/// Marketplace details used to identify the Marketplace subscription for the Qumulo resource.
11+
/// </summary>
12+
public partial class MarketplaceDetails
13+
{
14+
/// <summary> Initializes a new instance of <see cref="MarketplaceDetails"/>. </summary>
15+
/// <param name="planId"> Plan Id. </param>
16+
/// <param name="offerId"> Offer Id. </param>
17+
/// <param name="publisherId"> Publisher Id. </param>
18+
/// <exception cref="ArgumentNullException"> <paramref name="planId"/>, <paramref name="offerId"/> or <paramref name="publisherId"/> is null. </exception>
19+
[EditorBrowsable(EditorBrowsableState.Never)]
20+
public MarketplaceDetails(string planId, string offerId, string publisherId)
21+
: this(planId, offerId)
22+
{
23+
PublisherId = publisherId;
24+
}
25+
26+
/// <summary>
27+
/// Marketplace subscription status.
28+
/// Please use <see cref="QumuloMarketplaceSubscriptionStatus"/> instead.
29+
/// </summary>
30+
[EditorBrowsable(EditorBrowsableState.Never)]
31+
public MarketplaceSubscriptionStatus? MarketplaceSubscriptionStatus => QumuloMarketplaceSubscriptionStatus?.ToString().ToMarketplaceSubscriptionStatus();
32+
}
33+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System.ComponentModel;
7+
8+
namespace Azure.ResourceManager.Qumulo.Models
9+
{
10+
/// <summary> The MarketplaceSubscriptionStatus. </summary>
11+
[EditorBrowsable(EditorBrowsableState.Never)]
12+
public enum MarketplaceSubscriptionStatus
13+
{
14+
/// <summary> PendingFulfillmentStart. </summary>
15+
PendingFulfillmentStart,
16+
/// <summary> Subscribed. </summary>
17+
Subscribed,
18+
/// <summary> Suspended. </summary>
19+
Suspended,
20+
/// <summary> Unsubscribed. </summary>
21+
Unsubscribed
22+
}
23+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System.ComponentModel;
7+
8+
namespace Azure.ResourceManager.Qumulo.Models
9+
{
10+
/// <summary> The QumuloProvisioningState. </summary>
11+
[EditorBrowsable(EditorBrowsableState.Never)]
12+
public enum QumuloProvisioningState
13+
{
14+
/// <summary> NotSpecified. </summary>
15+
NotSpecified,
16+
/// <summary> Accepted. </summary>
17+
Accepted,
18+
/// <summary> Creating. </summary>
19+
Creating,
20+
/// <summary> Updating. </summary>
21+
Updating,
22+
/// <summary> Deleting. </summary>
23+
Deleting,
24+
/// <summary> Succeeded. </summary>
25+
Succeeded,
26+
/// <summary> Failed. </summary>
27+
Failed,
28+
/// <summary> Canceled. </summary>
29+
Canceled,
30+
/// <summary> Deleted. </summary>
31+
Deleted
32+
}
33+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System.ComponentModel;
7+
8+
namespace Azure.ResourceManager.Qumulo.Models
9+
{
10+
public partial class QumuloUserDetails
11+
{
12+
/// <summary> Initializes a new instance of <see cref="QumuloUserDetails"/>. </summary>
13+
[EditorBrowsable(EditorBrowsableState.Never)]
14+
public QumuloUserDetails() : this(string.Empty)
15+
{
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)